guix-manual.sk.po 2.0 MB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230292312923229233292342923529236292372923829239292402924129242292432924429245292462924729248292492925029251292522925329254292552925629257292582925929260292612926229263292642926529266292672926829269292702927129272292732927429275292762927729278292792928029281292822928329284292852928629287292882928929290292912929229293292942929529296292972929829299293002930129302293032930429305293062930729308293092931029311293122931329314293152931629317293182931929320293212932229323293242932529326293272932829329293302933129332293332933429335293362933729338293392934029341293422934329344293452934629347293482934929350293512935229353293542935529356293572935829359293602936129362293632936429365293662936729368293692937029371293722937329374293752937629377293782937929380293812938229383293842938529386293872938829389293902939129392293932939429395293962939729398293992940029401294022940329404294052940629407294082940929410294112941229413294142941529416294172941829419294202942129422294232942429425294262942729428294292943029431294322943329434294352943629437294382943929440294412944229443294442944529446294472944829449294502945129452294532945429455294562945729458294592946029461294622946329464294652946629467294682946929470294712947229473294742947529476294772947829479294802948129482294832948429485294862948729488294892949029491294922949329494294952949629497294982949929500295012950229503295042950529506295072950829509295102951129512295132951429515295162951729518295192952029521295222952329524295252952629527295282952929530295312953229533295342953529536295372953829539295402954129542295432954429545295462954729548295492955029551295522955329554295552955629557295582955929560295612956229563295642956529566295672956829569295702957129572295732957429575295762957729578295792958029581295822958329584295852958629587295882958929590295912959229593295942959529596295972959829599296002960129602296032960429605296062960729608296092961029611296122961329614296152961629617296182961929620296212962229623296242962529626296272962829629296302963129632296332963429635296362963729638296392964029641296422964329644296452964629647296482964929650296512965229653296542965529656296572965829659296602966129662296632966429665296662966729668296692967029671296722967329674296752967629677296782967929680296812968229683296842968529686296872968829689296902969129692296932969429695296962969729698296992970029701297022970329704297052970629707297082970929710297112971229713297142971529716297172971829719297202972129722297232972429725297262972729728297292973029731297322973329734297352973629737297382973929740297412974229743297442974529746297472974829749297502975129752297532975429755297562975729758297592976029761297622976329764297652976629767297682976929770297712977229773297742977529776297772977829779297802978129782297832978429785297862978729788297892979029791297922979329794297952979629797297982979929800298012980229803298042980529806298072980829809298102981129812298132981429815298162981729818298192982029821298222982329824298252982629827298282982929830298312983229833298342983529836298372983829839298402984129842298432984429845298462984729848298492985029851298522985329854298552985629857298582985929860298612986229863298642986529866298672986829869298702987129872298732987429875298762987729878298792988029881298822988329884298852988629887298882988929890298912989229893298942989529896298972989829899299002990129902299032990429905299062990729908299092991029911299122991329914299152991629917299182991929920299212992229923299242992529926299272992829929299302993129932299332993429935299362993729938299392994029941299422994329944299452994629947299482994929950299512995229953299542995529956299572995829959299602996129962299632996429965299662996729968299692997029971299722997329974299752997629977299782997929980299812998229983299842998529986299872998829989299902999129992299932999429995299962999729998299993000030001300023000330004300053000630007300083000930010300113001230013300143001530016300173001830019300203002130022300233002430025300263002730028300293003030031300323003330034300353003630037300383003930040300413004230043300443004530046300473004830049300503005130052300533005430055300563005730058300593006030061300623006330064300653006630067300683006930070300713007230073300743007530076300773007830079300803008130082300833008430085300863008730088300893009030091300923009330094300953009630097300983009930100301013010230103301043010530106301073010830109301103011130112301133011430115301163011730118301193012030121301223012330124301253012630127301283012930130301313013230133301343013530136301373013830139301403014130142301433014430145301463014730148301493015030151301523015330154301553015630157301583015930160301613016230163301643016530166301673016830169301703017130172301733017430175301763017730178301793018030181301823018330184301853018630187301883018930190301913019230193301943019530196301973019830199302003020130202302033020430205302063020730208302093021030211302123021330214302153021630217302183021930220302213022230223302243022530226302273022830229302303023130232302333023430235302363023730238302393024030241302423024330244302453024630247302483024930250302513025230253302543025530256302573025830259302603026130262302633026430265302663026730268302693027030271302723027330274302753027630277302783027930280302813028230283302843028530286302873028830289302903029130292302933029430295302963029730298302993030030301303023030330304303053030630307303083030930310303113031230313303143031530316303173031830319303203032130322303233032430325303263032730328303293033030331303323033330334303353033630337303383033930340303413034230343303443034530346303473034830349303503035130352303533035430355303563035730358303593036030361303623036330364303653036630367303683036930370303713037230373303743037530376303773037830379303803038130382303833038430385303863038730388303893039030391303923039330394303953039630397303983039930400304013040230403304043040530406304073040830409304103041130412304133041430415304163041730418304193042030421304223042330424304253042630427304283042930430304313043230433304343043530436304373043830439304403044130442304433044430445304463044730448304493045030451304523045330454304553045630457304583045930460304613046230463304643046530466304673046830469304703047130472304733047430475304763047730478304793048030481304823048330484304853048630487304883048930490304913049230493304943049530496304973049830499305003050130502305033050430505305063050730508305093051030511305123051330514305153051630517305183051930520305213052230523305243052530526305273052830529305303053130532305333053430535305363053730538305393054030541305423054330544305453054630547305483054930550305513055230553305543055530556305573055830559305603056130562305633056430565305663056730568305693057030571305723057330574305753057630577305783057930580305813058230583305843058530586305873058830589305903059130592305933059430595305963059730598305993060030601306023060330604306053060630607306083060930610306113061230613306143061530616306173061830619306203062130622306233062430625306263062730628306293063030631306323063330634306353063630637306383063930640306413064230643306443064530646306473064830649306503065130652306533065430655306563065730658306593066030661306623066330664306653066630667306683066930670306713067230673306743067530676306773067830679306803068130682306833068430685306863068730688306893069030691306923069330694306953069630697306983069930700307013070230703307043070530706307073070830709307103071130712307133071430715307163071730718307193072030721307223072330724307253072630727307283072930730307313073230733307343073530736307373073830739307403074130742307433074430745307463074730748307493075030751307523075330754307553075630757307583075930760307613076230763307643076530766307673076830769307703077130772307733077430775307763077730778307793078030781307823078330784307853078630787307883078930790307913079230793307943079530796307973079830799308003080130802308033080430805308063080730808308093081030811308123081330814308153081630817308183081930820308213082230823308243082530826308273082830829308303083130832308333083430835308363083730838308393084030841308423084330844308453084630847308483084930850308513085230853308543085530856308573085830859308603086130862308633086430865308663086730868308693087030871308723087330874308753087630877308783087930880308813088230883308843088530886308873088830889308903089130892308933089430895308963089730898308993090030901309023090330904309053090630907309083090930910309113091230913309143091530916309173091830919309203092130922309233092430925309263092730928309293093030931309323093330934309353093630937309383093930940309413094230943309443094530946309473094830949309503095130952309533095430955309563095730958309593096030961309623096330964309653096630967309683096930970309713097230973309743097530976309773097830979309803098130982309833098430985309863098730988309893099030991309923099330994309953099630997309983099931000310013100231003310043100531006310073100831009310103101131012310133101431015310163101731018310193102031021310223102331024310253102631027310283102931030310313103231033310343103531036310373103831039310403104131042310433104431045310463104731048310493105031051310523105331054310553105631057310583105931060310613106231063310643106531066310673106831069310703107131072310733107431075310763107731078310793108031081310823108331084310853108631087310883108931090310913109231093310943109531096310973109831099311003110131102311033110431105311063110731108311093111031111311123111331114311153111631117311183111931120311213112231123311243112531126311273112831129311303113131132311333113431135311363113731138311393114031141311423114331144311453114631147311483114931150311513115231153311543115531156311573115831159311603116131162311633116431165311663116731168311693117031171311723117331174311753117631177311783117931180311813118231183311843118531186311873118831189311903119131192311933119431195311963119731198311993120031201312023120331204312053120631207312083120931210312113121231213312143121531216312173121831219312203122131222312233122431225312263122731228312293123031231312323123331234312353123631237312383123931240312413124231243312443124531246312473124831249312503125131252312533125431255312563125731258312593126031261312623126331264312653126631267312683126931270312713127231273312743127531276312773127831279312803128131282312833128431285312863128731288312893129031291312923129331294312953129631297312983129931300313013130231303313043130531306313073130831309313103131131312313133131431315313163131731318313193132031321313223132331324313253132631327313283132931330313313133231333313343133531336313373133831339313403134131342313433134431345313463134731348313493135031351313523135331354313553135631357313583135931360313613136231363313643136531366313673136831369313703137131372313733137431375313763137731378313793138031381313823138331384313853138631387313883138931390313913139231393313943139531396313973139831399314003140131402314033140431405314063140731408314093141031411314123141331414314153141631417314183141931420314213142231423314243142531426314273142831429314303143131432314333143431435314363143731438314393144031441314423144331444314453144631447314483144931450314513145231453314543145531456314573145831459314603146131462314633146431465314663146731468314693147031471314723147331474314753147631477314783147931480314813148231483314843148531486314873148831489314903149131492314933149431495314963149731498314993150031501315023150331504315053150631507315083150931510315113151231513315143151531516315173151831519315203152131522315233152431525315263152731528315293153031531315323153331534315353153631537315383153931540315413154231543315443154531546315473154831549315503155131552315533155431555315563155731558315593156031561315623156331564315653156631567315683156931570315713157231573315743157531576315773157831579315803158131582315833158431585315863158731588315893159031591315923159331594315953159631597315983159931600316013160231603316043160531606316073160831609316103161131612316133161431615316163161731618316193162031621316223162331624316253162631627316283162931630316313163231633316343163531636316373163831639316403164131642316433164431645316463164731648316493165031651316523165331654316553165631657316583165931660316613166231663316643166531666316673166831669316703167131672316733167431675316763167731678316793168031681316823168331684316853168631687316883168931690316913169231693316943169531696316973169831699317003170131702317033170431705317063170731708317093171031711317123171331714317153171631717317183171931720317213172231723317243172531726317273172831729317303173131732317333173431735317363173731738317393174031741317423174331744317453174631747317483174931750317513175231753317543175531756317573175831759317603176131762317633176431765317663176731768317693177031771317723177331774317753177631777317783177931780317813178231783317843178531786317873178831789317903179131792317933179431795317963179731798317993180031801318023180331804318053180631807318083180931810318113181231813318143181531816318173181831819318203182131822318233182431825318263182731828318293183031831318323183331834318353183631837318383183931840318413184231843318443184531846318473184831849318503185131852318533185431855318563185731858318593186031861318623186331864318653186631867318683186931870318713187231873318743187531876318773187831879318803188131882318833188431885318863188731888318893189031891318923189331894318953189631897318983189931900319013190231903319043190531906319073190831909319103191131912319133191431915319163191731918319193192031921319223192331924319253192631927319283192931930319313193231933319343193531936319373193831939319403194131942319433194431945319463194731948319493195031951319523195331954319553195631957319583195931960319613196231963319643196531966319673196831969319703197131972319733197431975319763197731978319793198031981319823198331984319853198631987319883198931990319913199231993319943199531996319973199831999320003200132002320033200432005320063200732008320093201032011320123201332014320153201632017320183201932020320213202232023320243202532026320273202832029320303203132032320333203432035320363203732038320393204032041320423204332044320453204632047320483204932050320513205232053320543205532056320573205832059320603206132062320633206432065320663206732068320693207032071320723207332074320753207632077320783207932080320813208232083320843208532086320873208832089320903209132092320933209432095320963209732098320993210032101321023210332104321053210632107321083210932110321113211232113321143211532116321173211832119321203212132122321233212432125321263212732128321293213032131321323213332134321353213632137321383213932140321413214232143321443214532146321473214832149321503215132152321533215432155321563215732158321593216032161321623216332164321653216632167321683216932170321713217232173321743217532176321773217832179321803218132182321833218432185321863218732188321893219032191321923219332194321953219632197321983219932200322013220232203322043220532206322073220832209322103221132212322133221432215322163221732218322193222032221322223222332224322253222632227322283222932230322313223232233322343223532236322373223832239322403224132242322433224432245322463224732248322493225032251322523225332254322553225632257322583225932260322613226232263322643226532266322673226832269322703227132272322733227432275322763227732278322793228032281322823228332284322853228632287322883228932290322913229232293322943229532296322973229832299323003230132302323033230432305323063230732308323093231032311323123231332314323153231632317323183231932320323213232232323323243232532326323273232832329323303233132332323333233432335323363233732338323393234032341323423234332344323453234632347323483234932350323513235232353323543235532356323573235832359323603236132362323633236432365323663236732368323693237032371323723237332374323753237632377323783237932380323813238232383323843238532386323873238832389323903239132392323933239432395323963239732398323993240032401324023240332404324053240632407324083240932410324113241232413324143241532416324173241832419324203242132422324233242432425324263242732428324293243032431324323243332434324353243632437324383243932440324413244232443324443244532446324473244832449324503245132452324533245432455324563245732458324593246032461324623246332464324653246632467324683246932470324713247232473324743247532476324773247832479324803248132482324833248432485324863248732488324893249032491324923249332494324953249632497324983249932500325013250232503325043250532506325073250832509325103251132512325133251432515325163251732518325193252032521325223252332524325253252632527325283252932530325313253232533325343253532536325373253832539325403254132542325433254432545325463254732548325493255032551325523255332554325553255632557325583255932560325613256232563325643256532566325673256832569325703257132572325733257432575325763257732578325793258032581325823258332584325853258632587325883258932590325913259232593325943259532596325973259832599326003260132602326033260432605326063260732608326093261032611326123261332614326153261632617326183261932620326213262232623326243262532626326273262832629326303263132632326333263432635326363263732638326393264032641326423264332644326453264632647326483264932650326513265232653326543265532656326573265832659326603266132662326633266432665326663266732668326693267032671326723267332674326753267632677326783267932680326813268232683326843268532686326873268832689326903269132692326933269432695326963269732698326993270032701327023270332704327053270632707327083270932710327113271232713327143271532716327173271832719327203272132722327233272432725327263272732728327293273032731327323273332734327353273632737327383273932740327413274232743327443274532746327473274832749327503275132752327533275432755327563275732758327593276032761327623276332764327653276632767327683276932770327713277232773327743277532776327773277832779327803278132782327833278432785327863278732788327893279032791327923279332794327953279632797327983279932800328013280232803328043280532806328073280832809328103281132812328133281432815328163281732818328193282032821328223282332824328253282632827328283282932830328313283232833328343283532836328373283832839328403284132842328433284432845328463284732848328493285032851328523285332854328553285632857328583285932860328613286232863328643286532866328673286832869328703287132872328733287432875328763287732878328793288032881328823288332884328853288632887328883288932890328913289232893328943289532896328973289832899329003290132902329033290432905329063290732908329093291032911329123291332914329153291632917329183291932920329213292232923329243292532926329273292832929329303293132932329333293432935329363293732938329393294032941329423294332944329453294632947329483294932950329513295232953329543295532956329573295832959329603296132962329633296432965329663296732968329693297032971329723297332974329753297632977329783297932980329813298232983329843298532986329873298832989329903299132992329933299432995329963299732998329993300033001330023300333004330053300633007330083300933010330113301233013330143301533016330173301833019330203302133022330233302433025330263302733028330293303033031330323303333034330353303633037330383303933040330413304233043330443304533046330473304833049330503305133052330533305433055330563305733058330593306033061330623306333064330653306633067330683306933070330713307233073330743307533076330773307833079330803308133082330833308433085330863308733088330893309033091330923309333094330953309633097330983309933100331013310233103331043310533106331073310833109331103311133112331133311433115331163311733118331193312033121331223312333124331253312633127331283312933130331313313233133331343313533136331373313833139331403314133142331433314433145331463314733148331493315033151331523315333154331553315633157331583315933160331613316233163331643316533166331673316833169331703317133172331733317433175331763317733178331793318033181331823318333184331853318633187331883318933190331913319233193331943319533196331973319833199332003320133202332033320433205332063320733208332093321033211332123321333214332153321633217332183321933220332213322233223332243322533226332273322833229332303323133232332333323433235332363323733238332393324033241332423324333244332453324633247332483324933250332513325233253332543325533256332573325833259332603326133262332633326433265332663326733268332693327033271332723327333274332753327633277332783327933280332813328233283332843328533286332873328833289332903329133292332933329433295332963329733298332993330033301333023330333304333053330633307333083330933310333113331233313333143331533316333173331833319333203332133322333233332433325333263332733328333293333033331333323333333334333353333633337333383333933340333413334233343333443334533346333473334833349333503335133352333533335433355333563335733358333593336033361333623336333364333653336633367333683336933370333713337233373333743337533376333773337833379333803338133382333833338433385333863338733388333893339033391333923339333394333953339633397333983339933400334013340233403334043340533406334073340833409334103341133412334133341433415334163341733418334193342033421334223342333424334253342633427334283342933430334313343233433334343343533436334373343833439334403344133442334433344433445334463344733448334493345033451334523345333454334553345633457334583345933460334613346233463334643346533466334673346833469334703347133472334733347433475334763347733478334793348033481334823348333484334853348633487334883348933490334913349233493334943349533496334973349833499335003350133502335033350433505335063350733508335093351033511335123351333514335153351633517335183351933520335213352233523335243352533526335273352833529335303353133532335333353433535335363353733538335393354033541335423354333544335453354633547335483354933550335513355233553335543355533556335573355833559335603356133562335633356433565335663356733568335693357033571335723357333574335753357633577335783357933580335813358233583335843358533586335873358833589335903359133592335933359433595335963359733598335993360033601336023360333604336053360633607336083360933610336113361233613336143361533616336173361833619336203362133622336233362433625336263362733628336293363033631336323363333634336353363633637336383363933640336413364233643336443364533646336473364833649336503365133652336533365433655336563365733658336593366033661336623366333664336653366633667336683366933670336713367233673336743367533676336773367833679336803368133682336833368433685336863368733688336893369033691336923369333694336953369633697336983369933700337013370233703337043370533706337073370833709337103371133712337133371433715337163371733718337193372033721337223372333724337253372633727337283372933730337313373233733337343373533736337373373833739337403374133742337433374433745337463374733748337493375033751337523375333754337553375633757337583375933760337613376233763337643376533766337673376833769337703377133772337733377433775337763377733778337793378033781337823378333784337853378633787337883378933790337913379233793337943379533796337973379833799338003380133802338033380433805338063380733808338093381033811338123381333814338153381633817338183381933820338213382233823338243382533826338273382833829338303383133832338333383433835338363383733838338393384033841338423384333844338453384633847338483384933850338513385233853338543385533856338573385833859338603386133862338633386433865338663386733868338693387033871338723387333874338753387633877338783387933880338813388233883338843388533886338873388833889338903389133892338933389433895338963389733898338993390033901339023390333904339053390633907339083390933910339113391233913339143391533916339173391833919339203392133922339233392433925339263392733928339293393033931339323393333934339353393633937339383393933940339413394233943339443394533946339473394833949339503395133952339533395433955339563395733958339593396033961339623396333964339653396633967339683396933970339713397233973339743397533976339773397833979339803398133982339833398433985339863398733988339893399033991339923399333994339953399633997339983399934000340013400234003340043400534006340073400834009340103401134012340133401434015340163401734018340193402034021340223402334024340253402634027340283402934030340313403234033340343403534036340373403834039340403404134042340433404434045340463404734048340493405034051340523405334054340553405634057340583405934060340613406234063340643406534066340673406834069340703407134072340733407434075340763407734078340793408034081340823408334084340853408634087340883408934090340913409234093340943409534096340973409834099341003410134102341033410434105341063410734108341093411034111341123411334114341153411634117341183411934120341213412234123341243412534126341273412834129341303413134132341333413434135341363413734138341393414034141341423414334144341453414634147341483414934150341513415234153341543415534156341573415834159341603416134162341633416434165341663416734168341693417034171341723417334174341753417634177341783417934180341813418234183341843418534186341873418834189341903419134192341933419434195341963419734198341993420034201342023420334204342053420634207342083420934210342113421234213342143421534216342173421834219342203422134222342233422434225342263422734228342293423034231342323423334234342353423634237342383423934240342413424234243342443424534246342473424834249342503425134252342533425434255342563425734258342593426034261342623426334264342653426634267342683426934270342713427234273342743427534276342773427834279342803428134282342833428434285342863428734288342893429034291342923429334294342953429634297342983429934300343013430234303343043430534306343073430834309343103431134312343133431434315343163431734318343193432034321343223432334324343253432634327343283432934330343313433234333343343433534336343373433834339343403434134342343433434434345343463434734348343493435034351343523435334354343553435634357343583435934360343613436234363343643436534366343673436834369343703437134372343733437434375343763437734378343793438034381343823438334384343853438634387343883438934390343913439234393343943439534396343973439834399344003440134402344033440434405344063440734408344093441034411344123441334414344153441634417344183441934420344213442234423344243442534426344273442834429344303443134432344333443434435344363443734438344393444034441344423444334444344453444634447344483444934450344513445234453344543445534456344573445834459344603446134462344633446434465344663446734468344693447034471344723447334474344753447634477344783447934480344813448234483344843448534486344873448834489344903449134492344933449434495344963449734498344993450034501345023450334504345053450634507345083450934510345113451234513345143451534516345173451834519345203452134522345233452434525345263452734528345293453034531345323453334534345353453634537345383453934540345413454234543345443454534546345473454834549345503455134552345533455434555345563455734558345593456034561345623456334564345653456634567345683456934570345713457234573345743457534576345773457834579345803458134582345833458434585345863458734588345893459034591345923459334594345953459634597345983459934600346013460234603346043460534606346073460834609346103461134612346133461434615346163461734618346193462034621346223462334624346253462634627346283462934630346313463234633346343463534636346373463834639346403464134642346433464434645346463464734648346493465034651346523465334654346553465634657346583465934660346613466234663346643466534666346673466834669346703467134672346733467434675346763467734678346793468034681346823468334684346853468634687346883468934690346913469234693346943469534696346973469834699347003470134702347033470434705347063470734708347093471034711347123471334714347153471634717347183471934720347213472234723347243472534726347273472834729347303473134732347333473434735347363473734738347393474034741347423474334744347453474634747347483474934750347513475234753347543475534756347573475834759347603476134762347633476434765347663476734768347693477034771347723477334774347753477634777347783477934780347813478234783347843478534786347873478834789347903479134792347933479434795347963479734798347993480034801348023480334804348053480634807348083480934810348113481234813348143481534816348173481834819348203482134822348233482434825348263482734828348293483034831348323483334834348353483634837348383483934840348413484234843348443484534846348473484834849348503485134852348533485434855348563485734858348593486034861348623486334864348653486634867348683486934870348713487234873348743487534876348773487834879348803488134882348833488434885348863488734888348893489034891348923489334894348953489634897348983489934900349013490234903349043490534906349073490834909349103491134912349133491434915349163491734918349193492034921349223492334924349253492634927349283492934930349313493234933349343493534936349373493834939349403494134942349433494434945349463494734948349493495034951349523495334954349553495634957349583495934960349613496234963349643496534966349673496834969349703497134972349733497434975349763497734978349793498034981349823498334984349853498634987349883498934990349913499234993349943499534996349973499834999350003500135002350033500435005350063500735008350093501035011350123501335014350153501635017350183501935020350213502235023350243502535026350273502835029350303503135032350333503435035350363503735038350393504035041350423504335044350453504635047350483504935050350513505235053350543505535056350573505835059350603506135062350633506435065350663506735068350693507035071350723507335074350753507635077350783507935080350813508235083350843508535086350873508835089350903509135092350933509435095350963509735098350993510035101351023510335104351053510635107351083510935110351113511235113351143511535116351173511835119351203512135122351233512435125351263512735128351293513035131351323513335134351353513635137351383513935140351413514235143351443514535146351473514835149351503515135152351533515435155351563515735158351593516035161351623516335164351653516635167351683516935170351713517235173351743517535176351773517835179351803518135182351833518435185351863518735188351893519035191351923519335194351953519635197351983519935200352013520235203352043520535206352073520835209352103521135212352133521435215352163521735218352193522035221352223522335224352253522635227352283522935230352313523235233352343523535236352373523835239352403524135242352433524435245352463524735248352493525035251352523525335254352553525635257352583525935260352613526235263352643526535266352673526835269352703527135272352733527435275352763527735278352793528035281352823528335284352853528635287352883528935290352913529235293352943529535296352973529835299353003530135302353033530435305353063530735308353093531035311353123531335314353153531635317353183531935320353213532235323353243532535326353273532835329353303533135332353333533435335353363533735338353393534035341353423534335344353453534635347353483534935350353513535235353353543535535356353573535835359353603536135362353633536435365353663536735368353693537035371353723537335374353753537635377353783537935380353813538235383353843538535386353873538835389353903539135392353933539435395353963539735398353993540035401354023540335404354053540635407354083540935410354113541235413354143541535416354173541835419354203542135422354233542435425354263542735428354293543035431354323543335434354353543635437354383543935440354413544235443354443544535446354473544835449354503545135452354533545435455354563545735458354593546035461354623546335464354653546635467354683546935470354713547235473354743547535476354773547835479354803548135482354833548435485354863548735488354893549035491354923549335494354953549635497354983549935500355013550235503355043550535506355073550835509355103551135512355133551435515355163551735518355193552035521355223552335524355253552635527355283552935530355313553235533355343553535536355373553835539355403554135542355433554435545355463554735548355493555035551355523555335554355553555635557355583555935560355613556235563355643556535566355673556835569355703557135572355733557435575355763557735578355793558035581355823558335584355853558635587355883558935590355913559235593355943559535596355973559835599356003560135602356033560435605356063560735608356093561035611356123561335614356153561635617356183561935620356213562235623356243562535626356273562835629356303563135632356333563435635356363563735638356393564035641356423564335644356453564635647356483564935650356513565235653356543565535656356573565835659356603566135662356633566435665356663566735668356693567035671356723567335674356753567635677356783567935680356813568235683356843568535686356873568835689356903569135692356933569435695356963569735698356993570035701357023570335704357053570635707357083570935710357113571235713357143571535716357173571835719357203572135722357233572435725357263572735728357293573035731357323573335734357353573635737357383573935740357413574235743357443574535746357473574835749357503575135752357533575435755357563575735758357593576035761357623576335764357653576635767357683576935770357713577235773357743577535776357773577835779357803578135782357833578435785357863578735788357893579035791357923579335794357953579635797357983579935800358013580235803358043580535806358073580835809358103581135812358133581435815358163581735818358193582035821358223582335824358253582635827358283582935830358313583235833358343583535836358373583835839358403584135842358433584435845358463584735848358493585035851358523585335854358553585635857358583585935860358613586235863358643586535866358673586835869358703587135872358733587435875358763587735878358793588035881358823588335884358853588635887358883588935890358913589235893358943589535896358973589835899359003590135902359033590435905359063590735908359093591035911359123591335914359153591635917359183591935920359213592235923359243592535926359273592835929359303593135932359333593435935359363593735938359393594035941359423594335944359453594635947359483594935950359513595235953359543595535956359573595835959359603596135962359633596435965359663596735968359693597035971359723597335974359753597635977359783597935980359813598235983359843598535986359873598835989359903599135992359933599435995359963599735998359993600036001360023600336004360053600636007360083600936010360113601236013360143601536016360173601836019360203602136022360233602436025360263602736028360293603036031360323603336034360353603636037360383603936040360413604236043360443604536046360473604836049360503605136052360533605436055360563605736058360593606036061360623606336064360653606636067360683606936070360713607236073360743607536076360773607836079360803608136082360833608436085360863608736088360893609036091360923609336094360953609636097360983609936100361013610236103361043610536106361073610836109361103611136112361133611436115361163611736118361193612036121361223612336124361253612636127361283612936130361313613236133361343613536136361373613836139361403614136142361433614436145361463614736148361493615036151361523615336154361553615636157361583615936160361613616236163361643616536166361673616836169361703617136172361733617436175361763617736178361793618036181361823618336184361853618636187361883618936190361913619236193361943619536196361973619836199362003620136202362033620436205362063620736208362093621036211362123621336214362153621636217362183621936220362213622236223362243622536226362273622836229362303623136232362333623436235362363623736238362393624036241362423624336244362453624636247362483624936250362513625236253362543625536256362573625836259362603626136262362633626436265362663626736268362693627036271362723627336274362753627636277362783627936280362813628236283362843628536286362873628836289362903629136292362933629436295362963629736298362993630036301363023630336304363053630636307363083630936310363113631236313363143631536316363173631836319363203632136322363233632436325363263632736328363293633036331363323633336334363353633636337363383633936340363413634236343363443634536346363473634836349363503635136352363533635436355363563635736358363593636036361363623636336364363653636636367363683636936370363713637236373363743637536376363773637836379363803638136382363833638436385363863638736388363893639036391363923639336394363953639636397363983639936400364013640236403364043640536406364073640836409364103641136412364133641436415364163641736418364193642036421364223642336424364253642636427364283642936430364313643236433364343643536436364373643836439364403644136442364433644436445364463644736448364493645036451364523645336454364553645636457364583645936460364613646236463364643646536466364673646836469364703647136472364733647436475364763647736478364793648036481364823648336484364853648636487364883648936490364913649236493364943649536496364973649836499365003650136502365033650436505365063650736508365093651036511365123651336514365153651636517365183651936520365213652236523365243652536526365273652836529365303653136532365333653436535365363653736538365393654036541365423654336544365453654636547365483654936550365513655236553365543655536556365573655836559365603656136562365633656436565365663656736568365693657036571365723657336574365753657636577365783657936580365813658236583365843658536586365873658836589365903659136592365933659436595365963659736598365993660036601366023660336604366053660636607366083660936610366113661236613366143661536616366173661836619366203662136622366233662436625366263662736628366293663036631366323663336634366353663636637366383663936640366413664236643366443664536646366473664836649366503665136652366533665436655366563665736658366593666036661366623666336664366653666636667366683666936670366713667236673366743667536676366773667836679366803668136682366833668436685366863668736688366893669036691366923669336694366953669636697366983669936700367013670236703367043670536706367073670836709367103671136712367133671436715367163671736718367193672036721367223672336724367253672636727367283672936730367313673236733367343673536736367373673836739367403674136742367433674436745367463674736748367493675036751367523675336754367553675636757367583675936760367613676236763367643676536766367673676836769367703677136772367733677436775367763677736778367793678036781367823678336784367853678636787367883678936790367913679236793367943679536796367973679836799368003680136802368033680436805368063680736808368093681036811368123681336814368153681636817368183681936820368213682236823368243682536826368273682836829368303683136832368333683436835368363683736838368393684036841368423684336844368453684636847368483684936850368513685236853368543685536856368573685836859368603686136862368633686436865368663686736868368693687036871368723687336874368753687636877368783687936880368813688236883368843688536886368873688836889368903689136892368933689436895368963689736898368993690036901369023690336904369053690636907369083690936910369113691236913369143691536916369173691836919369203692136922369233692436925369263692736928369293693036931369323693336934369353693636937369383693936940369413694236943369443694536946369473694836949369503695136952369533695436955369563695736958369593696036961369623696336964369653696636967369683696936970369713697236973369743697536976369773697836979369803698136982369833698436985369863698736988369893699036991369923699336994369953699636997369983699937000370013700237003370043700537006370073700837009370103701137012370133701437015370163701737018370193702037021370223702337024370253702637027370283702937030370313703237033370343703537036370373703837039370403704137042370433704437045370463704737048370493705037051370523705337054370553705637057370583705937060370613706237063370643706537066370673706837069370703707137072370733707437075370763707737078370793708037081370823708337084370853708637087370883708937090370913709237093370943709537096370973709837099371003710137102371033710437105371063710737108371093711037111371123711337114371153711637117371183711937120371213712237123371243712537126371273712837129371303713137132371333713437135371363713737138371393714037141371423714337144371453714637147371483714937150371513715237153371543715537156371573715837159371603716137162371633716437165371663716737168371693717037171371723717337174371753717637177371783717937180371813718237183371843718537186371873718837189371903719137192371933719437195371963719737198371993720037201372023720337204372053720637207372083720937210372113721237213372143721537216372173721837219372203722137222372233722437225372263722737228372293723037231372323723337234372353723637237372383723937240372413724237243372443724537246372473724837249372503725137252372533725437255372563725737258372593726037261372623726337264372653726637267372683726937270372713727237273372743727537276372773727837279372803728137282372833728437285372863728737288372893729037291372923729337294372953729637297372983729937300373013730237303373043730537306373073730837309373103731137312373133731437315373163731737318373193732037321373223732337324373253732637327373283732937330373313733237333373343733537336373373733837339373403734137342373433734437345373463734737348373493735037351373523735337354373553735637357373583735937360373613736237363373643736537366373673736837369373703737137372373733737437375373763737737378373793738037381373823738337384373853738637387373883738937390373913739237393373943739537396373973739837399374003740137402374033740437405374063740737408374093741037411374123741337414374153741637417374183741937420374213742237423374243742537426374273742837429374303743137432374333743437435374363743737438374393744037441374423744337444374453744637447374483744937450374513745237453374543745537456374573745837459374603746137462374633746437465374663746737468374693747037471374723747337474374753747637477374783747937480374813748237483374843748537486374873748837489374903749137492374933749437495374963749737498374993750037501375023750337504375053750637507375083750937510375113751237513375143751537516375173751837519375203752137522375233752437525375263752737528375293753037531375323753337534375353753637537375383753937540375413754237543375443754537546375473754837549375503755137552375533755437555375563755737558375593756037561375623756337564375653756637567375683756937570375713757237573375743757537576375773757837579375803758137582375833758437585375863758737588375893759037591375923759337594375953759637597375983759937600376013760237603376043760537606376073760837609376103761137612376133761437615376163761737618376193762037621376223762337624376253762637627376283762937630376313763237633376343763537636376373763837639376403764137642376433764437645376463764737648376493765037651376523765337654376553765637657376583765937660376613766237663376643766537666376673766837669376703767137672376733767437675376763767737678376793768037681376823768337684376853768637687376883768937690376913769237693376943769537696376973769837699377003770137702377033770437705377063770737708377093771037711377123771337714377153771637717377183771937720377213772237723377243772537726377273772837729377303773137732377333773437735377363773737738377393774037741377423774337744377453774637747377483774937750377513775237753377543775537756377573775837759377603776137762377633776437765377663776737768377693777037771377723777337774377753777637777377783777937780377813778237783377843778537786377873778837789377903779137792377933779437795377963779737798377993780037801378023780337804378053780637807378083780937810378113781237813378143781537816378173781837819378203782137822378233782437825378263782737828378293783037831378323783337834378353783637837378383783937840378413784237843378443784537846378473784837849378503785137852378533785437855378563785737858378593786037861378623786337864378653786637867378683786937870378713787237873378743787537876378773787837879378803788137882378833788437885378863788737888378893789037891378923789337894378953789637897378983789937900379013790237903379043790537906379073790837909379103791137912379133791437915379163791737918379193792037921379223792337924379253792637927379283792937930379313793237933379343793537936379373793837939379403794137942379433794437945379463794737948379493795037951379523795337954379553795637957379583795937960379613796237963379643796537966379673796837969379703797137972379733797437975379763797737978379793798037981379823798337984379853798637987379883798937990379913799237993379943799537996379973799837999380003800138002380033800438005380063800738008380093801038011380123801338014380153801638017380183801938020380213802238023380243802538026380273802838029380303803138032380333803438035380363803738038380393804038041380423804338044380453804638047380483804938050380513805238053380543805538056380573805838059380603806138062380633806438065380663806738068380693807038071380723807338074380753807638077380783807938080380813808238083380843808538086380873808838089380903809138092380933809438095380963809738098380993810038101381023810338104381053810638107381083810938110381113811238113381143811538116381173811838119381203812138122381233812438125381263812738128381293813038131381323813338134381353813638137381383813938140381413814238143381443814538146381473814838149381503815138152381533815438155381563815738158381593816038161381623816338164381653816638167381683816938170381713817238173381743817538176381773817838179381803818138182381833818438185381863818738188381893819038191381923819338194381953819638197381983819938200382013820238203382043820538206382073820838209382103821138212382133821438215382163821738218382193822038221382223822338224382253822638227382283822938230382313823238233382343823538236382373823838239382403824138242382433824438245382463824738248382493825038251382523825338254382553825638257382583825938260382613826238263382643826538266382673826838269382703827138272382733827438275382763827738278382793828038281382823828338284382853828638287382883828938290382913829238293382943829538296382973829838299383003830138302383033830438305383063830738308383093831038311383123831338314383153831638317383183831938320383213832238323383243832538326383273832838329383303833138332383333833438335383363833738338383393834038341383423834338344383453834638347383483834938350383513835238353383543835538356383573835838359383603836138362383633836438365383663836738368383693837038371383723837338374383753837638377383783837938380383813838238383383843838538386383873838838389383903839138392383933839438395383963839738398383993840038401384023840338404384053840638407384083840938410384113841238413384143841538416384173841838419384203842138422384233842438425384263842738428384293843038431384323843338434384353843638437384383843938440384413844238443384443844538446384473844838449384503845138452384533845438455384563845738458384593846038461384623846338464384653846638467384683846938470384713847238473384743847538476384773847838479384803848138482384833848438485384863848738488384893849038491384923849338494384953849638497384983849938500385013850238503385043850538506385073850838509385103851138512385133851438515385163851738518385193852038521385223852338524385253852638527385283852938530385313853238533385343853538536385373853838539385403854138542385433854438545385463854738548385493855038551385523855338554385553855638557385583855938560385613856238563385643856538566385673856838569385703857138572385733857438575385763857738578385793858038581385823858338584385853858638587385883858938590385913859238593385943859538596385973859838599386003860138602386033860438605386063860738608386093861038611386123861338614386153861638617386183861938620386213862238623386243862538626386273862838629386303863138632386333863438635386363863738638386393864038641386423864338644386453864638647386483864938650386513865238653386543865538656386573865838659386603866138662386633866438665386663866738668386693867038671386723867338674386753867638677386783867938680386813868238683386843868538686386873868838689386903869138692386933869438695386963869738698386993870038701387023870338704387053870638707387083870938710387113871238713387143871538716387173871838719387203872138722387233872438725387263872738728387293873038731387323873338734387353873638737387383873938740387413874238743387443874538746387473874838749387503875138752387533875438755387563875738758387593876038761387623876338764387653876638767387683876938770387713877238773387743877538776387773877838779387803878138782387833878438785387863878738788387893879038791387923879338794387953879638797387983879938800388013880238803388043880538806388073880838809388103881138812388133881438815388163881738818388193882038821388223882338824388253882638827388283882938830388313883238833388343883538836388373883838839388403884138842388433884438845388463884738848388493885038851388523885338854388553885638857388583885938860388613886238863388643886538866388673886838869388703887138872388733887438875388763887738878388793888038881388823888338884388853888638887388883888938890388913889238893388943889538896388973889838899389003890138902389033890438905389063890738908389093891038911389123891338914389153891638917389183891938920389213892238923389243892538926389273892838929389303893138932389333893438935389363893738938389393894038941389423894338944389453894638947389483894938950389513895238953389543895538956389573895838959389603896138962389633896438965389663896738968389693897038971389723897338974389753897638977389783897938980389813898238983389843898538986389873898838989389903899138992389933899438995389963899738998389993900039001390023900339004390053900639007390083900939010390113901239013390143901539016390173901839019390203902139022390233902439025390263902739028390293903039031390323903339034390353903639037390383903939040390413904239043390443904539046390473904839049390503905139052390533905439055390563905739058390593906039061390623906339064390653906639067390683906939070390713907239073390743907539076390773907839079390803908139082390833908439085390863908739088390893909039091390923909339094390953909639097390983909939100391013910239103391043910539106391073910839109391103911139112391133911439115391163911739118391193912039121391223912339124391253912639127391283912939130391313913239133391343913539136391373913839139391403914139142391433914439145391463914739148391493915039151391523915339154391553915639157391583915939160391613916239163391643916539166391673916839169391703917139172391733917439175391763917739178391793918039181391823918339184391853918639187391883918939190391913919239193391943919539196391973919839199392003920139202392033920439205392063920739208392093921039211392123921339214392153921639217392183921939220392213922239223392243922539226392273922839229392303923139232392333923439235392363923739238392393924039241392423924339244392453924639247392483924939250392513925239253392543925539256392573925839259392603926139262392633926439265392663926739268392693927039271392723927339274392753927639277392783927939280392813928239283392843928539286392873928839289392903929139292392933929439295392963929739298392993930039301393023930339304393053930639307393083930939310393113931239313393143931539316393173931839319393203932139322393233932439325393263932739328393293933039331393323933339334393353933639337393383933939340393413934239343393443934539346393473934839349393503935139352393533935439355393563935739358393593936039361393623936339364393653936639367393683936939370393713937239373393743937539376393773937839379393803938139382393833938439385393863938739388393893939039391393923939339394393953939639397393983939939400394013940239403394043940539406394073940839409394103941139412394133941439415394163941739418394193942039421394223942339424394253942639427394283942939430394313943239433394343943539436394373943839439394403944139442394433944439445394463944739448394493945039451394523945339454394553945639457394583945939460394613946239463394643946539466394673946839469394703947139472394733947439475394763947739478394793948039481394823948339484394853948639487394883948939490394913949239493394943949539496394973949839499395003950139502395033950439505395063950739508395093951039511395123951339514395153951639517395183951939520395213952239523395243952539526395273952839529395303953139532395333953439535395363953739538395393954039541395423954339544395453954639547395483954939550395513955239553395543955539556395573955839559395603956139562395633956439565395663956739568395693957039571395723957339574395753957639577395783957939580395813958239583395843958539586395873958839589395903959139592395933959439595395963959739598395993960039601396023960339604396053960639607396083960939610396113961239613396143961539616396173961839619396203962139622396233962439625396263962739628396293963039631396323963339634396353963639637396383963939640396413964239643396443964539646396473964839649396503965139652396533965439655396563965739658396593966039661396623966339664396653966639667396683966939670396713967239673396743967539676396773967839679396803968139682396833968439685396863968739688396893969039691396923969339694396953969639697396983969939700397013970239703397043970539706397073970839709397103971139712397133971439715397163971739718397193972039721397223972339724397253972639727397283972939730397313973239733397343973539736397373973839739397403974139742397433974439745397463974739748397493975039751397523975339754397553975639757397583975939760397613976239763397643976539766397673976839769397703977139772397733977439775397763977739778397793978039781397823978339784397853978639787397883978939790397913979239793397943979539796397973979839799398003980139802398033980439805398063980739808398093981039811398123981339814398153981639817398183981939820398213982239823398243982539826398273982839829398303983139832398333983439835398363983739838398393984039841398423984339844398453984639847398483984939850398513985239853398543985539856398573985839859398603986139862398633986439865398663986739868398693987039871398723987339874398753987639877398783987939880398813988239883398843988539886398873988839889398903989139892398933989439895398963989739898398993990039901399023990339904399053990639907399083990939910399113991239913399143991539916399173991839919399203992139922399233992439925399263992739928399293993039931399323993339934399353993639937399383993939940399413994239943399443994539946399473994839949399503995139952399533995439955399563995739958399593996039961399623996339964399653996639967399683996939970399713997239973399743997539976399773997839979399803998139982399833998439985399863998739988399893999039991399923999339994399953999639997399983999940000400014000240003400044000540006400074000840009400104001140012400134001440015400164001740018400194002040021400224002340024400254002640027400284002940030400314003240033400344003540036400374003840039400404004140042400434004440045400464004740048400494005040051400524005340054400554005640057400584005940060400614006240063400644006540066400674006840069400704007140072400734007440075400764007740078400794008040081400824008340084400854008640087400884008940090400914009240093400944009540096400974009840099401004010140102401034010440105401064010740108401094011040111401124011340114401154011640117401184011940120401214012240123401244012540126401274012840129401304013140132401334013440135401364013740138401394014040141401424014340144401454014640147401484014940150401514015240153401544015540156401574015840159401604016140162401634016440165401664016740168401694017040171401724017340174401754017640177401784017940180401814018240183401844018540186401874018840189401904019140192401934019440195401964019740198401994020040201402024020340204402054020640207402084020940210402114021240213402144021540216402174021840219402204022140222402234022440225402264022740228402294023040231402324023340234402354023640237402384023940240402414024240243402444024540246402474024840249402504025140252402534025440255402564025740258402594026040261402624026340264402654026640267402684026940270402714027240273402744027540276402774027840279402804028140282402834028440285402864028740288402894029040291402924029340294402954029640297402984029940300403014030240303403044030540306403074030840309403104031140312403134031440315403164031740318403194032040321403224032340324403254032640327403284032940330403314033240333403344033540336403374033840339403404034140342403434034440345403464034740348403494035040351403524035340354403554035640357403584035940360403614036240363403644036540366403674036840369403704037140372403734037440375403764037740378403794038040381403824038340384403854038640387403884038940390403914039240393403944039540396403974039840399404004040140402404034040440405404064040740408404094041040411404124041340414404154041640417404184041940420404214042240423404244042540426404274042840429404304043140432404334043440435404364043740438404394044040441404424044340444404454044640447404484044940450404514045240453404544045540456404574045840459404604046140462404634046440465404664046740468404694047040471404724047340474404754047640477404784047940480404814048240483404844048540486404874048840489404904049140492404934049440495404964049740498404994050040501405024050340504405054050640507405084050940510405114051240513405144051540516405174051840519405204052140522405234052440525405264052740528405294053040531405324053340534405354053640537405384053940540405414054240543405444054540546405474054840549405504055140552405534055440555405564055740558405594056040561405624056340564405654056640567405684056940570405714057240573405744057540576405774057840579405804058140582405834058440585405864058740588405894059040591405924059340594405954059640597405984059940600406014060240603406044060540606406074060840609406104061140612406134061440615406164061740618406194062040621406224062340624406254062640627406284062940630406314063240633406344063540636406374063840639406404064140642406434064440645406464064740648406494065040651406524065340654406554065640657406584065940660406614066240663406644066540666406674066840669406704067140672406734067440675406764067740678406794068040681406824068340684406854068640687406884068940690406914069240693406944069540696406974069840699407004070140702407034070440705407064070740708407094071040711407124071340714407154071640717407184071940720407214072240723407244072540726407274072840729407304073140732407334073440735407364073740738407394074040741407424074340744407454074640747407484074940750407514075240753407544075540756407574075840759407604076140762407634076440765407664076740768407694077040771407724077340774407754077640777407784077940780407814078240783407844078540786407874078840789407904079140792407934079440795407964079740798407994080040801408024080340804408054080640807408084080940810408114081240813408144081540816408174081840819408204082140822408234082440825408264082740828408294083040831408324083340834408354083640837408384083940840408414084240843408444084540846408474084840849408504085140852408534085440855408564085740858408594086040861408624086340864408654086640867408684086940870408714087240873408744087540876408774087840879408804088140882408834088440885408864088740888408894089040891408924089340894408954089640897408984089940900409014090240903409044090540906409074090840909409104091140912409134091440915409164091740918409194092040921409224092340924409254092640927409284092940930409314093240933409344093540936409374093840939409404094140942409434094440945409464094740948409494095040951409524095340954409554095640957409584095940960409614096240963409644096540966409674096840969409704097140972409734097440975409764097740978409794098040981409824098340984409854098640987409884098940990409914099240993409944099540996409974099840999410004100141002410034100441005410064100741008410094101041011410124101341014410154101641017410184101941020410214102241023410244102541026410274102841029410304103141032410334103441035410364103741038410394104041041410424104341044410454104641047410484104941050410514105241053410544105541056410574105841059410604106141062410634106441065410664106741068410694107041071410724107341074410754107641077410784107941080410814108241083410844108541086410874108841089410904109141092410934109441095410964109741098410994110041101411024110341104411054110641107411084110941110411114111241113411144111541116411174111841119411204112141122411234112441125411264112741128411294113041131411324113341134411354113641137411384113941140411414114241143411444114541146411474114841149411504115141152411534115441155411564115741158411594116041161411624116341164411654116641167411684116941170411714117241173411744117541176411774117841179411804118141182411834118441185411864118741188411894119041191411924119341194411954119641197411984119941200412014120241203412044120541206412074120841209412104121141212412134121441215412164121741218412194122041221412224122341224412254122641227412284122941230412314123241233412344123541236412374123841239412404124141242412434124441245412464124741248412494125041251412524125341254412554125641257412584125941260412614126241263412644126541266412674126841269412704127141272412734127441275412764127741278412794128041281412824128341284412854128641287412884128941290412914129241293412944129541296412974129841299413004130141302413034130441305413064130741308413094131041311413124131341314413154131641317413184131941320413214132241323413244132541326413274132841329413304133141332413334133441335413364133741338413394134041341413424134341344413454134641347413484134941350413514135241353413544135541356413574135841359413604136141362413634136441365413664136741368413694137041371413724137341374413754137641377413784137941380413814138241383413844138541386413874138841389413904139141392413934139441395413964139741398413994140041401414024140341404414054140641407414084140941410414114141241413414144141541416414174141841419414204142141422414234142441425414264142741428414294143041431414324143341434414354143641437414384143941440414414144241443414444144541446414474144841449414504145141452414534145441455414564145741458414594146041461414624146341464414654146641467414684146941470414714147241473414744147541476414774147841479414804148141482414834148441485414864148741488414894149041491414924149341494414954149641497414984149941500415014150241503415044150541506415074150841509415104151141512415134151441515415164151741518415194152041521415224152341524415254152641527415284152941530415314153241533415344153541536415374153841539415404154141542415434154441545415464154741548415494155041551415524155341554415554155641557415584155941560415614156241563415644156541566415674156841569415704157141572415734157441575415764157741578415794158041581415824158341584415854158641587415884158941590415914159241593415944159541596415974159841599416004160141602416034160441605416064160741608416094161041611416124161341614416154161641617416184161941620416214162241623416244162541626416274162841629416304163141632416334163441635416364163741638416394164041641416424164341644416454164641647416484164941650416514165241653416544165541656416574165841659416604166141662416634166441665416664166741668416694167041671416724167341674416754167641677416784167941680416814168241683416844168541686416874168841689416904169141692416934169441695416964169741698416994170041701417024170341704417054170641707417084170941710417114171241713417144171541716417174171841719417204172141722417234172441725417264172741728417294173041731417324173341734417354173641737417384173941740417414174241743417444174541746417474174841749417504175141752417534175441755417564175741758417594176041761417624176341764417654176641767417684176941770417714177241773417744177541776417774177841779417804178141782417834178441785417864178741788417894179041791417924179341794417954179641797417984179941800418014180241803418044180541806418074180841809418104181141812418134181441815418164181741818418194182041821418224182341824418254182641827418284182941830418314183241833418344183541836418374183841839418404184141842418434184441845418464184741848418494185041851418524185341854418554185641857418584185941860418614186241863418644186541866418674186841869418704187141872418734187441875418764187741878418794188041881418824188341884418854188641887418884188941890418914189241893418944189541896418974189841899419004190141902419034190441905419064190741908419094191041911419124191341914419154191641917419184191941920419214192241923419244192541926419274192841929419304193141932419334193441935419364193741938419394194041941419424194341944419454194641947419484194941950419514195241953419544195541956419574195841959419604196141962419634196441965419664196741968419694197041971419724197341974419754197641977419784197941980419814198241983419844198541986419874198841989419904199141992419934199441995419964199741998419994200042001420024200342004420054200642007420084200942010420114201242013420144201542016420174201842019420204202142022420234202442025420264202742028420294203042031420324203342034420354203642037420384203942040420414204242043420444204542046420474204842049420504205142052420534205442055420564205742058420594206042061420624206342064420654206642067420684206942070420714207242073420744207542076420774207842079420804208142082420834208442085420864208742088420894209042091420924209342094420954209642097420984209942100421014210242103421044210542106421074210842109421104211142112421134211442115421164211742118421194212042121421224212342124421254212642127421284212942130421314213242133421344213542136421374213842139421404214142142421434214442145421464214742148421494215042151421524215342154421554215642157421584215942160421614216242163421644216542166421674216842169421704217142172421734217442175421764217742178421794218042181421824218342184421854218642187421884218942190421914219242193421944219542196421974219842199422004220142202422034220442205422064220742208422094221042211422124221342214422154221642217422184221942220422214222242223422244222542226422274222842229422304223142232422334223442235422364223742238422394224042241422424224342244422454224642247422484224942250422514225242253422544225542256422574225842259422604226142262422634226442265422664226742268422694227042271422724227342274422754227642277422784227942280422814228242283422844228542286422874228842289422904229142292422934229442295422964229742298422994230042301423024230342304423054230642307423084230942310423114231242313423144231542316423174231842319423204232142322423234232442325423264232742328423294233042331423324233342334423354233642337423384233942340423414234242343423444234542346423474234842349423504235142352423534235442355423564235742358423594236042361423624236342364423654236642367423684236942370423714237242373423744237542376423774237842379423804238142382423834238442385423864238742388423894239042391423924239342394423954239642397423984239942400424014240242403424044240542406424074240842409424104241142412424134241442415424164241742418424194242042421424224242342424424254242642427424284242942430424314243242433424344243542436424374243842439424404244142442424434244442445424464244742448424494245042451424524245342454424554245642457424584245942460424614246242463424644246542466424674246842469424704247142472424734247442475424764247742478424794248042481424824248342484424854248642487424884248942490424914249242493424944249542496424974249842499425004250142502425034250442505425064250742508425094251042511425124251342514425154251642517425184251942520425214252242523425244252542526425274252842529425304253142532425334253442535425364253742538425394254042541425424254342544425454254642547425484254942550425514255242553425544255542556425574255842559425604256142562425634256442565425664256742568425694257042571425724257342574425754257642577425784257942580425814258242583425844258542586425874258842589425904259142592425934259442595425964259742598425994260042601426024260342604426054260642607426084260942610426114261242613426144261542616426174261842619426204262142622426234262442625426264262742628426294263042631426324263342634426354263642637426384263942640426414264242643426444264542646426474264842649426504265142652426534265442655426564265742658426594266042661426624266342664426654266642667426684266942670426714267242673426744267542676426774267842679426804268142682426834268442685426864268742688426894269042691426924269342694426954269642697426984269942700427014270242703427044270542706427074270842709427104271142712427134271442715427164271742718427194272042721427224272342724427254272642727427284272942730427314273242733427344273542736427374273842739427404274142742427434274442745427464274742748427494275042751427524275342754427554275642757427584275942760427614276242763427644276542766427674276842769427704277142772427734277442775427764277742778427794278042781427824278342784427854278642787427884278942790427914279242793427944279542796427974279842799428004280142802428034280442805428064280742808428094281042811428124281342814428154281642817428184281942820428214282242823428244282542826428274282842829428304283142832428334283442835428364283742838428394284042841428424284342844428454284642847428484284942850428514285242853428544285542856428574285842859428604286142862428634286442865428664286742868428694287042871428724287342874428754287642877428784287942880428814288242883428844288542886428874288842889428904289142892428934289442895428964289742898428994290042901429024290342904429054290642907429084290942910429114291242913429144291542916429174291842919429204292142922429234292442925429264292742928429294293042931429324293342934429354293642937429384293942940429414294242943429444294542946429474294842949429504295142952429534295442955429564295742958429594296042961429624296342964429654296642967429684296942970429714297242973429744297542976429774297842979429804298142982429834298442985429864298742988429894299042991429924299342994429954299642997429984299943000430014300243003430044300543006430074300843009430104301143012430134301443015430164301743018430194302043021430224302343024430254302643027430284302943030430314303243033430344303543036430374303843039430404304143042430434304443045430464304743048430494305043051430524305343054430554305643057430584305943060430614306243063430644306543066430674306843069430704307143072430734307443075430764307743078430794308043081430824308343084430854308643087430884308943090430914309243093430944309543096430974309843099431004310143102431034310443105431064310743108431094311043111431124311343114431154311643117431184311943120431214312243123431244312543126431274312843129431304313143132431334313443135431364313743138431394314043141431424314343144431454314643147431484314943150431514315243153431544315543156431574315843159431604316143162431634316443165431664316743168431694317043171431724317343174431754317643177431784317943180431814318243183431844318543186431874318843189431904319143192431934319443195431964319743198431994320043201432024320343204432054320643207432084320943210432114321243213432144321543216432174321843219432204322143222432234322443225432264322743228432294323043231432324323343234432354323643237432384323943240432414324243243432444324543246432474324843249432504325143252432534325443255432564325743258432594326043261432624326343264432654326643267432684326943270432714327243273432744327543276432774327843279432804328143282432834328443285432864328743288432894329043291432924329343294432954329643297432984329943300433014330243303433044330543306433074330843309433104331143312433134331443315433164331743318433194332043321433224332343324433254332643327433284332943330433314333243333433344333543336433374333843339433404334143342433434334443345433464334743348433494335043351433524335343354433554335643357433584335943360433614336243363433644336543366433674336843369433704337143372433734337443375433764337743378433794338043381433824338343384433854338643387433884338943390433914339243393433944339543396433974339843399434004340143402434034340443405434064340743408434094341043411434124341343414434154341643417434184341943420434214342243423434244342543426434274342843429434304343143432434334343443435434364343743438434394344043441434424344343444434454344643447434484344943450434514345243453434544345543456434574345843459434604346143462434634346443465434664346743468434694347043471434724347343474434754347643477434784347943480434814348243483434844348543486434874348843489434904349143492434934349443495434964349743498434994350043501435024350343504435054350643507435084350943510435114351243513435144351543516435174351843519435204352143522435234352443525435264352743528435294353043531435324353343534435354353643537435384353943540435414354243543435444354543546435474354843549435504355143552435534355443555435564355743558435594356043561435624356343564435654356643567435684356943570435714357243573435744357543576435774357843579435804358143582435834358443585435864358743588435894359043591435924359343594435954359643597435984359943600436014360243603436044360543606436074360843609436104361143612436134361443615436164361743618436194362043621436224362343624436254362643627436284362943630436314363243633436344363543636436374363843639436404364143642436434364443645436464364743648436494365043651436524365343654436554365643657436584365943660436614366243663436644366543666436674366843669436704367143672436734367443675436764367743678436794368043681436824368343684436854368643687436884368943690436914369243693436944369543696436974369843699437004370143702437034370443705437064370743708437094371043711437124371343714437154371643717437184371943720437214372243723437244372543726437274372843729437304373143732437334373443735437364373743738437394374043741437424374343744437454374643747437484374943750437514375243753437544375543756437574375843759437604376143762437634376443765437664376743768437694377043771437724377343774437754377643777437784377943780437814378243783437844378543786437874378843789437904379143792437934379443795437964379743798437994380043801438024380343804438054380643807438084380943810438114381243813438144381543816438174381843819438204382143822438234382443825438264382743828438294383043831438324383343834438354383643837438384383943840438414384243843438444384543846438474384843849438504385143852438534385443855438564385743858438594386043861438624386343864438654386643867438684386943870438714387243873438744387543876438774387843879438804388143882438834388443885438864388743888438894389043891438924389343894438954389643897438984389943900439014390243903439044390543906439074390843909439104391143912439134391443915439164391743918439194392043921439224392343924439254392643927439284392943930439314393243933439344393543936439374393843939439404394143942439434394443945439464394743948439494395043951439524395343954439554395643957439584395943960439614396243963439644396543966439674396843969439704397143972439734397443975439764397743978439794398043981439824398343984439854398643987439884398943990439914399243993439944399543996439974399843999440004400144002440034400444005440064400744008440094401044011440124401344014440154401644017440184401944020440214402244023440244402544026440274402844029440304403144032440334403444035440364403744038440394404044041440424404344044440454404644047440484404944050440514405244053440544405544056440574405844059440604406144062440634406444065440664406744068440694407044071440724407344074440754407644077440784407944080440814408244083440844408544086440874408844089440904409144092440934409444095440964409744098440994410044101441024410344104441054410644107441084410944110441114411244113441144411544116441174411844119441204412144122441234412444125441264412744128441294413044131441324413344134441354413644137441384413944140441414414244143441444414544146441474414844149441504415144152441534415444155441564415744158441594416044161441624416344164441654416644167441684416944170441714417244173441744417544176441774417844179441804418144182441834418444185441864418744188441894419044191441924419344194441954419644197441984419944200442014420244203442044420544206442074420844209442104421144212442134421444215442164421744218442194422044221442224422344224442254422644227442284422944230442314423244233442344423544236442374423844239442404424144242442434424444245442464424744248442494425044251442524425344254442554425644257442584425944260442614426244263442644426544266442674426844269442704427144272442734427444275442764427744278442794428044281442824428344284442854428644287442884428944290442914429244293442944429544296442974429844299443004430144302443034430444305443064430744308443094431044311443124431344314443154431644317443184431944320443214432244323443244432544326443274432844329443304433144332443334433444335443364433744338443394434044341443424434344344443454434644347443484434944350443514435244353443544435544356443574435844359443604436144362443634436444365443664436744368443694437044371443724437344374443754437644377443784437944380443814438244383443844438544386443874438844389443904439144392443934439444395443964439744398443994440044401444024440344404444054440644407444084440944410444114441244413444144441544416444174441844419444204442144422444234442444425444264442744428444294443044431444324443344434444354443644437444384443944440444414444244443444444444544446444474444844449444504445144452444534445444455444564445744458444594446044461444624446344464444654446644467444684446944470444714447244473444744447544476444774447844479444804448144482444834448444485444864448744488444894449044491444924449344494444954449644497444984449944500445014450244503445044450544506445074450844509445104451144512445134451444515445164451744518445194452044521445224452344524445254452644527445284452944530445314453244533445344453544536445374453844539445404454144542445434454444545445464454744548445494455044551445524455344554445554455644557445584455944560445614456244563445644456544566445674456844569445704457144572445734457444575445764457744578445794458044581445824458344584445854458644587445884458944590445914459244593445944459544596445974459844599446004460144602446034460444605446064460744608446094461044611446124461344614446154461644617446184461944620446214462244623446244462544626446274462844629446304463144632446334463444635446364463744638446394464044641446424464344644446454464644647446484464944650446514465244653446544465544656446574465844659446604466144662446634466444665446664466744668446694467044671446724467344674446754467644677446784467944680446814468244683446844468544686446874468844689446904469144692446934469444695446964469744698446994470044701447024470344704447054470644707447084470944710447114471244713447144471544716447174471844719447204472144722447234472444725447264472744728447294473044731447324473344734447354473644737447384473944740447414474244743447444474544746447474474844749447504475144752447534475444755447564475744758447594476044761447624476344764447654476644767447684476944770447714477244773447744477544776447774477844779447804478144782447834478444785447864478744788447894479044791447924479344794447954479644797447984479944800448014480244803448044480544806448074480844809448104481144812448134481444815448164481744818448194482044821448224482344824448254482644827448284482944830448314483244833448344483544836448374483844839448404484144842448434484444845448464484744848448494485044851448524485344854448554485644857448584485944860448614486244863448644486544866448674486844869448704487144872448734487444875448764487744878448794488044881448824488344884448854488644887448884488944890448914489244893448944489544896448974489844899449004490144902449034490444905449064490744908449094491044911449124491344914449154491644917449184491944920449214492244923449244492544926449274492844929449304493144932449334493444935449364493744938449394494044941449424494344944449454494644947449484494944950449514495244953449544495544956449574495844959449604496144962449634496444965449664496744968449694497044971449724497344974449754497644977449784497944980449814498244983449844498544986449874498844989449904499144992449934499444995449964499744998449994500045001450024500345004450054500645007450084500945010450114501245013450144501545016450174501845019450204502145022450234502445025450264502745028450294503045031450324503345034450354503645037450384503945040450414504245043450444504545046450474504845049450504505145052450534505445055450564505745058450594506045061450624506345064450654506645067450684506945070450714507245073450744507545076450774507845079450804508145082450834508445085450864508745088450894509045091450924509345094450954509645097450984509945100451014510245103451044510545106451074510845109451104511145112451134511445115451164511745118451194512045121451224512345124451254512645127451284512945130451314513245133451344513545136451374513845139451404514145142451434514445145451464514745148451494515045151451524515345154451554515645157451584515945160451614516245163451644516545166451674516845169451704517145172451734517445175451764517745178451794518045181451824518345184451854518645187451884518945190451914519245193451944519545196451974519845199452004520145202452034520445205452064520745208452094521045211452124521345214452154521645217452184521945220452214522245223452244522545226452274522845229452304523145232452334523445235452364523745238452394524045241452424524345244452454524645247452484524945250452514525245253452544525545256452574525845259452604526145262452634526445265452664526745268452694527045271452724527345274452754527645277452784527945280452814528245283452844528545286452874528845289452904529145292452934529445295452964529745298452994530045301453024530345304453054530645307453084530945310453114531245313453144531545316453174531845319453204532145322453234532445325453264532745328453294533045331453324533345334453354533645337453384533945340453414534245343453444534545346453474534845349453504535145352453534535445355453564535745358453594536045361453624536345364453654536645367453684536945370453714537245373453744537545376453774537845379453804538145382453834538445385453864538745388453894539045391453924539345394453954539645397453984539945400454014540245403454044540545406454074540845409454104541145412454134541445415454164541745418454194542045421454224542345424454254542645427454284542945430454314543245433454344543545436454374543845439454404544145442454434544445445454464544745448454494545045451454524545345454454554545645457454584545945460454614546245463454644546545466454674546845469454704547145472454734547445475454764547745478454794548045481454824548345484454854548645487454884548945490454914549245493454944549545496454974549845499455004550145502455034550445505455064550745508455094551045511455124551345514455154551645517455184551945520455214552245523455244552545526455274552845529455304553145532455334553445535455364553745538455394554045541455424554345544455454554645547455484554945550455514555245553455544555545556455574555845559455604556145562455634556445565455664556745568455694557045571455724557345574455754557645577455784557945580455814558245583455844558545586455874558845589455904559145592455934559445595455964559745598455994560045601456024560345604456054560645607456084560945610456114561245613456144561545616456174561845619456204562145622456234562445625456264562745628456294563045631456324563345634456354563645637456384563945640456414564245643456444564545646456474564845649456504565145652456534565445655456564565745658456594566045661456624566345664456654566645667456684566945670456714567245673456744567545676456774567845679456804568145682456834568445685456864568745688456894569045691456924569345694456954569645697456984569945700457014570245703457044570545706457074570845709457104571145712457134571445715457164571745718457194572045721457224572345724457254572645727457284572945730457314573245733457344573545736457374573845739457404574145742457434574445745457464574745748457494575045751457524575345754457554575645757457584575945760457614576245763457644576545766457674576845769457704577145772457734577445775457764577745778457794578045781457824578345784457854578645787457884578945790457914579245793457944579545796457974579845799458004580145802458034580445805458064580745808458094581045811458124581345814458154581645817458184581945820458214582245823458244582545826458274582845829458304583145832458334583445835458364583745838458394584045841458424584345844458454584645847458484584945850458514585245853458544585545856458574585845859458604586145862458634586445865458664586745868458694587045871458724587345874458754587645877458784587945880458814588245883458844588545886458874588845889458904589145892458934589445895458964589745898458994590045901459024590345904459054590645907459084590945910459114591245913459144591545916459174591845919459204592145922459234592445925459264592745928459294593045931459324593345934459354593645937459384593945940459414594245943459444594545946459474594845949459504595145952459534595445955459564595745958459594596045961459624596345964459654596645967459684596945970459714597245973459744597545976459774597845979459804598145982459834598445985459864598745988459894599045991459924599345994459954599645997459984599946000460014600246003460044600546006460074600846009460104601146012460134601446015460164601746018460194602046021460224602346024460254602646027460284602946030460314603246033460344603546036460374603846039460404604146042460434604446045460464604746048460494605046051460524605346054460554605646057460584605946060460614606246063460644606546066460674606846069460704607146072460734607446075460764607746078460794608046081460824608346084460854608646087460884608946090460914609246093460944609546096460974609846099461004610146102461034610446105461064610746108461094611046111461124611346114461154611646117461184611946120461214612246123461244612546126461274612846129461304613146132461334613446135461364613746138461394614046141461424614346144461454614646147461484614946150461514615246153461544615546156461574615846159461604616146162461634616446165461664616746168461694617046171461724617346174461754617646177461784617946180461814618246183461844618546186461874618846189461904619146192461934619446195461964619746198461994620046201462024620346204462054620646207462084620946210462114621246213462144621546216462174621846219462204622146222462234622446225462264622746228462294623046231462324623346234462354623646237462384623946240462414624246243462444624546246462474624846249462504625146252462534625446255462564625746258462594626046261462624626346264462654626646267462684626946270462714627246273462744627546276462774627846279462804628146282462834628446285462864628746288462894629046291462924629346294462954629646297462984629946300463014630246303463044630546306463074630846309463104631146312463134631446315463164631746318463194632046321463224632346324463254632646327463284632946330463314633246333463344633546336463374633846339463404634146342463434634446345463464634746348463494635046351463524635346354463554635646357463584635946360463614636246363463644636546366463674636846369463704637146372463734637446375463764637746378463794638046381463824638346384463854638646387463884638946390463914639246393463944639546396463974639846399464004640146402464034640446405464064640746408464094641046411464124641346414464154641646417464184641946420464214642246423464244642546426464274642846429464304643146432464334643446435464364643746438464394644046441464424644346444464454644646447464484644946450464514645246453464544645546456464574645846459464604646146462464634646446465464664646746468464694647046471464724647346474464754647646477464784647946480464814648246483464844648546486464874648846489464904649146492464934649446495464964649746498464994650046501465024650346504465054650646507465084650946510465114651246513465144651546516465174651846519465204652146522465234652446525465264652746528465294653046531465324653346534465354653646537465384653946540465414654246543465444654546546465474654846549465504655146552465534655446555465564655746558465594656046561465624656346564465654656646567465684656946570465714657246573465744657546576465774657846579465804658146582465834658446585465864658746588465894659046591465924659346594465954659646597465984659946600466014660246603466044660546606466074660846609466104661146612466134661446615466164661746618466194662046621466224662346624466254662646627466284662946630466314663246633466344663546636466374663846639466404664146642466434664446645466464664746648466494665046651466524665346654466554665646657466584665946660466614666246663466644666546666466674666846669466704667146672466734667446675466764667746678466794668046681466824668346684466854668646687466884668946690466914669246693466944669546696466974669846699467004670146702467034670446705467064670746708467094671046711467124671346714467154671646717467184671946720467214672246723467244672546726467274672846729467304673146732467334673446735467364673746738467394674046741467424674346744467454674646747467484674946750467514675246753467544675546756467574675846759467604676146762467634676446765467664676746768467694677046771467724677346774467754677646777467784677946780467814678246783467844678546786467874678846789467904679146792467934679446795467964679746798467994680046801468024680346804468054680646807468084680946810468114681246813468144681546816468174681846819468204682146822468234682446825468264682746828468294683046831468324683346834468354683646837468384683946840468414684246843468444684546846468474684846849468504685146852468534685446855468564685746858468594686046861468624686346864468654686646867468684686946870468714687246873468744687546876468774687846879468804688146882468834688446885468864688746888468894689046891468924689346894468954689646897468984689946900469014690246903469044690546906469074690846909469104691146912469134691446915469164691746918469194692046921469224692346924469254692646927469284692946930469314693246933469344693546936469374693846939469404694146942469434694446945469464694746948469494695046951469524695346954469554695646957469584695946960469614696246963469644696546966469674696846969469704697146972469734697446975469764697746978469794698046981469824698346984469854698646987469884698946990469914699246993469944699546996469974699846999470004700147002470034700447005470064700747008470094701047011470124701347014470154701647017470184701947020470214702247023470244702547026470274702847029470304703147032470334703447035470364703747038470394704047041470424704347044470454704647047470484704947050470514705247053470544705547056470574705847059470604706147062470634706447065470664706747068470694707047071470724707347074470754707647077470784707947080470814708247083470844708547086470874708847089470904709147092470934709447095470964709747098470994710047101471024710347104471054710647107471084710947110471114711247113471144711547116471174711847119471204712147122471234712447125471264712747128471294713047131471324713347134471354713647137471384713947140471414714247143471444714547146471474714847149471504715147152471534715447155471564715747158471594716047161471624716347164471654716647167471684716947170471714717247173471744717547176471774717847179471804718147182471834718447185471864718747188471894719047191471924719347194471954719647197471984719947200472014720247203472044720547206472074720847209472104721147212472134721447215472164721747218472194722047221472224722347224472254722647227472284722947230472314723247233472344723547236472374723847239472404724147242472434724447245472464724747248472494725047251472524725347254472554725647257472584725947260472614726247263472644726547266472674726847269472704727147272472734727447275472764727747278472794728047281472824728347284472854728647287472884728947290472914729247293472944729547296472974729847299473004730147302473034730447305473064730747308473094731047311473124731347314473154731647317473184731947320473214732247323473244732547326473274732847329473304733147332473334733447335473364733747338473394734047341473424734347344473454734647347473484734947350473514735247353473544735547356473574735847359473604736147362473634736447365473664736747368473694737047371473724737347374473754737647377473784737947380473814738247383473844738547386473874738847389473904739147392473934739447395473964739747398473994740047401474024740347404474054740647407474084740947410474114741247413474144741547416474174741847419474204742147422474234742447425474264742747428474294743047431474324743347434474354743647437474384743947440474414744247443474444744547446474474744847449474504745147452474534745447455474564745747458474594746047461474624746347464474654746647467474684746947470474714747247473474744747547476474774747847479474804748147482474834748447485474864748747488474894749047491474924749347494474954749647497474984749947500475014750247503475044750547506475074750847509475104751147512475134751447515475164751747518475194752047521475224752347524475254752647527475284752947530475314753247533475344753547536475374753847539475404754147542475434754447545475464754747548475494755047551475524755347554475554755647557475584755947560475614756247563475644756547566475674756847569475704757147572475734757447575475764757747578475794758047581475824758347584475854758647587475884758947590475914759247593475944759547596475974759847599476004760147602476034760447605476064760747608476094761047611476124761347614476154761647617476184761947620476214762247623476244762547626476274762847629476304763147632476334763447635476364763747638476394764047641476424764347644476454764647647476484764947650476514765247653476544765547656476574765847659476604766147662476634766447665476664766747668476694767047671476724767347674476754767647677476784767947680476814768247683476844768547686476874768847689476904769147692476934769447695476964769747698476994770047701477024770347704477054770647707477084770947710477114771247713477144771547716477174771847719477204772147722477234772447725477264772747728477294773047731477324773347734477354773647737477384773947740477414774247743477444774547746477474774847749477504775147752477534775447755477564775747758477594776047761477624776347764477654776647767477684776947770477714777247773477744777547776477774777847779477804778147782477834778447785477864778747788477894779047791477924779347794477954779647797477984779947800478014780247803478044780547806478074780847809478104781147812478134781447815478164781747818478194782047821478224782347824478254782647827478284782947830478314783247833478344783547836478374783847839478404784147842478434784447845478464784747848478494785047851478524785347854478554785647857478584785947860478614786247863478644786547866478674786847869478704787147872478734787447875478764787747878478794788047881478824788347884478854788647887478884788947890478914789247893478944789547896478974789847899479004790147902479034790447905479064790747908479094791047911479124791347914479154791647917479184791947920479214792247923479244792547926479274792847929479304793147932479334793447935479364793747938479394794047941479424794347944479454794647947479484794947950479514795247953479544795547956479574795847959479604796147962479634796447965479664796747968479694797047971479724797347974479754797647977479784797947980479814798247983479844798547986479874798847989479904799147992479934799447995479964799747998479994800048001480024800348004480054800648007480084800948010480114801248013480144801548016480174801848019480204802148022480234802448025480264802748028480294803048031480324803348034480354803648037480384803948040480414804248043480444804548046480474804848049480504805148052480534805448055480564805748058480594806048061480624806348064480654806648067480684806948070480714807248073480744807548076480774807848079480804808148082480834808448085480864808748088480894809048091480924809348094480954809648097480984809948100481014810248103481044810548106481074810848109481104811148112481134811448115481164811748118481194812048121481224812348124481254812648127481284812948130481314813248133481344813548136481374813848139481404814148142481434814448145481464814748148481494815048151481524815348154481554815648157481584815948160481614816248163481644816548166481674816848169481704817148172481734817448175481764817748178481794818048181481824818348184481854818648187481884818948190481914819248193481944819548196481974819848199482004820148202482034820448205482064820748208482094821048211482124821348214482154821648217482184821948220482214822248223482244822548226482274822848229482304823148232482334823448235482364823748238482394824048241482424824348244482454824648247482484824948250482514825248253482544825548256482574825848259482604826148262482634826448265482664826748268482694827048271482724827348274482754827648277482784827948280482814828248283482844828548286482874828848289482904829148292482934829448295482964829748298482994830048301483024830348304483054830648307483084830948310483114831248313483144831548316483174831848319483204832148322483234832448325483264832748328483294833048331483324833348334483354833648337483384833948340483414834248343483444834548346483474834848349483504835148352483534835448355483564835748358483594836048361483624836348364483654836648367483684836948370483714837248373483744837548376483774837848379483804838148382483834838448385483864838748388483894839048391483924839348394483954839648397483984839948400484014840248403484044840548406484074840848409484104841148412484134841448415484164841748418484194842048421484224842348424484254842648427484284842948430484314843248433484344843548436484374843848439484404844148442484434844448445484464844748448484494845048451484524845348454484554845648457484584845948460484614846248463484644846548466484674846848469484704847148472484734847448475484764847748478484794848048481484824848348484484854848648487484884848948490484914849248493484944849548496484974849848499485004850148502485034850448505485064850748508485094851048511485124851348514485154851648517485184851948520485214852248523485244852548526485274852848529485304853148532485334853448535485364853748538485394854048541485424854348544485454854648547485484854948550485514855248553485544855548556485574855848559485604856148562485634856448565485664856748568485694857048571485724857348574485754857648577485784857948580485814858248583485844858548586485874858848589485904859148592485934859448595485964859748598485994860048601486024860348604486054860648607486084860948610486114861248613486144861548616486174861848619486204862148622486234862448625486264862748628486294863048631486324863348634486354863648637486384863948640486414864248643486444864548646486474864848649486504865148652486534865448655486564865748658486594866048661486624866348664486654866648667486684866948670486714867248673486744867548676486774867848679486804868148682486834868448685486864868748688486894869048691486924869348694486954869648697486984869948700487014870248703487044870548706487074870848709487104871148712487134871448715487164871748718487194872048721487224872348724487254872648727487284872948730487314873248733487344873548736487374873848739487404874148742487434874448745487464874748748487494875048751487524875348754487554875648757487584875948760487614876248763487644876548766487674876848769487704877148772487734877448775487764877748778487794878048781487824878348784487854878648787487884878948790487914879248793487944879548796487974879848799488004880148802488034880448805488064880748808488094881048811488124881348814488154881648817488184881948820488214882248823488244882548826488274882848829488304883148832488334883448835488364883748838488394884048841488424884348844488454884648847488484884948850488514885248853488544885548856488574885848859488604886148862488634886448865488664886748868488694887048871488724887348874488754887648877488784887948880488814888248883488844888548886488874888848889488904889148892488934889448895488964889748898488994890048901489024890348904489054890648907489084890948910489114891248913489144891548916489174891848919489204892148922489234892448925489264892748928489294893048931489324893348934489354893648937489384893948940489414894248943489444894548946489474894848949489504895148952489534895448955489564895748958489594896048961489624896348964489654896648967489684896948970489714897248973489744897548976489774897848979489804898148982489834898448985489864898748988489894899048991489924899348994489954899648997489984899949000490014900249003490044900549006490074900849009490104901149012490134901449015490164901749018490194902049021490224902349024490254902649027490284902949030490314903249033490344903549036490374903849039490404904149042490434904449045490464904749048490494905049051490524905349054490554905649057490584905949060490614906249063490644906549066490674906849069490704907149072490734907449075490764907749078490794908049081490824908349084490854908649087490884908949090490914909249093490944909549096490974909849099491004910149102491034910449105491064910749108491094911049111491124911349114491154911649117491184911949120491214912249123491244912549126491274912849129491304913149132491334913449135491364913749138491394914049141491424914349144491454914649147491484914949150491514915249153491544915549156491574915849159491604916149162491634916449165491664916749168491694917049171491724917349174491754917649177491784917949180491814918249183491844918549186491874918849189491904919149192491934919449195491964919749198491994920049201492024920349204492054920649207492084920949210492114921249213492144921549216492174921849219492204922149222492234922449225492264922749228492294923049231492324923349234492354923649237492384923949240492414924249243492444924549246492474924849249492504925149252492534925449255492564925749258492594926049261492624926349264492654926649267492684926949270492714927249273492744927549276492774927849279492804928149282492834928449285492864928749288492894929049291492924929349294492954929649297492984929949300493014930249303493044930549306493074930849309493104931149312493134931449315493164931749318493194932049321493224932349324493254932649327493284932949330493314933249333493344933549336493374933849339493404934149342493434934449345493464934749348493494935049351493524935349354493554935649357493584935949360493614936249363493644936549366493674936849369493704937149372493734937449375493764937749378493794938049381493824938349384493854938649387493884938949390493914939249393493944939549396493974939849399494004940149402494034940449405494064940749408494094941049411494124941349414494154941649417494184941949420494214942249423494244942549426494274942849429494304943149432494334943449435494364943749438494394944049441494424944349444494454944649447494484944949450494514945249453494544945549456494574945849459494604946149462494634946449465494664946749468494694947049471494724947349474494754947649477494784947949480494814948249483494844948549486494874948849489494904949149492494934949449495494964949749498494994950049501495024950349504495054950649507495084950949510495114951249513495144951549516495174951849519495204952149522495234952449525495264952749528495294953049531495324953349534495354953649537495384953949540495414954249543495444954549546495474954849549495504955149552495534955449555495564955749558495594956049561495624956349564495654956649567495684956949570495714957249573495744957549576495774957849579495804958149582495834958449585495864958749588495894959049591495924959349594495954959649597495984959949600496014960249603496044960549606496074960849609496104961149612496134961449615496164961749618496194962049621496224962349624496254962649627496284962949630496314963249633496344963549636496374963849639496404964149642496434964449645496464964749648496494965049651496524965349654496554965649657496584965949660496614966249663496644966549666496674966849669496704967149672496734967449675496764967749678496794968049681496824968349684496854968649687496884968949690496914969249693496944969549696496974969849699497004970149702497034970449705497064970749708497094971049711497124971349714497154971649717497184971949720497214972249723497244972549726497274972849729497304973149732497334973449735497364973749738497394974049741497424974349744497454974649747497484974949750497514975249753497544975549756497574975849759497604976149762497634976449765497664976749768497694977049771497724977349774497754977649777497784977949780497814978249783497844978549786497874978849789497904979149792497934979449795497964979749798497994980049801498024980349804498054980649807498084980949810498114981249813498144981549816498174981849819498204982149822498234982449825498264982749828498294983049831498324983349834498354983649837498384983949840498414984249843498444984549846498474984849849498504985149852498534985449855498564985749858498594986049861498624986349864498654986649867498684986949870498714987249873498744987549876498774987849879498804988149882498834988449885498864988749888498894989049891498924989349894498954989649897498984989949900499014990249903499044990549906499074990849909499104991149912499134991449915499164991749918499194992049921499224992349924499254992649927499284992949930499314993249933499344993549936499374993849939499404994149942499434994449945499464994749948499494995049951499524995349954499554995649957499584995949960499614996249963499644996549966499674996849969499704997149972499734997449975499764997749978499794998049981499824998349984499854998649987499884998949990499914999249993499944999549996499974999849999500005000150002500035000450005500065000750008500095001050011500125001350014500155001650017500185001950020500215002250023500245002550026500275002850029500305003150032500335003450035500365003750038500395004050041500425004350044500455004650047500485004950050500515005250053500545005550056500575005850059500605006150062500635006450065500665006750068500695007050071500725007350074500755007650077500785007950080500815008250083500845008550086500875008850089500905009150092500935009450095500965009750098500995010050101501025010350104501055010650107501085010950110501115011250113501145011550116501175011850119501205012150122501235012450125501265012750128501295013050131501325013350134501355013650137501385013950140501415014250143501445014550146501475014850149501505015150152501535015450155501565015750158501595016050161501625016350164501655016650167501685016950170501715017250173501745017550176501775017850179501805018150182501835018450185501865018750188501895019050191501925019350194501955019650197501985019950200502015020250203502045020550206502075020850209502105021150212502135021450215502165021750218502195022050221502225022350224502255022650227502285022950230502315023250233502345023550236502375023850239502405024150242502435024450245502465024750248502495025050251502525025350254502555025650257502585025950260502615026250263502645026550266502675026850269502705027150272502735027450275502765027750278502795028050281502825028350284502855028650287502885028950290502915029250293502945029550296502975029850299503005030150302503035030450305503065030750308503095031050311503125031350314503155031650317503185031950320503215032250323503245032550326503275032850329503305033150332503335033450335503365033750338503395034050341503425034350344503455034650347503485034950350503515035250353503545035550356503575035850359503605036150362503635036450365503665036750368503695037050371503725037350374503755037650377503785037950380503815038250383503845038550386503875038850389503905039150392503935039450395503965039750398503995040050401504025040350404504055040650407504085040950410504115041250413504145041550416504175041850419504205042150422504235042450425504265042750428504295043050431504325043350434504355043650437504385043950440504415044250443504445044550446504475044850449504505045150452504535045450455504565045750458504595046050461504625046350464504655046650467504685046950470504715047250473504745047550476504775047850479504805048150482504835048450485504865048750488504895049050491504925049350494504955049650497504985049950500505015050250503505045050550506505075050850509505105051150512505135051450515505165051750518505195052050521505225052350524505255052650527505285052950530505315053250533505345053550536505375053850539505405054150542505435054450545505465054750548505495055050551505525055350554505555055650557505585055950560505615056250563505645056550566505675056850569505705057150572505735057450575505765057750578505795058050581505825058350584505855058650587505885058950590505915059250593505945059550596505975059850599506005060150602506035060450605506065060750608506095061050611506125061350614506155061650617506185061950620506215062250623506245062550626506275062850629506305063150632506335063450635506365063750638506395064050641506425064350644506455064650647506485064950650506515065250653506545065550656506575065850659506605066150662506635066450665506665066750668506695067050671506725067350674506755067650677506785067950680506815068250683506845068550686506875068850689506905069150692506935069450695506965069750698506995070050701507025070350704507055070650707507085070950710507115071250713507145071550716507175071850719507205072150722507235072450725507265072750728507295073050731507325073350734507355073650737507385073950740507415074250743507445074550746507475074850749507505075150752507535075450755507565075750758507595076050761507625076350764507655076650767507685076950770507715077250773507745077550776507775077850779507805078150782507835078450785507865078750788507895079050791507925079350794507955079650797507985079950800508015080250803508045080550806508075080850809508105081150812508135081450815508165081750818508195082050821508225082350824508255082650827508285082950830508315083250833508345083550836508375083850839508405084150842508435084450845508465084750848508495085050851508525085350854508555085650857508585085950860508615086250863508645086550866508675086850869508705087150872508735087450875508765087750878508795088050881508825088350884508855088650887508885088950890508915089250893508945089550896508975089850899509005090150902509035090450905509065090750908509095091050911509125091350914509155091650917509185091950920509215092250923509245092550926509275092850929509305093150932509335093450935509365093750938509395094050941509425094350944509455094650947509485094950950509515095250953509545095550956509575095850959509605096150962509635096450965509665096750968509695097050971509725097350974509755097650977509785097950980509815098250983509845098550986509875098850989509905099150992509935099450995509965099750998509995100051001510025100351004510055100651007510085100951010510115101251013510145101551016510175101851019510205102151022510235102451025510265102751028510295103051031510325103351034510355103651037510385103951040510415104251043510445104551046510475104851049510505105151052510535105451055510565105751058510595106051061510625106351064510655106651067510685106951070510715107251073510745107551076510775107851079510805108151082510835108451085510865108751088510895109051091510925109351094510955109651097510985109951100511015110251103511045110551106511075110851109511105111151112511135111451115511165111751118511195112051121511225112351124511255112651127511285112951130511315113251133511345113551136511375113851139511405114151142511435114451145511465114751148511495115051151511525115351154511555115651157511585115951160511615116251163511645116551166511675116851169511705117151172511735117451175511765117751178511795118051181511825118351184511855118651187511885118951190511915119251193511945119551196511975119851199512005120151202512035120451205512065120751208512095121051211512125121351214512155121651217512185121951220512215122251223512245122551226512275122851229512305123151232512335123451235512365123751238512395124051241512425124351244512455124651247512485124951250512515125251253512545125551256512575125851259512605126151262512635126451265512665126751268512695127051271512725127351274512755127651277512785127951280512815128251283512845128551286512875128851289512905129151292512935129451295512965129751298512995130051301513025130351304513055130651307513085130951310513115131251313513145131551316513175131851319513205132151322513235132451325513265132751328513295133051331513325133351334513355133651337513385133951340513415134251343513445134551346513475134851349513505135151352513535135451355513565135751358513595136051361513625136351364513655136651367513685136951370513715137251373513745137551376513775137851379513805138151382513835138451385513865138751388513895139051391513925139351394513955139651397513985139951400514015140251403514045140551406514075140851409514105141151412514135141451415514165141751418514195142051421514225142351424514255142651427514285142951430514315143251433514345143551436514375143851439514405144151442514435144451445514465144751448514495145051451514525145351454514555145651457514585145951460514615146251463514645146551466514675146851469514705147151472514735147451475514765147751478514795148051481514825148351484514855148651487514885148951490514915149251493514945149551496514975149851499515005150151502515035150451505515065150751508515095151051511515125151351514515155151651517515185151951520515215152251523515245152551526515275152851529515305153151532515335153451535515365153751538515395154051541515425154351544515455154651547515485154951550515515155251553515545155551556515575155851559515605156151562515635156451565515665156751568515695157051571515725157351574515755157651577515785157951580515815158251583515845158551586515875158851589515905159151592515935159451595515965159751598515995160051601516025160351604516055160651607516085160951610516115161251613516145161551616516175161851619516205162151622516235162451625516265162751628516295163051631516325163351634516355163651637516385163951640516415164251643516445164551646516475164851649516505165151652516535165451655516565165751658516595166051661516625166351664516655166651667516685166951670516715167251673516745167551676516775167851679516805168151682516835168451685516865168751688516895169051691516925169351694516955169651697516985169951700517015170251703517045170551706517075170851709517105171151712517135171451715517165171751718517195172051721517225172351724517255172651727517285172951730517315173251733517345173551736517375173851739517405174151742517435174451745517465174751748517495175051751517525175351754517555175651757517585175951760517615176251763517645176551766517675176851769517705177151772517735177451775517765177751778517795178051781517825178351784517855178651787517885178951790517915179251793517945179551796517975179851799518005180151802518035180451805518065180751808518095181051811518125181351814518155181651817518185181951820518215182251823518245182551826518275182851829518305183151832518335183451835518365183751838518395184051841518425184351844518455184651847518485184951850518515185251853518545185551856518575185851859518605186151862518635186451865518665186751868518695187051871518725187351874518755187651877518785187951880518815188251883518845188551886518875188851889518905189151892518935189451895518965189751898518995190051901519025190351904519055190651907519085190951910519115191251913519145191551916519175191851919519205192151922519235192451925519265192751928519295193051931519325193351934519355193651937519385193951940519415194251943519445194551946519475194851949519505195151952519535195451955519565195751958519595196051961519625196351964519655196651967519685196951970519715197251973519745197551976519775197851979519805198151982519835198451985519865198751988519895199051991519925199351994519955199651997519985199952000520015200252003520045200552006520075200852009520105201152012520135201452015520165201752018520195202052021520225202352024520255202652027520285202952030520315203252033520345203552036520375203852039520405204152042520435204452045520465204752048520495205052051520525205352054520555205652057520585205952060520615206252063520645206552066520675206852069520705207152072520735207452075520765207752078520795208052081520825208352084520855208652087520885208952090520915209252093520945209552096520975209852099521005210152102521035210452105521065210752108521095211052111521125211352114521155211652117521185211952120521215212252123521245212552126521275212852129521305213152132521335213452135521365213752138521395214052141521425214352144521455214652147521485214952150521515215252153521545215552156521575215852159521605216152162521635216452165521665216752168521695217052171521725217352174521755217652177521785217952180521815218252183521845218552186521875218852189521905219152192521935219452195521965219752198521995220052201522025220352204522055220652207522085220952210522115221252213522145221552216522175221852219522205222152222522235222452225522265222752228522295223052231522325223352234522355223652237522385223952240522415224252243522445224552246522475224852249522505225152252522535225452255522565225752258522595226052261522625226352264522655226652267522685226952270522715227252273522745227552276522775227852279522805228152282522835228452285522865228752288522895229052291522925229352294522955229652297522985229952300523015230252303523045230552306523075230852309523105231152312523135231452315523165231752318523195232052321523225232352324523255232652327523285232952330523315233252333523345233552336523375233852339523405234152342523435234452345523465234752348523495235052351523525235352354523555235652357523585235952360523615236252363523645236552366523675236852369523705237152372523735237452375523765237752378523795238052381523825238352384523855238652387523885238952390523915239252393523945239552396523975239852399524005240152402524035240452405524065240752408524095241052411524125241352414524155241652417524185241952420524215242252423524245242552426524275242852429524305243152432524335243452435524365243752438524395244052441524425244352444524455244652447524485244952450524515245252453524545245552456524575245852459524605246152462524635246452465524665246752468524695247052471524725247352474524755247652477524785247952480524815248252483524845248552486524875248852489524905249152492524935249452495524965249752498524995250052501525025250352504525055250652507525085250952510525115251252513525145251552516525175251852519525205252152522525235252452525525265252752528525295253052531525325253352534525355253652537525385253952540525415254252543525445254552546525475254852549525505255152552525535255452555525565255752558525595256052561525625256352564525655256652567525685256952570525715257252573525745257552576525775257852579525805258152582525835258452585525865258752588525895259052591525925259352594525955259652597525985259952600526015260252603526045260552606526075260852609526105261152612526135261452615526165261752618526195262052621526225262352624526255262652627526285262952630526315263252633526345263552636526375263852639526405264152642526435264452645526465264752648526495265052651526525265352654526555265652657526585265952660526615266252663526645266552666526675266852669526705267152672526735267452675526765267752678526795268052681526825268352684526855268652687526885268952690526915269252693526945269552696526975269852699527005270152702527035270452705527065270752708527095271052711527125271352714527155271652717527185271952720527215272252723527245272552726527275272852729527305273152732527335273452735527365273752738527395274052741527425274352744527455274652747527485274952750527515275252753527545275552756527575275852759527605276152762527635276452765527665276752768527695277052771527725277352774527755277652777527785277952780527815278252783527845278552786527875278852789527905279152792527935279452795527965279752798527995280052801528025280352804528055280652807528085280952810528115281252813528145281552816528175281852819528205282152822528235282452825528265282752828528295283052831528325283352834528355283652837528385283952840528415284252843528445284552846528475284852849528505285152852528535285452855528565285752858528595286052861528625286352864528655286652867528685286952870528715287252873528745287552876528775287852879528805288152882528835288452885528865288752888528895289052891528925289352894528955289652897528985289952900529015290252903529045290552906529075290852909529105291152912529135291452915529165291752918529195292052921529225292352924529255292652927529285292952930529315293252933529345293552936529375293852939529405294152942529435294452945529465294752948529495295052951529525295352954529555295652957529585295952960529615296252963529645296552966529675296852969529705297152972529735297452975529765297752978529795298052981529825298352984529855298652987529885298952990529915299252993529945299552996529975299852999530005300153002530035300453005530065300753008530095301053011530125301353014530155301653017530185301953020530215302253023530245302553026530275302853029530305303153032530335303453035530365303753038530395304053041530425304353044530455304653047530485304953050530515305253053530545305553056530575305853059530605306153062530635306453065530665306753068530695307053071530725307353074530755307653077530785307953080530815308253083530845308553086530875308853089530905309153092530935309453095530965309753098530995310053101531025310353104531055310653107531085310953110531115311253113531145311553116531175311853119531205312153122531235312453125531265312753128531295313053131531325313353134531355313653137531385313953140531415314253143531445314553146531475314853149531505315153152531535315453155531565315753158531595316053161531625316353164531655316653167531685316953170531715317253173531745317553176531775317853179531805318153182531835318453185531865318753188531895319053191531925319353194531955319653197531985319953200532015320253203532045320553206532075320853209532105321153212532135321453215532165321753218532195322053221532225322353224532255322653227532285322953230532315323253233532345323553236532375323853239532405324153242532435324453245532465324753248532495325053251532525325353254532555325653257532585325953260532615326253263532645326553266532675326853269532705327153272532735327453275532765327753278532795328053281532825328353284532855328653287532885328953290532915329253293532945329553296532975329853299533005330153302533035330453305533065330753308533095331053311533125331353314533155331653317533185331953320533215332253323533245332553326533275332853329533305333153332533335333453335533365333753338533395334053341533425334353344533455334653347533485334953350533515335253353533545335553356533575335853359533605336153362533635336453365533665336753368533695337053371533725337353374533755337653377533785337953380533815338253383533845338553386533875338853389533905339153392533935339453395533965339753398533995340053401534025340353404534055340653407534085340953410534115341253413534145341553416534175341853419534205342153422534235342453425534265342753428534295343053431534325343353434534355343653437534385343953440534415344253443534445344553446534475344853449534505345153452534535345453455534565345753458534595346053461534625346353464534655346653467534685346953470534715347253473534745347553476534775347853479534805348153482534835348453485534865348753488534895349053491534925349353494534955349653497534985349953500535015350253503535045350553506535075350853509535105351153512535135351453515535165351753518535195352053521535225352353524535255352653527535285352953530535315353253533535345353553536535375353853539535405354153542535435354453545535465354753548535495355053551535525355353554535555355653557535585355953560535615356253563535645356553566535675356853569535705357153572535735357453575535765357753578535795358053581535825358353584535855358653587535885358953590535915359253593535945359553596535975359853599536005360153602536035360453605536065360753608536095361053611536125361353614536155361653617536185361953620536215362253623536245362553626536275362853629536305363153632536335363453635536365363753638536395364053641536425364353644536455364653647536485364953650536515365253653536545365553656536575365853659536605366153662536635366453665536665366753668536695367053671536725367353674536755367653677536785367953680536815368253683536845368553686536875368853689536905369153692536935369453695536965369753698536995370053701537025370353704537055370653707537085370953710537115371253713537145371553716537175371853719537205372153722537235372453725537265372753728537295373053731537325373353734537355373653737537385373953740537415374253743537445374553746537475374853749537505375153752537535375453755537565375753758537595376053761537625376353764537655376653767537685376953770537715377253773537745377553776537775377853779537805378153782537835378453785537865378753788537895379053791537925379353794537955379653797537985379953800538015380253803538045380553806538075380853809538105381153812538135381453815538165381753818538195382053821538225382353824538255382653827538285382953830538315383253833538345383553836538375383853839538405384153842538435384453845538465384753848538495385053851538525385353854538555385653857538585385953860538615386253863538645386553866538675386853869538705387153872538735387453875538765387753878538795388053881538825388353884538855388653887538885388953890538915389253893538945389553896538975389853899539005390153902539035390453905539065390753908539095391053911539125391353914539155391653917539185391953920539215392253923539245392553926539275392853929539305393153932539335393453935539365393753938539395394053941539425394353944539455394653947539485394953950539515395253953539545395553956539575395853959539605396153962539635396453965539665396753968539695397053971539725397353974539755397653977539785397953980539815398253983539845398553986539875398853989539905399153992539935399453995539965399753998539995400054001540025400354004540055400654007540085400954010540115401254013540145401554016540175401854019540205402154022540235402454025540265402754028540295403054031540325403354034540355403654037540385403954040540415404254043540445404554046540475404854049540505405154052540535405454055540565405754058540595406054061540625406354064540655406654067540685406954070540715407254073540745407554076540775407854079540805408154082540835408454085540865408754088540895409054091540925409354094540955409654097540985409954100541015410254103541045410554106541075410854109541105411154112541135411454115541165411754118541195412054121541225412354124541255412654127541285412954130541315413254133541345413554136541375413854139541405414154142541435414454145541465414754148541495415054151541525415354154541555415654157541585415954160541615416254163541645416554166541675416854169541705417154172541735417454175541765417754178541795418054181541825418354184541855418654187541885418954190541915419254193541945419554196541975419854199542005420154202542035420454205542065420754208542095421054211542125421354214542155421654217542185421954220542215422254223542245422554226542275422854229542305423154232542335423454235542365423754238542395424054241542425424354244542455424654247542485424954250542515425254253542545425554256542575425854259542605426154262542635426454265542665426754268542695427054271542725427354274542755427654277542785427954280542815428254283542845428554286542875428854289542905429154292542935429454295542965429754298542995430054301543025430354304543055430654307543085430954310543115431254313543145431554316543175431854319543205432154322543235432454325543265432754328543295433054331543325433354334543355433654337543385433954340543415434254343543445434554346543475434854349543505435154352543535435454355543565435754358543595436054361543625436354364543655436654367543685436954370543715437254373543745437554376543775437854379543805438154382543835438454385543865438754388543895439054391543925439354394543955439654397543985439954400544015440254403544045440554406544075440854409544105441154412544135441454415544165441754418544195442054421544225442354424544255442654427544285442954430544315443254433544345443554436544375443854439544405444154442544435444454445544465444754448544495445054451544525445354454544555445654457544585445954460544615446254463544645446554466544675446854469544705447154472544735447454475544765447754478544795448054481544825448354484544855448654487544885448954490544915449254493544945449554496544975449854499545005450154502545035450454505545065450754508545095451054511545125451354514545155451654517545185451954520545215452254523545245452554526545275452854529545305453154532545335453454535545365453754538545395454054541545425454354544545455454654547545485454954550545515455254553545545455554556545575455854559545605456154562545635456454565545665456754568545695457054571545725457354574545755457654577545785457954580545815458254583545845458554586545875458854589545905459154592545935459454595545965459754598545995460054601546025460354604546055460654607546085460954610546115461254613546145461554616546175461854619546205462154622546235462454625546265462754628546295463054631546325463354634546355463654637546385463954640546415464254643546445464554646546475464854649546505465154652546535465454655546565465754658546595466054661546625466354664546655466654667546685466954670546715467254673546745467554676546775467854679546805468154682546835468454685546865468754688546895469054691546925469354694546955469654697546985469954700547015470254703547045470554706547075470854709547105471154712547135471454715547165471754718547195472054721547225472354724547255472654727547285472954730547315473254733547345473554736547375473854739547405474154742547435474454745547465474754748547495475054751547525475354754547555475654757547585475954760547615476254763547645476554766547675476854769547705477154772547735477454775547765477754778547795478054781547825478354784547855478654787547885478954790547915479254793547945479554796547975479854799548005480154802548035480454805548065480754808548095481054811548125481354814548155481654817548185481954820548215482254823548245482554826548275482854829548305483154832548335483454835548365483754838548395484054841548425484354844548455484654847548485484954850548515485254853548545485554856548575485854859548605486154862548635486454865548665486754868548695487054871548725487354874548755487654877548785487954880548815488254883548845488554886548875488854889548905489154892548935489454895548965489754898548995490054901549025490354904549055490654907549085490954910549115491254913549145491554916549175491854919549205492154922549235492454925549265492754928549295493054931549325493354934549355493654937549385493954940549415494254943549445494554946549475494854949549505495154952549535495454955549565495754958549595496054961549625496354964549655496654967549685496954970549715497254973549745497554976549775497854979549805498154982549835498454985549865498754988549895499054991549925499354994549955499654997549985499955000550015500255003550045500555006550075500855009550105501155012550135501455015550165501755018550195502055021550225502355024550255502655027550285502955030550315503255033550345503555036550375503855039550405504155042550435504455045550465504755048550495505055051550525505355054550555505655057550585505955060550615506255063550645506555066550675506855069550705507155072550735507455075550765507755078550795508055081550825508355084550855508655087550885508955090550915509255093550945509555096550975509855099551005510155102551035510455105551065510755108551095511055111551125511355114551155511655117551185511955120551215512255123551245512555126551275512855129551305513155132551335513455135551365513755138551395514055141551425514355144551455514655147551485514955150551515515255153551545515555156551575515855159551605516155162551635516455165551665516755168551695517055171551725517355174551755517655177551785517955180551815518255183551845518555186551875518855189551905519155192551935519455195551965519755198551995520055201552025520355204552055520655207552085520955210552115521255213552145521555216552175521855219552205522155222552235522455225552265522755228552295523055231552325523355234552355523655237552385523955240552415524255243552445524555246552475524855249552505525155252552535525455255552565525755258552595526055261552625526355264552655526655267552685526955270552715527255273552745527555276552775527855279552805528155282552835528455285552865528755288552895529055291552925529355294552955529655297552985529955300553015530255303553045530555306553075530855309553105531155312553135531455315553165531755318553195532055321553225532355324553255532655327553285532955330553315533255333553345533555336553375533855339553405534155342553435534455345553465534755348553495535055351553525535355354553555535655357553585535955360553615536255363553645536555366553675536855369553705537155372553735537455375553765537755378553795538055381553825538355384553855538655387553885538955390553915539255393553945539555396553975539855399554005540155402554035540455405554065540755408554095541055411554125541355414554155541655417554185541955420554215542255423554245542555426554275542855429554305543155432554335543455435554365543755438554395544055441554425544355444554455544655447554485544955450554515545255453554545545555456554575545855459554605546155462554635546455465554665546755468554695547055471554725547355474554755547655477554785547955480554815548255483554845548555486554875548855489554905549155492554935549455495554965549755498554995550055501555025550355504555055550655507555085550955510555115551255513555145551555516555175551855519555205552155522555235552455525555265552755528555295553055531555325553355534555355553655537555385553955540555415554255543555445554555546555475554855549555505555155552555535555455555555565555755558555595556055561555625556355564555655556655567555685556955570555715557255573555745557555576555775557855579555805558155582555835558455585555865558755588555895559055591555925559355594555955559655597555985559955600556015560255603556045560555606556075560855609556105561155612556135561455615556165561755618556195562055621556225562355624556255562655627556285562955630556315563255633556345563555636556375563855639556405564155642556435564455645556465564755648556495565055651556525565355654556555565655657556585565955660556615566255663556645566555666556675566855669556705567155672556735567455675556765567755678556795568055681556825568355684556855568655687556885568955690556915569255693556945569555696556975569855699557005570155702557035570455705557065570755708557095571055711557125571355714557155571655717557185571955720557215572255723557245572555726557275572855729557305573155732557335573455735557365573755738557395574055741557425574355744557455574655747557485574955750557515575255753557545575555756557575575855759557605576155762557635576455765557665576755768557695577055771557725577355774557755577655777557785577955780557815578255783557845578555786557875578855789557905579155792557935579455795557965579755798557995580055801558025580355804558055580655807558085580955810558115581255813558145581555816558175581855819558205582155822558235582455825558265582755828558295583055831558325583355834558355583655837558385583955840558415584255843558445584555846558475584855849558505585155852558535585455855558565585755858558595586055861558625586355864558655586655867558685586955870558715587255873558745587555876558775587855879558805588155882558835588455885558865588755888558895589055891558925589355894558955589655897558985589955900559015590255903559045590555906559075590855909559105591155912559135591455915559165591755918559195592055921559225592355924559255592655927559285592955930559315593255933559345593555936559375593855939559405594155942559435594455945559465594755948559495595055951559525595355954559555595655957559585595955960559615596255963559645596555966559675596855969559705597155972559735597455975559765597755978559795598055981559825598355984559855598655987559885598955990559915599255993559945599555996559975599855999560005600156002560035600456005560065600756008560095601056011560125601356014560155601656017560185601956020560215602256023560245602556026560275602856029560305603156032560335603456035560365603756038560395604056041560425604356044560455604656047560485604956050560515605256053560545605556056560575605856059560605606156062560635606456065560665606756068560695607056071560725607356074560755607656077560785607956080560815608256083560845608556086560875608856089560905609156092560935609456095560965609756098560995610056101561025610356104561055610656107561085610956110561115611256113561145611556116561175611856119561205612156122561235612456125561265612756128561295613056131561325613356134561355613656137561385613956140561415614256143561445614556146561475614856149561505615156152561535615456155561565615756158561595616056161561625616356164561655616656167561685616956170561715617256173561745617556176561775617856179561805618156182561835618456185561865618756188561895619056191561925619356194561955619656197561985619956200562015620256203562045620556206562075620856209562105621156212562135621456215562165621756218562195622056221562225622356224562255622656227562285622956230562315623256233562345623556236562375623856239562405624156242562435624456245562465624756248562495625056251562525625356254562555625656257562585625956260562615626256263562645626556266562675626856269562705627156272562735627456275562765627756278562795628056281562825628356284562855628656287562885628956290562915629256293562945629556296562975629856299563005630156302563035630456305563065630756308563095631056311563125631356314563155631656317563185631956320563215632256323563245632556326563275632856329563305633156332563335633456335563365633756338563395634056341563425634356344563455634656347563485634956350563515635256353563545635556356563575635856359563605636156362563635636456365563665636756368563695637056371563725637356374563755637656377563785637956380563815638256383563845638556386563875638856389563905639156392563935639456395563965639756398563995640056401564025640356404564055640656407564085640956410564115641256413564145641556416564175641856419564205642156422564235642456425564265642756428564295643056431564325643356434564355643656437564385643956440564415644256443564445644556446564475644856449564505645156452564535645456455564565645756458564595646056461564625646356464564655646656467564685646956470564715647256473564745647556476564775647856479564805648156482564835648456485564865648756488564895649056491564925649356494564955649656497564985649956500565015650256503565045650556506565075650856509565105651156512565135651456515565165651756518565195652056521565225652356524565255652656527565285652956530565315653256533565345653556536565375653856539565405654156542565435654456545565465654756548565495655056551565525655356554565555655656557565585655956560565615656256563565645656556566565675656856569565705657156572565735657456575565765657756578565795658056581565825658356584565855658656587565885658956590565915659256593565945659556596565975659856599566005660156602566035660456605566065660756608566095661056611566125661356614566155661656617566185661956620566215662256623566245662556626566275662856629566305663156632566335663456635566365663756638566395664056641566425664356644566455664656647566485664956650566515665256653566545665556656566575665856659566605666156662566635666456665566665666756668566695667056671566725667356674566755667656677566785667956680566815668256683566845668556686566875668856689566905669156692566935669456695566965669756698566995670056701567025670356704567055670656707567085670956710567115671256713567145671556716567175671856719567205672156722567235672456725567265672756728567295673056731567325673356734567355673656737567385673956740567415674256743567445674556746567475674856749567505675156752567535675456755567565675756758567595676056761567625676356764567655676656767567685676956770567715677256773567745677556776567775677856779567805678156782567835678456785567865678756788567895679056791567925679356794567955679656797567985679956800568015680256803568045680556806568075680856809568105681156812568135681456815568165681756818568195682056821568225682356824568255682656827568285682956830568315683256833568345683556836568375683856839568405684156842568435684456845568465684756848568495685056851568525685356854568555685656857568585685956860568615686256863568645686556866568675686856869568705687156872568735687456875568765687756878568795688056881568825688356884568855688656887568885688956890568915689256893568945689556896568975689856899569005690156902569035690456905569065690756908569095691056911569125691356914569155691656917569185691956920569215692256923569245692556926569275692856929569305693156932569335693456935569365693756938569395694056941569425694356944569455694656947569485694956950569515695256953569545695556956569575695856959569605696156962569635696456965569665696756968569695697056971569725697356974569755697656977569785697956980569815698256983569845698556986569875698856989569905699156992569935699456995569965699756998569995700057001570025700357004570055700657007570085700957010570115701257013570145701557016570175701857019570205702157022570235702457025570265702757028570295703057031570325703357034570355703657037570385703957040570415704257043570445704557046570475704857049570505705157052570535705457055570565705757058570595706057061570625706357064570655706657067570685706957070570715707257073570745707557076570775707857079570805708157082570835708457085570865708757088570895709057091570925709357094570955709657097570985709957100571015710257103571045710557106571075710857109571105711157112571135711457115571165711757118571195712057121571225712357124571255712657127571285712957130571315713257133571345713557136571375713857139571405714157142571435714457145571465714757148571495715057151571525715357154571555715657157571585715957160571615716257163571645716557166571675716857169571705717157172571735717457175571765717757178571795718057181571825718357184571855718657187571885718957190571915719257193571945719557196571975719857199572005720157202572035720457205572065720757208572095721057211572125721357214572155721657217572185721957220572215722257223572245722557226572275722857229572305723157232572335723457235572365723757238572395724057241572425724357244572455724657247572485724957250572515725257253572545725557256572575725857259572605726157262572635726457265572665726757268572695727057271572725727357274572755727657277572785727957280572815728257283572845728557286572875728857289572905729157292572935729457295572965729757298572995730057301573025730357304573055730657307573085730957310573115731257313573145731557316573175731857319573205732157322573235732457325573265732757328573295733057331573325733357334573355733657337573385733957340573415734257343573445734557346573475734857349573505735157352573535735457355573565735757358573595736057361573625736357364573655736657367573685736957370573715737257373573745737557376573775737857379573805738157382573835738457385573865738757388573895739057391573925739357394573955739657397573985739957400574015740257403574045740557406574075740857409574105741157412574135741457415574165741757418574195742057421574225742357424574255742657427574285742957430574315743257433574345743557436574375743857439574405744157442574435744457445574465744757448574495745057451574525745357454574555745657457574585745957460574615746257463574645746557466574675746857469574705747157472574735747457475574765747757478574795748057481574825748357484574855748657487574885748957490574915749257493574945749557496574975749857499575005750157502575035750457505575065750757508575095751057511575125751357514575155751657517575185751957520575215752257523575245752557526575275752857529575305753157532575335753457535575365753757538575395754057541575425754357544575455754657547575485754957550575515755257553575545755557556575575755857559575605756157562575635756457565575665756757568575695757057571575725757357574575755757657577575785757957580575815758257583575845758557586575875758857589575905759157592575935759457595575965759757598575995760057601576025760357604576055760657607576085760957610576115761257613576145761557616576175761857619576205762157622576235762457625576265762757628576295763057631576325763357634576355763657637576385763957640576415764257643576445764557646576475764857649576505765157652576535765457655576565765757658576595766057661576625766357664576655766657667576685766957670576715767257673576745767557676576775767857679576805768157682576835768457685576865768757688576895769057691576925769357694576955769657697576985769957700577015770257703577045770557706577075770857709577105771157712577135771457715577165771757718577195772057721577225772357724577255772657727577285772957730577315773257733577345773557736577375773857739577405774157742577435774457745577465774757748577495775057751577525775357754577555775657757577585775957760577615776257763577645776557766577675776857769577705777157772577735777457775577765777757778577795778057781577825778357784577855778657787577885778957790577915779257793577945779557796577975779857799578005780157802578035780457805578065780757808578095781057811578125781357814578155781657817578185781957820578215782257823578245782557826578275782857829578305783157832578335783457835578365783757838578395784057841578425784357844578455784657847578485784957850578515785257853578545785557856578575785857859578605786157862578635786457865578665786757868578695787057871578725787357874578755787657877578785787957880578815788257883578845788557886578875788857889578905789157892578935789457895578965789757898578995790057901579025790357904579055790657907579085790957910579115791257913579145791557916579175791857919579205792157922579235792457925579265792757928579295793057931579325793357934579355793657937579385793957940579415794257943579445794557946579475794857949579505795157952579535795457955579565795757958579595796057961579625796357964579655796657967579685796957970579715797257973579745797557976579775797857979579805798157982579835798457985579865798757988579895799057991579925799357994579955799657997579985799958000580015800258003580045800558006580075800858009580105801158012580135801458015580165801758018580195802058021580225802358024580255802658027580285802958030580315803258033580345803558036580375803858039580405804158042580435804458045580465804758048580495805058051580525805358054580555805658057580585805958060580615806258063580645806558066580675806858069580705807158072580735807458075580765807758078580795808058081580825808358084580855808658087580885808958090580915809258093580945809558096580975809858099581005810158102581035810458105581065810758108581095811058111581125811358114581155811658117581185811958120581215812258123581245812558126581275812858129581305813158132581335813458135581365813758138581395814058141581425814358144581455814658147581485814958150581515815258153581545815558156581575815858159581605816158162581635816458165581665816758168581695817058171581725817358174581755817658177581785817958180581815818258183581845818558186581875818858189581905819158192581935819458195581965819758198581995820058201582025820358204582055820658207582085820958210582115821258213582145821558216582175821858219582205822158222582235822458225582265822758228582295823058231582325823358234582355823658237582385823958240582415824258243582445824558246582475824858249582505825158252582535825458255582565825758258582595826058261582625826358264582655826658267582685826958270582715827258273582745827558276582775827858279582805828158282582835828458285582865828758288582895829058291582925829358294582955829658297582985829958300583015830258303583045830558306583075830858309583105831158312583135831458315583165831758318583195832058321583225832358324583255832658327583285832958330583315833258333583345833558336583375833858339583405834158342583435834458345583465834758348583495835058351583525835358354583555835658357583585835958360583615836258363583645836558366583675836858369583705837158372583735837458375583765837758378583795838058381583825838358384583855838658387583885838958390583915839258393583945839558396583975839858399584005840158402584035840458405584065840758408584095841058411584125841358414584155841658417584185841958420584215842258423584245842558426584275842858429584305843158432584335843458435584365843758438584395844058441584425844358444584455844658447584485844958450584515845258453584545845558456584575845858459584605846158462584635846458465584665846758468584695847058471584725847358474584755847658477584785847958480584815848258483584845848558486584875848858489584905849158492584935849458495584965849758498584995850058501585025850358504585055850658507585085850958510585115851258513585145851558516585175851858519585205852158522585235852458525585265852758528585295853058531585325853358534585355853658537585385853958540585415854258543585445854558546585475854858549585505855158552585535855458555585565855758558585595856058561585625856358564585655856658567585685856958570585715857258573585745857558576585775857858579585805858158582585835858458585585865858758588585895859058591585925859358594585955859658597585985859958600586015860258603586045860558606586075860858609586105861158612586135861458615586165861758618586195862058621586225862358624586255862658627586285862958630586315863258633586345863558636586375863858639586405864158642586435864458645586465864758648586495865058651586525865358654586555865658657586585865958660586615866258663586645866558666586675866858669586705867158672586735867458675586765867758678586795868058681586825868358684586855868658687586885868958690586915869258693586945869558696586975869858699587005870158702587035870458705587065870758708587095871058711587125871358714587155871658717587185871958720587215872258723587245872558726587275872858729587305873158732587335873458735587365873758738587395874058741587425874358744587455874658747587485874958750587515875258753587545875558756587575875858759587605876158762587635876458765587665876758768587695877058771587725877358774587755877658777587785877958780587815878258783587845878558786587875878858789587905879158792587935879458795587965879758798587995880058801588025880358804588055880658807588085880958810588115881258813588145881558816588175881858819588205882158822588235882458825588265882758828588295883058831588325883358834588355883658837588385883958840588415884258843588445884558846588475884858849588505885158852588535885458855588565885758858588595886058861588625886358864588655886658867588685886958870588715887258873588745887558876588775887858879588805888158882588835888458885588865888758888588895889058891588925889358894588955889658897588985889958900589015890258903589045890558906589075890858909589105891158912589135891458915589165891758918589195892058921589225892358924589255892658927589285892958930589315893258933589345893558936589375893858939589405894158942589435894458945589465894758948589495895058951589525895358954589555895658957589585895958960589615896258963589645896558966589675896858969589705897158972589735897458975589765897758978589795898058981589825898358984589855898658987589885898958990589915899258993589945899558996589975899858999590005900159002590035900459005590065900759008590095901059011590125901359014590155901659017590185901959020590215902259023590245902559026590275902859029590305903159032590335903459035590365903759038590395904059041590425904359044590455904659047590485904959050590515905259053590545905559056590575905859059590605906159062590635906459065590665906759068590695907059071590725907359074590755907659077590785907959080590815908259083590845908559086590875908859089590905909159092590935909459095590965909759098590995910059101591025910359104591055910659107591085910959110591115911259113591145911559116591175911859119591205912159122591235912459125591265912759128591295913059131591325913359134591355913659137591385913959140591415914259143591445914559146591475914859149591505915159152591535915459155591565915759158591595916059161591625916359164591655916659167591685916959170591715917259173591745917559176591775917859179591805918159182591835918459185591865918759188591895919059191591925919359194591955919659197591985919959200592015920259203592045920559206592075920859209592105921159212592135921459215592165921759218592195922059221592225922359224592255922659227592285922959230592315923259233592345923559236592375923859239592405924159242592435924459245592465924759248592495925059251592525925359254592555925659257592585925959260592615926259263592645926559266592675926859269592705927159272592735927459275592765927759278592795928059281592825928359284592855928659287592885928959290592915929259293592945929559296592975929859299593005930159302593035930459305593065930759308593095931059311593125931359314593155931659317593185931959320593215932259323593245932559326593275932859329593305933159332593335933459335593365933759338593395934059341593425934359344593455934659347593485934959350593515935259353593545935559356593575935859359593605936159362593635936459365593665936759368593695937059371593725937359374593755937659377593785937959380593815938259383593845938559386593875938859389593905939159392593935939459395593965939759398593995940059401594025940359404594055940659407594085940959410594115941259413594145941559416594175941859419594205942159422594235942459425594265942759428594295943059431594325943359434594355943659437594385943959440594415944259443594445944559446594475944859449594505945159452594535945459455594565945759458594595946059461594625946359464594655946659467594685946959470594715947259473594745947559476594775947859479594805948159482594835948459485594865948759488594895949059491594925949359494594955949659497594985949959500595015950259503595045950559506595075950859509595105951159512595135951459515595165951759518595195952059521595225952359524595255952659527595285952959530595315953259533595345953559536595375953859539595405954159542595435954459545595465954759548595495955059551595525955359554595555955659557595585955959560595615956259563595645956559566595675956859569595705957159572595735957459575595765957759578595795958059581595825958359584595855958659587595885958959590595915959259593595945959559596595975959859599596005960159602596035960459605596065960759608596095961059611596125961359614596155961659617596185961959620596215962259623596245962559626596275962859629596305963159632596335963459635596365963759638596395964059641596425964359644596455964659647596485964959650596515965259653596545965559656596575965859659596605966159662596635966459665596665966759668596695967059671596725967359674596755967659677596785967959680596815968259683596845968559686596875968859689596905969159692596935969459695596965969759698596995970059701597025970359704597055970659707597085970959710597115971259713597145971559716597175971859719597205972159722597235972459725597265972759728597295973059731597325973359734597355973659737597385973959740597415974259743597445974559746597475974859749597505975159752597535975459755597565975759758597595976059761597625976359764597655976659767597685976959770597715977259773597745977559776597775977859779597805978159782597835978459785597865978759788597895979059791597925979359794597955979659797597985979959800598015980259803598045980559806598075980859809598105981159812598135981459815598165981759818598195982059821598225982359824598255982659827598285982959830598315983259833598345983559836598375983859839598405984159842598435984459845598465984759848598495985059851598525985359854598555985659857598585985959860598615986259863598645986559866598675986859869598705987159872598735987459875598765987759878598795988059881598825988359884598855988659887598885988959890598915989259893598945989559896598975989859899599005990159902599035990459905599065990759908599095991059911599125991359914599155991659917599185991959920599215992259923599245992559926599275992859929599305993159932599335993459935599365993759938599395994059941599425994359944599455994659947599485994959950599515995259953599545995559956599575995859959599605996159962599635996459965599665996759968599695997059971599725997359974599755997659977599785997959980599815998259983599845998559986599875998859989599905999159992599935999459995599965999759998599996000060001600026000360004600056000660007600086000960010600116001260013600146001560016600176001860019600206002160022600236002460025600266002760028600296003060031600326003360034600356003660037600386003960040600416004260043600446004560046600476004860049600506005160052600536005460055600566005760058600596006060061600626006360064600656006660067600686006960070600716007260073600746007560076600776007860079600806008160082600836008460085600866008760088600896009060091600926009360094600956009660097600986009960100601016010260103601046010560106601076010860109601106011160112601136011460115601166011760118601196012060121601226012360124601256012660127601286012960130601316013260133601346013560136601376013860139601406014160142601436014460145601466014760148601496015060151601526015360154601556015660157601586015960160601616016260163601646016560166601676016860169601706017160172601736017460175601766017760178601796018060181601826018360184601856018660187601886018960190601916019260193601946019560196601976019860199602006020160202602036020460205602066020760208602096021060211602126021360214602156021660217602186021960220602216022260223602246022560226602276022860229602306023160232602336023460235602366023760238602396024060241602426024360244602456024660247602486024960250602516025260253602546025560256602576025860259602606026160262602636026460265602666026760268602696027060271602726027360274602756027660277602786027960280602816028260283602846028560286602876028860289602906029160292602936029460295602966029760298602996030060301603026030360304603056030660307603086030960310603116031260313603146031560316603176031860319603206032160322603236032460325603266032760328603296033060331603326033360334603356033660337603386033960340603416034260343603446034560346603476034860349603506035160352603536035460355603566035760358603596036060361603626036360364603656036660367603686036960370603716037260373603746037560376603776037860379603806038160382603836038460385603866038760388603896039060391603926039360394603956039660397603986039960400604016040260403604046040560406604076040860409604106041160412604136041460415604166041760418604196042060421604226042360424604256042660427604286042960430604316043260433604346043560436604376043860439604406044160442604436044460445604466044760448604496045060451604526045360454604556045660457604586045960460604616046260463604646046560466604676046860469604706047160472604736047460475604766047760478604796048060481604826048360484604856048660487604886048960490604916049260493604946049560496604976049860499605006050160502605036050460505605066050760508605096051060511605126051360514605156051660517605186051960520605216052260523605246052560526605276052860529605306053160532605336053460535605366053760538605396054060541605426054360544605456054660547605486054960550605516055260553605546055560556605576055860559605606056160562605636056460565605666056760568605696057060571605726057360574605756057660577605786057960580605816058260583605846058560586605876058860589605906059160592605936059460595605966059760598605996060060601606026060360604606056060660607606086060960610606116061260613606146061560616606176061860619606206062160622606236062460625606266062760628606296063060631606326063360634606356063660637606386063960640606416064260643606446064560646606476064860649606506065160652606536065460655606566065760658606596066060661606626066360664606656066660667606686066960670606716067260673606746067560676606776067860679606806068160682606836068460685606866068760688606896069060691606926069360694606956069660697606986069960700607016070260703607046070560706607076070860709607106071160712607136071460715607166071760718607196072060721607226072360724607256072660727607286072960730607316073260733607346073560736607376073860739607406074160742607436074460745607466074760748607496075060751607526075360754607556075660757607586075960760607616076260763607646076560766607676076860769607706077160772607736077460775607766077760778607796078060781607826078360784607856078660787607886078960790607916079260793607946079560796607976079860799608006080160802608036080460805608066080760808608096081060811608126081360814608156081660817608186081960820608216082260823608246082560826608276082860829608306083160832608336083460835608366083760838608396084060841608426084360844608456084660847608486084960850608516085260853608546085560856608576085860859608606086160862608636086460865608666086760868608696087060871608726087360874608756087660877608786087960880608816088260883608846088560886608876088860889608906089160892608936089460895608966089760898608996090060901609026090360904609056090660907609086090960910609116091260913609146091560916609176091860919609206092160922609236092460925609266092760928609296093060931609326093360934609356093660937609386093960940609416094260943609446094560946609476094860949609506095160952609536095460955609566095760958609596096060961609626096360964609656096660967609686096960970609716097260973609746097560976609776097860979609806098160982609836098460985609866098760988609896099060991609926099360994609956099660997609986099961000610016100261003610046100561006610076100861009610106101161012610136101461015610166101761018610196102061021610226102361024610256102661027610286102961030610316103261033610346103561036610376103861039610406104161042610436104461045610466104761048610496105061051610526105361054610556105661057610586105961060610616106261063610646106561066610676106861069610706107161072610736107461075610766107761078610796108061081610826108361084610856108661087610886108961090610916109261093610946109561096610976109861099611006110161102611036110461105611066110761108611096111061111611126111361114611156111661117611186111961120611216112261123611246112561126611276112861129611306113161132611336113461135611366113761138611396114061141611426114361144611456114661147611486114961150611516115261153611546115561156611576115861159611606116161162611636116461165611666116761168611696117061171611726117361174611756117661177611786117961180611816118261183611846118561186611876118861189611906119161192611936119461195611966119761198611996120061201612026120361204612056120661207612086120961210612116121261213612146121561216612176121861219612206122161222612236122461225612266122761228612296123061231612326123361234612356123661237612386123961240612416124261243612446124561246612476124861249612506125161252612536125461255612566125761258612596126061261612626126361264612656126661267612686126961270612716127261273612746127561276612776127861279612806128161282612836128461285612866128761288612896129061291612926129361294612956129661297612986129961300613016130261303613046130561306613076130861309613106131161312613136131461315613166131761318613196132061321613226132361324613256132661327613286132961330613316133261333613346133561336613376133861339613406134161342613436134461345613466134761348613496135061351613526135361354613556135661357613586135961360613616136261363613646136561366613676136861369613706137161372613736137461375613766137761378613796138061381613826138361384613856138661387613886138961390613916139261393613946139561396613976139861399614006140161402614036140461405614066140761408614096141061411614126141361414614156141661417614186141961420614216142261423614246142561426614276142861429614306143161432614336143461435614366143761438614396144061441614426144361444614456144661447614486144961450614516145261453614546145561456614576145861459614606146161462614636146461465614666146761468614696147061471614726147361474614756147661477614786147961480614816148261483614846148561486614876148861489614906149161492614936149461495614966149761498614996150061501615026150361504615056150661507615086150961510615116151261513615146151561516615176151861519615206152161522615236152461525615266152761528615296153061531615326153361534615356153661537615386153961540615416154261543615446154561546615476154861549615506155161552615536155461555615566155761558615596156061561615626156361564615656156661567615686156961570615716157261573615746157561576615776157861579615806158161582615836158461585615866158761588615896159061591615926159361594615956159661597615986159961600616016160261603616046160561606616076160861609616106161161612616136161461615616166161761618616196162061621616226162361624616256162661627616286162961630616316163261633616346163561636616376163861639616406164161642616436164461645616466164761648616496165061651616526165361654616556165661657616586165961660616616166261663616646166561666616676166861669616706167161672616736167461675616766167761678616796168061681616826168361684616856168661687616886168961690616916169261693616946169561696616976169861699617006170161702617036170461705617066170761708617096171061711617126171361714617156171661717617186171961720617216172261723617246172561726617276172861729617306173161732617336173461735617366173761738617396174061741617426174361744617456174661747617486174961750617516175261753617546175561756617576175861759617606176161762617636176461765617666176761768617696177061771617726177361774617756177661777617786177961780617816178261783617846178561786617876178861789617906179161792617936179461795617966179761798617996180061801618026180361804618056180661807618086180961810618116181261813618146181561816618176181861819618206182161822618236182461825618266182761828618296183061831618326183361834618356183661837618386183961840618416184261843618446184561846618476184861849618506185161852618536185461855618566185761858618596186061861618626186361864618656186661867618686186961870618716187261873618746187561876618776187861879618806188161882618836188461885618866188761888618896189061891618926189361894618956189661897618986189961900619016190261903619046190561906619076190861909619106191161912619136191461915619166191761918619196192061921619226192361924619256192661927619286192961930619316193261933619346193561936619376193861939619406194161942619436194461945619466194761948619496195061951619526195361954619556195661957619586195961960619616196261963619646196561966619676196861969619706197161972619736197461975619766197761978619796198061981619826198361984619856198661987619886198961990619916199261993619946199561996619976199861999620006200162002620036200462005620066200762008620096201062011620126201362014620156201662017620186201962020620216202262023620246202562026620276202862029620306203162032620336203462035620366203762038620396204062041620426204362044620456204662047620486204962050620516205262053620546205562056620576205862059620606206162062620636206462065620666206762068620696207062071620726207362074620756207662077620786207962080620816208262083620846208562086620876208862089620906209162092620936209462095620966209762098620996210062101621026210362104621056210662107621086210962110621116211262113621146211562116621176211862119621206212162122621236212462125621266212762128621296213062131621326213362134621356213662137621386213962140621416214262143621446214562146621476214862149621506215162152621536215462155621566215762158621596216062161621626216362164621656216662167621686216962170621716217262173621746217562176621776217862179621806218162182621836218462185621866218762188621896219062191621926219362194621956219662197621986219962200622016220262203622046220562206622076220862209622106221162212622136221462215622166221762218622196222062221622226222362224622256222662227622286222962230622316223262233622346223562236622376223862239622406224162242622436224462245622466224762248622496225062251622526225362254622556225662257622586225962260622616226262263622646226562266622676226862269622706227162272622736227462275622766227762278622796228062281622826228362284622856228662287622886228962290622916229262293622946229562296622976229862299623006230162302623036230462305623066230762308623096231062311623126231362314623156231662317623186231962320623216232262323623246232562326623276232862329623306233162332623336233462335623366233762338623396234062341623426234362344623456234662347623486234962350623516235262353623546235562356623576235862359623606236162362623636236462365623666236762368623696237062371623726237362374623756237662377623786237962380623816238262383623846238562386623876238862389623906239162392623936239462395623966239762398623996240062401624026240362404624056240662407624086240962410624116241262413624146241562416624176241862419624206242162422624236242462425624266242762428624296243062431624326243362434624356243662437624386243962440624416244262443624446244562446624476244862449624506245162452624536245462455624566245762458624596246062461624626246362464624656246662467624686246962470624716247262473624746247562476624776247862479624806248162482624836248462485624866248762488624896249062491624926249362494624956249662497624986249962500625016250262503625046250562506625076250862509625106251162512625136251462515625166251762518625196252062521625226252362524625256252662527625286252962530625316253262533625346253562536625376253862539625406254162542625436254462545625466254762548625496255062551625526255362554625556255662557625586255962560625616256262563625646256562566625676256862569625706257162572625736257462575625766257762578625796258062581625826258362584625856258662587625886258962590625916259262593625946259562596625976259862599626006260162602626036260462605626066260762608626096261062611626126261362614626156261662617626186261962620626216262262623626246262562626626276262862629626306263162632626336263462635626366263762638626396264062641626426264362644626456264662647626486264962650626516265262653626546265562656626576265862659626606266162662626636266462665626666266762668626696267062671626726267362674626756267662677626786267962680626816268262683626846268562686626876268862689626906269162692626936269462695626966269762698626996270062701627026270362704627056270662707627086270962710627116271262713627146271562716627176271862719627206272162722627236272462725627266272762728627296273062731627326273362734627356273662737627386273962740627416274262743627446274562746627476274862749627506275162752627536275462755627566275762758627596276062761627626276362764627656276662767627686276962770627716277262773627746277562776627776277862779627806278162782627836278462785627866278762788627896279062791627926279362794627956279662797627986279962800628016280262803628046280562806628076280862809628106281162812628136281462815628166281762818628196282062821628226282362824628256282662827628286282962830628316283262833628346283562836628376283862839628406284162842628436284462845628466284762848628496285062851628526285362854628556285662857628586285962860628616286262863628646286562866628676286862869628706287162872628736287462875628766287762878628796288062881628826288362884628856288662887628886288962890628916289262893628946289562896628976289862899629006290162902629036290462905629066290762908629096291062911629126291362914629156291662917629186291962920629216292262923629246292562926629276292862929629306293162932629336293462935629366293762938629396294062941629426294362944629456294662947629486294962950629516295262953629546295562956629576295862959629606296162962629636296462965629666296762968629696297062971629726297362974629756297662977629786297962980629816298262983629846298562986629876298862989629906299162992629936299462995629966299762998629996300063001630026300363004630056300663007630086300963010630116301263013630146301563016630176301863019630206302163022630236302463025630266302763028630296303063031630326303363034630356303663037630386303963040630416304263043630446304563046630476304863049630506305163052630536305463055630566305763058630596306063061630626306363064630656306663067630686306963070630716307263073630746307563076630776307863079630806308163082630836308463085630866308763088630896309063091630926309363094630956309663097630986309963100631016310263103631046310563106631076310863109631106311163112631136311463115631166311763118631196312063121631226312363124631256312663127631286312963130631316313263133631346313563136631376313863139631406314163142631436314463145631466314763148631496315063151631526315363154631556315663157631586315963160631616316263163631646316563166631676316863169631706317163172631736317463175631766317763178631796318063181631826318363184631856318663187631886318963190631916319263193631946319563196631976319863199
  1. # SOME DESCRIPTIVE TITLE
  2. # Copyright (C) 2021 the authors of Guix (msgids) and the following authors (msgstr)
  3. # This file is distributed under the same license as the guix manual package.
  4. # Marek Felšöci <marek@felsoci.sk>, 2021.
  5. # Rostislav Svoboda <Rostislav.Svoboda@gmail.com>, 2021.
  6. msgid ""
  7. msgstr ""
  8. "Project-Id-Version: guix manual checkout\n"
  9. "Report-Msgid-Bugs-To: bug-guix@gnu.org\n"
  10. "POT-Creation-Date: 2021-07-15 14:49+0200\n"
  11. "PO-Revision-Date: 2021-08-25 21:37+0000\n"
  12. "Last-Translator: Rostislav Svoboda <Rostislav.Svoboda@gmail.com>\n"
  13. "Language-Team: Slovak <https://translate.fedoraproject.org/projects/guix/documentation-manual/sk/>\n"
  14. "Language: sk\n"
  15. "MIME-Version: 1.0\n"
  16. "Content-Type: text/plain; charset=UTF-8\n"
  17. "Content-Transfer-Encoding: 8bit\n"
  18. "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
  19. "X-Generator: Weblate 4.8\n"
  20. #. #-#-#-#-# contributing.pot (guix manual checkout) #-#-#-#-#
  21. #. type: chapter
  22. #. #-#-#-#-# guix.pot (guix manual checkout) #-#-#-#-#
  23. #. type: menuentry
  24. #: guix-git/doc/contributing.texi:1 guix-git/doc/contributing.texi:2
  25. #: guix-git/doc/guix.texi:176
  26. #, no-wrap
  27. msgid "Contributing"
  28. msgstr "Zapojiť sa"
  29. #. type: Plain text
  30. #: guix-git/doc/contributing.texi:9
  31. msgid "This project is a cooperative effort, and we need your help to make it grow! Please get in touch with us on @email{guix-devel@@gnu.org} and @code{#guix} on the Libera Chat IRC network. We welcome ideas, bug reports, patches, and anything that may be helpful to the project. We particularly welcome help on packaging (@pxref{Packaging Guidelines})."
  32. msgstr "Tento projekt je výsledkom spoločného úsilia a potrebujeme vašu pomoc pri jeho rozširovaní! Spojte sa s nami prostredníctvom @email{guix-devel@@gnu.org} alebo @code{#guix} na sieti Libera Chat. Radi privítame vaše nápady, hlásenia chýb, záplaty a čokoľvek čo môže projektu pomôcť. Zvlášť radi privítame vašu pomoc s pridávaním balíkov (@pxref{Packaging Guidelines})."
  33. #. type: cindex
  34. #: guix-git/doc/contributing.texi:10
  35. #, no-wrap
  36. msgid "code of conduct, of contributors"
  37. msgstr "zásady správania, prispievateľov"
  38. #. type: cindex
  39. #: guix-git/doc/contributing.texi:11
  40. #, no-wrap
  41. msgid "contributor covenant"
  42. msgstr "záväzok prispievateľa"
  43. #. type: Plain text
  44. #: guix-git/doc/contributing.texi:17
  45. msgid "We want to provide a warm, friendly, and harassment-free environment, so that anyone can contribute to the best of their abilities. To this end our project uses a ``Contributor Covenant'', which was adapted from @url{https://contributor-covenant.org/}. You can find a local version in the @file{CODE-OF-CONDUCT} file in the source tree."
  46. msgstr "Chceme vám poskytnúť príjemné a priateľské prostredie bez obťažovania, aby sa každý mohol zapojiť najlepšie ako vie. Preto sa náš projekt riadi „záväzkom prispievateľa“ založeným na @url{https://contributor-covenant.org/}. Úplné znenie záväzku nájdete v súbore @file{CODE-OF-CONDUCT} v strome zdrojových súborov."
  47. #. type: Plain text
  48. #: guix-git/doc/contributing.texi:21
  49. msgid "Contributors are not required to use their legal name in patches and on-line communication; they can use any name or pseudonym of their choice."
  50. msgstr "Prispievatelia nemusia používať ich ozajstné meno v záplatách a online dokumentácii; môžu používať ľubovoľné meno alebo prezývku."
  51. #. type: section
  52. #: guix-git/doc/contributing.texi:33 guix-git/doc/contributing.texi:35
  53. #: guix-git/doc/contributing.texi:36
  54. #, no-wrap
  55. msgid "Building from Git"
  56. msgstr "Zostavenie z Gitu"
  57. #. type: menuentry
  58. #: guix-git/doc/contributing.texi:33
  59. msgid "The latest and greatest."
  60. msgstr "Vždy ten najnovší."
  61. #. type: section
  62. #: guix-git/doc/contributing.texi:33 guix-git/doc/contributing.texi:161
  63. #: guix-git/doc/contributing.texi:162
  64. #, no-wrap
  65. msgid "Running Guix Before It Is Installed"
  66. msgstr "Spúšťanie Guixu ešte pred inštaláciou"
  67. #. type: menuentry
  68. #: guix-git/doc/contributing.texi:33
  69. msgid "Hacker tricks."
  70. msgstr "Finty pre hackerov."
  71. #. type: section
  72. #: guix-git/doc/contributing.texi:33 guix-git/doc/contributing.texi:235
  73. #: guix-git/doc/contributing.texi:236
  74. #, no-wrap
  75. msgid "The Perfect Setup"
  76. msgstr "Dokonalé nastavenie"
  77. #. type: menuentry
  78. #: guix-git/doc/contributing.texi:33
  79. msgid "The right tools."
  80. msgstr "Správne nástroje."
  81. #. type: section
  82. #: guix-git/doc/contributing.texi:33 guix-git/doc/contributing.texi:326
  83. #: guix-git/doc/contributing.texi:327
  84. #, no-wrap
  85. msgid "Packaging Guidelines"
  86. msgstr "Zásady pridávania balíkov"
  87. #. type: menuentry
  88. #: guix-git/doc/contributing.texi:33
  89. msgid "Growing the distribution."
  90. msgstr "Rast distribúcie."
  91. #. type: section
  92. #: guix-git/doc/contributing.texi:33 guix-git/doc/contributing.texi:890
  93. #: guix-git/doc/contributing.texi:891
  94. #, no-wrap
  95. msgid "Coding Style"
  96. msgstr "Štýl kódovania"
  97. #. type: menuentry
  98. #: guix-git/doc/contributing.texi:33
  99. msgid "Hygiene of the contributor."
  100. msgstr "Návyky prispievateľa."
  101. #. type: section
  102. #: guix-git/doc/contributing.texi:33 guix-git/doc/contributing.texi:989
  103. #: guix-git/doc/contributing.texi:990
  104. #, no-wrap
  105. msgid "Submitting Patches"
  106. msgstr "Odovzdávanie záplat"
  107. #. type: menuentry
  108. #: guix-git/doc/contributing.texi:33
  109. msgid "Share your work."
  110. msgstr "Zdieľajte vašu prácu."
  111. #. type: section
  112. #: guix-git/doc/contributing.texi:33 guix-git/doc/contributing.texi:1223
  113. #: guix-git/doc/contributing.texi:1224
  114. #, no-wrap
  115. msgid "Tracking Bugs and Patches"
  116. msgstr "Sledovanie chýb a záplat"
  117. #. type: menuentry
  118. #: guix-git/doc/contributing.texi:33
  119. msgid "Keeping it all organized."
  120. msgstr "Organizácia správy chýb."
  121. #. type: section
  122. #: guix-git/doc/contributing.texi:33 guix-git/doc/contributing.texi:1338
  123. #: guix-git/doc/contributing.texi:1339
  124. #, no-wrap
  125. msgid "Commit Access"
  126. msgstr "Právo na úpravu"
  127. #. type: menuentry
  128. #: guix-git/doc/contributing.texi:33
  129. msgid "Pushing to the official repository."
  130. msgstr "Odosielanie úprav do oficiálneho repozitára."
  131. #. type: section
  132. #: guix-git/doc/contributing.texi:33 guix-git/doc/contributing.texi:1564
  133. #: guix-git/doc/contributing.texi:1565
  134. #, no-wrap
  135. msgid "Updating the Guix Package"
  136. msgstr "Aktualizácia balíka Guix"
  137. #. type: menuentry
  138. #: guix-git/doc/contributing.texi:33
  139. msgid "Updating the Guix package definition."
  140. msgstr "Aktualizovať zadanie balíka Guix."
  141. #. type: section
  142. #: guix-git/doc/contributing.texi:33 guix-git/doc/contributing.texi:1605
  143. #: guix-git/doc/contributing.texi:1606
  144. #, no-wrap
  145. msgid "Translating Guix"
  146. msgstr "Preklad Guixu"
  147. #. type: menuentry
  148. #: guix-git/doc/contributing.texi:33
  149. msgid "Make Guix speak your native language."
  150. msgstr "Guix vo vašom materinskom jazyku."
  151. #. type: Plain text
  152. #: guix-git/doc/contributing.texi:40
  153. msgid "If you want to hack Guix itself, it is recommended to use the latest version from the Git repository:"
  154. msgstr "Ak chcete pracovať na Guixe samotnom, odporúčame vám použiť najnovšiu verziu z Git repozitára:"
  155. #. type: example
  156. #: guix-git/doc/contributing.texi:43
  157. #, no-wrap
  158. msgid "git clone https://git.savannah.gnu.org/git/guix.git\n"
  159. msgstr "git clone https://git.savannah.gnu.org/git/guix.git\n"
  160. #. type: cindex
  161. #: guix-git/doc/contributing.texi:45
  162. #, no-wrap
  163. msgid "authentication, of a Guix checkout"
  164. msgstr "overenie, miestneho Git repozitára Guixu"
  165. #. type: Plain text
  166. #: guix-git/doc/contributing.texi:50
  167. msgid "How do you ensure that you obtained a genuine copy of the repository? To do that, run @command{guix git authenticate}, passing it the commit and OpenPGP fingerprint of the @dfn{channel introduction} (@pxref{Invoking guix git authenticate}):"
  168. msgstr "Ako sa uistíte, že ste získali pravú kópiu repozitára? Spustite @command{guix git authenticate} a ako parametre použite číslo úpravy (commit) a OpenPGP odtlačok @dfn{úvodu kanála} (@pxref{Invoking guix git authenticate}):"
  169. #. type: example
  170. #: guix-git/doc/contributing.texi:57
  171. #, no-wrap
  172. msgid ""
  173. "git fetch origin keyring:keyring\n"
  174. "guix git authenticate 9edb3f66fd807b096b48283debdcddccfea34bad \\\n"
  175. " \"BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA\"\n"
  176. msgstr ""
  177. "git fetch origin keyring:keyring\n"
  178. "guix git authenticate 9edb3f66fd807b096b48283debdcddccfea34bad \\\n"
  179. " \"BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA\"\n"
  180. #. type: Plain text
  181. #: guix-git/doc/contributing.texi:62
  182. msgid "This command completes with exit code zero on success; it prints an error message and exits with a non-zero code otherwise."
  183. msgstr "Tento príkaz má v prípade úspešného ukončenia nulovú návratovú hodnotu; v opačnom prípade zobrazí chybové hlásenie a vráti nenulovú hodnotu."
  184. #. type: Plain text
  185. #: guix-git/doc/contributing.texi:69
  186. 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."
  187. msgstr "Ako vidíte, je to rovnaký problém ako v prípade sliepky a vajca: najprv musíte mať nainštalovaný Guix. Obyčajne by ste si nainštalovali Guix ako samostatný systém (@pxref{System Installation}) alebo ako doplnkového správcu balíkov na inej distribúcii (@pxref{Binary Installation}); v každom prípade by ste si overili OpenPGP podpis na inštalačnom nosiči. Toto predstavuje začiatok reťazca dôvery."
  188. #. type: Plain text
  189. #: guix-git/doc/contributing.texi:74
  190. 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:"
  191. msgstr "Najjednoduchší spôsob nastavenia vývojového prostredia pre Guix je samozrejme s použitím Guixu! Nasledovný príkaz spustí nový shell so všetkými závislosťami a premennými prostrediami potrebnými na prácu s Guixom:"
  192. #. type: example
  193. #: guix-git/doc/contributing.texi:77
  194. #, no-wrap
  195. msgid "guix environment guix --pure\n"
  196. msgstr "guix environment guix --pure\n"
  197. #. type: Plain text
  198. #: guix-git/doc/contributing.texi:80
  199. msgid "@xref{Invoking guix environment}, for more information on that command."
  200. msgstr "@xref{Invoking guix environment}, pre viac podrobností o tomto príkaze."
  201. #. type: Plain text
  202. #: guix-git/doc/contributing.texi:84
  203. 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})."
  204. msgstr "Ak nemáte možnosť použiť Guix na zostavenie Guixu zo zdrojových súborov, budete ešte okrem balíkov spomenutých v návode na inštaláciu (@pxref{Requirements}) potrebovať aj nasledovné balíky."
  205. #. type: item
  206. #: guix-git/doc/contributing.texi:86
  207. #, no-wrap
  208. msgid "@url{https://gnu.org/software/autoconf/, GNU Autoconf};"
  209. msgstr "@url{https://gnu.org/software/autoconf/, GNU Autoconf};"
  210. #. type: item
  211. #: guix-git/doc/contributing.texi:87
  212. #, no-wrap
  213. msgid "@url{https://gnu.org/software/automake/, GNU Automake};"
  214. msgstr "@url{https://gnu.org/software/automake/, GNU Automake};"
  215. #. type: item
  216. #: guix-git/doc/contributing.texi:88
  217. #, no-wrap
  218. msgid "@url{https://gnu.org/software/gettext/, GNU Gettext};"
  219. msgstr "@url{https://gnu.org/software/gettext/, GNU Gettext};"
  220. #. type: item
  221. #: guix-git/doc/contributing.texi:89
  222. #, no-wrap
  223. msgid "@url{https://gnu.org/software/texinfo/, GNU Texinfo};"
  224. msgstr "@url{https://gnu.org/software/texinfo/, GNU Texinfo};"
  225. #. type: item
  226. #: guix-git/doc/contributing.texi:90
  227. #, no-wrap
  228. msgid "@url{https://www.graphviz.org/, Graphviz};"
  229. msgstr "@url{https://www.graphviz.org/, Graphviz};"
  230. #. type: item
  231. #: guix-git/doc/contributing.texi:91
  232. #, no-wrap
  233. msgid "@url{https://www.gnu.org/software/help2man/, GNU Help2man (optional)}."
  234. msgstr "@url{https://www.gnu.org/software/help2man/, GNU Help2man (nepovinné)}."
  235. #. type: Plain text
  236. #: guix-git/doc/contributing.texi:96
  237. msgid "On Guix, extra dependencies can be added by instead running @command{guix environment} with @option{--ad-hoc}:"
  238. msgstr "S Guixom môžete pridať dodatočné závislosti pomocou príkazu @command{guix environment} s prepínačom @option{--ad-hoc}:"
  239. #. type: example
  240. #: guix-git/doc/contributing.texi:99
  241. #, no-wrap
  242. msgid "guix environment guix --pure --ad-hoc help2man git strace\n"
  243. msgstr "guix environment guix --pure --ad-hoc help2man git strace\n"
  244. #. type: Plain text
  245. #: guix-git/doc/contributing.texi:103
  246. msgid "Run @command{./bootstrap} to generate the build system infrastructure using Autoconf and Automake. If you get an error like this one:"
  247. msgstr "Spustite @command{./bootstrap} pre vytvorenie kostry zostavovacieho systému pomocou nástrojov Autoconf a Automake. V prípade chyby ako je táto:"
  248. #. type: example
  249. #: guix-git/doc/contributing.texi:106
  250. #, no-wrap
  251. msgid "configure.ac:46: error: possibly undefined macro: PKG_CHECK_MODULES\n"
  252. msgstr "configure.ac:46: error: possibly undefined macro: PKG_CHECK_MODULES\n"
  253. #. type: Plain text
  254. #: guix-git/doc/contributing.texi:115
  255. 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:"
  256. msgstr ""
  257. #. type: example
  258. #: guix-git/doc/contributing.texi:118
  259. #, no-wrap
  260. msgid "export ACLOCAL_PATH=/usr/share/aclocal\n"
  261. msgstr ""
  262. #. type: Plain text
  263. #: guix-git/doc/contributing.texi:122
  264. msgid "@xref{Macro Search Path,,, automake, The GNU Automake Manual}, for more information."
  265. msgstr ""
  266. #. type: Plain text
  267. #: guix-git/doc/contributing.texi:129
  268. 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}."
  269. msgstr ""
  270. #. type: Plain text
  271. #: guix-git/doc/contributing.texi:134
  272. 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}."
  273. msgstr ""
  274. #. type: Plain text
  275. #: guix-git/doc/contributing.texi:137
  276. msgid "From there on, you can authenticate all the commits included in your checkout by running:"
  277. msgstr ""
  278. #. type: example
  279. #: guix-git/doc/contributing.texi:140
  280. #, no-wrap
  281. msgid "make authenticate\n"
  282. msgstr ""
  283. #. type: Plain text
  284. #: guix-git/doc/contributing.texi:143
  285. msgid "The first run takes a couple of minutes, but subsequent runs are faster."
  286. msgstr ""
  287. #. type: Plain text
  288. #: guix-git/doc/contributing.texi:149
  289. 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:"
  290. msgstr ""
  291. #. type: example
  292. #: guix-git/doc/contributing.texi:152
  293. #, no-wrap
  294. msgid "make authenticate GUIX_GIT_KEYRING=myremote/keyring\n"
  295. msgstr ""
  296. #. type: quotation
  297. #: guix-git/doc/contributing.texi:154 guix-git/doc/contributing.texi:1416
  298. #: guix-git/doc/guix.texi:573 guix-git/doc/guix.texi:622
  299. #: guix-git/doc/guix.texi:800 guix-git/doc/guix.texi:1779
  300. #: guix-git/doc/guix.texi:2026 guix-git/doc/guix.texi:2210
  301. #: guix-git/doc/guix.texi:2431 guix-git/doc/guix.texi:2632
  302. #: guix-git/doc/guix.texi:3749 guix-git/doc/guix.texi:4490
  303. #: guix-git/doc/guix.texi:4504 guix-git/doc/guix.texi:4586
  304. #: guix-git/doc/guix.texi:4816 guix-git/doc/guix.texi:5666
  305. #: guix-git/doc/guix.texi:5912 guix-git/doc/guix.texi:6033
  306. #: guix-git/doc/guix.texi:6061 guix-git/doc/guix.texi:6114
  307. #: guix-git/doc/guix.texi:8816 guix-git/doc/guix.texi:8886
  308. #: guix-git/doc/guix.texi:10561 guix-git/doc/guix.texi:10601
  309. #: guix-git/doc/guix.texi:10874 guix-git/doc/guix.texi:10886
  310. #: guix-git/doc/guix.texi:13184 guix-git/doc/guix.texi:13814
  311. #: guix-git/doc/guix.texi:14597 guix-git/doc/guix.texi:15582
  312. #: guix-git/doc/guix.texi:18003 guix-git/doc/guix.texi:18160
  313. #: guix-git/doc/guix.texi:26024 guix-git/doc/guix.texi:29701
  314. #: guix-git/doc/guix.texi:31658 guix-git/doc/guix.texi:33267
  315. #: guix-git/doc/guix.texi:33501 guix-git/doc/guix.texi:33671
  316. #: guix-git/doc/guix.texi:33824 guix-git/doc/guix.texi:33926
  317. #: guix-git/doc/guix.texi:34027 guix-git/doc/guix.texi:34330
  318. #, no-wrap
  319. msgid "Note"
  320. msgstr ""
  321. #. type: quotation
  322. #: guix-git/doc/contributing.texi:158
  323. msgid "You are advised to run @command{make authenticate} after every @command{git pull} invocation. This ensures you keep receiving valid changes to the repository."
  324. msgstr ""
  325. #. type: Plain text
  326. #: guix-git/doc/contributing.texi:168
  327. msgid "In order to keep a sane working environment, you will find it useful to test the changes made in your local source tree checkout without actually installing them. So that you can distinguish between your ``end-user'' hat and your ``motley'' costume."
  328. msgstr ""
  329. #. type: Plain text
  330. #: guix-git/doc/contributing.texi:179
  331. msgid "To that end, all the command-line tools can be used even if you have not run @code{make install}. To do that, you first need to have an environment with all the dependencies available (@pxref{Building from Git}), and then simply prefix each command with @command{./pre-inst-env} (the @file{pre-inst-env} script lives in the top build tree of Guix; it is generated by running @command{./bootstrap} followed by @command{./configure}). As an example, here is how you would build the @code{hello} package as defined in your working tree (this assumes @command{guix-daemon} is already running on your system; it's OK if it's a different version):"
  332. msgstr ""
  333. #. type: example
  334. #: guix-git/doc/contributing.texi:182
  335. #, no-wrap
  336. msgid "$ ./pre-inst-env guix build hello\n"
  337. msgstr ""
  338. #. type: Plain text
  339. #: guix-git/doc/contributing.texi:186
  340. msgid "Similarly, an example for a Guile session using the Guix modules:"
  341. msgstr ""
  342. #. type: example
  343. #: guix-git/doc/contributing.texi:189
  344. #, no-wrap
  345. msgid ""
  346. "$ ./pre-inst-env guile -c '(use-modules (guix utils)) (pk (%current-system))'\n"
  347. "\n"
  348. msgstr ""
  349. #. type: example
  350. #: guix-git/doc/contributing.texi:191
  351. #, no-wrap
  352. msgid ";;; (\"x86_64-linux\")\n"
  353. msgstr ""
  354. #. type: cindex
  355. #: guix-git/doc/contributing.texi:194
  356. #, no-wrap
  357. msgid "REPL"
  358. msgstr ""
  359. #. type: cindex
  360. #: guix-git/doc/contributing.texi:195
  361. #, no-wrap
  362. msgid "read-eval-print loop"
  363. msgstr ""
  364. #. type: Plain text
  365. #: guix-git/doc/contributing.texi:198
  366. msgid "@dots{} and for a REPL (@pxref{Using Guile Interactively,,, guile, Guile Reference Manual}):"
  367. msgstr ""
  368. #. type: example
  369. #: guix-git/doc/contributing.texi:213
  370. #, no-wrap
  371. msgid ""
  372. "$ ./pre-inst-env guile\n"
  373. "scheme@@(guile-user)> ,use(guix)\n"
  374. "scheme@@(guile-user)> ,use(gnu)\n"
  375. "scheme@@(guile-user)> (define snakes\n"
  376. " (fold-packages\n"
  377. " (lambda (package lst)\n"
  378. " (if (string-prefix? \"python\"\n"
  379. " (package-name package))\n"
  380. " (cons package lst)\n"
  381. " lst))\n"
  382. " '()))\n"
  383. "scheme@@(guile-user)> (length snakes)\n"
  384. "$1 = 361\n"
  385. msgstr ""
  386. #. type: Plain text
  387. #: guix-git/doc/contributing.texi:221
  388. msgid "If you are hacking on the daemon and its supporting code or if @command{guix-daemon} is not already running on your system, you can launch it straight from the build tree@footnote{The @option{-E} flag to @command{sudo} guarantees that @code{GUILE_LOAD_PATH} is correctly set such that @command{guix-daemon} and the tools it uses can find the Guile modules they need.}:"
  389. msgstr ""
  390. #. type: example
  391. #: guix-git/doc/contributing.texi:224
  392. #, no-wrap
  393. msgid "$ sudo -E ./pre-inst-env guix-daemon --build-users-group=guixbuild\n"
  394. msgstr ""
  395. #. type: Plain text
  396. #: guix-git/doc/contributing.texi:228
  397. msgid "The @command{pre-inst-env} script sets up all the environment variables necessary to support this, including @env{PATH} and @env{GUILE_LOAD_PATH}."
  398. msgstr ""
  399. #. type: Plain text
  400. #: guix-git/doc/contributing.texi:233
  401. msgid "Note that @command{./pre-inst-env guix pull} does @emph{not} upgrade the local source tree; it simply updates the @file{~/.config/guix/current} symlink (@pxref{Invoking guix pull}). Run @command{git pull} instead if you want to upgrade your local source tree."
  402. msgstr ""
  403. #. type: Plain text
  404. #: guix-git/doc/contributing.texi:243
  405. msgid "The Perfect Setup to hack on Guix is basically the perfect setup used for Guile hacking (@pxref{Using Guile in Emacs,,, guile, Guile Reference Manual}). First, you need more than an editor, you need @url{https://www.gnu.org/software/emacs, Emacs}, empowered by the wonderful @url{https://nongnu.org/geiser/, Geiser}. To set that up, run:"
  406. msgstr ""
  407. #. type: example
  408. #: guix-git/doc/contributing.texi:246
  409. #, no-wrap
  410. msgid "guix package -i emacs guile emacs-geiser emacs-geiser-guile\n"
  411. msgstr ""
  412. #. type: Plain text
  413. #: guix-git/doc/contributing.texi:255
  414. msgid "Geiser allows for interactive and incremental development from within Emacs: code compilation and evaluation from within buffers, access to on-line documentation (docstrings), context-sensitive completion, @kbd{M-.} to jump to an object definition, a REPL to try out your code, and more (@pxref{Introduction,,, geiser, Geiser User Manual}). For convenient Guix development, make sure to augment Guile’s load path so that it finds source files from your checkout:"
  415. msgstr ""
  416. #. type: lisp
  417. #: guix-git/doc/contributing.texi:260
  418. #, no-wrap
  419. msgid ""
  420. ";; @r{Assuming the Guix checkout is in ~/src/guix.}\n"
  421. "(with-eval-after-load 'geiser-guile\n"
  422. " (add-to-list 'geiser-guile-load-path \"~/src/guix\"))\n"
  423. msgstr ""
  424. #. type: Plain text
  425. #: guix-git/doc/contributing.texi:268
  426. msgid "To actually edit the code, Emacs already has a neat Scheme mode. But in addition to that, you must not miss @url{https://www.emacswiki.org/emacs/ParEdit, Paredit}. It provides facilities to directly operate on the syntax tree, such as raising an s-expression or wrapping it, swallowing or rejecting the following s-expression, etc."
  427. msgstr ""
  428. #. type: cindex
  429. #: guix-git/doc/contributing.texi:269
  430. #, no-wrap
  431. msgid "code snippets"
  432. msgstr ""
  433. #. type: cindex
  434. #: guix-git/doc/contributing.texi:270
  435. #, no-wrap
  436. msgid "templates"
  437. msgstr ""
  438. #. type: cindex
  439. #: guix-git/doc/contributing.texi:271
  440. #, no-wrap
  441. msgid "reducing boilerplate"
  442. msgstr ""
  443. #. type: Plain text
  444. #: guix-git/doc/contributing.texi:278
  445. msgid "We also provide templates for common git commit messages and package definitions in the @file{etc/snippets} directory. These templates can be used with @url{https://joaotavora.github.io/yasnippet/, YASnippet} to expand short trigger strings to interactive text snippets. You may want to add the snippets directory to the @var{yas-snippet-dirs} variable in Emacs."
  446. msgstr ""
  447. #. type: lisp
  448. #: guix-git/doc/contributing.texi:283
  449. #, no-wrap
  450. msgid ""
  451. ";; @r{Assuming the Guix checkout is in ~/src/guix.}\n"
  452. "(with-eval-after-load 'yasnippet\n"
  453. " (add-to-list 'yas-snippet-dirs \"~/src/guix/etc/snippets\"))\n"
  454. msgstr ""
  455. #. type: Plain text
  456. #: guix-git/doc/contributing.texi:291
  457. msgid "The commit message snippets depend on @url{https://magit.vc/, Magit} to display staged files. When editing a commit message type @code{add} followed by @kbd{TAB} to insert a commit message template for adding a package; type @code{update} followed by @kbd{TAB} to insert a template for updating a package; type @code{https} followed by @kbd{TAB} to insert a template for changing the home page URI of a package to HTTPS."
  458. msgstr ""
  459. #. type: Plain text
  460. #: guix-git/doc/contributing.texi:297
  461. msgid "The main snippet for @code{scheme-mode} is triggered by typing @code{package...} followed by @kbd{TAB}. This snippet also inserts the trigger string @code{origin...}, which can be expanded further. The @code{origin} snippet in turn may insert other trigger strings ending on @code{...}, which also can be expanded further."
  462. msgstr ""
  463. #. type: cindex
  464. #: guix-git/doc/contributing.texi:298
  465. #, no-wrap
  466. msgid "insert or update copyright"
  467. msgstr ""
  468. #. type: code{#1}
  469. #: guix-git/doc/contributing.texi:299
  470. #, no-wrap
  471. msgid "M-x guix-copyright"
  472. msgstr ""
  473. #. type: code{#1}
  474. #: guix-git/doc/contributing.texi:300
  475. #, no-wrap
  476. msgid "M-x copyright-update"
  477. msgstr ""
  478. #. type: Plain text
  479. #: guix-git/doc/contributing.texi:304
  480. msgid "We additionally provide insertion and automatic update of a copyright in @file{etc/copyright.el}. You may want to set your full name, mail, and load a file."
  481. msgstr ""
  482. #. type: lisp
  483. #: guix-git/doc/contributing.texi:310
  484. #, no-wrap
  485. msgid ""
  486. "(setq user-full-name \"Alice Doe\")\n"
  487. "(setq user-mail-address \"alice@@mail.org\")\n"
  488. ";; @r{Assuming the Guix checkout is in ~/src/guix.}\n"
  489. "(load-file \"~/src/guix/etc/copyright.el\")\n"
  490. msgstr ""
  491. #. type: Plain text
  492. #: guix-git/doc/contributing.texi:313
  493. msgid "To insert a copyright at the current line invoke @code{M-x guix-copyright}."
  494. msgstr ""
  495. #. type: Plain text
  496. #: guix-git/doc/contributing.texi:315
  497. msgid "To update a copyright you need to specify a @code{copyright-names-regexp}."
  498. msgstr ""
  499. #. type: lisp
  500. #: guix-git/doc/contributing.texi:319
  501. #, no-wrap
  502. msgid ""
  503. "(setq copyright-names-regexp\n"
  504. " (format \"%s <%s>\" user-full-name user-mail-address))\n"
  505. msgstr ""
  506. #. type: Plain text
  507. #: guix-git/doc/contributing.texi:325
  508. msgid "You can check if your copyright is up to date by evaluating @code{M-x copyright-update}. If you want to do it automatically after each buffer save then add @code{(add-hook 'after-save-hook 'copyright-update)} in Emacs."
  509. msgstr ""
  510. #. type: cindex
  511. #: guix-git/doc/contributing.texi:329
  512. #, no-wrap
  513. msgid "packages, creating"
  514. msgstr ""
  515. #. type: Plain text
  516. #: guix-git/doc/contributing.texi:333
  517. msgid "The GNU distribution is nascent and may well lack some of your favorite packages. This section describes how you can help make the distribution grow."
  518. msgstr ""
  519. #. type: Plain text
  520. #: guix-git/doc/contributing.texi:341
  521. msgid "Free software packages are usually distributed in the form of @dfn{source code tarballs}---typically @file{tar.gz} files that contain all the source files. Adding a package to the distribution means essentially two things: adding a @dfn{recipe} that describes how to build the package, including a list of other packages required to build it, and adding @dfn{package metadata} along with that recipe, such as a description and licensing information."
  522. msgstr ""
  523. #. type: Plain text
  524. #: guix-git/doc/contributing.texi:350
  525. msgid "In Guix all this information is embodied in @dfn{package definitions}. Package definitions provide a high-level view of the package. They are written using the syntax of the Scheme programming language; in fact, for each package we define a variable bound to the package definition, and export that variable from a module (@pxref{Package Modules}). However, in-depth Scheme knowledge is @emph{not} a prerequisite for creating packages. For more information on package definitions, @pxref{Defining Packages}."
  526. msgstr ""
  527. #. type: Plain text
  528. #: guix-git/doc/contributing.texi:356
  529. msgid "Once a package definition is in place, stored in a file in the Guix source tree, it can be tested using the @command{guix build} command (@pxref{Invoking guix build}). For example, assuming the new package is called @code{gnew}, you may run this command from the Guix build tree (@pxref{Running Guix Before It Is Installed}):"
  530. msgstr ""
  531. #. type: example
  532. #: guix-git/doc/contributing.texi:359
  533. #, no-wrap
  534. msgid "./pre-inst-env guix build gnew --keep-failed\n"
  535. msgstr ""
  536. #. type: Plain text
  537. #: guix-git/doc/contributing.texi:365
  538. msgid "Using @code{--keep-failed} makes it easier to debug build failures since it provides access to the failed build tree. Another useful command-line option when debugging is @code{--log-file}, to access the build log."
  539. msgstr ""
  540. #. type: Plain text
  541. #: guix-git/doc/contributing.texi:370
  542. msgid "If the package is unknown to the @command{guix} command, it may be that the source file contains a syntax error, or lacks a @code{define-public} clause to export the package variable. To figure it out, you may load the module from Guile to get more information about the actual error:"
  543. msgstr ""
  544. #. type: example
  545. #: guix-git/doc/contributing.texi:373
  546. #, no-wrap
  547. msgid "./pre-inst-env guile -c '(use-modules (gnu packages gnew))'\n"
  548. msgstr ""
  549. #. type: Plain text
  550. #: guix-git/doc/contributing.texi:380
  551. msgid "Once your package builds correctly, please send us a patch (@pxref{Submitting Patches}). Well, if you need help, we will be happy to help you too. Once the patch is committed in the Guix repository, the new package automatically gets built on the supported platforms by @url{https://@value{SUBSTITUTE-SERVER-1}, our continuous integration system}."
  552. msgstr ""
  553. #. type: cindex
  554. #: guix-git/doc/contributing.texi:381
  555. #, no-wrap
  556. msgid "substituter"
  557. msgstr ""
  558. #. type: Plain text
  559. #: guix-git/doc/contributing.texi:388
  560. msgid "Users can obtain the new package definition simply by running @command{guix pull} (@pxref{Invoking guix pull}). When @code{@value{SUBSTITUTE-SERVER-1}} is done building the package, installing the package automatically downloads binaries from there (@pxref{Substitutes}). The only place where human intervention is needed is to review and apply the patch."
  561. msgstr ""
  562. #. type: subsection
  563. #: guix-git/doc/contributing.texi:402 guix-git/doc/contributing.texi:404
  564. #: guix-git/doc/contributing.texi:405
  565. #, no-wrap
  566. msgid "Software Freedom"
  567. msgstr ""
  568. #. type: menuentry
  569. #: guix-git/doc/contributing.texi:402
  570. msgid "What may go into the distribution."
  571. msgstr ""
  572. #. type: subsection
  573. #: guix-git/doc/contributing.texi:402 guix-git/doc/contributing.texi:432
  574. #: guix-git/doc/contributing.texi:433
  575. #, no-wrap
  576. msgid "Package Naming"
  577. msgstr ""
  578. #. type: menuentry
  579. #: guix-git/doc/contributing.texi:402
  580. msgid "What's in a name?"
  581. msgstr ""
  582. #. type: subsection
  583. #: guix-git/doc/contributing.texi:402 guix-git/doc/contributing.texi:465
  584. #: guix-git/doc/contributing.texi:466
  585. #, no-wrap
  586. msgid "Version Numbers"
  587. msgstr ""
  588. #. type: menuentry
  589. #: guix-git/doc/contributing.texi:402
  590. msgid "When the name is not enough."
  591. msgstr ""
  592. #. type: subsection
  593. #: guix-git/doc/contributing.texi:402 guix-git/doc/contributing.texi:572
  594. #: guix-git/doc/contributing.texi:573
  595. #, no-wrap
  596. msgid "Synopses and Descriptions"
  597. msgstr ""
  598. #. type: menuentry
  599. #: guix-git/doc/contributing.texi:402
  600. msgid "Helping users find the right package."
  601. msgstr ""
  602. #. type: subsection
  603. #: guix-git/doc/contributing.texi:402 guix-git/doc/contributing.texi:651
  604. #: guix-git/doc/contributing.texi:652
  605. #, no-wrap
  606. msgid "Snippets versus Phases"
  607. msgstr ""
  608. #. type: menuentry
  609. #: guix-git/doc/contributing.texi:402
  610. msgid "Whether to use a snippet, or a build phase."
  611. msgstr ""
  612. #. type: subsection
  613. #: guix-git/doc/contributing.texi:402 guix-git/doc/contributing.texi:666
  614. #: guix-git/doc/contributing.texi:667 guix-git/doc/guix.texi:1961
  615. #, no-wrap
  616. msgid "Emacs Packages"
  617. msgstr ""
  618. #. type: menuentry
  619. #: guix-git/doc/contributing.texi:402
  620. msgid "Your Elisp fix."
  621. msgstr ""
  622. #. type: subsection
  623. #: guix-git/doc/contributing.texi:402 guix-git/doc/contributing.texi:706
  624. #: guix-git/doc/contributing.texi:707
  625. #, no-wrap
  626. msgid "Python Modules"
  627. msgstr ""
  628. #. type: menuentry
  629. #: guix-git/doc/contributing.texi:402
  630. msgid "A touch of British comedy."
  631. msgstr ""
  632. #. type: subsection
  633. #: guix-git/doc/contributing.texi:402 guix-git/doc/contributing.texi:782
  634. #: guix-git/doc/contributing.texi:783
  635. #, no-wrap
  636. msgid "Perl Modules"
  637. msgstr ""
  638. #. type: menuentry
  639. #: guix-git/doc/contributing.texi:402
  640. msgid "Little pearls."
  641. msgstr ""
  642. #. type: subsection
  643. #: guix-git/doc/contributing.texi:402 guix-git/doc/contributing.texi:798
  644. #: guix-git/doc/contributing.texi:799
  645. #, no-wrap
  646. msgid "Java Packages"
  647. msgstr ""
  648. #. type: menuentry
  649. #: guix-git/doc/contributing.texi:402
  650. msgid "Coffee break."
  651. msgstr ""
  652. #. type: subsection
  653. #: guix-git/doc/contributing.texi:402 guix-git/doc/contributing.texi:818
  654. #: guix-git/doc/contributing.texi:819
  655. #, no-wrap
  656. msgid "Rust Crates"
  657. msgstr ""
  658. #. type: menuentry
  659. #: guix-git/doc/contributing.texi:402
  660. msgid "Beware of oxidation."
  661. msgstr ""
  662. #. type: subsection
  663. #: guix-git/doc/contributing.texi:402 guix-git/doc/contributing.texi:852
  664. #: guix-git/doc/contributing.texi:853
  665. #, no-wrap
  666. msgid "Fonts"
  667. msgstr ""
  668. #. type: menuentry
  669. #: guix-git/doc/contributing.texi:402
  670. msgid "Fond of fonts."
  671. msgstr ""
  672. #. type: cindex
  673. #: guix-git/doc/contributing.texi:408
  674. #, no-wrap
  675. msgid "free software"
  676. msgstr ""
  677. #. type: Plain text
  678. #: guix-git/doc/contributing.texi:416
  679. msgid "The GNU operating system has been developed so that users can have freedom in their computing. GNU is @dfn{free software}, meaning that users have the @url{https://www.gnu.org/philosophy/free-sw.html,four essential freedoms}: to run the program, to study and change the program in source code form, to redistribute exact copies, and to distribute modified versions. Packages found in the GNU distribution provide only software that conveys these four freedoms."
  680. msgstr ""
  681. #. type: Plain text
  682. #: guix-git/doc/contributing.texi:422
  683. msgid "In addition, the GNU distribution follow the @url{https://www.gnu.org/distros/free-system-distribution-guidelines.html,free software distribution guidelines}. Among other things, these guidelines reject non-free firmware, recommendations of non-free software, and discuss ways to deal with trademarks and patents."
  684. msgstr ""
  685. #. type: Plain text
  686. #: guix-git/doc/contributing.texi:430
  687. msgid "Some otherwise free upstream package sources contain a small and optional subset that violates the above guidelines, for instance because this subset is itself non-free code. When that happens, the offending items are removed with appropriate patches or code snippets in the @code{origin} form of the package (@pxref{Defining Packages}). This way, @code{guix build --source} returns the ``freed'' source rather than the unmodified upstream source."
  688. msgstr ""
  689. #. type: cindex
  690. #: guix-git/doc/contributing.texi:435
  691. #, no-wrap
  692. msgid "package name"
  693. msgstr ""
  694. #. type: Plain text
  695. #: guix-git/doc/contributing.texi:443
  696. msgid "A package actually has two names associated with it. First, there is the name of the @emph{Scheme variable}, the one following @code{define-public}. By this name, the package can be made known in the Scheme code, for instance as input to another package. Second, there is the string in the @code{name} field of a package definition. This name is used by package management commands such as @command{guix package} and @command{guix build}."
  697. msgstr ""
  698. #. type: Plain text
  699. #: guix-git/doc/contributing.texi:448
  700. msgid "Both are usually the same and correspond to the lowercase conversion of the project name chosen upstream, with underscores replaced with hyphens. For instance, GNUnet is available as @code{gnunet}, and SDL_net as @code{sdl-net}."
  701. msgstr ""
  702. #. type: Plain text
  703. #: guix-git/doc/contributing.texi:456
  704. msgid "A noteworthy exception to this rule is when the project name is only a single character, or if an older maintained project with the same name already exists---regardless of whether it has already been packaged for Guix. Use common sense to make such names unambiguous and meaningful. For example, Guix's package for the shell called ``s'' upstream is @code{s-shell} and @emph{not} @code{s}. Feel free to ask your fellow hackers for inspiration."
  705. msgstr ""
  706. #. type: Plain text
  707. #: guix-git/doc/contributing.texi:461
  708. msgid "We do not add @code{lib} prefixes for library packages, unless these are already part of the official project name. But @pxref{Python Modules} and @ref{Perl Modules} for special rules concerning modules for the Python and Perl languages."
  709. msgstr ""
  710. #. type: Plain text
  711. #: guix-git/doc/contributing.texi:463
  712. msgid "Font package names are handled differently, @pxref{Fonts}."
  713. msgstr ""
  714. #. type: cindex
  715. #: guix-git/doc/contributing.texi:468
  716. #, no-wrap
  717. msgid "package version"
  718. msgstr ""
  719. #. type: Plain text
  720. #: guix-git/doc/contributing.texi:477
  721. msgid "We usually package only the latest version of a given free software project. But sometimes, for instance for incompatible library versions, two (or more) versions of the same package are needed. These require different Scheme variable names. We use the name as defined in @ref{Package Naming} for the most recent version; previous versions use the same name, suffixed by @code{-} and the smallest prefix of the version number that may distinguish the two versions."
  722. msgstr ""
  723. #. type: Plain text
  724. #: guix-git/doc/contributing.texi:480
  725. msgid "The name inside the package definition is the same for all versions of a package and does not contain any version number."
  726. msgstr ""
  727. #. type: Plain text
  728. #: guix-git/doc/contributing.texi:482
  729. msgid "For instance, the versions 2.24.20 and 3.9.12 of GTK+ may be packaged as follows:"
  730. msgstr ""
  731. #. type: lisp
  732. #: guix-git/doc/contributing.texi:494
  733. #, no-wrap
  734. msgid ""
  735. "(define-public gtk+\n"
  736. " (package\n"
  737. " (name \"gtk+\")\n"
  738. " (version \"3.9.12\")\n"
  739. " ...))\n"
  740. "(define-public gtk+-2\n"
  741. " (package\n"
  742. " (name \"gtk+\")\n"
  743. " (version \"2.24.20\")\n"
  744. " ...))\n"
  745. msgstr ""
  746. #. type: Plain text
  747. #: guix-git/doc/contributing.texi:496
  748. msgid "If we also wanted GTK+ 3.8.2, this would be packaged as"
  749. msgstr ""
  750. #. type: lisp
  751. #: guix-git/doc/contributing.texi:502
  752. #, no-wrap
  753. msgid ""
  754. "(define-public gtk+-3.8\n"
  755. " (package\n"
  756. " (name \"gtk+\")\n"
  757. " (version \"3.8.2\")\n"
  758. " ...))\n"
  759. msgstr ""
  760. #. type: cindex
  761. #: guix-git/doc/contributing.texi:506
  762. #, no-wrap
  763. msgid "version number, for VCS snapshots"
  764. msgstr ""
  765. #. type: Plain text
  766. #: guix-git/doc/contributing.texi:512
  767. msgid "Occasionally, we package snapshots of upstream's version control system (VCS) instead of formal releases. This should remain exceptional, because it is up to upstream developers to clarify what the stable release is. Yet, it is sometimes necessary. So, what should we put in the @code{version} field?"
  768. msgstr ""
  769. #. type: Plain text
  770. #: guix-git/doc/contributing.texi:520
  771. msgid "Clearly, we need to make the commit identifier of the VCS snapshot visible in the version string, but we also need to make sure that the version string is monotonically increasing so that @command{guix package --upgrade} can determine which version is newer. Since commit identifiers, notably with Git, are not monotonically increasing, we add a revision number that we increase each time we upgrade to a newer snapshot. The resulting version string looks like this:"
  772. msgstr ""
  773. #. type: example
  774. #: guix-git/doc/contributing.texi:529
  775. #, no-wrap
  776. msgid ""
  777. "2.0.11-3.cabba9e\n"
  778. " ^ ^ ^\n"
  779. " | | `-- upstream commit ID\n"
  780. " | |\n"
  781. " | `--- Guix package revision\n"
  782. " |\n"
  783. "latest upstream version\n"
  784. msgstr ""
  785. #. type: Plain text
  786. #: guix-git/doc/contributing.texi:539
  787. msgid "It is a good idea to strip commit identifiers in the @code{version} field to, say, 7 digits. It avoids an aesthetic annoyance (assuming aesthetics have a role to play here) as well as problems related to OS limits such as the maximum shebang length (127 bytes for the Linux kernel). There are helper functions for doing this for packages using @code{git-fetch} or @code{hg-fetch} (see below). It is best to use the full commit identifiers in @code{origin}s, though, to avoid ambiguities. A typical package definition may look like this:"
  788. msgstr ""
  789. #. type: lisp
  790. #: guix-git/doc/contributing.texi:556
  791. #, no-wrap
  792. msgid ""
  793. "(define my-package\n"
  794. " (let ((commit \"c3f29bc928d5900971f65965feaae59e1272a3f7\")\n"
  795. " (revision \"1\")) ;Guix package revision\n"
  796. " (package\n"
  797. " (version (git-version \"0.9\" revision commit))\n"
  798. " (source (origin\n"
  799. " (method git-fetch)\n"
  800. " (uri (git-reference\n"
  801. " (url \"git://example.org/my-package.git\")\n"
  802. " (commit commit)))\n"
  803. " (sha256 (base32 \"1mbikn@dots{}\"))\n"
  804. " (file-name (git-file-name name version))))\n"
  805. " ;; @dots{}\n"
  806. " )))\n"
  807. msgstr ""
  808. #. type: deffn
  809. #: guix-git/doc/contributing.texi:558
  810. #, no-wrap
  811. msgid "{Scheme Procedure} git-version @var{VERSION} @var{REVISION} @var{COMMIT}"
  812. msgstr ""
  813. #. type: deffn
  814. #: guix-git/doc/contributing.texi:560
  815. msgid "Return the version string for packages using @code{git-fetch}."
  816. msgstr ""
  817. #. type: lisp
  818. #: guix-git/doc/contributing.texi:564
  819. #, no-wrap
  820. msgid ""
  821. "(git-version \"0.2.3\" \"0\" \"93818c936ee7e2f1ba1b315578bde363a7d43d05\")\n"
  822. "@result{} \"0.2.3-0.93818c9\"\n"
  823. msgstr ""
  824. #. type: deffn
  825. #: guix-git/doc/contributing.texi:567
  826. #, no-wrap
  827. msgid "{Scheme Procedure} hg-version @var{VERSION} @var{REVISION} @var{CHANGESET}"
  828. msgstr ""
  829. #. type: deffn
  830. #: guix-git/doc/contributing.texi:570
  831. msgid "Return the version string for packages using @code{hg-fetch}. It works in the same way as @code{git-version}."
  832. msgstr ""
  833. #. type: cindex
  834. #: guix-git/doc/contributing.texi:575
  835. #, no-wrap
  836. msgid "package description"
  837. msgstr ""
  838. #. type: cindex
  839. #: guix-git/doc/contributing.texi:576
  840. #, no-wrap
  841. msgid "package synopsis"
  842. msgstr ""
  843. #. type: Plain text
  844. #: guix-git/doc/contributing.texi:583
  845. msgid "As we have seen before, each package in GNU@tie{}Guix includes a synopsis and a description (@pxref{Defining Packages}). Synopses and descriptions are important: They are what @command{guix package --search} searches, and a crucial piece of information to help users determine whether a given package suits their needs. Consequently, packagers should pay attention to what goes into them."
  846. msgstr ""
  847. #. type: Plain text
  848. #: guix-git/doc/contributing.texi:591
  849. msgid "Synopses must start with a capital letter and must not end with a period. They must not start with ``a'' or ``the'', which usually does not bring anything; for instance, prefer ``File-frobbing tool'' over ``A tool that frobs files''. The synopsis should say what the package is---e.g., ``Core GNU utilities (file, text, shell)''---or what it is used for---e.g., the synopsis for GNU@tie{}grep is ``Print lines matching a pattern''."
  850. msgstr ""
  851. #. type: Plain text
  852. #: guix-git/doc/contributing.texi:601
  853. msgid "Keep in mind that the synopsis must be meaningful for a very wide audience. For example, ``Manipulate alignments in the SAM format'' might make sense for a seasoned bioinformatics researcher, but might be fairly unhelpful or even misleading to a non-specialized audience. It is a good idea to come up with a synopsis that gives an idea of the application domain of the package. In this example, this might give something like ``Manipulate nucleotide sequence alignments'', which hopefully gives the user a better idea of whether this is what they are looking for."
  854. msgstr ""
  855. #. type: Plain text
  856. #: guix-git/doc/contributing.texi:609
  857. msgid "Descriptions should take between five and ten lines. Use full sentences, and avoid using acronyms without first introducing them. Please avoid marketing phrases such as ``world-leading'', ``industrial-strength'', and ``next-generation'', and avoid superlatives like ``the most advanced''---they are not helpful to users looking for a package and may even sound suspicious. Instead, try to be factual, mentioning use cases and features."
  858. msgstr ""
  859. #. type: cindex
  860. #: guix-git/doc/contributing.texi:610
  861. #, no-wrap
  862. msgid "Texinfo markup, in package descriptions"
  863. msgstr ""
  864. #. type: Plain text
  865. #: guix-git/doc/contributing.texi:619
  866. msgid "Descriptions can include Texinfo markup, which is useful to introduce ornaments such as @code{@@code} or @code{@@dfn}, bullet lists, or hyperlinks (@pxref{Overview,,, texinfo, GNU Texinfo}). However you should be careful when using some characters for example @samp{@@} and curly braces which are the basic special characters in Texinfo (@pxref{Special Characters,,, texinfo, GNU Texinfo}). User interfaces such as @command{guix package --show} take care of rendering it appropriately."
  867. msgstr ""
  868. #. type: Plain text
  869. #: guix-git/doc/contributing.texi:625
  870. msgid "Synopses and descriptions are translated by volunteers @uref{https://translate.fedoraproject.org/projects/guix/packages, at Weblate} so that as many users as possible can read them in their native language. User interfaces search them and display them in the language specified by the current locale."
  871. msgstr ""
  872. #. type: Plain text
  873. #: guix-git/doc/contributing.texi:630
  874. msgid "To allow @command{xgettext} to extract them as translatable strings, synopses and descriptions @emph{must be literal strings}. This means that you cannot use @code{string-append} or @code{format} to construct these strings:"
  875. msgstr ""
  876. #. type: lisp
  877. #: guix-git/doc/contributing.texi:636
  878. #, no-wrap
  879. msgid ""
  880. "(package\n"
  881. " ;; @dots{}\n"
  882. " (synopsis \"This is translatable\")\n"
  883. " (description (string-append \"This is \" \"*not*\" \" translatable.\")))\n"
  884. msgstr ""
  885. #. type: Plain text
  886. #: guix-git/doc/contributing.texi:644
  887. msgid "Translation is a lot of work so, as a packager, please pay even more attention to your synopses and descriptions as every change may entail additional work for translators. In order to help them, it is possible to make recommendations or instructions visible to them by inserting special comments like this (@pxref{xgettext Invocation,,, gettext, GNU Gettext}):"
  888. msgstr ""
  889. #. type: lisp
  890. #: guix-git/doc/contributing.texi:649
  891. #, no-wrap
  892. msgid ""
  893. ";; TRANSLATORS: \"X11 resize-and-rotate\" should not be translated.\n"
  894. "(description \"ARandR is designed to provide a simple visual front end\n"
  895. "for the X11 resize-and-rotate (RandR) extension. @dots{}\")\n"
  896. msgstr ""
  897. #. type: cindex
  898. #: guix-git/doc/contributing.texi:654
  899. #, no-wrap
  900. msgid "snippets, when to use"
  901. msgstr ""
  902. #. type: Plain text
  903. #: guix-git/doc/contributing.texi:665
  904. msgid "The boundary between using an origin snippet versus a build phase to modify the sources of a package can be elusive. Origin snippets are typically used to remove unwanted files such as bundled libraries, nonfree sources, or to apply simple substitutions. The source derived from an origin should produce a source that can be used to build the package on any system that the upstream package supports (i.e., act as the corresponding source). In particular, origin snippets must not embed store items in the sources; such patching should rather be done using build phases. Refer to the @code{origin} record documentation for more information (@pxref{origin Reference})."
  905. msgstr ""
  906. #. type: cindex
  907. #: guix-git/doc/contributing.texi:669
  908. #, no-wrap
  909. msgid "emacs, packaging"
  910. msgstr ""
  911. #. type: cindex
  912. #: guix-git/doc/contributing.texi:670
  913. #, no-wrap
  914. msgid "elisp, packaging"
  915. msgstr ""
  916. #. type: Plain text
  917. #: guix-git/doc/contributing.texi:682
  918. msgid "Emacs packages should preferably use the Emacs build system (@pxref{emacs-build-system}), for uniformity and the benefits provided by its build phases, such as the auto-generation of the autoloads file and the byte compilation of the sources. Because there is no standardized way to run a test suite for Emacs packages, tests are disabled by default. When a test suite is available, it should be enabled by setting the @code{#:tests?} argument to @code{#true}. By default, the command to run the test is @command{make check}, but any command can be specified via the @code{#:test-command} argument. The @code{#:test-command} argument expects a list containing a command and its arguments, to be invoked during the @code{check} phase."
  919. msgstr ""
  920. #. type: Plain text
  921. #: guix-git/doc/contributing.texi:687
  922. msgid "The Elisp dependencies of Emacs packages are typically provided as @code{propagated-inputs} when required at run time. As for other packages, build or test dependencies should be specified as @code{native-inputs}."
  923. msgstr ""
  924. #. type: Plain text
  925. #: guix-git/doc/contributing.texi:696
  926. msgid "Emacs packages sometimes depend on resources directories that should be installed along the Elisp files. The @code{#:include} argument can be used for that purpose, by specifying a list of regexps to match. The best practice when using the @code{#:include} argument is to extend rather than override its default value (accessible via the @code{%default-include} variable). As an example, a yasnippet extension package typically include a @file{snippets} directory, which could be copied to the installation directory using:"
  927. msgstr ""
  928. #. type: lisp
  929. #: guix-git/doc/contributing.texi:699
  930. #, no-wrap
  931. msgid "#:include (cons \"^snippets/\" %default-include))\n"
  932. msgstr ""
  933. #. type: Plain text
  934. #: guix-git/doc/contributing.texi:705
  935. msgid "When encountering problems, it is wise to check for the presence of the @code{Package-Requires} extension header in the package main source file, and whether any dependencies and their versions listed therein are satisfied."
  936. msgstr ""
  937. #. type: cindex
  938. #: guix-git/doc/contributing.texi:709
  939. #, no-wrap
  940. msgid "python"
  941. msgstr ""
  942. #. type: Plain text
  943. #: guix-git/doc/contributing.texi:715
  944. msgid "We currently package Python 2 and Python 3, under the Scheme variable names @code{python-2} and @code{python} as explained in @ref{Version Numbers}. To avoid confusion and naming clashes with other programming languages, it seems desirable that the name of a package for a Python module contains the word @code{python}."
  945. msgstr ""
  946. #. type: Plain text
  947. #: guix-git/doc/contributing.texi:722
  948. msgid "Some modules are compatible with only one version of Python, others with both. If the package Foo is compiled with Python 3, we name it @code{python-foo}. If it is compiled with Python 2, we name it @code{python2-foo}. Packages should be added when they are necessary; we don't add Python 2 variants of the package unless we are going to use them."
  949. msgstr ""
  950. #. type: Plain text
  951. #: guix-git/doc/contributing.texi:728
  952. msgid "If a project already contains the word @code{python}, we drop this; for instance, the module python-dateutil is packaged under the names @code{python-dateutil} and @code{python2-dateutil}. If the project name starts with @code{py} (e.g.@: @code{pytz}), we keep it and prefix it as described above."
  953. msgstr ""
  954. #. type: subsubsection
  955. #: guix-git/doc/contributing.texi:729
  956. #, no-wrap
  957. msgid "Specifying Dependencies"
  958. msgstr ""
  959. #. type: cindex
  960. #: guix-git/doc/contributing.texi:730
  961. #, no-wrap
  962. msgid "inputs, for Python packages"
  963. msgstr ""
  964. #. type: Plain text
  965. #: guix-git/doc/contributing.texi:735
  966. msgid "Dependency information for Python packages is usually available in the package source tree, with varying degrees of accuracy: in the @file{setup.py} file, in @file{requirements.txt}, or in @file{tox.ini}."
  967. msgstr ""
  968. #. type: Plain text
  969. #: guix-git/doc/contributing.texi:741
  970. msgid "Your mission, when writing a recipe for a Python package, is to map these dependencies to the appropriate type of ``input'' (@pxref{package Reference, inputs}). Although the @code{pypi} importer normally does a good job (@pxref{Invoking guix import}), you may want to check the following check list to determine which dependency goes where."
  971. msgstr ""
  972. #. type: itemize
  973. #: guix-git/doc/contributing.texi:749
  974. msgid "We currently package Python 2 with @code{setuptools} and @code{pip} installed like Python 3.4 has per default. Thus you don't need to specify either of these as an input. @command{guix lint} will warn you if you do."
  975. msgstr ""
  976. #. type: itemize
  977. #: guix-git/doc/contributing.texi:755
  978. msgid "Python dependencies required at run time go into @code{propagated-inputs}. They are typically defined with the @code{install_requires} keyword in @file{setup.py}, or in the @file{requirements.txt} file."
  979. msgstr ""
  980. #. type: itemize
  981. #: guix-git/doc/contributing.texi:763
  982. msgid "Python packages required only at build time---e.g., those listed with the @code{setup_requires} keyword in @file{setup.py}---or only for testing---e.g., those in @code{tests_require}---go into @code{native-inputs}. The rationale is that (1) they do not need to be propagated because they are not needed at run time, and (2) in a cross-compilation context, it's the ``native'' input that we'd want."
  983. msgstr ""
  984. #. type: itemize
  985. #: guix-git/doc/contributing.texi:767
  986. msgid "Examples are the @code{pytest}, @code{mock}, and @code{nose} test frameworks. Of course if any of these packages is also required at run-time, it needs to go to @code{propagated-inputs}."
  987. msgstr ""
  988. #. type: itemize
  989. #: guix-git/doc/contributing.texi:772
  990. msgid "Anything that does not fall in the previous categories goes to @code{inputs}, for example programs or C libraries required for building Python packages containing C extensions."
  991. msgstr ""
  992. #. type: itemize
  993. #: guix-git/doc/contributing.texi:778
  994. msgid "If a Python package has optional dependencies (@code{extras_require}), it is up to you to decide whether to add them or not, based on their usefulness/overhead ratio (@pxref{Submitting Patches, @command{guix size}})."
  995. msgstr ""
  996. #. type: cindex
  997. #: guix-git/doc/contributing.texi:785
  998. #, no-wrap
  999. msgid "perl"
  1000. msgstr ""
  1001. #. type: Plain text
  1002. #: guix-git/doc/contributing.texi:796
  1003. msgid "Perl programs standing for themselves are named as any other package, using the lowercase upstream name. For Perl packages containing a single class, we use the lowercase class name, replace all occurrences of @code{::} by dashes and prepend the prefix @code{perl-}. So the class @code{XML::Parser} becomes @code{perl-xml-parser}. Modules containing several classes keep their lowercase upstream name and are also prepended by @code{perl-}. Such modules tend to have the word @code{perl} somewhere in their name, which gets dropped in favor of the prefix. For instance, @code{libwww-perl} becomes @code{perl-libwww}."
  1004. msgstr ""
  1005. #. type: cindex
  1006. #: guix-git/doc/contributing.texi:801
  1007. #, no-wrap
  1008. msgid "java"
  1009. msgstr ""
  1010. #. type: Plain text
  1011. #: guix-git/doc/contributing.texi:804
  1012. msgid "Java programs standing for themselves are named as any other package, using the lowercase upstream name."
  1013. msgstr ""
  1014. #. type: Plain text
  1015. #: guix-git/doc/contributing.texi:810
  1016. msgid "To avoid confusion and naming clashes with other programming languages, it is desirable that the name of a package for a Java package is prefixed with @code{java-}. If a project already contains the word @code{java}, we drop this; for instance, the package @code{ngsjava} is packaged under the name @code{java-ngs}."
  1017. msgstr ""
  1018. #. type: Plain text
  1019. #: guix-git/doc/contributing.texi:816
  1020. msgid "For Java packages containing a single class or a small class hierarchy, we use the lowercase class name, replace all occurrences of @code{.} by dashes and prepend the prefix @code{java-}. So the class @code{apache.commons.cli} becomes package @code{java-apache-commons-cli}."
  1021. msgstr ""
  1022. #. type: cindex
  1023. #: guix-git/doc/contributing.texi:821
  1024. #, no-wrap
  1025. msgid "rust"
  1026. msgstr ""
  1027. #. type: Plain text
  1028. #: guix-git/doc/contributing.texi:824
  1029. msgid "Rust programs standing for themselves are named as any other package, using the lowercase upstream name."
  1030. msgstr ""
  1031. #. type: Plain text
  1032. #: guix-git/doc/contributing.texi:828
  1033. msgid "To prevent namespace collisions we prefix all other Rust packages with the @code{rust-} prefix. The name should be changed to lowercase as appropriate and dashes should remain in place."
  1034. msgstr ""
  1035. #. type: Plain text
  1036. #: guix-git/doc/contributing.texi:834
  1037. msgid "In the rust ecosystem it is common for multiple incompatible versions of a package to be used at any given time, so all package definitions should have a versioned suffix. The versioned suffix is the left-most non-zero digit (and any leading zeros, of course). This follows the ``caret'' version scheme intended by Cargo. Examples@: @code{rust-clap-2}, @code{rust-rand-0.6}."
  1038. msgstr ""
  1039. #. type: Plain text
  1040. #: guix-git/doc/contributing.texi:844
  1041. msgid "Because of the difficulty in reusing rust packages as pre-compiled inputs for other packages the Cargo build system (@pxref{Build Systems, @code{cargo-build-system}}) presents the @code{#:cargo-inputs} and @code{cargo-development-inputs} keywords as build system arguments. It would be helpful to think of these as similar to @code{propagated-inputs} and @code{native-inputs}. Rust @code{dependencies} and @code{build-dependencies} should go in @code{#:cargo-inputs}, and @code{dev-dependencies} should go in @code{#:cargo-development-inputs}. If a Rust package links to other libraries then the standard placement in @code{inputs} and the like should be used."
  1042. msgstr ""
  1043. #. type: Plain text
  1044. #: guix-git/doc/contributing.texi:850
  1045. msgid "Care should be taken to ensure the correct version of dependencies are used; to this end we try to refrain from skipping the tests or using @code{#:skip-build?} when possible. Of course this is not always possible, as the package may be developed for a different Operating System, depend on features from the Nightly Rust compiler, or the test suite may have atrophied since it was released."
  1046. msgstr ""
  1047. #. type: cindex
  1048. #: guix-git/doc/contributing.texi:855 guix-git/doc/guix.texi:1896
  1049. #, no-wrap
  1050. msgid "fonts"
  1051. msgstr ""
  1052. #. type: Plain text
  1053. #: guix-git/doc/contributing.texi:861
  1054. msgid "For fonts that are in general not installed by a user for typesetting purposes, or that are distributed as part of a larger software package, we rely on the general packaging rules for software; for instance, this applies to the fonts delivered as part of the X.Org system or fonts that are part of TeX Live."
  1055. msgstr ""
  1056. #. type: Plain text
  1057. #: guix-git/doc/contributing.texi:865
  1058. msgid "To make it easier for a user to search for fonts, names for other packages containing only fonts are constructed as follows, independently of the upstream package name."
  1059. msgstr ""
  1060. #. type: Plain text
  1061. #: guix-git/doc/contributing.texi:873
  1062. msgid "The name of a package containing only one font family starts with @code{font-}; it is followed by the foundry name and a dash @code{-} if the foundry is known, and the font family name, in which spaces are replaced by dashes (and as usual, all upper case letters are transformed to lower case). For example, the Gentium font family by SIL is packaged under the name @code{font-sil-gentium}."
  1063. msgstr ""
  1064. #. type: Plain text
  1065. #: guix-git/doc/contributing.texi:882
  1066. msgid "For a package containing several font families, the name of the collection is used in the place of the font family name. For instance, the Liberation fonts consist of three families, Liberation Sans, Liberation Serif and Liberation Mono. These could be packaged separately under the names @code{font-liberation-sans} and so on; but as they are distributed together under a common name, we prefer to package them together as @code{font-liberation}."
  1067. msgstr ""
  1068. #. type: Plain text
  1069. #: guix-git/doc/contributing.texi:888
  1070. msgid "In the case where several formats of the same font family or font collection are packaged separately, a short form of the format, prepended by a dash, is added to the package name. We use @code{-ttf} for TrueType fonts, @code{-otf} for OpenType fonts and @code{-type1} for PostScript Type 1 fonts."
  1071. msgstr ""
  1072. #. type: Plain text
  1073. #: guix-git/doc/contributing.texi:896
  1074. msgid "In general our code follows the GNU Coding Standards (@pxref{Top,,, standards, GNU Coding Standards}). However, they do not say much about Scheme, so here are some additional rules."
  1075. msgstr ""
  1076. #. type: subsection
  1077. #: guix-git/doc/contributing.texi:902 guix-git/doc/contributing.texi:904
  1078. #: guix-git/doc/contributing.texi:905
  1079. #, no-wrap
  1080. msgid "Programming Paradigm"
  1081. msgstr ""
  1082. #. type: menuentry
  1083. #: guix-git/doc/contributing.texi:902
  1084. msgid "How to compose your elements."
  1085. msgstr ""
  1086. #. type: subsection
  1087. #: guix-git/doc/contributing.texi:902 guix-git/doc/contributing.texi:911
  1088. #: guix-git/doc/contributing.texi:912
  1089. #, no-wrap
  1090. msgid "Modules"
  1091. msgstr ""
  1092. #. type: menuentry
  1093. #: guix-git/doc/contributing.texi:902
  1094. msgid "Where to store your code?"
  1095. msgstr ""
  1096. #. type: subsection
  1097. #: guix-git/doc/contributing.texi:902 guix-git/doc/contributing.texi:922
  1098. #: guix-git/doc/contributing.texi:923
  1099. #, no-wrap
  1100. msgid "Data Types and Pattern Matching"
  1101. msgstr ""
  1102. #. type: menuentry
  1103. #: guix-git/doc/contributing.texi:902
  1104. msgid "Implementing data structures."
  1105. msgstr ""
  1106. #. type: subsection
  1107. #: guix-git/doc/contributing.texi:902 guix-git/doc/contributing.texi:937
  1108. #: guix-git/doc/contributing.texi:938
  1109. #, no-wrap
  1110. msgid "Formatting Code"
  1111. msgstr ""
  1112. #. type: menuentry
  1113. #: guix-git/doc/contributing.texi:902
  1114. msgid "Writing conventions."
  1115. msgstr ""
  1116. #. type: Plain text
  1117. #: guix-git/doc/contributing.texi:910
  1118. msgid "Scheme code in Guix is written in a purely functional style. One exception is code that involves input/output, and procedures that implement low-level concepts, such as the @code{memoize} procedure."
  1119. msgstr ""
  1120. #. type: Plain text
  1121. #: guix-git/doc/contributing.texi:918
  1122. msgid "Guile modules that are meant to be used on the builder side must live in the @code{(guix build @dots{})} name space. They must not refer to other Guix or GNU modules. However, it is OK for a ``host-side'' module to use a build-side module."
  1123. msgstr ""
  1124. #. type: Plain text
  1125. #: guix-git/doc/contributing.texi:921
  1126. msgid "Modules that deal with the broader GNU system should be in the @code{(gnu @dots{})} name space rather than @code{(guix @dots{})}."
  1127. msgstr ""
  1128. #. type: Plain text
  1129. #: guix-git/doc/contributing.texi:930
  1130. msgid "The tendency in classical Lisp is to use lists to represent everything, and then to browse them ``by hand'' using @code{car}, @code{cdr}, @code{cadr}, and co. There are several problems with that style, notably the fact that it is hard to read, error-prone, and a hindrance to proper type error reports."
  1131. msgstr ""
  1132. #. type: Plain text
  1133. #: guix-git/doc/contributing.texi:936
  1134. msgid "Guix code should define appropriate data types (for instance, using @code{define-record-type*}) rather than abuse lists. In addition, it should use pattern matching, via Guile’s @code{(ice-9 match)} module, especially when matching lists (@pxref{Pattern Matching,,, guile, GNU Guile Reference Manual})."
  1135. msgstr ""
  1136. #. type: cindex
  1137. #: guix-git/doc/contributing.texi:940
  1138. #, no-wrap
  1139. msgid "formatting code"
  1140. msgstr ""
  1141. #. type: cindex
  1142. #: guix-git/doc/contributing.texi:941
  1143. #, no-wrap
  1144. msgid "coding style"
  1145. msgstr ""
  1146. #. type: Plain text
  1147. #: guix-git/doc/contributing.texi:948
  1148. msgid "When writing Scheme code, we follow common wisdom among Scheme programmers. In general, we follow the @url{https://mumble.net/~campbell/scheme/style.txt, Riastradh's Lisp Style Rules}. This document happens to describe the conventions mostly used in Guile’s code too. It is very thoughtful and well written, so please do read it."
  1149. msgstr ""
  1150. #. type: Plain text
  1151. #: guix-git/doc/contributing.texi:955
  1152. msgid "Some special forms introduced in Guix, such as the @code{substitute*} macro, have special indentation rules. These are defined in the @file{.dir-locals.el} file, which Emacs automatically uses. Also note that Emacs-Guix provides @code{guix-devel-mode} mode that indents and highlights Guix code properly (@pxref{Development,,, emacs-guix, The Emacs-Guix Reference Manual})."
  1153. msgstr ""
  1154. #. type: cindex
  1155. #: guix-git/doc/contributing.texi:956
  1156. #, no-wrap
  1157. msgid "indentation, of code"
  1158. msgstr ""
  1159. #. type: cindex
  1160. #: guix-git/doc/contributing.texi:957
  1161. #, no-wrap
  1162. msgid "formatting, of code"
  1163. msgstr ""
  1164. #. type: Plain text
  1165. #: guix-git/doc/contributing.texi:960
  1166. msgid "If you do not use Emacs, please make sure to let your editor knows these rules. To automatically indent a package definition, you can also run:"
  1167. msgstr ""
  1168. #. type: example
  1169. #: guix-git/doc/contributing.texi:963
  1170. #, no-wrap
  1171. msgid "./etc/indent-code.el gnu/packages/@var{file}.scm @var{package}\n"
  1172. msgstr ""
  1173. #. type: Plain text
  1174. #: guix-git/doc/contributing.texi:969
  1175. msgid "This automatically indents the definition of @var{package} in @file{gnu/packages/@var{file}.scm} by running Emacs in batch mode. To indent a whole file, omit the second argument:"
  1176. msgstr ""
  1177. #. type: example
  1178. #: guix-git/doc/contributing.texi:972
  1179. #, no-wrap
  1180. msgid "./etc/indent-code.el gnu/services/@var{file}.scm\n"
  1181. msgstr ""
  1182. #. type: cindex
  1183. #: guix-git/doc/contributing.texi:974
  1184. #, no-wrap
  1185. msgid "Vim, Scheme code editing"
  1186. msgstr ""
  1187. #. type: Plain text
  1188. #: guix-git/doc/contributing.texi:980
  1189. msgid "If you are editing code with Vim, we recommend that you run @code{:set autoindent} so that your code is automatically indented as you type. Additionally, @uref{https://www.vim.org/scripts/script.php?script_id=3998, @code{paredit.vim}} may help you deal with all these parentheses."
  1190. msgstr ""
  1191. #. type: Plain text
  1192. #: guix-git/doc/contributing.texi:984
  1193. msgid "We require all top-level procedures to carry a docstring. This requirement can be relaxed for simple private procedures in the @code{(guix build @dots{})} name space, though."
  1194. msgstr ""
  1195. #. type: Plain text
  1196. #: guix-git/doc/contributing.texi:987
  1197. msgid "Procedures should not have more than four positional parameters. Use keyword parameters for procedures that take more than four parameters."
  1198. msgstr ""
  1199. #. type: Plain text
  1200. #: guix-git/doc/contributing.texi:998
  1201. msgid "Development is done using the Git distributed version control system. Thus, access to the repository is not strictly necessary. We welcome contributions in the form of patches as produced by @code{git format-patch} sent to the @email{guix-patches@@gnu.org} mailing list. Seasoned Guix developers may also want to look at the section on commit access (@pxref{Commit Access})."
  1202. msgstr ""
  1203. #. type: Plain text
  1204. #: guix-git/doc/contributing.texi:1005
  1205. msgid "This mailing list is backed by a Debbugs instance, which allows us to keep track of submissions (@pxref{Tracking Bugs and Patches}). Each message sent to that mailing list gets a new tracking number assigned; people can then follow up on the submission by sending email to @code{@var{NNN}@@debbugs.gnu.org}, where @var{NNN} is the tracking number (@pxref{Sending a Patch Series})."
  1206. msgstr ""
  1207. #. type: Plain text
  1208. #: guix-git/doc/contributing.texi:1009
  1209. msgid "Please write commit logs in the ChangeLog format (@pxref{Change Logs,,, standards, GNU Coding Standards}); you can check the commit history for examples."
  1210. msgstr ""
  1211. #. type: Plain text
  1212. #: guix-git/doc/contributing.texi:1012
  1213. msgid "Before submitting a patch that adds or modifies a package definition, please run through this check list:"
  1214. msgstr ""
  1215. #. type: enumerate
  1216. #: guix-git/doc/contributing.texi:1019
  1217. 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."
  1218. msgstr ""
  1219. #. type: enumerate
  1220. #: guix-git/doc/contributing.texi:1023
  1221. msgid "Take some time to provide an adequate synopsis and description for the package. @xref{Synopses and Descriptions}, for some guidelines."
  1222. msgstr ""
  1223. #. type: enumerate
  1224. #: guix-git/doc/contributing.texi:1028
  1225. 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})."
  1226. msgstr ""
  1227. #. type: enumerate
  1228. #: guix-git/doc/contributing.texi:1032
  1229. msgid "Make sure the package builds on your platform, using @code{guix build @var{package}}."
  1230. msgstr ""
  1231. #. type: enumerate
  1232. #: guix-git/doc/contributing.texi:1040
  1233. msgid "We recommend you also try building the package on other supported platforms. As you may not have access to actual hardware platforms, we recommend using the @code{qemu-binfmt-service-type} to emulate them. In order to enable it, add the @code{virtualization} service module and the following service to the list of services in your @code{operating-system} configuration:"
  1234. msgstr ""
  1235. #. type: lisp
  1236. #: guix-git/doc/contributing.texi:1045
  1237. #, no-wrap
  1238. msgid ""
  1239. "(service qemu-binfmt-service-type\n"
  1240. " (qemu-binfmt-configuration\n"
  1241. " (platforms (lookup-qemu-platforms \"arm\" \"aarch64\"))))\n"
  1242. msgstr ""
  1243. #. type: enumerate
  1244. #: guix-git/doc/contributing.texi:1048
  1245. msgid "Then reconfigure your system."
  1246. msgstr ""
  1247. #. type: enumerate
  1248. #: guix-git/doc/contributing.texi:1053
  1249. msgid "You can then build packages for different platforms by specifying the @code{--system} option. For example, to build the \"hello\" package for the armhf or aarch64 architectures, you would run the following commands, respectively:"
  1250. msgstr ""
  1251. #. type: example
  1252. #: guix-git/doc/contributing.texi:1056
  1253. #, no-wrap
  1254. msgid ""
  1255. "guix build --system=armhf-linux --rounds=2 hello\n"
  1256. "guix build --system=aarch64-linux --rounds=2 hello\n"
  1257. msgstr ""
  1258. #. type: cindex
  1259. #: guix-git/doc/contributing.texi:1059
  1260. #, no-wrap
  1261. msgid "bundling"
  1262. msgstr ""
  1263. #. type: enumerate
  1264. #: guix-git/doc/contributing.texi:1062
  1265. msgid "Make sure the package does not use bundled copies of software already available as separate packages."
  1266. msgstr ""
  1267. #. type: enumerate
  1268. #: guix-git/doc/contributing.texi:1071
  1269. 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."
  1270. msgstr ""
  1271. #. type: enumerate
  1272. #: guix-git/doc/contributing.texi:1080
  1273. 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."
  1274. msgstr ""
  1275. #. type: enumerate
  1276. #: guix-git/doc/contributing.texi:1085
  1277. msgid "For important changes, check that dependent packages (if applicable) are not affected by the change; @code{guix refresh --list-dependent @var{package}} will help you do that (@pxref{Invoking guix refresh})."
  1278. msgstr ""
  1279. #. type: cindex
  1280. #: guix-git/doc/contributing.texi:1087
  1281. #, no-wrap
  1282. msgid "branching strategy"
  1283. msgstr ""
  1284. #. type: cindex
  1285. #: guix-git/doc/contributing.texi:1088
  1286. #, no-wrap
  1287. msgid "rebuild scheduling strategy"
  1288. msgstr ""
  1289. #. type: enumerate
  1290. #: guix-git/doc/contributing.texi:1091
  1291. msgid "Depending on the number of dependent packages and thus the amount of rebuilding induced, commits go to different branches, along these lines:"
  1292. msgstr ""
  1293. #. type: item
  1294. #: guix-git/doc/contributing.texi:1093
  1295. #, no-wrap
  1296. msgid "300 dependent packages or less"
  1297. msgstr ""
  1298. #. type: table
  1299. #: guix-git/doc/contributing.texi:1095
  1300. msgid "@code{master} branch (non-disruptive changes)."
  1301. msgstr ""
  1302. #. type: item
  1303. #: guix-git/doc/contributing.texi:1096
  1304. #, no-wrap
  1305. msgid "between 300 and 1,800 dependent packages"
  1306. msgstr ""
  1307. #. type: table
  1308. #: guix-git/doc/contributing.texi:1102
  1309. msgid "@code{staging} branch (non-disruptive changes). This branch is intended to be merged in @code{master} every 6 weeks or so. Topical changes (e.g., an update of the GNOME stack) can instead go to a specific branch (say, @code{gnome-updates}). This branch is not expected to be buildable or usable until late in its development process."
  1310. msgstr ""
  1311. #. type: item
  1312. #: guix-git/doc/contributing.texi:1103
  1313. #, no-wrap
  1314. msgid "more than 1,800 dependent packages"
  1315. msgstr ""
  1316. #. type: table
  1317. #: guix-git/doc/contributing.texi:1108
  1318. msgid "@code{core-updates} branch (may include major and potentially disruptive changes). This branch is intended to be merged in @code{master} every 6 months or so. This branch is not expected to be buildable or usable until late in its development process."
  1319. msgstr ""
  1320. #. type: enumerate
  1321. #: guix-git/doc/contributing.texi:1115
  1322. msgid "All these branches are @uref{https://@value{SUBSTITUTE-SERVER-1}, tracked by our build farm} and merged into @code{master} once everything has been successfully built. This allows us to fix issues before they hit users, and to reduce the window during which pre-built binaries are not available."
  1323. msgstr ""
  1324. #. type: enumerate
  1325. #: guix-git/doc/contributing.texi:1124
  1326. 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."
  1327. msgstr ""
  1328. #. type: cindex
  1329. #: guix-git/doc/contributing.texi:1126
  1330. #, no-wrap
  1331. msgid "determinism, of build processes"
  1332. msgstr ""
  1333. #. type: cindex
  1334. #: guix-git/doc/contributing.texi:1127
  1335. #, no-wrap
  1336. msgid "reproducible builds, checking"
  1337. msgstr ""
  1338. #. type: enumerate
  1339. #: guix-git/doc/contributing.texi:1131
  1340. 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."
  1341. msgstr ""
  1342. #. type: enumerate
  1343. #: guix-git/doc/contributing.texi:1134
  1344. 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}):"
  1345. msgstr ""
  1346. #. type: example
  1347. #: guix-git/doc/contributing.texi:1137
  1348. #, no-wrap
  1349. msgid "guix build --rounds=2 my-package\n"
  1350. msgstr ""
  1351. #. type: enumerate
  1352. #: guix-git/doc/contributing.texi:1141
  1353. msgid "This is enough to catch a class of common non-determinism issues, such as timestamps or randomly-generated output in the build result."
  1354. msgstr ""
  1355. #. type: enumerate
  1356. #: guix-git/doc/contributing.texi:1151
  1357. msgid "Another option is to use @command{guix challenge} (@pxref{Invoking guix challenge}). You may run it once the package has been committed and built by @code{@value{SUBSTITUTE-SERVER-1}} to check whether it obtains the same result as you did. Better yet: Find another machine that can build it and run @command{guix publish}. Since the remote build machine is likely different from yours, this can catch non-determinism issues related to the hardware---e.g., use of different instruction set extensions---or to the operating system kernel---e.g., reliance on @code{uname} or @file{/proc} files."
  1358. msgstr ""
  1359. #. type: enumerate
  1360. #: guix-git/doc/contributing.texi:1157
  1361. 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."
  1362. msgstr ""
  1363. #. type: enumerate
  1364. #: guix-git/doc/contributing.texi:1161
  1365. msgid "Verify that your patch contains only one set of related changes. Bundling unrelated changes together makes reviewing harder and slower."
  1366. msgstr ""
  1367. #. type: enumerate
  1368. #: guix-git/doc/contributing.texi:1164
  1369. msgid "Examples of unrelated changes include the addition of several packages, or a package update along with fixes to that package."
  1370. msgstr ""
  1371. #. type: enumerate
  1372. #: guix-git/doc/contributing.texi:1169
  1373. 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})."
  1374. msgstr ""
  1375. #. type: enumerate
  1376. #: guix-git/doc/contributing.texi:1177
  1377. 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."
  1378. msgstr ""
  1379. #. type: enumerate
  1380. #: guix-git/doc/contributing.texi:1181
  1381. msgid "Check if Guix builds (@pxref{Building from Git}) and address the warnings, especially those about use of undefined symbols."
  1382. msgstr ""
  1383. #. type: enumerate
  1384. #: guix-git/doc/contributing.texi:1184
  1385. msgid "Make sure your changes do not break Guix and simulate a @code{guix pull} with:"
  1386. msgstr ""
  1387. #. type: example
  1388. #: guix-git/doc/contributing.texi:1186
  1389. #, no-wrap
  1390. msgid "guix pull --url=/path/to/your/checkout --profile=/tmp/guix.master\n"
  1391. msgstr ""
  1392. #. type: Plain text
  1393. #: guix-git/doc/contributing.texi:1199
  1394. 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."
  1395. msgstr ""
  1396. #. type: Plain text
  1397. #: guix-git/doc/contributing.texi:1204
  1398. msgid "Expect some delay when you submit your very first patch to @email{guix-patches@@gnu.org}. You have to wait until you get an acknowledgement with the assigned tracking number. Future acknowledgements should not be delayed."
  1399. msgstr ""
  1400. #. type: Plain text
  1401. #: guix-git/doc/contributing.texi:1207
  1402. msgid "When a bug is resolved, please close the thread by sending an email to @email{@var{NNN}-done@@debbugs.gnu.org}."
  1403. msgstr ""
  1404. #. type: anchor{#1}
  1405. #: guix-git/doc/contributing.texi:1208 guix-git/doc/contributing.texi:1210
  1406. #, no-wrap
  1407. msgid "Sending a Patch Series"
  1408. msgstr ""
  1409. #. type: cindex
  1410. #: guix-git/doc/contributing.texi:1210
  1411. #, no-wrap
  1412. msgid "patch series"
  1413. msgstr ""
  1414. #. type: code{#1}
  1415. #: guix-git/doc/contributing.texi:1211
  1416. #, no-wrap
  1417. msgid "git send-email"
  1418. msgstr ""
  1419. #. type: code{#1}
  1420. #: guix-git/doc/contributing.texi:1212
  1421. #, no-wrap
  1422. msgid "git-send-email"
  1423. msgstr ""
  1424. #. type: Plain text
  1425. #: guix-git/doc/contributing.texi:1222
  1426. 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}."
  1427. msgstr ""
  1428. #. type: Plain text
  1429. #: guix-git/doc/contributing.texi:1228
  1430. msgid "This section describes how the Guix project tracks its bug reports and patch submissions."
  1431. msgstr ""
  1432. #. type: subsection
  1433. #: guix-git/doc/contributing.texi:1233 guix-git/doc/contributing.texi:1235
  1434. #: guix-git/doc/contributing.texi:1236
  1435. #, no-wrap
  1436. msgid "The Issue Tracker"
  1437. msgstr ""
  1438. #. type: menuentry
  1439. #: guix-git/doc/contributing.texi:1233
  1440. msgid "The official bug and patch tracker."
  1441. msgstr ""
  1442. #. type: subsection
  1443. #: guix-git/doc/contributing.texi:1233 guix-git/doc/contributing.texi:1249
  1444. #: guix-git/doc/contributing.texi:1250
  1445. #, no-wrap
  1446. msgid "Debbugs User Interfaces"
  1447. msgstr ""
  1448. #. type: menuentry
  1449. #: guix-git/doc/contributing.texi:1233
  1450. msgid "Ways to interact with Debbugs."
  1451. msgstr ""
  1452. #. type: subsection
  1453. #: guix-git/doc/contributing.texi:1233 guix-git/doc/contributing.texi:1289
  1454. #: guix-git/doc/contributing.texi:1290
  1455. #, no-wrap
  1456. msgid "Debbugs Usertags"
  1457. msgstr ""
  1458. #. type: menuentry
  1459. #: guix-git/doc/contributing.texi:1233
  1460. msgid "Tag reports with custom labels."
  1461. msgstr ""
  1462. #. type: cindex
  1463. #: guix-git/doc/contributing.texi:1238
  1464. #, no-wrap
  1465. msgid "bug reports, tracking"
  1466. msgstr ""
  1467. #. type: cindex
  1468. #: guix-git/doc/contributing.texi:1239
  1469. #, no-wrap
  1470. msgid "patch submissions, tracking"
  1471. msgstr ""
  1472. #. type: cindex
  1473. #: guix-git/doc/contributing.texi:1240
  1474. #, no-wrap
  1475. msgid "issue tracking"
  1476. msgstr ""
  1477. #. type: cindex
  1478. #: guix-git/doc/contributing.texi:1241
  1479. #, no-wrap
  1480. msgid "Debbugs, issue tracking system"
  1481. msgstr ""
  1482. #. type: Plain text
  1483. #: guix-git/doc/contributing.texi:1248
  1484. 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})."
  1485. msgstr ""
  1486. #. type: Plain text
  1487. #: guix-git/doc/contributing.texi:1254
  1488. msgid "A web interface (actually @emph{two} web interfaces!) are available to browse issues:"
  1489. msgstr ""
  1490. #. type: itemize
  1491. #: guix-git/doc/contributing.texi:1263
  1492. 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;"
  1493. msgstr ""
  1494. #. type: itemize
  1495. #: guix-git/doc/contributing.texi:1265
  1496. msgid "@url{https://bugs.gnu.org/guix} lists bug reports;"
  1497. msgstr ""
  1498. #. type: itemize
  1499. #: guix-git/doc/contributing.texi:1267
  1500. msgid "@url{https://bugs.gnu.org/guix-patches} lists patch submissions."
  1501. msgstr ""
  1502. #. type: Plain text
  1503. #: guix-git/doc/contributing.texi:1272
  1504. 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}}."
  1505. msgstr ""
  1506. #. type: Plain text
  1507. #: guix-git/doc/contributing.texi:1275
  1508. msgid "If you use Emacs, you may find it more convenient to interact with issues using @file{debbugs.el}, which you can install with:"
  1509. msgstr ""
  1510. #. type: example
  1511. #: guix-git/doc/contributing.texi:1278
  1512. #, no-wrap
  1513. msgid "guix install emacs-debbugs\n"
  1514. msgstr ""
  1515. #. type: Plain text
  1516. #: guix-git/doc/contributing.texi:1281
  1517. msgid "For example, to list all open issues on @code{guix-patches}, hit:"
  1518. msgstr ""
  1519. #. type: example
  1520. #: guix-git/doc/contributing.texi:1284
  1521. #, no-wrap
  1522. msgid "@kbd{C-u} @kbd{M-x} debbugs-gnu @kbd{RET} @kbd{RET} guix-patches @kbd{RET} n y\n"
  1523. msgstr ""
  1524. #. type: Plain text
  1525. #: guix-git/doc/contributing.texi:1288
  1526. msgid "@xref{Top,,, debbugs-ug, Debbugs User Guide}, for more information on this nifty tool!"
  1527. msgstr ""
  1528. #. type: cindex
  1529. #: guix-git/doc/contributing.texi:1292
  1530. #, no-wrap
  1531. msgid "usertags, for debbugs"
  1532. msgstr ""
  1533. #. type: cindex
  1534. #: guix-git/doc/contributing.texi:1293
  1535. #, no-wrap
  1536. msgid "Debbugs usertags"
  1537. msgstr ""
  1538. #. type: Plain text
  1539. #: guix-git/doc/contributing.texi:1299
  1540. msgid "Debbugs provides a feature called @dfn{usertags} that allows any user to tag any bug with an arbitrary label. Bugs can be searched by usertag, so this is a handy way to organize bugs@footnote{The list of usertags is public information, and anyone can modify any user's list of usertags, so keep that in mind if you choose to use this feature.}."
  1541. msgstr ""
  1542. #. type: Plain text
  1543. #: guix-git/doc/contributing.texi:1305
  1544. msgid "For example, to view all the bug reports (or patches, in the case of @code{guix-patches}) tagged with the usertag @code{powerpc64le-linux} for the user @code{guix}, open a URL like the following in a web browser: @url{https://debbugs.gnu.org/cgi-bin/pkgreport.cgi?tag=powerpc64le-linux;users=guix}."
  1545. msgstr ""
  1546. #. type: Plain text
  1547. #: guix-git/doc/contributing.texi:1309
  1548. msgid "For more information on how to use usertags, please refer to the documentation for Debbugs or the documentation for whatever tool you use to interact with Debbugs."
  1549. msgstr ""
  1550. #. type: Plain text
  1551. #: guix-git/doc/contributing.texi:1314
  1552. msgid "In Guix, we are experimenting with usertags to keep track of architecture-specific issues. To facilitate collaboration, all our usertags are associated with the single user @code{guix}. The following usertags currently exist for that user:"
  1553. msgstr ""
  1554. #. type: item
  1555. #: guix-git/doc/contributing.texi:1317 guix-git/doc/guix.texi:535
  1556. #, no-wrap
  1557. msgid "powerpc64le-linux"
  1558. msgstr ""
  1559. #. type: table
  1560. #: guix-git/doc/contributing.texi:1325
  1561. msgid "The purpose of this usertag is to make it easy to find the issues that matter most for the @code{powerpc64le-linux} system type. Please assign this usertag to bugs or patches that affect @code{powerpc64le-linux} but not other system types. In addition, you may use it to identify issues that for some reason are particularly important for the @code{powerpc64le-linux} system type, even if the issue affects other system types, too."
  1562. msgstr ""
  1563. #. #-#-#-#-# contributing.pot (guix manual checkout) #-#-#-#-#
  1564. #. type: item
  1565. #. #-#-#-#-# guix.pot (guix manual checkout) #-#-#-#-#
  1566. #. type: cindex
  1567. #: guix-git/doc/contributing.texi:1326 guix-git/doc/guix.texi:3025
  1568. #: guix-git/doc/guix.texi:4713
  1569. #, no-wrap
  1570. msgid "reproducibility"
  1571. msgstr ""
  1572. #. type: table
  1573. #: guix-git/doc/contributing.texi:1330
  1574. msgid "For issues related to reproducibility. For example, it would be appropriate to assign this usertag to a bug report for a package that fails to build reproducibly."
  1575. msgstr ""
  1576. #. type: Plain text
  1577. #: guix-git/doc/contributing.texi:1337
  1578. msgid "If you're a committer and you want to add a usertag, just start using it with the @code{guix} user. If the usertag proves useful to you, consider updating this section of the manual so that others will know what your usertag means."
  1579. msgstr ""
  1580. #. type: cindex
  1581. #: guix-git/doc/contributing.texi:1341
  1582. #, no-wrap
  1583. msgid "commit access, for developers"
  1584. msgstr ""
  1585. #. type: Plain text
  1586. #: guix-git/doc/contributing.texi:1347
  1587. msgid "Everyone can contribute to Guix without having commit access (@pxref{Submitting Patches}). However, for frequent contributors, having write access to the repository can be convenient. Commit access should not be thought of as a ``badge of honor'' but rather as a responsibility a contributor is willing to take to help the project."
  1588. msgstr ""
  1589. #. type: Plain text
  1590. #: guix-git/doc/contributing.texi:1351
  1591. msgid "The following sections explain how to get commit access, how to be ready to push commits, and the policies and community expectations for commits pushed upstream."
  1592. msgstr ""
  1593. #. type: subsection
  1594. #: guix-git/doc/contributing.texi:1352
  1595. #, fuzzy, no-wrap
  1596. #| msgid "Commit Access"
  1597. msgid "Applying for Commit Access"
  1598. msgstr "Právo na úpravu"
  1599. #. type: Plain text
  1600. #: guix-git/doc/contributing.texi:1356
  1601. msgid "When you deem it necessary, consider applying for commit access by following these steps:"
  1602. msgstr ""
  1603. #. type: enumerate
  1604. #: guix-git/doc/contributing.texi:1365
  1605. 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."
  1606. msgstr ""
  1607. #. type: enumerate
  1608. #: guix-git/doc/contributing.texi:1371
  1609. 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''."
  1610. msgstr ""
  1611. #. type: enumerate
  1612. #: guix-git/doc/contributing.texi:1378
  1613. 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."
  1614. msgstr ""
  1615. #. type: enumerate
  1616. #: guix-git/doc/contributing.texi:1384
  1617. 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}):"
  1618. msgstr ""
  1619. #. type: example
  1620. #: guix-git/doc/contributing.texi:1387
  1621. #, no-wrap
  1622. msgid "digest-algo sha512\n"
  1623. msgstr ""
  1624. #. type: enumerate
  1625. #: guix-git/doc/contributing.texi:1392
  1626. msgid "Maintainers ultimately decide whether to grant you commit access, usually following your referrals' recommendation."
  1627. msgstr ""
  1628. #. type: cindex
  1629. #: guix-git/doc/contributing.texi:1394
  1630. #, no-wrap
  1631. msgid "OpenPGP, signed commits"
  1632. msgstr ""
  1633. #. type: enumerate
  1634. #: guix-git/doc/contributing.texi:1399
  1635. 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."
  1636. msgstr ""
  1637. #. type: quotation
  1638. #: guix-git/doc/contributing.texi:1400 guix-git/doc/guix.texi:16870
  1639. #, no-wrap
  1640. msgid "Important"
  1641. msgstr ""
  1642. #. type: quotation
  1643. #: guix-git/doc/contributing.texi:1402
  1644. msgid "Before you can push for the first time, maintainers must:"
  1645. msgstr ""
  1646. #. type: enumerate
  1647. #: guix-git/doc/contributing.texi:1406
  1648. msgid "add your OpenPGP key to the @code{keyring} branch;"
  1649. msgstr ""
  1650. #. type: enumerate
  1651. #: guix-git/doc/contributing.texi:1409
  1652. msgid "add your OpenPGP fingerprint to the @file{.guix-authorizations} file of the branch(es) you will commit to."
  1653. msgstr ""
  1654. #. type: enumerate
  1655. #: guix-git/doc/contributing.texi:1414
  1656. msgid "Make sure to read the rest of this section and... profit!"
  1657. msgstr ""
  1658. #. type: quotation
  1659. #: guix-git/doc/contributing.texi:1420
  1660. 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!"
  1661. msgstr ""
  1662. #. type: quotation
  1663. #: guix-git/doc/contributing.texi:1424
  1664. 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!"
  1665. msgstr ""
  1666. #. type: Plain text
  1667. #: guix-git/doc/contributing.texi:1431
  1668. 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:"
  1669. msgstr ""
  1670. #. type: example
  1671. #: guix-git/doc/contributing.texi:1434
  1672. #, no-wrap
  1673. msgid ""
  1674. "git config commit.gpgsign true\n"
  1675. "\n"
  1676. msgstr ""
  1677. #. type: example
  1678. #: guix-git/doc/contributing.texi:1437
  1679. #, no-wrap
  1680. msgid ""
  1681. "# Substitute the fingerprint of your public PGP key.\n"
  1682. "git config user.signingkey CABBA6EA1DC0FF33\n"
  1683. msgstr ""
  1684. #. type: Plain text
  1685. #: guix-git/doc/contributing.texi:1442
  1686. msgid "You can prevent yourself from accidentally pushing unsigned commits to Savannah by using the pre-push Git hook located at @file{etc/git/pre-push}:"
  1687. msgstr ""
  1688. #. type: example
  1689. #: guix-git/doc/contributing.texi:1445
  1690. #, no-wrap
  1691. msgid "cp etc/git/pre-push .git/hooks/pre-push\n"
  1692. msgstr ""
  1693. #. type: subsection
  1694. #: guix-git/doc/contributing.texi:1447
  1695. #, fuzzy, no-wrap
  1696. #| msgid "Commit Access"
  1697. msgid "Commit Policy"
  1698. msgstr "Právo na úpravu"
  1699. #. type: Plain text
  1700. #: guix-git/doc/contributing.texi:1452
  1701. 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})."
  1702. msgstr ""
  1703. #. type: Plain text
  1704. #: guix-git/doc/contributing.texi:1457
  1705. 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})."
  1706. msgstr ""
  1707. #. type: Plain text
  1708. #: guix-git/doc/contributing.texi:1466
  1709. 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}."
  1710. msgstr ""
  1711. #. type: Plain text
  1712. #: guix-git/doc/contributing.texi:1471
  1713. 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."
  1714. msgstr ""
  1715. #. type: Plain text
  1716. #: guix-git/doc/contributing.texi:1475
  1717. 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:"
  1718. msgstr ""
  1719. #. type: example
  1720. #: guix-git/doc/contributing.texi:1478
  1721. #, no-wrap
  1722. msgid "make check-channel-news\n"
  1723. msgstr ""
  1724. #. type: Plain text
  1725. #: guix-git/doc/contributing.texi:1484
  1726. 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."
  1727. msgstr ""
  1728. #. type: Plain text
  1729. #: guix-git/doc/contributing.texi:1487
  1730. msgid "That last part is subject to being adjusted, allowing individuals to commit directly on non-controversial changes on parts they’re familiar with."
  1731. msgstr ""
  1732. #. type: subsection
  1733. #: guix-git/doc/contributing.texi:1488
  1734. #, no-wrap
  1735. msgid "Addressing Issues"
  1736. msgstr ""
  1737. #. type: Plain text
  1738. #: guix-git/doc/contributing.texi:1499
  1739. msgid "Peer review (@pxref{Submitting Patches}) and tools such as @command{guix lint} (@pxref{Invoking guix lint}) and the test suite (@pxref{Running the Test Suite}) should catch issues before they are pushed. Yet, commits that ``break'' functionality might occasionally go through. When that happens, there are two priorities: mitigating the impact, and understanding what happened to reduce the chance of similar incidents in the future. The responsibility for both these things primarily lies with those involved, but like everything this is a group effort."
  1740. msgstr ""
  1741. #. type: Plain text
  1742. #: guix-git/doc/contributing.texi:1504
  1743. msgid "Some issues can directly affect all users---for instance because they make @command{guix pull} fail or break core functionality, because they break major packages (at build time or run time), or because they introduce known security vulnerabilities."
  1744. msgstr ""
  1745. #. type: cindex
  1746. #: guix-git/doc/contributing.texi:1505
  1747. #, no-wrap
  1748. msgid "reverting commits"
  1749. msgstr ""
  1750. #. type: Plain text
  1751. #: guix-git/doc/contributing.texi:1511
  1752. msgid "The people involved in authoring, reviewing, and pushing such commit(s) should be at the forefront to mitigate their impact in a timely fashion: by pushing a followup commit to fix it (if possible), or by reverting it to leave time to come up with a proper fix, and by communicating with other developers about the problem."
  1753. msgstr ""
  1754. #. type: Plain text
  1755. #: guix-git/doc/contributing.texi:1517
  1756. msgid "If these persons are unavailable to address the issue in time, other committers are entitled to revert the commit(s), explaining in the commit log and on the mailing list what the problem was, with the goal of leaving time to the original committer, reviewer(s), and author(s) to propose a way forward."
  1757. msgstr ""
  1758. #. type: Plain text
  1759. #: guix-git/doc/contributing.texi:1526
  1760. msgid "Once the problem has been dealt with, it is the responsibility of those involved to make sure the situation is understood. If you are working to understand what happened, focus on gathering information and avoid assigning any blame. Do ask those involved to describe what happened, do not ask them to explain the situation---this would implicitly blame them, which is unhelpful. Accountability comes from a consensus about the problem, learning from it and improving processes so that it's less likely to reoccur."
  1761. msgstr ""
  1762. #. type: subsection
  1763. #: guix-git/doc/contributing.texi:1527
  1764. #, no-wrap
  1765. msgid "Commit Revocation"
  1766. msgstr ""
  1767. #. type: Plain text
  1768. #: guix-git/doc/contributing.texi:1534
  1769. 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."
  1770. msgstr ""
  1771. #. type: Plain text
  1772. #: guix-git/doc/contributing.texi:1544
  1773. msgid "Maintainers@footnote{See @uref{https://guix.gnu.org/en/about} for the current list of maintainers. You can email them privately at @email{guix-maintainers@@gnu.org}.} may also revoke an individual's commit rights, as a last resort, if cooperation with the rest of the community has caused too much friction---even within the bounds of the project's code of conduct (@pxref{Contributing}). They would only do so after public or private discussion with the individual and a clear notice. Examples of behavior that hinders cooperation and could lead to such a decision include:"
  1774. msgstr ""
  1775. #. type: item
  1776. #: guix-git/doc/contributing.texi:1546
  1777. #, no-wrap
  1778. msgid "repeated violation of the commit policy stated above;"
  1779. msgstr ""
  1780. #. type: item
  1781. #: guix-git/doc/contributing.texi:1547
  1782. #, no-wrap
  1783. msgid "repeated failure to take peer criticism into account;"
  1784. msgstr ""
  1785. #. type: item
  1786. #: guix-git/doc/contributing.texi:1548
  1787. #, no-wrap
  1788. msgid "breaching trust through a series of grave incidents."
  1789. msgstr ""
  1790. #. type: Plain text
  1791. #: guix-git/doc/contributing.texi:1555
  1792. msgid "When maintainers resort to such a decision, they notify developers on @email{guix-devel@@gnu.org}; inquiries may be sent to @email{guix-maintainers@@gnu.org}. Depending on the situation, the individual may still be welcome to contribute."
  1793. msgstr ""
  1794. #. type: subsection
  1795. #: guix-git/doc/contributing.texi:1556
  1796. #, no-wrap
  1797. msgid "Helping Out"
  1798. msgstr ""
  1799. #. type: Plain text
  1800. #: guix-git/doc/contributing.texi:1563
  1801. 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!"
  1802. msgstr ""
  1803. #. type: cindex
  1804. #: guix-git/doc/contributing.texi:1567
  1805. #, no-wrap
  1806. msgid "update-guix-package, updating the guix package"
  1807. msgstr ""
  1808. #. type: Plain text
  1809. #: guix-git/doc/contributing.texi:1573
  1810. 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:"
  1811. msgstr ""
  1812. #. type: example
  1813. #: guix-git/doc/contributing.texi:1576
  1814. #, no-wrap
  1815. msgid "make update-guix-package\n"
  1816. msgstr ""
  1817. #. type: Plain text
  1818. #: guix-git/doc/contributing.texi:1583
  1819. 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."
  1820. msgstr ""
  1821. #. type: Plain text
  1822. #: guix-git/doc/contributing.texi:1587
  1823. 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:"
  1824. msgstr ""
  1825. #. type: example
  1826. #: guix-git/doc/contributing.texi:1590
  1827. #, no-wrap
  1828. msgid "./pre-inst-env guix build guix\n"
  1829. msgstr ""
  1830. #. type: Plain text
  1831. #: guix-git/doc/contributing.texi:1595
  1832. 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."
  1833. msgstr ""
  1834. #. type: Plain text
  1835. #: guix-git/doc/contributing.texi:1600
  1836. 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."
  1837. msgstr ""
  1838. #. type: cindex
  1839. #: guix-git/doc/contributing.texi:1601
  1840. #, no-wrap
  1841. msgid "translation"
  1842. msgstr ""
  1843. #. type: cindex
  1844. #: guix-git/doc/contributing.texi:1602
  1845. #, no-wrap
  1846. msgid "l10n"
  1847. msgstr ""
  1848. #. type: cindex
  1849. #: guix-git/doc/contributing.texi:1603
  1850. #, no-wrap
  1851. msgid "i18n"
  1852. msgstr ""
  1853. #. type: cindex
  1854. #: guix-git/doc/contributing.texi:1604
  1855. #, no-wrap
  1856. msgid "native language support"
  1857. msgstr ""
  1858. #. type: Plain text
  1859. #: guix-git/doc/contributing.texi:1614
  1860. msgid "Writing code and packages is not the only way to provide a meaningful contribution to Guix. Translating to a language you speak is another example of a valuable contribution you can make. This section is designed to describe the translation process. It gives you advice on how you can get involved, what can be translated, what mistakes you should avoid and what we can do to help you!"
  1861. msgstr ""
  1862. #. type: Plain text
  1863. #: guix-git/doc/contributing.texi:1620
  1864. msgid "Guix is a big project that has multiple components that can be translated. We coordinate the translation effort on a @uref{https://translate.fedoraproject.org/projects/guix/,Weblate instance} hosted by our friends at Fedora. You will need an account to submit translations."
  1865. msgstr ""
  1866. #. type: Plain text
  1867. #: guix-git/doc/contributing.texi:1627
  1868. msgid "Some of the software packaged in Guix also contain translations. We do not host a translation platform for them. If you want to translate a package provided by Guix, you should contact their developers or find the information on their website. As an example, you can find the homepage of the @code{hello} package by typing @code{guix show hello}. On the ``homepage'' line, you will see @url{https://www.gnu.org/software/hello/} as the homepage."
  1869. msgstr ""
  1870. #. type: Plain text
  1871. #: guix-git/doc/contributing.texi:1632
  1872. msgid "Many GNU and non-GNU packages can be translated on the @uref{https://translationproject.org,Translation Project}. Some projects with multiple components have their own platform. For instance, GNOME has its own platform, @uref{https://l10n.gnome.org/,Damned Lies}."
  1873. msgstr ""
  1874. #. type: Plain text
  1875. #: guix-git/doc/contributing.texi:1634
  1876. msgid "Guix has five components hosted on Weblate."
  1877. msgstr ""
  1878. #. type: item
  1879. #: guix-git/doc/contributing.texi:1636
  1880. #, no-wrap
  1881. msgid "@code{guix} contains all the strings from the Guix software (the"
  1882. msgstr ""
  1883. #. type: itemize
  1884. #: guix-git/doc/contributing.texi:1638
  1885. msgid "guided system installer, the package manager, etc), excluding packages."
  1886. msgstr ""
  1887. #. type: item
  1888. #: guix-git/doc/contributing.texi:1638
  1889. #, no-wrap
  1890. msgid "@code{packages} contains the synopsis (single-sentence description"
  1891. msgstr ""
  1892. #. type: itemize
  1893. #: guix-git/doc/contributing.texi:1640
  1894. msgid "of a package) and description (longer description) of packages in Guix."
  1895. msgstr ""
  1896. #. type: item
  1897. #: guix-git/doc/contributing.texi:1640
  1898. #, no-wrap
  1899. msgid "@code{website} contains the official Guix website, except for"
  1900. msgstr ""
  1901. #. type: itemize
  1902. #: guix-git/doc/contributing.texi:1642
  1903. msgid "blog posts and multimedia content."
  1904. msgstr ""
  1905. #. type: item
  1906. #: guix-git/doc/contributing.texi:1642
  1907. #, no-wrap
  1908. msgid "@code{documentation-manual} corresponds to this manual."
  1909. msgstr ""
  1910. #. type: item
  1911. #: guix-git/doc/contributing.texi:1643
  1912. #, no-wrap
  1913. msgid "@code{documentation-cookbook} is the component for the cookbook."
  1914. msgstr ""
  1915. #. type: subsubheading
  1916. #: guix-git/doc/contributing.texi:1646
  1917. #, no-wrap
  1918. msgid "General Directions"
  1919. msgstr ""
  1920. #. type: Plain text
  1921. #: guix-git/doc/contributing.texi:1654
  1922. msgid "Once you get an account, you should be able to select a component from @uref{https://translate.fedoraproject.org/projects/guix/,the guix project}, and select a language. If your language does not appear in the list, go to the bottom and click on the ``Start new translation'' button. Select the language you want to translate to from the list, to start your new translation."
  1923. msgstr ""
  1924. #. type: Plain text
  1925. #: guix-git/doc/contributing.texi:1659
  1926. msgid "Like lots of other free software packages, Guix uses @uref{https://www.gnu.org/software/gettext,GNU Gettext} for its translations, with which translatable strings are extracted from the source code to so-called PO files."
  1927. msgstr ""
  1928. #. type: Plain text
  1929. #: guix-git/doc/contributing.texi:1670
  1930. msgid "Even though PO files are text files, changes should not be made with a text editor but with PO editing software. Weblate integrates PO editing functionality. Alternatively, translators can use any of various free-software tools for filling in translations, of which @uref{https://poedit.net/,Poedit} is one example, and (after logging in) @uref{https://docs.weblate.org/en/latest/user/files.html,upload} the changed file. There is also a special @uref{https://www.emacswiki.org/emacs/PoMode,PO editing mode} for users of GNU Emacs. Over time translators find out what software they are happy with and what features they need."
  1931. msgstr ""
  1932. #. type: Plain text
  1933. #: guix-git/doc/contributing.texi:1675
  1934. msgid "On Weblate, you will find various links to the editor, that will show various subsets (or all) of the strings. Have a look around and at the @uref{https://docs.weblate.org/en/latest/,documentation} to familiarize yourself with the platform."
  1935. msgstr ""
  1936. #. type: subsubheading
  1937. #: guix-git/doc/contributing.texi:1676
  1938. #, no-wrap
  1939. msgid "Translation Components"
  1940. msgstr ""
  1941. #. type: Plain text
  1942. #: guix-git/doc/contributing.texi:1681
  1943. msgid "In this section, we provide more detailed guidance on the translation process, as well as details on what you should or should not do. When in doubt, please contact us, we will be happy to help!"
  1944. msgstr ""
  1945. #. type: item
  1946. #: guix-git/doc/contributing.texi:1683 guix-git/doc/guix.texi:8845
  1947. #, no-wrap
  1948. msgid "guix"
  1949. msgstr ""
  1950. #. type: table
  1951. #: guix-git/doc/contributing.texi:1688
  1952. msgid "Guix is written in the Guile programming language, and some strings contain special formatting that is interpreted by Guile. These special formatting should be highlighted by Weblate. They start with @code{~} followed by one or more characters."
  1953. msgstr ""
  1954. #. type: table
  1955. #: guix-git/doc/contributing.texi:1697
  1956. msgid "When printing the string, Guile replaces the special formatting symbols with actual values. For instance, the string @samp{ambiguous package specification `~a'} would be substituted to contain said package specification instead of @code{~a}. To properly translate this string, you must keep the formatting code in your translation, although you can place it where it makes sense in your language. For instance, the French translation says @samp{spécification du paquet « ~a » ambiguë} because the adjective needs to be placed in the end of the sentence."
  1957. msgstr ""
  1958. #. type: table
  1959. #: guix-git/doc/contributing.texi:1701
  1960. msgid "If there are multiple formatting symbols, make sure to respect the order. Guile does not know in which order you intended the string to be read, so it will substitute the symbols in the same order as the English sentence."
  1961. msgstr ""
  1962. #. type: table
  1963. #: guix-git/doc/contributing.texi:1709
  1964. msgid "As an example, you cannot translate @samp{package '~a' has been superseded by '~a'} by @samp{'~a' superseeds package '~a'}, because the meaning would be reversed. If @var{foo} is superseded by @var{bar}, the translation would read @samp{'foo' superseeds package 'bar'}. To work around this problem, it is possible to use more advanced formatting to select a given piece of data, instead of following the default English order. @xref{Formatted Output,,, guile, GNU Guile Reference Manual}, for more information on formatting in Guile."
  1965. msgstr ""
  1966. #. #-#-#-#-# contributing.pot (guix manual checkout) #-#-#-#-#
  1967. #. type: item
  1968. #. #-#-#-#-# guix.pot (guix manual checkout) #-#-#-#-#
  1969. #. type: cindex
  1970. #: guix-git/doc/contributing.texi:1710 guix-git/doc/guix.texi:2943
  1971. #, no-wrap
  1972. msgid "packages"
  1973. msgstr ""
  1974. #. type: table
  1975. #: guix-git/doc/contributing.texi:1715
  1976. msgid "Package descriptions occasionally contain Texinfo markup (@pxref{Synopses and Descriptions}). Texinfo markup looks like @samp{@@code@{rm -rf@}}, @samp{@@emph@{important@}}, etc. When translating, please leave markup as is."
  1977. msgstr ""
  1978. #. type: table
  1979. #: guix-git/doc/contributing.texi:1724
  1980. msgid "The characters after ``@@'' form the name of the markup, and the text between ``@{'' and ``@}'' is its content. In general, you should not translate the content of markup like @code{@@code}, as it contains literal code that do not change with language. You can translate the content of formatting markup such as @code{@@emph}, @code{@@i}, @code{@@itemize}, @code{@@item}. However, do not translate the name of the markup, or it will not be recognized. Do not translate the word after @code{@@end}, it is the name of the markup that is closed at this position (e.g.@: @code{@@itemize ... @@end itemize})."
  1981. msgstr ""
  1982. #. type: item
  1983. #: guix-git/doc/contributing.texi:1725
  1984. #, no-wrap
  1985. msgid "documentation-manual and documentation-cookbook"
  1986. msgstr ""
  1987. #. type: table
  1988. #: guix-git/doc/contributing.texi:1729
  1989. msgid "The first step to ensure a successful translation of the manual is to find and translate the following strings @emph{first}:"
  1990. msgstr ""
  1991. #. type: item
  1992. #: guix-git/doc/contributing.texi:1731
  1993. #, no-wrap
  1994. msgid "@code{version.texi}: Translate this string as @code{version-xx.texi},"
  1995. msgstr ""
  1996. #. type: itemize
  1997. #: guix-git/doc/contributing.texi:1734
  1998. msgid "where @code{xx} is your language code (the one shown in the URL on weblate)."
  1999. msgstr ""
  2000. #. type: item
  2001. #: guix-git/doc/contributing.texi:1734
  2002. #, no-wrap
  2003. msgid "@code{contributing.texi}: Translate this string as"
  2004. msgstr ""
  2005. #. type: itemize
  2006. #: guix-git/doc/contributing.texi:1736
  2007. msgid "@code{contributing.xx.texi}, where @code{xx} is the same language code."
  2008. msgstr ""
  2009. #. type: item
  2010. #: guix-git/doc/contributing.texi:1736
  2011. #, no-wrap
  2012. msgid "@code{Top}: Do not translate this string, it is important for Texinfo."
  2013. msgstr ""
  2014. #. type: itemize
  2015. #: guix-git/doc/contributing.texi:1739
  2016. msgid "If you translate it, the document will be empty (missing a Top node). Please look for it, and register @code{Top} as its translation."
  2017. msgstr ""
  2018. #. type: table
  2019. #: guix-git/doc/contributing.texi:1744
  2020. msgid "Translating these strings first ensure we can include your translation in the guix repository without breaking the make process or the @command{guix pull} machinery."
  2021. msgstr ""
  2022. #. type: table
  2023. #: guix-git/doc/contributing.texi:1751
  2024. msgid "The manual and the cookbook both use Texinfo. As for @code{packages}, please keep Texinfo markup as is. There are more possible markup types in the manual than in the package descriptions. In general, do not translate the content of @code{@@code}, @code{@@file}, @code{@@var}, @code{@@value}, etc. You should translate the content of formatting markup such as @code{@@emph}, @code{@@i}, etc."
  2025. msgstr ""
  2026. #. type: table
  2027. #: guix-git/doc/contributing.texi:1759
  2028. msgid "The manual contains sections that can be referred to by name by @code{@@ref}, @code{@@xref} and @code{@@pxref}. We have a mechanism in place so you do not have to translate their content. If you keep the English title, we will automatically replace it with your translation of that title. This ensures that Texinfo will always be able to find the node. If you decide to change the translation of the title, the references will automatically be updated and you will not have to update them all yourself."
  2029. msgstr ""
  2030. #. type: table
  2031. #: guix-git/doc/contributing.texi:1769
  2032. msgid "When translating references from the cookbook to the manual, you need to replace the name of the manual and the name of the section. For instance, to translate @code{@@pxref@{Defining Packages,,, guix, GNU Guix Reference Manual@}}, you would replace @code{Defining Packages} with the title of that section in the translated manual @emph{only} if that title is translated. If the title is not translated in your language yet, do not translate it here, or the link will be broken. Replace @code{guix} with @code{guix.xx} where @code{xx} is your language code. @code{GNU Guix Reference Manual} is the text of the link. You can translate it however you wish."
  2033. msgstr ""
  2034. #. type: item
  2035. #: guix-git/doc/contributing.texi:1770
  2036. #, no-wrap
  2037. msgid "website"
  2038. msgstr ""
  2039. #. type: table
  2040. #: guix-git/doc/contributing.texi:1777
  2041. msgid "The website pages are written using SXML, an s-expression version of HTML, the basic language of the web. We have a process to extract translatable strings from the source, and replace complex s-expressions with a more familiar XML markup, where each markup is numbered. Translators can arbitrarily change the ordering, as in the following example."
  2042. msgstr ""
  2043. #. type: example
  2044. #: guix-git/doc/contributing.texi:1784
  2045. #, no-wrap
  2046. msgid ""
  2047. "#. TRANSLATORS: Defining Packages is a section name\n"
  2048. "#. in the English (en) manual.\n"
  2049. "#: apps/base/templates/about.scm:64\n"
  2050. "msgid \"Packages are <1>defined<1.1>en</1.1><1.2>Defining-Packages.html</1.2></1> as native <2>Guile</2> modules.\"\n"
  2051. "msgstr \"Pakete werden als reine <2>Guile</2>-Module <1>definiert<1.1>de</1.1><1.2>Pakete-definieren.html</1.2></1>.\"\n"
  2052. msgstr ""
  2053. #. type: table
  2054. #: guix-git/doc/contributing.texi:1787
  2055. msgid "Note that you need to include the same markups. You cannot skip any."
  2056. msgstr ""
  2057. #. type: Plain text
  2058. #: guix-git/doc/contributing.texi:1795
  2059. msgid "In case you make a mistake, the component might fail to build properly with your language, or even make guix pull fail. To prevent that, we have a process in place to check the content of the files before pushing to our repository. We will not be able to update the translation for your language in Guix, so we will notify you (through weblate and/or by email) so you get a chance to fix the issue."
  2060. msgstr ""
  2061. #. type: subsubheading
  2062. #: guix-git/doc/contributing.texi:1796
  2063. #, no-wrap
  2064. msgid "Outside of Weblate"
  2065. msgstr ""
  2066. #. type: Plain text
  2067. #: guix-git/doc/contributing.texi:1799
  2068. msgid "Currently, some parts of Guix cannot be translated on Weblate, help wanted!"
  2069. msgstr ""
  2070. #. type: item
  2071. #: guix-git/doc/contributing.texi:1801
  2072. #, no-wrap
  2073. msgid "@command{guix pull} news can be translated in @file{news.scm}, but is not"
  2074. msgstr ""
  2075. #. type: itemize
  2076. #: guix-git/doc/contributing.texi:1807
  2077. msgid "available from Weblate. If you want to provide a translation, you can prepare a patch as described above, or simply send us your translation with the name of the news entry you translated and your language. @xref{Writing Channel News}, for more information about channel news."
  2078. msgstr ""
  2079. #. type: item
  2080. #: guix-git/doc/contributing.texi:1807
  2081. #, no-wrap
  2082. msgid "Guix blog posts cannot currently be translated."
  2083. msgstr ""
  2084. #. type: item
  2085. #: guix-git/doc/contributing.texi:1808
  2086. #, no-wrap
  2087. msgid "The installer script (for foreign distributions) is entirely in English."
  2088. msgstr ""
  2089. #. type: item
  2090. #: guix-git/doc/contributing.texi:1809
  2091. #, no-wrap
  2092. msgid "Some of the libraries Guix uses cannot be translated or are translated"
  2093. msgstr ""
  2094. #. type: itemize
  2095. #: guix-git/doc/contributing.texi:1811
  2096. msgid "outside of the Guix project. Guile itself is not internationalized."
  2097. msgstr ""
  2098. #. type: item
  2099. #: guix-git/doc/contributing.texi:1811
  2100. #, no-wrap
  2101. msgid "Other manuals linked from this manual or the cookbook might not be"
  2102. msgstr ""
  2103. #. type: itemize
  2104. #: guix-git/doc/contributing.texi:1813
  2105. msgid "translated."
  2106. msgstr ""
  2107. #. type: subsubheading
  2108. #: guix-git/doc/contributing.texi:1815
  2109. #, no-wrap
  2110. msgid "Translation Infrastructure"
  2111. msgstr ""
  2112. #. type: Plain text
  2113. #: guix-git/doc/contributing.texi:1826
  2114. msgid "Weblate is backed by a git repository from which it discovers new strings to translate and pushes new and updated translations. Normally, it would be enough to give it commit access to our repositories. However, we decided to use a separate repository for two reasons. First, we would have to give Weblate commit access and authorize its signing key, but we do not trust it in the same way we trust guix developers, especially since we do not manage the instance ourselves. Second, if translators mess something up, it can break the generation of the website and/or guix pull for all our users, independently of their language."
  2115. msgstr ""
  2116. #. type: Plain text
  2117. #: guix-git/doc/contributing.texi:1830
  2118. msgid "For these reasons, we use a dedicated repository to host translations, and we synchronize it with our guix and artworks repositories after checking no issue was introduced in the translation."
  2119. msgstr ""
  2120. #. type: Plain text
  2121. #: guix-git/doc/contributing.texi:1836
  2122. msgid "Developers can download the latest PO files from weblate in the Guix repository by running the @command{make download-po} command. It will automatically download the latest files from weblate, reformat them to a canonical form, and check they do not contain issues. The manual needs to be built again to check for additional issues that might crash Texinfo."
  2123. msgstr ""
  2124. #. type: Plain text
  2125. #: guix-git/doc/contributing.texi:1840
  2126. msgid "Before pushing new translation files, developers should add them to the make machinery so the translations are actually available. The process differs for the various components."
  2127. msgstr ""
  2128. #. type: item
  2129. #: guix-git/doc/contributing.texi:1842
  2130. #, no-wrap
  2131. msgid "New po files for the @code{guix} and @code{packages} components must"
  2132. msgstr ""
  2133. #. type: itemize
  2134. #: guix-git/doc/contributing.texi:1845
  2135. msgid "be registered by adding the new language to @file{po/guix/LINGUAS} or @file{po/packages/LINGUAS}."
  2136. msgstr ""
  2137. #. type: item
  2138. #: guix-git/doc/contributing.texi:1845
  2139. #, no-wrap
  2140. msgid "New po files for the @code{documentation-manual} component must be"
  2141. msgstr ""
  2142. #. type: itemize
  2143. #: guix-git/doc/contributing.texi:1851
  2144. msgid "registered by adding the file name to @code{DOC_PO_FILES} in @file{po/doc/local.mk}, the generated @file{%D%/guix.xx.texi} manual to @code{info_TEXINFOS} in @file{doc/local.mk} and the generated @file{%D%/guix.xx.texi} and @file{%D%/contributing.xx.texi} to @code{TRANSLATED_INFO} also in @file{doc/local.mk}."
  2145. msgstr ""
  2146. #. type: item
  2147. #: guix-git/doc/contributing.texi:1851
  2148. #, no-wrap
  2149. msgid "New po files for the @code{documentation-cookbook} component must be"
  2150. msgstr ""
  2151. #. type: itemize
  2152. #: guix-git/doc/contributing.texi:1857
  2153. msgid "registered by adding the file name to @code{DOC_COOKBOOK_PO_FILES} in @file{po/doc/local.mk}, the generated @file{%D%/guix-cookbook.xx.texi} manual to @code{info_TEXINFOS} in @file{doc/local.mk} and the generated @file{%D%/guix-cookbook.xx.texi} to @code{TRANSLATED_INFO} also in @file{doc/local.mk}."
  2154. msgstr ""
  2155. #. type: item
  2156. #: guix-git/doc/contributing.texi:1857
  2157. #, no-wrap
  2158. msgid "New po files for the @code{website} component must be added to the"
  2159. msgstr ""
  2160. #. type: itemize
  2161. #: guix-git/doc/contributing.texi:1862
  2162. msgid "@code{guix-artwork} repository, in @file{website/po/}. @file{website/po/LINGUAS} and @file{website/po/ietf-tags.scm} must be updated accordingly (see @file{website/i18n-howto.txt} for more information on the process)."
  2163. msgstr ""
  2164. #. type: Plain text
  2165. #: guix-git/doc/guix.texi:7
  2166. msgid "@documentencoding UTF-8"
  2167. msgstr ""
  2168. "@documentencoding UTF-8\n"
  2169. "@documentlanguage sk"
  2170. #. type: title
  2171. #: guix-git/doc/guix.texi:7 guix-git/doc/guix.texi:126
  2172. #, no-wrap
  2173. msgid "GNU Guix Reference Manual"
  2174. msgstr ""
  2175. #. type: include
  2176. #: guix-git/doc/guix.texi:10
  2177. #, no-wrap
  2178. msgid "version.texi"
  2179. msgstr "version-sk.texi"
  2180. #. type: copying
  2181. #: guix-git/doc/guix.texi:99
  2182. msgid "Copyright @copyright{} 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021 Ludovic Courtès@* Copyright @copyright{} 2013, 2014, 2016 Andreas Enge@* Copyright @copyright{} 2013 Nikita Karetnikov@* Copyright @copyright{} 2014, 2015, 2016 Alex Kost@* Copyright @copyright{} 2015, 2016 Mathieu Lirzin@* Copyright @copyright{} 2014 Pierre-Antoine Rault@* Copyright @copyright{} 2015 Taylan Ulrich Bayırlı/Kammer@* Copyright @copyright{} 2015, 2016, 2017, 2019, 2020, 2021 Leo Famulari@* Copyright @copyright{} 2015, 2016, 2017, 2018, 2019, 2020 Ricardo Wurmus@* Copyright @copyright{} 2016 Ben Woodcroft@* Copyright @copyright{} 2016, 2017, 2018, 2021 Chris Marusich@* Copyright @copyright{} 2016, 2017, 2018, 2019, 2020, 2021 Efraim Flashner@* Copyright @copyright{} 2016 John Darrington@* Copyright @copyright{} 2016, 2017 Nikita Gillmann@* Copyright @copyright{} 2016, 2017, 2018, 2019, 2020 Jan Nieuwenhuizen@* Copyright @copyright{} 2016, 2017, 2018, 2019, 2020, 2021 Julien Lepiller@* Copyright @copyright{} 2016 Alex ter Weele@* Copyright @copyright{} 2016, 2017, 2018, 2019, 2020, 2021 Christopher Baines@* Copyright @copyright{} 2017, 2018, 2019 Clément Lassieur@* Copyright @copyright{} 2017, 2018, 2020, 2021 Mathieu Othacehe@* Copyright @copyright{} 2017 Federico Beffa@* Copyright @copyright{} 2017, 2018 Carlo Zancanaro@* Copyright @copyright{} 2017 Thomas Danckaert@* Copyright @copyright{} 2017 humanitiesNerd@* Copyright @copyright{} 2017, 2021 Christine Lemmer-Webber@* Copyright @copyright{} 2017, 2018, 2019, 2020 Marius Bakke@* Copyright @copyright{} 2017, 2019, 2020 Hartmut Goebel@* Copyright @copyright{} 2017, 2019, 2020, 2021 Maxim Cournoyer@* Copyright @copyright{} 2017, 2018, 2019, 2020, 2021 Tobias Geerinckx-Rice@* Copyright @copyright{} 2017 George Clemmer@* Copyright @copyright{} 2017 Andy Wingo@* Copyright @copyright{} 2017, 2018, 2019, 2020 Arun Isaac@* Copyright @copyright{} 2017 nee@* Copyright @copyright{} 2018 Rutger Helling@* Copyright @copyright{} 2018, 2021 Oleg Pykhalov@* Copyright @copyright{} 2018 Mike Gerwitz@* Copyright @copyright{} 2018 Pierre-Antoine Rouby@* Copyright @copyright{} 2018, 2019 Gábor Boskovits@* Copyright @copyright{} 2018, 2019, 2020 Florian Pelz@* Copyright @copyright{} 2018 Laura Lazzati@* Copyright @copyright{} 2018 Alex Vong@* Copyright @copyright{} 2019 Josh Holland@* Copyright @copyright{} 2019, 2020 Diego Nicola Barbato@* Copyright @copyright{} 2019 Ivan Petkov@* Copyright @copyright{} 2019 Jakob L. Kreuze@* Copyright @copyright{} 2019 Kyle Andrews@* Copyright @copyright{} 2019 Alex Griffin@* Copyright @copyright{} 2019, 2020, 2021 Guillaume Le Vaillant@* Copyright @copyright{} 2020 Leo Prikler@* Copyright @copyright{} 2019, 2020 Simon Tournier@* Copyright @copyright{} 2020 Wiktor Żelazny@* Copyright @copyright{} 2020 Damien Cassou@* Copyright @copyright{} 2020 Jakub Kądziołka@* Copyright @copyright{} 2020 Jack Hill@* Copyright @copyright{} 2020 Naga Malleswari@* Copyright @copyright{} 2020, 2021 Brice Waegeneire@* Copyright @copyright{} 2020 R Veera Kumar@* Copyright @copyright{} 2020 Pierre Langlois@* Copyright @copyright{} 2020 pinoaffe@* Copyright @copyright{} 2020 André Batista@* Copyright @copyright{} 2020, 2021 Alexandru-Sergiu Marton@* Copyright @copyright{} 2020 raingloom@* Copyright @copyright{} 2020 Daniel Brooks@* Copyright @copyright{} 2020 John Soo@* Copyright @copyright{} 2020 Jonathan Brielmaier@* Copyright @copyright{} 2020 Edgar Vincent@* Copyright @copyright{} 2021 Maxime Devos@* Copyright @copyright{} 2021 B. Wilson@* Copyright @copyright{} 2021 Xinglu Chen@* Copyright @copyright{} 2021 Raghav Gururajan@* Copyright @copyright{} 2021 Domagoj Stolfa@* Copyright @copyright{} 2021 Hui Lu@* Copyright @copyright{} 2021 pukkamustard@* Copyright @copyright{} 2021 Alice Brenon@*"
  2183. msgstr ""
  2184. #. type: copying
  2185. #: guix-git/doc/guix.texi:106
  2186. 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''."
  2187. msgstr "Tento dokument môžete kopírovať, ďalej šíriť a/alebo upravovať pod podmienkami licencie GNU Free Documentation License vo verzii 1.3 alebo v akejkoľvek novšej verzii, ktorú vydáva Free Software Foundation; bez nemenných oddielov, úvodnej strany a propagačného textu. Kópia tejto licencie je priložená v oddiele „GNU Free Documentation License“."
  2188. #. type: dircategory
  2189. #: guix-git/doc/guix.texi:108
  2190. #, no-wrap
  2191. msgid "System administration"
  2192. msgstr "Správa systému"
  2193. #. type: menuentry
  2194. #: guix-git/doc/guix.texi:116
  2195. msgid "Guix: (guix)"
  2196. msgstr ""
  2197. #. type: menuentry
  2198. #: guix-git/doc/guix.texi:116
  2199. msgid "Manage installed software and system configuration."
  2200. msgstr ""
  2201. #. type: menuentry
  2202. #: guix-git/doc/guix.texi:116
  2203. msgid "guix package: (guix)Invoking guix package"
  2204. msgstr ""
  2205. #. type: menuentry
  2206. #: guix-git/doc/guix.texi:116
  2207. msgid "Installing, removing, and upgrading packages."
  2208. msgstr ""
  2209. #. type: menuentry
  2210. #: guix-git/doc/guix.texi:116
  2211. msgid "guix gc: (guix)Invoking guix gc"
  2212. msgstr ""
  2213. #. type: menuentry
  2214. #: guix-git/doc/guix.texi:116
  2215. msgid "Reclaiming unused disk space."
  2216. msgstr ""
  2217. #. type: menuentry
  2218. #: guix-git/doc/guix.texi:116
  2219. msgid "guix pull: (guix)Invoking guix pull"
  2220. msgstr ""
  2221. #. type: menuentry
  2222. #: guix-git/doc/guix.texi:116
  2223. msgid "Update the list of available packages."
  2224. msgstr ""
  2225. #. type: menuentry
  2226. #: guix-git/doc/guix.texi:116
  2227. msgid "guix system: (guix)Invoking guix system"
  2228. msgstr ""
  2229. #. type: menuentry
  2230. #: guix-git/doc/guix.texi:116
  2231. msgid "Manage the operating system configuration."
  2232. msgstr ""
  2233. #. type: menuentry
  2234. #: guix-git/doc/guix.texi:116
  2235. msgid "guix deploy: (guix)Invoking guix deploy"
  2236. msgstr ""
  2237. #. type: menuentry
  2238. #: guix-git/doc/guix.texi:116
  2239. msgid "Manage operating system configurations for remote hosts."
  2240. msgstr ""
  2241. #. type: dircategory
  2242. #: guix-git/doc/guix.texi:118
  2243. #, no-wrap
  2244. msgid "Software development"
  2245. msgstr ""
  2246. #. type: menuentry
  2247. #: guix-git/doc/guix.texi:123
  2248. msgid "guix environment: (guix)Invoking guix environment"
  2249. msgstr ""
  2250. #. type: menuentry
  2251. #: guix-git/doc/guix.texi:123
  2252. msgid "Building development environments with Guix."
  2253. msgstr ""
  2254. #. type: menuentry
  2255. #: guix-git/doc/guix.texi:123
  2256. msgid "guix build: (guix)Invoking guix build"
  2257. msgstr ""
  2258. #. type: menuentry
  2259. #: guix-git/doc/guix.texi:123
  2260. msgid "Building packages."
  2261. msgstr ""
  2262. #. type: menuentry
  2263. #: guix-git/doc/guix.texi:123
  2264. msgid "guix pack: (guix)Invoking guix pack"
  2265. msgstr ""
  2266. #. type: menuentry
  2267. #: guix-git/doc/guix.texi:123
  2268. msgid "Creating binary bundles."
  2269. msgstr ""
  2270. #. type: subtitle
  2271. #: guix-git/doc/guix.texi:127
  2272. #, no-wrap
  2273. msgid "Using the GNU Guix Functional Package Manager"
  2274. msgstr ""
  2275. #. type: author
  2276. #: guix-git/doc/guix.texi:128
  2277. #, no-wrap
  2278. msgid "The GNU Guix Developers"
  2279. msgstr "Vývojári GNU Guix"
  2280. #. type: titlepage
  2281. #: guix-git/doc/guix.texi:134
  2282. msgid "Edition @value{EDITION} @* @value{UPDATED} @*"
  2283. msgstr ""
  2284. #. type: node
  2285. #: guix-git/doc/guix.texi:141
  2286. #, no-wrap
  2287. msgid "Top"
  2288. msgstr "Top"
  2289. #. type: top
  2290. #: guix-git/doc/guix.texi:142
  2291. #, no-wrap
  2292. msgid "GNU Guix"
  2293. msgstr ""
  2294. #. type: Plain text
  2295. #: guix-git/doc/guix.texi:146
  2296. msgid "This document describes GNU Guix version @value{VERSION}, a functional package management tool written for the GNU system."
  2297. msgstr ""
  2298. #. You can replace the following paragraph with information on
  2299. #. type: Plain text
  2300. #: guix-git/doc/guix.texi:158
  2301. msgid "This manual is also available in Simplified Chinese (@pxref{Top,,, guix.zh_CN, GNU Guix参考手册}), French (@pxref{Top,,, guix.fr, Manuel de référence de GNU Guix}), German (@pxref{Top,,, guix.de, Referenzhandbuch zu GNU Guix}), Spanish (@pxref{Top,,, guix.es, Manual de referencia de GNU Guix}), and Russian (@pxref{Top,,, guix.ru, Руководство GNU Guix}). If you would like to translate it in your native language, consider joining @uref{https://translate.fedoraproject.org/projects/guix/documentation-manual, Weblate} (@pxref{Translating Guix})."
  2302. msgstr ""
  2303. #. type: chapter
  2304. #: guix-git/doc/guix.texi:176 guix-git/doc/guix.texi:186
  2305. #: guix-git/doc/guix.texi:387 guix-git/doc/guix.texi:388
  2306. #, no-wrap
  2307. msgid "Introduction"
  2308. msgstr ""
  2309. #. type: menuentry
  2310. #: guix-git/doc/guix.texi:176
  2311. msgid "What is Guix about?"
  2312. msgstr ""
  2313. #. type: chapter
  2314. #: guix-git/doc/guix.texi:176 guix-git/doc/guix.texi:191
  2315. #: guix-git/doc/guix.texi:568 guix-git/doc/guix.texi:569
  2316. #, no-wrap
  2317. msgid "Installation"
  2318. msgstr ""
  2319. #. type: menuentry
  2320. #: guix-git/doc/guix.texi:176
  2321. msgid "Installing Guix."
  2322. msgstr ""
  2323. #. type: chapter
  2324. #: guix-git/doc/guix.texi:176 guix-git/doc/guix.texi:207
  2325. #: guix-git/doc/guix.texi:2015 guix-git/doc/guix.texi:2016
  2326. #, no-wrap
  2327. msgid "System Installation"
  2328. msgstr ""
  2329. #. type: menuentry
  2330. #: guix-git/doc/guix.texi:176
  2331. msgid "Installing the whole operating system."
  2332. msgstr ""
  2333. #. type: chapter
  2334. #: guix-git/doc/guix.texi:176 guix-git/doc/guix.texi:2732
  2335. #: guix-git/doc/guix.texi:2733
  2336. #, no-wrap
  2337. msgid "Getting Started"
  2338. msgstr ""
  2339. #. type: menuentry
  2340. #: guix-git/doc/guix.texi:176
  2341. msgid "Your first steps."
  2342. msgstr ""
  2343. #. type: chapter
  2344. #: guix-git/doc/guix.texi:176 guix-git/doc/guix.texi:224
  2345. #: guix-git/doc/guix.texi:2940 guix-git/doc/guix.texi:2941
  2346. #, no-wrap
  2347. msgid "Package Management"
  2348. msgstr ""
  2349. #. type: menuentry
  2350. #: guix-git/doc/guix.texi:176
  2351. msgid "Package installation, upgrade, etc."
  2352. msgstr ""
  2353. #. type: chapter
  2354. #: guix-git/doc/guix.texi:176 guix-git/doc/guix.texi:247
  2355. #: guix-git/doc/guix.texi:4995 guix-git/doc/guix.texi:4996
  2356. #, no-wrap
  2357. msgid "Channels"
  2358. msgstr ""
  2359. #. type: menuentry
  2360. #: guix-git/doc/guix.texi:176
  2361. msgid "Customizing the package collection."
  2362. msgstr ""
  2363. #. type: chapter
  2364. #: guix-git/doc/guix.texi:176 guix-git/doc/guix.texi:261
  2365. #: guix-git/doc/guix.texi:5523 guix-git/doc/guix.texi:5524
  2366. #, no-wrap
  2367. msgid "Development"
  2368. msgstr ""
  2369. #. type: menuentry
  2370. #: guix-git/doc/guix.texi:176
  2371. msgid "Guix-aided software development."
  2372. msgstr ""
  2373. #. type: chapter
  2374. #: guix-git/doc/guix.texi:176 guix-git/doc/guix.texi:268
  2375. #: guix-git/doc/guix.texi:6378 guix-git/doc/guix.texi:6379
  2376. #, no-wrap
  2377. msgid "Programming Interface"
  2378. msgstr ""
  2379. #. type: menuentry
  2380. #: guix-git/doc/guix.texi:176
  2381. msgid "Using Guix in Scheme."
  2382. msgstr ""
  2383. #. type: chapter
  2384. #: guix-git/doc/guix.texi:176 guix-git/doc/guix.texi:287
  2385. #: guix-git/doc/guix.texi:10199 guix-git/doc/guix.texi:10200
  2386. #, no-wrap
  2387. msgid "Utilities"
  2388. msgstr ""
  2389. #. type: menuentry
  2390. #: guix-git/doc/guix.texi:176
  2391. msgid "Package management commands."
  2392. msgstr ""
  2393. #. type: chapter
  2394. #: guix-git/doc/guix.texi:176 guix-git/doc/guix.texi:312
  2395. #: guix-git/doc/guix.texi:13462 guix-git/doc/guix.texi:13463
  2396. #, no-wrap
  2397. msgid "System Configuration"
  2398. msgstr "Nastavenie systému"
  2399. #. type: menuentry
  2400. #: guix-git/doc/guix.texi:176
  2401. msgid "Configuring the operating system."
  2402. msgstr ""
  2403. #. type: chapter
  2404. #: guix-git/doc/guix.texi:176 guix-git/doc/guix.texi:35094
  2405. #: guix-git/doc/guix.texi:35095
  2406. #, no-wrap
  2407. msgid "Documentation"
  2408. msgstr "Dokumentácia"
  2409. #. type: menuentry
  2410. #: guix-git/doc/guix.texi:176
  2411. msgid "Browsing software user manuals."
  2412. msgstr ""
  2413. #. type: chapter
  2414. #: guix-git/doc/guix.texi:176 guix-git/doc/guix.texi:374
  2415. #: guix-git/doc/guix.texi:35158 guix-git/doc/guix.texi:35159
  2416. #, no-wrap
  2417. msgid "Installing Debugging Files"
  2418. msgstr ""
  2419. #. type: menuentry
  2420. #: guix-git/doc/guix.texi:176
  2421. msgid "Feeding the debugger."
  2422. msgstr ""
  2423. #. type: chapter
  2424. #: guix-git/doc/guix.texi:176 guix-git/doc/guix.texi:35299
  2425. #: guix-git/doc/guix.texi:35300
  2426. #, no-wrap
  2427. msgid "Security Updates"
  2428. msgstr ""
  2429. #. type: menuentry
  2430. #: guix-git/doc/guix.texi:176
  2431. msgid "Deploying security fixes quickly."
  2432. msgstr ""
  2433. #. type: chapter
  2434. #: guix-git/doc/guix.texi:176 guix-git/doc/guix.texi:379
  2435. #: guix-git/doc/guix.texi:35414 guix-git/doc/guix.texi:35415
  2436. #, no-wrap
  2437. msgid "Bootstrapping"
  2438. msgstr ""
  2439. #. type: menuentry
  2440. #: guix-git/doc/guix.texi:176
  2441. msgid "GNU/Linux built from scratch."
  2442. msgstr ""
  2443. #. type: node
  2444. #: guix-git/doc/guix.texi:176 guix-git/doc/guix.texi:35706
  2445. #, no-wrap
  2446. msgid "Porting"
  2447. msgstr ""
  2448. #. type: menuentry
  2449. #: guix-git/doc/guix.texi:176
  2450. msgid "Targeting another platform or kernel."
  2451. msgstr ""
  2452. #. type: menuentry
  2453. #: guix-git/doc/guix.texi:176
  2454. msgid "Your help needed!"
  2455. msgstr ""
  2456. #. type: chapter
  2457. #: guix-git/doc/guix.texi:181 guix-git/doc/guix.texi:35754
  2458. #: guix-git/doc/guix.texi:35755
  2459. #, no-wrap
  2460. msgid "Acknowledgments"
  2461. msgstr "Poďakovanie"
  2462. #. type: menuentry
  2463. #: guix-git/doc/guix.texi:181
  2464. msgid "Thanks!"
  2465. msgstr "Ďakujeme!"
  2466. #. type: appendix
  2467. #: guix-git/doc/guix.texi:181 guix-git/doc/guix.texi:35776
  2468. #: guix-git/doc/guix.texi:35777
  2469. #, no-wrap
  2470. msgid "GNU Free Documentation License"
  2471. msgstr "GNU Free Documentation License"
  2472. #. type: menuentry
  2473. #: guix-git/doc/guix.texi:181
  2474. msgid "The license of this manual."
  2475. msgstr ""
  2476. #. type: unnumbered
  2477. #: guix-git/doc/guix.texi:181 guix-git/doc/guix.texi:35782
  2478. #: guix-git/doc/guix.texi:35783
  2479. #, no-wrap
  2480. msgid "Concept Index"
  2481. msgstr "Zoznam pojmov"
  2482. #. type: menuentry
  2483. #: guix-git/doc/guix.texi:181
  2484. msgid "Concepts."
  2485. msgstr "Pojmy."
  2486. #. type: unnumbered
  2487. #: guix-git/doc/guix.texi:181 guix-git/doc/guix.texi:35786
  2488. #: guix-git/doc/guix.texi:35787
  2489. #, no-wrap
  2490. msgid "Programming Index"
  2491. msgstr ""
  2492. #. type: menuentry
  2493. #: guix-git/doc/guix.texi:181
  2494. msgid "Data types, functions, and variables."
  2495. msgstr ""
  2496. #. type: menuentry
  2497. #: guix-git/doc/guix.texi:184
  2498. msgid "--- The Detailed Node Listing ---"
  2499. msgstr "--- Podrobný zoznam uzlov ---"
  2500. #. type: section
  2501. #: guix-git/doc/guix.texi:189 guix-git/doc/guix.texi:414
  2502. #: guix-git/doc/guix.texi:416 guix-git/doc/guix.texi:417
  2503. #, no-wrap
  2504. msgid "Managing Software the Guix Way"
  2505. msgstr ""
  2506. #. type: menuentry
  2507. #: guix-git/doc/guix.texi:189 guix-git/doc/guix.texi:414
  2508. msgid "What's special."
  2509. msgstr ""
  2510. #. type: section
  2511. #: guix-git/doc/guix.texi:189 guix-git/doc/guix.texi:414
  2512. #: guix-git/doc/guix.texi:471 guix-git/doc/guix.texi:472
  2513. #, no-wrap
  2514. msgid "GNU Distribution"
  2515. msgstr ""
  2516. #. type: menuentry
  2517. #: guix-git/doc/guix.texi:189 guix-git/doc/guix.texi:414
  2518. msgid "The packages and tools."
  2519. msgstr ""
  2520. #. type: section
  2521. #: guix-git/doc/guix.texi:199 guix-git/doc/guix.texi:608
  2522. #: guix-git/doc/guix.texi:610 guix-git/doc/guix.texi:611
  2523. #, no-wrap
  2524. msgid "Binary Installation"
  2525. msgstr ""
  2526. #. type: menuentry
  2527. #: guix-git/doc/guix.texi:199 guix-git/doc/guix.texi:608
  2528. msgid "Getting Guix running in no time!"
  2529. msgstr ""
  2530. #. type: section
  2531. #: guix-git/doc/guix.texi:199 guix-git/doc/guix.texi:608
  2532. #: guix-git/doc/guix.texi:838 guix-git/doc/guix.texi:839
  2533. #, no-wrap
  2534. msgid "Requirements"
  2535. msgstr ""
  2536. #. type: menuentry
  2537. #: guix-git/doc/guix.texi:199 guix-git/doc/guix.texi:608
  2538. msgid "Software needed to build and run Guix."
  2539. msgstr ""
  2540. #. type: section
  2541. #: guix-git/doc/guix.texi:199 guix-git/doc/guix.texi:608
  2542. #: guix-git/doc/guix.texi:924 guix-git/doc/guix.texi:925
  2543. #, no-wrap
  2544. msgid "Running the Test Suite"
  2545. msgstr ""
  2546. #. type: menuentry
  2547. #: guix-git/doc/guix.texi:199 guix-git/doc/guix.texi:608
  2548. msgid "Testing Guix."
  2549. msgstr ""
  2550. #. type: section
  2551. #: guix-git/doc/guix.texi:199 guix-git/doc/guix.texi:201
  2552. #: guix-git/doc/guix.texi:608 guix-git/doc/guix.texi:1021
  2553. #: guix-git/doc/guix.texi:1022
  2554. #, no-wrap
  2555. msgid "Setting Up the Daemon"
  2556. msgstr ""
  2557. #. type: menuentry
  2558. #: guix-git/doc/guix.texi:199 guix-git/doc/guix.texi:608
  2559. msgid "Preparing the build daemon's environment."
  2560. msgstr ""
  2561. #. type: node
  2562. #: guix-git/doc/guix.texi:199 guix-git/doc/guix.texi:608
  2563. #: guix-git/doc/guix.texi:1491
  2564. #, no-wrap
  2565. msgid "Invoking guix-daemon"
  2566. msgstr ""
  2567. #. type: menuentry
  2568. #: guix-git/doc/guix.texi:199 guix-git/doc/guix.texi:608
  2569. msgid "Running the build daemon."
  2570. msgstr ""
  2571. #. type: section
  2572. #: guix-git/doc/guix.texi:199 guix-git/doc/guix.texi:608
  2573. #: guix-git/doc/guix.texi:1793 guix-git/doc/guix.texi:1794
  2574. #, no-wrap
  2575. msgid "Application Setup"
  2576. msgstr ""
  2577. #. type: menuentry
  2578. #: guix-git/doc/guix.texi:199 guix-git/doc/guix.texi:608
  2579. msgid "Application-specific setup."
  2580. msgstr ""
  2581. #. type: section
  2582. #: guix-git/doc/guix.texi:199 guix-git/doc/guix.texi:608
  2583. #: guix-git/doc/guix.texi:1978 guix-git/doc/guix.texi:1979
  2584. #, no-wrap
  2585. msgid "Upgrading Guix"
  2586. msgstr ""
  2587. #. type: menuentry
  2588. #: guix-git/doc/guix.texi:199 guix-git/doc/guix.texi:608
  2589. msgid "Upgrading Guix and its build daemon."
  2590. msgstr ""
  2591. #. type: subsection
  2592. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:1041
  2593. #: guix-git/doc/guix.texi:1043 guix-git/doc/guix.texi:1044
  2594. #, no-wrap
  2595. msgid "Build Environment Setup"
  2596. msgstr ""
  2597. #. type: menuentry
  2598. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:1041
  2599. msgid "Preparing the isolated build environment."
  2600. msgstr ""
  2601. #. type: node
  2602. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:1041
  2603. #: guix-git/doc/guix.texi:1162
  2604. #, no-wrap
  2605. msgid "Daemon Offload Setup"
  2606. msgstr ""
  2607. #. type: menuentry
  2608. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:1041
  2609. msgid "Offloading builds to remote machines."
  2610. msgstr ""
  2611. #. type: subsection
  2612. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:1041
  2613. #: guix-git/doc/guix.texi:1400 guix-git/doc/guix.texi:1401
  2614. #, no-wrap
  2615. msgid "SELinux Support"
  2616. msgstr ""
  2617. #. type: menuentry
  2618. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:1041
  2619. msgid "Using an SELinux policy for the daemon."
  2620. msgstr ""
  2621. #. type: section
  2622. #: guix-git/doc/guix.texi:217 guix-git/doc/guix.texi:1436
  2623. #: guix-git/doc/guix.texi:2049 guix-git/doc/guix.texi:2051
  2624. #: guix-git/doc/guix.texi:2052
  2625. #, no-wrap
  2626. msgid "Limitations"
  2627. msgstr ""
  2628. #. type: menuentry
  2629. #: guix-git/doc/guix.texi:217 guix-git/doc/guix.texi:2049
  2630. msgid "What you can expect."
  2631. msgstr ""
  2632. #. type: section
  2633. #: guix-git/doc/guix.texi:217 guix-git/doc/guix.texi:2049
  2634. #: guix-git/doc/guix.texi:2077 guix-git/doc/guix.texi:2078
  2635. #, no-wrap
  2636. msgid "Hardware Considerations"
  2637. msgstr ""
  2638. #. type: menuentry
  2639. #: guix-git/doc/guix.texi:217 guix-git/doc/guix.texi:2049
  2640. msgid "Supported hardware."
  2641. msgstr ""
  2642. #. type: section
  2643. #: guix-git/doc/guix.texi:217 guix-git/doc/guix.texi:2049
  2644. #: guix-git/doc/guix.texi:2112 guix-git/doc/guix.texi:2113
  2645. #, no-wrap
  2646. msgid "USB Stick and DVD Installation"
  2647. msgstr ""
  2648. #. type: menuentry
  2649. #: guix-git/doc/guix.texi:217 guix-git/doc/guix.texi:2049
  2650. msgid "Preparing the installation medium."
  2651. msgstr ""
  2652. #. type: section
  2653. #: guix-git/doc/guix.texi:217 guix-git/doc/guix.texi:2049
  2654. #: guix-git/doc/guix.texi:2193 guix-git/doc/guix.texi:2194
  2655. #, no-wrap
  2656. msgid "Preparing for Installation"
  2657. msgstr ""
  2658. #. type: menuentry
  2659. #: guix-git/doc/guix.texi:217 guix-git/doc/guix.texi:2049
  2660. msgid "Networking, partitioning, etc."
  2661. msgstr ""
  2662. #. type: section
  2663. #: guix-git/doc/guix.texi:217 guix-git/doc/guix.texi:2049
  2664. #: guix-git/doc/guix.texi:2216 guix-git/doc/guix.texi:2217
  2665. #, no-wrap
  2666. msgid "Guided Graphical Installation"
  2667. msgstr ""
  2668. #. type: menuentry
  2669. #: guix-git/doc/guix.texi:217 guix-git/doc/guix.texi:2049
  2670. msgid "Easy graphical installation."
  2671. msgstr ""
  2672. #. type: section
  2673. #: guix-git/doc/guix.texi:217 guix-git/doc/guix.texi:219
  2674. #: guix-git/doc/guix.texi:2049 guix-git/doc/guix.texi:2247
  2675. #: guix-git/doc/guix.texi:2248
  2676. #, no-wrap
  2677. msgid "Manual Installation"
  2678. msgstr ""
  2679. #. type: menuentry
  2680. #: guix-git/doc/guix.texi:217 guix-git/doc/guix.texi:2049
  2681. msgid "Manual installation for wizards."
  2682. msgstr ""
  2683. #. type: section
  2684. #: guix-git/doc/guix.texi:217 guix-git/doc/guix.texi:2049
  2685. #: guix-git/doc/guix.texi:2615 guix-git/doc/guix.texi:2616
  2686. #, no-wrap
  2687. msgid "After System Installation"
  2688. msgstr ""
  2689. #. type: menuentry
  2690. #: guix-git/doc/guix.texi:217 guix-git/doc/guix.texi:2049
  2691. msgid "When installation succeeded."
  2692. msgstr ""
  2693. #. type: node
  2694. #: guix-git/doc/guix.texi:217 guix-git/doc/guix.texi:2049
  2695. #: guix-git/doc/guix.texi:2649
  2696. #, no-wrap
  2697. msgid "Installing Guix in a VM"
  2698. msgstr ""
  2699. #. type: menuentry
  2700. #: guix-git/doc/guix.texi:217 guix-git/doc/guix.texi:2049
  2701. msgid "Guix System playground."
  2702. msgstr ""
  2703. #. type: section
  2704. #: guix-git/doc/guix.texi:217 guix-git/doc/guix.texi:2049
  2705. #: guix-git/doc/guix.texi:2700 guix-git/doc/guix.texi:2701
  2706. #, no-wrap
  2707. msgid "Building the Installation Image"
  2708. msgstr ""
  2709. #. type: menuentry
  2710. #: guix-git/doc/guix.texi:217 guix-git/doc/guix.texi:2049
  2711. msgid "How this comes to be."
  2712. msgstr ""
  2713. #. type: node
  2714. #: guix-git/doc/guix.texi:222 guix-git/doc/guix.texi:2265
  2715. #: guix-git/doc/guix.texi:2267
  2716. #, no-wrap
  2717. msgid "Keyboard Layout and Networking and Partitioning"
  2718. msgstr ""
  2719. #. type: menuentry
  2720. #: guix-git/doc/guix.texi:222 guix-git/doc/guix.texi:2265
  2721. msgid "Initial setup."
  2722. msgstr ""
  2723. #. type: subsection
  2724. #: guix-git/doc/guix.texi:222 guix-git/doc/guix.texi:2265
  2725. #: guix-git/doc/guix.texi:2527 guix-git/doc/guix.texi:2528
  2726. #, no-wrap
  2727. msgid "Proceeding with the Installation"
  2728. msgstr ""
  2729. #. type: menuentry
  2730. #: guix-git/doc/guix.texi:222 guix-git/doc/guix.texi:2265
  2731. msgid "Installing."
  2732. msgstr ""
  2733. #. type: section
  2734. #: guix-git/doc/guix.texi:235 guix-git/doc/guix.texi:2972
  2735. #: guix-git/doc/guix.texi:2974 guix-git/doc/guix.texi:2975
  2736. #, no-wrap
  2737. msgid "Features"
  2738. msgstr "Možnosti"
  2739. #. type: menuentry
  2740. #: guix-git/doc/guix.texi:235 guix-git/doc/guix.texi:2972
  2741. msgid "How Guix will make your life brighter."
  2742. msgstr ""
  2743. #. type: node
  2744. #: guix-git/doc/guix.texi:235 guix-git/doc/guix.texi:2972
  2745. #: guix-git/doc/guix.texi:3064
  2746. #, no-wrap
  2747. msgid "Invoking guix package"
  2748. msgstr ""
  2749. #. type: menuentry
  2750. #: guix-git/doc/guix.texi:235 guix-git/doc/guix.texi:2972
  2751. msgid "Package installation, removal, etc."
  2752. msgstr ""
  2753. #. type: section
  2754. #: guix-git/doc/guix.texi:235 guix-git/doc/guix.texi:237
  2755. #: guix-git/doc/guix.texi:2972 guix-git/doc/guix.texi:3680
  2756. #: guix-git/doc/guix.texi:3681
  2757. #, no-wrap
  2758. msgid "Substitutes"
  2759. msgstr ""
  2760. #. type: menuentry
  2761. #: guix-git/doc/guix.texi:235 guix-git/doc/guix.texi:2972
  2762. msgid "Downloading pre-built binaries."
  2763. msgstr ""
  2764. #. type: section
  2765. #: guix-git/doc/guix.texi:235 guix-git/doc/guix.texi:2972
  2766. #: guix-git/doc/guix.texi:4016 guix-git/doc/guix.texi:4017
  2767. #, no-wrap
  2768. msgid "Packages with Multiple Outputs"
  2769. msgstr ""
  2770. #. type: menuentry
  2771. #: guix-git/doc/guix.texi:235 guix-git/doc/guix.texi:2972
  2772. msgid "Single source package, multiple outputs."
  2773. msgstr ""
  2774. #. type: node
  2775. #: guix-git/doc/guix.texi:235 guix-git/doc/guix.texi:2972
  2776. #: guix-git/doc/guix.texi:4070
  2777. #, no-wrap
  2778. msgid "Invoking guix gc"
  2779. msgstr ""
  2780. #. type: menuentry
  2781. #: guix-git/doc/guix.texi:235 guix-git/doc/guix.texi:2972
  2782. msgid "Running the garbage collector."
  2783. msgstr ""
  2784. #. type: node
  2785. #: guix-git/doc/guix.texi:235 guix-git/doc/guix.texi:2972
  2786. #: guix-git/doc/guix.texi:4280
  2787. #, no-wrap
  2788. msgid "Invoking guix pull"
  2789. msgstr ""
  2790. #. type: menuentry
  2791. #: guix-git/doc/guix.texi:235 guix-git/doc/guix.texi:2972
  2792. msgid "Fetching the latest Guix and distribution."
  2793. msgstr ""
  2794. #. type: node
  2795. #: guix-git/doc/guix.texi:235 guix-git/doc/guix.texi:2972
  2796. #: guix-git/doc/guix.texi:4527
  2797. #, no-wrap
  2798. msgid "Invoking guix time-machine"
  2799. msgstr ""
  2800. #. type: menuentry
  2801. #: guix-git/doc/guix.texi:235 guix-git/doc/guix.texi:2972
  2802. msgid "Running an older revision of Guix."
  2803. msgstr ""
  2804. #. type: section
  2805. #: guix-git/doc/guix.texi:235 guix-git/doc/guix.texi:2972
  2806. #: guix-git/doc/guix.texi:4582 guix-git/doc/guix.texi:4583
  2807. #, no-wrap
  2808. msgid "Inferiors"
  2809. msgstr ""
  2810. #. type: menuentry
  2811. #: guix-git/doc/guix.texi:235 guix-git/doc/guix.texi:2972
  2812. msgid "Interacting with another revision of Guix."
  2813. msgstr ""
  2814. #. type: node
  2815. #: guix-git/doc/guix.texi:235 guix-git/doc/guix.texi:2972
  2816. #: guix-git/doc/guix.texi:4710
  2817. #, no-wrap
  2818. msgid "Invoking guix describe"
  2819. msgstr ""
  2820. #. type: menuentry
  2821. #: guix-git/doc/guix.texi:235 guix-git/doc/guix.texi:2972
  2822. msgid "Display information about your Guix revision."
  2823. msgstr ""
  2824. #. type: node
  2825. #: guix-git/doc/guix.texi:235 guix-git/doc/guix.texi:2972
  2826. #: guix-git/doc/guix.texi:4805
  2827. #, no-wrap
  2828. msgid "Invoking guix archive"
  2829. msgstr ""
  2830. #. type: menuentry
  2831. #: guix-git/doc/guix.texi:235 guix-git/doc/guix.texi:2972
  2832. msgid "Exporting and importing store files."
  2833. msgstr ""
  2834. #. type: subsection
  2835. #: guix-git/doc/guix.texi:245 guix-git/doc/guix.texi:3704
  2836. #: guix-git/doc/guix.texi:3706 guix-git/doc/guix.texi:3707
  2837. #, no-wrap
  2838. msgid "Official Substitute Servers"
  2839. msgstr ""
  2840. #. type: menuentry
  2841. #: guix-git/doc/guix.texi:245 guix-git/doc/guix.texi:3704
  2842. msgid "One particular source of substitutes."
  2843. msgstr ""
  2844. #. type: subsection
  2845. #: guix-git/doc/guix.texi:245 guix-git/doc/guix.texi:3704
  2846. #: guix-git/doc/guix.texi:3736 guix-git/doc/guix.texi:3737
  2847. #, no-wrap
  2848. msgid "Substitute Server Authorization"
  2849. msgstr ""
  2850. #. type: menuentry
  2851. #: guix-git/doc/guix.texi:245 guix-git/doc/guix.texi:3704
  2852. msgid "How to enable or disable substitutes."
  2853. msgstr ""
  2854. #. type: subsection
  2855. #: guix-git/doc/guix.texi:245 guix-git/doc/guix.texi:3704
  2856. #: guix-git/doc/guix.texi:3806 guix-git/doc/guix.texi:3807
  2857. #, no-wrap
  2858. msgid "Getting Substitutes from Other Servers"
  2859. msgstr ""
  2860. #. type: menuentry
  2861. #: guix-git/doc/guix.texi:245 guix-git/doc/guix.texi:3704
  2862. msgid "Substitute diversity."
  2863. msgstr ""
  2864. #. type: subsection
  2865. #: guix-git/doc/guix.texi:245 guix-git/doc/guix.texi:3704
  2866. #: guix-git/doc/guix.texi:3911 guix-git/doc/guix.texi:3912
  2867. #, no-wrap
  2868. msgid "Substitute Authentication"
  2869. msgstr ""
  2870. #. type: menuentry
  2871. #: guix-git/doc/guix.texi:245 guix-git/doc/guix.texi:3704
  2872. msgid "How Guix verifies substitutes."
  2873. msgstr ""
  2874. #. type: subsection
  2875. #: guix-git/doc/guix.texi:245 guix-git/doc/guix.texi:3704
  2876. #: guix-git/doc/guix.texi:3946 guix-git/doc/guix.texi:3947
  2877. #, no-wrap
  2878. msgid "Proxy Settings"
  2879. msgstr ""
  2880. #. type: menuentry
  2881. #: guix-git/doc/guix.texi:245 guix-git/doc/guix.texi:3704
  2882. msgid "How to get substitutes via proxy."
  2883. msgstr ""
  2884. #. type: subsection
  2885. #: guix-git/doc/guix.texi:245 guix-git/doc/guix.texi:3704
  2886. #: guix-git/doc/guix.texi:3958 guix-git/doc/guix.texi:3959
  2887. #, no-wrap
  2888. msgid "Substitution Failure"
  2889. msgstr ""
  2890. #. type: menuentry
  2891. #: guix-git/doc/guix.texi:245 guix-git/doc/guix.texi:3704
  2892. msgid "What happens when substitution fails."
  2893. msgstr ""
  2894. #. type: subsection
  2895. #: guix-git/doc/guix.texi:245 guix-git/doc/guix.texi:3704
  2896. #: guix-git/doc/guix.texi:3986 guix-git/doc/guix.texi:3987
  2897. #, no-wrap
  2898. msgid "On Trusting Binaries"
  2899. msgstr ""
  2900. #. type: menuentry
  2901. #: guix-git/doc/guix.texi:245 guix-git/doc/guix.texi:3704
  2902. msgid "How can you trust that binary blob?"
  2903. msgstr ""
  2904. #. type: section
  2905. #: guix-git/doc/guix.texi:259 guix-git/doc/guix.texi:5026
  2906. #: guix-git/doc/guix.texi:5028 guix-git/doc/guix.texi:5029
  2907. #, no-wrap
  2908. msgid "Specifying Additional Channels"
  2909. msgstr ""
  2910. #. type: menuentry
  2911. #: guix-git/doc/guix.texi:259 guix-git/doc/guix.texi:5026
  2912. msgid "Extending the package collection."
  2913. msgstr ""
  2914. #. type: section
  2915. #: guix-git/doc/guix.texi:259 guix-git/doc/guix.texi:5026
  2916. #: guix-git/doc/guix.texi:5078 guix-git/doc/guix.texi:5079
  2917. #, no-wrap
  2918. msgid "Using a Custom Guix Channel"
  2919. msgstr ""
  2920. #. type: menuentry
  2921. #: guix-git/doc/guix.texi:259 guix-git/doc/guix.texi:5026
  2922. msgid "Using a customized Guix."
  2923. msgstr ""
  2924. #. type: section
  2925. #: guix-git/doc/guix.texi:259 guix-git/doc/guix.texi:5026
  2926. #: guix-git/doc/guix.texi:5100 guix-git/doc/guix.texi:5101
  2927. #, no-wrap
  2928. msgid "Replicating Guix"
  2929. msgstr ""
  2930. #. type: menuentry
  2931. #: guix-git/doc/guix.texi:259 guix-git/doc/guix.texi:5026
  2932. msgid "Running the @emph{exact same} Guix."
  2933. msgstr ""
  2934. #. type: section
  2935. #: guix-git/doc/guix.texi:259 guix-git/doc/guix.texi:5026
  2936. #: guix-git/doc/guix.texi:5141 guix-git/doc/guix.texi:5142
  2937. #, no-wrap
  2938. msgid "Channel Authentication"
  2939. msgstr ""
  2940. #. type: menuentry
  2941. #: guix-git/doc/guix.texi:259 guix-git/doc/guix.texi:5026
  2942. msgid "How Guix verifies what it fetches."
  2943. msgstr ""
  2944. #. type: section
  2945. #: guix-git/doc/guix.texi:259 guix-git/doc/guix.texi:5026
  2946. #: guix-git/doc/guix.texi:5181 guix-git/doc/guix.texi:5182
  2947. #, no-wrap
  2948. msgid "Channels with Substitutes"
  2949. msgstr ""
  2950. #. type: menuentry
  2951. #: guix-git/doc/guix.texi:259 guix-git/doc/guix.texi:5026
  2952. msgid "Using channels with available substitutes."
  2953. msgstr ""
  2954. #. type: section
  2955. #: guix-git/doc/guix.texi:259 guix-git/doc/guix.texi:5026
  2956. #: guix-git/doc/guix.texi:5206 guix-git/doc/guix.texi:5207
  2957. #, no-wrap
  2958. msgid "Creating a Channel"
  2959. msgstr ""
  2960. #. type: menuentry
  2961. #: guix-git/doc/guix.texi:259 guix-git/doc/guix.texi:5026
  2962. msgid "How to write your custom channel."
  2963. msgstr ""
  2964. #. type: section
  2965. #: guix-git/doc/guix.texi:259 guix-git/doc/guix.texi:5026
  2966. #: guix-git/doc/guix.texi:5273 guix-git/doc/guix.texi:5274
  2967. #, no-wrap
  2968. msgid "Package Modules in a Sub-directory"
  2969. msgstr ""
  2970. #. type: menuentry
  2971. #: guix-git/doc/guix.texi:259 guix-git/doc/guix.texi:5026
  2972. msgid "Specifying the channel's package modules location."
  2973. msgstr ""
  2974. #. type: section
  2975. #: guix-git/doc/guix.texi:259 guix-git/doc/guix.texi:5026
  2976. #: guix-git/doc/guix.texi:5287 guix-git/doc/guix.texi:5288
  2977. #, no-wrap
  2978. msgid "Declaring Channel Dependencies"
  2979. msgstr ""
  2980. #. type: menuentry
  2981. #: guix-git/doc/guix.texi:259 guix-git/doc/guix.texi:5026
  2982. msgid "How to depend on other channels."
  2983. msgstr ""
  2984. #. type: section
  2985. #: guix-git/doc/guix.texi:259 guix-git/doc/guix.texi:5026
  2986. #: guix-git/doc/guix.texi:5329 guix-git/doc/guix.texi:5330
  2987. #, no-wrap
  2988. msgid "Specifying Channel Authorizations"
  2989. msgstr ""
  2990. #. type: menuentry
  2991. #: guix-git/doc/guix.texi:259 guix-git/doc/guix.texi:5026
  2992. msgid "Defining channel authors authorizations."
  2993. msgstr ""
  2994. #. type: section
  2995. #: guix-git/doc/guix.texi:259 guix-git/doc/guix.texi:5026
  2996. #: guix-git/doc/guix.texi:5430 guix-git/doc/guix.texi:5431
  2997. #, no-wrap
  2998. msgid "Primary URL"
  2999. msgstr ""
  3000. #. type: menuentry
  3001. #: guix-git/doc/guix.texi:259 guix-git/doc/guix.texi:5026
  3002. msgid "Distinguishing mirror to original."
  3003. msgstr ""
  3004. #. type: section
  3005. #: guix-git/doc/guix.texi:259 guix-git/doc/guix.texi:5026
  3006. #: guix-git/doc/guix.texi:5453 guix-git/doc/guix.texi:5454
  3007. #, no-wrap
  3008. msgid "Writing Channel News"
  3009. msgstr ""
  3010. #. type: menuentry
  3011. #: guix-git/doc/guix.texi:259 guix-git/doc/guix.texi:5026
  3012. msgid "Communicating information to channel's users."
  3013. msgstr ""
  3014. #. type: node
  3015. #: guix-git/doc/guix.texi:266 guix-git/doc/guix.texi:5542
  3016. #: guix-git/doc/guix.texi:5544
  3017. #, no-wrap
  3018. msgid "Invoking guix environment"
  3019. msgstr ""
  3020. #. type: menuentry
  3021. #: guix-git/doc/guix.texi:266 guix-git/doc/guix.texi:5542
  3022. msgid "Setting up development environments."
  3023. msgstr ""
  3024. #. type: node
  3025. #: guix-git/doc/guix.texi:266 guix-git/doc/guix.texi:5542
  3026. #: guix-git/doc/guix.texi:5904
  3027. #, no-wrap
  3028. msgid "Invoking guix pack"
  3029. msgstr ""
  3030. #. type: menuentry
  3031. #: guix-git/doc/guix.texi:266 guix-git/doc/guix.texi:5542
  3032. msgid "Creating software bundles."
  3033. msgstr ""
  3034. #. type: section
  3035. #: guix-git/doc/guix.texi:266 guix-git/doc/guix.texi:5542
  3036. #: guix-git/doc/guix.texi:6290 guix-git/doc/guix.texi:6291
  3037. #, no-wrap
  3038. msgid "The GCC toolchain"
  3039. msgstr ""
  3040. #. type: menuentry
  3041. #: guix-git/doc/guix.texi:266 guix-git/doc/guix.texi:5542
  3042. msgid "Working with languages supported by GCC."
  3043. msgstr ""
  3044. #. type: node
  3045. #: guix-git/doc/guix.texi:266 guix-git/doc/guix.texi:5542
  3046. #: guix-git/doc/guix.texi:6316
  3047. #, no-wrap
  3048. msgid "Invoking guix git authenticate"
  3049. msgstr ""
  3050. #. type: menuentry
  3051. #: guix-git/doc/guix.texi:266 guix-git/doc/guix.texi:5542
  3052. msgid "Authenticating Git repositories."
  3053. msgstr ""
  3054. #. type: section
  3055. #: guix-git/doc/guix.texi:280 guix-git/doc/guix.texi:6418
  3056. #: guix-git/doc/guix.texi:6420 guix-git/doc/guix.texi:6421
  3057. #, no-wrap
  3058. msgid "Package Modules"
  3059. msgstr ""
  3060. #. type: menuentry
  3061. #: guix-git/doc/guix.texi:280 guix-git/doc/guix.texi:6418
  3062. msgid "Packages from the programmer's viewpoint."
  3063. msgstr ""
  3064. #. type: section
  3065. #: guix-git/doc/guix.texi:280 guix-git/doc/guix.texi:282
  3066. #: guix-git/doc/guix.texi:6418 guix-git/doc/guix.texi:6482
  3067. #: guix-git/doc/guix.texi:6483
  3068. #, no-wrap
  3069. msgid "Defining Packages"
  3070. msgstr ""
  3071. #. type: menuentry
  3072. #: guix-git/doc/guix.texi:280 guix-git/doc/guix.texi:6418
  3073. msgid "Defining new packages."
  3074. msgstr ""
  3075. #. type: section
  3076. #: guix-git/doc/guix.texi:280 guix-git/doc/guix.texi:6418
  3077. #: guix-git/doc/guix.texi:7051 guix-git/doc/guix.texi:7052
  3078. #, no-wrap
  3079. msgid "Defining Package Variants"
  3080. msgstr ""
  3081. #. type: menuentry
  3082. #: guix-git/doc/guix.texi:280 guix-git/doc/guix.texi:6418
  3083. msgid "Customizing packages."
  3084. msgstr ""
  3085. #. type: section
  3086. #: guix-git/doc/guix.texi:280 guix-git/doc/guix.texi:6418
  3087. #: guix-git/doc/guix.texi:7283 guix-git/doc/guix.texi:7284
  3088. #, no-wrap
  3089. msgid "Build Systems"
  3090. msgstr ""
  3091. #. type: menuentry
  3092. #: guix-git/doc/guix.texi:280 guix-git/doc/guix.texi:6418
  3093. msgid "Specifying how packages are built."
  3094. msgstr ""
  3095. #. type: subsection
  3096. #: guix-git/doc/guix.texi:280 guix-git/doc/guix.texi:6418
  3097. #: guix-git/doc/guix.texi:8313 guix-git/doc/guix.texi:8314
  3098. #: guix-git/doc/guix.texi:8717
  3099. #, no-wrap
  3100. msgid "Build Phases"
  3101. msgstr ""
  3102. #. type: menuentry
  3103. #: guix-git/doc/guix.texi:280 guix-git/doc/guix.texi:6418
  3104. msgid "Phases of the build process of a package."
  3105. msgstr ""
  3106. #. type: section
  3107. #: guix-git/doc/guix.texi:280 guix-git/doc/guix.texi:6418
  3108. #: guix-git/doc/guix.texi:8507 guix-git/doc/guix.texi:8508
  3109. #, no-wrap
  3110. msgid "Build Utilities"
  3111. msgstr ""
  3112. #. type: menuentry
  3113. #: guix-git/doc/guix.texi:280 guix-git/doc/guix.texi:6418
  3114. msgid "Helpers for your package definitions and more."
  3115. msgstr ""
  3116. #. type: section
  3117. #: guix-git/doc/guix.texi:280 guix-git/doc/guix.texi:6418
  3118. #: guix-git/doc/guix.texi:8794 guix-git/doc/guix.texi:8795
  3119. #, no-wrap
  3120. msgid "The Store"
  3121. msgstr ""
  3122. #. type: menuentry
  3123. #: guix-git/doc/guix.texi:280 guix-git/doc/guix.texi:6418
  3124. msgid "Manipulating the package store."
  3125. msgstr ""
  3126. #. type: section
  3127. #: guix-git/doc/guix.texi:280 guix-git/doc/guix.texi:6418
  3128. #: guix-git/doc/guix.texi:8947 guix-git/doc/guix.texi:8948
  3129. #, no-wrap
  3130. msgid "Derivations"
  3131. msgstr ""
  3132. #. type: menuentry
  3133. #: guix-git/doc/guix.texi:280 guix-git/doc/guix.texi:6418
  3134. msgid "Low-level interface to package derivations."
  3135. msgstr ""
  3136. #. type: section
  3137. #: guix-git/doc/guix.texi:280 guix-git/doc/guix.texi:6418
  3138. #: guix-git/doc/guix.texi:9141 guix-git/doc/guix.texi:9142
  3139. #, no-wrap
  3140. msgid "The Store Monad"
  3141. msgstr ""
  3142. #. type: menuentry
  3143. #: guix-git/doc/guix.texi:280 guix-git/doc/guix.texi:6418
  3144. msgid "Purely functional interface to the store."
  3145. msgstr ""
  3146. #. type: section
  3147. #: guix-git/doc/guix.texi:280 guix-git/doc/guix.texi:6418
  3148. #: guix-git/doc/guix.texi:9460 guix-git/doc/guix.texi:9461
  3149. #, no-wrap
  3150. msgid "G-Expressions"
  3151. msgstr ""
  3152. #. type: menuentry
  3153. #: guix-git/doc/guix.texi:280 guix-git/doc/guix.texi:6418
  3154. msgid "Manipulating build expressions."
  3155. msgstr ""
  3156. #. type: node
  3157. #: guix-git/doc/guix.texi:280 guix-git/doc/guix.texi:6418
  3158. #: guix-git/doc/guix.texi:10099
  3159. #, no-wrap
  3160. msgid "Invoking guix repl"
  3161. msgstr ""
  3162. #. type: menuentry
  3163. #: guix-git/doc/guix.texi:280
  3164. msgid "Programming Guix in Guile."
  3165. msgstr ""
  3166. #. type: node
  3167. #: guix-git/doc/guix.texi:285 guix-git/doc/guix.texi:6685
  3168. #: guix-git/doc/guix.texi:6688
  3169. #, no-wrap
  3170. msgid "package Reference"
  3171. msgstr ""
  3172. #. type: menuentry
  3173. #: guix-git/doc/guix.texi:285 guix-git/doc/guix.texi:6685
  3174. msgid "The package data type."
  3175. msgstr ""
  3176. #. type: node
  3177. #: guix-git/doc/guix.texi:285 guix-git/doc/guix.texi:6685
  3178. #: guix-git/doc/guix.texi:6860
  3179. #, no-wrap
  3180. msgid "origin Reference"
  3181. msgstr ""
  3182. #. type: menuentry
  3183. #: guix-git/doc/guix.texi:285 guix-git/doc/guix.texi:6685
  3184. msgid "The origin data type."
  3185. msgstr ""
  3186. #. type: node
  3187. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3188. #: guix-git/doc/guix.texi:10225
  3189. #, no-wrap
  3190. msgid "Invoking guix build"
  3191. msgstr ""
  3192. #. type: menuentry
  3193. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3194. msgid "Building packages from the command line."
  3195. msgstr ""
  3196. #. type: node
  3197. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3198. #: guix-git/doc/guix.texi:11061
  3199. #, no-wrap
  3200. msgid "Invoking guix edit"
  3201. msgstr ""
  3202. #. type: menuentry
  3203. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3204. msgid "Editing package definitions."
  3205. msgstr ""
  3206. #. type: node
  3207. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3208. #: guix-git/doc/guix.texi:11091
  3209. #, no-wrap
  3210. msgid "Invoking guix download"
  3211. msgstr ""
  3212. #. type: menuentry
  3213. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3214. msgid "Downloading a file and printing its hash."
  3215. msgstr ""
  3216. #. type: node
  3217. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3218. #: guix-git/doc/guix.texi:11149
  3219. #, no-wrap
  3220. msgid "Invoking guix hash"
  3221. msgstr ""
  3222. #. type: menuentry
  3223. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3224. msgid "Computing the cryptographic hash of a file."
  3225. msgstr ""
  3226. #. type: node
  3227. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3228. #: guix-git/doc/guix.texi:11221
  3229. #, no-wrap
  3230. msgid "Invoking guix import"
  3231. msgstr ""
  3232. #. type: menuentry
  3233. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3234. msgid "Importing package definitions."
  3235. msgstr ""
  3236. #. type: node
  3237. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3238. #: guix-git/doc/guix.texi:11747
  3239. #, no-wrap
  3240. msgid "Invoking guix refresh"
  3241. msgstr ""
  3242. #. type: menuentry
  3243. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3244. msgid "Updating package definitions."
  3245. msgstr ""
  3246. #. type: node
  3247. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3248. #: guix-git/doc/guix.texi:12085
  3249. #, no-wrap
  3250. msgid "Invoking guix lint"
  3251. msgstr ""
  3252. #. type: menuentry
  3253. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3254. msgid "Finding errors in package definitions."
  3255. msgstr ""
  3256. #. type: node
  3257. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3258. #: guix-git/doc/guix.texi:12254
  3259. #, no-wrap
  3260. msgid "Invoking guix size"
  3261. msgstr ""
  3262. #. type: menuentry
  3263. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3264. msgid "Profiling disk usage."
  3265. msgstr ""
  3266. #. type: node
  3267. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3268. #: guix-git/doc/guix.texi:12398
  3269. #, no-wrap
  3270. msgid "Invoking guix graph"
  3271. msgstr ""
  3272. #. type: menuentry
  3273. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3274. msgid "Visualizing the graph of packages."
  3275. msgstr ""
  3276. #. type: node
  3277. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3278. #: guix-git/doc/guix.texi:12665
  3279. #, no-wrap
  3280. msgid "Invoking guix publish"
  3281. msgstr ""
  3282. #. type: menuentry
  3283. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3284. msgid "Sharing substitutes."
  3285. msgstr ""
  3286. #. type: node
  3287. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3288. #: guix-git/doc/guix.texi:12934
  3289. #, no-wrap
  3290. msgid "Invoking guix challenge"
  3291. msgstr ""
  3292. #. type: menuentry
  3293. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3294. msgid "Challenging substitute servers."
  3295. msgstr ""
  3296. #. type: node
  3297. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3298. #: guix-git/doc/guix.texi:13117
  3299. #, no-wrap
  3300. msgid "Invoking guix copy"
  3301. msgstr ""
  3302. #. type: menuentry
  3303. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3304. msgid "Copying to and from a remote store."
  3305. msgstr ""
  3306. #. type: node
  3307. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3308. #: guix-git/doc/guix.texi:13180
  3309. #, no-wrap
  3310. msgid "Invoking guix container"
  3311. msgstr ""
  3312. #. type: menuentry
  3313. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3314. msgid "Process isolation."
  3315. msgstr ""
  3316. #. type: node
  3317. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3318. #: guix-git/doc/guix.texi:13234
  3319. #, no-wrap
  3320. msgid "Invoking guix weather"
  3321. msgstr ""
  3322. #. type: menuentry
  3323. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3324. msgid "Assessing substitute availability."
  3325. msgstr ""
  3326. #. type: node
  3327. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3328. #: guix-git/doc/guix.texi:13364
  3329. #, no-wrap
  3330. msgid "Invoking guix processes"
  3331. msgstr ""
  3332. #. type: menuentry
  3333. #: guix-git/doc/guix.texi:303 guix-git/doc/guix.texi:10223
  3334. msgid "Listing client processes."
  3335. msgstr ""
  3336. #. type: section
  3337. #: guix-git/doc/guix.texi:305 guix-git/doc/guix.texi:10226
  3338. #, no-wrap
  3339. msgid "Invoking @command{guix build}"
  3340. msgstr ""
  3341. #. type: subsection
  3342. #: guix-git/doc/guix.texi:310 guix-git/doc/guix.texi:10277
  3343. #: guix-git/doc/guix.texi:10279 guix-git/doc/guix.texi:10280
  3344. #, no-wrap
  3345. msgid "Common Build Options"
  3346. msgstr ""
  3347. #. type: menuentry
  3348. #: guix-git/doc/guix.texi:310 guix-git/doc/guix.texi:10277
  3349. msgid "Build options for most commands."
  3350. msgstr ""
  3351. #. type: subsection
  3352. #: guix-git/doc/guix.texi:310 guix-git/doc/guix.texi:10277
  3353. #: guix-git/doc/guix.texi:10434 guix-git/doc/guix.texi:10435
  3354. #, no-wrap
  3355. msgid "Package Transformation Options"
  3356. msgstr ""
  3357. #. type: menuentry
  3358. #: guix-git/doc/guix.texi:310 guix-git/doc/guix.texi:10277
  3359. msgid "Creating variants of packages."
  3360. msgstr ""
  3361. #. type: subsection
  3362. #: guix-git/doc/guix.texi:310 guix-git/doc/guix.texi:10277
  3363. #: guix-git/doc/guix.texi:10743 guix-git/doc/guix.texi:10744
  3364. #, no-wrap
  3365. msgid "Additional Build Options"
  3366. msgstr ""
  3367. #. type: menuentry
  3368. #: guix-git/doc/guix.texi:310 guix-git/doc/guix.texi:10277
  3369. msgid "Options specific to 'guix build'."
  3370. msgstr ""
  3371. #. type: subsection
  3372. #: guix-git/doc/guix.texi:310 guix-git/doc/guix.texi:10277
  3373. #: guix-git/doc/guix.texi:10981 guix-git/doc/guix.texi:10982
  3374. #, no-wrap
  3375. msgid "Debugging Build Failures"
  3376. msgstr ""
  3377. #. type: menuentry
  3378. #: guix-git/doc/guix.texi:310 guix-git/doc/guix.texi:10277
  3379. msgid "Real life packaging experience."
  3380. msgstr ""
  3381. #. type: section
  3382. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:13505
  3383. #: guix-git/doc/guix.texi:13507 guix-git/doc/guix.texi:13508
  3384. #, no-wrap
  3385. msgid "Using the Configuration System"
  3386. msgstr ""
  3387. #. type: menuentry
  3388. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:13505
  3389. msgid "Customizing your GNU system."
  3390. msgstr ""
  3391. #. type: node
  3392. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:13505
  3393. #: guix-git/doc/guix.texi:13758
  3394. #, no-wrap
  3395. msgid "operating-system Reference"
  3396. msgstr ""
  3397. #. type: menuentry
  3398. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:13505
  3399. msgid "Detail of operating-system declarations."
  3400. msgstr ""
  3401. #. type: section
  3402. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:13505
  3403. #: guix-git/doc/guix.texi:14010 guix-git/doc/guix.texi:14011
  3404. #, no-wrap
  3405. msgid "File Systems"
  3406. msgstr ""
  3407. #. type: menuentry
  3408. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:13505
  3409. msgid "Configuring file system mounts."
  3410. msgstr ""
  3411. #. type: section
  3412. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:13505
  3413. #: guix-git/doc/guix.texi:14333 guix-git/doc/guix.texi:14334
  3414. #, no-wrap
  3415. msgid "Mapped Devices"
  3416. msgstr ""
  3417. #. type: menuentry
  3418. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:13505
  3419. msgid "Block device extra processing."
  3420. msgstr ""
  3421. #. type: section
  3422. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:13505
  3423. #: guix-git/doc/guix.texi:14481 guix-git/doc/guix.texi:14482
  3424. #, no-wrap
  3425. msgid "User Accounts"
  3426. msgstr ""
  3427. #. type: menuentry
  3428. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:13505
  3429. msgid "Specifying user accounts."
  3430. msgstr ""
  3431. #. type: section
  3432. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:2274
  3433. #: guix-git/doc/guix.texi:13505 guix-git/doc/guix.texi:14657
  3434. #: guix-git/doc/guix.texi:14658
  3435. #, no-wrap
  3436. msgid "Keyboard Layout"
  3437. msgstr ""
  3438. #. type: menuentry
  3439. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:13505
  3440. msgid "How the system interprets key strokes."
  3441. msgstr ""
  3442. #. type: section
  3443. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:1801
  3444. #: guix-git/doc/guix.texi:13505 guix-git/doc/guix.texi:14803
  3445. #: guix-git/doc/guix.texi:14804
  3446. #, no-wrap
  3447. msgid "Locales"
  3448. msgstr ""
  3449. #. type: menuentry
  3450. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:13505
  3451. msgid "Language and cultural convention settings."
  3452. msgstr ""
  3453. #. type: section
  3454. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:332
  3455. #: guix-git/doc/guix.texi:13505 guix-git/doc/guix.texi:14943
  3456. #: guix-git/doc/guix.texi:14944
  3457. #, no-wrap
  3458. msgid "Services"
  3459. msgstr "Služby"
  3460. #. type: menuentry
  3461. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:13505
  3462. msgid "Specifying system services."
  3463. msgstr ""
  3464. #. type: section
  3465. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:13505
  3466. #: guix-git/doc/guix.texi:32688 guix-git/doc/guix.texi:32689
  3467. #, no-wrap
  3468. msgid "Setuid Programs"
  3469. msgstr ""
  3470. #. type: menuentry
  3471. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:13505
  3472. msgid "Programs running with root privileges."
  3473. msgstr ""
  3474. #. type: section
  3475. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:1950
  3476. #: guix-git/doc/guix.texi:13505 guix-git/doc/guix.texi:32761
  3477. #: guix-git/doc/guix.texi:32762
  3478. #, no-wrap
  3479. msgid "X.509 Certificates"
  3480. msgstr ""
  3481. #. type: menuentry
  3482. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:13505
  3483. msgid "Authenticating HTTPS servers."
  3484. msgstr ""
  3485. #. type: section
  3486. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:1844
  3487. #: guix-git/doc/guix.texi:13505 guix-git/doc/guix.texi:32824
  3488. #: guix-git/doc/guix.texi:32825
  3489. #, no-wrap
  3490. msgid "Name Service Switch"
  3491. msgstr ""
  3492. #. type: menuentry
  3493. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:13505
  3494. msgid "Configuring libc's name service switch."
  3495. msgstr ""
  3496. #. type: section
  3497. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:13505
  3498. #: guix-git/doc/guix.texi:32962 guix-git/doc/guix.texi:32963
  3499. #, no-wrap
  3500. msgid "Initial RAM Disk"
  3501. msgstr ""
  3502. #. type: menuentry
  3503. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:13505
  3504. msgid "Linux-Libre bootstrapping."
  3505. msgstr ""
  3506. #. type: section
  3507. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:13505
  3508. #: guix-git/doc/guix.texi:33138 guix-git/doc/guix.texi:33139
  3509. #, no-wrap
  3510. msgid "Bootloader Configuration"
  3511. msgstr ""
  3512. #. type: menuentry
  3513. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:13505
  3514. msgid "Configuring the boot loader."
  3515. msgstr ""
  3516. #. type: node
  3517. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:13505
  3518. #: guix-git/doc/guix.texi:33432
  3519. #, no-wrap
  3520. msgid "Invoking guix system"
  3521. msgstr ""
  3522. #. type: menuentry
  3523. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:13505
  3524. msgid "Instantiating a system configuration."
  3525. msgstr ""
  3526. #. type: node
  3527. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:13505
  3528. #: guix-git/doc/guix.texi:34017
  3529. #, no-wrap
  3530. msgid "Invoking guix deploy"
  3531. msgstr ""
  3532. #. type: menuentry
  3533. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:13505
  3534. msgid "Deploying a system configuration to a remote host."
  3535. msgstr ""
  3536. #. type: node
  3537. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:13505
  3538. #: guix-git/doc/guix.texi:34223
  3539. #, no-wrap
  3540. msgid "Running Guix in a VM"
  3541. msgstr ""
  3542. #. type: menuentry
  3543. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:13505
  3544. msgid "How to run Guix System in a virtual machine."
  3545. msgstr ""
  3546. #. type: section
  3547. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:367
  3548. #: guix-git/doc/guix.texi:13505 guix-git/doc/guix.texi:34357
  3549. #: guix-git/doc/guix.texi:34358
  3550. #, no-wrap
  3551. msgid "Defining Services"
  3552. msgstr ""
  3553. #. type: menuentry
  3554. #: guix-git/doc/guix.texi:330 guix-git/doc/guix.texi:13505
  3555. msgid "Adding new service definitions."
  3556. msgstr ""
  3557. #. type: subsection
  3558. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3559. #: guix-git/doc/guix.texi:15028 guix-git/doc/guix.texi:15029
  3560. #, no-wrap
  3561. msgid "Base Services"
  3562. msgstr ""
  3563. #. type: menuentry
  3564. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3565. msgid "Essential system services."
  3566. msgstr ""
  3567. #. type: subsection
  3568. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3569. #: guix-git/doc/guix.texi:15955 guix-git/doc/guix.texi:15956
  3570. #, no-wrap
  3571. msgid "Scheduled Job Execution"
  3572. msgstr ""
  3573. #. type: menuentry
  3574. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3575. msgid "The mcron service."
  3576. msgstr ""
  3577. #. type: subsection
  3578. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3579. #: guix-git/doc/guix.texi:16105 guix-git/doc/guix.texi:16106
  3580. #, no-wrap
  3581. msgid "Log Rotation"
  3582. msgstr ""
  3583. #. type: menuentry
  3584. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3585. msgid "The rottlog service."
  3586. msgstr ""
  3587. #. type: subsection
  3588. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3589. #: guix-git/doc/guix.texi:16218 guix-git/doc/guix.texi:16219
  3590. #, no-wrap
  3591. msgid "Networking Services"
  3592. msgstr ""
  3593. #. type: menuentry
  3594. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3595. msgid "Network setup, SSH daemon, etc."
  3596. msgstr ""
  3597. #. type: subsection
  3598. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3599. #: guix-git/doc/guix.texi:17883 guix-git/doc/guix.texi:17884
  3600. #, no-wrap
  3601. msgid "Unattended Upgrades"
  3602. msgstr ""
  3603. #. type: menuentry
  3604. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3605. msgid "Automated system upgrades."
  3606. msgstr ""
  3607. #. type: subsection
  3608. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3609. #: guix-git/doc/guix.texi:18021 guix-git/doc/guix.texi:18022
  3610. #, no-wrap
  3611. msgid "X Window"
  3612. msgstr ""
  3613. #. type: menuentry
  3614. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3615. msgid "Graphical display."
  3616. msgstr ""
  3617. #. type: subsection
  3618. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3619. #: guix-git/doc/guix.texi:18406 guix-git/doc/guix.texi:18407
  3620. #, no-wrap
  3621. msgid "Printing Services"
  3622. msgstr ""
  3623. #. type: menuentry
  3624. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3625. msgid "Local and remote printer support."
  3626. msgstr ""
  3627. #. type: subsection
  3628. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3629. #: guix-git/doc/guix.texi:19253 guix-git/doc/guix.texi:19254
  3630. #, no-wrap
  3631. msgid "Desktop Services"
  3632. msgstr ""
  3633. #. type: menuentry
  3634. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3635. msgid "D-Bus and desktop services."
  3636. msgstr ""
  3637. #. type: subsection
  3638. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3639. #: guix-git/doc/guix.texi:19771 guix-git/doc/guix.texi:19772
  3640. #, no-wrap
  3641. msgid "Sound Services"
  3642. msgstr ""
  3643. #. type: menuentry
  3644. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3645. msgid "ALSA and Pulseaudio services."
  3646. msgstr ""
  3647. #. type: subsection
  3648. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3649. #: guix-git/doc/guix.texi:19911 guix-git/doc/guix.texi:19912
  3650. #, no-wrap
  3651. msgid "Database Services"
  3652. msgstr ""
  3653. #. type: menuentry
  3654. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3655. msgid "SQL databases, key-value stores, etc."
  3656. msgstr ""
  3657. #. type: subsection
  3658. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3659. #: guix-git/doc/guix.texi:20246 guix-git/doc/guix.texi:20247
  3660. #, no-wrap
  3661. msgid "Mail Services"
  3662. msgstr ""
  3663. #. type: menuentry
  3664. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3665. msgid "IMAP, POP3, SMTP, and all that."
  3666. msgstr ""
  3667. #. type: subsection
  3668. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3669. #: guix-git/doc/guix.texi:22105 guix-git/doc/guix.texi:22106
  3670. #, no-wrap
  3671. msgid "Messaging Services"
  3672. msgstr ""
  3673. #. type: menuentry
  3674. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3675. msgid "Messaging services."
  3676. msgstr ""
  3677. #. type: subsection
  3678. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3679. #: guix-git/doc/guix.texi:22608 guix-git/doc/guix.texi:22609
  3680. #, no-wrap
  3681. msgid "Telephony Services"
  3682. msgstr ""
  3683. #. type: menuentry
  3684. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3685. msgid "Telephony services."
  3686. msgstr ""
  3687. #. type: subsection
  3688. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3689. #: guix-git/doc/guix.texi:23839 guix-git/doc/guix.texi:23840
  3690. #, no-wrap
  3691. msgid "Monitoring Services"
  3692. msgstr ""
  3693. #. type: menuentry
  3694. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3695. msgid "Monitoring services."
  3696. msgstr ""
  3697. #. type: subsection
  3698. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3699. #: guix-git/doc/guix.texi:24350 guix-git/doc/guix.texi:24351
  3700. #, no-wrap
  3701. msgid "Kerberos Services"
  3702. msgstr ""
  3703. #. type: menuentry
  3704. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3705. msgid "Kerberos services."
  3706. msgstr ""
  3707. #. type: subsection
  3708. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3709. #: guix-git/doc/guix.texi:24476 guix-git/doc/guix.texi:24477
  3710. #, no-wrap
  3711. msgid "LDAP Services"
  3712. msgstr ""
  3713. #. type: menuentry
  3714. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3715. msgid "LDAP services."
  3716. msgstr ""
  3717. #. type: subsection
  3718. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3719. #: guix-git/doc/guix.texi:24955 guix-git/doc/guix.texi:24956
  3720. #, no-wrap
  3721. msgid "Web Services"
  3722. msgstr ""
  3723. #. type: menuentry
  3724. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3725. msgid "Web servers."
  3726. msgstr ""
  3727. #. type: subsection
  3728. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3729. #: guix-git/doc/guix.texi:26156 guix-git/doc/guix.texi:26157
  3730. #, no-wrap
  3731. msgid "Certificate Services"
  3732. msgstr ""
  3733. #. type: menuentry
  3734. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3735. msgid "TLS certificates via Let's Encrypt."
  3736. msgstr ""
  3737. #. type: subsection
  3738. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3739. #: guix-git/doc/guix.texi:26337 guix-git/doc/guix.texi:26338
  3740. #, no-wrap
  3741. msgid "DNS Services"
  3742. msgstr ""
  3743. #. type: menuentry
  3744. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3745. msgid "DNS daemons."
  3746. msgstr ""
  3747. #. type: subsection
  3748. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3749. #: guix-git/doc/guix.texi:27085 guix-git/doc/guix.texi:27086
  3750. #, no-wrap
  3751. msgid "VPN Services"
  3752. msgstr ""
  3753. #. type: menuentry
  3754. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3755. msgid "VPN daemons."
  3756. msgstr ""
  3757. #. type: subsection
  3758. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3759. #: guix-git/doc/guix.texi:27591 guix-git/doc/guix.texi:27592
  3760. #, no-wrap
  3761. msgid "Network File System"
  3762. msgstr ""
  3763. #. type: menuentry
  3764. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3765. msgid "NFS related services."
  3766. msgstr ""
  3767. #. type: subsection
  3768. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3769. #: guix-git/doc/guix.texi:27787 guix-git/doc/guix.texi:27788
  3770. #, no-wrap
  3771. msgid "Continuous Integration"
  3772. msgstr ""
  3773. #. type: menuentry
  3774. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3775. msgid "Cuirass and Laminar services."
  3776. msgstr ""
  3777. #. type: subsection
  3778. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3779. #: guix-git/doc/guix.texi:28073 guix-git/doc/guix.texi:28074
  3780. #, no-wrap
  3781. msgid "Power Management Services"
  3782. msgstr ""
  3783. #. type: menuentry
  3784. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3785. msgid "Extending battery life."
  3786. msgstr ""
  3787. #. type: subsection
  3788. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3789. #: guix-git/doc/guix.texi:28607 guix-git/doc/guix.texi:28608
  3790. #, no-wrap
  3791. msgid "Audio Services"
  3792. msgstr ""
  3793. #. type: menuentry
  3794. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3795. msgid "The MPD."
  3796. msgstr ""
  3797. #. type: subsection
  3798. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3799. #: guix-git/doc/guix.texi:28726 guix-git/doc/guix.texi:28727
  3800. #, no-wrap
  3801. msgid "Virtualization Services"
  3802. msgstr ""
  3803. #. type: menuentry
  3804. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3805. msgid "Virtualization services."
  3806. msgstr ""
  3807. #. type: subsection
  3808. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3809. #: guix-git/doc/guix.texi:30341 guix-git/doc/guix.texi:30342
  3810. #, no-wrap
  3811. msgid "Version Control Services"
  3812. msgstr ""
  3813. #. type: menuentry
  3814. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3815. msgid "Providing remote access to Git repositories."
  3816. msgstr ""
  3817. #. type: subsection
  3818. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3819. #: guix-git/doc/guix.texi:31533 guix-git/doc/guix.texi:31534
  3820. #, no-wrap
  3821. msgid "Game Services"
  3822. msgstr ""
  3823. #. type: menuentry
  3824. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3825. msgid "Game servers."
  3826. msgstr ""
  3827. #. type: subsection
  3828. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3829. #: guix-git/doc/guix.texi:31565 guix-git/doc/guix.texi:31566
  3830. #, no-wrap
  3831. msgid "PAM Mount Service"
  3832. msgstr ""
  3833. #. type: menuentry
  3834. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3835. msgid "Service to mount volumes when logging in."
  3836. msgstr ""
  3837. #. type: subsection
  3838. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3839. #: guix-git/doc/guix.texi:31648 guix-git/doc/guix.texi:31649
  3840. #, no-wrap
  3841. msgid "Guix Services"
  3842. msgstr ""
  3843. #. type: menuentry
  3844. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3845. msgid "Services relating specifically to Guix."
  3846. msgstr ""
  3847. #. type: subsection
  3848. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3849. #: guix-git/doc/guix.texi:31932 guix-git/doc/guix.texi:31933
  3850. #, no-wrap
  3851. msgid "Linux Services"
  3852. msgstr ""
  3853. #. type: menuentry
  3854. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3855. msgid "Services tied to the Linux kernel."
  3856. msgstr ""
  3857. #. type: subsection
  3858. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3859. #: guix-git/doc/guix.texi:32159 guix-git/doc/guix.texi:32160
  3860. #, no-wrap
  3861. msgid "Hurd Services"
  3862. msgstr ""
  3863. #. type: menuentry
  3864. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3865. msgid "Services specific for a Hurd System."
  3866. msgstr ""
  3867. #. type: subsection
  3868. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3869. #: guix-git/doc/guix.texi:32201 guix-git/doc/guix.texi:32202
  3870. #, no-wrap
  3871. msgid "Miscellaneous Services"
  3872. msgstr ""
  3873. #. type: menuentry
  3874. #: guix-git/doc/guix.texi:365 guix-git/doc/guix.texi:15026
  3875. msgid "Other services."
  3876. msgstr ""
  3877. #. type: subsection
  3878. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:34369
  3879. #: guix-git/doc/guix.texi:34371 guix-git/doc/guix.texi:34372
  3880. #, no-wrap
  3881. msgid "Service Composition"
  3882. msgstr ""
  3883. #. type: menuentry
  3884. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:34369
  3885. msgid "The model for composing services."
  3886. msgstr ""
  3887. #. type: subsection
  3888. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:34369
  3889. #: guix-git/doc/guix.texi:34427 guix-git/doc/guix.texi:34428
  3890. #, no-wrap
  3891. msgid "Service Types and Services"
  3892. msgstr ""
  3893. #. type: menuentry
  3894. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:34369
  3895. msgid "Types and services."
  3896. msgstr ""
  3897. #. type: subsection
  3898. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:34369
  3899. #: guix-git/doc/guix.texi:34564 guix-git/doc/guix.texi:34565
  3900. #, no-wrap
  3901. msgid "Service Reference"
  3902. msgstr ""
  3903. #. type: menuentry
  3904. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:34369
  3905. msgid "API reference."
  3906. msgstr ""
  3907. #. type: subsection
  3908. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:34369
  3909. #: guix-git/doc/guix.texi:34874 guix-git/doc/guix.texi:34875
  3910. #, no-wrap
  3911. msgid "Shepherd Services"
  3912. msgstr ""
  3913. #. type: menuentry
  3914. #: guix-git/doc/guix.texi:372 guix-git/doc/guix.texi:34369
  3915. msgid "A particular type of service."
  3916. msgstr ""
  3917. #. type: section
  3918. #: guix-git/doc/guix.texi:377 guix-git/doc/guix.texi:35175
  3919. #: guix-git/doc/guix.texi:35177 guix-git/doc/guix.texi:35178
  3920. #, no-wrap
  3921. msgid "Separate Debug Info"
  3922. msgstr ""
  3923. #. type: menuentry
  3924. #: guix-git/doc/guix.texi:377 guix-git/doc/guix.texi:35175
  3925. msgid "Installing 'debug' outputs."
  3926. msgstr ""
  3927. #. type: section
  3928. #: guix-git/doc/guix.texi:377 guix-git/doc/guix.texi:35175
  3929. #: guix-git/doc/guix.texi:35236 guix-git/doc/guix.texi:35237
  3930. #, no-wrap
  3931. msgid "Rebuilding Debug Info"
  3932. msgstr ""
  3933. #. type: menuentry
  3934. #: guix-git/doc/guix.texi:377 guix-git/doc/guix.texi:35175
  3935. msgid "Building missing debug info."
  3936. msgstr ""
  3937. #. type: node
  3938. #: guix-git/doc/guix.texi:382 guix-git/doc/guix.texi:35453
  3939. #: guix-git/doc/guix.texi:35455
  3940. #, no-wrap
  3941. msgid "Reduced Binary Seed Bootstrap"
  3942. msgstr ""
  3943. #. type: menuentry
  3944. #: guix-git/doc/guix.texi:382 guix-git/doc/guix.texi:35453
  3945. msgid "A Bootstrap worthy of GNU."
  3946. msgstr ""
  3947. #. type: section
  3948. #: guix-git/doc/guix.texi:382 guix-git/doc/guix.texi:35453
  3949. #: guix-git/doc/guix.texi:35530 guix-git/doc/guix.texi:35531
  3950. #, no-wrap
  3951. msgid "Preparing to Use the Bootstrap Binaries"
  3952. msgstr ""
  3953. #. type: menuentry
  3954. #: guix-git/doc/guix.texi:382 guix-git/doc/guix.texi:35453
  3955. msgid "Building that what matters most."
  3956. msgstr ""
  3957. #. type: cindex
  3958. #: guix-git/doc/guix.texi:390
  3959. #, no-wrap
  3960. msgid "purpose"
  3961. msgstr ""
  3962. #. type: Plain text
  3963. #: guix-git/doc/guix.texi:398
  3964. 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."
  3965. msgstr ""
  3966. #. type: cindex
  3967. #: guix-git/doc/guix.texi:399 guix-git/doc/guix.texi:474
  3968. #, no-wrap
  3969. msgid "Guix System"
  3970. msgstr ""
  3971. #. type: cindex
  3972. #: guix-git/doc/guix.texi:400
  3973. #, no-wrap
  3974. msgid "GuixSD, now Guix System"
  3975. msgstr ""
  3976. #. type: cindex
  3977. #: guix-git/doc/guix.texi:401
  3978. #, no-wrap
  3979. msgid "Guix System Distribution, now Guix System"
  3980. msgstr ""
  3981. #. type: Plain text
  3982. #: guix-git/doc/guix.texi:410
  3983. 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}."
  3984. msgstr ""
  3985. #. type: cindex
  3986. #: guix-git/doc/guix.texi:419
  3987. #, no-wrap
  3988. msgid "user interfaces"
  3989. msgstr ""
  3990. #. type: Plain text
  3991. #: guix-git/doc/guix.texi:425
  3992. 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})."
  3993. msgstr ""
  3994. #. type: cindex
  3995. #: guix-git/doc/guix.texi:425
  3996. #, no-wrap
  3997. msgid "build daemon"
  3998. msgstr ""
  3999. #. type: Plain text
  4000. #: guix-git/doc/guix.texi:429
  4001. 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})."
  4002. msgstr ""
  4003. #. type: cindex
  4004. #: guix-git/doc/guix.texi:430
  4005. #, no-wrap
  4006. msgid "extensibility of the distribution"
  4007. msgstr ""
  4008. #. type: cindex
  4009. #: guix-git/doc/guix.texi:431 guix-git/doc/guix.texi:6442
  4010. #, no-wrap
  4011. msgid "customization, of packages"
  4012. msgstr ""
  4013. #. type: Plain text
  4014. #: guix-git/doc/guix.texi:440
  4015. 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})."
  4016. msgstr ""
  4017. #. type: cindex
  4018. #: guix-git/doc/guix.texi:441
  4019. #, no-wrap
  4020. msgid "functional package management"
  4021. msgstr ""
  4022. #. type: cindex
  4023. #: guix-git/doc/guix.texi:442
  4024. #, no-wrap
  4025. msgid "isolation"
  4026. msgstr ""
  4027. #. type: Plain text
  4028. #: guix-git/doc/guix.texi:457
  4029. 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."
  4030. msgstr ""
  4031. #. type: cindex
  4032. #: guix-git/doc/guix.texi:458 guix-git/doc/guix.texi:8797
  4033. #, no-wrap
  4034. msgid "store"
  4035. msgstr ""
  4036. #. type: Plain text
  4037. #: guix-git/doc/guix.texi:465
  4038. 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."
  4039. msgstr ""
  4040. #. type: Plain text
  4041. #: guix-git/doc/guix.texi:469
  4042. 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})."
  4043. msgstr ""
  4044. #. type: Plain text
  4045. #: guix-git/doc/guix.texi:484
  4046. 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."
  4047. msgstr ""
  4048. #. type: Plain text
  4049. #: guix-git/doc/guix.texi:490
  4050. 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}):"
  4051. msgstr ""
  4052. #. type: example
  4053. #: guix-git/doc/guix.texi:493
  4054. #, no-wrap
  4055. msgid "guix package --list-available\n"
  4056. msgstr ""
  4057. #. type: Plain text
  4058. #: guix-git/doc/guix.texi:499
  4059. 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."
  4060. msgstr ""
  4061. #. type: Plain text
  4062. #: guix-git/doc/guix.texi:501
  4063. msgid "Packages are currently available on the following platforms:"
  4064. msgstr ""
  4065. #. type: item
  4066. #: guix-git/doc/guix.texi:504 guix-git/doc/guix.texi:2121
  4067. #, no-wrap
  4068. msgid "x86_64-linux"
  4069. msgstr ""
  4070. #. type: table
  4071. #: guix-git/doc/guix.texi:506
  4072. msgid "Intel/AMD @code{x86_64} architecture, Linux-Libre kernel."
  4073. msgstr ""
  4074. #. type: item
  4075. #: guix-git/doc/guix.texi:507 guix-git/doc/guix.texi:2124
  4076. #, no-wrap
  4077. msgid "i686-linux"
  4078. msgstr ""
  4079. #. type: table
  4080. #: guix-git/doc/guix.texi:509
  4081. msgid "Intel 32-bit architecture (IA32), Linux-Libre kernel."
  4082. msgstr ""
  4083. #. type: item
  4084. #: guix-git/doc/guix.texi:510
  4085. #, no-wrap
  4086. msgid "armhf-linux"
  4087. msgstr ""
  4088. #. type: table
  4089. #: guix-git/doc/guix.texi:514
  4090. msgid "ARMv7-A architecture with hard float, Thumb-2 and NEON, using the EABI hard-float application binary interface (ABI), and Linux-Libre kernel."
  4091. msgstr ""
  4092. #. type: item
  4093. #: guix-git/doc/guix.texi:515
  4094. #, no-wrap
  4095. msgid "aarch64-linux"
  4096. msgstr ""
  4097. #. type: table
  4098. #: guix-git/doc/guix.texi:517
  4099. msgid "little-endian 64-bit ARMv8-A processors, Linux-Libre kernel."
  4100. msgstr ""
  4101. #. type: item
  4102. #: guix-git/doc/guix.texi:518
  4103. #, no-wrap
  4104. msgid "i586-gnu"
  4105. msgstr ""
  4106. #. type: table
  4107. #: guix-git/doc/guix.texi:521
  4108. msgid "@uref{https://hurd.gnu.org, GNU/Hurd} on the Intel 32-bit architecture (IA32)."
  4109. msgstr ""
  4110. #. type: table
  4111. #: guix-git/doc/guix.texi:527
  4112. 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!"
  4113. msgstr ""
  4114. #. type: item
  4115. #: guix-git/doc/guix.texi:528
  4116. #, no-wrap
  4117. msgid "mips64el-linux (deprecated)"
  4118. msgstr ""
  4119. #. type: table
  4120. #: guix-git/doc/guix.texi:534
  4121. 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."
  4122. msgstr ""
  4123. #. type: table
  4124. #: guix-git/doc/guix.texi:545
  4125. 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!"
  4126. msgstr ""
  4127. #. type: Plain text
  4128. #: guix-git/doc/guix.texi:555
  4129. 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."
  4130. msgstr ""
  4131. #. type: Plain text
  4132. #: guix-git/doc/guix.texi:558
  4133. msgid "Guix System is available on all the above platforms except @code{mips64el-linux} and @code{powerpc64le-linux}."
  4134. msgstr ""
  4135. #. type: Plain text
  4136. #: guix-git/doc/guix.texi:562
  4137. msgid "For information on porting to other architectures or kernels, @pxref{Porting}."
  4138. msgstr ""
  4139. #. type: Plain text
  4140. #: guix-git/doc/guix.texi:565
  4141. msgid "Building this distribution is a cooperative effort, and you are invited to join! @xref{Contributing}, for information about how you can help."
  4142. msgstr ""
  4143. #. type: cindex
  4144. #: guix-git/doc/guix.texi:571
  4145. #, no-wrap
  4146. msgid "installing Guix"
  4147. msgstr ""
  4148. #. type: quotation
  4149. #: guix-git/doc/guix.texi:583
  4150. 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."
  4151. msgstr ""
  4152. #. type: cindex
  4153. #: guix-git/doc/guix.texi:585 guix-git/doc/guix.texi:1796
  4154. #, no-wrap
  4155. msgid "foreign distro"
  4156. msgstr ""
  4157. #. type: cindex
  4158. #: guix-git/doc/guix.texi:586
  4159. #, no-wrap
  4160. msgid "directories related to foreign distro"
  4161. msgstr ""
  4162. #. type: Plain text
  4163. #: guix-git/doc/guix.texi:591
  4164. 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."
  4165. msgstr ""
  4166. #. type: Plain text
  4167. #: guix-git/doc/guix.texi:594
  4168. msgid "Once installed, Guix can be updated by running @command{guix pull} (@pxref{Invoking guix pull})."
  4169. msgstr ""
  4170. #. type: Plain text
  4171. #: guix-git/doc/guix.texi:599
  4172. 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."
  4173. msgstr ""
  4174. #. type: cindex
  4175. #: guix-git/doc/guix.texi:613
  4176. #, no-wrap
  4177. msgid "installing Guix from binaries"
  4178. msgstr ""
  4179. #. type: cindex
  4180. #: guix-git/doc/guix.texi:614
  4181. #, no-wrap
  4182. msgid "installer script"
  4183. msgstr ""
  4184. #. type: Plain text
  4185. #: guix-git/doc/guix.texi:620
  4186. 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."
  4187. msgstr ""
  4188. #. type: quotation
  4189. #: guix-git/doc/guix.texi:628
  4190. 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:"
  4191. msgstr ""
  4192. #. type: example
  4193. #: guix-git/doc/guix.texi:634
  4194. #, no-wrap
  4195. msgid ""
  4196. "cd /tmp\n"
  4197. "wget https://git.savannah.gnu.org/cgit/guix.git/plain/etc/guix-install.sh\n"
  4198. "chmod +x guix-install.sh\n"
  4199. "./guix-install.sh\n"
  4200. msgstr ""
  4201. #. type: quotation
  4202. #: guix-git/doc/guix.texi:638
  4203. msgid "When you're done, @pxref{Application Setup} for extra configuration you might need, and @ref{Getting Started} for your first steps!"
  4204. msgstr ""
  4205. #. type: Plain text
  4206. #: guix-git/doc/guix.texi:641
  4207. msgid "Installing goes along these lines:"
  4208. msgstr ""
  4209. #. type: cindex
  4210. #: guix-git/doc/guix.texi:644
  4211. #, no-wrap
  4212. msgid "downloading Guix binary"
  4213. msgstr ""
  4214. #. type: enumerate
  4215. #: guix-git/doc/guix.texi:650
  4216. 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})."
  4217. msgstr ""
  4218. #. type: enumerate
  4219. #: guix-git/doc/guix.texi:654
  4220. msgid "Make sure to download the associated @file{.sig} file and to verify the authenticity of the tarball against it, along these lines:"
  4221. msgstr ""
  4222. #. type: example
  4223. #: guix-git/doc/guix.texi:658
  4224. #, no-wrap
  4225. msgid ""
  4226. "$ wget @value{BASE-URL}/guix-binary-@value{VERSION}.x86_64-linux.tar.xz.sig\n"
  4227. "$ gpg --verify guix-binary-@value{VERSION}.x86_64-linux.tar.xz.sig\n"
  4228. msgstr ""
  4229. #. type: Plain text
  4230. #: guix-git/doc/guix.texi:662 guix-git/doc/guix.texi:2139
  4231. msgid "If that command fails because you do not have the required public key, then run this command to import it:"
  4232. msgstr ""
  4233. #. type: example
  4234. #: guix-git/doc/guix.texi:666
  4235. #, no-wrap
  4236. msgid ""
  4237. "$ wget '@value{OPENPGP-SIGNING-KEY-URL}' \\\n"
  4238. " -qO - | gpg --import -\n"
  4239. msgstr ""
  4240. #. type: Plain text
  4241. #: guix-git/doc/guix.texi:670 guix-git/doc/guix.texi:2147
  4242. msgid "and rerun the @code{gpg --verify} command."
  4243. msgstr ""
  4244. #. type: Plain text
  4245. #: guix-git/doc/guix.texi:673 guix-git/doc/guix.texi:2150
  4246. msgid "Take note that a warning like ``This key is not certified with a trusted signature!'' is normal."
  4247. msgstr ""
  4248. #. type: enumerate
  4249. #: guix-git/doc/guix.texi:679
  4250. 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:"
  4251. msgstr ""
  4252. #. type: example
  4253. #: guix-git/doc/guix.texi:685
  4254. #, no-wrap
  4255. msgid ""
  4256. "# cd /tmp\n"
  4257. "# tar --warning=no-timestamp -xf \\\n"
  4258. " /path/to/guix-binary-@value{VERSION}.x86_64-linux.tar.xz\n"
  4259. "# mv var/guix /var/ && mv gnu /\n"
  4260. msgstr ""
  4261. #. type: enumerate
  4262. #: guix-git/doc/guix.texi:690
  4263. 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)."
  4264. msgstr ""
  4265. #. type: enumerate
  4266. #: guix-git/doc/guix.texi:693
  4267. msgid "Do @emph{not} unpack the tarball on a working Guix system since that would overwrite its own essential files."
  4268. msgstr ""
  4269. #. type: enumerate
  4270. #: guix-git/doc/guix.texi:703
  4271. 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."
  4272. msgstr ""
  4273. #. type: enumerate
  4274. #: guix-git/doc/guix.texi:707
  4275. msgid "Make the profile available under @file{~root/.config/guix/current}, which is where @command{guix pull} will install updates (@pxref{Invoking guix pull}):"
  4276. msgstr ""
  4277. #. type: example
  4278. #: guix-git/doc/guix.texi:712
  4279. #, no-wrap
  4280. msgid ""
  4281. "# mkdir -p ~root/.config/guix\n"
  4282. "# ln -sf /var/guix/profiles/per-user/root/current-guix \\\n"
  4283. " ~root/.config/guix/current\n"
  4284. msgstr ""
  4285. #. type: enumerate
  4286. #: guix-git/doc/guix.texi:716
  4287. msgid "Source @file{etc/profile} to augment @env{PATH} and other relevant environment variables:"
  4288. msgstr ""
  4289. #. type: example
  4290. #: guix-git/doc/guix.texi:720
  4291. #, no-wrap
  4292. msgid ""
  4293. "# GUIX_PROFILE=\"`echo ~root`/.config/guix/current\" ; \\\n"
  4294. " source $GUIX_PROFILE/etc/profile\n"
  4295. msgstr ""
  4296. #. type: enumerate
  4297. #: guix-git/doc/guix.texi:725
  4298. msgid "Create the group and user accounts for build users as explained below (@pxref{Build Environment Setup})."
  4299. msgstr ""
  4300. #. type: enumerate
  4301. #: guix-git/doc/guix.texi:728
  4302. msgid "Run the daemon, and set it to automatically start on boot."
  4303. msgstr ""
  4304. #. type: enumerate
  4305. #: guix-git/doc/guix.texi:731
  4306. msgid "If your host distro uses the systemd init system, this can be achieved with these commands:"
  4307. msgstr ""
  4308. #. type: example
  4309. #: guix-git/doc/guix.texi:744
  4310. #, no-wrap
  4311. msgid ""
  4312. "# cp ~root/.config/guix/current/lib/systemd/system/gnu-store.mount \\\n"
  4313. " ~root/.config/guix/current/lib/systemd/system/guix-daemon.service \\\n"
  4314. " /etc/systemd/system/\n"
  4315. "# systemctl enable --now gnu-store.mount guix-daemon\n"
  4316. msgstr ""
  4317. #. type: itemize
  4318. #: guix-git/doc/guix.texi:747 guix-git/doc/guix.texi:12924
  4319. msgid "If your host distro uses the Upstart init system:"
  4320. msgstr ""
  4321. #. type: example
  4322. #: guix-git/doc/guix.texi:753
  4323. #, no-wrap
  4324. msgid ""
  4325. "# initctl reload-configuration\n"
  4326. "# cp ~root/.config/guix/current/lib/upstart/system/guix-daemon.conf \\\n"
  4327. " /etc/init/\n"
  4328. "# start guix-daemon\n"
  4329. msgstr ""
  4330. #. type: enumerate
  4331. #: guix-git/doc/guix.texi:756
  4332. msgid "Otherwise, you can still start the daemon manually with:"
  4333. msgstr ""
  4334. #. type: example
  4335. #: guix-git/doc/guix.texi:760
  4336. #, no-wrap
  4337. msgid ""
  4338. "# ~root/.config/guix/current/bin/guix-daemon \\\n"
  4339. " --build-users-group=guixbuild\n"
  4340. msgstr ""
  4341. #. type: enumerate
  4342. #: guix-git/doc/guix.texi:765
  4343. msgid "Make the @command{guix} command available to other users on the machine, for instance with:"
  4344. msgstr ""
  4345. #. type: example
  4346. #: guix-git/doc/guix.texi:770
  4347. #, no-wrap
  4348. msgid ""
  4349. "# mkdir -p /usr/local/bin\n"
  4350. "# cd /usr/local/bin\n"
  4351. "# ln -s /var/guix/profiles/per-user/root/current-guix/bin/guix\n"
  4352. msgstr ""
  4353. #. type: enumerate
  4354. #: guix-git/doc/guix.texi:774
  4355. msgid "It is also a good idea to make the Info version of this manual available there:"
  4356. msgstr ""
  4357. #. type: example
  4358. #: guix-git/doc/guix.texi:780
  4359. #, no-wrap
  4360. msgid ""
  4361. "# mkdir -p /usr/local/share/info\n"
  4362. "# cd /usr/local/share/info\n"
  4363. "# for i in /var/guix/profiles/per-user/root/current-guix/share/info/* ;\n"
  4364. " do ln -s $i ; done\n"
  4365. msgstr ""
  4366. #. type: enumerate
  4367. #: guix-git/doc/guix.texi:786
  4368. 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)."
  4369. msgstr ""
  4370. #. type: cindex
  4371. #: guix-git/doc/guix.texi:788 guix-git/doc/guix.texi:3740
  4372. #: guix-git/doc/guix.texi:15569
  4373. #, no-wrap
  4374. msgid "substitutes, authorization thereof"
  4375. msgstr ""
  4376. #. type: enumerate
  4377. #: guix-git/doc/guix.texi:792
  4378. msgid "To use substitutes from @code{@value{SUBSTITUTE-SERVER-1}}, @code{@value{SUBSTITUTE-SERVER-2}} or a mirror (@pxref{Substitutes}), authorize them:"
  4379. msgstr ""
  4380. #. type: example
  4381. #: guix-git/doc/guix.texi:798
  4382. #, no-wrap
  4383. msgid ""
  4384. "# guix archive --authorize < \\\n"
  4385. " ~root/.config/guix/current/share/guix/@value{SUBSTITUTE-SERVER-1}.pub\n"
  4386. "# guix archive --authorize < \\\n"
  4387. " ~root/.config/guix/current/share/guix/@value{SUBSTITUTE-SERVER-2}.pub\n"
  4388. msgstr ""
  4389. #. type: quotation
  4390. #: guix-git/doc/guix.texi:805
  4391. msgid "If you do not enable substitutes, Guix will end up building @emph{everything} from source on your machine, making each installation and upgrade very expensive. @xref{On Trusting Binaries}, for a discussion of reasons why one might want do disable substitutes."
  4392. msgstr ""
  4393. #. type: enumerate
  4394. #: guix-git/doc/guix.texi:810
  4395. msgid "Each user may need to perform a few additional steps to make their Guix environment ready for use, @pxref{Application Setup}."
  4396. msgstr ""
  4397. #. type: Plain text
  4398. #: guix-git/doc/guix.texi:813
  4399. msgid "Voilà, the installation is complete!"
  4400. msgstr ""
  4401. #. type: Plain text
  4402. #: guix-git/doc/guix.texi:816
  4403. msgid "You can confirm that Guix is working by installing a sample package into the root profile:"
  4404. msgstr ""
  4405. #. type: example
  4406. #: guix-git/doc/guix.texi:819
  4407. #, no-wrap
  4408. msgid "# guix install hello\n"
  4409. msgstr ""
  4410. #. type: Plain text
  4411. #: guix-git/doc/guix.texi:823
  4412. msgid "The binary installation tarball can be (re)produced and verified simply by running the following command in the Guix source tree:"
  4413. msgstr ""
  4414. #. type: example
  4415. #: guix-git/doc/guix.texi:826
  4416. #, no-wrap
  4417. msgid "make guix-binary.@var{system}.tar.xz\n"
  4418. msgstr ""
  4419. #. type: Plain text
  4420. #: guix-git/doc/guix.texi:830
  4421. msgid "...@: which, in turn, runs:"
  4422. msgstr ""
  4423. #. type: example
  4424. #: guix-git/doc/guix.texi:834
  4425. #, no-wrap
  4426. msgid ""
  4427. "guix pack -s @var{system} --localstatedir \\\n"
  4428. " --profile-name=current-guix guix\n"
  4429. msgstr ""
  4430. #. type: Plain text
  4431. #: guix-git/doc/guix.texi:837
  4432. msgid "@xref{Invoking guix pack}, for more info on this handy tool."
  4433. msgstr ""
  4434. #. type: Plain text
  4435. #: guix-git/doc/guix.texi:845
  4436. 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."
  4437. msgstr ""
  4438. #. type: cindex
  4439. #: guix-git/doc/guix.texi:846
  4440. #, no-wrap
  4441. msgid "official website"
  4442. msgstr ""
  4443. #. type: Plain text
  4444. #: guix-git/doc/guix.texi:849
  4445. msgid "GNU Guix is available for download from its website at @url{https://www.gnu.org/software/guix/}."
  4446. msgstr ""
  4447. #. type: Plain text
  4448. #: guix-git/doc/guix.texi:851
  4449. msgid "GNU Guix depends on the following packages:"
  4450. msgstr ""
  4451. #. type: item
  4452. #: guix-git/doc/guix.texi:853
  4453. #, fuzzy, no-wrap
  4454. #| msgid "@url{https://gnu.org/software/gettext/, GNU Gettext};"
  4455. msgid "@url{https://gnu.org/software/guile/, GNU Guile}, version 3.0.x;"
  4456. msgstr "@url{https://gnu.org/software/gettext/, GNU Gettext};"
  4457. #. type: item
  4458. #: guix-git/doc/guix.texi:854
  4459. #, no-wrap
  4460. msgid "@url{https://notabug.org/cwebber/guile-gcrypt, Guile-Gcrypt}, version"
  4461. msgstr ""
  4462. #. type: itemize
  4463. #: guix-git/doc/guix.texi:856
  4464. msgid "0.1.0 or later;"
  4465. msgstr ""
  4466. #. type: itemize
  4467. #: guix-git/doc/guix.texi:860
  4468. 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});"
  4469. msgstr ""
  4470. #. type: itemize
  4471. #: guix-git/doc/guix.texi:863
  4472. msgid "@uref{https://notabug.org/guile-sqlite3/guile-sqlite3, Guile-SQLite3}, version 0.1.0 or later;"
  4473. msgstr ""
  4474. #. type: item
  4475. #: guix-git/doc/guix.texi:863
  4476. #, no-wrap
  4477. msgid "@uref{https://notabug.org/guile-zlib/guile-zlib, Guile-zlib},"
  4478. msgstr ""
  4479. #. type: itemize
  4480. #: guix-git/doc/guix.texi:865
  4481. msgid "version 0.1.0 or later;"
  4482. msgstr ""
  4483. #. type: item
  4484. #: guix-git/doc/guix.texi:865
  4485. #, no-wrap
  4486. msgid "@uref{https://notabug.org/guile-lzlib/guile-lzlib, Guile-lzlib};"
  4487. msgstr ""
  4488. #. type: item
  4489. #: guix-git/doc/guix.texi:866
  4490. #, no-wrap
  4491. msgid "@uref{https://www.nongnu.org/guile-avahi/, Guile-Avahi};"
  4492. msgstr ""
  4493. #. type: itemize
  4494. #: guix-git/doc/guix.texi:870
  4495. #, fuzzy
  4496. #| msgid "@url{https://gnu.org/software/gettext/, GNU Gettext};"
  4497. msgid "@uref{https://gitlab.com/guile-git/guile-git, Guile-Git}, version 0.5.0 or later;"
  4498. msgstr "@url{https://gnu.org/software/gettext/, GNU Gettext};"
  4499. #. type: item
  4500. #: guix-git/doc/guix.texi:870
  4501. #, no-wrap
  4502. msgid "@uref{https://savannah.nongnu.org/projects/guile-json/, Guile-JSON}"
  4503. msgstr ""
  4504. #. type: itemize
  4505. #: guix-git/doc/guix.texi:872
  4506. msgid "4.3.0 or later;"
  4507. msgstr ""
  4508. #. type: item
  4509. #: guix-git/doc/guix.texi:872
  4510. #, no-wrap
  4511. msgid "@url{https://www.gnu.org/software/make/, GNU Make}."
  4512. msgstr ""
  4513. #. type: Plain text
  4514. #: guix-git/doc/guix.texi:876
  4515. msgid "The following dependencies are optional:"
  4516. msgstr ""
  4517. #. type: itemize
  4518. #: guix-git/doc/guix.texi:884
  4519. 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."
  4520. msgstr ""
  4521. #. type: itemize
  4522. #: guix-git/doc/guix.texi:889
  4523. 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})."
  4524. msgstr ""
  4525. #. type: itemize
  4526. #: guix-git/doc/guix.texi:893
  4527. msgid "@uref{https://ngyro.com/software/guile-semver.html, Guile-Semver} for the @code{crate} importer (@pxref{Invoking guix import})."
  4528. msgstr ""
  4529. #. type: itemize
  4530. #: guix-git/doc/guix.texi:898
  4531. 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})."
  4532. msgstr ""
  4533. #. type: itemize
  4534. #: guix-git/doc/guix.texi:902
  4535. msgid "When @url{http://www.bzip.org, libbz2} is available, @command{guix-daemon} can use it to compress build logs."
  4536. msgstr ""
  4537. #. type: Plain text
  4538. #: guix-git/doc/guix.texi:906
  4539. msgid "Unless @option{--disable-daemon} was passed to @command{configure}, the following packages are also needed:"
  4540. msgstr ""
  4541. #. type: item
  4542. #: guix-git/doc/guix.texi:908
  4543. #, no-wrap
  4544. msgid "@url{https://gnupg.org/, GNU libgcrypt};"
  4545. msgstr ""
  4546. #. type: item
  4547. #: guix-git/doc/guix.texi:909
  4548. #, no-wrap
  4549. msgid "@url{https://sqlite.org, SQLite 3};"
  4550. msgstr ""
  4551. #. type: item
  4552. #: guix-git/doc/guix.texi:910
  4553. #, no-wrap
  4554. msgid "@url{https://gcc.gnu.org, GCC's g++}, with support for the"
  4555. msgstr ""
  4556. #. type: itemize
  4557. #: guix-git/doc/guix.texi:912
  4558. msgid "C++11 standard."
  4559. msgstr ""
  4560. #. type: cindex
  4561. #: guix-git/doc/guix.texi:914
  4562. #, no-wrap
  4563. msgid "state directory"
  4564. msgstr ""
  4565. #. type: Plain text
  4566. #: guix-git/doc/guix.texi:923
  4567. 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})."
  4568. msgstr ""
  4569. #. type: cindex
  4570. #: guix-git/doc/guix.texi:927
  4571. #, no-wrap
  4572. msgid "test suite"
  4573. msgstr ""
  4574. #. type: Plain text
  4575. #: guix-git/doc/guix.texi:933
  4576. 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:"
  4577. msgstr ""
  4578. #. type: example
  4579. #: guix-git/doc/guix.texi:936
  4580. #, no-wrap
  4581. msgid "make check\n"
  4582. msgstr ""
  4583. #. type: Plain text
  4584. #: guix-git/doc/guix.texi:943
  4585. 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."
  4586. msgstr ""
  4587. #. type: Plain text
  4588. #: guix-git/doc/guix.texi:946
  4589. msgid "It is also possible to run a subset of the tests by defining the @code{TESTS} makefile variable as in this example:"
  4590. msgstr ""
  4591. #. type: example
  4592. #: guix-git/doc/guix.texi:949
  4593. #, no-wrap
  4594. msgid "make check TESTS=\"tests/store.scm tests/cpio.scm\"\n"
  4595. msgstr ""
  4596. #. type: Plain text
  4597. #: guix-git/doc/guix.texi:954
  4598. 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:"
  4599. msgstr ""
  4600. #. type: example
  4601. #: guix-git/doc/guix.texi:957
  4602. #, no-wrap
  4603. msgid "make check TESTS=\"tests/base64.scm\" SCM_LOG_DRIVER_FLAGS=\"--brief=no\"\n"
  4604. msgstr ""
  4605. #. type: Plain text
  4606. #: guix-git/doc/guix.texi:965
  4607. 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'':"
  4608. msgstr ""
  4609. #. type: example
  4610. #: guix-git/doc/guix.texi:969
  4611. #, no-wrap
  4612. msgid ""
  4613. "export SCM_LOG_DRIVER_FLAGS=\"--select=^transaction-upgrade-entry\"\n"
  4614. "make check TESTS=\"tests/packages.scm\"\n"
  4615. msgstr ""
  4616. #. type: Plain text
  4617. #: guix-git/doc/guix.texi:975
  4618. 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:"
  4619. msgstr ""
  4620. #. type: example
  4621. #: guix-git/doc/guix.texi:978
  4622. #, no-wrap
  4623. msgid "make check SCM_LOG_DRIVER_FLAGS=\"--brief=no --errors-only=yes\" VERBOSE=1\n"
  4624. msgstr ""
  4625. #. type: Plain text
  4626. #: guix-git/doc/guix.texi:983
  4627. 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}:"
  4628. msgstr ""
  4629. #. type: example
  4630. #: guix-git/doc/guix.texi:986
  4631. #, no-wrap
  4632. msgid "make check SCM_LOG_DRIVER_FLAGS=\"--brief=no --show-duration=yes\"\n"
  4633. msgstr ""
  4634. #. type: Plain text
  4635. #: guix-git/doc/guix.texi:990
  4636. msgid "@xref{Parallel Test Harness,,,automake,GNU Automake} for more information about the Automake Parallel Test Harness."
  4637. msgstr ""
  4638. #. type: Plain text
  4639. #: guix-git/doc/guix.texi:995
  4640. 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."
  4641. msgstr ""
  4642. #. type: Plain text
  4643. #: guix-git/doc/guix.texi:999
  4644. 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:"
  4645. msgstr ""
  4646. #. type: example
  4647. #: guix-git/doc/guix.texi:1002
  4648. #, no-wrap
  4649. msgid "make check-system\n"
  4650. msgstr ""
  4651. #. type: Plain text
  4652. #: guix-git/doc/guix.texi:1006
  4653. msgid "or, again, by defining @code{TESTS} to select a subset of tests to run:"
  4654. msgstr ""
  4655. #. type: example
  4656. #: guix-git/doc/guix.texi:1009
  4657. #, no-wrap
  4658. msgid "make check-system TESTS=\"basic mcron\"\n"
  4659. msgstr ""
  4660. #. type: Plain text
  4661. #: guix-git/doc/guix.texi:1017
  4662. 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."
  4663. msgstr ""
  4664. #. type: Plain text
  4665. #: guix-git/doc/guix.texi:1020
  4666. msgid "Again in case of test failures, please send @email{bug-guix@@gnu.org} all the details."
  4667. msgstr ""
  4668. #. type: cindex
  4669. #: guix-git/doc/guix.texi:1024
  4670. #, no-wrap
  4671. msgid "daemon"
  4672. msgstr ""
  4673. #. type: Plain text
  4674. #: guix-git/doc/guix.texi:1032
  4675. 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."
  4676. msgstr ""
  4677. #. type: Plain text
  4678. #: guix-git/doc/guix.texi:1036
  4679. 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."
  4680. msgstr ""
  4681. #. type: cindex
  4682. #: guix-git/doc/guix.texi:1046 guix-git/doc/guix.texi:1508
  4683. #, no-wrap
  4684. msgid "build environment"
  4685. msgstr ""
  4686. #. type: Plain text
  4687. #: guix-git/doc/guix.texi:1054
  4688. 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."
  4689. msgstr ""
  4690. #. type: cindex
  4691. #: guix-git/doc/guix.texi:1055
  4692. #, no-wrap
  4693. msgid "build users"
  4694. msgstr ""
  4695. #. type: Plain text
  4696. #: guix-git/doc/guix.texi:1066
  4697. 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})."
  4698. msgstr ""
  4699. #. type: Plain text
  4700. #: guix-git/doc/guix.texi:1069
  4701. msgid "On a GNU/Linux system, a build user pool may be created like this (using Bash syntax and the @code{shadow} commands):"
  4702. msgstr ""
  4703. #. type: example
  4704. #: guix-git/doc/guix.texi:1081
  4705. #, no-wrap
  4706. msgid ""
  4707. "# groupadd --system guixbuild\n"
  4708. "# for i in $(seq -w 1 10);\n"
  4709. " do\n"
  4710. " useradd -g guixbuild -G guixbuild \\\n"
  4711. " -d /var/empty -s $(which nologin) \\\n"
  4712. " -c \"Guix build user $i\" --system \\\n"
  4713. " guixbuilder$i;\n"
  4714. " done\n"
  4715. msgstr ""
  4716. #. type: Plain text
  4717. #: guix-git/doc/guix.texi:1091
  4718. 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})."
  4719. msgstr ""
  4720. #. type: Plain text
  4721. #: guix-git/doc/guix.texi:1100
  4722. 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}.}:"
  4723. msgstr ""
  4724. #. type: example
  4725. #: guix-git/doc/guix.texi:1103 guix-git/doc/guix.texi:1501
  4726. #, no-wrap
  4727. msgid "# guix-daemon --build-users-group=guixbuild\n"
  4728. msgstr ""
  4729. #. type: cindex
  4730. #: guix-git/doc/guix.texi:1105 guix-git/doc/guix.texi:1506
  4731. #, no-wrap
  4732. msgid "chroot"
  4733. msgstr ""
  4734. #. type: Plain text
  4735. #: guix-git/doc/guix.texi:1110
  4736. 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:"
  4737. msgstr ""
  4738. #. type: itemize
  4739. #: guix-git/doc/guix.texi:1118
  4740. 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.};"
  4741. msgstr ""
  4742. #. type: itemize
  4743. #: guix-git/doc/guix.texi:1122
  4744. msgid "the @code{/proc} directory; it only shows the processes of the container since a separate PID name space is used;"
  4745. msgstr ""
  4746. #. type: itemize
  4747. #: guix-git/doc/guix.texi:1126
  4748. msgid "@file{/etc/passwd} with an entry for the current user and an entry for user @file{nobody};"
  4749. msgstr ""
  4750. #. type: itemize
  4751. #: guix-git/doc/guix.texi:1129
  4752. msgid "@file{/etc/group} with an entry for the user's group;"
  4753. msgstr ""
  4754. #. type: itemize
  4755. #: guix-git/doc/guix.texi:1133
  4756. msgid "@file{/etc/hosts} with an entry that maps @code{localhost} to @code{127.0.0.1};"
  4757. msgstr ""
  4758. #. type: itemize
  4759. #: guix-git/doc/guix.texi:1136
  4760. msgid "a writable @file{/tmp} directory."
  4761. msgstr ""
  4762. #. type: Plain text
  4763. #: guix-git/doc/guix.texi:1145
  4764. 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."
  4765. msgstr ""
  4766. #. type: vindex
  4767. #: guix-git/doc/guix.texi:1146 guix-git/doc/guix.texi:3949
  4768. #, no-wrap
  4769. msgid "http_proxy"
  4770. msgstr ""
  4771. #. type: vindex
  4772. #: guix-git/doc/guix.texi:1147 guix-git/doc/guix.texi:3950
  4773. #, no-wrap
  4774. msgid "https_proxy"
  4775. msgstr ""
  4776. #. type: Plain text
  4777. #: guix-git/doc/guix.texi:1152
  4778. 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})."
  4779. msgstr ""
  4780. #. type: Plain text
  4781. #: guix-git/doc/guix.texi:1160
  4782. 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."
  4783. msgstr ""
  4784. #. type: subsection
  4785. #: guix-git/doc/guix.texi:1163
  4786. #, no-wrap
  4787. msgid "Using the Offload Facility"
  4788. msgstr ""
  4789. #. type: cindex
  4790. #: guix-git/doc/guix.texi:1165 guix-git/doc/guix.texi:1567
  4791. #, no-wrap
  4792. msgid "offloading"
  4793. msgstr ""
  4794. #. type: cindex
  4795. #: guix-git/doc/guix.texi:1166
  4796. #, no-wrap
  4797. msgid "build hook"
  4798. msgstr ""
  4799. #. type: Plain text
  4800. #: guix-git/doc/guix.texi:1185
  4801. 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:"
  4802. msgstr ""
  4803. #. type: enumerate
  4804. #: guix-git/doc/guix.texi:1191
  4805. 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."
  4806. msgstr ""
  4807. #. type: enumerate
  4808. #: guix-git/doc/guix.texi:1195
  4809. msgid "Its relative speed, as defined via the @code{speed} field of its @code{build-machine} object."
  4810. msgstr ""
  4811. #. type: enumerate
  4812. #: guix-git/doc/guix.texi:1200
  4813. 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."
  4814. msgstr ""
  4815. #. type: enumerate
  4816. #: guix-git/doc/guix.texi:1203
  4817. msgid "Disk space availability. More than a 100 MiB must be available."
  4818. msgstr ""
  4819. #. type: Plain text
  4820. #: guix-git/doc/guix.texi:1206
  4821. msgid "The @file{/etc/guix/machines.scm} file typically looks like this:"
  4822. msgstr ""
  4823. #. type: lisp
  4824. #: guix-git/doc/guix.texi:1214
  4825. #, no-wrap
  4826. msgid ""
  4827. "(list (build-machine\n"
  4828. " (name \"eightysix.example.org\")\n"
  4829. " (systems (list \"x86_64-linux\" \"i686-linux\"))\n"
  4830. " (host-key \"ssh-ed25519 AAAAC3Nza@dots{}\")\n"
  4831. " (user \"bob\")\n"
  4832. " (speed 2.)) ;incredibly fast!\n"
  4833. "\n"
  4834. msgstr ""
  4835. #. type: lisp
  4836. #: guix-git/doc/guix.texi:1223
  4837. #, no-wrap
  4838. msgid ""
  4839. " (build-machine\n"
  4840. " (name \"armeight.example.org\")\n"
  4841. " (systems (list \"aarch64-linux\"))\n"
  4842. " (host-key \"ssh-rsa AAAAB3Nza@dots{}\")\n"
  4843. " (user \"alice\")\n"
  4844. " (private-key\n"
  4845. " (string-append (getenv \"HOME\")\n"
  4846. " \"/.ssh/identity-for-guix\"))))\n"
  4847. msgstr ""
  4848. #. type: Plain text
  4849. #: guix-git/doc/guix.texi:1229
  4850. 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."
  4851. msgstr ""
  4852. #. type: Plain text
  4853. #: guix-git/doc/guix.texi:1238
  4854. 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."
  4855. msgstr ""
  4856. #. type: deftp
  4857. #: guix-git/doc/guix.texi:1239
  4858. #, no-wrap
  4859. msgid "{Data Type} build-machine"
  4860. msgstr ""
  4861. #. type: deftp
  4862. #: guix-git/doc/guix.texi:1242
  4863. msgid "This data type represents build machines to which the daemon may offload builds. The important fields are:"
  4864. msgstr ""
  4865. #. type: item
  4866. #: guix-git/doc/guix.texi:1245 guix-git/doc/guix.texi:6698
  4867. #: guix-git/doc/guix.texi:14527 guix-git/doc/guix.texi:14621
  4868. #: guix-git/doc/guix.texi:14862 guix-git/doc/guix.texi:16833
  4869. #: guix-git/doc/guix.texi:20112 guix-git/doc/guix.texi:23022
  4870. #: guix-git/doc/guix.texi:24411 guix-git/doc/guix.texi:25023
  4871. #: guix-git/doc/guix.texi:25375 guix-git/doc/guix.texi:25416
  4872. #: guix-git/doc/guix.texi:27568 guix-git/doc/guix.texi:29852
  4873. #: guix-git/doc/guix.texi:29872 guix-git/doc/guix.texi:32408
  4874. #: guix-git/doc/guix.texi:32425 guix-git/doc/guix.texi:32941
  4875. #: guix-git/doc/guix.texi:34677 guix-git/doc/guix.texi:35004
  4876. #, no-wrap
  4877. msgid "name"
  4878. msgstr ""
  4879. #. type: table
  4880. #: guix-git/doc/guix.texi:1247
  4881. msgid "The host name of the remote machine."
  4882. msgstr ""
  4883. #. type: item
  4884. #: guix-git/doc/guix.texi:1248
  4885. #, no-wrap
  4886. msgid "systems"
  4887. msgstr ""
  4888. #. type: table
  4889. #: guix-git/doc/guix.texi:1251
  4890. msgid "The system types the remote machine supports---e.g., @code{(list \"x86_64-linux\" \"i686-linux\")}."
  4891. msgstr ""
  4892. #. type: code{#1}
  4893. #: guix-git/doc/guix.texi:1252 guix-git/doc/guix.texi:16843
  4894. #, no-wrap
  4895. msgid "user"
  4896. msgstr ""
  4897. #. type: table
  4898. #: guix-git/doc/guix.texi:1256
  4899. 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."
  4900. msgstr ""
  4901. #. type: item
  4902. #: guix-git/doc/guix.texi:1257
  4903. #, no-wrap
  4904. msgid "host-key"
  4905. msgstr ""
  4906. #. type: table
  4907. #: guix-git/doc/guix.texi:1261
  4908. 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:"
  4909. msgstr ""
  4910. #. type: example
  4911. #: guix-git/doc/guix.texi:1264
  4912. #, no-wrap
  4913. msgid "ssh-ed25519 AAAAC3NzaC@dots{}mde+UhL hint@@example.org\n"
  4914. msgstr ""
  4915. #. type: table
  4916. #: guix-git/doc/guix.texi:1269
  4917. 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}."
  4918. msgstr ""
  4919. #. type: table
  4920. #: guix-git/doc/guix.texi:1274
  4921. 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}):"
  4922. msgstr ""
  4923. #. type: example
  4924. #: guix-git/doc/guix.texi:1278
  4925. #, no-wrap
  4926. msgid ""
  4927. "$ lsh-export-key --openssh < /etc/lsh/host-key.pub\n"
  4928. "ssh-rsa AAAAB3NzaC1yc2EAAAAEOp8FoQAAAQEAs1eB46LV@dots{}\n"
  4929. msgstr ""
  4930. #. type: deftp
  4931. #: guix-git/doc/guix.texi:1283
  4932. msgid "A number of optional fields may be specified:"
  4933. msgstr ""
  4934. #. type: item
  4935. #: guix-git/doc/guix.texi:1286 guix-git/doc/guix.texi:34173
  4936. #, no-wrap
  4937. msgid "@code{port} (default: @code{22})"
  4938. msgstr ""
  4939. #. type: table
  4940. #: guix-git/doc/guix.texi:1288
  4941. msgid "Port number of SSH server on the machine."
  4942. msgstr ""
  4943. #. type: item
  4944. #: guix-git/doc/guix.texi:1289
  4945. #, no-wrap
  4946. msgid "@code{private-key} (default: @file{~root/.ssh/id_rsa})"
  4947. msgstr ""
  4948. #. type: table
  4949. #: guix-git/doc/guix.texi:1292
  4950. 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."
  4951. msgstr ""
  4952. #. type: table
  4953. #: guix-git/doc/guix.texi:1295
  4954. msgid "Note that the default value is the private key @emph{of the root account}. Make sure it exists if you use the default."
  4955. msgstr ""
  4956. #. type: item
  4957. #: guix-git/doc/guix.texi:1296
  4958. #, no-wrap
  4959. msgid "@code{compression} (default: @code{\"zlib@@openssh.com,zlib\"})"
  4960. msgstr ""
  4961. #. type: itemx
  4962. #: guix-git/doc/guix.texi:1297
  4963. #, no-wrap
  4964. msgid "@code{compression-level} (default: @code{3})"
  4965. msgstr ""
  4966. #. type: table
  4967. #: guix-git/doc/guix.texi:1299
  4968. msgid "The SSH-level compression methods and compression level requested."
  4969. msgstr ""
  4970. #. type: table
  4971. #: guix-git/doc/guix.texi:1302
  4972. msgid "Note that offloading relies on SSH compression to reduce bandwidth usage when transferring files to and from build machines."
  4973. msgstr ""
  4974. #. type: item
  4975. #: guix-git/doc/guix.texi:1303
  4976. #, no-wrap
  4977. msgid "@code{daemon-socket} (default: @code{\"/var/guix/daemon-socket/socket\"})"
  4978. msgstr ""
  4979. #. type: table
  4980. #: guix-git/doc/guix.texi:1306
  4981. msgid "File name of the Unix-domain socket @command{guix-daemon} is listening to on that machine."
  4982. msgstr ""
  4983. #. type: item
  4984. #: guix-git/doc/guix.texi:1307
  4985. #, no-wrap
  4986. msgid "@code{overload-threshold} (default: @code{0.6})"
  4987. msgstr ""
  4988. #. type: table
  4989. #: guix-git/doc/guix.texi:1313
  4990. 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}."
  4991. msgstr ""
  4992. #. type: item
  4993. #: guix-git/doc/guix.texi:1314
  4994. #, no-wrap
  4995. msgid "@code{parallel-builds} (default: @code{1})"
  4996. msgstr ""
  4997. #. type: table
  4998. #: guix-git/doc/guix.texi:1316
  4999. msgid "The number of builds that may run in parallel on the machine."
  5000. msgstr ""
  5001. #. type: item
  5002. #: guix-git/doc/guix.texi:1317
  5003. #, no-wrap
  5004. msgid "@code{speed} (default: @code{1.0})"
  5005. msgstr ""
  5006. #. type: table
  5007. #: guix-git/doc/guix.texi:1320
  5008. msgid "A ``relative speed factor''. The offload scheduler will tend to prefer machines with a higher speed factor."
  5009. msgstr ""
  5010. #. type: item
  5011. #: guix-git/doc/guix.texi:1321
  5012. #, no-wrap
  5013. msgid "@code{features} (default: @code{'()})"
  5014. msgstr ""
  5015. #. type: table
  5016. #: guix-git/doc/guix.texi:1326
  5017. 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."
  5018. msgstr ""
  5019. #. type: Plain text
  5020. #: guix-git/doc/guix.texi:1332
  5021. 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:"
  5022. msgstr ""
  5023. #. type: example
  5024. #: guix-git/doc/guix.texi:1335
  5025. #, no-wrap
  5026. msgid "ssh build-machine guix repl --version\n"
  5027. msgstr ""
  5028. #. type: Plain text
  5029. #: guix-git/doc/guix.texi:1342
  5030. 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}):"
  5031. msgstr ""
  5032. #. type: example
  5033. #: guix-git/doc/guix.texi:1345 guix-git/doc/guix.texi:34101
  5034. #, no-wrap
  5035. msgid "# guix archive --generate-key\n"
  5036. msgstr ""
  5037. #. type: Plain text
  5038. #: guix-git/doc/guix.texi:1350
  5039. msgid "Each build machine must authorize the key of the master machine so that it accepts store items it receives from the master:"
  5040. msgstr ""
  5041. #. type: example
  5042. #: guix-git/doc/guix.texi:1353
  5043. #, no-wrap
  5044. msgid "# guix archive --authorize < master-public-key.txt\n"
  5045. msgstr ""
  5046. #. type: Plain text
  5047. #: guix-git/doc/guix.texi:1357
  5048. msgid "Likewise, the master machine must authorize the key of each build machine."
  5049. msgstr ""
  5050. #. type: Plain text
  5051. #: guix-git/doc/guix.texi:1363
  5052. 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."
  5053. msgstr ""
  5054. #. type: cindex
  5055. #: guix-git/doc/guix.texi:1364
  5056. #, no-wrap
  5057. msgid "offload test"
  5058. msgstr ""
  5059. #. type: Plain text
  5060. #: guix-git/doc/guix.texi:1367
  5061. msgid "To test whether your setup is operational, run this command on the master node:"
  5062. msgstr ""
  5063. #. type: example
  5064. #: guix-git/doc/guix.texi:1370
  5065. #, no-wrap
  5066. msgid "# guix offload test\n"
  5067. msgstr ""
  5068. #. type: Plain text
  5069. #: guix-git/doc/guix.texi:1376
  5070. 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."
  5071. msgstr ""
  5072. #. type: Plain text
  5073. #: guix-git/doc/guix.texi:1379
  5074. msgid "If you want to test a different machine file, just specify it on the command line:"
  5075. msgstr ""
  5076. #. type: example
  5077. #: guix-git/doc/guix.texi:1382
  5078. #, no-wrap
  5079. msgid "# guix offload test machines-qualif.scm\n"
  5080. msgstr ""
  5081. #. type: Plain text
  5082. #: guix-git/doc/guix.texi:1386
  5083. msgid "Last, you can test the subset of the machines whose name matches a regular expression like this:"
  5084. msgstr ""
  5085. #. type: example
  5086. #: guix-git/doc/guix.texi:1389
  5087. #, no-wrap
  5088. msgid "# guix offload test machines.scm '\\.gnu\\.org$'\n"
  5089. msgstr ""
  5090. #. type: cindex
  5091. #: guix-git/doc/guix.texi:1391
  5092. #, no-wrap
  5093. msgid "offload status"
  5094. msgstr ""
  5095. #. type: Plain text
  5096. #: guix-git/doc/guix.texi:1394
  5097. msgid "To display the current load of all build hosts, run this command on the main node:"
  5098. msgstr ""
  5099. #. type: example
  5100. #: guix-git/doc/guix.texi:1397
  5101. #, no-wrap
  5102. msgid "# guix offload status\n"
  5103. msgstr ""
  5104. #. type: cindex
  5105. #: guix-git/doc/guix.texi:1403
  5106. #, no-wrap
  5107. msgid "SELinux, daemon policy"
  5108. msgstr ""
  5109. #. type: cindex
  5110. #: guix-git/doc/guix.texi:1404
  5111. #, no-wrap
  5112. msgid "mandatory access control, SELinux"
  5113. msgstr ""
  5114. #. type: cindex
  5115. #: guix-git/doc/guix.texi:1405
  5116. #, no-wrap
  5117. msgid "security, guix-daemon"
  5118. msgstr ""
  5119. #. type: Plain text
  5120. #: guix-git/doc/guix.texi:1411
  5121. 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."
  5122. msgstr ""
  5123. #. type: subsubsection
  5124. #: guix-git/doc/guix.texi:1412
  5125. #, no-wrap
  5126. msgid "Installing the SELinux policy"
  5127. msgstr ""
  5128. #. type: cindex
  5129. #: guix-git/doc/guix.texi:1413
  5130. #, no-wrap
  5131. msgid "SELinux, policy installation"
  5132. msgstr ""
  5133. #. type: Plain text
  5134. #: guix-git/doc/guix.texi:1415
  5135. msgid "To install the policy run this command as root:"
  5136. msgstr ""
  5137. #. type: example
  5138. #: guix-git/doc/guix.texi:1418
  5139. #, no-wrap
  5140. msgid "semodule -i etc/guix-daemon.cil\n"
  5141. msgstr ""
  5142. #. type: Plain text
  5143. #: guix-git/doc/guix.texi:1422
  5144. msgid "Then relabel the file system with @code{restorecon} or by a different mechanism provided by your system."
  5145. msgstr ""
  5146. #. type: Plain text
  5147. #: guix-git/doc/guix.texi:1427
  5148. 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:"
  5149. msgstr ""
  5150. #. type: example
  5151. #: guix-git/doc/guix.texi:1430
  5152. #, no-wrap
  5153. msgid "ps -Zax | grep guix-daemon\n"
  5154. msgstr ""
  5155. #. type: Plain text
  5156. #: guix-git/doc/guix.texi:1435
  5157. 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."
  5158. msgstr ""
  5159. #. type: cindex
  5160. #: guix-git/doc/guix.texi:1437
  5161. #, no-wrap
  5162. msgid "SELinux, limitations"
  5163. msgstr ""
  5164. #. type: Plain text
  5165. #: guix-git/doc/guix.texi:1442
  5166. 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."
  5167. msgstr ""
  5168. #. type: enumerate
  5169. #: guix-git/doc/guix.texi:1449
  5170. 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."
  5171. msgstr ""
  5172. #. type: enumerate
  5173. #: guix-git/doc/guix.texi:1460
  5174. 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."
  5175. msgstr ""
  5176. #. type: enumerate
  5177. #: guix-git/doc/guix.texi:1465
  5178. 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."
  5179. msgstr ""
  5180. #. type: enumerate
  5181. #: guix-git/doc/guix.texi:1476
  5182. 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."
  5183. msgstr ""
  5184. #. type: enumerate
  5185. #: guix-git/doc/guix.texi:1481
  5186. 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."
  5187. msgstr ""
  5188. #. type: enumerate
  5189. #: guix-git/doc/guix.texi:1489
  5190. 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."
  5191. msgstr ""
  5192. #. type: section
  5193. #: guix-git/doc/guix.texi:1492
  5194. #, no-wrap
  5195. msgid "Invoking @command{guix-daemon}"
  5196. msgstr ""
  5197. #. type: Plain text
  5198. #: guix-git/doc/guix.texi:1498
  5199. 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:"
  5200. msgstr ""
  5201. #. type: Plain text
  5202. #: guix-git/doc/guix.texi:1505
  5203. msgid "For details on how to set it up, @pxref{Setting Up the Daemon}."
  5204. msgstr ""
  5205. #. type: cindex
  5206. #: guix-git/doc/guix.texi:1507
  5207. #, no-wrap
  5208. msgid "container, build environment"
  5209. msgstr ""
  5210. #. type: cindex
  5211. #: guix-git/doc/guix.texi:1509 guix-git/doc/guix.texi:3026
  5212. #: guix-git/doc/guix.texi:3930 guix-git/doc/guix.texi:12937
  5213. #, no-wrap
  5214. msgid "reproducible builds"
  5215. msgstr ""
  5216. #. type: Plain text
  5217. #: guix-git/doc/guix.texi:1521
  5218. 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})."
  5219. msgstr ""
  5220. #. type: Plain text
  5221. #: guix-git/doc/guix.texi:1527
  5222. 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}."
  5223. msgstr ""
  5224. #. type: Plain text
  5225. #: guix-git/doc/guix.texi:1531
  5226. 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}})."
  5227. msgstr ""
  5228. #. type: Plain text
  5229. #: guix-git/doc/guix.texi:1537
  5230. 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."
  5231. msgstr ""
  5232. #. type: Plain text
  5233. #: guix-git/doc/guix.texi:1539
  5234. msgid "The following command-line options are supported:"
  5235. msgstr ""
  5236. #. type: item
  5237. #: guix-git/doc/guix.texi:1541
  5238. #, no-wrap
  5239. msgid "--build-users-group=@var{group}"
  5240. msgstr ""
  5241. #. type: table
  5242. #: guix-git/doc/guix.texi:1544
  5243. msgid "Take users from @var{group} to run build processes (@pxref{Setting Up the Daemon, build users})."
  5244. msgstr ""
  5245. #. type: item
  5246. #: guix-git/doc/guix.texi:1545 guix-git/doc/guix.texi:10339
  5247. #, no-wrap
  5248. msgid "--no-substitutes"
  5249. msgstr ""
  5250. #. type: cindex
  5251. #: guix-git/doc/guix.texi:1546 guix-git/doc/guix.texi:3038
  5252. #: guix-git/doc/guix.texi:3683
  5253. #, no-wrap
  5254. msgid "substitutes"
  5255. msgstr ""
  5256. #. type: table
  5257. #: guix-git/doc/guix.texi:1550 guix-git/doc/guix.texi:10343
  5258. msgid "Do not use substitutes for build products. That is, always build things locally instead of allowing downloads of pre-built binaries (@pxref{Substitutes})."
  5259. msgstr ""
  5260. #. type: table
  5261. #: guix-git/doc/guix.texi:1554
  5262. 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})."
  5263. msgstr ""
  5264. #. type: anchor{#1}
  5265. #: guix-git/doc/guix.texi:1556
  5266. msgid "daemon-substitute-urls"
  5267. msgstr ""
  5268. #. type: item
  5269. #: guix-git/doc/guix.texi:1556 guix-git/doc/guix.texi:10326
  5270. #: guix-git/doc/guix.texi:12358 guix-git/doc/guix.texi:13083
  5271. #: guix-git/doc/guix.texi:13308
  5272. #, no-wrap
  5273. msgid "--substitute-urls=@var{urls}"
  5274. msgstr ""
  5275. #. type: table
  5276. #: guix-git/doc/guix.texi:1560
  5277. msgid "Consider @var{urls} the default whitespace-separated list of substitute source URLs. When this option is omitted, @indicateurl{@value{SUBSTITUTE-URLS}} is used."
  5278. msgstr ""
  5279. #. type: table
  5280. #: guix-git/doc/guix.texi:1563
  5281. msgid "This means that substitutes may be downloaded from @var{urls}, as long as they are signed by a trusted signature (@pxref{Substitutes})."
  5282. msgstr ""
  5283. #. type: table
  5284. #: guix-git/doc/guix.texi:1566
  5285. msgid "@xref{Getting Substitutes from Other Servers}, for more information on how to configure the daemon to get substitutes from other servers."
  5286. msgstr ""
  5287. #. type: item
  5288. #: guix-git/doc/guix.texi:1568 guix-git/doc/guix.texi:10362
  5289. #, no-wrap
  5290. msgid "--no-offload"
  5291. msgstr ""
  5292. #. type: table
  5293. #: guix-git/doc/guix.texi:1572 guix-git/doc/guix.texi:10366
  5294. 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."
  5295. msgstr ""
  5296. #. type: item
  5297. #: guix-git/doc/guix.texi:1573
  5298. #, no-wrap
  5299. msgid "--cache-failures"
  5300. msgstr ""
  5301. #. type: table
  5302. #: guix-git/doc/guix.texi:1575
  5303. msgid "Cache build failures. By default, only successful builds are cached."
  5304. msgstr ""
  5305. #. type: table
  5306. #: guix-git/doc/guix.texi:1580
  5307. 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}."
  5308. msgstr ""
  5309. #. type: item
  5310. #: guix-git/doc/guix.texi:1581 guix-git/doc/guix.texi:10392
  5311. #, no-wrap
  5312. msgid "--cores=@var{n}"
  5313. msgstr ""
  5314. #. type: itemx
  5315. #: guix-git/doc/guix.texi:1582 guix-git/doc/guix.texi:10393
  5316. #, no-wrap
  5317. msgid "-c @var{n}"
  5318. msgstr ""
  5319. #. type: table
  5320. #: guix-git/doc/guix.texi:1585
  5321. msgid "Use @var{n} CPU cores to build each derivation; @code{0} means as many as available."
  5322. msgstr ""
  5323. #. type: table
  5324. #: guix-git/doc/guix.texi:1589
  5325. 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})."
  5326. msgstr ""
  5327. #. type: table
  5328. #: guix-git/doc/guix.texi:1593
  5329. 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}."
  5330. msgstr ""
  5331. #. type: item
  5332. #: guix-git/doc/guix.texi:1594 guix-git/doc/guix.texi:10397
  5333. #, no-wrap
  5334. msgid "--max-jobs=@var{n}"
  5335. msgstr ""
  5336. #. type: itemx
  5337. #: guix-git/doc/guix.texi:1595 guix-git/doc/guix.texi:10398
  5338. #, no-wrap
  5339. msgid "-M @var{n}"
  5340. msgstr ""
  5341. #. type: table
  5342. #: guix-git/doc/guix.texi:1600
  5343. 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."
  5344. msgstr ""
  5345. #. type: item
  5346. #: guix-git/doc/guix.texi:1601 guix-git/doc/guix.texi:10367
  5347. #, no-wrap
  5348. msgid "--max-silent-time=@var{seconds}"
  5349. msgstr ""
  5350. #. type: table
  5351. #: guix-git/doc/guix.texi:1604 guix-git/doc/guix.texi:10370
  5352. msgid "When the build or substitution process remains silent for more than @var{seconds}, terminate it and report a build failure."
  5353. msgstr ""
  5354. #. type: table
  5355. #: guix-git/doc/guix.texi:1606 guix-git/doc/guix.texi:1615
  5356. msgid "The default value is @code{0}, which disables the timeout."
  5357. msgstr ""
  5358. #. type: table
  5359. #: guix-git/doc/guix.texi:1609
  5360. msgid "The value specified here can be overridden by clients (@pxref{Common Build Options, @option{--max-silent-time}})."
  5361. msgstr ""
  5362. #. type: item
  5363. #: guix-git/doc/guix.texi:1610 guix-git/doc/guix.texi:10374
  5364. #, no-wrap
  5365. msgid "--timeout=@var{seconds}"
  5366. msgstr ""
  5367. #. type: table
  5368. #: guix-git/doc/guix.texi:1613 guix-git/doc/guix.texi:10377
  5369. msgid "Likewise, when the build or substitution process lasts for more than @var{seconds}, terminate it and report a build failure."
  5370. msgstr ""
  5371. #. type: table
  5372. #: guix-git/doc/guix.texi:1618
  5373. msgid "The value specified here can be overridden by clients (@pxref{Common Build Options, @option{--timeout}})."
  5374. msgstr ""
  5375. #. type: item
  5376. #: guix-git/doc/guix.texi:1619
  5377. #, no-wrap
  5378. msgid "--rounds=@var{N}"
  5379. msgstr ""
  5380. #. type: table
  5381. #: guix-git/doc/guix.texi:1624
  5382. 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})."
  5383. msgstr ""
  5384. #. type: table
  5385. #: guix-git/doc/guix.texi:1628 guix-git/doc/guix.texi:10361
  5386. #: guix-git/doc/guix.texi:10923
  5387. 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."
  5388. msgstr ""
  5389. #. type: item
  5390. #: guix-git/doc/guix.texi:1629
  5391. #, no-wrap
  5392. msgid "--debug"
  5393. msgstr ""
  5394. #. type: table
  5395. #: guix-git/doc/guix.texi:1631
  5396. msgid "Produce debugging output."
  5397. msgstr ""
  5398. #. type: table
  5399. #: guix-git/doc/guix.texi:1635
  5400. 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})."
  5401. msgstr ""
  5402. #. type: item
  5403. #: guix-git/doc/guix.texi:1636
  5404. #, no-wrap
  5405. msgid "--chroot-directory=@var{dir}"
  5406. msgstr ""
  5407. #. type: table
  5408. #: guix-git/doc/guix.texi:1638
  5409. msgid "Add @var{dir} to the build chroot."
  5410. msgstr ""
  5411. #. type: table
  5412. #: guix-git/doc/guix.texi:1644
  5413. 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."
  5414. msgstr ""
  5415. #. type: item
  5416. #: guix-git/doc/guix.texi:1645
  5417. #, no-wrap
  5418. msgid "--disable-chroot"
  5419. msgstr ""
  5420. #. type: table
  5421. #: guix-git/doc/guix.texi:1647
  5422. msgid "Disable chroot builds."
  5423. msgstr ""
  5424. #. type: table
  5425. #: guix-git/doc/guix.texi:1652
  5426. 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."
  5427. msgstr ""
  5428. #. type: item
  5429. #: guix-git/doc/guix.texi:1653
  5430. #, no-wrap
  5431. msgid "--log-compression=@var{type}"
  5432. msgstr ""
  5433. #. type: table
  5434. #: guix-git/doc/guix.texi:1656
  5435. msgid "Compress build logs according to @var{type}, one of @code{gzip}, @code{bzip2}, or @code{none}."
  5436. msgstr ""
  5437. #. type: table
  5438. #: guix-git/doc/guix.texi:1660
  5439. 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."
  5440. msgstr ""
  5441. #. type: item
  5442. #: guix-git/doc/guix.texi:1661
  5443. #, no-wrap
  5444. msgid "--discover[=yes|no]"
  5445. msgstr ""
  5446. #. type: table
  5447. #: guix-git/doc/guix.texi:1664 guix-git/doc/guix.texi:15638
  5448. msgid "Whether to discover substitute servers on the local network using mDNS and DNS-SD."
  5449. msgstr ""
  5450. #. type: table
  5451. #: guix-git/doc/guix.texi:1667
  5452. msgid "This feature is still experimental. However, here are a few considerations."
  5453. msgstr ""
  5454. #. type: enumerate
  5455. #: guix-git/doc/guix.texi:1671
  5456. msgid "It might be faster/less expensive than fetching from remote servers;"
  5457. msgstr ""
  5458. #. type: enumerate
  5459. #: guix-git/doc/guix.texi:1674
  5460. msgid "There are no security risks, only genuine substitutes will be used (@pxref{Substitute Authentication});"
  5461. msgstr ""
  5462. #. type: enumerate
  5463. #: guix-git/doc/guix.texi:1678
  5464. msgid "An attacker advertising @command{guix publish} on your LAN cannot serve you malicious binaries, but they can learn what software you’re installing;"
  5465. msgstr ""
  5466. #. type: enumerate
  5467. #: guix-git/doc/guix.texi:1681
  5468. msgid "Servers may serve substitute over HTTP, unencrypted, so anyone on the LAN can see what software you’re installing."
  5469. msgstr ""
  5470. #. type: table
  5471. #: guix-git/doc/guix.texi:1685
  5472. msgid "It is also possible to enable or disable substitute server discovery at run-time by running:"
  5473. msgstr ""
  5474. #. type: example
  5475. #: guix-git/doc/guix.texi:1689
  5476. #, no-wrap
  5477. msgid ""
  5478. "herd discover guix-daemon on\n"
  5479. "herd discover guix-daemon off\n"
  5480. msgstr ""
  5481. #. type: item
  5482. #: guix-git/doc/guix.texi:1691
  5483. #, no-wrap
  5484. msgid "--disable-deduplication"
  5485. msgstr ""
  5486. #. type: cindex
  5487. #: guix-git/doc/guix.texi:1692 guix-git/doc/guix.texi:4268
  5488. #, no-wrap
  5489. msgid "deduplication"
  5490. msgstr ""
  5491. #. type: table
  5492. #: guix-git/doc/guix.texi:1694
  5493. msgid "Disable automatic file ``deduplication'' in the store."
  5494. msgstr ""
  5495. #. type: table
  5496. #: guix-git/doc/guix.texi:1701
  5497. 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."
  5498. msgstr ""
  5499. #. type: item
  5500. #: guix-git/doc/guix.texi:1702
  5501. #, no-wrap
  5502. msgid "--gc-keep-outputs[=yes|no]"
  5503. msgstr ""
  5504. #. type: table
  5505. #: guix-git/doc/guix.texi:1705
  5506. msgid "Tell whether the garbage collector (GC) must keep outputs of live derivations."
  5507. msgstr ""
  5508. #. type: cindex
  5509. #: guix-git/doc/guix.texi:1706 guix-git/doc/guix.texi:4081
  5510. #, no-wrap
  5511. msgid "GC roots"
  5512. msgstr ""
  5513. #. type: cindex
  5514. #: guix-git/doc/guix.texi:1707 guix-git/doc/guix.texi:4082
  5515. #, no-wrap
  5516. msgid "garbage collector roots"
  5517. msgstr ""
  5518. #. type: table
  5519. #: guix-git/doc/guix.texi:1713
  5520. 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."
  5521. msgstr ""
  5522. #. type: item
  5523. #: guix-git/doc/guix.texi:1714
  5524. #, no-wrap
  5525. msgid "--gc-keep-derivations[=yes|no]"
  5526. msgstr ""
  5527. #. type: table
  5528. #: guix-git/doc/guix.texi:1717
  5529. msgid "Tell whether the garbage collector (GC) must keep derivations corresponding to live outputs."
  5530. msgstr ""
  5531. #. type: table
  5532. #: guix-git/doc/guix.texi:1723
  5533. 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."
  5534. msgstr ""
  5535. #. type: table
  5536. #: guix-git/doc/guix.texi:1732
  5537. 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."
  5538. msgstr ""
  5539. #. type: item
  5540. #: guix-git/doc/guix.texi:1733
  5541. #, no-wrap
  5542. msgid "--impersonate-linux-2.6"
  5543. msgstr ""
  5544. #. type: table
  5545. #: guix-git/doc/guix.texi:1736
  5546. 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."
  5547. msgstr ""
  5548. #. type: table
  5549. #: guix-git/doc/guix.texi:1739
  5550. msgid "This might be helpful to build programs that (usually wrongfully) depend on the kernel version number."
  5551. msgstr ""
  5552. #. type: item
  5553. #: guix-git/doc/guix.texi:1740
  5554. #, no-wrap
  5555. msgid "--lose-logs"
  5556. msgstr ""
  5557. #. type: table
  5558. #: guix-git/doc/guix.texi:1743
  5559. msgid "Do not keep build logs. By default they are kept under @file{@var{localstatedir}/guix/log}."
  5560. msgstr ""
  5561. #. type: item
  5562. #: guix-git/doc/guix.texi:1744 guix-git/doc/guix.texi:4509
  5563. #: guix-git/doc/guix.texi:5808 guix-git/doc/guix.texi:6208
  5564. #: guix-git/doc/guix.texi:10867 guix-git/doc/guix.texi:12385
  5565. #: guix-git/doc/guix.texi:12636 guix-git/doc/guix.texi:13313
  5566. #: guix-git/doc/guix.texi:33044 guix-git/doc/guix.texi:33843
  5567. #, no-wrap
  5568. msgid "--system=@var{system}"
  5569. msgstr ""
  5570. #. type: table
  5571. #: guix-git/doc/guix.texi:1748
  5572. 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}."
  5573. msgstr ""
  5574. #. type: item
  5575. #: guix-git/doc/guix.texi:1749 guix-git/doc/guix.texi:10172
  5576. #, no-wrap
  5577. msgid "--listen=@var{endpoint}"
  5578. msgstr ""
  5579. #. type: table
  5580. #: guix-git/doc/guix.texi:1754
  5581. 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:"
  5582. msgstr ""
  5583. #. type: item
  5584. #: guix-git/doc/guix.texi:1756
  5585. #, no-wrap
  5586. msgid "--listen=/gnu/var/daemon"
  5587. msgstr ""
  5588. #. type: table
  5589. #: guix-git/doc/guix.texi:1759
  5590. msgid "Listen for connections on the @file{/gnu/var/daemon} Unix-domain socket, creating it if needed."
  5591. msgstr ""
  5592. #. type: item
  5593. #: guix-git/doc/guix.texi:1760
  5594. #, no-wrap
  5595. msgid "--listen=localhost"
  5596. msgstr ""
  5597. #. type: cindex
  5598. #: guix-git/doc/guix.texi:1761 guix-git/doc/guix.texi:8846
  5599. #, no-wrap
  5600. msgid "daemon, remote access"
  5601. msgstr ""
  5602. #. type: cindex
  5603. #: guix-git/doc/guix.texi:1762 guix-git/doc/guix.texi:8847
  5604. #, no-wrap
  5605. msgid "remote access to the daemon"
  5606. msgstr ""
  5607. #. type: cindex
  5608. #: guix-git/doc/guix.texi:1763 guix-git/doc/guix.texi:8848
  5609. #, no-wrap
  5610. msgid "daemon, cluster setup"
  5611. msgstr ""
  5612. #. type: cindex
  5613. #: guix-git/doc/guix.texi:1764 guix-git/doc/guix.texi:8849
  5614. #, no-wrap
  5615. msgid "clusters, daemon setup"
  5616. msgstr ""
  5617. #. type: table
  5618. #: guix-git/doc/guix.texi:1767
  5619. msgid "Listen for TCP connections on the network interface corresponding to @code{localhost}, on port 44146."
  5620. msgstr ""
  5621. #. type: item
  5622. #: guix-git/doc/guix.texi:1768
  5623. #, no-wrap
  5624. msgid "--listen=128.0.0.42:1234"
  5625. msgstr ""
  5626. #. type: table
  5627. #: guix-git/doc/guix.texi:1771
  5628. msgid "Listen for TCP connections on the network interface corresponding to @code{128.0.0.42}, on port 1234."
  5629. msgstr ""
  5630. #. type: table
  5631. #: guix-git/doc/guix.texi:1778
  5632. 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}})."
  5633. msgstr ""
  5634. #. type: quotation
  5635. #: guix-git/doc/guix.texi:1785
  5636. 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."
  5637. msgstr ""
  5638. #. type: table
  5639. #: guix-git/doc/guix.texi:1790
  5640. 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}."
  5641. msgstr ""
  5642. #. type: Plain text
  5643. #: guix-git/doc/guix.texi:1800
  5644. 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."
  5645. msgstr ""
  5646. #. type: anchor{#1}
  5647. #: guix-git/doc/guix.texi:1804
  5648. msgid "locales-and-locpath"
  5649. msgstr ""
  5650. #. type: cindex
  5651. #: guix-git/doc/guix.texi:1804
  5652. #, no-wrap
  5653. msgid "locales, when not on Guix System"
  5654. msgstr ""
  5655. #. type: vindex
  5656. #: guix-git/doc/guix.texi:1805 guix-git/doc/guix.texi:14846
  5657. #, no-wrap
  5658. msgid "LOCPATH"
  5659. msgstr ""
  5660. #. type: vindex
  5661. #: guix-git/doc/guix.texi:1806
  5662. #, no-wrap
  5663. msgid "GUIX_LOCPATH"
  5664. msgstr ""
  5665. #. type: Plain text
  5666. #: guix-git/doc/guix.texi:1811
  5667. 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:"
  5668. msgstr ""
  5669. #. type: example
  5670. #: guix-git/doc/guix.texi:1815
  5671. #, no-wrap
  5672. msgid ""
  5673. "$ guix install glibc-locales\n"
  5674. "$ export GUIX_LOCPATH=$HOME/.guix-profile/lib/locale\n"
  5675. msgstr ""
  5676. #. type: Plain text
  5677. #: guix-git/doc/guix.texi:1821
  5678. 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."
  5679. msgstr ""
  5680. #. type: Plain text
  5681. #: guix-git/doc/guix.texi:1825
  5682. 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:"
  5683. msgstr ""
  5684. #. type: enumerate
  5685. #: guix-git/doc/guix.texi:1832
  5686. 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."
  5687. msgstr ""
  5688. #. type: enumerate
  5689. #: guix-git/doc/guix.texi:1839
  5690. 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."
  5691. msgstr ""
  5692. #. type: Plain text
  5693. #: guix-git/doc/guix.texi:1843
  5694. msgid "This is important because the locale data format used by different libc versions may be incompatible."
  5695. msgstr ""
  5696. #. type: cindex
  5697. #: guix-git/doc/guix.texi:1846
  5698. #, no-wrap
  5699. msgid "name service switch, glibc"
  5700. msgstr ""
  5701. #. type: cindex
  5702. #: guix-git/doc/guix.texi:1847
  5703. #, no-wrap
  5704. msgid "NSS (name service switch), glibc"
  5705. msgstr ""
  5706. #. type: cindex
  5707. #: guix-git/doc/guix.texi:1848
  5708. #, no-wrap
  5709. msgid "nscd (name service caching daemon)"
  5710. msgstr ""
  5711. #. type: cindex
  5712. #: guix-git/doc/guix.texi:1849
  5713. #, no-wrap
  5714. msgid "name service caching daemon (nscd)"
  5715. msgstr ""
  5716. #. type: Plain text
  5717. #: guix-git/doc/guix.texi:1856
  5718. 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."
  5719. msgstr ""
  5720. #. type: file{#1}
  5721. #: guix-git/doc/guix.texi:1857
  5722. #, no-wrap
  5723. msgid "nsswitch.conf"
  5724. msgstr ""
  5725. #. type: Plain text
  5726. #: guix-git/doc/guix.texi:1862
  5727. 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})."
  5728. msgstr ""
  5729. #. type: cindex
  5730. #: guix-git/doc/guix.texi:1863
  5731. #, no-wrap
  5732. msgid "Network information service (NIS)"
  5733. msgstr ""
  5734. #. type: cindex
  5735. #: guix-git/doc/guix.texi:1864
  5736. #, no-wrap
  5737. msgid "NIS (Network information service)"
  5738. msgstr ""
  5739. #. type: Plain text
  5740. #: guix-git/doc/guix.texi:1873
  5741. 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})."
  5742. msgstr ""
  5743. #. type: Plain text
  5744. #: guix-git/doc/guix.texi:1883
  5745. 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)."
  5746. msgstr ""
  5747. #. type: Plain text
  5748. #: guix-git/doc/guix.texi:1888
  5749. 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."
  5750. msgstr ""
  5751. #. type: Plain text
  5752. #: guix-git/doc/guix.texi:1893
  5753. 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."
  5754. msgstr ""
  5755. #. type: subsection
  5756. #: guix-git/doc/guix.texi:1894
  5757. #, no-wrap
  5758. msgid "X11 Fonts"
  5759. msgstr ""
  5760. #. type: Plain text
  5761. #: guix-git/doc/guix.texi:1904
  5762. 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}."
  5763. msgstr ""
  5764. #. type: code{#1}
  5765. #: guix-git/doc/guix.texi:1905
  5766. #, no-wrap
  5767. msgid "fc-cache"
  5768. msgstr ""
  5769. #. type: cindex
  5770. #: guix-git/doc/guix.texi:1906
  5771. #, no-wrap
  5772. msgid "font cache"
  5773. msgstr ""
  5774. #. type: Plain text
  5775. #: guix-git/doc/guix.texi:1910
  5776. 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:"
  5777. msgstr ""
  5778. #. type: example
  5779. #: guix-git/doc/guix.texi:1914
  5780. #, no-wrap
  5781. msgid ""
  5782. "guix install fontconfig\n"
  5783. "fc-cache -rv\n"
  5784. msgstr ""
  5785. #. type: Plain text
  5786. #: guix-git/doc/guix.texi:1922
  5787. 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:"
  5788. msgstr ""
  5789. #. type: example
  5790. #: guix-git/doc/guix.texi:1925
  5791. #, no-wrap
  5792. msgid "guix install font-adobe-source-han-sans:cn\n"
  5793. msgstr ""
  5794. #. type: code{#1}
  5795. #: guix-git/doc/guix.texi:1927
  5796. #, no-wrap
  5797. msgid "xterm"
  5798. msgstr ""
  5799. #. type: Plain text
  5800. #: guix-git/doc/guix.texi:1931
  5801. 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:"
  5802. msgstr ""
  5803. #. type: example
  5804. #: guix-git/doc/guix.texi:1934
  5805. #, no-wrap
  5806. msgid "-*-dejavu sans-medium-r-normal-*-*-100-*-*-*-*-*-1\n"
  5807. msgstr ""
  5808. #. type: Plain text
  5809. #: guix-git/doc/guix.texi:1938
  5810. 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:"
  5811. msgstr ""
  5812. #. type: example
  5813. #: guix-git/doc/guix.texi:1943
  5814. #, no-wrap
  5815. msgid "xset +fp $(dirname $(readlink -f ~/.guix-profile/share/fonts/truetype/fonts.dir))\n"
  5816. msgstr ""
  5817. #. type: code{#1}
  5818. #: guix-git/doc/guix.texi:1945
  5819. #, no-wrap
  5820. msgid "xlsfonts"
  5821. msgstr ""
  5822. #. type: Plain text
  5823. #: guix-git/doc/guix.texi:1948
  5824. msgid "After that, you can run @code{xlsfonts} (from @code{xlsfonts} package) to make sure your TrueType fonts are listed there."
  5825. msgstr ""
  5826. #. type: code{#1}
  5827. #: guix-git/doc/guix.texi:1952 guix-git/doc/guix.texi:32782
  5828. #, no-wrap
  5829. msgid "nss-certs"
  5830. msgstr ""
  5831. #. type: Plain text
  5832. #: guix-git/doc/guix.texi:1955
  5833. msgid "The @code{nss-certs} package provides X.509 certificates, which allow programs to authenticate Web servers accessed over HTTPS."
  5834. msgstr ""
  5835. #. type: Plain text
  5836. #: guix-git/doc/guix.texi:1960
  5837. 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."
  5838. msgstr ""
  5839. #. type: code{#1}
  5840. #: guix-git/doc/guix.texi:1963
  5841. #, no-wrap
  5842. msgid "emacs"
  5843. msgstr ""
  5844. #. type: Plain text
  5845. #: guix-git/doc/guix.texi:1969
  5846. 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."
  5847. msgstr ""
  5848. #. type: Plain text
  5849. #: guix-git/doc/guix.texi:1976
  5850. 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})."
  5851. msgstr ""
  5852. #. type: cindex
  5853. #: guix-git/doc/guix.texi:1981
  5854. #, no-wrap
  5855. msgid "Upgrading Guix, on a foreign distro"
  5856. msgstr ""
  5857. #. type: Plain text
  5858. #: guix-git/doc/guix.texi:1984
  5859. msgid "To upgrade Guix, run:"
  5860. msgstr ""
  5861. #. type: example
  5862. #: guix-git/doc/guix.texi:1987 guix-git/doc/guix.texi:2834
  5863. #, no-wrap
  5864. msgid "guix pull\n"
  5865. msgstr ""
  5866. #. type: Plain text
  5867. #: guix-git/doc/guix.texi:1990
  5868. msgid "@xref{Invoking guix pull}, for more information."
  5869. msgstr ""
  5870. #. type: cindex
  5871. #: guix-git/doc/guix.texi:1991
  5872. #, no-wrap
  5873. msgid "upgrading Guix for the root user, on a foreign distro"
  5874. msgstr ""
  5875. #. type: cindex
  5876. #: guix-git/doc/guix.texi:1992
  5877. #, no-wrap
  5878. msgid "upgrading the Guix daemon, on a foreign distro"
  5879. msgstr ""
  5880. #. type: cindex
  5881. #: guix-git/doc/guix.texi:1993
  5882. #, no-wrap
  5883. msgid "@command{guix pull} for the root user, on a foreign distro"
  5884. msgstr ""
  5885. #. type: Plain text
  5886. #: guix-git/doc/guix.texi:1996
  5887. msgid "On a foreign distro, you can upgrade the build daemon by running:"
  5888. msgstr ""
  5889. #. type: example
  5890. #: guix-git/doc/guix.texi:1999
  5891. #, no-wrap
  5892. msgid "sudo -i guix pull\n"
  5893. msgstr ""
  5894. #. type: Plain text
  5895. #: guix-git/doc/guix.texi:2004
  5896. msgid "followed by (assuming your distro uses the systemd service management tool):"
  5897. msgstr ""
  5898. #. type: example
  5899. #: guix-git/doc/guix.texi:2007
  5900. #, no-wrap
  5901. msgid "systemctl restart guix-daemon.service\n"
  5902. msgstr ""
  5903. #. type: Plain text
  5904. #: guix-git/doc/guix.texi:2011
  5905. msgid "On Guix System, upgrading the daemon is achieved by reconfiguring the system (@pxref{Invoking guix system, @code{guix system reconfigure}})."
  5906. msgstr ""
  5907. #. type: cindex
  5908. #: guix-git/doc/guix.texi:2018
  5909. #, no-wrap
  5910. msgid "installing Guix System"
  5911. msgstr ""
  5912. #. type: cindex
  5913. #: guix-git/doc/guix.texi:2019
  5914. #, no-wrap
  5915. msgid "Guix System, installation"
  5916. msgstr ""
  5917. #. type: Plain text
  5918. #: guix-git/doc/guix.texi:2024
  5919. 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}."
  5920. msgstr ""
  5921. #. type: quotation
  5922. #: guix-git/doc/guix.texi:2033
  5923. 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."
  5924. msgstr ""
  5925. #. type: quotation
  5926. #: guix-git/doc/guix.texi:2036
  5927. msgid "Alternatively, run @command{info info} in another tty to keep the manual available."
  5928. msgstr ""
  5929. #. type: Plain text
  5930. #: guix-git/doc/guix.texi:2057
  5931. 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."
  5932. msgstr ""
  5933. #. type: Plain text
  5934. #: guix-git/doc/guix.texi:2060
  5935. msgid "Nevertheless, before you proceed with the installation, be aware of the following noteworthy limitations applicable to version @value{VERSION}:"
  5936. msgstr ""
  5937. #. type: itemize
  5938. #: guix-git/doc/guix.texi:2065
  5939. msgid "More and more system services are provided (@pxref{Services}), but some may be missing."
  5940. msgstr ""
  5941. #. type: itemize
  5942. #: guix-git/doc/guix.texi:2070
  5943. 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."
  5944. msgstr ""
  5945. #. type: Plain text
  5946. #: guix-git/doc/guix.texi:2075
  5947. 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."
  5948. msgstr ""
  5949. #. type: cindex
  5950. #: guix-git/doc/guix.texi:2080
  5951. #, no-wrap
  5952. msgid "hardware support on Guix System"
  5953. msgstr ""
  5954. #. type: Plain text
  5955. #: guix-git/doc/guix.texi:2089
  5956. 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."
  5957. msgstr ""
  5958. #. type: cindex
  5959. #: guix-git/doc/guix.texi:2090
  5960. #, no-wrap
  5961. msgid "WiFi, hardware support"
  5962. msgstr ""
  5963. #. type: Plain text
  5964. #: guix-git/doc/guix.texi:2099
  5965. 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}})."
  5966. msgstr ""
  5967. #. type: cindex
  5968. #: guix-git/doc/guix.texi:2100
  5969. #, no-wrap
  5970. msgid "RYF, Respects Your Freedom"
  5971. msgstr ""
  5972. #. type: Plain text
  5973. #: guix-git/doc/guix.texi:2106
  5974. 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."
  5975. msgstr ""
  5976. #. type: Plain text
  5977. #: guix-git/doc/guix.texi:2110
  5978. 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."
  5979. msgstr ""
  5980. #. type: Plain text
  5981. #: guix-git/doc/guix.texi:2119
  5982. 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:"
  5983. msgstr ""
  5984. #. type: table
  5985. #: guix-git/doc/guix.texi:2123
  5986. msgid "for a GNU/Linux system on Intel/AMD-compatible 64-bit CPUs;"
  5987. msgstr ""
  5988. #. type: table
  5989. #: guix-git/doc/guix.texi:2126
  5990. msgid "for a 32-bit GNU/Linux system on Intel-compatible CPUs."
  5991. msgstr ""
  5992. #. type: Plain text
  5993. #: guix-git/doc/guix.texi:2131
  5994. msgid "Make sure to download the associated @file{.sig} file and to verify the authenticity of the image against it, along these lines:"
  5995. msgstr ""
  5996. #. type: example
  5997. #: guix-git/doc/guix.texi:2135
  5998. #, no-wrap
  5999. msgid ""
  6000. "$ wget @value{BASE-URL}/guix-system-install-@value{VERSION}.x86_64-linux.iso.sig\n"
  6001. "$ gpg --verify guix-system-install-@value{VERSION}.x86_64-linux.iso.sig\n"
  6002. msgstr ""
  6003. #. type: example
  6004. #: guix-git/doc/guix.texi:2143
  6005. #, no-wrap
  6006. msgid ""
  6007. "$ wget @value{OPENPGP-SIGNING-KEY-URL} \\\n"
  6008. " -qO - | gpg --import -\n"
  6009. msgstr ""
  6010. #. type: Plain text
  6011. #: guix-git/doc/guix.texi:2155
  6012. 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."
  6013. msgstr ""
  6014. #. type: unnumberedsubsec
  6015. #: guix-git/doc/guix.texi:2156
  6016. #, no-wrap
  6017. msgid "Copying to a USB Stick"
  6018. msgstr ""
  6019. #. type: Plain text
  6020. #: guix-git/doc/guix.texi:2161
  6021. 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:"
  6022. msgstr ""
  6023. #. type: example
  6024. #: guix-git/doc/guix.texi:2165
  6025. #, no-wrap
  6026. msgid ""
  6027. "dd if=guix-system-install-@value{VERSION}.x86_64-linux.iso of=/dev/sdX status=progress\n"
  6028. "sync\n"
  6029. msgstr ""
  6030. #. type: Plain text
  6031. #: guix-git/doc/guix.texi:2168
  6032. msgid "Access to @file{/dev/sdX} usually requires root privileges."
  6033. msgstr ""
  6034. #. type: unnumberedsubsec
  6035. #: guix-git/doc/guix.texi:2169
  6036. #, no-wrap
  6037. msgid "Burning on a DVD"
  6038. msgstr ""
  6039. #. type: Plain text
  6040. #: guix-git/doc/guix.texi:2174
  6041. 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:"
  6042. msgstr ""
  6043. #. type: example
  6044. #: guix-git/doc/guix.texi:2177
  6045. #, no-wrap
  6046. msgid "growisofs -dvd-compat -Z /dev/srX=guix-system-install-@value{VERSION}.x86_64-linux.iso\n"
  6047. msgstr ""
  6048. #. type: Plain text
  6049. #: guix-git/doc/guix.texi:2180
  6050. msgid "Access to @file{/dev/srX} usually requires root privileges."
  6051. msgstr ""
  6052. #. type: unnumberedsubsec
  6053. #: guix-git/doc/guix.texi:2181
  6054. #, no-wrap
  6055. msgid "Booting"
  6056. msgstr ""
  6057. #. type: Plain text
  6058. #: guix-git/doc/guix.texi:2188
  6059. 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}."
  6060. msgstr ""
  6061. #. type: Plain text
  6062. #: guix-git/doc/guix.texi:2191
  6063. msgid "@xref{Installing Guix in a VM}, if, instead, you would like to install Guix System in a virtual machine (VM)."
  6064. msgstr ""
  6065. #. type: Plain text
  6066. #: guix-git/doc/guix.texi:2201
  6067. 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})."
  6068. msgstr ""
  6069. #. type: Plain text
  6070. #: guix-git/doc/guix.texi:2209
  6071. 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."
  6072. msgstr ""
  6073. #. type: quotation
  6074. #: guix-git/doc/guix.texi:2214
  6075. msgid "Installation requires access to the Internet so that any missing dependencies of your system configuration can be downloaded. See the ``Networking'' section below."
  6076. msgstr ""
  6077. #. type: Plain text
  6078. #: guix-git/doc/guix.texi:2221
  6079. 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."
  6080. msgstr ""
  6081. #. type: Plain text
  6082. #: guix-git/doc/guix.texi:2226
  6083. 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."
  6084. msgstr ""
  6085. #. type: Plain text
  6086. #: guix-git/doc/guix.texi:2228
  6087. msgid "@image{images/installer-network,5in,, networking setup with the graphical installer}"
  6088. msgstr ""
  6089. #. type: Plain text
  6090. #: guix-git/doc/guix.texi:2233
  6091. 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."
  6092. msgstr ""
  6093. #. type: Plain text
  6094. #: guix-git/doc/guix.texi:2235
  6095. msgid "@image{images/installer-partitions,5in,, partitioning with the graphical installer}"
  6096. msgstr ""
  6097. #. type: Plain text
  6098. #: guix-git/doc/guix.texi:2238
  6099. 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."
  6100. msgstr ""
  6101. #. type: Plain text
  6102. #: guix-git/doc/guix.texi:2240
  6103. msgid "@image{images/installer-resume,5in,, resuming the installation process}"
  6104. msgstr ""
  6105. #. type: Plain text
  6106. #: guix-git/doc/guix.texi:2245
  6107. 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!"
  6108. msgstr ""
  6109. #. type: Plain text
  6110. #: guix-git/doc/guix.texi:2255
  6111. 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})."
  6112. msgstr ""
  6113. #. type: Plain text
  6114. #: guix-git/doc/guix.texi:2261
  6115. 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})."
  6116. msgstr ""
  6117. #. type: subsection
  6118. #: guix-git/doc/guix.texi:2268
  6119. #, no-wrap
  6120. msgid "Keyboard Layout, Networking, and Partitioning"
  6121. msgstr ""
  6122. #. type: Plain text
  6123. #: guix-git/doc/guix.texi:2273
  6124. 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."
  6125. msgstr ""
  6126. #. type: cindex
  6127. #: guix-git/doc/guix.texi:2276 guix-git/doc/guix.texi:14660
  6128. #, no-wrap
  6129. msgid "keyboard layout"
  6130. msgstr ""
  6131. #. type: Plain text
  6132. #: guix-git/doc/guix.texi:2280
  6133. 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:"
  6134. msgstr ""
  6135. #. type: example
  6136. #: guix-git/doc/guix.texi:2283
  6137. #, no-wrap
  6138. msgid "loadkeys dvorak\n"
  6139. msgstr ""
  6140. #. type: Plain text
  6141. #: guix-git/doc/guix.texi:2288
  6142. 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."
  6143. msgstr ""
  6144. #. type: subsubsection
  6145. #: guix-git/doc/guix.texi:2289
  6146. #, no-wrap
  6147. msgid "Networking"
  6148. msgstr ""
  6149. #. type: Plain text
  6150. #: guix-git/doc/guix.texi:2292
  6151. msgid "Run the following command to see what your network interfaces are called:"
  6152. msgstr ""
  6153. #. type: example
  6154. #: guix-git/doc/guix.texi:2295
  6155. #, no-wrap
  6156. msgid "ifconfig -a\n"
  6157. msgstr ""
  6158. #. type: table
  6159. #: guix-git/doc/guix.texi:2299 guix-git/doc/guix.texi:2321
  6160. msgid "@dots{} or, using the GNU/Linux-specific @command{ip} command:"
  6161. msgstr ""
  6162. #. type: example
  6163. #: guix-git/doc/guix.texi:2302
  6164. #, no-wrap
  6165. msgid "ip address\n"
  6166. msgstr ""
  6167. #. type: Plain text
  6168. #: guix-git/doc/guix.texi:2309
  6169. 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}."
  6170. msgstr ""
  6171. #. type: item
  6172. #: guix-git/doc/guix.texi:2311
  6173. #, no-wrap
  6174. msgid "Wired connection"
  6175. msgstr ""
  6176. #. type: table
  6177. #: guix-git/doc/guix.texi:2314
  6178. msgid "To configure a wired network run the following command, substituting @var{interface} with the name of the wired interface you want to use."
  6179. msgstr ""
  6180. #. type: example
  6181. #: guix-git/doc/guix.texi:2317
  6182. #, no-wrap
  6183. msgid "ifconfig @var{interface} up\n"
  6184. msgstr ""
  6185. #. type: example
  6186. #: guix-git/doc/guix.texi:2324
  6187. #, no-wrap
  6188. msgid "ip link set @var{interface} up\n"
  6189. msgstr ""
  6190. #. type: item
  6191. #: guix-git/doc/guix.texi:2326
  6192. #, no-wrap
  6193. msgid "Wireless connection"
  6194. msgstr ""
  6195. #. type: cindex
  6196. #: guix-git/doc/guix.texi:2327 guix-git/doc/guix.texi:16305
  6197. #, no-wrap
  6198. msgid "wireless"
  6199. msgstr ""
  6200. #. type: cindex
  6201. #: guix-git/doc/guix.texi:2328 guix-git/doc/guix.texi:16306
  6202. #, no-wrap
  6203. msgid "WiFi"
  6204. msgstr ""
  6205. #. type: table
  6206. #: guix-git/doc/guix.texi:2333
  6207. 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}:"
  6208. msgstr ""
  6209. #. type: example
  6210. #: guix-git/doc/guix.texi:2336
  6211. #, no-wrap
  6212. msgid "nano wpa_supplicant.conf\n"
  6213. msgstr ""
  6214. #. type: table
  6215. #: guix-git/doc/guix.texi:2341
  6216. 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:"
  6217. msgstr ""
  6218. #. type: example
  6219. #: guix-git/doc/guix.texi:2348
  6220. #, no-wrap
  6221. msgid ""
  6222. "network=@{\n"
  6223. " ssid=\"@var{my-ssid}\"\n"
  6224. " key_mgmt=WPA-PSK\n"
  6225. " psk=\"the network's secret passphrase\"\n"
  6226. "@}\n"
  6227. msgstr ""
  6228. #. type: table
  6229. #: guix-git/doc/guix.texi:2353
  6230. 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):"
  6231. msgstr ""
  6232. #. type: example
  6233. #: guix-git/doc/guix.texi:2356
  6234. #, no-wrap
  6235. msgid "wpa_supplicant -c wpa_supplicant.conf -i @var{interface} -B\n"
  6236. msgstr ""
  6237. #. type: table
  6238. #: guix-git/doc/guix.texi:2359
  6239. msgid "Run @command{man wpa_supplicant} for more information."
  6240. msgstr ""
  6241. #. type: cindex
  6242. #: guix-git/doc/guix.texi:2361
  6243. #, no-wrap
  6244. msgid "DHCP"
  6245. msgstr ""
  6246. #. type: Plain text
  6247. #: guix-git/doc/guix.texi:2364
  6248. 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:"
  6249. msgstr ""
  6250. #. type: example
  6251. #: guix-git/doc/guix.texi:2367
  6252. #, no-wrap
  6253. msgid "dhclient -v @var{interface}\n"
  6254. msgstr ""
  6255. #. type: Plain text
  6256. #: guix-git/doc/guix.texi:2370
  6257. msgid "Try to ping a server to see if networking is up and running:"
  6258. msgstr ""
  6259. #. type: example
  6260. #: guix-git/doc/guix.texi:2373
  6261. #, no-wrap
  6262. msgid "ping -c 3 gnu.org\n"
  6263. msgstr ""
  6264. #. type: Plain text
  6265. #: guix-git/doc/guix.texi:2377
  6266. 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."
  6267. msgstr ""
  6268. #. type: cindex
  6269. #: guix-git/doc/guix.texi:2378
  6270. #, no-wrap
  6271. msgid "proxy, during system installation"
  6272. msgstr ""
  6273. #. type: Plain text
  6274. #: guix-git/doc/guix.texi:2381
  6275. msgid "If you need HTTP and HTTPS access to go through a proxy, run the following command:"
  6276. msgstr ""
  6277. #. type: example
  6278. #: guix-git/doc/guix.texi:2384
  6279. #, no-wrap
  6280. msgid "herd set-http-proxy guix-daemon @var{URL}\n"
  6281. msgstr ""
  6282. #. type: Plain text
  6283. #: guix-git/doc/guix.texi:2389
  6284. msgid "where @var{URL} is the proxy URL, for example @code{http://example.org:8118}."
  6285. msgstr ""
  6286. #. type: cindex
  6287. #: guix-git/doc/guix.texi:2390
  6288. #, no-wrap
  6289. msgid "installing over SSH"
  6290. msgstr ""
  6291. #. type: Plain text
  6292. #: guix-git/doc/guix.texi:2393
  6293. msgid "If you want to, you can continue the installation remotely by starting an SSH server:"
  6294. msgstr ""
  6295. #. type: example
  6296. #: guix-git/doc/guix.texi:2396
  6297. #, no-wrap
  6298. msgid "herd start ssh-daemon\n"
  6299. msgstr ""
  6300. #. type: Plain text
  6301. #: guix-git/doc/guix.texi:2400
  6302. msgid "Make sure to either set a password with @command{passwd}, or configure OpenSSH public key authentication before logging in."
  6303. msgstr ""
  6304. #. type: subsubsection
  6305. #: guix-git/doc/guix.texi:2401
  6306. #, no-wrap
  6307. msgid "Disk Partitioning"
  6308. msgstr ""
  6309. #. type: Plain text
  6310. #: guix-git/doc/guix.texi:2405
  6311. msgid "Unless this has already been done, the next step is to partition, and then format the target partition(s)."
  6312. msgstr ""
  6313. #. type: Plain text
  6314. #: guix-git/doc/guix.texi:2410
  6315. 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:"
  6316. msgstr ""
  6317. #. type: example
  6318. #: guix-git/doc/guix.texi:2413
  6319. #, no-wrap
  6320. msgid "cfdisk\n"
  6321. msgstr ""
  6322. #. type: Plain text
  6323. #: guix-git/doc/guix.texi:2419
  6324. 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})."
  6325. msgstr ""
  6326. #. type: cindex
  6327. #: guix-git/doc/guix.texi:2420
  6328. #, no-wrap
  6329. msgid "EFI, installation"
  6330. msgstr ""
  6331. #. type: cindex
  6332. #: guix-git/doc/guix.texi:2421
  6333. #, no-wrap
  6334. msgid "UEFI, installation"
  6335. msgstr ""
  6336. #. type: cindex
  6337. #: guix-git/doc/guix.texi:2422
  6338. #, no-wrap
  6339. msgid "ESP, EFI system partition"
  6340. msgstr ""
  6341. #. type: Plain text
  6342. #: guix-git/doc/guix.texi:2426
  6343. 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}:"
  6344. msgstr ""
  6345. #. type: example
  6346. #: guix-git/doc/guix.texi:2429
  6347. #, no-wrap
  6348. msgid "parted /dev/sda set 1 esp on\n"
  6349. msgstr ""
  6350. #. type: vindex
  6351. #: guix-git/doc/guix.texi:2432 guix-git/doc/guix.texi:33182
  6352. #, no-wrap
  6353. msgid "grub-bootloader"
  6354. msgstr ""
  6355. #. type: vindex
  6356. #: guix-git/doc/guix.texi:2433 guix-git/doc/guix.texi:33176
  6357. #, no-wrap
  6358. msgid "grub-efi-bootloader"
  6359. msgstr ""
  6360. #. type: quotation
  6361. #: guix-git/doc/guix.texi:2440
  6362. 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."
  6363. msgstr ""
  6364. #. type: Plain text
  6365. #: guix-git/doc/guix.texi:2448
  6366. 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:"
  6367. msgstr ""
  6368. #. type: example
  6369. #: guix-git/doc/guix.texi:2451
  6370. #, no-wrap
  6371. msgid "mkfs.fat -F32 /dev/sda1\n"
  6372. msgstr ""
  6373. #. type: Plain text
  6374. #: guix-git/doc/guix.texi:2458
  6375. 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})."
  6376. msgstr ""
  6377. #. type: Plain text
  6378. #: guix-git/doc/guix.texi:2465
  6379. 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:"
  6380. msgstr ""
  6381. #. type: example
  6382. #: guix-git/doc/guix.texi:2468
  6383. #, no-wrap
  6384. msgid "mkfs.ext4 -L my-root /dev/sda2\n"
  6385. msgstr ""
  6386. #. type: cindex
  6387. #: guix-git/doc/guix.texi:2470 guix-git/doc/guix.texi:13658
  6388. #, no-wrap
  6389. msgid "encrypted disk"
  6390. msgstr ""
  6391. #. type: Plain text
  6392. #: guix-git/doc/guix.texi:2477
  6393. 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:"
  6394. msgstr ""
  6395. #. type: example
  6396. #: guix-git/doc/guix.texi:2482
  6397. #, no-wrap
  6398. msgid ""
  6399. "cryptsetup luksFormat /dev/sda2\n"
  6400. "cryptsetup open --type luks /dev/sda2 my-partition\n"
  6401. "mkfs.ext4 -L my-root /dev/mapper/my-partition\n"
  6402. msgstr ""
  6403. #. type: Plain text
  6404. #: guix-git/doc/guix.texi:2487
  6405. 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):"
  6406. msgstr ""
  6407. #. type: example
  6408. #: guix-git/doc/guix.texi:2490
  6409. #, no-wrap
  6410. msgid "mount LABEL=my-root /mnt\n"
  6411. msgstr ""
  6412. #. type: Plain text
  6413. #: guix-git/doc/guix.texi:2496
  6414. 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."
  6415. msgstr ""
  6416. #. type: Plain text
  6417. #: guix-git/doc/guix.texi:2501
  6418. 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:"
  6419. msgstr ""
  6420. #. type: example
  6421. #: guix-git/doc/guix.texi:2505
  6422. #, no-wrap
  6423. msgid ""
  6424. "mkswap /dev/sda3\n"
  6425. "swapon /dev/sda3\n"
  6426. msgstr ""
  6427. #. type: Plain text
  6428. #: guix-git/doc/guix.texi:2513
  6429. 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}.}:"
  6430. msgstr ""
  6431. #. type: example
  6432. #: guix-git/doc/guix.texi:2521
  6433. #, no-wrap
  6434. msgid ""
  6435. "# This is 10 GiB of swap space. Adjust \"count\" to change the size.\n"
  6436. "dd if=/dev/zero of=/mnt/swapfile bs=1MiB count=10240\n"
  6437. "# For security, make the file readable and writable only by root.\n"
  6438. "chmod 600 /mnt/swapfile\n"
  6439. "mkswap /mnt/swapfile\n"
  6440. "swapon /mnt/swapfile\n"
  6441. msgstr ""
  6442. #. type: Plain text
  6443. #: guix-git/doc/guix.texi:2526
  6444. 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."
  6445. msgstr ""
  6446. #. type: Plain text
  6447. #: guix-git/doc/guix.texi:2532
  6448. msgid "With the target partitions ready and the target root mounted on @file{/mnt}, we're ready to go. First, run:"
  6449. msgstr ""
  6450. #. type: example
  6451. #: guix-git/doc/guix.texi:2535
  6452. #, no-wrap
  6453. msgid "herd start cow-store /mnt\n"
  6454. msgstr ""
  6455. #. type: Plain text
  6456. #: guix-git/doc/guix.texi:2542
  6457. 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."
  6458. msgstr ""
  6459. #. type: Plain text
  6460. #: guix-git/doc/guix.texi:2553
  6461. msgid "Next, you have to edit a file and provide the declaration of the operating system to be installed. To that end, the installation system comes with three text editors. We recommend GNU nano (@pxref{Top,,, nano, GNU nano Manual}), which supports syntax highlighting and parentheses matching; other editors include mg (an Emacs clone), and nvi (a clone of the original BSD @command{vi} editor). We strongly recommend storing that file on the target root file system, say, as @file{/mnt/etc/config.scm}. Failing to do that, you will have lost your configuration file once you have rebooted into the newly-installed system."
  6462. msgstr ""
  6463. #. type: Plain text
  6464. #: guix-git/doc/guix.texi:2560
  6465. 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:"
  6466. msgstr ""
  6467. #. type: example
  6468. #: guix-git/doc/guix.texi:2565
  6469. #, no-wrap
  6470. msgid ""
  6471. "# mkdir /mnt/etc\n"
  6472. "# cp /etc/configuration/desktop.scm /mnt/etc/config.scm\n"
  6473. "# nano /mnt/etc/config.scm\n"
  6474. msgstr ""
  6475. #. type: Plain text
  6476. #: guix-git/doc/guix.texi:2569
  6477. msgid "You should pay attention to what your configuration file contains, and in particular:"
  6478. msgstr ""
  6479. #. type: itemize
  6480. #: guix-git/doc/guix.texi:2580
  6481. 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."
  6482. msgstr ""
  6483. #. type: itemize
  6484. #: guix-git/doc/guix.texi:2586
  6485. 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."
  6486. msgstr ""
  6487. #. type: itemize
  6488. #: guix-git/doc/guix.texi:2590
  6489. msgid "If there are encrypted or RAID partitions, make sure to add a @code{mapped-devices} field to describe them (@pxref{Mapped Devices})."
  6490. msgstr ""
  6491. #. type: Plain text
  6492. #: guix-git/doc/guix.texi:2595
  6493. 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}):"
  6494. msgstr ""
  6495. #. type: example
  6496. #: guix-git/doc/guix.texi:2598
  6497. #, no-wrap
  6498. msgid "guix system init /mnt/etc/config.scm /mnt\n"
  6499. msgstr ""
  6500. #. type: Plain text
  6501. #: guix-git/doc/guix.texi:2605
  6502. 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."
  6503. msgstr ""
  6504. #. type: Plain text
  6505. #: guix-git/doc/guix.texi:2613
  6506. 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!"
  6507. msgstr ""
  6508. #. type: Plain text
  6509. #: guix-git/doc/guix.texi:2620
  6510. msgid "Success, you've now booted into Guix System! From then on, you can update the system whenever you want by running, say:"
  6511. msgstr ""
  6512. #. type: example
  6513. #: guix-git/doc/guix.texi:2624
  6514. #, no-wrap
  6515. msgid ""
  6516. "guix pull\n"
  6517. "sudo guix system reconfigure /etc/config.scm\n"
  6518. msgstr ""
  6519. #. type: Plain text
  6520. #: guix-git/doc/guix.texi:2630
  6521. 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})."
  6522. msgstr ""
  6523. #. type: cindex
  6524. #: guix-git/doc/guix.texi:2633
  6525. #, no-wrap
  6526. msgid "sudo vs. @command{guix pull}"
  6527. msgstr ""
  6528. #. type: quotation
  6529. #: guix-git/doc/guix.texi:2637
  6530. 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{}}."
  6531. msgstr ""
  6532. #. type: quotation
  6533. #: guix-git/doc/guix.texi:2642
  6534. 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."
  6535. msgstr ""
  6536. #. type: Plain text
  6537. #: guix-git/doc/guix.texi:2647
  6538. msgid "Now, @pxref{Getting Started}, and join us on @code{#guix} on the Libera Chat IRC network or on @email{guix-devel@@gnu.org} to share your experience!"
  6539. msgstr ""
  6540. #. type: section
  6541. #: guix-git/doc/guix.texi:2650
  6542. #, no-wrap
  6543. msgid "Installing Guix in a Virtual Machine"
  6544. msgstr ""
  6545. #. type: cindex
  6546. #: guix-git/doc/guix.texi:2652
  6547. #, no-wrap
  6548. msgid "virtual machine, Guix System installation"
  6549. msgstr ""
  6550. #. type: cindex
  6551. #: guix-git/doc/guix.texi:2653
  6552. #, no-wrap
  6553. msgid "virtual private server (VPS)"
  6554. msgstr ""
  6555. #. type: cindex
  6556. #: guix-git/doc/guix.texi:2654
  6557. #, no-wrap
  6558. msgid "VPS (virtual private server)"
  6559. msgstr ""
  6560. #. type: Plain text
  6561. #: guix-git/doc/guix.texi:2658
  6562. 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."
  6563. msgstr ""
  6564. #. type: Plain text
  6565. #: guix-git/doc/guix.texi:2661
  6566. msgid "To boot a @uref{https://qemu.org/,QEMU} VM for installing Guix System in a disk image, follow these steps:"
  6567. msgstr ""
  6568. #. type: enumerate
  6569. #: guix-git/doc/guix.texi:2666
  6570. msgid "First, retrieve and decompress the Guix system installation image as described previously (@pxref{USB Stick and DVD Installation})."
  6571. msgstr ""
  6572. #. type: enumerate
  6573. #: guix-git/doc/guix.texi:2670
  6574. msgid "Create a disk image that will hold the installed system. To make a qcow2-formatted disk image, use the @command{qemu-img} command:"
  6575. msgstr ""
  6576. #. type: example
  6577. #: guix-git/doc/guix.texi:2673
  6578. #, no-wrap
  6579. msgid "qemu-img create -f qcow2 guix-system.img 50G\n"
  6580. msgstr ""
  6581. #. type: enumerate
  6582. #: guix-git/doc/guix.texi:2677
  6583. 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."
  6584. msgstr ""
  6585. #. type: enumerate
  6586. #: guix-git/doc/guix.texi:2680
  6587. msgid "Boot the USB installation image in an VM:"
  6588. msgstr ""
  6589. #. type: example
  6590. #: guix-git/doc/guix.texi:2686
  6591. #, no-wrap
  6592. msgid ""
  6593. "qemu-system-x86_64 -m 1024 -smp 1 -enable-kvm \\\n"
  6594. " -nic user,model=virtio-net-pci -boot menu=on,order=d \\\n"
  6595. " -drive file=guix-system.img \\\n"
  6596. " -drive media=cdrom,file=guix-system-install-@value{VERSION}.@var{system}.iso\n"
  6597. msgstr ""
  6598. #. type: enumerate
  6599. #: guix-git/doc/guix.texi:2690
  6600. msgid "@code{-enable-kvm} is optional, but significantly improves performance, @pxref{Running Guix in a VM}."
  6601. msgstr ""
  6602. #. type: enumerate
  6603. #: guix-git/doc/guix.texi:2694
  6604. msgid "You're now root in the VM, proceed with the installation process. @xref{Preparing for Installation}, and follow the instructions."
  6605. msgstr ""
  6606. #. type: Plain text
  6607. #: guix-git/doc/guix.texi:2699
  6608. 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."
  6609. msgstr ""
  6610. #. type: cindex
  6611. #: guix-git/doc/guix.texi:2703
  6612. #, no-wrap
  6613. msgid "installation image"
  6614. msgstr ""
  6615. #. type: Plain text
  6616. #: guix-git/doc/guix.texi:2706
  6617. msgid "The installation image described above was built using the @command{guix system} command, specifically:"
  6618. msgstr ""
  6619. #. type: example
  6620. #: guix-git/doc/guix.texi:2709
  6621. #, no-wrap
  6622. msgid "guix system image -t iso9660 gnu/system/install.scm\n"
  6623. msgstr ""
  6624. #. type: Plain text
  6625. #: guix-git/doc/guix.texi:2714
  6626. 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."
  6627. msgstr ""
  6628. #. type: section
  6629. #: guix-git/doc/guix.texi:2715
  6630. #, no-wrap
  6631. msgid "Building the Installation Image for ARM Boards"
  6632. msgstr ""
  6633. #. type: Plain text
  6634. #: guix-git/doc/guix.texi:2719
  6635. msgid "Many ARM boards require a specific variant of the @uref{https://www.denx.de/wiki/U-Boot/, U-Boot} bootloader."
  6636. msgstr ""
  6637. #. type: Plain text
  6638. #: guix-git/doc/guix.texi:2723
  6639. 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:"
  6640. msgstr ""
  6641. #. type: example
  6642. #: guix-git/doc/guix.texi:2726
  6643. #, no-wrap
  6644. msgid "guix system image --system=armhf-linux -e '((@@ (gnu system install) os-with-u-boot) (@@ (gnu system install) installation-os) \"A20-OLinuXino-Lime2\")'\n"
  6645. msgstr ""
  6646. #. type: Plain text
  6647. #: guix-git/doc/guix.texi:2730
  6648. 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."
  6649. msgstr ""
  6650. #. type: Plain text
  6651. #: guix-git/doc/guix.texi:2740
  6652. 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."
  6653. msgstr ""
  6654. #. type: Plain text
  6655. #: guix-git/doc/guix.texi:2744
  6656. 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:"
  6657. msgstr ""
  6658. #. type: example
  6659. #: guix-git/doc/guix.texi:2747
  6660. #, no-wrap
  6661. msgid "guix search text editor\n"
  6662. msgstr ""
  6663. #. type: Plain text
  6664. #: guix-git/doc/guix.texi:2754
  6665. 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}!):"
  6666. msgstr ""
  6667. #. type: example
  6668. #: guix-git/doc/guix.texi:2757
  6669. #, no-wrap
  6670. msgid "guix install emacs\n"
  6671. msgstr ""
  6672. #. type: cindex
  6673. #: guix-git/doc/guix.texi:2759 guix-git/doc/guix.texi:3071
  6674. #: guix-git/doc/guix.texi:3123
  6675. #, no-wrap
  6676. msgid "profile"
  6677. msgstr ""
  6678. #. type: Plain text
  6679. #: guix-git/doc/guix.texi:2767
  6680. 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)."
  6681. msgstr ""
  6682. #. type: Plain text
  6683. #: guix-git/doc/guix.texi:2770
  6684. msgid "Unless you're using Guix System, the @command{guix install} command must have printed this hint:"
  6685. msgstr ""
  6686. #. type: example
  6687. #: guix-git/doc/guix.texi:2773
  6688. #, no-wrap
  6689. msgid ""
  6690. "hint: Consider setting the necessary environment variables by running:\n"
  6691. "\n"
  6692. msgstr ""
  6693. #. type: example
  6694. #: guix-git/doc/guix.texi:2776
  6695. #, no-wrap
  6696. msgid ""
  6697. " GUIX_PROFILE=\"$HOME/.guix-profile\"\n"
  6698. " . \"$GUIX_PROFILE/etc/profile\"\n"
  6699. "\n"
  6700. msgstr ""
  6701. #. type: example
  6702. #: guix-git/doc/guix.texi:2778
  6703. #, no-wrap
  6704. msgid "Alternately, see `guix package --search-paths -p \"$HOME/.guix-profile\"'.\n"
  6705. msgstr ""
  6706. #. type: Plain text
  6707. #: guix-git/doc/guix.texi:2792
  6708. 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."
  6709. msgstr ""
  6710. #. type: Plain text
  6711. #: guix-git/doc/guix.texi:2795
  6712. msgid "You can go on installing packages at your will. To list installed packages, run:"
  6713. msgstr ""
  6714. #. type: example
  6715. #: guix-git/doc/guix.texi:2798
  6716. #, no-wrap
  6717. msgid "guix package --list-installed\n"
  6718. msgstr ""
  6719. #. type: Plain text
  6720. #: guix-git/doc/guix.texi:2803
  6721. 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:"
  6722. msgstr ""
  6723. #. type: example
  6724. #: guix-git/doc/guix.texi:2806
  6725. #, no-wrap
  6726. msgid "guix package --roll-back\n"
  6727. msgstr ""
  6728. #. type: Plain text
  6729. #: guix-git/doc/guix.texi:2811
  6730. 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:"
  6731. msgstr ""
  6732. #. type: example
  6733. #: guix-git/doc/guix.texi:2814
  6734. #, no-wrap
  6735. msgid "guix package --list-generations\n"
  6736. msgstr ""
  6737. #. type: Plain text
  6738. #: guix-git/doc/guix.texi:2817
  6739. msgid "Now you know the basics of package management!"
  6740. msgstr ""
  6741. #. type: quotation
  6742. #: guix-git/doc/guix.texi:2818 guix-git/doc/guix.texi:2877
  6743. #, no-wrap
  6744. msgid "Going further"
  6745. msgstr ""
  6746. #. type: quotation
  6747. #: guix-git/doc/guix.texi:2826
  6748. 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."
  6749. msgstr ""
  6750. #. type: Plain text
  6751. #: guix-git/doc/guix.texi:2831
  6752. 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:"
  6753. msgstr ""
  6754. #. type: Plain text
  6755. #: guix-git/doc/guix.texi:2841
  6756. 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}:"
  6757. msgstr ""
  6758. #. type: example
  6759. #: guix-git/doc/guix.texi:2845
  6760. #, no-wrap
  6761. msgid ""
  6762. "GUIX_PROFILE=\"$HOME/.config/guix/current\"\n"
  6763. ". \"$GUIX_PROFILE/etc/profile\"\n"
  6764. msgstr ""
  6765. #. type: Plain text
  6766. #: guix-git/doc/guix.texi:2849
  6767. msgid "You must also instruct your shell to point to this new @command{guix}:"
  6768. msgstr ""
  6769. #. type: example
  6770. #: guix-git/doc/guix.texi:2852
  6771. #, no-wrap
  6772. msgid "hash guix\n"
  6773. msgstr ""
  6774. #. type: Plain text
  6775. #: guix-git/doc/guix.texi:2856
  6776. 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:"
  6777. msgstr ""
  6778. #. type: example
  6779. #: guix-git/doc/guix.texi:2859
  6780. #, no-wrap
  6781. msgid "guix upgrade\n"
  6782. msgstr ""
  6783. #. type: Plain text
  6784. #: guix-git/doc/guix.texi:2865
  6785. 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!"
  6786. msgstr ""
  6787. #. type: Plain text
  6788. #: guix-git/doc/guix.texi:2868
  6789. msgid "You can display the exact revision of Guix you're currently using by running:"
  6790. msgstr ""
  6791. #. type: example
  6792. #: guix-git/doc/guix.texi:2871
  6793. #, no-wrap
  6794. msgid "guix describe\n"
  6795. msgstr ""
  6796. #. type: Plain text
  6797. #: guix-git/doc/guix.texi:2876
  6798. 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."
  6799. msgstr ""
  6800. #. type: quotation
  6801. #: guix-git/doc/guix.texi:2882
  6802. 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})."
  6803. msgstr ""
  6804. #. type: Plain text
  6805. #: guix-git/doc/guix.texi:2887
  6806. 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:"
  6807. msgstr ""
  6808. #. type: example
  6809. #: guix-git/doc/guix.texi:2890
  6810. #, no-wrap
  6811. msgid "sudo guix system reconfigure /etc/config.scm\n"
  6812. msgstr ""
  6813. #. type: Plain text
  6814. #: guix-git/doc/guix.texi:2899
  6815. 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}:"
  6816. msgstr ""
  6817. #. type: example
  6818. #: guix-git/doc/guix.texi:2902
  6819. #, no-wrap
  6820. msgid "sudo guix system roll-back\n"
  6821. msgstr ""
  6822. #. type: Plain text
  6823. #: guix-git/doc/guix.texi:2909
  6824. 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."
  6825. msgstr ""
  6826. #. type: Plain text
  6827. #: guix-git/doc/guix.texi:2911
  6828. msgid "Now you know enough to get started!"
  6829. msgstr ""
  6830. #. type: quotation
  6831. #: guix-git/doc/guix.texi:2912
  6832. #, no-wrap
  6833. msgid "Resources"
  6834. msgstr ""
  6835. #. type: quotation
  6836. #: guix-git/doc/guix.texi:2915
  6837. msgid "The rest of this manual provides a reference for all things Guix. Here are some additional resources you may find useful:"
  6838. msgstr ""
  6839. #. type: itemize
  6840. #: guix-git/doc/guix.texi:2920
  6841. msgid "@xref{Top,,, guix-cookbook, The GNU Guix Cookbook}, for a list of ``how-to'' style of recipes for a variety of applications."
  6842. msgstr ""
  6843. #. type: itemize
  6844. #: guix-git/doc/guix.texi:2925
  6845. 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."
  6846. msgstr ""
  6847. #. type: itemize
  6848. #: guix-git/doc/guix.texi:2930
  6849. 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."
  6850. msgstr ""
  6851. #. type: itemize
  6852. #: guix-git/doc/guix.texi:2934
  6853. msgid "@xref{Documentation}, to learn how to access documentation on your computer."
  6854. msgstr ""
  6855. #. type: quotation
  6856. #: guix-git/doc/guix.texi:2937
  6857. msgid "We hope you will enjoy Guix as much as the community enjoys building it!"
  6858. msgstr ""
  6859. #. type: Plain text
  6860. #: guix-git/doc/guix.texi:2948
  6861. 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."
  6862. msgstr ""
  6863. #. type: Plain text
  6864. #: guix-git/doc/guix.texi:2956
  6865. 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):"
  6866. msgstr ""
  6867. #. type: example
  6868. #: guix-git/doc/guix.texi:2959
  6869. #, no-wrap
  6870. msgid "guix install emacs-guix\n"
  6871. msgstr ""
  6872. #. type: Plain text
  6873. #: guix-git/doc/guix.texi:2980
  6874. 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."
  6875. msgstr ""
  6876. #. type: Plain text
  6877. #: guix-git/doc/guix.texi:2984
  6878. 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."
  6879. msgstr ""
  6880. #. type: Plain text
  6881. #: guix-git/doc/guix.texi:2989
  6882. 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}."
  6883. msgstr ""
  6884. #. type: Plain text
  6885. #: guix-git/doc/guix.texi:2997
  6886. 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."
  6887. msgstr ""
  6888. #. type: Plain text
  6889. #: guix-git/doc/guix.texi:3001
  6890. 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}."
  6891. msgstr ""
  6892. #. type: cindex
  6893. #: guix-git/doc/guix.texi:3002 guix-git/doc/guix.texi:3085
  6894. #, no-wrap
  6895. msgid "transactions"
  6896. msgstr ""
  6897. #. type: Plain text
  6898. #: guix-git/doc/guix.texi:3009
  6899. 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."
  6900. msgstr ""
  6901. #. type: Plain text
  6902. #: guix-git/doc/guix.texi:3017
  6903. 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})."
  6904. msgstr ""
  6905. #. type: Plain text
  6906. #: guix-git/doc/guix.texi:3024
  6907. 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."
  6908. msgstr ""
  6909. #. type: Plain text
  6910. #: guix-git/doc/guix.texi:3037
  6911. 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})."
  6912. msgstr ""
  6913. #. type: Plain text
  6914. #: guix-git/doc/guix.texi:3048
  6915. 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})."
  6916. msgstr ""
  6917. #. type: Plain text
  6918. #: guix-git/doc/guix.texi:3054
  6919. 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})."
  6920. msgstr ""
  6921. #. type: cindex
  6922. #: guix-git/doc/guix.texi:3055
  6923. #, no-wrap
  6924. msgid "replication, of software environments"
  6925. msgstr ""
  6926. #. type: cindex
  6927. #: guix-git/doc/guix.texi:3056
  6928. #, no-wrap
  6929. msgid "provenance tracking, of software artifacts"
  6930. msgstr ""
  6931. #. type: Plain text
  6932. #: guix-git/doc/guix.texi:3063
  6933. 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."
  6934. msgstr ""
  6935. #. type: section
  6936. #: guix-git/doc/guix.texi:3065
  6937. #, no-wrap
  6938. msgid "Invoking @command{guix package}"
  6939. msgstr ""
  6940. #. type: cindex
  6941. #: guix-git/doc/guix.texi:3067
  6942. #, no-wrap
  6943. msgid "installing packages"
  6944. msgstr ""
  6945. #. type: cindex
  6946. #: guix-git/doc/guix.texi:3068
  6947. #, no-wrap
  6948. msgid "removing packages"
  6949. msgstr ""
  6950. #. type: cindex
  6951. #: guix-git/doc/guix.texi:3069
  6952. #, no-wrap
  6953. msgid "package installation"
  6954. msgstr ""
  6955. #. type: cindex
  6956. #: guix-git/doc/guix.texi:3070
  6957. #, no-wrap
  6958. msgid "package removal"
  6959. msgstr ""
  6960. #. type: Plain text
  6961. #: guix-git/doc/guix.texi:3080
  6962. 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:"
  6963. msgstr ""
  6964. #. type: example
  6965. #: guix-git/doc/guix.texi:3083
  6966. #, no-wrap
  6967. msgid "guix package @var{options}\n"
  6968. msgstr ""
  6969. #. type: Plain text
  6970. #: guix-git/doc/guix.texi:3090
  6971. 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."
  6972. msgstr ""
  6973. #. type: Plain text
  6974. #: guix-git/doc/guix.texi:3093
  6975. msgid "For example, to remove @code{lua} and install @code{guile} and @code{guile-cairo} in a single transaction:"
  6976. msgstr ""
  6977. #. type: example
  6978. #: guix-git/doc/guix.texi:3096
  6979. #, no-wrap
  6980. msgid "guix package -r lua -i guile guile-cairo\n"
  6981. msgstr ""
  6982. #. type: cindex
  6983. #: guix-git/doc/guix.texi:3098
  6984. #, no-wrap
  6985. msgid "aliases, for @command{guix package}"
  6986. msgstr ""
  6987. #. type: Plain text
  6988. #: guix-git/doc/guix.texi:3100
  6989. msgid "For your convenience, we also provide the following aliases:"
  6990. msgstr ""
  6991. #. type: itemize
  6992. #: guix-git/doc/guix.texi:3104
  6993. msgid "@command{guix search} is an alias for @command{guix package -s},"
  6994. msgstr ""
  6995. #. type: itemize
  6996. #: guix-git/doc/guix.texi:3106
  6997. msgid "@command{guix install} is an alias for @command{guix package -i},"
  6998. msgstr ""
  6999. #. type: itemize
  7000. #: guix-git/doc/guix.texi:3108
  7001. msgid "@command{guix remove} is an alias for @command{guix package -r},"
  7002. msgstr ""
  7003. #. type: itemize
  7004. #: guix-git/doc/guix.texi:3110
  7005. msgid "@command{guix upgrade} is an alias for @command{guix package -u},"
  7006. msgstr ""
  7007. #. type: itemize
  7008. #: guix-git/doc/guix.texi:3112
  7009. msgid "and @command{guix show} is an alias for @command{guix package --show=}."
  7010. msgstr ""
  7011. #. type: Plain text
  7012. #: guix-git/doc/guix.texi:3117
  7013. 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."
  7014. msgstr ""
  7015. #. type: Plain text
  7016. #: guix-git/doc/guix.texi:3122
  7017. 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}})."
  7018. msgstr ""
  7019. #. type: Plain text
  7020. #: guix-git/doc/guix.texi:3129
  7021. 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."
  7022. msgstr ""
  7023. #. type: cindex
  7024. #: guix-git/doc/guix.texi:3129 guix-git/doc/guix.texi:3362
  7025. #, no-wrap
  7026. msgid "search paths"
  7027. msgstr ""
  7028. #. type: Plain text
  7029. #: guix-git/doc/guix.texi:3134
  7030. 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:"
  7031. msgstr ""
  7032. #. type: example
  7033. #: guix-git/doc/guix.texi:3138
  7034. #, no-wrap
  7035. msgid ""
  7036. "GUIX_PROFILE=\"$HOME/.guix-profile\" ; \\\n"
  7037. "source \"$GUIX_PROFILE/etc/profile\"\n"
  7038. msgstr ""
  7039. #. type: Plain text
  7040. #: guix-git/doc/guix.texi:3149
  7041. 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}."
  7042. msgstr ""
  7043. #. type: Plain text
  7044. #: guix-git/doc/guix.texi:3151
  7045. msgid "The @var{options} can be among the following:"
  7046. msgstr ""
  7047. #. type: item
  7048. #: guix-git/doc/guix.texi:3154
  7049. #, no-wrap
  7050. msgid "--install=@var{package} @dots{}"
  7051. msgstr ""
  7052. #. type: itemx
  7053. #: guix-git/doc/guix.texi:3155
  7054. #, no-wrap
  7055. msgid "-i @var{package} @dots{}"
  7056. msgstr ""
  7057. #. type: table
  7058. #: guix-git/doc/guix.texi:3157
  7059. msgid "Install the specified @var{package}s."
  7060. msgstr ""
  7061. #. type: table
  7062. #: guix-git/doc/guix.texi:3162
  7063. 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)."
  7064. msgstr ""
  7065. #. type: table
  7066. #: guix-git/doc/guix.texi:3170
  7067. 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})."
  7068. msgstr ""
  7069. #. type: cindex
  7070. #: guix-git/doc/guix.texi:3171
  7071. #, no-wrap
  7072. msgid "propagated inputs"
  7073. msgstr ""
  7074. #. type: table
  7075. #: guix-git/doc/guix.texi:3177
  7076. 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)."
  7077. msgstr ""
  7078. #. type: anchor{#1}
  7079. #: guix-git/doc/guix.texi:3184
  7080. msgid "package-cmd-propagated-inputs"
  7081. msgstr ""
  7082. #. type: table
  7083. #: guix-git/doc/guix.texi:3184
  7084. 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."
  7085. msgstr ""
  7086. #. type: table
  7087. #: guix-git/doc/guix.texi:3189
  7088. 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."
  7089. msgstr ""
  7090. #. type: item
  7091. #: guix-git/doc/guix.texi:3190
  7092. #, no-wrap
  7093. msgid "--install-from-expression=@var{exp}"
  7094. msgstr ""
  7095. #. type: itemx
  7096. #: guix-git/doc/guix.texi:3191
  7097. #, no-wrap
  7098. msgid "-e @var{exp}"
  7099. msgstr ""
  7100. #. type: table
  7101. #: guix-git/doc/guix.texi:3193
  7102. msgid "Install the package @var{exp} evaluates to."
  7103. msgstr ""
  7104. #. type: table
  7105. #: guix-git/doc/guix.texi:3198
  7106. 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)}."
  7107. msgstr ""
  7108. #. type: table
  7109. #: guix-git/doc/guix.texi:3202
  7110. 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."
  7111. msgstr ""
  7112. #. type: item
  7113. #: guix-git/doc/guix.texi:3203
  7114. #, no-wrap
  7115. msgid "--install-from-file=@var{file}"
  7116. msgstr ""
  7117. #. type: itemx
  7118. #: guix-git/doc/guix.texi:3204 guix-git/doc/guix.texi:10758
  7119. #, no-wrap
  7120. msgid "-f @var{file}"
  7121. msgstr ""
  7122. #. type: table
  7123. #: guix-git/doc/guix.texi:3206
  7124. msgid "Install the package that the code within @var{file} evaluates to."
  7125. msgstr ""
  7126. #. type: table
  7127. #: guix-git/doc/guix.texi:3209 guix-git/doc/guix.texi:5741
  7128. msgid "As an example, @var{file} might contain a definition like this (@pxref{Defining Packages}):"
  7129. msgstr ""
  7130. #. type: include
  7131. #: guix-git/doc/guix.texi:3211 guix-git/doc/guix.texi:10766
  7132. #, no-wrap
  7133. msgid "package-hello.scm"
  7134. msgstr ""
  7135. #. type: table
  7136. #: guix-git/doc/guix.texi:3218
  7137. 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})."
  7138. msgstr ""
  7139. #. type: table
  7140. #: guix-git/doc/guix.texi:3223
  7141. 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}:"
  7142. msgstr ""
  7143. #. type: example
  7144. #: guix-git/doc/guix.texi:3226 guix-git/doc/guix.texi:10776
  7145. #, no-wrap
  7146. msgid "@verbatiminclude package-hello.json\n"
  7147. msgstr ""
  7148. #. type: item
  7149. #: guix-git/doc/guix.texi:3228
  7150. #, no-wrap
  7151. msgid "--remove=@var{package} @dots{}"
  7152. msgstr ""
  7153. #. type: itemx
  7154. #: guix-git/doc/guix.texi:3229
  7155. #, no-wrap
  7156. msgid "-r @var{package} @dots{}"
  7157. msgstr ""
  7158. #. type: table
  7159. #: guix-git/doc/guix.texi:3231
  7160. msgid "Remove the specified @var{package}s."
  7161. msgstr ""
  7162. #. type: table
  7163. #: guix-git/doc/guix.texi:3236
  7164. 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}."
  7165. msgstr ""
  7166. #. type: item
  7167. #: guix-git/doc/guix.texi:3237
  7168. #, no-wrap
  7169. msgid "--upgrade[=@var{regexp} @dots{}]"
  7170. msgstr ""
  7171. #. type: itemx
  7172. #: guix-git/doc/guix.texi:3238
  7173. #, no-wrap
  7174. msgid "-u [@var{regexp} @dots{}]"
  7175. msgstr ""
  7176. #. type: cindex
  7177. #: guix-git/doc/guix.texi:3239
  7178. #, no-wrap
  7179. msgid "upgrading packages"
  7180. msgstr ""
  7181. #. type: table
  7182. #: guix-git/doc/guix.texi:3243
  7183. 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."
  7184. msgstr ""
  7185. #. type: table
  7186. #: guix-git/doc/guix.texi:3248
  7187. 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})."
  7188. msgstr ""
  7189. #. type: cindex
  7190. #: guix-git/doc/guix.texi:3249
  7191. #, no-wrap
  7192. msgid "package transformations, upgrades"
  7193. msgstr ""
  7194. #. type: table
  7195. #: guix-git/doc/guix.texi:3254
  7196. 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:"
  7197. msgstr ""
  7198. #. type: example
  7199. #: guix-git/doc/guix.texi:3257
  7200. #, no-wrap
  7201. msgid "guix install emacs-next --with-branch=emacs-next=master\n"
  7202. msgstr ""
  7203. #. type: table
  7204. #: guix-git/doc/guix.texi:3262
  7205. 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."
  7206. msgstr ""
  7207. #. type: table
  7208. #: guix-git/doc/guix.texi:3267
  7209. 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:"
  7210. msgstr ""
  7211. #. type: example
  7212. #: guix-git/doc/guix.texi:3270
  7213. #, no-wrap
  7214. msgid "guix install @var{package}\n"
  7215. msgstr ""
  7216. #. type: item
  7217. #: guix-git/doc/guix.texi:3272
  7218. #, no-wrap
  7219. msgid "--do-not-upgrade[=@var{regexp} @dots{}]"
  7220. msgstr ""
  7221. #. type: table
  7222. #: guix-git/doc/guix.texi:3277
  7223. 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'':"
  7224. msgstr ""
  7225. #. type: example
  7226. #: guix-git/doc/guix.texi:3280
  7227. #, no-wrap
  7228. msgid "$ guix package --upgrade . --do-not-upgrade emacs\n"
  7229. msgstr ""
  7230. #. type: anchor{#1}
  7231. #: guix-git/doc/guix.texi:3282
  7232. #, no-wrap
  7233. msgid "profile-manifest"
  7234. msgstr ""
  7235. #. type: item
  7236. #: guix-git/doc/guix.texi:3282 guix-git/doc/guix.texi:5746
  7237. #: guix-git/doc/guix.texi:6194 guix-git/doc/guix.texi:11870
  7238. #: guix-git/doc/guix.texi:13319
  7239. #, no-wrap
  7240. msgid "--manifest=@var{file}"
  7241. msgstr ""
  7242. #. type: itemx
  7243. #: guix-git/doc/guix.texi:3283 guix-git/doc/guix.texi:5747
  7244. #: guix-git/doc/guix.texi:6195 guix-git/doc/guix.texi:11871
  7245. #, no-wrap
  7246. msgid "-m @var{file}"
  7247. msgstr ""
  7248. #. type: cindex
  7249. #: guix-git/doc/guix.texi:3284
  7250. #, no-wrap
  7251. msgid "profile declaration"
  7252. msgstr ""
  7253. #. type: cindex
  7254. #: guix-git/doc/guix.texi:3285
  7255. #, no-wrap
  7256. msgid "profile manifest"
  7257. msgstr ""
  7258. #. type: table
  7259. #: guix-git/doc/guix.texi:3289
  7260. 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."
  7261. msgstr ""
  7262. #. type: table
  7263. #: guix-git/doc/guix.texi:3295
  7264. 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."
  7265. msgstr ""
  7266. #. type: table
  7267. #: guix-git/doc/guix.texi:3299
  7268. msgid "@var{file} must return a @dfn{manifest} object, which is roughly a list of packages:"
  7269. msgstr ""
  7270. #. type: findex
  7271. #: guix-git/doc/guix.texi:3300
  7272. #, no-wrap
  7273. msgid "packages->manifest"
  7274. msgstr ""
  7275. #. type: lisp
  7276. #: guix-git/doc/guix.texi:3303
  7277. #, no-wrap
  7278. msgid ""
  7279. "(use-package-modules guile emacs)\n"
  7280. "\n"
  7281. msgstr ""
  7282. #. type: lisp
  7283. #: guix-git/doc/guix.texi:3309
  7284. #, no-wrap
  7285. msgid ""
  7286. "(packages->manifest\n"
  7287. " (list emacs\n"
  7288. " guile-2.0\n"
  7289. " ;; Use a specific package output.\n"
  7290. " (list guile-2.0 \"debug\")))\n"
  7291. msgstr ""
  7292. #. type: findex
  7293. #: guix-git/doc/guix.texi:3311
  7294. #, no-wrap
  7295. msgid "specifications->manifest"
  7296. msgstr ""
  7297. #. type: table
  7298. #: guix-git/doc/guix.texi:3318
  7299. 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:"
  7300. msgstr ""
  7301. #. type: lisp
  7302. #: guix-git/doc/guix.texi:3322
  7303. #, no-wrap
  7304. msgid ""
  7305. "(specifications->manifest\n"
  7306. " '(\"emacs\" \"guile@@2.2\" \"guile@@2.2:debug\"))\n"
  7307. msgstr ""
  7308. #. type: table
  7309. #: guix-git/doc/guix.texi:3326
  7310. msgid "@xref{export-manifest, @option{--export-manifest}}, to learn how to obtain a manifest file from an existing profile."
  7311. msgstr ""
  7312. #. type: item
  7313. #: guix-git/doc/guix.texi:3327 guix-git/doc/guix.texi:4434
  7314. #, no-wrap
  7315. msgid "--roll-back"
  7316. msgstr ""
  7317. #. type: cindex
  7318. #: guix-git/doc/guix.texi:3328 guix-git/doc/guix.texi:4435
  7319. #: guix-git/doc/guix.texi:33604
  7320. #, no-wrap
  7321. msgid "rolling back"
  7322. msgstr ""
  7323. #. type: cindex
  7324. #: guix-git/doc/guix.texi:3329 guix-git/doc/guix.texi:4436
  7325. #, no-wrap
  7326. msgid "undoing transactions"
  7327. msgstr ""
  7328. #. type: cindex
  7329. #: guix-git/doc/guix.texi:3330 guix-git/doc/guix.texi:4437
  7330. #, no-wrap
  7331. msgid "transactions, undoing"
  7332. msgstr ""
  7333. #. type: table
  7334. #: guix-git/doc/guix.texi:3333
  7335. msgid "Roll back to the previous @dfn{generation} of the profile---i.e., undo the last transaction."
  7336. msgstr ""
  7337. #. type: table
  7338. #: guix-git/doc/guix.texi:3336
  7339. msgid "When combined with options such as @option{--install}, roll back occurs before any other actions."
  7340. msgstr ""
  7341. #. type: table
  7342. #: guix-git/doc/guix.texi:3340
  7343. 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."
  7344. msgstr ""
  7345. #. type: table
  7346. #: guix-git/doc/guix.texi:3344
  7347. 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."
  7348. msgstr ""
  7349. #. type: item
  7350. #: guix-git/doc/guix.texi:3345 guix-git/doc/guix.texi:4441
  7351. #, no-wrap
  7352. msgid "--switch-generation=@var{pattern}"
  7353. msgstr ""
  7354. #. type: itemx
  7355. #: guix-git/doc/guix.texi:3346 guix-git/doc/guix.texi:4442
  7356. #, no-wrap
  7357. msgid "-S @var{pattern}"
  7358. msgstr ""
  7359. #. type: cindex
  7360. #: guix-git/doc/guix.texi:3347 guix-git/doc/guix.texi:3577
  7361. #: guix-git/doc/guix.texi:4443 guix-git/doc/guix.texi:33562
  7362. #, no-wrap
  7363. msgid "generations"
  7364. msgstr ""
  7365. #. type: table
  7366. #: guix-git/doc/guix.texi:3349 guix-git/doc/guix.texi:4445
  7367. msgid "Switch to a particular generation defined by @var{pattern}."
  7368. msgstr ""
  7369. #. type: table
  7370. #: guix-git/doc/guix.texi:3355 guix-git/doc/guix.texi:4451
  7371. 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}."
  7372. msgstr ""
  7373. #. type: table
  7374. #: guix-git/doc/guix.texi:3360
  7375. 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."
  7376. msgstr ""
  7377. #. type: item
  7378. #: guix-git/doc/guix.texi:3361
  7379. #, no-wrap
  7380. msgid "--search-paths[=@var{kind}]"
  7381. msgstr ""
  7382. #. type: table
  7383. #: guix-git/doc/guix.texi:3367
  7384. 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."
  7385. msgstr ""
  7386. #. type: table
  7387. #: guix-git/doc/guix.texi:3375
  7388. 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."
  7389. msgstr ""
  7390. #. type: table
  7391. #: guix-git/doc/guix.texi:3378
  7392. msgid "The typical use case is to define these environment variables in the shell:"
  7393. msgstr ""
  7394. #. type: example
  7395. #: guix-git/doc/guix.texi:3381
  7396. #, no-wrap
  7397. msgid "$ eval `guix package --search-paths`\n"
  7398. msgstr ""
  7399. #. type: table
  7400. #: guix-git/doc/guix.texi:3387
  7401. 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}."
  7402. msgstr ""
  7403. #. type: table
  7404. #: guix-git/doc/guix.texi:3390
  7405. msgid "This option can also be used to compute the @emph{combined} search paths of several profiles. Consider this example:"
  7406. msgstr ""
  7407. #. type: example
  7408. #: guix-git/doc/guix.texi:3395
  7409. #, no-wrap
  7410. msgid ""
  7411. "$ guix package -p foo -i guile\n"
  7412. "$ guix package -p bar -i guile-json\n"
  7413. "$ guix package -p foo -p bar --search-paths\n"
  7414. msgstr ""
  7415. #. type: table
  7416. #: guix-git/doc/guix.texi:3400
  7417. 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."
  7418. msgstr ""
  7419. #. type: cindex
  7420. #: guix-git/doc/guix.texi:3402
  7421. #, no-wrap
  7422. msgid "profile, choosing"
  7423. msgstr ""
  7424. #. type: item
  7425. #: guix-git/doc/guix.texi:3403 guix-git/doc/guix.texi:4471
  7426. #: guix-git/doc/guix.texi:4800
  7427. #, no-wrap
  7428. msgid "--profile=@var{profile}"
  7429. msgstr ""
  7430. #. type: itemx
  7431. #: guix-git/doc/guix.texi:3404 guix-git/doc/guix.texi:4472
  7432. #: guix-git/doc/guix.texi:4801
  7433. #, no-wrap
  7434. msgid "-p @var{profile}"
  7435. msgstr ""
  7436. #. type: table
  7437. #: guix-git/doc/guix.texi:3406
  7438. msgid "Use @var{profile} instead of the user's default profile."
  7439. msgstr ""
  7440. #. type: table
  7441. #: guix-git/doc/guix.texi:3411
  7442. 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:"
  7443. msgstr ""
  7444. #. type: example
  7445. #: guix-git/doc/guix.texi:3417
  7446. #, no-wrap
  7447. msgid ""
  7448. "$ guix install hello -p ~/code/my-profile\n"
  7449. "@dots{}\n"
  7450. "$ ~/code/my-profile/bin/hello\n"
  7451. "Hello, world!\n"
  7452. msgstr ""
  7453. #. type: table
  7454. #: guix-git/doc/guix.texi:3421
  7455. msgid "All it takes to get rid of the profile is to remove this symlink and its siblings that point to specific generations:"
  7456. msgstr ""
  7457. #. type: example
  7458. #: guix-git/doc/guix.texi:3424
  7459. #, no-wrap
  7460. msgid "$ rm ~/code/my-profile ~/code/my-profile-*-link\n"
  7461. msgstr ""
  7462. #. type: item
  7463. #: guix-git/doc/guix.texi:3426
  7464. #, no-wrap
  7465. msgid "--list-profiles"
  7466. msgstr ""
  7467. #. type: table
  7468. #: guix-git/doc/guix.texi:3428
  7469. msgid "List all the user's profiles:"
  7470. msgstr ""
  7471. #. type: example
  7472. #: guix-git/doc/guix.texi:3435
  7473. #, no-wrap
  7474. msgid ""
  7475. "$ guix package --list-profiles\n"
  7476. "/home/charlie/.guix-profile\n"
  7477. "/home/charlie/code/my-profile\n"
  7478. "/home/charlie/code/devel-profile\n"
  7479. "/home/charlie/tmp/test\n"
  7480. msgstr ""
  7481. #. type: table
  7482. #: guix-git/doc/guix.texi:3438
  7483. msgid "When running as root, list all the profiles of all the users."
  7484. msgstr ""
  7485. #. type: cindex
  7486. #: guix-git/doc/guix.texi:3439
  7487. #, no-wrap
  7488. msgid "collisions, in a profile"
  7489. msgstr ""
  7490. #. type: cindex
  7491. #: guix-git/doc/guix.texi:3440
  7492. #, no-wrap
  7493. msgid "colliding packages in profiles"
  7494. msgstr ""
  7495. #. type: cindex
  7496. #: guix-git/doc/guix.texi:3441
  7497. #, no-wrap
  7498. msgid "profile collisions"
  7499. msgstr ""
  7500. #. type: item
  7501. #: guix-git/doc/guix.texi:3442
  7502. #, no-wrap
  7503. msgid "--allow-collisions"
  7504. msgstr ""
  7505. #. type: table
  7506. #: guix-git/doc/guix.texi:3444
  7507. msgid "Allow colliding packages in the new profile. Use at your own risk!"
  7508. msgstr ""
  7509. #. type: table
  7510. #: guix-git/doc/guix.texi:3448
  7511. 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."
  7512. msgstr ""
  7513. #. type: item
  7514. #: guix-git/doc/guix.texi:3449 guix-git/doc/guix.texi:4514
  7515. #: guix-git/doc/guix.texi:6280
  7516. #, no-wrap
  7517. msgid "--bootstrap"
  7518. msgstr ""
  7519. #. type: table
  7520. #: guix-git/doc/guix.texi:3452
  7521. msgid "Use the bootstrap Guile to build the profile. This option is only useful to distribution developers."
  7522. msgstr ""
  7523. #. type: Plain text
  7524. #: guix-git/doc/guix.texi:3458
  7525. 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:"
  7526. msgstr ""
  7527. #. type: item
  7528. #: guix-git/doc/guix.texi:3461
  7529. #, no-wrap
  7530. msgid "--search=@var{regexp}"
  7531. msgstr ""
  7532. #. type: itemx
  7533. #: guix-git/doc/guix.texi:3462
  7534. #, no-wrap
  7535. msgid "-s @var{regexp}"
  7536. msgstr ""
  7537. #. type: anchor{#1}
  7538. #: guix-git/doc/guix.texi:3464
  7539. msgid "guix-search"
  7540. msgstr ""
  7541. #. type: cindex
  7542. #: guix-git/doc/guix.texi:3464
  7543. #, no-wrap
  7544. msgid "searching for packages"
  7545. msgstr ""
  7546. #. type: table
  7547. #: guix-git/doc/guix.texi:3470
  7548. 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})."
  7549. msgstr ""
  7550. #. type: table
  7551. #: guix-git/doc/guix.texi:3473
  7552. msgid "This allows specific fields to be extracted using the @command{recsel} command, for instance:"
  7553. msgstr ""
  7554. #. type: example
  7555. #: guix-git/doc/guix.texi:3479
  7556. #, no-wrap
  7557. msgid ""
  7558. "$ guix package -s malloc | recsel -p name,version,relevance\n"
  7559. "name: jemalloc\n"
  7560. "version: 4.5.0\n"
  7561. "relevance: 6\n"
  7562. "\n"
  7563. msgstr ""
  7564. #. type: example
  7565. #: guix-git/doc/guix.texi:3483
  7566. #, no-wrap
  7567. msgid ""
  7568. "name: glibc\n"
  7569. "version: 2.25\n"
  7570. "relevance: 1\n"
  7571. "\n"
  7572. msgstr ""
  7573. #. type: example
  7574. #: guix-git/doc/guix.texi:3487
  7575. #, no-wrap
  7576. msgid ""
  7577. "name: libgc\n"
  7578. "version: 7.6.0\n"
  7579. "relevance: 1\n"
  7580. msgstr ""
  7581. #. type: table
  7582. #: guix-git/doc/guix.texi:3491
  7583. msgid "Similarly, to show the name of all the packages available under the terms of the GNU@tie{}LGPL version 3:"
  7584. msgstr ""
  7585. #. type: example
  7586. #: guix-git/doc/guix.texi:3495
  7587. #, no-wrap
  7588. msgid ""
  7589. "$ guix package -s \"\" | recsel -p name -e 'license ~ \"LGPL 3\"'\n"
  7590. "name: elfutils\n"
  7591. "\n"
  7592. msgstr ""
  7593. #. type: example
  7594. #: guix-git/doc/guix.texi:3498
  7595. #, no-wrap
  7596. msgid ""
  7597. "name: gmp\n"
  7598. "@dots{}\n"
  7599. msgstr ""
  7600. #. type: table
  7601. #: guix-git/doc/guix.texi:3504
  7602. 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):"
  7603. msgstr ""
  7604. #. type: example
  7605. #: guix-git/doc/guix.texi:3509
  7606. #, no-wrap
  7607. msgid ""
  7608. "$ guix search '\\<board\\>' game | recsel -p name\n"
  7609. "name: gnubg\n"
  7610. "@dots{}\n"
  7611. msgstr ""
  7612. #. type: table
  7613. #: guix-git/doc/guix.texi:3515
  7614. 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."
  7615. msgstr ""
  7616. #. type: table
  7617. #: guix-git/doc/guix.texi:3519
  7618. 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:"
  7619. msgstr ""
  7620. #. type: example
  7621. #: guix-git/doc/guix.texi:3523
  7622. #, no-wrap
  7623. msgid ""
  7624. "$ guix search crypto library | \\\n"
  7625. " recsel -e '! (name ~ \"^(ghc|perl|python|ruby)\")' -p name,synopsis\n"
  7626. msgstr ""
  7627. #. type: table
  7628. #: guix-git/doc/guix.texi:3528
  7629. msgid "@xref{Selection Expressions,,, recutils, GNU recutils manual}, for more information on @dfn{selection expressions} for @code{recsel -e}."
  7630. msgstr ""
  7631. #. type: item
  7632. #: guix-git/doc/guix.texi:3529
  7633. #, no-wrap
  7634. msgid "--show=@var{package}"
  7635. msgstr ""
  7636. #. type: table
  7637. #: guix-git/doc/guix.texi:3533
  7638. 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})."
  7639. msgstr ""
  7640. #. type: example
  7641. #: guix-git/doc/guix.texi:3538
  7642. #, no-wrap
  7643. msgid ""
  7644. "$ guix package --show=python | recsel -p name,version\n"
  7645. "name: python\n"
  7646. "version: 2.7.6\n"
  7647. "\n"
  7648. msgstr ""
  7649. #. type: example
  7650. #: guix-git/doc/guix.texi:3541
  7651. #, no-wrap
  7652. msgid ""
  7653. "name: python\n"
  7654. "version: 3.3.5\n"
  7655. msgstr ""
  7656. #. type: table
  7657. #: guix-git/doc/guix.texi:3545
  7658. 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):"
  7659. msgstr ""
  7660. #. type: example
  7661. #: guix-git/doc/guix.texi:3549
  7662. #, no-wrap
  7663. msgid ""
  7664. "$ guix show python@@3.4 | recsel -p name,version\n"
  7665. "name: python\n"
  7666. "version: 3.4.3\n"
  7667. msgstr ""
  7668. #. type: item
  7669. #: guix-git/doc/guix.texi:3553
  7670. #, no-wrap
  7671. msgid "--list-installed[=@var{regexp}]"
  7672. msgstr ""
  7673. #. type: itemx
  7674. #: guix-git/doc/guix.texi:3554
  7675. #, no-wrap
  7676. msgid "-I [@var{regexp}]"
  7677. msgstr ""
  7678. #. type: table
  7679. #: guix-git/doc/guix.texi:3558
  7680. 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}."
  7681. msgstr ""
  7682. #. type: table
  7683. #: guix-git/doc/guix.texi:3564
  7684. 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."
  7685. msgstr ""
  7686. #. type: item
  7687. #: guix-git/doc/guix.texi:3565
  7688. #, no-wrap
  7689. msgid "--list-available[=@var{regexp}]"
  7690. msgstr ""
  7691. #. type: itemx
  7692. #: guix-git/doc/guix.texi:3566
  7693. #, no-wrap
  7694. msgid "-A [@var{regexp}]"
  7695. msgstr ""
  7696. #. type: table
  7697. #: guix-git/doc/guix.texi:3570
  7698. 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}."
  7699. msgstr ""
  7700. #. type: table
  7701. #: guix-git/doc/guix.texi:3574
  7702. 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."
  7703. msgstr ""
  7704. #. type: item
  7705. #: guix-git/doc/guix.texi:3575 guix-git/doc/guix.texi:4427
  7706. #, no-wrap
  7707. msgid "--list-generations[=@var{pattern}]"
  7708. msgstr ""
  7709. #. type: itemx
  7710. #: guix-git/doc/guix.texi:3576 guix-git/doc/guix.texi:4428
  7711. #, no-wrap
  7712. msgid "-l [@var{pattern}]"
  7713. msgstr ""
  7714. #. type: table
  7715. #: guix-git/doc/guix.texi:3582
  7716. 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."
  7717. msgstr ""
  7718. #. type: table
  7719. #: guix-git/doc/guix.texi:3587
  7720. 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."
  7721. msgstr ""
  7722. #. type: table
  7723. #: guix-git/doc/guix.texi:3590
  7724. msgid "When @var{pattern} is used, the command returns only matching generations. Valid patterns include:"
  7725. msgstr ""
  7726. #. type: item
  7727. #: guix-git/doc/guix.texi:3592
  7728. #, no-wrap
  7729. msgid "@emph{Integers and comma-separated integers}. Both patterns denote"
  7730. msgstr ""
  7731. #. type: itemize
  7732. #: guix-git/doc/guix.texi:3595
  7733. msgid "generation numbers. For instance, @option{--list-generations=1} returns the first one."
  7734. msgstr ""
  7735. #. type: itemize
  7736. #: guix-git/doc/guix.texi:3598
  7737. msgid "And @option{--list-generations=1,8,2} outputs three generations in the specified order. Neither spaces nor trailing commas are allowed."
  7738. msgstr ""
  7739. #. type: item
  7740. #: guix-git/doc/guix.texi:3599
  7741. #, no-wrap
  7742. msgid "@emph{Ranges}. @option{--list-generations=2..9} prints the"
  7743. msgstr ""
  7744. #. type: itemize
  7745. #: guix-git/doc/guix.texi:3602
  7746. msgid "specified generations and everything in between. Note that the start of a range must be smaller than its end."
  7747. msgstr ""
  7748. #. type: itemize
  7749. #: guix-git/doc/guix.texi:3606
  7750. msgid "It is also possible to omit the endpoint. For example, @option{--list-generations=2..}, returns all generations starting from the second one."
  7751. msgstr ""
  7752. #. type: item
  7753. #: guix-git/doc/guix.texi:3607
  7754. #, no-wrap
  7755. msgid "@emph{Durations}. You can also get the last @emph{N}@tie{}days, weeks,"
  7756. msgstr ""
  7757. #. type: itemize
  7758. #: guix-git/doc/guix.texi:3611
  7759. 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."
  7760. msgstr ""
  7761. #. type: item
  7762. #: guix-git/doc/guix.texi:3613 guix-git/doc/guix.texi:4452
  7763. #, no-wrap
  7764. msgid "--delete-generations[=@var{pattern}]"
  7765. msgstr ""
  7766. #. type: itemx
  7767. #: guix-git/doc/guix.texi:3614 guix-git/doc/guix.texi:4453
  7768. #, no-wrap
  7769. msgid "-d [@var{pattern}]"
  7770. msgstr ""
  7771. #. type: table
  7772. #: guix-git/doc/guix.texi:3617 guix-git/doc/guix.texi:4456
  7773. msgid "When @var{pattern} is omitted, delete all generations except the current one."
  7774. msgstr ""
  7775. #. type: table
  7776. #: guix-git/doc/guix.texi:3623 guix-git/doc/guix.texi:4462
  7777. 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."
  7778. msgstr ""
  7779. #. type: table
  7780. #: guix-git/doc/guix.texi:3626
  7781. msgid "If the current generation matches, it is @emph{not} deleted. Also, the zeroth generation is never deleted."
  7782. msgstr ""
  7783. #. type: table
  7784. #: guix-git/doc/guix.texi:3629 guix-git/doc/guix.texi:4467
  7785. msgid "Note that deleting generations prevents rolling back to them. Consequently, this command must be used with care."
  7786. msgstr ""
  7787. #. type: cindex
  7788. #: guix-git/doc/guix.texi:3630
  7789. #, no-wrap
  7790. msgid "manifest, exporting"
  7791. msgstr ""
  7792. #. type: anchor{#1}
  7793. #: guix-git/doc/guix.texi:3632
  7794. msgid "export-manifest"
  7795. msgstr ""
  7796. #. type: item
  7797. #: guix-git/doc/guix.texi:3632
  7798. #, no-wrap
  7799. msgid "--export-manifest"
  7800. msgstr ""
  7801. #. type: table
  7802. #: guix-git/doc/guix.texi:3635
  7803. msgid "Write to standard output a manifest suitable for @option{--manifest} corresponding to the chosen profile(s)."
  7804. msgstr ""
  7805. #. type: table
  7806. #: guix-git/doc/guix.texi:3639
  7807. 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."
  7808. msgstr ""
  7809. #. type: table
  7810. #: guix-git/doc/guix.texi:3644
  7811. 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."
  7812. msgstr ""
  7813. #. type: table
  7814. #: guix-git/doc/guix.texi:3649
  7815. 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."
  7816. msgstr ""
  7817. #. type: cindex
  7818. #: guix-git/doc/guix.texi:3650
  7819. #, no-wrap
  7820. msgid "pinning, channel revisions of a profile"
  7821. msgstr ""
  7822. #. type: item
  7823. #: guix-git/doc/guix.texi:3651
  7824. #, no-wrap
  7825. msgid "--export-channels"
  7826. msgstr ""
  7827. #. type: table
  7828. #: guix-git/doc/guix.texi:3655
  7829. 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})."
  7830. msgstr ""
  7831. #. type: table
  7832. #: guix-git/doc/guix.texi:3659
  7833. msgid "Together with @option{--export-manifest}, this option provides information allowing you to replicate the current profile (@pxref{Replicating Guix})."
  7834. msgstr ""
  7835. #. type: table
  7836. #: guix-git/doc/guix.texi:3667
  7837. 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})."
  7838. msgstr ""
  7839. #. type: table
  7840. #: guix-git/doc/guix.texi:3672
  7841. 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."
  7842. msgstr ""
  7843. #. type: Plain text
  7844. #: guix-git/doc/guix.texi:3679
  7845. 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})."
  7846. msgstr ""
  7847. #. type: cindex
  7848. #: guix-git/doc/guix.texi:3684
  7849. #, no-wrap
  7850. msgid "pre-built binaries"
  7851. msgstr ""
  7852. #. type: Plain text
  7853. #: guix-git/doc/guix.texi:3690
  7854. 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."
  7855. msgstr ""
  7856. #. type: Plain text
  7857. #: guix-git/doc/guix.texi:3695
  7858. 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."
  7859. msgstr ""
  7860. #. type: cindex
  7861. #: guix-git/doc/guix.texi:3709
  7862. #, no-wrap
  7863. msgid "build farm"
  7864. msgstr ""
  7865. #. type: Plain text
  7866. #: guix-git/doc/guix.texi:3720
  7867. msgid "@code{@value{SUBSTITUTE-SERVER-1}} and @code{@value{SUBSTITUTE-SERVER-2}} are both front-ends to official build farms that build packages from Guix continuously for some architectures, and make them available as substitutes. These are the default source of substitutes; which can be overridden by passing the @option{--substitute-urls} option either to @command{guix-daemon} (@pxref{daemon-substitute-urls,, @code{guix-daemon --substitute-urls}}) or to client tools such as @command{guix package} (@pxref{client-substitute-urls,, client @option{--substitute-urls} option})."
  7868. msgstr ""
  7869. #. type: Plain text
  7870. #: guix-git/doc/guix.texi:3726
  7871. 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."
  7872. msgstr ""
  7873. #. type: Plain text
  7874. #: guix-git/doc/guix.texi:3735
  7875. msgid "Substitutes from the official build farms are enabled by default when using Guix System (@pxref{GNU Distribution}). However, they are disabled by default when using Guix on a foreign distribution, unless you have explicitly enabled them via one of the recommended installation steps (@pxref{Installation}). The following paragraphs describe how to enable or disable substitutes for the official build farm; the same procedure can also be used to enable substitutes for any other substitute server."
  7876. msgstr ""
  7877. #. type: cindex
  7878. #: guix-git/doc/guix.texi:3739
  7879. #, no-wrap
  7880. msgid "security"
  7881. msgstr ""
  7882. #. type: cindex
  7883. #: guix-git/doc/guix.texi:3741
  7884. #, no-wrap
  7885. msgid "access control list (ACL), for substitutes"
  7886. msgstr ""
  7887. #. type: cindex
  7888. #: guix-git/doc/guix.texi:3742
  7889. #, no-wrap
  7890. msgid "ACL (access control list), for substitutes"
  7891. msgstr ""
  7892. #. type: Plain text
  7893. #: guix-git/doc/guix.texi:3748
  7894. msgid "To allow Guix to download substitutes from @code{@value{SUBSTITUTE-SERVER-1}}, @code{@value{SUBSTITUTE-SERVER-2}} or a mirror, you must add the relevant public key to the access control list (ACL) of archive imports, using the @command{guix archive} command (@pxref{Invoking guix archive}). Doing so implies that you trust the substitute server to not be compromised and to serve genuine substitutes."
  7895. msgstr ""
  7896. #. type: quotation
  7897. #: guix-git/doc/guix.texi:3753
  7898. msgid "If you are using Guix System, you can skip this section: Guix System authorizes substitutes from @code{@value{SUBSTITUTE-SERVER-1}} and @code{@value{SUBSTITUTE-SERVER-2}} by default."
  7899. msgstr ""
  7900. #. type: Plain text
  7901. #: guix-git/doc/guix.texi:3761
  7902. msgid "The public keys for each of the project maintained substitute servers are installed along with Guix, in @code{@var{prefix}/share/guix/}, where @var{prefix} is the installation prefix of Guix. If you installed Guix from source, make sure you checked the GPG signature of @file{guix-@value{VERSION}.tar.gz}, which contains this public key file. Then, you can run something like this:"
  7903. msgstr ""
  7904. #. type: example
  7905. #: guix-git/doc/guix.texi:3765
  7906. #, no-wrap
  7907. msgid ""
  7908. "# guix archive --authorize < @var{prefix}/share/guix/@value{SUBSTITUTE-SERVER-1}.pub\n"
  7909. "# guix archive --authorize < @var{prefix}/share/guix/@value{SUBSTITUTE-SERVER-2}.pub\n"
  7910. msgstr ""
  7911. #. type: Plain text
  7912. #: guix-git/doc/guix.texi:3769
  7913. msgid "Once this is in place, the output of a command like @code{guix build} should change from something like:"
  7914. msgstr ""
  7915. #. type: example
  7916. #: guix-git/doc/guix.texi:3778
  7917. #, no-wrap
  7918. msgid ""
  7919. "$ guix build emacs --dry-run\n"
  7920. "The following derivations would be built:\n"
  7921. " /gnu/store/yr7bnx8xwcayd6j95r2clmkdl1qh688w-emacs-24.3.drv\n"
  7922. " /gnu/store/x8qsh1hlhgjx6cwsjyvybnfv2i37z23w-dbus-1.6.4.tar.gz.drv\n"
  7923. " /gnu/store/1ixwp12fl950d15h2cj11c73733jay0z-alsa-lib-1.0.27.1.tar.bz2.drv\n"
  7924. " /gnu/store/nlma1pw0p603fpfiqy7kn4zm105r5dmw-util-linux-2.21.drv\n"
  7925. "@dots{}\n"
  7926. msgstr ""
  7927. #. type: Plain text
  7928. #: guix-git/doc/guix.texi:3782
  7929. msgid "to something like:"
  7930. msgstr ""
  7931. #. type: example
  7932. #: guix-git/doc/guix.texi:3791
  7933. #, no-wrap
  7934. msgid ""
  7935. "$ guix build emacs --dry-run\n"
  7936. "112.3 MB would be downloaded:\n"
  7937. " /gnu/store/pk3n22lbq6ydamyymqkkz7i69wiwjiwi-emacs-24.3\n"
  7938. " /gnu/store/2ygn4ncnhrpr61rssa6z0d9x22si0va3-libjpeg-8d\n"
  7939. " /gnu/store/71yz6lgx4dazma9dwn2mcjxaah9w77jq-cairo-1.12.16\n"
  7940. " /gnu/store/7zdhgp0n1518lvfn8mb96sxqfmvqrl7v-libxrender-0.9.7\n"
  7941. "@dots{}\n"
  7942. msgstr ""
  7943. #. type: Plain text
  7944. #: guix-git/doc/guix.texi:3798
  7945. msgid "The text changed from ``The following derivations would be built'' to ``112.3 MB would be downloaded''. This indicates that substitutes from the configured substitute servers are usable and will be downloaded, when possible, for future builds."
  7946. msgstr ""
  7947. #. type: cindex
  7948. #: guix-git/doc/guix.texi:3799
  7949. #, no-wrap
  7950. msgid "substitutes, how to disable"
  7951. msgstr ""
  7952. #. type: Plain text
  7953. #: guix-git/doc/guix.texi:3805
  7954. 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."
  7955. msgstr ""
  7956. #. type: cindex
  7957. #: guix-git/doc/guix.texi:3809
  7958. #, no-wrap
  7959. msgid "substitute servers, adding more"
  7960. msgstr ""
  7961. #. type: Plain text
  7962. #: guix-git/doc/guix.texi:3816
  7963. 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."
  7964. msgstr ""
  7965. #. type: Plain text
  7966. #: guix-git/doc/guix.texi:3821
  7967. 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."
  7968. msgstr ""
  7969. #. type: Plain text
  7970. #: guix-git/doc/guix.texi:3828
  7971. 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}})."
  7972. msgstr ""
  7973. #. type: Plain text
  7974. #: guix-git/doc/guix.texi:3834
  7975. msgid "As an example, suppose you want to fetch substitutes from @code{guix.example.org} and to authorize the signing key of that server, in addition to the default @code{@value{SUBSTITUTE-SERVER-1}} and @code{@value{SUBSTITUTE-SERVER-2}}. The resulting operating system configuration will look something like:"
  7976. msgstr ""
  7977. #. type: lisp
  7978. #: guix-git/doc/guix.texi:3851
  7979. #, no-wrap
  7980. msgid ""
  7981. "(operating-system\n"
  7982. " ;; @dots{}\n"
  7983. " (services\n"
  7984. " ;; Assume we're starting from '%desktop-services'. Replace it\n"
  7985. " ;; with the list of services you're actually using.\n"
  7986. " (modify-services %desktop-services\n"
  7987. " (guix-service-type config =>\n"
  7988. " (guix-configuration\n"
  7989. " (inherit config)\n"
  7990. " (substitute-urls\n"
  7991. " (append (list \"https://guix.example.org\")\n"
  7992. " %default-substitute-urls))\n"
  7993. " (authorized-keys\n"
  7994. " (append (list (local-file \"./key.pub\"))\n"
  7995. " %default-authorized-guix-keys)))))))\n"
  7996. msgstr ""
  7997. #. type: Plain text
  7998. #: guix-git/doc/guix.texi:3858
  7999. 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:"
  8000. msgstr ""
  8001. #. type: example
  8002. #: guix-git/doc/guix.texi:3862
  8003. #, no-wrap
  8004. msgid ""
  8005. "$ sudo guix system reconfigure /etc/config.scm\n"
  8006. "$ sudo herd restart guix-daemon\n"
  8007. msgstr ""
  8008. #. type: Plain text
  8009. #: guix-git/doc/guix.texi:3866
  8010. msgid "If you're running Guix on a ``foreign distro'', you would instead take the following steps to get substitutes from additional servers:"
  8011. msgstr ""
  8012. #. type: enumerate
  8013. #: guix-git/doc/guix.texi:3875
  8014. 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}}):"
  8015. msgstr ""
  8016. #. type: example
  8017. #: guix-git/doc/guix.texi:3878
  8018. #, no-wrap
  8019. msgid "@dots{} --substitute-urls='https://guix.example.org @value{SUBSTITUTE-URLS}'\n"
  8020. msgstr ""
  8021. #. type: enumerate
  8022. #: guix-git/doc/guix.texi:3882
  8023. msgid "Restart the daemon. For systemd, it goes like this:"
  8024. msgstr ""
  8025. #. type: example
  8026. #: guix-git/doc/guix.texi:3886
  8027. #, no-wrap
  8028. msgid ""
  8029. "systemctl daemon-reload\n"
  8030. "systemctl restart guix-daemon.service\n"
  8031. msgstr ""
  8032. #. type: enumerate
  8033. #: guix-git/doc/guix.texi:3890
  8034. msgid "Authorize the key of the new server (@pxref{Invoking guix archive}):"
  8035. msgstr ""
  8036. #. type: example
  8037. #: guix-git/doc/guix.texi:3893
  8038. #, no-wrap
  8039. msgid "guix archive --authorize < key.pub\n"
  8040. msgstr ""
  8041. #. type: enumerate
  8042. #: guix-git/doc/guix.texi:3897
  8043. msgid "Again this assumes @file{key.pub} contains the public key that @code{guix.example.org} uses to sign substitutes."
  8044. msgstr ""
  8045. #. type: Plain text
  8046. #: guix-git/doc/guix.texi:3906
  8047. msgid "Now you're all set! Substitutes will be preferably taken from @code{https://guix.example.org}, using @code{@value{SUBSTITUTE-SERVER-1}} then @code{@value{SUBSTITUTE-SERVER-2}} as fallback options. Of course you can list as many substitute servers as you like, with the caveat that substitute lookup can be slowed down if too many servers need to be contacted."
  8048. msgstr ""
  8049. #. type: Plain text
  8050. #: guix-git/doc/guix.texi:3910
  8051. 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."
  8052. msgstr ""
  8053. #. type: cindex
  8054. #: guix-git/doc/guix.texi:3914
  8055. #, no-wrap
  8056. msgid "digital signatures"
  8057. msgstr ""
  8058. #. type: Plain text
  8059. #: guix-git/doc/guix.texi:3918
  8060. 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."
  8061. msgstr ""
  8062. #. type: Plain text
  8063. #: guix-git/doc/guix.texi:3924
  8064. 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:"
  8065. msgstr ""
  8066. #. type: example
  8067. #: guix-git/doc/guix.texi:3927
  8068. #, no-wrap
  8069. msgid "--substitute-urls=\"https://a.example.org https://b.example.org\"\n"
  8070. msgstr ""
  8071. #. type: Plain text
  8072. #: guix-git/doc/guix.texi:3938
  8073. 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)."
  8074. msgstr ""
  8075. #. type: Plain text
  8076. #: guix-git/doc/guix.texi:3945
  8077. 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)."
  8078. msgstr ""
  8079. #. type: Plain text
  8080. #: guix-git/doc/guix.texi:3957
  8081. 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}."
  8082. msgstr ""
  8083. #. type: Plain text
  8084. #: guix-git/doc/guix.texi:3966
  8085. 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."
  8086. msgstr ""
  8087. #. type: Plain text
  8088. #: guix-git/doc/guix.texi:3980
  8089. 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."
  8090. msgstr ""
  8091. #. type: Plain text
  8092. #: guix-git/doc/guix.texi:3985
  8093. 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."
  8094. msgstr ""
  8095. #. type: cindex
  8096. #: guix-git/doc/guix.texi:3989
  8097. #, no-wrap
  8098. msgid "trust, of pre-built binaries"
  8099. msgstr ""
  8100. #. type: Plain text
  8101. #: guix-git/doc/guix.texi:3999
  8102. msgid "Today, each individual's control over their own computing is at the mercy of institutions, corporations, and groups with enough power and determination to subvert the computing infrastructure and exploit its weaknesses. While using substitutes can be convenient, we encourage users to also build on their own, or even run their own build farm, such that the project run substitute servers are less of an interesting target. One way to help is by publishing the software you build using @command{guix publish} so that others have one more choice of server to download substitutes from (@pxref{Invoking guix publish})."
  8103. msgstr ""
  8104. #. type: Plain text
  8105. #: guix-git/doc/guix.texi:4011
  8106. 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}})."
  8107. msgstr ""
  8108. #. type: Plain text
  8109. #: guix-git/doc/guix.texi:4015
  8110. 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}."
  8111. msgstr ""
  8112. #. type: cindex
  8113. #: guix-git/doc/guix.texi:4019
  8114. #, no-wrap
  8115. msgid "multiple-output packages"
  8116. msgstr ""
  8117. #. type: cindex
  8118. #: guix-git/doc/guix.texi:4020
  8119. #, no-wrap
  8120. msgid "package outputs"
  8121. msgstr ""
  8122. #. type: cindex
  8123. #: guix-git/doc/guix.texi:4021
  8124. #, no-wrap
  8125. msgid "outputs"
  8126. msgstr ""
  8127. #. type: Plain text
  8128. #: guix-git/doc/guix.texi:4031
  8129. 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."
  8130. msgstr ""
  8131. #. type: Plain text
  8132. #: guix-git/doc/guix.texi:4039
  8133. 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:"
  8134. msgstr ""
  8135. #. type: example
  8136. #: guix-git/doc/guix.texi:4042
  8137. #, no-wrap
  8138. msgid "guix install glib\n"
  8139. msgstr ""
  8140. #. type: item
  8141. #: guix-git/doc/guix.texi:4044 guix-git/doc/guix.texi:34950
  8142. #: guix-git/doc/guix.texi:35007
  8143. #, no-wrap
  8144. msgid "documentation"
  8145. msgstr ""
  8146. #. type: Plain text
  8147. #: guix-git/doc/guix.texi:4046
  8148. msgid "The command to install its documentation is:"
  8149. msgstr ""
  8150. #. type: example
  8151. #: guix-git/doc/guix.texi:4049
  8152. #, no-wrap
  8153. msgid "guix install glib:doc\n"
  8154. msgstr ""
  8155. #. type: Plain text
  8156. #: guix-git/doc/guix.texi:4060
  8157. 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})."
  8158. msgstr ""
  8159. #. type: Plain text
  8160. #: guix-git/doc/guix.texi:4068
  8161. 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})."
  8162. msgstr ""
  8163. #. type: section
  8164. #: guix-git/doc/guix.texi:4071
  8165. #, no-wrap
  8166. msgid "Invoking @command{guix gc}"
  8167. msgstr ""
  8168. #. type: cindex
  8169. #: guix-git/doc/guix.texi:4073
  8170. #, no-wrap
  8171. msgid "garbage collector"
  8172. msgstr ""
  8173. #. type: cindex
  8174. #: guix-git/doc/guix.texi:4074
  8175. #, no-wrap
  8176. msgid "disk space"
  8177. msgstr ""
  8178. #. type: Plain text
  8179. #: guix-git/doc/guix.texi:4080
  8180. 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!"
  8181. msgstr ""
  8182. #. type: Plain text
  8183. #: guix-git/doc/guix.texi:4091
  8184. 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."
  8185. msgstr ""
  8186. #. type: Plain text
  8187. #: guix-git/doc/guix.texi:4097
  8188. 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})."
  8189. msgstr ""
  8190. #. type: Plain text
  8191. #: guix-git/doc/guix.texi:4101
  8192. 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:"
  8193. msgstr ""
  8194. #. type: example
  8195. #: guix-git/doc/guix.texi:4104
  8196. #, no-wrap
  8197. msgid "guix gc -F 5G\n"
  8198. msgstr ""
  8199. #. type: Plain text
  8200. #: guix-git/doc/guix.texi:4113
  8201. 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."
  8202. msgstr ""
  8203. #. type: Plain text
  8204. #: guix-git/doc/guix.texi:4119
  8205. 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:"
  8206. msgstr ""
  8207. #. type: item
  8208. #: guix-git/doc/guix.texi:4121
  8209. #, no-wrap
  8210. msgid "--collect-garbage[=@var{min}]"
  8211. msgstr ""
  8212. #. type: itemx
  8213. #: guix-git/doc/guix.texi:4122
  8214. #, no-wrap
  8215. msgid "-C [@var{min}]"
  8216. msgstr ""
  8217. #. type: table
  8218. #: guix-git/doc/guix.texi:4126
  8219. msgid "Collect garbage---i.e., unreachable @file{/gnu/store} files and sub-directories. This is the default operation when no option is specified."
  8220. msgstr ""
  8221. #. type: table
  8222. #: guix-git/doc/guix.texi:4131
  8223. 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})."
  8224. msgstr ""
  8225. #. type: table
  8226. #: guix-git/doc/guix.texi:4133
  8227. msgid "When @var{min} is omitted, collect all the garbage."
  8228. msgstr ""
  8229. #. type: item
  8230. #: guix-git/doc/guix.texi:4134
  8231. #, no-wrap
  8232. msgid "--free-space=@var{free}"
  8233. msgstr ""
  8234. #. type: itemx
  8235. #: guix-git/doc/guix.texi:4135
  8236. #, no-wrap
  8237. msgid "-F @var{free}"
  8238. msgstr ""
  8239. #. type: table
  8240. #: guix-git/doc/guix.texi:4139
  8241. 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."
  8242. msgstr ""
  8243. #. type: table
  8244. #: guix-git/doc/guix.texi:4142
  8245. msgid "When @var{free} or more is already available in @file{/gnu/store}, do nothing and exit immediately."
  8246. msgstr ""
  8247. #. type: item
  8248. #: guix-git/doc/guix.texi:4143
  8249. #, no-wrap
  8250. msgid "--delete-generations[=@var{duration}]"
  8251. msgstr ""
  8252. #. type: itemx
  8253. #: guix-git/doc/guix.texi:4144
  8254. #, no-wrap
  8255. msgid "-d [@var{duration}]"
  8256. msgstr ""
  8257. #. type: table
  8258. #: guix-git/doc/guix.texi:4148
  8259. 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}."
  8260. msgstr ""
  8261. #. type: table
  8262. #: guix-git/doc/guix.texi:4152
  8263. 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:"
  8264. msgstr ""
  8265. #. type: example
  8266. #: guix-git/doc/guix.texi:4155
  8267. #, no-wrap
  8268. msgid "guix gc -d 2m -F 10G\n"
  8269. msgstr ""
  8270. #. type: item
  8271. #: guix-git/doc/guix.texi:4157
  8272. #, no-wrap
  8273. msgid "--delete"
  8274. msgstr ""
  8275. #. type: itemx
  8276. #: guix-git/doc/guix.texi:4158
  8277. #, no-wrap
  8278. msgid "-D"
  8279. msgstr ""
  8280. #. type: table
  8281. #: guix-git/doc/guix.texi:4162
  8282. 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."
  8283. msgstr ""
  8284. #. type: item
  8285. #: guix-git/doc/guix.texi:4163
  8286. #, no-wrap
  8287. msgid "--list-failures"
  8288. msgstr ""
  8289. #. type: table
  8290. #: guix-git/doc/guix.texi:4165
  8291. msgid "List store items corresponding to cached build failures."
  8292. msgstr ""
  8293. #. type: table
  8294. #: guix-git/doc/guix.texi:4169
  8295. msgid "This prints nothing unless the daemon was started with @option{--cache-failures} (@pxref{Invoking guix-daemon, @option{--cache-failures}})."
  8296. msgstr ""
  8297. #. type: item
  8298. #: guix-git/doc/guix.texi:4170
  8299. #, no-wrap
  8300. msgid "--list-roots"
  8301. msgstr ""
  8302. #. type: table
  8303. #: guix-git/doc/guix.texi:4173
  8304. msgid "List the GC roots owned by the user; when run as root, list @emph{all} the GC roots."
  8305. msgstr ""
  8306. #. type: item
  8307. #: guix-git/doc/guix.texi:4174
  8308. #, no-wrap
  8309. msgid "--list-busy"
  8310. msgstr ""
  8311. #. type: table
  8312. #: guix-git/doc/guix.texi:4177
  8313. msgid "List store items in use by currently running processes. These store items are effectively considered GC roots: they cannot be deleted."
  8314. msgstr ""
  8315. #. type: item
  8316. #: guix-git/doc/guix.texi:4178
  8317. #, no-wrap
  8318. msgid "--clear-failures"
  8319. msgstr ""
  8320. #. type: table
  8321. #: guix-git/doc/guix.texi:4180
  8322. msgid "Remove the specified store items from the failed-build cache."
  8323. msgstr ""
  8324. #. type: table
  8325. #: guix-git/doc/guix.texi:4183
  8326. msgid "Again, this option only makes sense when the daemon is started with @option{--cache-failures}. Otherwise, it does nothing."
  8327. msgstr ""
  8328. #. type: item
  8329. #: guix-git/doc/guix.texi:4184
  8330. #, no-wrap
  8331. msgid "--list-dead"
  8332. msgstr ""
  8333. #. type: table
  8334. #: guix-git/doc/guix.texi:4187
  8335. 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."
  8336. msgstr ""
  8337. #. type: item
  8338. #: guix-git/doc/guix.texi:4188
  8339. #, no-wrap
  8340. msgid "--list-live"
  8341. msgstr ""
  8342. #. type: table
  8343. #: guix-git/doc/guix.texi:4190
  8344. msgid "Show the list of live store files and directories."
  8345. msgstr ""
  8346. #. type: Plain text
  8347. #: guix-git/doc/guix.texi:4194
  8348. msgid "In addition, the references among existing store files can be queried:"
  8349. msgstr ""
  8350. #. type: item
  8351. #: guix-git/doc/guix.texi:4197
  8352. #, no-wrap
  8353. msgid "--references"
  8354. msgstr ""
  8355. #. type: itemx
  8356. #: guix-git/doc/guix.texi:4198
  8357. #, no-wrap
  8358. msgid "--referrers"
  8359. msgstr ""
  8360. #. type: cindex
  8361. #: guix-git/doc/guix.texi:4199 guix-git/doc/guix.texi:12403
  8362. #, no-wrap
  8363. msgid "package dependencies"
  8364. msgstr ""
  8365. #. type: table
  8366. #: guix-git/doc/guix.texi:4202
  8367. msgid "List the references (respectively, the referrers) of store files given as arguments."
  8368. msgstr ""
  8369. #. type: item
  8370. #: guix-git/doc/guix.texi:4203
  8371. #, no-wrap
  8372. msgid "--requisites"
  8373. msgstr ""
  8374. #. type: itemx
  8375. #: guix-git/doc/guix.texi:4204 guix-git/doc/guix.texi:6080
  8376. #, no-wrap
  8377. msgid "-R"
  8378. msgstr ""
  8379. #. type: item
  8380. #: guix-git/doc/guix.texi:4205 guix-git/doc/guix.texi:12259
  8381. #: guix-git/doc/guix.texi:12287 guix-git/doc/guix.texi:12368
  8382. #, no-wrap
  8383. msgid "closure"
  8384. msgstr ""
  8385. #. type: table
  8386. #: guix-git/doc/guix.texi:4210
  8387. 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."
  8388. msgstr ""
  8389. #. type: table
  8390. #: guix-git/doc/guix.texi:4214
  8391. 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."
  8392. msgstr ""
  8393. #. type: item
  8394. #: guix-git/doc/guix.texi:4215
  8395. #, no-wrap
  8396. msgid "--derivers"
  8397. msgstr ""
  8398. #. type: item
  8399. #: guix-git/doc/guix.texi:4216 guix-git/doc/guix.texi:6394
  8400. #: guix-git/doc/guix.texi:12122 guix-git/doc/guix.texi:12512
  8401. #, no-wrap
  8402. msgid "derivation"
  8403. msgstr ""
  8404. #. type: table
  8405. #: guix-git/doc/guix.texi:4219
  8406. msgid "Return the derivation(s) leading to the given store items (@pxref{Derivations})."
  8407. msgstr ""
  8408. #. type: table
  8409. #: guix-git/doc/guix.texi:4221
  8410. msgid "For example, this command:"
  8411. msgstr ""
  8412. #. type: example
  8413. #: guix-git/doc/guix.texi:4224
  8414. #, no-wrap
  8415. msgid "guix gc --derivers $(guix package -I ^emacs$ | cut -f4)\n"
  8416. msgstr ""
  8417. #. type: table
  8418. #: guix-git/doc/guix.texi:4229
  8419. msgid "returns the @file{.drv} file(s) leading to the @code{emacs} package installed in your profile."
  8420. msgstr ""
  8421. #. type: table
  8422. #: guix-git/doc/guix.texi:4233
  8423. 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."
  8424. msgstr ""
  8425. #. type: Plain text
  8426. #: guix-git/doc/guix.texi:4237
  8427. msgid "Lastly, the following options allow you to check the integrity of the store and to control disk usage."
  8428. msgstr ""
  8429. #. type: item
  8430. #: guix-git/doc/guix.texi:4240
  8431. #, no-wrap
  8432. msgid "--verify[=@var{options}]"
  8433. msgstr ""
  8434. #. type: cindex
  8435. #: guix-git/doc/guix.texi:4241
  8436. #, no-wrap
  8437. msgid "integrity, of the store"
  8438. msgstr ""
  8439. #. type: cindex
  8440. #: guix-git/doc/guix.texi:4242
  8441. #, no-wrap
  8442. msgid "integrity checking"
  8443. msgstr ""
  8444. #. type: table
  8445. #: guix-git/doc/guix.texi:4244
  8446. msgid "Verify the integrity of the store."
  8447. msgstr ""
  8448. #. type: table
  8449. #: guix-git/doc/guix.texi:4247
  8450. 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}."
  8451. msgstr ""
  8452. #. type: table
  8453. #: guix-git/doc/guix.texi:4250
  8454. msgid "When provided, @var{options} must be a comma-separated list containing one or more of @code{contents} and @code{repair}."
  8455. msgstr ""
  8456. #. type: table
  8457. #: guix-git/doc/guix.texi:4256
  8458. 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."
  8459. msgstr ""
  8460. #. type: cindex
  8461. #: guix-git/doc/guix.texi:4257
  8462. #, no-wrap
  8463. msgid "repairing the store"
  8464. msgstr ""
  8465. #. type: cindex
  8466. #: guix-git/doc/guix.texi:4258 guix-git/doc/guix.texi:10926
  8467. #, no-wrap
  8468. msgid "corruption, recovering from"
  8469. msgstr ""
  8470. #. type: table
  8471. #: guix-git/doc/guix.texi:4266
  8472. 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})."
  8473. msgstr ""
  8474. #. type: item
  8475. #: guix-git/doc/guix.texi:4267
  8476. #, no-wrap
  8477. msgid "--optimize"
  8478. msgstr ""
  8479. #. type: table
  8480. #: guix-git/doc/guix.texi:4271
  8481. msgid "Optimize the store by hard-linking identical files---this is @dfn{deduplication}."
  8482. msgstr ""
  8483. #. type: table
  8484. #: guix-git/doc/guix.texi:4277
  8485. 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}."
  8486. msgstr ""
  8487. #. type: section
  8488. #: guix-git/doc/guix.texi:4281
  8489. #, no-wrap
  8490. msgid "Invoking @command{guix pull}"
  8491. msgstr ""
  8492. #. type: cindex
  8493. #: guix-git/doc/guix.texi:4283
  8494. #, no-wrap
  8495. msgid "upgrading Guix"
  8496. msgstr ""
  8497. #. type: cindex
  8498. #: guix-git/doc/guix.texi:4284
  8499. #, no-wrap
  8500. msgid "updating Guix"
  8501. msgstr ""
  8502. #. type: command{#1}
  8503. #: guix-git/doc/guix.texi:4285
  8504. #, no-wrap
  8505. msgid "guix pull"
  8506. msgstr ""
  8507. #. type: cindex
  8508. #: guix-git/doc/guix.texi:4286
  8509. #, no-wrap
  8510. msgid "pull"
  8511. msgstr ""
  8512. #. type: cindex
  8513. #: guix-git/doc/guix.texi:4287
  8514. #, no-wrap
  8515. msgid "security, @command{guix pull}"
  8516. msgstr ""
  8517. #. type: cindex
  8518. #: guix-git/doc/guix.texi:4288
  8519. #, no-wrap
  8520. msgid "authenticity, of code obtained with @command{guix pull}"
  8521. msgstr ""
  8522. #. type: Plain text
  8523. #: guix-git/doc/guix.texi:4298
  8524. 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."
  8525. msgstr ""
  8526. #. type: Plain text
  8527. #: guix-git/doc/guix.texi:4301
  8528. msgid "Specifically, @command{guix pull} downloads code from the @dfn{channels} (@pxref{Channels}) specified by one of the followings, in this order:"
  8529. msgstr ""
  8530. #. type: enumerate
  8531. #: guix-git/doc/guix.texi:4305
  8532. msgid "the @option{--channels} option;"
  8533. msgstr ""
  8534. #. type: enumerate
  8535. #: guix-git/doc/guix.texi:4307
  8536. msgid "the user's @file{~/.config/guix/channels.scm} file;"
  8537. msgstr ""
  8538. #. type: enumerate
  8539. #: guix-git/doc/guix.texi:4309
  8540. msgid "the system-wide @file{/etc/guix/channels.scm} file;"
  8541. msgstr ""
  8542. #. type: enumerate
  8543. #: guix-git/doc/guix.texi:4312
  8544. msgid "the built-in default channels specified in the @code{%default-channels} variable."
  8545. msgstr ""
  8546. #. type: Plain text
  8547. #: guix-git/doc/guix.texi:4319
  8548. 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."
  8549. msgstr ""
  8550. #. type: Plain text
  8551. #: guix-git/doc/guix.texi:4325
  8552. 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."
  8553. msgstr ""
  8554. #. type: Plain text
  8555. #: guix-git/doc/guix.texi:4331
  8556. 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}):"
  8557. msgstr ""
  8558. #. type: example
  8559. #: guix-git/doc/guix.texi:4335
  8560. #, no-wrap
  8561. msgid ""
  8562. "export PATH=\"$HOME/.config/guix/current/bin:$PATH\"\n"
  8563. "export INFOPATH=\"$HOME/.config/guix/current/share/info:$INFOPATH\"\n"
  8564. msgstr ""
  8565. #. type: Plain text
  8566. #: guix-git/doc/guix.texi:4339
  8567. msgid "The @option{--list-generations} or @option{-l} option lists past generations produced by @command{guix pull}, along with details about their provenance:"
  8568. msgstr ""
  8569. #. type: example
  8570. #: guix-git/doc/guix.texi:4347
  8571. #, no-wrap
  8572. msgid ""
  8573. "$ guix pull -l\n"
  8574. "Generation 1\tJun 10 2018 00:18:18\n"
  8575. " guix 65956ad\n"
  8576. " repository URL: https://git.savannah.gnu.org/git/guix.git\n"
  8577. " branch: origin/master\n"
  8578. " commit: 65956ad3526ba09e1f7a40722c96c6ef7c0936fe\n"
  8579. "\n"
  8580. msgstr ""
  8581. #. type: example
  8582. #: guix-git/doc/guix.texi:4357
  8583. #, no-wrap
  8584. msgid ""
  8585. "Generation 2\tJun 11 2018 11:02:49\n"
  8586. " guix e0cc7f6\n"
  8587. " repository URL: https://git.savannah.gnu.org/git/guix.git\n"
  8588. " branch: origin/master\n"
  8589. " commit: e0cc7f669bec22c37481dd03a7941c7d11a64f1d\n"
  8590. " 2 new packages: keepalived, libnfnetlink\n"
  8591. " 6 packages upgraded: emacs-nix-mode@@2.0.4,\n"
  8592. " guile2.0-guix@@0.14.0-12.77a1aac, guix@@0.14.0-12.77a1aac,\n"
  8593. " heimdal@@7.5.0, milkytracker@@1.02.00, nix@@2.0.4\n"
  8594. "\n"
  8595. msgstr ""
  8596. #. type: example
  8597. #: guix-git/doc/guix.texi:4365
  8598. #, no-wrap
  8599. msgid ""
  8600. "Generation 3\tJun 13 2018 23:31:07\t(current)\n"
  8601. " guix 844cc1c\n"
  8602. " repository URL: https://git.savannah.gnu.org/git/guix.git\n"
  8603. " branch: origin/master\n"
  8604. " commit: 844cc1c8f394f03b404c5bb3aee086922373490c\n"
  8605. " 28 new packages: emacs-helm-ls-git, emacs-helm-mu, @dots{}\n"
  8606. " 69 packages upgraded: borg@@1.1.6, cheese@@3.28.0, @dots{}\n"
  8607. msgstr ""
  8608. #. type: Plain text
  8609. #: guix-git/doc/guix.texi:4369
  8610. msgid "@xref{Invoking guix describe, @command{guix describe}}, for other ways to describe the current status of Guix."
  8611. msgstr ""
  8612. #. type: Plain text
  8613. #: guix-git/doc/guix.texi:4374
  8614. 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:"
  8615. msgstr ""
  8616. #. type: example
  8617. #: guix-git/doc/guix.texi:4380
  8618. #, no-wrap
  8619. msgid ""
  8620. "$ guix pull --roll-back\n"
  8621. "switched from generation 3 to 2\n"
  8622. "$ guix pull --delete-generations=1\n"
  8623. "deleting /var/guix/profiles/per-user/charlie/current-guix-1-link\n"
  8624. msgstr ""
  8625. #. type: Plain text
  8626. #: guix-git/doc/guix.texi:4384
  8627. msgid "You can also use @command{guix package} (@pxref{Invoking guix package}) to manage the profile by naming it explicitly:"
  8628. msgstr ""
  8629. #. type: example
  8630. #: guix-git/doc/guix.texi:4389
  8631. #, no-wrap
  8632. msgid ""
  8633. "$ guix package -p ~/.config/guix/current --roll-back\n"
  8634. "switched from generation 3 to 2\n"
  8635. "$ guix package -p ~/.config/guix/current --delete-generations=1\n"
  8636. "deleting /var/guix/profiles/per-user/charlie/current-guix-1-link\n"
  8637. msgstr ""
  8638. #. type: Plain text
  8639. #: guix-git/doc/guix.texi:4393
  8640. msgid "The @command{guix pull} command is usually invoked with no arguments, but it supports the following options:"
  8641. msgstr ""
  8642. #. type: item
  8643. #: guix-git/doc/guix.texi:4395 guix-git/doc/guix.texi:4553
  8644. #, no-wrap
  8645. msgid "--url=@var{url}"
  8646. msgstr ""
  8647. #. type: itemx
  8648. #: guix-git/doc/guix.texi:4396 guix-git/doc/guix.texi:4554
  8649. #, no-wrap
  8650. msgid "--commit=@var{commit}"
  8651. msgstr ""
  8652. #. type: itemx
  8653. #: guix-git/doc/guix.texi:4397 guix-git/doc/guix.texi:4555
  8654. #, no-wrap
  8655. msgid "--branch=@var{branch}"
  8656. msgstr ""
  8657. #. type: table
  8658. #: guix-git/doc/guix.texi:4401
  8659. 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}."
  8660. msgstr ""
  8661. #. type: cindex
  8662. #: guix-git/doc/guix.texi:4402 guix-git/doc/guix.texi:4999
  8663. #, no-wrap
  8664. msgid "@file{channels.scm}, configuration file"
  8665. msgstr ""
  8666. #. type: cindex
  8667. #: guix-git/doc/guix.texi:4403 guix-git/doc/guix.texi:5000
  8668. #, no-wrap
  8669. msgid "configuration file for channels"
  8670. msgstr ""
  8671. #. type: table
  8672. #: guix-git/doc/guix.texi:4407
  8673. 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)."
  8674. msgstr ""
  8675. #. type: item
  8676. #: guix-git/doc/guix.texi:4408 guix-git/doc/guix.texi:4560
  8677. #, no-wrap
  8678. msgid "--channels=@var{file}"
  8679. msgstr ""
  8680. #. type: itemx
  8681. #: guix-git/doc/guix.texi:4409 guix-git/doc/guix.texi:4561
  8682. #, no-wrap
  8683. msgid "-C @var{file}"
  8684. msgstr ""
  8685. #. type: table
  8686. #: guix-git/doc/guix.texi:4415
  8687. 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."
  8688. msgstr ""
  8689. #. type: cindex
  8690. #: guix-git/doc/guix.texi:4416
  8691. #, no-wrap
  8692. msgid "channel news"
  8693. msgstr ""
  8694. #. type: item
  8695. #: guix-git/doc/guix.texi:4417
  8696. #, no-wrap
  8697. msgid "--news"
  8698. msgstr ""
  8699. #. type: itemx
  8700. #: guix-git/doc/guix.texi:4418 guix-git/doc/guix.texi:5826
  8701. #: guix-git/doc/guix.texi:33896
  8702. #, no-wrap
  8703. msgid "-N"
  8704. msgstr ""
  8705. #. type: table
  8706. #: guix-git/doc/guix.texi:4422
  8707. 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})."
  8708. msgstr ""
  8709. #. type: table
  8710. #: guix-git/doc/guix.texi:4426
  8711. 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)."
  8712. msgstr ""
  8713. #. type: table
  8714. #: guix-git/doc/guix.texi:4433
  8715. 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})."
  8716. msgstr ""
  8717. #. type: table
  8718. #: guix-git/doc/guix.texi:4440
  8719. msgid "Roll back to the previous @dfn{generation} of @file{~/.config/guix/current}---i.e., undo the last transaction."
  8720. msgstr ""
  8721. #. type: table
  8722. #: guix-git/doc/guix.texi:4464
  8723. msgid "If the current generation matches, it is @emph{not} deleted."
  8724. msgstr ""
  8725. #. type: table
  8726. #: guix-git/doc/guix.texi:4470
  8727. msgid "@xref{Invoking guix describe}, for a way to display information about the current generation only."
  8728. msgstr ""
  8729. #. type: table
  8730. #: guix-git/doc/guix.texi:4474
  8731. msgid "Use @var{profile} instead of @file{~/.config/guix/current}."
  8732. msgstr ""
  8733. #. type: item
  8734. #: guix-git/doc/guix.texi:4475 guix-git/doc/guix.texi:10317
  8735. #, no-wrap
  8736. msgid "--dry-run"
  8737. msgstr ""
  8738. #. type: itemx
  8739. #: guix-git/doc/guix.texi:4476 guix-git/doc/guix.texi:10318
  8740. #: guix-git/doc/guix.texi:12241
  8741. #, no-wrap
  8742. msgid "-n"
  8743. msgstr ""
  8744. #. type: table
  8745. #: guix-git/doc/guix.texi:4479
  8746. msgid "Show which channel commit(s) would be used and what would be built or substituted but do not actually do it."
  8747. msgstr ""
  8748. #. type: item
  8749. #: guix-git/doc/guix.texi:4480 guix-git/doc/guix.texi:33915
  8750. #, no-wrap
  8751. msgid "--allow-downgrades"
  8752. msgstr ""
  8753. #. type: table
  8754. #: guix-git/doc/guix.texi:4483
  8755. msgid "Allow pulling older or unrelated revisions of channels than those currently in use."
  8756. msgstr ""
  8757. #. type: cindex
  8758. #: guix-git/doc/guix.texi:4484
  8759. #, no-wrap
  8760. msgid "downgrade attacks, protection against"
  8761. msgstr ""
  8762. #. type: table
  8763. #: guix-git/doc/guix.texi:4489
  8764. 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."
  8765. msgstr ""
  8766. #. type: quotation
  8767. #: guix-git/doc/guix.texi:4493 guix-git/doc/guix.texi:33929
  8768. msgid "Make sure you understand its security implications before using @option{--allow-downgrades}."
  8769. msgstr ""
  8770. #. type: item
  8771. #: guix-git/doc/guix.texi:4495
  8772. #, no-wrap
  8773. msgid "--disable-authentication"
  8774. msgstr ""
  8775. #. type: table
  8776. #: guix-git/doc/guix.texi:4497
  8777. msgid "Allow pulling channel code without authenticating it."
  8778. msgstr ""
  8779. #. type: cindex
  8780. #: guix-git/doc/guix.texi:4498 guix-git/doc/guix.texi:5145
  8781. #, no-wrap
  8782. msgid "authentication, of channel code"
  8783. msgstr ""
  8784. #. type: table
  8785. #: guix-git/doc/guix.texi:4503
  8786. 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."
  8787. msgstr ""
  8788. #. type: quotation
  8789. #: guix-git/doc/guix.texi:4507
  8790. msgid "Make sure you understand its security implications before using @option{--disable-authentication}."
  8791. msgstr ""
  8792. #. type: itemx
  8793. #: guix-git/doc/guix.texi:4510 guix-git/doc/guix.texi:5809
  8794. #: guix-git/doc/guix.texi:6209 guix-git/doc/guix.texi:10868
  8795. #: guix-git/doc/guix.texi:12386 guix-git/doc/guix.texi:12637
  8796. #: guix-git/doc/guix.texi:13314 guix-git/doc/guix.texi:33844
  8797. #, no-wrap
  8798. msgid "-s @var{system}"
  8799. msgstr ""
  8800. #. type: table
  8801. #: guix-git/doc/guix.texi:4513 guix-git/doc/guix.texi:6212
  8802. msgid "Attempt to build for @var{system}---e.g., @code{i686-linux}---instead of the system type of the build host."
  8803. msgstr ""
  8804. #. type: table
  8805. #: guix-git/doc/guix.texi:4517
  8806. msgid "Use the bootstrap Guile to build the latest Guix. This option is only useful to Guix developers."
  8807. msgstr ""
  8808. #. type: Plain text
  8809. #: guix-git/doc/guix.texi:4523
  8810. 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."
  8811. msgstr ""
  8812. #. type: Plain text
  8813. #: guix-git/doc/guix.texi:4526
  8814. msgid "In addition, @command{guix pull} supports all the common build options (@pxref{Common Build Options})."
  8815. msgstr ""
  8816. #. type: section
  8817. #: guix-git/doc/guix.texi:4528
  8818. #, no-wrap
  8819. msgid "Invoking @command{guix time-machine}"
  8820. msgstr ""
  8821. #. type: command{#1}
  8822. #: guix-git/doc/guix.texi:4530
  8823. #, no-wrap
  8824. msgid "guix time-machine"
  8825. msgstr ""
  8826. #. type: cindex
  8827. #: guix-git/doc/guix.texi:4531 guix-git/doc/guix.texi:5103
  8828. #, no-wrap
  8829. msgid "pinning, channels"
  8830. msgstr ""
  8831. #. type: cindex
  8832. #: guix-git/doc/guix.texi:4532 guix-git/doc/guix.texi:4714
  8833. #: guix-git/doc/guix.texi:5104
  8834. #, no-wrap
  8835. msgid "replicating Guix"
  8836. msgstr ""
  8837. #. type: cindex
  8838. #: guix-git/doc/guix.texi:4533 guix-git/doc/guix.texi:5105
  8839. #, no-wrap
  8840. msgid "reproducibility, of Guix"
  8841. msgstr ""
  8842. #. type: Plain text
  8843. #: guix-git/doc/guix.texi:4541
  8844. 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})."
  8845. msgstr ""
  8846. #. type: Plain text
  8847. #: guix-git/doc/guix.texi:4543 guix-git/doc/guix.texi:5558
  8848. #: guix-git/doc/guix.texi:6332 guix-git/doc/guix.texi:10114
  8849. #: guix-git/doc/guix.texi:10237 guix-git/doc/guix.texi:11159
  8850. #: guix-git/doc/guix.texi:11236 guix-git/doc/guix.texi:12216
  8851. #: guix-git/doc/guix.texi:12695 guix-git/doc/guix.texi:13068
  8852. #: guix-git/doc/guix.texi:13157 guix-git/doc/guix.texi:13196
  8853. #: guix-git/doc/guix.texi:13293
  8854. msgid "The general syntax is:"
  8855. msgstr ""
  8856. #. type: example
  8857. #: guix-git/doc/guix.texi:4546
  8858. #, no-wrap
  8859. msgid "guix time-machine @var{options}@dots{} -- @var{command} @var {arg}@dots{}\n"
  8860. msgstr ""
  8861. #. type: Plain text
  8862. #: guix-git/doc/guix.texi:4551
  8863. 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}):"
  8864. msgstr ""
  8865. #. type: table
  8866. #: guix-git/doc/guix.texi:4559
  8867. 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}."
  8868. msgstr ""
  8869. #. type: table
  8870. #: guix-git/doc/guix.texi:4565
  8871. 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."
  8872. msgstr ""
  8873. #. type: Plain text
  8874. #: guix-git/doc/guix.texi:4569
  8875. 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"
  8876. msgstr ""
  8877. #. type: example
  8878. #: guix-git/doc/guix.texi:4572
  8879. #, no-wrap
  8880. msgid "guix time-machine -- build hello\n"
  8881. msgstr ""
  8882. #. type: Plain text
  8883. #: guix-git/doc/guix.texi:4577
  8884. 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!"
  8885. msgstr ""
  8886. #. type: Plain text
  8887. #: guix-git/doc/guix.texi:4581
  8888. 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})."
  8889. msgstr ""
  8890. #. type: quotation
  8891. #: guix-git/doc/guix.texi:4589
  8892. msgid "The functionality described here is a ``technology preview'' as of version @value{VERSION}. As such, the interface is subject to change."
  8893. msgstr ""
  8894. #. type: cindex
  8895. #: guix-git/doc/guix.texi:4591 guix-git/doc/guix.texi:10151
  8896. #, no-wrap
  8897. msgid "inferiors"
  8898. msgstr ""
  8899. #. type: cindex
  8900. #: guix-git/doc/guix.texi:4592
  8901. #, no-wrap
  8902. msgid "composition of Guix revisions"
  8903. msgstr ""
  8904. #. type: Plain text
  8905. #: guix-git/doc/guix.texi:4597
  8906. 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."
  8907. msgstr ""
  8908. #. type: cindex
  8909. #: guix-git/doc/guix.texi:4598 guix-git/doc/guix.texi:4663
  8910. #, no-wrap
  8911. msgid "inferior packages"
  8912. msgstr ""
  8913. #. type: Plain text
  8914. #: guix-git/doc/guix.texi:4604
  8915. 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}."
  8916. msgstr ""
  8917. #. type: Plain text
  8918. #: guix-git/doc/guix.texi:4614
  8919. 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:"
  8920. msgstr ""
  8921. #. type: lisp
  8922. #: guix-git/doc/guix.texi:4618
  8923. #, no-wrap
  8924. msgid ""
  8925. "(use-modules (guix inferior) (guix channels)\n"
  8926. " (srfi srfi-1)) ;for 'first'\n"
  8927. "\n"
  8928. msgstr ""
  8929. #. type: lisp
  8930. #: guix-git/doc/guix.texi:4627
  8931. #, no-wrap
  8932. msgid ""
  8933. "(define channels\n"
  8934. " ;; This is the old revision from which we want to\n"
  8935. " ;; extract guile-json.\n"
  8936. " (list (channel\n"
  8937. " (name 'guix)\n"
  8938. " (url \"https://git.savannah.gnu.org/git/guix.git\")\n"
  8939. " (commit\n"
  8940. " \"65956ad3526ba09e1f7a40722c96c6ef7c0936fe\"))))\n"
  8941. "\n"
  8942. msgstr ""
  8943. #. type: lisp
  8944. #: guix-git/doc/guix.texi:4631
  8945. #, no-wrap
  8946. msgid ""
  8947. "(define inferior\n"
  8948. " ;; An inferior representing the above revision.\n"
  8949. " (inferior-for-channels channels))\n"
  8950. "\n"
  8951. msgstr ""
  8952. #. type: lisp
  8953. #: guix-git/doc/guix.texi:4637
  8954. #, no-wrap
  8955. msgid ""
  8956. ";; Now create a manifest with the current \"guile\" package\n"
  8957. ";; and the old \"guile-json\" package.\n"
  8958. "(packages->manifest\n"
  8959. " (list (first (lookup-inferior-packages inferior \"guile-json\"))\n"
  8960. " (specification->package \"guile\")))\n"
  8961. msgstr ""
  8962. #. type: Plain text
  8963. #: guix-git/doc/guix.texi:4642
  8964. 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."
  8965. msgstr ""
  8966. #. type: Plain text
  8967. #: guix-git/doc/guix.texi:4645
  8968. msgid "The @code{(guix inferior)} module provides the following procedures to open an inferior:"
  8969. msgstr ""
  8970. #. type: deffn
  8971. #: guix-git/doc/guix.texi:4646
  8972. #, no-wrap
  8973. msgid "{Scheme Procedure} inferior-for-channels @var{channels} @"
  8974. msgstr ""
  8975. #. type: deffn
  8976. #: guix-git/doc/guix.texi:4651
  8977. 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."
  8978. msgstr ""
  8979. #. type: deffn
  8980. #: guix-git/doc/guix.texi:4654
  8981. msgid "As a side effect, this procedure may build or substitute binaries for @var{channels}, which can take time."
  8982. msgstr ""
  8983. #. type: deffn
  8984. #: guix-git/doc/guix.texi:4656
  8985. #, no-wrap
  8986. msgid "{Scheme Procedure} open-inferior @var{directory} @"
  8987. msgstr ""
  8988. #. type: deffn
  8989. #: guix-git/doc/guix.texi:4661
  8990. 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."
  8991. msgstr ""
  8992. #. type: Plain text
  8993. #: guix-git/doc/guix.texi:4666
  8994. msgid "The procedures listed below allow you to obtain and manipulate inferior packages."
  8995. msgstr ""
  8996. #. type: deffn
  8997. #: guix-git/doc/guix.texi:4667
  8998. #, no-wrap
  8999. msgid "{Scheme Procedure} inferior-packages @var{inferior}"
  9000. msgstr ""
  9001. #. type: deffn
  9002. #: guix-git/doc/guix.texi:4669
  9003. msgid "Return the list of packages known to @var{inferior}."
  9004. msgstr ""
  9005. #. type: deffn
  9006. #: guix-git/doc/guix.texi:4671
  9007. #, no-wrap
  9008. msgid "{Scheme Procedure} lookup-inferior-packages @var{inferior} @var{name} @"
  9009. msgstr ""
  9010. #. type: deffn
  9011. #: guix-git/doc/guix.texi:4676
  9012. 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}."
  9013. msgstr ""
  9014. #. type: deffn
  9015. #: guix-git/doc/guix.texi:4678
  9016. #, no-wrap
  9017. msgid "{Scheme Procedure} inferior-package? @var{obj}"
  9018. msgstr ""
  9019. #. type: deffn
  9020. #: guix-git/doc/guix.texi:4680
  9021. msgid "Return true if @var{obj} is an inferior package."
  9022. msgstr ""
  9023. #. type: deffn
  9024. #: guix-git/doc/guix.texi:4682
  9025. #, no-wrap
  9026. msgid "{Scheme Procedure} inferior-package-name @var{package}"
  9027. msgstr ""
  9028. #. type: deffnx
  9029. #: guix-git/doc/guix.texi:4683
  9030. #, no-wrap
  9031. msgid "{Scheme Procedure} inferior-package-version @var{package}"
  9032. msgstr ""
  9033. #. type: deffnx
  9034. #: guix-git/doc/guix.texi:4684
  9035. #, no-wrap
  9036. msgid "{Scheme Procedure} inferior-package-synopsis @var{package}"
  9037. msgstr ""
  9038. #. type: deffnx
  9039. #: guix-git/doc/guix.texi:4685
  9040. #, no-wrap
  9041. msgid "{Scheme Procedure} inferior-package-description @var{package}"
  9042. msgstr ""
  9043. #. type: deffnx
  9044. #: guix-git/doc/guix.texi:4686
  9045. #, no-wrap
  9046. msgid "{Scheme Procedure} inferior-package-home-page @var{package}"
  9047. msgstr ""
  9048. #. type: deffnx
  9049. #: guix-git/doc/guix.texi:4687
  9050. #, no-wrap
  9051. msgid "{Scheme Procedure} inferior-package-location @var{package}"
  9052. msgstr ""
  9053. #. type: deffnx
  9054. #: guix-git/doc/guix.texi:4688
  9055. #, no-wrap
  9056. msgid "{Scheme Procedure} inferior-package-inputs @var{package}"
  9057. msgstr ""
  9058. #. type: deffnx
  9059. #: guix-git/doc/guix.texi:4689
  9060. #, no-wrap
  9061. msgid "{Scheme Procedure} inferior-package-native-inputs @var{package}"
  9062. msgstr ""
  9063. #. type: deffnx
  9064. #: guix-git/doc/guix.texi:4690
  9065. #, no-wrap
  9066. msgid "{Scheme Procedure} inferior-package-propagated-inputs @var{package}"
  9067. msgstr ""
  9068. #. type: deffnx
  9069. #: guix-git/doc/guix.texi:4691
  9070. #, no-wrap
  9071. msgid "{Scheme Procedure} inferior-package-transitive-propagated-inputs @var{package}"
  9072. msgstr ""
  9073. #. type: deffnx
  9074. #: guix-git/doc/guix.texi:4692
  9075. #, no-wrap
  9076. msgid "{Scheme Procedure} inferior-package-native-search-paths @var{package}"
  9077. msgstr ""
  9078. #. type: deffnx
  9079. #: guix-git/doc/guix.texi:4693
  9080. #, no-wrap
  9081. msgid "{Scheme Procedure} inferior-package-transitive-native-search-paths @var{package}"
  9082. msgstr ""
  9083. #. type: deffnx
  9084. #: guix-git/doc/guix.texi:4694
  9085. #, no-wrap
  9086. msgid "{Scheme Procedure} inferior-package-search-paths @var{package}"
  9087. msgstr ""
  9088. #. type: deffn
  9089. #: guix-git/doc/guix.texi:4699
  9090. 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."
  9091. msgstr ""
  9092. #. type: Plain text
  9093. #: guix-git/doc/guix.texi:4709
  9094. 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."
  9095. msgstr ""
  9096. #. type: section
  9097. #: guix-git/doc/guix.texi:4711
  9098. #, no-wrap
  9099. msgid "Invoking @command{guix describe}"
  9100. msgstr ""
  9101. #. type: Plain text
  9102. #: guix-git/doc/guix.texi:4722
  9103. 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."
  9104. msgstr ""
  9105. #. type: Plain text
  9106. #: guix-git/doc/guix.texi:4726
  9107. 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}):"
  9108. msgstr ""
  9109. #. type: example
  9110. #: guix-git/doc/guix.texi:4734
  9111. #, no-wrap
  9112. msgid ""
  9113. "$ guix describe\n"
  9114. "Generation 10\tSep 03 2018 17:32:44\t(current)\n"
  9115. " guix e0fa68c\n"
  9116. " repository URL: https://git.savannah.gnu.org/git/guix.git\n"
  9117. " branch: master\n"
  9118. " commit: e0fa68c7718fffd33d81af415279d6ddb518f727\n"
  9119. msgstr ""
  9120. #. type: Plain text
  9121. #: guix-git/doc/guix.texi:4743
  9122. 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."
  9123. msgstr ""
  9124. #. type: Plain text
  9125. #: guix-git/doc/guix.texi:4746
  9126. 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:"
  9127. msgstr ""
  9128. #. type: example
  9129. #: guix-git/doc/guix.texi:4759
  9130. #, no-wrap
  9131. msgid ""
  9132. "$ guix describe -f channels\n"
  9133. "(list (channel\n"
  9134. " (name 'guix)\n"
  9135. " (url \"https://git.savannah.gnu.org/git/guix.git\")\n"
  9136. " (commit\n"
  9137. " \"e0fa68c7718fffd33d81af415279d6ddb518f727\")\n"
  9138. " (introduction\n"
  9139. " (make-channel-introduction\n"
  9140. " \"9edb3f66fd807b096b48283debdcddccfea34bad\"\n"
  9141. " (openpgp-fingerprint\n"
  9142. " \"BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA\")))))\n"
  9143. msgstr ""
  9144. #. type: Plain text
  9145. #: guix-git/doc/guix.texi:4768
  9146. 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!"
  9147. msgstr ""
  9148. #. type: Plain text
  9149. #: guix-git/doc/guix.texi:4771
  9150. msgid "The details of the options supported by @command{guix describe} are as follows:"
  9151. msgstr ""
  9152. #. type: item
  9153. #: guix-git/doc/guix.texi:4773 guix-git/doc/guix.texi:6010
  9154. #: guix-git/doc/guix.texi:13426
  9155. #, no-wrap
  9156. msgid "--format=@var{format}"
  9157. msgstr ""
  9158. #. type: itemx
  9159. #: guix-git/doc/guix.texi:4774 guix-git/doc/guix.texi:6011
  9160. #: guix-git/doc/guix.texi:13427
  9161. #, no-wrap
  9162. msgid "-f @var{format}"
  9163. msgstr ""
  9164. #. type: table
  9165. #: guix-git/doc/guix.texi:4776 guix-git/doc/guix.texi:13429
  9166. msgid "Produce output in the specified @var{format}, one of:"
  9167. msgstr ""
  9168. #. type: item
  9169. #: guix-git/doc/guix.texi:4778
  9170. #, no-wrap
  9171. msgid "human"
  9172. msgstr ""
  9173. #. type: table
  9174. #: guix-git/doc/guix.texi:4780
  9175. msgid "produce human-readable output;"
  9176. msgstr ""
  9177. #. type: cindex
  9178. #: guix-git/doc/guix.texi:4780 guix-git/doc/guix.texi:4998
  9179. #, no-wrap
  9180. msgid "channels"
  9181. msgstr ""
  9182. #. type: table
  9183. #: guix-git/doc/guix.texi:4784
  9184. 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});"
  9185. msgstr ""
  9186. #. type: item
  9187. #: guix-git/doc/guix.texi:4784
  9188. #, no-wrap
  9189. msgid "channels-sans-intro"
  9190. msgstr ""
  9191. #. type: table
  9192. #: guix-git/doc/guix.texi:4790
  9193. 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;"
  9194. msgstr ""
  9195. #. type: item
  9196. #: guix-git/doc/guix.texi:4790 guix-git/doc/guix.texi:11454
  9197. #, no-wrap
  9198. msgid "json"
  9199. msgstr ""
  9200. #. type: cindex
  9201. #: guix-git/doc/guix.texi:4791
  9202. #, no-wrap
  9203. msgid "JSON"
  9204. msgstr ""
  9205. #. type: table
  9206. #: guix-git/doc/guix.texi:4793
  9207. msgid "produce a list of channel specifications in JSON format;"
  9208. msgstr ""
  9209. #. type: item
  9210. #: guix-git/doc/guix.texi:4793 guix-git/doc/guix.texi:13431
  9211. #, no-wrap
  9212. msgid "recutils"
  9213. msgstr ""
  9214. #. type: table
  9215. #: guix-git/doc/guix.texi:4795
  9216. msgid "produce a list of channel specifications in Recutils format."
  9217. msgstr ""
  9218. #. type: item
  9219. #: guix-git/doc/guix.texi:4797
  9220. #, no-wrap
  9221. msgid "--list-formats"
  9222. msgstr ""
  9223. #. type: table
  9224. #: guix-git/doc/guix.texi:4799
  9225. msgid "Display available formats for @option{--format} option."
  9226. msgstr ""
  9227. #. type: table
  9228. #: guix-git/doc/guix.texi:4803
  9229. msgid "Display information about @var{profile}."
  9230. msgstr ""
  9231. #. type: section
  9232. #: guix-git/doc/guix.texi:4806
  9233. #, no-wrap
  9234. msgid "Invoking @command{guix archive}"
  9235. msgstr ""
  9236. #. type: command{#1}
  9237. #: guix-git/doc/guix.texi:4808
  9238. #, no-wrap
  9239. msgid "guix archive"
  9240. msgstr ""
  9241. #. type: cindex
  9242. #: guix-git/doc/guix.texi:4809
  9243. #, no-wrap
  9244. msgid "archive"
  9245. msgstr "archív"
  9246. #. type: Plain text
  9247. #: guix-git/doc/guix.texi:4815
  9248. 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."
  9249. msgstr ""
  9250. #. type: quotation
  9251. #: guix-git/doc/guix.texi:4819
  9252. msgid "If you're looking for a way to produce archives in a format suitable for tools other than Guix, @pxref{Invoking guix pack}."
  9253. msgstr ""
  9254. #. type: cindex
  9255. #: guix-git/doc/guix.texi:4821
  9256. #, no-wrap
  9257. msgid "exporting store items"
  9258. msgstr ""
  9259. #. type: Plain text
  9260. #: guix-git/doc/guix.texi:4823
  9261. msgid "To export store files as an archive to standard output, run:"
  9262. msgstr ""
  9263. #. type: example
  9264. #: guix-git/doc/guix.texi:4826
  9265. #, no-wrap
  9266. msgid "guix archive --export @var{options} @var{specifications}...\n"
  9267. msgstr ""
  9268. #. type: Plain text
  9269. #: guix-git/doc/guix.texi:4833
  9270. 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}:"
  9271. msgstr ""
  9272. #. type: example
  9273. #: guix-git/doc/guix.texi:4836
  9274. #, no-wrap
  9275. msgid "guix archive --export git:gui /gnu/store/...-emacs-24.3 > great.nar\n"
  9276. msgstr ""
  9277. #. type: Plain text
  9278. #: guix-git/doc/guix.texi:4841
  9279. 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})."
  9280. msgstr ""
  9281. #. type: Plain text
  9282. #: guix-git/doc/guix.texi:4844
  9283. msgid "To transfer the @code{emacs} package to a machine connected over SSH, one would run:"
  9284. msgstr ""
  9285. #. type: example
  9286. #: guix-git/doc/guix.texi:4847
  9287. #, no-wrap
  9288. msgid "guix archive --export -r emacs | ssh the-machine guix archive --import\n"
  9289. msgstr ""
  9290. #. type: Plain text
  9291. #: guix-git/doc/guix.texi:4852
  9292. msgid "Similarly, a complete user profile may be transferred from one machine to another like this:"
  9293. msgstr ""
  9294. #. type: example
  9295. #: guix-git/doc/guix.texi:4856
  9296. #, no-wrap
  9297. msgid ""
  9298. "guix archive --export -r $(readlink -f ~/.guix-profile) | \\\n"
  9299. " ssh the-machine guix archive --import\n"
  9300. msgstr ""
  9301. #. type: Plain text
  9302. #: guix-git/doc/guix.texi:4866
  9303. 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})."
  9304. msgstr ""
  9305. #. type: cindex
  9306. #: guix-git/doc/guix.texi:4867
  9307. #, no-wrap
  9308. msgid "nar, archive format"
  9309. msgstr ""
  9310. #. type: cindex
  9311. #: guix-git/doc/guix.texi:4868
  9312. #, no-wrap
  9313. msgid "normalized archive (nar)"
  9314. msgstr ""
  9315. #. type: cindex
  9316. #: guix-git/doc/guix.texi:4869
  9317. #, no-wrap
  9318. msgid "nar bundle, archive format"
  9319. msgstr ""
  9320. #. type: Plain text
  9321. #: guix-git/doc/guix.texi:4874
  9322. 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}."
  9323. msgstr ""
  9324. #. type: Plain text
  9325. #: guix-git/doc/guix.texi:4884
  9326. 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."
  9327. msgstr ""
  9328. #. type: Plain text
  9329. #: guix-git/doc/guix.texi:4888
  9330. 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."
  9331. msgstr ""
  9332. #. type: Plain text
  9333. #: guix-git/doc/guix.texi:4894
  9334. 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."
  9335. msgstr ""
  9336. #. type: Plain text
  9337. #: guix-git/doc/guix.texi:4896
  9338. msgid "The main options are:"
  9339. msgstr ""
  9340. #. type: item
  9341. #: guix-git/doc/guix.texi:4898
  9342. #, no-wrap
  9343. msgid "--export"
  9344. msgstr ""
  9345. #. type: table
  9346. #: guix-git/doc/guix.texi:4901
  9347. msgid "Export the specified store files or packages (see below). Write the resulting archive to the standard output."
  9348. msgstr ""
  9349. #. type: table
  9350. #: guix-git/doc/guix.texi:4904
  9351. msgid "Dependencies are @emph{not} included in the output, unless @option{--recursive} is passed."
  9352. msgstr ""
  9353. #. type: itemx
  9354. #: guix-git/doc/guix.texi:4905 guix-git/doc/guix.texi:11192
  9355. #: guix-git/doc/guix.texi:11294 guix-git/doc/guix.texi:11319
  9356. #: guix-git/doc/guix.texi:11351 guix-git/doc/guix.texi:11529
  9357. #: guix-git/doc/guix.texi:11570 guix-git/doc/guix.texi:11617
  9358. #: guix-git/doc/guix.texi:11642 guix-git/doc/guix.texi:11658
  9359. #: guix-git/doc/guix.texi:11706 guix-git/doc/guix.texi:11736
  9360. #, no-wrap
  9361. msgid "-r"
  9362. msgstr ""
  9363. #. type: item
  9364. #: guix-git/doc/guix.texi:4906 guix-git/doc/guix.texi:11191
  9365. #: guix-git/doc/guix.texi:11293 guix-git/doc/guix.texi:11318
  9366. #: guix-git/doc/guix.texi:11350 guix-git/doc/guix.texi:11528
  9367. #: guix-git/doc/guix.texi:11569 guix-git/doc/guix.texi:11616
  9368. #: guix-git/doc/guix.texi:11641 guix-git/doc/guix.texi:11657
  9369. #: guix-git/doc/guix.texi:11705 guix-git/doc/guix.texi:11735
  9370. #: guix-git/doc/guix.texi:11784
  9371. #, no-wrap
  9372. msgid "--recursive"
  9373. msgstr ""
  9374. #. type: table
  9375. #: guix-git/doc/guix.texi:4911
  9376. 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."
  9377. msgstr ""
  9378. #. type: item
  9379. #: guix-git/doc/guix.texi:4912
  9380. #, no-wrap
  9381. msgid "--import"
  9382. msgstr ""
  9383. #. type: table
  9384. #: guix-git/doc/guix.texi:4917
  9385. 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)."
  9386. msgstr ""
  9387. #. type: item
  9388. #: guix-git/doc/guix.texi:4918
  9389. #, no-wrap
  9390. msgid "--missing"
  9391. msgstr ""
  9392. #. type: table
  9393. #: guix-git/doc/guix.texi:4922
  9394. 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."
  9395. msgstr ""
  9396. #. type: item
  9397. #: guix-git/doc/guix.texi:4923
  9398. #, no-wrap
  9399. msgid "--generate-key[=@var{parameters}]"
  9400. msgstr ""
  9401. #. type: cindex
  9402. #: guix-git/doc/guix.texi:4924
  9403. #, no-wrap
  9404. msgid "signing, archives"
  9405. msgstr ""
  9406. #. type: table
  9407. #: guix-git/doc/guix.texi:4931
  9408. 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."
  9409. msgstr ""
  9410. #. type: table
  9411. #: guix-git/doc/guix.texi:4941
  9412. 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})."
  9413. msgstr ""
  9414. #. type: item
  9415. #: guix-git/doc/guix.texi:4942
  9416. #, no-wrap
  9417. msgid "--authorize"
  9418. msgstr ""
  9419. #. type: cindex
  9420. #: guix-git/doc/guix.texi:4943
  9421. #, no-wrap
  9422. msgid "authorizing, archives"
  9423. msgstr ""
  9424. #. type: table
  9425. #: guix-git/doc/guix.texi:4947
  9426. 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."
  9427. msgstr ""
  9428. #. type: table
  9429. #: guix-git/doc/guix.texi:4954
  9430. 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)}."
  9431. msgstr ""
  9432. #. type: item
  9433. #: guix-git/doc/guix.texi:4955
  9434. #, no-wrap
  9435. msgid "--extract=@var{directory}"
  9436. msgstr ""
  9437. #. type: itemx
  9438. #: guix-git/doc/guix.texi:4956
  9439. #, no-wrap
  9440. msgid "-x @var{directory}"
  9441. msgstr ""
  9442. #. type: table
  9443. #: guix-git/doc/guix.texi:4960
  9444. 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."
  9445. msgstr ""
  9446. #. type: table
  9447. #: guix-git/doc/guix.texi:4963
  9448. msgid "For example, the following command extracts the substitute for Emacs served by @code{@value{SUBSTITUTE-SERVER-1}} to @file{/tmp/emacs}:"
  9449. msgstr ""
  9450. #. type: example
  9451. #: guix-git/doc/guix.texi:4968
  9452. #, no-wrap
  9453. msgid ""
  9454. "$ wget -O - \\\n"
  9455. " https://@value{SUBSTITUTE-SERVER-1}/nar/gzip/@dots{}-emacs-24.5 \\\n"
  9456. " | gunzip | guix archive -x /tmp/emacs\n"
  9457. msgstr ""
  9458. #. type: table
  9459. #: guix-git/doc/guix.texi:4975
  9460. 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."
  9461. msgstr ""
  9462. #. type: table
  9463. #: guix-git/doc/guix.texi:4979
  9464. msgid "The primary purpose of this operation is to facilitate inspection of archive contents coming from possibly untrusted substitute servers (@pxref{Invoking guix challenge})."
  9465. msgstr ""
  9466. #. type: item
  9467. #: guix-git/doc/guix.texi:4980
  9468. #, no-wrap
  9469. msgid "--list"
  9470. msgstr ""
  9471. #. type: itemx
  9472. #: guix-git/doc/guix.texi:4981 guix-git/doc/guix.texi:11516
  9473. #: guix-git/doc/guix.texi:11563
  9474. #, no-wrap
  9475. msgid "-t"
  9476. msgstr ""
  9477. #. type: table
  9478. #: guix-git/doc/guix.texi:4985
  9479. 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:"
  9480. msgstr ""
  9481. #. type: example
  9482. #: guix-git/doc/guix.texi:4990
  9483. #, no-wrap
  9484. msgid ""
  9485. "$ wget -O - \\\n"
  9486. " https://@value{SUBSTITUTE-SERVER-1}/nar/lzip/@dots{}-emacs-26.3 \\\n"
  9487. " | lzip -d | guix archive -t\n"
  9488. msgstr ""
  9489. #. type: cindex
  9490. #: guix-git/doc/guix.texi:5001
  9491. #, no-wrap
  9492. msgid "@command{guix pull}, configuration file"
  9493. msgstr ""
  9494. #. type: cindex
  9495. #: guix-git/doc/guix.texi:5002
  9496. #, no-wrap
  9497. msgid "configuration of @command{guix pull}"
  9498. msgstr ""
  9499. #. type: Plain text
  9500. #: guix-git/doc/guix.texi:5013
  9501. 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."
  9502. msgstr ""
  9503. #. type: cindex
  9504. #: guix-git/doc/guix.texi:5031
  9505. #, no-wrap
  9506. msgid "extending the package collection (channels)"
  9507. msgstr ""
  9508. #. type: cindex
  9509. #: guix-git/doc/guix.texi:5032
  9510. #, no-wrap
  9511. msgid "variant packages (channels)"
  9512. msgstr ""
  9513. #. type: Plain text
  9514. #: guix-git/doc/guix.texi:5036
  9515. 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):"
  9516. msgstr ""
  9517. #. type: vindex
  9518. #: guix-git/doc/guix.texi:5037
  9519. #, no-wrap
  9520. msgid "%default-channels"
  9521. msgstr ""
  9522. #. type: lisp
  9523. #: guix-git/doc/guix.texi:5044
  9524. #, no-wrap
  9525. msgid ""
  9526. ";; Add variant packages to those Guix provides.\n"
  9527. "(cons (channel\n"
  9528. " (name 'variant-packages)\n"
  9529. " (url \"https://example.org/variant-packages.git\"))\n"
  9530. " %default-channels)\n"
  9531. msgstr ""
  9532. #. type: Plain text
  9533. #: guix-git/doc/guix.texi:5054
  9534. 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:"
  9535. msgstr ""
  9536. #. type: example
  9537. #: guix-git/doc/guix.texi:5069
  9538. #, no-wrap
  9539. msgid ""
  9540. "$ guix pull --list-generations\n"
  9541. "@dots{}\n"
  9542. "Generation 19\tAug 27 2018 16:20:48\n"
  9543. " guix d894ab8\n"
  9544. " repository URL: https://git.savannah.gnu.org/git/guix.git\n"
  9545. " branch: master\n"
  9546. " commit: d894ab8e9bfabcefa6c49d9ba2e834dd5a73a300\n"
  9547. " variant-packages dd3df5e\n"
  9548. " repository URL: https://example.org/variant-packages.git\n"
  9549. " branch: master\n"
  9550. " commit: dd3df5e2c8818760a8fc0bd699e55d3b69fef2bb\n"
  9551. " 11 new packages: variant-gimp, variant-emacs-with-cool-features, @dots{}\n"
  9552. " 4 packages upgraded: emacs-racket-mode@@0.0.2-2.1b78827, @dots{}\n"
  9553. msgstr ""
  9554. #. type: Plain text
  9555. #: guix-git/doc/guix.texi:5077
  9556. 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."
  9557. msgstr ""
  9558. #. type: Plain text
  9559. #: guix-git/doc/guix.texi:5086
  9560. 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:"
  9561. msgstr ""
  9562. #. type: lisp
  9563. #: guix-git/doc/guix.texi:5093
  9564. #, no-wrap
  9565. msgid ""
  9566. ";; Tell 'guix pull' to use another repo.\n"
  9567. "(list (channel\n"
  9568. " (name 'guix)\n"
  9569. " (url \"https://example.org/another-guix.git\")\n"
  9570. " (branch \"super-hacks\")))\n"
  9571. msgstr ""
  9572. #. type: Plain text
  9573. #: guix-git/doc/guix.texi:5099
  9574. 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})."
  9575. msgstr ""
  9576. #. type: Plain text
  9577. #: guix-git/doc/guix.texi:5110
  9578. 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:"
  9579. msgstr ""
  9580. #. type: lisp
  9581. #: guix-git/doc/guix.texi:5121
  9582. #, no-wrap
  9583. msgid ""
  9584. ";; Deploy specific commits of my channels of interest.\n"
  9585. "(list (channel\n"
  9586. " (name 'guix)\n"
  9587. " (url \"https://git.savannah.gnu.org/git/guix.git\")\n"
  9588. " (commit \"6298c3ffd9654d3231a6f25390b056483e8f407c\"))\n"
  9589. " (channel\n"
  9590. " (name 'variant-packages)\n"
  9591. " (url \"https://example.org/variant-packages.git\")\n"
  9592. " (commit \"dd3df5e2c8818760a8fc0bd699e55d3b69fef2bb\")))\n"
  9593. msgstr ""
  9594. #. type: Plain text
  9595. #: guix-git/doc/guix.texi:5128
  9596. 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})."
  9597. msgstr ""
  9598. #. type: Plain text
  9599. #: guix-git/doc/guix.texi:5135
  9600. 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."
  9601. msgstr ""
  9602. #. type: Plain text
  9603. #: guix-git/doc/guix.texi:5140
  9604. 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."
  9605. msgstr ""
  9606. #. type: anchor{#1}
  9607. #: guix-git/doc/guix.texi:5145
  9608. msgid "channel-authentication"
  9609. msgstr ""
  9610. #. type: Plain text
  9611. #: guix-git/doc/guix.texi:5151
  9612. 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."
  9613. msgstr ""
  9614. #. type: Plain text
  9615. #: guix-git/doc/guix.texi:5156
  9616. 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:"
  9617. msgstr ""
  9618. #. type: lisp
  9619. #: guix-git/doc/guix.texi:5166
  9620. #, no-wrap
  9621. msgid ""
  9622. "(channel\n"
  9623. " (name 'some-channel)\n"
  9624. " (url \"https://example.org/some-channel.git\")\n"
  9625. " (introduction\n"
  9626. " (make-channel-introduction\n"
  9627. " \"6f0d8cc0d88abb59c324b2990bfee2876016bb86\"\n"
  9628. " (openpgp-fingerprint\n"
  9629. " \"CABB A931 C0FF EEC6 900D 0CFB 090B 1199 3D9A EBB5\"))))\n"
  9630. msgstr ""
  9631. #. type: Plain text
  9632. #: guix-git/doc/guix.texi:5172
  9633. 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{}}."
  9634. msgstr ""
  9635. #. type: Plain text
  9636. #: guix-git/doc/guix.texi:5178
  9637. 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."
  9638. msgstr ""
  9639. #. type: Plain text
  9640. #: guix-git/doc/guix.texi:5180
  9641. msgid "If you're curious about the authentication mechanics, read on!"
  9642. msgstr ""
  9643. #. type: Plain text
  9644. #: guix-git/doc/guix.texi:5191
  9645. 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}."
  9646. msgstr ""
  9647. #. type: lisp
  9648. #: guix-git/doc/guix.texi:5194
  9649. #, no-wrap
  9650. msgid ""
  9651. "(use-modules (guix ci))\n"
  9652. "\n"
  9653. msgstr ""
  9654. #. type: lisp
  9655. #: guix-git/doc/guix.texi:5198
  9656. #, no-wrap
  9657. msgid ""
  9658. "(list (channel-with-substitutes-available\n"
  9659. " %default-guix-channel\n"
  9660. " \"https://ci.guix.gnu.org\"))\n"
  9661. msgstr ""
  9662. #. type: Plain text
  9663. #: guix-git/doc/guix.texi:5205
  9664. 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."
  9665. msgstr ""
  9666. #. type: cindex
  9667. #: guix-git/doc/guix.texi:5209
  9668. #, no-wrap
  9669. msgid "personal packages (channels)"
  9670. msgstr ""
  9671. #. type: cindex
  9672. #: guix-git/doc/guix.texi:5210
  9673. #, no-wrap
  9674. msgid "channels, for personal packages"
  9675. msgstr ""
  9676. #. type: Plain text
  9677. #: guix-git/doc/guix.texi:5218
  9678. 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?"
  9679. msgstr ""
  9680. #. type: quotation
  9681. #: guix-git/doc/guix.texi:5222 guix-git/doc/guix.texi:6068
  9682. #: guix-git/doc/guix.texi:13784 guix-git/doc/guix.texi:19856
  9683. #: guix-git/doc/guix.texi:19863
  9684. #, no-wrap
  9685. msgid "Warning"
  9686. msgstr ""
  9687. #. type: quotation
  9688. #: guix-git/doc/guix.texi:5226
  9689. 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:"
  9690. msgstr ""
  9691. #. type: itemize
  9692. #: guix-git/doc/guix.texi:5234
  9693. 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."
  9694. msgstr ""
  9695. #. type: itemize
  9696. #: guix-git/doc/guix.texi:5243
  9697. 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."
  9698. msgstr ""
  9699. #. type: itemize
  9700. #: guix-git/doc/guix.texi:5247
  9701. 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."
  9702. msgstr ""
  9703. #. type: quotation
  9704. #: guix-git/doc/guix.texi:5254
  9705. 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."
  9706. msgstr ""
  9707. #. type: Plain text
  9708. #: guix-git/doc/guix.texi:5266
  9709. 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})."
  9710. msgstr ""
  9711. #. type: Plain text
  9712. #: guix-git/doc/guix.texi:5271
  9713. 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."
  9714. msgstr ""
  9715. #. type: cindex
  9716. #: guix-git/doc/guix.texi:5276
  9717. #, no-wrap
  9718. msgid "subdirectory, channels"
  9719. msgstr ""
  9720. #. type: Plain text
  9721. #: guix-git/doc/guix.texi:5280
  9722. 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:"
  9723. msgstr ""
  9724. #. type: lisp
  9725. #: guix-git/doc/guix.texi:5285
  9726. #, no-wrap
  9727. msgid ""
  9728. "(channel\n"
  9729. " (version 0)\n"
  9730. " (directory \"guix\"))\n"
  9731. msgstr ""
  9732. #. type: cindex
  9733. #: guix-git/doc/guix.texi:5290
  9734. #, no-wrap
  9735. msgid "dependencies, channels"
  9736. msgstr ""
  9737. #. type: cindex
  9738. #: guix-git/doc/guix.texi:5291
  9739. #, no-wrap
  9740. msgid "meta-data, channels"
  9741. msgstr ""
  9742. #. type: Plain text
  9743. #: guix-git/doc/guix.texi:5296
  9744. 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."
  9745. msgstr ""
  9746. #. type: Plain text
  9747. #: guix-git/doc/guix.texi:5298
  9748. msgid "The meta-data file should contain a simple S-expression like this:"
  9749. msgstr ""
  9750. #. type: lisp
  9751. #: guix-git/doc/guix.texi:5306
  9752. #, no-wrap
  9753. msgid ""
  9754. "(channel\n"
  9755. " (version 0)\n"
  9756. " (dependencies\n"
  9757. " (channel\n"
  9758. " (name some-collection)\n"
  9759. " (url \"https://example.org/first-collection.git\")\n"
  9760. "\n"
  9761. msgstr ""
  9762. #. type: lisp
  9763. #: guix-git/doc/guix.texi:5318
  9764. #, no-wrap
  9765. msgid ""
  9766. " ;; The 'introduction' bit below is optional: you would\n"
  9767. " ;; provide it for dependencies that can be authenticated.\n"
  9768. " (introduction\n"
  9769. " (channel-introduction\n"
  9770. " (version 0)\n"
  9771. " (commit \"a8883b58dc82e167c96506cf05095f37c2c2c6cd\")\n"
  9772. " (signer \"CABB A931 C0FF EEC6 900D 0CFB 090B 1199 3D9A EBB5\"))))\n"
  9773. " (channel\n"
  9774. " (name some-other-collection)\n"
  9775. " (url \"https://example.org/second-collection.git\")\n"
  9776. " (branch \"testing\"))))\n"
  9777. msgstr ""
  9778. #. type: Plain text
  9779. #: guix-git/doc/guix.texi:5324
  9780. 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."
  9781. msgstr ""
  9782. #. type: Plain text
  9783. #: guix-git/doc/guix.texi:5328
  9784. 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."
  9785. msgstr ""
  9786. #. type: cindex
  9787. #: guix-git/doc/guix.texi:5332
  9788. #, no-wrap
  9789. msgid "channel authorizations"
  9790. msgstr ""
  9791. #. type: anchor{#1}
  9792. #: guix-git/doc/guix.texi:5346
  9793. msgid "channel-authorizations"
  9794. msgstr ""
  9795. #. type: Plain text
  9796. #: guix-git/doc/guix.texi:5346
  9797. 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:"
  9798. msgstr ""
  9799. #. type: lisp
  9800. #: guix-git/doc/guix.texi:5349
  9801. #, no-wrap
  9802. msgid ""
  9803. ";; Example '.guix-authorizations' file.\n"
  9804. "\n"
  9805. msgstr ""
  9806. #. type: lisp
  9807. #: guix-git/doc/guix.texi:5352
  9808. #, no-wrap
  9809. msgid ""
  9810. "(authorizations\n"
  9811. " (version 0) ;current file format version\n"
  9812. "\n"
  9813. msgstr ""
  9814. #. type: lisp
  9815. #: guix-git/doc/guix.texi:5359
  9816. #, no-wrap
  9817. msgid ""
  9818. " ((\"AD17 A21E F8AE D8F1 CC02 DBD9 F8AE D8F1 765C 61E3\"\n"
  9819. " (name \"alice\"))\n"
  9820. " (\"2A39 3FFF 68F4 EF7A 3D29 12AF 68F4 EF7A 22FB B2D5\"\n"
  9821. " (name \"bob\"))\n"
  9822. " (\"CABB A931 C0FF EEC6 900D 0CFB 090B 1199 3D9A EBB5\"\n"
  9823. " (name \"charlie\"))))\n"
  9824. msgstr ""
  9825. #. type: Plain text
  9826. #: guix-git/doc/guix.texi:5363
  9827. msgid "Each fingerprint is followed by optional key/value pairs, as in the example above. Currently these key/value pairs are ignored."
  9828. msgstr ""
  9829. #. type: Plain text
  9830. #: guix-git/doc/guix.texi:5368
  9831. 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?"
  9832. msgstr ""
  9833. #. type: cindex
  9834. #: guix-git/doc/guix.texi:5369
  9835. #, no-wrap
  9836. msgid "channel introduction"
  9837. msgstr ""
  9838. #. type: Plain text
  9839. #: guix-git/doc/guix.texi:5376
  9840. 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."
  9841. msgstr ""
  9842. #. type: Plain text
  9843. #: guix-git/doc/guix.texi:5383
  9844. 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:"
  9845. msgstr ""
  9846. #. type: lisp
  9847. #: guix-git/doc/guix.texi:5388
  9848. #, no-wrap
  9849. msgid ""
  9850. "(channel\n"
  9851. " (version 0)\n"
  9852. " (keyring-reference \"my-keyring-branch\"))\n"
  9853. msgstr ""
  9854. #. type: Plain text
  9855. #: guix-git/doc/guix.texi:5392
  9856. msgid "To summarize, as the author of a channel, there are three things you have to do to allow users to authenticate your code:"
  9857. msgstr ""
  9858. #. type: enumerate
  9859. #: guix-git/doc/guix.texi:5398
  9860. 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})."
  9861. msgstr ""
  9862. #. type: enumerate
  9863. #: guix-git/doc/guix.texi:5403
  9864. 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.)"
  9865. msgstr ""
  9866. #. type: enumerate
  9867. #: guix-git/doc/guix.texi:5409
  9868. 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."
  9869. msgstr ""
  9870. #. type: Plain text
  9871. #: guix-git/doc/guix.texi:5414
  9872. 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:"
  9873. msgstr ""
  9874. #. type: example
  9875. #: guix-git/doc/guix.texi:5417
  9876. #, no-wrap
  9877. msgid "guix git authenticate @var{commit} @var{signer}\n"
  9878. msgstr ""
  9879. #. type: Plain text
  9880. #: guix-git/doc/guix.texi:5422
  9881. msgid "where @var{commit} and @var{signer} are your channel introduction. @xref{Invoking guix git authenticate}, for details."
  9882. msgstr ""
  9883. #. type: Plain text
  9884. #: guix-git/doc/guix.texi:5429
  9885. 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."
  9886. msgstr ""
  9887. #. type: cindex
  9888. #: guix-git/doc/guix.texi:5433
  9889. #, no-wrap
  9890. msgid "primary URL, channels"
  9891. msgstr ""
  9892. #. type: Plain text
  9893. #: guix-git/doc/guix.texi:5436
  9894. msgid "Channel authors can indicate the primary URL of their channel's Git repository in the @file{.guix-channel} file, like so:"
  9895. msgstr ""
  9896. #. type: lisp
  9897. #: guix-git/doc/guix.texi:5441
  9898. #, no-wrap
  9899. msgid ""
  9900. "(channel\n"
  9901. " (version 0)\n"
  9902. " (url \"https://example.org/guix.git\"))\n"
  9903. msgstr ""
  9904. #. type: Plain text
  9905. #: guix-git/doc/guix.texi:5448
  9906. 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."
  9907. msgstr ""
  9908. #. type: Plain text
  9909. #: guix-git/doc/guix.texi:5452
  9910. 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."
  9911. msgstr ""
  9912. #. type: cindex
  9913. #: guix-git/doc/guix.texi:5456
  9914. #, no-wrap
  9915. msgid "news, for channels"
  9916. msgstr ""
  9917. #. type: Plain text
  9918. #: guix-git/doc/guix.texi:5460
  9919. 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."
  9920. msgstr ""
  9921. #. type: Plain text
  9922. #: guix-git/doc/guix.texi:5465
  9923. 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."
  9924. msgstr ""
  9925. #. type: Plain text
  9926. #: guix-git/doc/guix.texi:5468
  9927. msgid "To do that, channel authors must first declare the name of the news file in their @file{.guix-channel} file:"
  9928. msgstr ""
  9929. #. type: lisp
  9930. #: guix-git/doc/guix.texi:5473
  9931. #, no-wrap
  9932. msgid ""
  9933. "(channel\n"
  9934. " (version 0)\n"
  9935. " (news-file \"etc/news.txt\"))\n"
  9936. msgstr ""
  9937. #. type: Plain text
  9938. #: guix-git/doc/guix.texi:5477
  9939. msgid "The news file itself, @file{etc/news.txt} in this example, must look something like this:"
  9940. msgstr ""
  9941. #. type: lisp
  9942. #: guix-git/doc/guix.texi:5490
  9943. #, no-wrap
  9944. msgid ""
  9945. "(channel-news\n"
  9946. " (version 0)\n"
  9947. " (entry (tag \"the-bug-fix\")\n"
  9948. " (title (en \"Fixed terrible bug\")\n"
  9949. " (fr \"Oh la la\"))\n"
  9950. " (body (en \"@@emph@{Good news@}! It's fixed!\")\n"
  9951. " (eo \"Certe ĝi pli bone funkcias nun!\")))\n"
  9952. " (entry (commit \"bdcabe815cd28144a2d2b4bc3c5057b051fa9906\")\n"
  9953. " (title (en \"Added a great package\")\n"
  9954. " (ca \"Què vol dir guix?\"))\n"
  9955. " (body (en \"Don't miss the @@code@{hello@} package!\"))))\n"
  9956. msgstr ""
  9957. #. type: Plain text
  9958. #: guix-git/doc/guix.texi:5497
  9959. 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."
  9960. msgstr ""
  9961. #. type: Plain text
  9962. #: guix-git/doc/guix.texi:5502
  9963. 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."
  9964. msgstr ""
  9965. #. type: Plain text
  9966. #: guix-git/doc/guix.texi:5508
  9967. 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."
  9968. msgstr ""
  9969. #. type: Plain text
  9970. #: guix-git/doc/guix.texi:5514
  9971. 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:"
  9972. msgstr ""
  9973. #. type: example
  9974. #: guix-git/doc/guix.texi:5517
  9975. #, no-wrap
  9976. msgid "xgettext -o news.po -l scheme -ken etc/news.txt\n"
  9977. msgstr ""
  9978. #. type: Plain text
  9979. #: guix-git/doc/guix.texi:5521
  9980. 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."
  9981. msgstr ""
  9982. #. type: cindex
  9983. #: guix-git/doc/guix.texi:5526
  9984. #, no-wrap
  9985. msgid "software development"
  9986. msgstr ""
  9987. #. type: Plain text
  9988. #: guix-git/doc/guix.texi:5530
  9989. 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."
  9990. msgstr ""
  9991. #. type: Plain text
  9992. #: guix-git/doc/guix.texi:5536
  9993. 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."
  9994. msgstr ""
  9995. #. type: section
  9996. #: guix-git/doc/guix.texi:5545
  9997. #, no-wrap
  9998. msgid "Invoking @command{guix environment}"
  9999. msgstr ""
  10000. #. type: cindex
  10001. #: guix-git/doc/guix.texi:5547
  10002. #, no-wrap
  10003. msgid "reproducible build environments"
  10004. msgstr ""
  10005. #. type: cindex
  10006. #: guix-git/doc/guix.texi:5548
  10007. #, no-wrap
  10008. msgid "development environments"
  10009. msgstr ""
  10010. #. type: command{#1}
  10011. #: guix-git/doc/guix.texi:5549
  10012. #, no-wrap
  10013. msgid "guix environment"
  10014. msgstr ""
  10015. #. type: cindex
  10016. #: guix-git/doc/guix.texi:5550
  10017. #, no-wrap
  10018. msgid "environment, package build environment"
  10019. msgstr ""
  10020. #. type: Plain text
  10021. #: guix-git/doc/guix.texi:5556
  10022. 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."
  10023. msgstr ""
  10024. #. type: example
  10025. #: guix-git/doc/guix.texi:5561
  10026. #, no-wrap
  10027. msgid "guix environment @var{options} @var{package}@dots{}\n"
  10028. msgstr ""
  10029. #. type: Plain text
  10030. #: guix-git/doc/guix.texi:5565
  10031. msgid "The following example spawns a new shell set up for the development of GNU@tie{}Guile:"
  10032. msgstr ""
  10033. #. type: example
  10034. #: guix-git/doc/guix.texi:5568
  10035. #, no-wrap
  10036. msgid "guix environment guile\n"
  10037. msgstr ""
  10038. #. type: Plain text
  10039. #: guix-git/doc/guix.texi:5585
  10040. 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.}."
  10041. msgstr ""
  10042. #. type: Plain text
  10043. #: guix-git/doc/guix.texi:5591
  10044. 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."
  10045. msgstr ""
  10046. #. type: vindex
  10047. #: guix-git/doc/guix.texi:5592
  10048. #, no-wrap
  10049. msgid "GUIX_ENVIRONMENT"
  10050. msgstr ""
  10051. #. type: Plain text
  10052. #: guix-git/doc/guix.texi:5598
  10053. 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}):"
  10054. msgstr ""
  10055. #. type: example
  10056. #: guix-git/doc/guix.texi:5604
  10057. #, no-wrap
  10058. msgid ""
  10059. "if [ -n \"$GUIX_ENVIRONMENT\" ]\n"
  10060. "then\n"
  10061. " export PS1=\"\\u@@\\h \\w [dev]\\$ \"\n"
  10062. "fi\n"
  10063. msgstr ""
  10064. #. type: Plain text
  10065. #: guix-git/doc/guix.texi:5608
  10066. msgid "...@: or to browse the profile:"
  10067. msgstr ""
  10068. #. type: example
  10069. #: guix-git/doc/guix.texi:5611
  10070. #, no-wrap
  10071. msgid "$ ls \"$GUIX_ENVIRONMENT/bin\"\n"
  10072. msgstr ""
  10073. #. type: Plain text
  10074. #: guix-git/doc/guix.texi:5617
  10075. 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:"
  10076. msgstr ""
  10077. #. type: example
  10078. #: guix-git/doc/guix.texi:5620
  10079. #, no-wrap
  10080. msgid "guix environment guile emacs\n"
  10081. msgstr ""
  10082. #. type: Plain text
  10083. #: guix-git/doc/guix.texi:5625
  10084. 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:"
  10085. msgstr ""
  10086. #. type: example
  10087. #: guix-git/doc/guix.texi:5628
  10088. #, no-wrap
  10089. msgid "guix environment guile -- make -j4\n"
  10090. msgstr ""
  10091. #. type: Plain text
  10092. #: guix-git/doc/guix.texi:5634
  10093. 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:"
  10094. msgstr ""
  10095. #. type: example
  10096. #: guix-git/doc/guix.texi:5637
  10097. #, no-wrap
  10098. msgid "guix environment --ad-hoc python2-numpy python-2.7 -- python\n"
  10099. msgstr ""
  10100. #. type: Plain text
  10101. #: guix-git/doc/guix.texi:5648
  10102. 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:"
  10103. msgstr ""
  10104. #. type: example
  10105. #: guix-git/doc/guix.texi:5651
  10106. #, no-wrap
  10107. msgid "guix environment --pure guix --ad-hoc git strace\n"
  10108. msgstr ""
  10109. #. type: item
  10110. #: guix-git/doc/guix.texi:5653 guix-git/doc/guix.texi:5814
  10111. #: guix-git/doc/guix.texi:13182 guix-git/doc/guix.texi:33803
  10112. #, no-wrap
  10113. msgid "container"
  10114. msgstr ""
  10115. #. type: Plain text
  10116. #: guix-git/doc/guix.texi:5661
  10117. 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:"
  10118. msgstr ""
  10119. #. type: example
  10120. #: guix-git/doc/guix.texi:5664
  10121. #, no-wrap
  10122. msgid "guix environment --ad-hoc --container guile -- guile\n"
  10123. msgstr ""
  10124. #. type: quotation
  10125. #: guix-git/doc/guix.texi:5668
  10126. msgid "The @option{--container} option requires Linux-libre 3.19 or newer."
  10127. msgstr ""
  10128. #. type: cindex
  10129. #: guix-git/doc/guix.texi:5670
  10130. #, no-wrap
  10131. msgid "certificates"
  10132. msgstr ""
  10133. #. type: Plain text
  10134. #: guix-git/doc/guix.texi:5677
  10135. 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."
  10136. msgstr ""
  10137. #. type: example
  10138. #: guix-git/doc/guix.texi:5684
  10139. #, no-wrap
  10140. msgid ""
  10141. "guix environment --preserve='^DISPLAY$' --container --network \\\n"
  10142. " --expose=/etc/machine-id \\\n"
  10143. " --expose=/etc/ssl/certs/ \\\n"
  10144. " --share=$HOME/.local/share/eolie/=$HOME/.local/share/eolie/ \\\n"
  10145. " --ad-hoc eolie nss-certs dbus -- eolie\n"
  10146. msgstr ""
  10147. #. type: Plain text
  10148. #: guix-git/doc/guix.texi:5687
  10149. msgid "The available options are summarized below."
  10150. msgstr ""
  10151. #. type: item
  10152. #: guix-git/doc/guix.texi:5689 guix-git/doc/guix.texi:6254
  10153. #: guix-git/doc/guix.texi:10937 guix-git/doc/guix.texi:33900
  10154. #, no-wrap
  10155. msgid "--root=@var{file}"
  10156. msgstr ""
  10157. #. type: itemx
  10158. #: guix-git/doc/guix.texi:5690 guix-git/doc/guix.texi:6255
  10159. #: guix-git/doc/guix.texi:10938 guix-git/doc/guix.texi:33901
  10160. #, no-wrap
  10161. msgid "-r @var{file}"
  10162. msgstr ""
  10163. #. type: cindex
  10164. #: guix-git/doc/guix.texi:5691
  10165. #, no-wrap
  10166. msgid "persistent environment"
  10167. msgstr ""
  10168. #. type: cindex
  10169. #: guix-git/doc/guix.texi:5692
  10170. #, no-wrap
  10171. msgid "garbage collector root, for environments"
  10172. msgstr ""
  10173. #. type: table
  10174. #: guix-git/doc/guix.texi:5695
  10175. msgid "Make @var{file} a symlink to the profile for this environment, and register it as a garbage collector root."
  10176. msgstr ""
  10177. #. type: table
  10178. #: guix-git/doc/guix.texi:5698
  10179. msgid "This is useful if you want to protect your environment from garbage collection, to make it ``persistent''."
  10180. msgstr ""
  10181. #. type: table
  10182. #: guix-git/doc/guix.texi:5704
  10183. 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."
  10184. msgstr ""
  10185. #. type: item
  10186. #: guix-git/doc/guix.texi:5705 guix-git/doc/guix.texi:6186
  10187. #: guix-git/doc/guix.texi:10783 guix-git/doc/guix.texi:11829
  10188. #: guix-git/doc/guix.texi:12626 guix-git/doc/guix.texi:33835
  10189. #, no-wrap
  10190. msgid "--expression=@var{expr}"
  10191. msgstr ""
  10192. #. type: itemx
  10193. #: guix-git/doc/guix.texi:5706 guix-git/doc/guix.texi:6187
  10194. #: guix-git/doc/guix.texi:10784 guix-git/doc/guix.texi:11830
  10195. #: guix-git/doc/guix.texi:12627 guix-git/doc/guix.texi:33836
  10196. #, no-wrap
  10197. msgid "-e @var{expr}"
  10198. msgstr ""
  10199. #. type: table
  10200. #: guix-git/doc/guix.texi:5709
  10201. msgid "Create an environment for the package or list of packages that @var{expr} evaluates to."
  10202. msgstr ""
  10203. #. type: table
  10204. #: guix-git/doc/guix.texi:5711
  10205. msgid "For example, running:"
  10206. msgstr ""
  10207. #. type: example
  10208. #: guix-git/doc/guix.texi:5714
  10209. #, no-wrap
  10210. msgid "guix environment -e '(@@ (gnu packages maths) petsc-openmpi)'\n"
  10211. msgstr ""
  10212. #. type: table
  10213. #: guix-git/doc/guix.texi:5718
  10214. msgid "starts a shell with the environment for this specific variant of the PETSc package."
  10215. msgstr ""
  10216. #. type: table
  10217. #: guix-git/doc/guix.texi:5720
  10218. msgid "Running:"
  10219. msgstr ""
  10220. #. type: example
  10221. #: guix-git/doc/guix.texi:5723
  10222. #, no-wrap
  10223. msgid "guix environment --ad-hoc -e '(@@ (gnu) %base-packages)'\n"
  10224. msgstr ""
  10225. #. type: table
  10226. #: guix-git/doc/guix.texi:5726
  10227. msgid "starts a shell with all the base system packages available."
  10228. msgstr ""
  10229. #. type: table
  10230. #: guix-git/doc/guix.texi:5729
  10231. msgid "The above commands only use the default output of the given packages. To select other outputs, two element tuples can be specified:"
  10232. msgstr ""
  10233. #. type: example
  10234. #: guix-git/doc/guix.texi:5732
  10235. #, no-wrap
  10236. msgid "guix environment --ad-hoc -e '(list (@@ (gnu packages bash) bash) \"include\")'\n"
  10237. msgstr ""
  10238. #. type: item
  10239. #: guix-git/doc/guix.texi:5734
  10240. #, no-wrap
  10241. msgid "--load=@var{file}"
  10242. msgstr ""
  10243. #. type: itemx
  10244. #: guix-git/doc/guix.texi:5735
  10245. #, no-wrap
  10246. msgid "-l @var{file}"
  10247. msgstr ""
  10248. #. type: table
  10249. #: guix-git/doc/guix.texi:5738
  10250. msgid "Create an environment for the package or list of packages that the code within @var{file} evaluates to."
  10251. msgstr ""
  10252. #. type: lisp
  10253. #: guix-git/doc/guix.texi:5744
  10254. #, no-wrap
  10255. msgid "@verbatiminclude environment-gdb.scm\n"
  10256. msgstr ""
  10257. #. type: table
  10258. #: guix-git/doc/guix.texi:5751
  10259. 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."
  10260. msgstr ""
  10261. #. type: table
  10262. #: guix-git/doc/guix.texi:5755
  10263. msgid "This is similar to the same-named option in @command{guix package} (@pxref{profile-manifest, @option{--manifest}}) and uses the same manifest files."
  10264. msgstr ""
  10265. #. type: item
  10266. #: guix-git/doc/guix.texi:5756
  10267. #, no-wrap
  10268. msgid "--ad-hoc"
  10269. msgstr ""
  10270. #. type: table
  10271. #: guix-git/doc/guix.texi:5761
  10272. 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."
  10273. msgstr ""
  10274. #. type: table
  10275. #: guix-git/doc/guix.texi:5763
  10276. msgid "For instance, the command:"
  10277. msgstr ""
  10278. #. type: example
  10279. #: guix-git/doc/guix.texi:5766
  10280. #, no-wrap
  10281. msgid "guix environment --ad-hoc guile guile-sdl -- guile\n"
  10282. msgstr ""
  10283. #. type: table
  10284. #: guix-git/doc/guix.texi:5770
  10285. msgid "runs @command{guile} in an environment where Guile and Guile-SDL are available."
  10286. msgstr ""
  10287. #. type: table
  10288. #: guix-git/doc/guix.texi:5775
  10289. 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})."
  10290. msgstr ""
  10291. #. type: table
  10292. #: guix-git/doc/guix.texi:5781
  10293. 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."
  10294. msgstr ""
  10295. #. type: item
  10296. #: guix-git/doc/guix.texi:5782
  10297. #, no-wrap
  10298. msgid "--pure"
  10299. msgstr ""
  10300. #. type: table
  10301. #: guix-git/doc/guix.texi:5786
  10302. 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."
  10303. msgstr ""
  10304. #. type: item
  10305. #: guix-git/doc/guix.texi:5787
  10306. #, no-wrap
  10307. msgid "--preserve=@var{regexp}"
  10308. msgstr ""
  10309. #. type: itemx
  10310. #: guix-git/doc/guix.texi:5788
  10311. #, no-wrap
  10312. msgid "-E @var{regexp}"
  10313. msgstr ""
  10314. #. type: table
  10315. #: guix-git/doc/guix.texi:5793
  10316. 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."
  10317. msgstr ""
  10318. #. type: example
  10319. #: guix-git/doc/guix.texi:5797
  10320. #, no-wrap
  10321. msgid ""
  10322. "guix environment --pure --preserve=^SLURM --ad-hoc openmpi @dots{} \\\n"
  10323. " -- mpirun @dots{}\n"
  10324. msgstr ""
  10325. #. type: table
  10326. #: guix-git/doc/guix.texi:5803
  10327. 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.)."
  10328. msgstr ""
  10329. #. type: item
  10330. #: guix-git/doc/guix.texi:5804
  10331. #, no-wrap
  10332. msgid "--search-paths"
  10333. msgstr ""
  10334. #. type: table
  10335. #: guix-git/doc/guix.texi:5807
  10336. msgid "Display the environment variable definitions that make up the environment."
  10337. msgstr ""
  10338. #. type: table
  10339. #: guix-git/doc/guix.texi:5811
  10340. msgid "Attempt to build for @var{system}---e.g., @code{i686-linux}."
  10341. msgstr ""
  10342. #. type: item
  10343. #: guix-git/doc/guix.texi:5812
  10344. #, no-wrap
  10345. msgid "--container"
  10346. msgstr ""
  10347. #. type: itemx
  10348. #: guix-git/doc/guix.texi:5813
  10349. #, no-wrap
  10350. msgid "-C"
  10351. msgstr ""
  10352. #. type: table
  10353. #: guix-git/doc/guix.texi:5820
  10354. 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."
  10355. msgstr ""
  10356. #. type: table
  10357. #: guix-git/doc/guix.texi:5824
  10358. 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)."
  10359. msgstr ""
  10360. #. type: item
  10361. #: guix-git/doc/guix.texi:5825 guix-git/doc/guix.texi:33895
  10362. #, no-wrap
  10363. msgid "--network"
  10364. msgstr ""
  10365. #. type: table
  10366. #: guix-git/doc/guix.texi:5830
  10367. msgid "For containers, share the network namespace with the host system. Containers created without this flag only have access to the loopback device."
  10368. msgstr ""
  10369. #. type: item
  10370. #: guix-git/doc/guix.texi:5831
  10371. #, no-wrap
  10372. msgid "--link-profile"
  10373. msgstr ""
  10374. #. type: itemx
  10375. #: guix-git/doc/guix.texi:5832
  10376. #, no-wrap
  10377. msgid "-P"
  10378. msgstr ""
  10379. #. type: table
  10380. #: guix-git/doc/guix.texi:5840
  10381. 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."
  10382. msgstr ""
  10383. #. type: table
  10384. #: guix-git/doc/guix.texi:5846
  10385. 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."
  10386. msgstr ""
  10387. #. type: item
  10388. #: guix-git/doc/guix.texi:5847 guix-git/doc/guix.texi:12759
  10389. #, no-wrap
  10390. msgid "--user=@var{user}"
  10391. msgstr ""
  10392. #. type: itemx
  10393. #: guix-git/doc/guix.texi:5848 guix-git/doc/guix.texi:12760
  10394. #, no-wrap
  10395. msgid "-u @var{user}"
  10396. msgstr ""
  10397. #. type: table
  10398. #: guix-git/doc/guix.texi:5855
  10399. 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."
  10400. msgstr ""
  10401. #. type: table
  10402. #: guix-git/doc/guix.texi:5860
  10403. 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."
  10404. msgstr ""
  10405. #. type: example
  10406. #: guix-git/doc/guix.texi:5867
  10407. #, no-wrap
  10408. msgid ""
  10409. "# will expose paths as /home/foo/wd, /home/foo/test, and /home/foo/target\n"
  10410. "cd $HOME/wd\n"
  10411. "guix environment --container --user=foo \\\n"
  10412. " --expose=$HOME/test \\\n"
  10413. " --expose=/tmp/target=$HOME/target\n"
  10414. msgstr ""
  10415. #. type: table
  10416. #: guix-git/doc/guix.texi:5872
  10417. 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."
  10418. msgstr ""
  10419. #. type: item
  10420. #: guix-git/doc/guix.texi:5873
  10421. #, no-wrap
  10422. msgid "--no-cwd"
  10423. msgstr ""
  10424. #. type: table
  10425. #: guix-git/doc/guix.texi:5880
  10426. 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}."
  10427. msgstr ""
  10428. #. type: item
  10429. #: guix-git/doc/guix.texi:5881
  10430. #, no-wrap
  10431. msgid "--expose=@var{source}[=@var{target}]"
  10432. msgstr ""
  10433. #. type: itemx
  10434. #: guix-git/doc/guix.texi:5882
  10435. #, no-wrap
  10436. msgid "--share=@var{source}[=@var{target}]"
  10437. msgstr ""
  10438. #. type: table
  10439. #: guix-git/doc/guix.texi:5888
  10440. 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."
  10441. msgstr ""
  10442. #. type: table
  10443. #: guix-git/doc/guix.texi:5892
  10444. 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:"
  10445. msgstr ""
  10446. #. type: example
  10447. #: guix-git/doc/guix.texi:5895
  10448. #, no-wrap
  10449. msgid "guix environment --container --expose=$HOME=/exchange --ad-hoc guile -- guile\n"
  10450. msgstr ""
  10451. #. type: Plain text
  10452. #: guix-git/doc/guix.texi:5903
  10453. 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})."
  10454. msgstr ""
  10455. #. type: section
  10456. #: guix-git/doc/guix.texi:5905
  10457. #, no-wrap
  10458. msgid "Invoking @command{guix pack}"
  10459. msgstr ""
  10460. #. type: Plain text
  10461. #: guix-git/doc/guix.texi:5911
  10462. 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."
  10463. msgstr ""
  10464. #. type: quotation
  10465. #: guix-git/doc/guix.texi:5916
  10466. 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}."
  10467. msgstr ""
  10468. #. type: cindex
  10469. #: guix-git/doc/guix.texi:5918
  10470. #, no-wrap
  10471. msgid "pack"
  10472. msgstr ""
  10473. #. type: cindex
  10474. #: guix-git/doc/guix.texi:5919
  10475. #, no-wrap
  10476. msgid "bundle"
  10477. msgstr ""
  10478. #. type: cindex
  10479. #: guix-git/doc/guix.texi:5920
  10480. #, no-wrap
  10481. msgid "application bundle"
  10482. msgstr ""
  10483. #. type: cindex
  10484. #: guix-git/doc/guix.texi:5921
  10485. #, no-wrap
  10486. msgid "software bundle"
  10487. msgstr ""
  10488. #. type: Plain text
  10489. #: guix-git/doc/guix.texi:5930
  10490. 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."
  10491. msgstr ""
  10492. #. type: Plain text
  10493. #: guix-git/doc/guix.texi:5933
  10494. msgid "For example, to create a bundle containing Guile, Emacs, Geiser, and all their dependencies, you can run:"
  10495. msgstr ""
  10496. #. type: example
  10497. #: guix-git/doc/guix.texi:5938
  10498. #, no-wrap
  10499. msgid ""
  10500. "$ guix pack guile emacs emacs-geiser\n"
  10501. "@dots{}\n"
  10502. "/gnu/store/@dots{}-pack.tar.gz\n"
  10503. msgstr ""
  10504. #. type: Plain text
  10505. #: guix-git/doc/guix.texi:5946
  10506. 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})."
  10507. msgstr ""
  10508. #. type: Plain text
  10509. #: guix-git/doc/guix.texi:5951
  10510. 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:"
  10511. msgstr ""
  10512. #. type: example
  10513. #: guix-git/doc/guix.texi:5954
  10514. #, no-wrap
  10515. msgid "guix pack -S /opt/gnu/bin=bin guile emacs emacs-geiser\n"
  10516. msgstr ""
  10517. #. type: Plain text
  10518. #: guix-git/doc/guix.texi:5958
  10519. msgid "That way, users can happily type @file{/opt/gnu/bin/guile} and enjoy."
  10520. msgstr ""
  10521. #. type: cindex
  10522. #: guix-git/doc/guix.texi:5959
  10523. #, no-wrap
  10524. msgid "relocatable binaries, with @command{guix pack}"
  10525. msgstr ""
  10526. #. type: Plain text
  10527. #: guix-git/doc/guix.texi:5967
  10528. 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}."
  10529. msgstr ""
  10530. #. type: cindex
  10531. #: guix-git/doc/guix.texi:5968
  10532. #, no-wrap
  10533. msgid "Docker, build an image with guix pack"
  10534. msgstr ""
  10535. #. type: Plain text
  10536. #: guix-git/doc/guix.texi:5971
  10537. msgid "Alternatively, you can produce a pack in the Docker image format using the following command:"
  10538. msgstr ""
  10539. #. type: example
  10540. #: guix-git/doc/guix.texi:5974
  10541. #, no-wrap
  10542. msgid "guix pack -f docker -S /bin=bin guile guile-readline\n"
  10543. msgstr ""
  10544. #. type: Plain text
  10545. #: guix-git/doc/guix.texi:5979
  10546. msgid "The result is a tarball that can be passed to the @command{docker load} command, followed by @code{docker run}:"
  10547. msgstr ""
  10548. #. type: example
  10549. #: guix-git/doc/guix.texi:5983
  10550. #, no-wrap
  10551. msgid ""
  10552. "docker load < @var{file}\n"
  10553. "docker run -ti guile-guile-readline /bin/guile\n"
  10554. msgstr ""
  10555. #. type: Plain text
  10556. #: guix-git/doc/guix.texi:5990
  10557. 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."
  10558. msgstr ""
  10559. #. type: cindex
  10560. #: guix-git/doc/guix.texi:5991
  10561. #, no-wrap
  10562. msgid "Singularity, build an image with guix pack"
  10563. msgstr ""
  10564. #. type: cindex
  10565. #: guix-git/doc/guix.texi:5992
  10566. #, no-wrap
  10567. msgid "SquashFS, build an image with guix pack"
  10568. msgstr ""
  10569. #. type: Plain text
  10570. #: guix-git/doc/guix.texi:5995
  10571. msgid "Yet another option is to produce a SquashFS image with the following command:"
  10572. msgstr ""
  10573. #. type: example
  10574. #: guix-git/doc/guix.texi:5998
  10575. #, no-wrap
  10576. msgid "guix pack -f squashfs bash guile emacs emacs-geiser\n"
  10577. msgstr ""
  10578. #. type: Plain text
  10579. #: guix-git/doc/guix.texi:6006
  10580. 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}."
  10581. msgstr ""
  10582. #. type: Plain text
  10583. #: guix-git/doc/guix.texi:6008
  10584. msgid "Several command-line options allow you to customize your pack:"
  10585. msgstr ""
  10586. #. type: table
  10587. #: guix-git/doc/guix.texi:6013
  10588. msgid "Produce a pack in the given @var{format}."
  10589. msgstr ""
  10590. #. type: table
  10591. #: guix-git/doc/guix.texi:6015
  10592. msgid "The available formats are:"
  10593. msgstr ""
  10594. #. type: item
  10595. #: guix-git/doc/guix.texi:6017
  10596. #, no-wrap
  10597. msgid "tarball"
  10598. msgstr ""
  10599. #. type: table
  10600. #: guix-git/doc/guix.texi:6020
  10601. msgid "This is the default format. It produces a tarball containing all the specified binaries and symlinks."
  10602. msgstr ""
  10603. #. type: item
  10604. #: guix-git/doc/guix.texi:6021
  10605. #, no-wrap
  10606. msgid "docker"
  10607. msgstr ""
  10608. #. type: table
  10609. #: guix-git/doc/guix.texi:6027
  10610. 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."
  10611. msgstr ""
  10612. #. type: item
  10613. #: guix-git/doc/guix.texi:6028
  10614. #, no-wrap
  10615. msgid "squashfs"
  10616. msgstr ""
  10617. #. type: table
  10618. #: guix-git/doc/guix.texi:6032
  10619. 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."
  10620. msgstr ""
  10621. #. type: quotation
  10622. #: guix-git/doc/guix.texi:6038
  10623. 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:"
  10624. msgstr ""
  10625. #. type: example
  10626. #: guix-git/doc/guix.texi:6041
  10627. #, no-wrap
  10628. msgid "guix pack -f squashfs bash @dots{}\n"
  10629. msgstr ""
  10630. #. type: quotation
  10631. #: guix-git/doc/guix.texi:6046
  10632. 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."
  10633. msgstr ""
  10634. #. type: item
  10635. #: guix-git/doc/guix.texi:6048
  10636. #, no-wrap
  10637. msgid "deb"
  10638. msgstr ""
  10639. #. type: table
  10640. #: guix-git/doc/guix.texi:6056
  10641. msgid "This produces a Debian archive (a package with the @samp{.deb} file extension) containing all the specified binaries and symbolic links, that can be installed on top of any dpkg-based GNU(/Linux) distribution. Advanced options can be revealed via the @option{--help-deb-format} option. They allow embedding control files for more fine-grained control, such as activating specific triggers or providing a maintainer configure script to run arbitrary setup code upon installation."
  10642. msgstr ""
  10643. #. type: example
  10644. #: guix-git/doc/guix.texi:6059
  10645. #, no-wrap
  10646. msgid "guix pack -f deb -C xz -S /usr/bin/hello=bin/hello hello\n"
  10647. msgstr ""
  10648. #. type: quotation
  10649. #: guix-git/doc/guix.texi:6066
  10650. msgid "Because archives produced with @command{guix pack} contain a collection of store items and because each @command{dpkg} package must not have conflicting files, in practice that means you likely won't be able to install more than one such archive on a given system."
  10651. msgstr ""
  10652. #. type: quotation
  10653. #: guix-git/doc/guix.texi:6074
  10654. msgid "@command{dpkg} will assume ownership of any files contained in the pack that it does @emph{not} know about. It is unwise to install Guix-produced @samp{.deb} files on a system where @file{/gnu/store} is shared by other software, such as a Guix installation or other, non-deb packs."
  10655. msgstr ""
  10656. #. type: cindex
  10657. #: guix-git/doc/guix.texi:6078
  10658. #, no-wrap
  10659. msgid "relocatable binaries"
  10660. msgstr ""
  10661. #. type: item
  10662. #: guix-git/doc/guix.texi:6079
  10663. #, no-wrap
  10664. msgid "--relocatable"
  10665. msgstr ""
  10666. #. type: table
  10667. #: guix-git/doc/guix.texi:6083
  10668. msgid "Produce @dfn{relocatable binaries}---i.e., binaries that can be placed anywhere in the file system hierarchy and run from there."
  10669. msgstr ""
  10670. #. type: table
  10671. #: guix-git/doc/guix.texi:6091
  10672. 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."
  10673. msgstr ""
  10674. #. type: table
  10675. #: guix-git/doc/guix.texi:6093
  10676. msgid "For example, if you create a pack containing Bash with:"
  10677. msgstr ""
  10678. #. type: example
  10679. #: guix-git/doc/guix.texi:6096
  10680. #, no-wrap
  10681. msgid "guix pack -RR -S /mybin=bin bash\n"
  10682. msgstr ""
  10683. #. type: table
  10684. #: guix-git/doc/guix.texi:6101
  10685. msgid "...@: you can copy that pack to a machine that lacks Guix, and from your home directory as a normal user, run:"
  10686. msgstr ""
  10687. #. type: example
  10688. #: guix-git/doc/guix.texi:6105
  10689. #, no-wrap
  10690. msgid ""
  10691. "tar xf pack.tar.gz\n"
  10692. "./mybin/sh\n"
  10693. msgstr ""
  10694. #. type: table
  10695. #: guix-git/doc/guix.texi:6113
  10696. 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."
  10697. msgstr ""
  10698. #. type: quotation
  10699. #: guix-git/doc/guix.texi:6119
  10700. 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."
  10701. msgstr ""
  10702. #. type: quotation
  10703. #: guix-git/doc/guix.texi:6125
  10704. 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:"
  10705. msgstr ""
  10706. #. type: item
  10707. #: guix-git/doc/guix.texi:6127 guix-git/doc/guix.texi:16403
  10708. #, no-wrap
  10709. msgid "default"
  10710. msgstr ""
  10711. #. type: table
  10712. #: guix-git/doc/guix.texi:6130
  10713. msgid "Try user namespaces and fall back to PRoot if user namespaces are not supported (see below)."
  10714. msgstr ""
  10715. #. type: item
  10716. #: guix-git/doc/guix.texi:6131
  10717. #, no-wrap
  10718. msgid "performance"
  10719. msgstr ""
  10720. #. type: table
  10721. #: guix-git/doc/guix.texi:6134
  10722. msgid "Try user namespaces and fall back to Fakechroot if user namespaces are not supported (see below)."
  10723. msgstr ""
  10724. #. type: item
  10725. #: guix-git/doc/guix.texi:6135
  10726. #, no-wrap
  10727. msgid "userns"
  10728. msgstr ""
  10729. #. type: table
  10730. #: guix-git/doc/guix.texi:6138
  10731. msgid "Run the program through user namespaces and abort if they are not supported."
  10732. msgstr ""
  10733. #. type: item
  10734. #: guix-git/doc/guix.texi:6139
  10735. #, no-wrap
  10736. msgid "proot"
  10737. msgstr ""
  10738. #. type: table
  10739. #: guix-git/doc/guix.texi:6146
  10740. 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."
  10741. msgstr ""
  10742. #. type: item
  10743. #: guix-git/doc/guix.texi:6147
  10744. #, no-wrap
  10745. msgid "fakechroot"
  10746. msgstr ""
  10747. #. type: table
  10748. #: guix-git/doc/guix.texi:6155
  10749. 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."
  10750. msgstr ""
  10751. #. type: vindex
  10752. #: guix-git/doc/guix.texi:6157
  10753. #, no-wrap
  10754. msgid "GUIX_EXECUTION_ENGINE"
  10755. msgstr ""
  10756. #. type: quotation
  10757. #: guix-git/doc/guix.texi:6161
  10758. 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."
  10759. msgstr ""
  10760. #. type: cindex
  10761. #: guix-git/doc/guix.texi:6163
  10762. #, no-wrap
  10763. msgid "entry point, for Docker images"
  10764. msgstr ""
  10765. #. type: item
  10766. #: guix-git/doc/guix.texi:6164
  10767. #, no-wrap
  10768. msgid "--entry-point=@var{command}"
  10769. msgstr ""
  10770. #. type: table
  10771. #: guix-git/doc/guix.texi:6169
  10772. 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."
  10773. msgstr ""
  10774. #. type: table
  10775. #: guix-git/doc/guix.texi:6173
  10776. 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:"
  10777. msgstr ""
  10778. #. type: example
  10779. #: guix-git/doc/guix.texi:6176
  10780. #, no-wrap
  10781. msgid "guix pack -f docker --entry-point=bin/guile guile\n"
  10782. msgstr ""
  10783. #. type: table
  10784. #: guix-git/doc/guix.texi:6180
  10785. msgid "The resulting pack can easily be loaded and @code{docker run} with no extra arguments will spawn @code{bin/guile}:"
  10786. msgstr ""
  10787. #. type: example
  10788. #: guix-git/doc/guix.texi:6184
  10789. #, no-wrap
  10790. msgid ""
  10791. "docker load -i pack.tar.gz\n"
  10792. "docker run @var{image-id}\n"
  10793. msgstr ""
  10794. #. type: table
  10795. #: guix-git/doc/guix.texi:6189 guix-git/doc/guix.texi:11832
  10796. #: guix-git/doc/guix.texi:12629
  10797. msgid "Consider the package @var{expr} evaluates to."
  10798. msgstr ""
  10799. #. type: table
  10800. #: guix-git/doc/guix.texi:6193
  10801. 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}})."
  10802. msgstr ""
  10803. #. type: table
  10804. #: guix-git/doc/guix.texi:6199
  10805. 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."
  10806. msgstr ""
  10807. #. type: table
  10808. #: guix-git/doc/guix.texi:6207
  10809. 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."
  10810. msgstr ""
  10811. #. type: item
  10812. #: guix-git/doc/guix.texi:6213 guix-git/doc/guix.texi:10901
  10813. #, no-wrap
  10814. msgid "--target=@var{triplet}"
  10815. msgstr ""
  10816. #. type: cindex
  10817. #: guix-git/doc/guix.texi:6214 guix-git/doc/guix.texi:6665
  10818. #: guix-git/doc/guix.texi:10902
  10819. #, no-wrap
  10820. msgid "cross-compilation"
  10821. msgstr ""
  10822. #. type: table
  10823. #: guix-git/doc/guix.texi:6218
  10824. 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})."
  10825. msgstr ""
  10826. #. type: item
  10827. #: guix-git/doc/guix.texi:6219
  10828. #, no-wrap
  10829. msgid "--compression=@var{tool}"
  10830. msgstr ""
  10831. #. type: itemx
  10832. #: guix-git/doc/guix.texi:6220
  10833. #, no-wrap
  10834. msgid "-C @var{tool}"
  10835. msgstr ""
  10836. #. type: table
  10837. #: guix-git/doc/guix.texi:6224
  10838. 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."
  10839. msgstr ""
  10840. #. type: item
  10841. #: guix-git/doc/guix.texi:6225
  10842. #, no-wrap
  10843. msgid "--symlink=@var{spec}"
  10844. msgstr ""
  10845. #. type: itemx
  10846. #: guix-git/doc/guix.texi:6226
  10847. #, no-wrap
  10848. msgid "-S @var{spec}"
  10849. msgstr ""
  10850. #. type: table
  10851. #: guix-git/doc/guix.texi:6229
  10852. msgid "Add the symlinks specified by @var{spec} to the pack. This option can appear several times."
  10853. msgstr ""
  10854. #. type: table
  10855. #: guix-git/doc/guix.texi:6233
  10856. 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."
  10857. msgstr ""
  10858. #. type: table
  10859. #: guix-git/doc/guix.texi:6236
  10860. 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."
  10861. msgstr ""
  10862. #. type: item
  10863. #: guix-git/doc/guix.texi:6237 guix-git/doc/guix.texi:33854
  10864. #, no-wrap
  10865. msgid "--save-provenance"
  10866. msgstr ""
  10867. #. type: table
  10868. #: guix-git/doc/guix.texi:6241
  10869. 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})."
  10870. msgstr ""
  10871. #. type: table
  10872. #: guix-git/doc/guix.texi:6247
  10873. 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."
  10874. msgstr ""
  10875. #. type: table
  10876. #: guix-git/doc/guix.texi:6253
  10877. 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."
  10878. msgstr ""
  10879. #. type: cindex
  10880. #: guix-git/doc/guix.texi:6256
  10881. #, no-wrap
  10882. msgid "garbage collector root, for packs"
  10883. msgstr ""
  10884. #. type: table
  10885. #: guix-git/doc/guix.texi:6259
  10886. msgid "Make @var{file} a symlink to the resulting pack, and register it as a garbage collector root."
  10887. msgstr ""
  10888. #. type: item
  10889. #: guix-git/doc/guix.texi:6260
  10890. #, no-wrap
  10891. msgid "--localstatedir"
  10892. msgstr ""
  10893. #. type: itemx
  10894. #: guix-git/doc/guix.texi:6261
  10895. #, no-wrap
  10896. msgid "--profile-name=@var{name}"
  10897. msgstr ""
  10898. #. type: table
  10899. #: guix-git/doc/guix.texi:6266
  10900. 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}."
  10901. msgstr ""
  10902. #. type: table
  10903. #: guix-git/doc/guix.texi:6272
  10904. 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."
  10905. msgstr ""
  10906. #. type: table
  10907. #: guix-git/doc/guix.texi:6275
  10908. msgid "One use case for this is the Guix self-contained binary tarball (@pxref{Binary Installation})."
  10909. msgstr ""
  10910. #. type: item
  10911. #: guix-git/doc/guix.texi:6276 guix-git/doc/guix.texi:33848
  10912. #, no-wrap
  10913. msgid "--derivation"
  10914. msgstr ""
  10915. #. type: itemx
  10916. #: guix-git/doc/guix.texi:6277 guix-git/doc/guix.texi:10933
  10917. #: guix-git/doc/guix.texi:33849
  10918. #, no-wrap
  10919. msgid "-d"
  10920. msgstr ""
  10921. #. type: table
  10922. #: guix-git/doc/guix.texi:6279
  10923. msgid "Print the name of the derivation that builds the pack."
  10924. msgstr ""
  10925. #. type: table
  10926. #: guix-git/doc/guix.texi:6283
  10927. msgid "Use the bootstrap binaries to build the pack. This option is only useful to Guix developers."
  10928. msgstr ""
  10929. #. type: Plain text
  10930. #: guix-git/doc/guix.texi:6288
  10931. 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})."
  10932. msgstr ""
  10933. #. type: cindex
  10934. #: guix-git/doc/guix.texi:6293
  10935. #, no-wrap
  10936. msgid "GCC"
  10937. msgstr ""
  10938. #. type: cindex
  10939. #: guix-git/doc/guix.texi:6294
  10940. #, no-wrap
  10941. msgid "ld-wrapper"
  10942. msgstr ""
  10943. #. type: cindex
  10944. #: guix-git/doc/guix.texi:6295
  10945. #, no-wrap
  10946. msgid "linker wrapper"
  10947. msgstr ""
  10948. #. type: cindex
  10949. #: guix-git/doc/guix.texi:6296
  10950. #, no-wrap
  10951. msgid "toolchain, for C development"
  10952. msgstr ""
  10953. #. type: cindex
  10954. #: guix-git/doc/guix.texi:6297
  10955. #, no-wrap
  10956. msgid "toolchain, for Fortran development"
  10957. msgstr ""
  10958. #. type: Plain text
  10959. #: guix-git/doc/guix.texi:6304
  10960. 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."
  10961. msgstr ""
  10962. #. type: Plain text
  10963. #: guix-git/doc/guix.texi:6310
  10964. 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}."
  10965. msgstr ""
  10966. #. type: Plain text
  10967. #: guix-git/doc/guix.texi:6314
  10968. 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})."
  10969. msgstr ""
  10970. #. type: section
  10971. #: guix-git/doc/guix.texi:6317
  10972. #, no-wrap
  10973. msgid "Invoking @command{guix git authenticate}"
  10974. msgstr ""
  10975. #. type: Plain text
  10976. #: guix-git/doc/guix.texi:6325
  10977. 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)."
  10978. msgstr ""
  10979. #. type: Plain text
  10980. #: guix-git/doc/guix.texi:6330
  10981. 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."
  10982. msgstr ""
  10983. #. type: example
  10984. #: guix-git/doc/guix.texi:6335
  10985. #, no-wrap
  10986. msgid "guix git authenticate @var{commit} @var{signer} [@var{options}@dots{}]\n"
  10987. msgstr ""
  10988. #. type: Plain text
  10989. #: guix-git/doc/guix.texi:6344
  10990. 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."
  10991. msgstr ""
  10992. #. type: item
  10993. #: guix-git/doc/guix.texi:6346
  10994. #, no-wrap
  10995. msgid "--repository=@var{directory}"
  10996. msgstr ""
  10997. #. type: itemx
  10998. #: guix-git/doc/guix.texi:6347
  10999. #, no-wrap
  11000. msgid "-r @var{directory}"
  11001. msgstr ""
  11002. #. type: table
  11003. #: guix-git/doc/guix.texi:6350
  11004. msgid "Open the Git repository in @var{directory} instead of the current directory."
  11005. msgstr ""
  11006. #. type: item
  11007. #: guix-git/doc/guix.texi:6351
  11008. #, no-wrap
  11009. msgid "--keyring=@var{reference}"
  11010. msgstr ""
  11011. #. type: itemx
  11012. #: guix-git/doc/guix.texi:6352
  11013. #, no-wrap
  11014. msgid "-k @var{reference}"
  11015. msgstr ""
  11016. #. type: table
  11017. #: guix-git/doc/guix.texi:6358
  11018. 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}."
  11019. msgstr ""
  11020. #. type: item
  11021. #: guix-git/doc/guix.texi:6359
  11022. #, no-wrap
  11023. msgid "--stats"
  11024. msgstr ""
  11025. #. type: table
  11026. #: guix-git/doc/guix.texi:6361
  11027. msgid "Display commit signing statistics upon completion."
  11028. msgstr ""
  11029. #. type: item
  11030. #: guix-git/doc/guix.texi:6362
  11031. #, no-wrap
  11032. msgid "--cache-key=@var{key}"
  11033. msgstr ""
  11034. #. type: table
  11035. #: guix-git/doc/guix.texi:6366
  11036. 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."
  11037. msgstr ""
  11038. #. type: item
  11039. #: guix-git/doc/guix.texi:6367
  11040. #, no-wrap
  11041. msgid "--historical-authorizations=@var{file}"
  11042. msgstr ""
  11043. #. type: table
  11044. #: guix-git/doc/guix.texi:6374
  11045. 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})."
  11046. msgstr ""
  11047. #. type: Plain text
  11048. #: guix-git/doc/guix.texi:6387
  11049. 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."
  11050. msgstr ""
  11051. #. type: Plain text
  11052. #: guix-git/doc/guix.texi:6393
  11053. 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."
  11054. msgstr ""
  11055. #. type: Plain text
  11056. #: guix-git/doc/guix.texi:6402
  11057. 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."
  11058. msgstr ""
  11059. #. type: Plain text
  11060. #: guix-git/doc/guix.texi:6405
  11061. msgid "This chapter describes all these APIs in turn, starting from high-level package definitions."
  11062. msgstr ""
  11063. #. type: menuentry
  11064. #: guix-git/doc/guix.texi:6418
  11065. msgid "Programming Guix in Guile"
  11066. msgstr ""
  11067. #. type: Plain text
  11068. #: guix-git/doc/guix.texi:6434
  11069. 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})."
  11070. msgstr ""
  11071. #. type: Plain text
  11072. #: guix-git/doc/guix.texi:6441
  11073. 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."
  11074. msgstr ""
  11075. #. type: cindex
  11076. #: guix-git/doc/guix.texi:6443
  11077. #, no-wrap
  11078. msgid "package module search path"
  11079. msgstr ""
  11080. #. type: Plain text
  11081. #: guix-git/doc/guix.texi:6452
  11082. 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:"
  11083. msgstr ""
  11084. #. type: enumerate
  11085. #: guix-git/doc/guix.texi:6459
  11086. 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."
  11087. msgstr ""
  11088. #. type: enumerate
  11089. #: guix-git/doc/guix.texi:6465
  11090. 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."
  11091. msgstr ""
  11092. #. type: Plain text
  11093. #: guix-git/doc/guix.texi:6468
  11094. msgid "@env{GUIX_PACKAGE_PATH} works similarly to other search path variables:"
  11095. msgstr ""
  11096. #. type: defvr
  11097. #: guix-git/doc/guix.texi:6469
  11098. #, no-wrap
  11099. msgid "{Environment Variable} GUIX_PACKAGE_PATH"
  11100. msgstr ""
  11101. #. type: defvr
  11102. #: guix-git/doc/guix.texi:6473
  11103. 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."
  11104. msgstr ""
  11105. #. type: Plain text
  11106. #: guix-git/doc/guix.texi:6481
  11107. 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}."
  11108. msgstr ""
  11109. #. type: Plain text
  11110. #: guix-git/doc/guix.texi:6489
  11111. 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:"
  11112. msgstr ""
  11113. #. type: lisp
  11114. #: guix-git/doc/guix.texi:6497
  11115. #, no-wrap
  11116. msgid ""
  11117. "(define-module (gnu packages hello)\n"
  11118. " #:use-module (guix packages)\n"
  11119. " #:use-module (guix download)\n"
  11120. " #:use-module (guix build-system gnu)\n"
  11121. " #:use-module (guix licenses)\n"
  11122. " #:use-module (gnu packages gawk))\n"
  11123. "\n"
  11124. msgstr ""
  11125. #. type: lisp
  11126. #: guix-git/doc/guix.texi:6516
  11127. #, no-wrap
  11128. msgid ""
  11129. "(define-public hello\n"
  11130. " (package\n"
  11131. " (name \"hello\")\n"
  11132. " (version \"2.10\")\n"
  11133. " (source (origin\n"
  11134. " (method url-fetch)\n"
  11135. " (uri (string-append \"mirror://gnu/hello/hello-\" version\n"
  11136. " \".tar.gz\"))\n"
  11137. " (sha256\n"
  11138. " (base32\n"
  11139. " \"0ssi1wpaf7plaswqqjwigppsg5fyh99vdlb9kzl7c9lng89ndq1i\"))))\n"
  11140. " (build-system gnu-build-system)\n"
  11141. " (arguments '(#:configure-flags '(\"--enable-silent-rules\")))\n"
  11142. " (inputs `((\"gawk\" ,gawk)))\n"
  11143. " (synopsis \"Hello, GNU world: An example GNU package\")\n"
  11144. " (description \"Guess what GNU Hello prints!\")\n"
  11145. " (home-page \"https://www.gnu.org/software/hello/\")\n"
  11146. " (license gpl3+)))\n"
  11147. msgstr ""
  11148. #. type: Plain text
  11149. #: guix-git/doc/guix.texi:6526
  11150. 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\"}."
  11151. msgstr ""
  11152. #. type: Plain text
  11153. #: guix-git/doc/guix.texi:6530
  11154. 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})."
  11155. msgstr ""
  11156. #. type: Plain text
  11157. #: guix-git/doc/guix.texi:6536
  11158. 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})."
  11159. msgstr ""
  11160. #. type: Plain text
  11161. #: guix-git/doc/guix.texi:6538
  11162. msgid "There are a few points worth noting in the above package definition:"
  11163. msgstr ""
  11164. #. type: itemize
  11165. #: guix-git/doc/guix.texi:6545
  11166. 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."
  11167. msgstr ""
  11168. #. type: itemize
  11169. #: guix-git/doc/guix.texi:6548
  11170. msgid "The @code{mirror://gnu} prefix instructs @code{url-fetch} to use one of the GNU mirrors defined in @code{(guix download)}."
  11171. msgstr ""
  11172. #. type: itemize
  11173. #: guix-git/doc/guix.texi:6555
  11174. 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})."
  11175. msgstr ""
  11176. #. type: cindex
  11177. #: guix-git/doc/guix.texi:6556
  11178. #, no-wrap
  11179. msgid "patches"
  11180. msgstr ""
  11181. #. type: itemize
  11182. #: guix-git/doc/guix.texi:6560
  11183. 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."
  11184. msgstr ""
  11185. #. type: cindex
  11186. #: guix-git/doc/guix.texi:6562
  11187. #, no-wrap
  11188. msgid "GNU Build System"
  11189. msgstr ""
  11190. #. type: itemize
  11191. #: guix-git/doc/guix.texi:6568
  11192. 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."
  11193. msgstr ""
  11194. #. type: itemize
  11195. #: guix-git/doc/guix.texi:6572
  11196. 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."
  11197. msgstr ""
  11198. #. type: itemize
  11199. #: guix-git/doc/guix.texi:6578
  11200. 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."
  11201. msgstr ""
  11202. #. type: findex
  11203. #: guix-git/doc/guix.texi:6579 guix-git/doc/guix.texi:6582
  11204. #, no-wrap
  11205. msgid "quote"
  11206. msgstr ""
  11207. #. type: cindex
  11208. #: guix-git/doc/guix.texi:6580
  11209. #, no-wrap
  11210. msgid "quoting"
  11211. msgstr ""
  11212. #. type: findex
  11213. #: guix-git/doc/guix.texi:6581
  11214. #, no-wrap
  11215. msgid "'"
  11216. msgstr ""
  11217. #. type: itemize
  11218. #: guix-git/doc/guix.texi:6590
  11219. 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})."
  11220. msgstr ""
  11221. #. type: itemize
  11222. #: guix-git/doc/guix.texi:6596
  11223. 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})."
  11224. msgstr ""
  11225. #. type: itemize
  11226. #: guix-git/doc/guix.texi:6602
  11227. 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."
  11228. msgstr ""
  11229. #. type: cindex
  11230. #: guix-git/doc/guix.texi:6603
  11231. #, no-wrap
  11232. msgid "backquote (quasiquote)"
  11233. msgstr ""
  11234. #. type: findex
  11235. #: guix-git/doc/guix.texi:6604
  11236. #, no-wrap
  11237. msgid "`"
  11238. msgstr ""
  11239. #. type: findex
  11240. #: guix-git/doc/guix.texi:6605
  11241. #, no-wrap
  11242. msgid "quasiquote"
  11243. msgstr ""
  11244. #. type: cindex
  11245. #: guix-git/doc/guix.texi:6606
  11246. #, no-wrap
  11247. msgid "comma (unquote)"
  11248. msgstr ""
  11249. #. type: findex
  11250. #: guix-git/doc/guix.texi:6607
  11251. #, no-wrap
  11252. msgid ","
  11253. msgstr ""
  11254. #. type: findex
  11255. #: guix-git/doc/guix.texi:6608
  11256. #, no-wrap
  11257. msgid "unquote"
  11258. msgstr ""
  11259. #. type: findex
  11260. #: guix-git/doc/guix.texi:6609
  11261. #, no-wrap
  11262. msgid ",@@"
  11263. msgstr ""
  11264. #. type: findex
  11265. #: guix-git/doc/guix.texi:6610
  11266. #, no-wrap
  11267. msgid "unquote-splicing"
  11268. msgstr ""
  11269. #. type: itemize
  11270. #: guix-git/doc/guix.texi:6616
  11271. 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})."
  11272. msgstr ""
  11273. #. type: itemize
  11274. #: guix-git/doc/guix.texi:6620
  11275. 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})."
  11276. msgstr ""
  11277. #. type: itemize
  11278. #: guix-git/doc/guix.texi:6624
  11279. 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."
  11280. msgstr ""
  11281. #. type: Plain text
  11282. #: guix-git/doc/guix.texi:6627
  11283. msgid "@xref{package Reference}, for a full description of possible fields."
  11284. msgstr ""
  11285. #. type: Plain text
  11286. #: guix-git/doc/guix.texi:6638
  11287. 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."
  11288. msgstr ""
  11289. #. type: vindex
  11290. #: guix-git/doc/guix.texi:6638
  11291. #, no-wrap
  11292. msgid "GUIX_PACKAGE_PATH"
  11293. msgstr ""
  11294. #. type: Plain text
  11295. #: guix-git/doc/guix.texi:6642
  11296. msgid "Lastly, @pxref{Channels}, for information on how to extend the distribution by adding your own package definitions in a ``channel''."
  11297. msgstr ""
  11298. #. type: Plain text
  11299. #: guix-git/doc/guix.texi:6646
  11300. 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})."
  11301. msgstr ""
  11302. #. type: Plain text
  11303. #: guix-git/doc/guix.texi:6652
  11304. 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})."
  11305. msgstr ""
  11306. #. type: deffn
  11307. #: guix-git/doc/guix.texi:6653
  11308. #, no-wrap
  11309. msgid "{Scheme Procedure} package-derivation @var{store} @var{package} [@var{system}]"
  11310. msgstr ""
  11311. #. type: deffn
  11312. #: guix-git/doc/guix.texi:6656
  11313. msgid "Return the @code{<derivation>} object of @var{package} for @var{system} (@pxref{Derivations})."
  11314. msgstr ""
  11315. #. type: deffn
  11316. #: guix-git/doc/guix.texi:6662
  11317. 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})."
  11318. msgstr ""
  11319. #. type: Plain text
  11320. #: guix-git/doc/guix.texi:6668
  11321. msgid "Similarly, it is possible to compute a derivation that cross-builds a package for some other system:"
  11322. msgstr ""
  11323. #. type: deffn
  11324. #: guix-git/doc/guix.texi:6669
  11325. #, no-wrap
  11326. msgid "{Scheme Procedure} package-cross-derivation @var{store} @"
  11327. msgstr ""
  11328. #. type: deffn
  11329. #: guix-git/doc/guix.texi:6673
  11330. msgid "@var{package} @var{target} [@var{system}] Return the @code{<derivation>} object of @var{package} cross-built from @var{system} to @var{target}."
  11331. msgstr ""
  11332. #. type: deffn
  11333. #: guix-git/doc/guix.texi:6677
  11334. 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})."
  11335. msgstr ""
  11336. #. type: Plain text
  11337. #: guix-git/doc/guix.texi:6681
  11338. msgid "Once you have package definitions, you can easily define @emph{variants} of those packages. @xref{Defining Package Variants}, for more on that."
  11339. msgstr ""
  11340. #. type: subsection
  11341. #: guix-git/doc/guix.texi:6689
  11342. #, no-wrap
  11343. msgid "@code{package} Reference"
  11344. msgstr ""
  11345. #. type: Plain text
  11346. #: guix-git/doc/guix.texi:6693
  11347. msgid "This section summarizes all the options available in @code{package} declarations (@pxref{Defining Packages})."
  11348. msgstr ""
  11349. #. type: deftp
  11350. #: guix-git/doc/guix.texi:6694
  11351. #, no-wrap
  11352. msgid "{Data Type} package"
  11353. msgstr ""
  11354. #. type: deftp
  11355. #: guix-git/doc/guix.texi:6696
  11356. msgid "This is the data type representing a package recipe."
  11357. msgstr ""
  11358. #. type: table
  11359. #: guix-git/doc/guix.texi:6700
  11360. msgid "The name of the package, as a string."
  11361. msgstr ""
  11362. #. type: code{#1}
  11363. #: guix-git/doc/guix.texi:6701
  11364. #, no-wrap
  11365. msgid "version"
  11366. msgstr ""
  11367. #. type: table
  11368. #: guix-git/doc/guix.texi:6704
  11369. msgid "The version of the package, as a string. @xref{Version Numbers}, for guidelines."
  11370. msgstr ""
  11371. #. type: code{#1}
  11372. #: guix-git/doc/guix.texi:6705 guix-git/doc/guix.texi:12105
  11373. #: guix-git/doc/guix.texi:14363 guix-git/doc/guix.texi:14866
  11374. #, no-wrap
  11375. msgid "source"
  11376. msgstr ""
  11377. #. type: table
  11378. #: guix-git/doc/guix.texi:6712
  11379. 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}})."
  11380. msgstr ""
  11381. #. type: code{#1}
  11382. #: guix-git/doc/guix.texi:6713
  11383. #, no-wrap
  11384. msgid "build-system"
  11385. msgstr ""
  11386. #. type: table
  11387. #: guix-git/doc/guix.texi:6716
  11388. msgid "The build system that should be used to build the package (@pxref{Build Systems})."
  11389. msgstr ""
  11390. #. type: item
  11391. #: guix-git/doc/guix.texi:6717 guix-git/doc/guix.texi:16851
  11392. #, no-wrap
  11393. msgid "@code{arguments} (default: @code{'()})"
  11394. msgstr ""
  11395. #. type: table
  11396. #: guix-git/doc/guix.texi:6720
  11397. msgid "The arguments that should be passed to the build system. This is a list, typically containing sequential keyword-value pairs."
  11398. msgstr ""
  11399. #. type: item
  11400. #: guix-git/doc/guix.texi:6721
  11401. #, no-wrap
  11402. msgid "@code{inputs} (default: @code{'()})"
  11403. msgstr ""
  11404. #. type: itemx
  11405. #: guix-git/doc/guix.texi:6722
  11406. #, no-wrap
  11407. msgid "@code{native-inputs} (default: @code{'()})"
  11408. msgstr ""
  11409. #. type: itemx
  11410. #: guix-git/doc/guix.texi:6723
  11411. #, no-wrap
  11412. msgid "@code{propagated-inputs} (default: @code{'()})"
  11413. msgstr ""
  11414. #. type: cindex
  11415. #: guix-git/doc/guix.texi:6724
  11416. #, no-wrap
  11417. msgid "inputs, of packages"
  11418. msgstr ""
  11419. #. type: table
  11420. #: guix-git/doc/guix.texi:6732
  11421. 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:"
  11422. msgstr ""
  11423. #. type: lisp
  11424. #: guix-git/doc/guix.texi:6737
  11425. #, no-wrap
  11426. msgid ""
  11427. "`((\"libffi\" ,libffi)\n"
  11428. " (\"libunistring\" ,libunistring)\n"
  11429. " (\"glib:bin\" ,glib \"bin\")) ;the \"bin\" output of Glib\n"
  11430. msgstr ""
  11431. #. type: cindex
  11432. #: guix-git/doc/guix.texi:6739
  11433. #, no-wrap
  11434. msgid "cross compilation, package dependencies"
  11435. msgstr ""
  11436. #. type: table
  11437. #: guix-git/doc/guix.texi:6745
  11438. 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."
  11439. msgstr ""
  11440. #. type: table
  11441. #: guix-git/doc/guix.texi:6750
  11442. 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})."
  11443. msgstr ""
  11444. #. type: anchor{#1}
  11445. #: guix-git/doc/guix.texi:6758
  11446. msgid "package-propagated-inputs"
  11447. msgstr ""
  11448. #. type: table
  11449. #: guix-git/doc/guix.texi:6758
  11450. 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)."
  11451. msgstr ""
  11452. #. type: table
  11453. #: guix-git/doc/guix.texi:6762
  11454. 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."
  11455. msgstr ""
  11456. #. type: table
  11457. #: guix-git/doc/guix.texi:6769
  11458. 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}."
  11459. msgstr ""
  11460. #. type: item
  11461. #: guix-git/doc/guix.texi:6770
  11462. #, no-wrap
  11463. msgid "@code{outputs} (default: @code{'(\"out\")})"
  11464. msgstr ""
  11465. #. type: table
  11466. #: guix-git/doc/guix.texi:6773
  11467. msgid "The list of output names of the package. @xref{Packages with Multiple Outputs}, for typical uses of additional outputs."
  11468. msgstr ""
  11469. #. type: item
  11470. #: guix-git/doc/guix.texi:6774
  11471. #, no-wrap
  11472. msgid "@code{native-search-paths} (default: @code{'()})"
  11473. msgstr ""
  11474. #. type: itemx
  11475. #: guix-git/doc/guix.texi:6775
  11476. #, no-wrap
  11477. msgid "@code{search-paths} (default: @code{'()})"
  11478. msgstr ""
  11479. #. type: table
  11480. #: guix-git/doc/guix.texi:6778
  11481. msgid "A list of @code{search-path-specification} objects describing search-path environment variables honored by the package."
  11482. msgstr ""
  11483. #. type: item
  11484. #: guix-git/doc/guix.texi:6779
  11485. #, no-wrap
  11486. msgid "@code{replacement} (default: @code{#f})"
  11487. msgstr ""
  11488. #. type: table
  11489. #: guix-git/doc/guix.texi:6783
  11490. 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."
  11491. msgstr ""
  11492. #. type: item
  11493. #: guix-git/doc/guix.texi:6784 guix-git/doc/guix.texi:12097
  11494. #, no-wrap
  11495. msgid "synopsis"
  11496. msgstr ""
  11497. #. type: table
  11498. #: guix-git/doc/guix.texi:6786
  11499. msgid "A one-line description of the package."
  11500. msgstr ""
  11501. #. type: code{#1}
  11502. #: guix-git/doc/guix.texi:6787 guix-git/doc/guix.texi:12098
  11503. #: guix-git/doc/guix.texi:34550 guix-git/doc/guix.texi:34701
  11504. #, no-wrap
  11505. msgid "description"
  11506. msgstr ""
  11507. #. type: table
  11508. #: guix-git/doc/guix.texi:6789
  11509. msgid "A more elaborate description of the package."
  11510. msgstr ""
  11511. #. type: code{#1}
  11512. #: guix-git/doc/guix.texi:6790
  11513. #, no-wrap
  11514. msgid "license"
  11515. msgstr ""
  11516. #. type: cindex
  11517. #: guix-git/doc/guix.texi:6791
  11518. #, no-wrap
  11519. msgid "license, of packages"
  11520. msgstr ""
  11521. #. type: table
  11522. #: guix-git/doc/guix.texi:6794
  11523. msgid "The license of the package; a value from @code{(guix licenses)}, or a list of such values."
  11524. msgstr ""
  11525. #. type: itemx
  11526. #: guix-git/doc/guix.texi:6795 guix-git/doc/guix.texi:12106
  11527. #, no-wrap
  11528. msgid "home-page"
  11529. msgstr ""
  11530. #. type: table
  11531. #: guix-git/doc/guix.texi:6797
  11532. msgid "The URL to the home-page of the package, as a string."
  11533. msgstr ""
  11534. #. type: item
  11535. #: guix-git/doc/guix.texi:6798
  11536. #, no-wrap
  11537. msgid "@code{supported-systems} (default: @code{%supported-systems})"
  11538. msgstr ""
  11539. #. type: table
  11540. #: guix-git/doc/guix.texi:6801
  11541. msgid "The list of systems supported by the package, as strings of the form @code{architecture-kernel}, for example @code{\"x86_64-linux\"}."
  11542. msgstr ""
  11543. #. type: item
  11544. #: guix-git/doc/guix.texi:6802
  11545. #, no-wrap
  11546. msgid "@code{location} (default: source location of the @code{package} form)"
  11547. msgstr ""
  11548. #. type: table
  11549. #: guix-git/doc/guix.texi:6806
  11550. 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."
  11551. msgstr ""
  11552. #. type: deffn
  11553. #: guix-git/doc/guix.texi:6809
  11554. #, no-wrap
  11555. msgid "{Scheme Syntax} this-package"
  11556. msgstr ""
  11557. #. type: deffn
  11558. #: guix-git/doc/guix.texi:6812
  11559. msgid "When used in the @emph{lexical scope} of a package field definition, this identifier resolves to the package being defined."
  11560. msgstr ""
  11561. #. type: deffn
  11562. #: guix-git/doc/guix.texi:6815
  11563. msgid "The example below shows how to add a package as a native input of itself when cross-compiling:"
  11564. msgstr ""
  11565. #. type: lisp
  11566. #: guix-git/doc/guix.texi:6820
  11567. #, no-wrap
  11568. msgid ""
  11569. "(package\n"
  11570. " (name \"guile\")\n"
  11571. " ;; ...\n"
  11572. "\n"
  11573. msgstr ""
  11574. #. type: lisp
  11575. #: guix-git/doc/guix.texi:6826
  11576. #, no-wrap
  11577. msgid ""
  11578. " ;; When cross-compiled, Guile, for example, depends on\n"
  11579. " ;; a native version of itself. Add it here.\n"
  11580. " (native-inputs (if (%current-target-system)\n"
  11581. " `((\"self\" ,this-package))\n"
  11582. " '())))\n"
  11583. msgstr ""
  11584. #. type: deffn
  11585. #: guix-git/doc/guix.texi:6829
  11586. msgid "It is an error to refer to @code{this-package} outside a package definition."
  11587. msgstr ""
  11588. #. type: Plain text
  11589. #: guix-git/doc/guix.texi:6835
  11590. 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."
  11591. msgstr ""
  11592. #. type: cindex
  11593. #: guix-git/doc/guix.texi:6836
  11594. #, no-wrap
  11595. msgid "tool chain, choosing a package's tool chain"
  11596. msgstr ""
  11597. #. type: deffn
  11598. #: guix-git/doc/guix.texi:6837
  11599. #, no-wrap
  11600. msgid "{Scheme Procedure} package-with-c-toolchain @var{package} @var{toolchain}"
  11601. msgstr ""
  11602. #. type: deffn
  11603. #: guix-git/doc/guix.texi:6842
  11604. 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."
  11605. msgstr ""
  11606. #. type: deffn
  11607. #: guix-git/doc/guix.texi:6846
  11608. 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:"
  11609. msgstr ""
  11610. #. type: lisp
  11611. #: guix-git/doc/guix.texi:6850
  11612. #, no-wrap
  11613. msgid ""
  11614. "(let ((toolchain (specification->package \"gcc-toolchain@@10\")))\n"
  11615. " (package-with-c-toolchain hello `((\"toolchain\" ,toolchain))))\n"
  11616. msgstr ""
  11617. #. type: deffn
  11618. #: guix-git/doc/guix.texi:6858
  11619. 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."
  11620. msgstr ""
  11621. #. type: subsection
  11622. #: guix-git/doc/guix.texi:6861
  11623. #, no-wrap
  11624. msgid "@code{origin} Reference"
  11625. msgstr ""
  11626. #. type: Plain text
  11627. #: guix-git/doc/guix.texi:6869
  11628. 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."
  11629. msgstr ""
  11630. #. type: deftp
  11631. #: guix-git/doc/guix.texi:6870
  11632. #, no-wrap
  11633. msgid "{Data Type} origin"
  11634. msgstr ""
  11635. #. type: deftp
  11636. #: guix-git/doc/guix.texi:6872
  11637. msgid "This is the data type representing a source code origin."
  11638. msgstr ""
  11639. #. type: code{#1}
  11640. #: guix-git/doc/guix.texi:6874 guix-git/doc/guix.texi:25394
  11641. #, no-wrap
  11642. msgid "uri"
  11643. msgstr ""
  11644. #. type: table
  11645. #: guix-git/doc/guix.texi:6879
  11646. 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."
  11647. msgstr ""
  11648. #. type: cindex
  11649. #: guix-git/doc/guix.texi:6880
  11650. #, no-wrap
  11651. msgid "fixed-output derivations, for download"
  11652. msgstr ""
  11653. #. type: code{#1}
  11654. #: guix-git/doc/guix.texi:6881
  11655. #, no-wrap
  11656. msgid "method"
  11657. msgstr ""
  11658. #. type: table
  11659. #: guix-git/doc/guix.texi:6888
  11660. 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})."
  11661. msgstr ""
  11662. #. type: table
  11663. #: guix-git/doc/guix.texi:6892
  11664. 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)."
  11665. msgstr ""
  11666. #. type: code{#1}
  11667. #: guix-git/doc/guix.texi:6893
  11668. #, no-wrap
  11669. msgid "sha256"
  11670. msgstr ""
  11671. #. type: table
  11672. #: guix-git/doc/guix.texi:6897
  11673. 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."
  11674. msgstr ""
  11675. #. type: code{#1}
  11676. #: guix-git/doc/guix.texi:6898
  11677. #, no-wrap
  11678. msgid "hash"
  11679. msgstr ""
  11680. #. type: table
  11681. #: guix-git/doc/guix.texi:6901
  11682. msgid "The @code{content-hash} object of the source---see below for how to use @code{content-hash}."
  11683. msgstr ""
  11684. #. type: table
  11685. #: guix-git/doc/guix.texi:6905
  11686. msgid "You can obtain this information using @code{guix download} (@pxref{Invoking guix download}) or @code{guix hash} (@pxref{Invoking guix hash})."
  11687. msgstr ""
  11688. #. type: item
  11689. #: guix-git/doc/guix.texi:6906
  11690. #, no-wrap
  11691. msgid "@code{file-name} (default: @code{#f})"
  11692. msgstr ""
  11693. #. type: table
  11694. #: guix-git/doc/guix.texi:6912
  11695. 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."
  11696. msgstr ""
  11697. #. type: item
  11698. #: guix-git/doc/guix.texi:6913
  11699. #, no-wrap
  11700. msgid "@code{patches} (default: @code{'()})"
  11701. msgstr ""
  11702. #. type: table
  11703. #: guix-git/doc/guix.texi:6916
  11704. 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."
  11705. msgstr ""
  11706. #. type: table
  11707. #: guix-git/doc/guix.texi:6920
  11708. 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}."
  11709. msgstr ""
  11710. #. type: item
  11711. #: guix-git/doc/guix.texi:6921
  11712. #, no-wrap
  11713. msgid "@code{snippet} (default: @code{#f})"
  11714. msgstr ""
  11715. #. type: table
  11716. #: guix-git/doc/guix.texi:6925
  11717. 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."
  11718. msgstr ""
  11719. #. type: item
  11720. #: guix-git/doc/guix.texi:6926
  11721. #, no-wrap
  11722. msgid "@code{patch-flags} (default: @code{'(\"-p1\")})"
  11723. msgstr ""
  11724. #. type: table
  11725. #: guix-git/doc/guix.texi:6929
  11726. msgid "A list of command-line flags that should be passed to the @code{patch} command."
  11727. msgstr ""
  11728. #. type: item
  11729. #: guix-git/doc/guix.texi:6930
  11730. #, no-wrap
  11731. msgid "@code{patch-inputs} (default: @code{#f})"
  11732. msgstr ""
  11733. #. type: table
  11734. #: guix-git/doc/guix.texi:6934
  11735. 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."
  11736. msgstr ""
  11737. #. type: item
  11738. #: guix-git/doc/guix.texi:6935 guix-git/doc/guix.texi:25267
  11739. #, no-wrap
  11740. msgid "@code{modules} (default: @code{'()})"
  11741. msgstr ""
  11742. #. type: table
  11743. #: guix-git/doc/guix.texi:6938
  11744. msgid "A list of Guile modules that should be loaded during the patching process and while running the code in the @code{snippet} field."
  11745. msgstr ""
  11746. #. type: item
  11747. #: guix-git/doc/guix.texi:6939
  11748. #, no-wrap
  11749. msgid "@code{patch-guile} (default: @code{#f})"
  11750. msgstr ""
  11751. #. type: table
  11752. #: guix-git/doc/guix.texi:6942
  11753. msgid "The Guile package that should be used in the patching process. When this is @code{#f}, a sensible default is used."
  11754. msgstr ""
  11755. #. type: deftp
  11756. #: guix-git/doc/guix.texi:6945
  11757. #, no-wrap
  11758. msgid "{Data Type} content-hash @var{value} [@var{algorithm}]"
  11759. msgstr ""
  11760. #. type: deftp
  11761. #: guix-git/doc/guix.texi:6949
  11762. 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}."
  11763. msgstr ""
  11764. #. type: deftp
  11765. #: guix-git/doc/guix.texi:6952
  11766. msgid "@var{value} can be a literal string, in which case it is base32-decoded, or it can be a bytevector."
  11767. msgstr ""
  11768. #. type: deftp
  11769. #: guix-git/doc/guix.texi:6954
  11770. msgid "The following forms are all equivalent:"
  11771. msgstr ""
  11772. #. type: lisp
  11773. #: guix-git/doc/guix.texi:6963
  11774. #, no-wrap
  11775. msgid ""
  11776. "(content-hash \"05zxkyz9bv3j9h0xyid1rhvh3klhsmrpkf3bcs6frvlgyr2gwilj\")\n"
  11777. "(content-hash \"05zxkyz9bv3j9h0xyid1rhvh3klhsmrpkf3bcs6frvlgyr2gwilj\"\n"
  11778. " sha256)\n"
  11779. "(content-hash (base32\n"
  11780. " \"05zxkyz9bv3j9h0xyid1rhvh3klhsmrpkf3bcs6frvlgyr2gwilj\"))\n"
  11781. "(content-hash (base64 \"kkb+RPaP7uyMZmu4eXPVkM4BN8yhRd8BTHLslb6f/Rc=\")\n"
  11782. " sha256)\n"
  11783. msgstr ""
  11784. #. type: deftp
  11785. #: guix-git/doc/guix.texi:6968
  11786. 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}."
  11787. msgstr ""
  11788. #. type: Plain text
  11789. #: guix-git/doc/guix.texi:6974
  11790. 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."
  11791. msgstr ""
  11792. #. type: deffn
  11793. #: guix-git/doc/guix.texi:6975
  11794. #, no-wrap
  11795. msgid "{Scheme Procedure} url-fetch @var{url} @var{hash-algo} @var{hash} @"
  11796. msgstr ""
  11797. #. type: deffn
  11798. #: guix-git/doc/guix.texi:6983
  11799. 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."
  11800. msgstr ""
  11801. #. type: deffn
  11802. #: guix-git/doc/guix.texi:6986
  11803. 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}."
  11804. msgstr ""
  11805. #. type: deffn
  11806. #: guix-git/doc/guix.texi:6989
  11807. msgid "Alternatively, when URL starts with @code{file://}, return the corresponding file name in the store."
  11808. msgstr ""
  11809. #. type: Plain text
  11810. #: guix-git/doc/guix.texi:6995
  11811. 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."
  11812. msgstr ""
  11813. #. type: deffn
  11814. #: guix-git/doc/guix.texi:6996
  11815. #, no-wrap
  11816. msgid "{Scheme Procedure} git-fetch @var{ref} @var{hash-algo} @var{hash}"
  11817. msgstr ""
  11818. #. type: deffn
  11819. #: guix-git/doc/guix.texi:7001
  11820. 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}."
  11821. msgstr ""
  11822. #. type: deftp
  11823. #: guix-git/doc/guix.texi:7003
  11824. #, no-wrap
  11825. msgid "{Data Type} git-reference"
  11826. msgstr ""
  11827. #. type: deftp
  11828. #: guix-git/doc/guix.texi:7006
  11829. msgid "This data type represents a Git reference for @code{git-fetch} to retrieve."
  11830. msgstr ""
  11831. #. type: code{#1}
  11832. #: guix-git/doc/guix.texi:7008 guix-git/doc/guix.texi:23029
  11833. #, no-wrap
  11834. msgid "url"
  11835. msgstr ""
  11836. #. type: table
  11837. #: guix-git/doc/guix.texi:7010
  11838. msgid "The URL of the Git repository to clone."
  11839. msgstr ""
  11840. #. type: code{#1}
  11841. #: guix-git/doc/guix.texi:7011
  11842. #, no-wrap
  11843. msgid "commit"
  11844. msgstr "úprava"
  11845. #. type: table
  11846. #: guix-git/doc/guix.texi:7015
  11847. 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."
  11848. msgstr ""
  11849. #. type: item
  11850. #: guix-git/doc/guix.texi:7016
  11851. #, no-wrap
  11852. msgid "@code{recursive?} (default: @code{#f})"
  11853. msgstr ""
  11854. #. type: table
  11855. #: guix-git/doc/guix.texi:7018
  11856. msgid "This Boolean indicates whether to recursively fetch Git sub-modules."
  11857. msgstr ""
  11858. #. type: deftp
  11859. #: guix-git/doc/guix.texi:7022
  11860. msgid "The example below denotes the @code{v2.10} tag of the GNU@tie{}Hello repository:"
  11861. msgstr ""
  11862. #. type: lisp
  11863. #: guix-git/doc/guix.texi:7027
  11864. #, no-wrap
  11865. msgid ""
  11866. "(git-reference\n"
  11867. " (url \"https://git.savannah.gnu.org/git/hello.git\")\n"
  11868. " (commit \"v2.10\"))\n"
  11869. msgstr ""
  11870. #. type: deftp
  11871. #: guix-git/doc/guix.texi:7031
  11872. msgid "This is equivalent to the reference below, which explicitly names the commit:"
  11873. msgstr ""
  11874. #. type: lisp
  11875. #: guix-git/doc/guix.texi:7036
  11876. #, no-wrap
  11877. msgid ""
  11878. "(git-reference\n"
  11879. " (url \"https://git.savannah.gnu.org/git/hello.git\")\n"
  11880. " (commit \"dc7dc56a00e48fe6f231a58f6537139fe2908fb9\"))\n"
  11881. msgstr ""
  11882. #. type: Plain text
  11883. #: guix-git/doc/guix.texi:7042
  11884. 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."
  11885. msgstr ""
  11886. #. type: deffn
  11887. #: guix-git/doc/guix.texi:7043
  11888. #, no-wrap
  11889. msgid "{Scheme Procedure} hg-fetch @var{ref} @var{hash-algo} @var{hash} @"
  11890. msgstr ""
  11891. #. type: deffn
  11892. #: guix-git/doc/guix.texi:7049
  11893. 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}."
  11894. msgstr ""
  11895. #. type: cindex
  11896. #: guix-git/doc/guix.texi:7054
  11897. #, no-wrap
  11898. msgid "customizing packages"
  11899. msgstr ""
  11900. #. type: cindex
  11901. #: guix-git/doc/guix.texi:7055
  11902. #, no-wrap
  11903. msgid "variants, of packages"
  11904. msgstr ""
  11905. #. type: Plain text
  11906. #: guix-git/doc/guix.texi:7065
  11907. 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!"
  11908. msgstr ""
  11909. #. type: cindex
  11910. #: guix-git/doc/guix.texi:7066
  11911. #, no-wrap
  11912. msgid "inherit, for package definitions"
  11913. msgstr ""
  11914. #. type: Plain text
  11915. #: guix-git/doc/guix.texi:7073
  11916. 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."
  11917. msgstr ""
  11918. #. type: Plain text
  11919. #: guix-git/doc/guix.texi:7078
  11920. 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!):"
  11921. msgstr ""
  11922. #. type: lisp
  11923. #: guix-git/doc/guix.texi:7081
  11924. #, no-wrap
  11925. msgid ""
  11926. "(use-modules (gnu packages base)) ;for 'hello'\n"
  11927. "\n"
  11928. msgstr ""
  11929. #. type: lisp
  11930. #: guix-git/doc/guix.texi:7093
  11931. #, no-wrap
  11932. msgid ""
  11933. "(define hello-2.2\n"
  11934. " (package\n"
  11935. " (inherit hello)\n"
  11936. " (version \"2.2\")\n"
  11937. " (source (origin\n"
  11938. " (method url-fetch)\n"
  11939. " (uri (string-append \"mirror://gnu/hello/hello-\" version\n"
  11940. " \".tar.gz\"))\n"
  11941. " (sha256\n"
  11942. " (base32\n"
  11943. " \"0lappv4slgb5spyqbh6yl5r013zv72yqg2pcl30mginf3wdqd8k9\"))))))\n"
  11944. msgstr ""
  11945. #. type: Plain text
  11946. #: guix-git/doc/guix.texi:7102
  11947. 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."
  11948. msgstr ""
  11949. #. type: Plain text
  11950. #: guix-git/doc/guix.texi:7108
  11951. 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:"
  11952. msgstr ""
  11953. #. type: lisp
  11954. #: guix-git/doc/guix.texi:7112
  11955. #, no-wrap
  11956. msgid ""
  11957. "(use-modules (gnu packages gdb) ;for 'gdb'\n"
  11958. " (srfi srfi-1)) ;for 'alist-delete'\n"
  11959. "\n"
  11960. msgstr ""
  11961. #. type: lisp
  11962. #: guix-git/doc/guix.texi:7118
  11963. #, no-wrap
  11964. msgid ""
  11965. "(define gdb-sans-guile\n"
  11966. " (package\n"
  11967. " (inherit gdb)\n"
  11968. " (inputs (alist-delete \"guile\"\n"
  11969. " (package-inputs gdb)))))\n"
  11970. msgstr ""
  11971. #. type: Plain text
  11972. #: guix-git/doc/guix.texi:7124
  11973. 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})."
  11974. msgstr ""
  11975. #. type: Plain text
  11976. #: guix-git/doc/guix.texi:7132
  11977. 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:"
  11978. msgstr ""
  11979. #. type: lisp
  11980. #: guix-git/doc/guix.texi:7143
  11981. #, no-wrap
  11982. msgid ""
  11983. "(define (make-lua-socket name lua)\n"
  11984. " ;; Return a luasocket package built with LUA.\n"
  11985. " (package\n"
  11986. " (name name)\n"
  11987. " (version \"3.0\")\n"
  11988. " ;; several fields omitted\n"
  11989. " (inputs\n"
  11990. " `((\"lua\" ,lua)))\n"
  11991. " (synopsis \"Socket library for Lua\")))\n"
  11992. "\n"
  11993. msgstr ""
  11994. #. type: lisp
  11995. #: guix-git/doc/guix.texi:7146
  11996. #, no-wrap
  11997. msgid ""
  11998. "(define-public lua5.1-socket\n"
  11999. " (make-lua-socket \"lua5.1-socket\" lua-5.1))\n"
  12000. "\n"
  12001. msgstr ""
  12002. #. type: lisp
  12003. #: guix-git/doc/guix.texi:7149
  12004. #, no-wrap
  12005. msgid ""
  12006. "(define-public lua5.2-socket\n"
  12007. " (make-lua-socket \"lua5.2-socket\" lua-5.2))\n"
  12008. msgstr ""
  12009. #. type: Plain text
  12010. #: guix-git/doc/guix.texi:7157
  12011. 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})."
  12012. msgstr ""
  12013. #. type: cindex
  12014. #: guix-git/doc/guix.texi:7158
  12015. #, no-wrap
  12016. msgid "package transformations"
  12017. msgstr ""
  12018. #. type: Plain text
  12019. #: guix-git/doc/guix.texi:7163
  12020. 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}):"
  12021. msgstr ""
  12022. #. type: deffn
  12023. #: guix-git/doc/guix.texi:7164
  12024. #, no-wrap
  12025. msgid "{Scheme Procedure} options->transformation @var{opts}"
  12026. msgstr ""
  12027. #. type: deffn
  12028. #: guix-git/doc/guix.texi:7168
  12029. 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:"
  12030. msgstr ""
  12031. #. type: lisp
  12032. #: guix-git/doc/guix.texi:7172
  12033. #, no-wrap
  12034. msgid ""
  12035. "((with-branch . \"guile-gcrypt=master\")\n"
  12036. " (without-tests . \"libgcrypt\"))\n"
  12037. msgstr ""
  12038. #. type: deffn
  12039. #: guix-git/doc/guix.texi:7176
  12040. msgid "Each symbol names a transformation and the corresponding string is an argument to that transformation."
  12041. msgstr ""
  12042. #. type: Plain text
  12043. #: guix-git/doc/guix.texi:7179
  12044. msgid "For instance, a manifest equivalent to this command:"
  12045. msgstr ""
  12046. #. type: example
  12047. #: guix-git/doc/guix.texi:7184
  12048. #, no-wrap
  12049. msgid ""
  12050. "guix build guix \\\n"
  12051. " --with-branch=guile-gcrypt=master \\\n"
  12052. " --with-debug-info=zlib\n"
  12053. msgstr ""
  12054. #. type: Plain text
  12055. #: guix-git/doc/guix.texi:7188
  12056. msgid "... would look like this:"
  12057. msgstr ""
  12058. #. type: lisp
  12059. #: guix-git/doc/guix.texi:7191
  12060. #, no-wrap
  12061. msgid ""
  12062. "(use-modules (guix transformations))\n"
  12063. "\n"
  12064. msgstr ""
  12065. #. type: lisp
  12066. #: guix-git/doc/guix.texi:7197
  12067. #, no-wrap
  12068. msgid ""
  12069. "(define transform\n"
  12070. " ;; The package transformation procedure.\n"
  12071. " (options->transformation\n"
  12072. " '((with-branch . \"guile-gcrypt=master\")\n"
  12073. " (with-debug-info . \"zlib\"))))\n"
  12074. "\n"
  12075. msgstr ""
  12076. #. type: lisp
  12077. #: guix-git/doc/guix.texi:7200
  12078. #, no-wrap
  12079. msgid ""
  12080. "(packages->manifest\n"
  12081. " (list (transform (specification->package \"guix\"))))\n"
  12082. msgstr ""
  12083. #. type: cindex
  12084. #: guix-git/doc/guix.texi:7202
  12085. #, no-wrap
  12086. msgid "input rewriting"
  12087. msgstr ""
  12088. #. type: cindex
  12089. #: guix-git/doc/guix.texi:7203
  12090. #, no-wrap
  12091. msgid "dependency graph rewriting"
  12092. msgstr ""
  12093. #. type: Plain text
  12094. #: guix-git/doc/guix.texi:7210
  12095. 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."
  12096. msgstr ""
  12097. #. type: Plain text
  12098. #: guix-git/doc/guix.texi:7214
  12099. 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."
  12100. msgstr ""
  12101. #. type: deffn
  12102. #: guix-git/doc/guix.texi:7215
  12103. #, no-wrap
  12104. msgid "{Scheme Procedure} package-input-rewriting @var{replacements} @"
  12105. msgstr ""
  12106. #. type: deffn
  12107. #: guix-git/doc/guix.texi:7222
  12108. 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."
  12109. msgstr ""
  12110. #. type: deffn
  12111. #: guix-git/doc/guix.texi:7225
  12112. msgid "Optionally, @var{rewrite-name} is a one-argument procedure that takes the name of a package and returns its new name after rewrite."
  12113. msgstr ""
  12114. #. type: table
  12115. #: guix-git/doc/guix.texi:7229 guix-git/doc/guix.texi:10579
  12116. msgid "Consider this example:"
  12117. msgstr ""
  12118. #. type: lisp
  12119. #: guix-git/doc/guix.texi:7235
  12120. #, no-wrap
  12121. msgid ""
  12122. "(define libressl-instead-of-openssl\n"
  12123. " ;; This is a procedure to replace OPENSSL by LIBRESSL,\n"
  12124. " ;; recursively.\n"
  12125. " (package-input-rewriting `((,openssl . ,libressl))))\n"
  12126. "\n"
  12127. msgstr ""
  12128. #. type: lisp
  12129. #: guix-git/doc/guix.texi:7238
  12130. #, no-wrap
  12131. msgid ""
  12132. "(define git-with-libressl\n"
  12133. " (libressl-instead-of-openssl git))\n"
  12134. msgstr ""
  12135. #. type: Plain text
  12136. #: guix-git/doc/guix.texi:7246
  12137. 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}})."
  12138. msgstr ""
  12139. #. type: Plain text
  12140. #: guix-git/doc/guix.texi:7249
  12141. msgid "The following variant of @code{package-input-rewriting} can match packages to be replaced by name rather than by identity."
  12142. msgstr ""
  12143. #. type: deffn
  12144. #: guix-git/doc/guix.texi:7250
  12145. #, no-wrap
  12146. msgid "{Scheme Procedure} package-input-rewriting/spec @var{replacements} [#:deep? #t]"
  12147. msgstr ""
  12148. #. type: deffn
  12149. #: guix-git/doc/guix.texi:7257
  12150. 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."
  12151. msgstr ""
  12152. #. type: Plain text
  12153. #: guix-git/doc/guix.texi:7260
  12154. msgid "The example above could be rewritten this way:"
  12155. msgstr ""
  12156. #. type: lisp
  12157. #: guix-git/doc/guix.texi:7265
  12158. #, no-wrap
  12159. msgid ""
  12160. "(define libressl-instead-of-openssl\n"
  12161. " ;; Replace all the packages called \"openssl\" with LibreSSL.\n"
  12162. " (package-input-rewriting/spec `((\"openssl\" . ,(const libressl)))))\n"
  12163. msgstr ""
  12164. #. type: Plain text
  12165. #: guix-git/doc/guix.texi:7270
  12166. 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."
  12167. msgstr ""
  12168. #. type: Plain text
  12169. #: guix-git/doc/guix.texi:7274
  12170. msgid "A more generic procedure to rewrite a package dependency graph is @code{package-mapping}: it supports arbitrary changes to nodes in the graph."
  12171. msgstr ""
  12172. #. type: deffn
  12173. #: guix-git/doc/guix.texi:7275
  12174. #, no-wrap
  12175. msgid "{Scheme Procedure} package-mapping @var{proc} [@var{cut?}] [#:deep? #f]"
  12176. msgstr ""
  12177. #. type: deffn
  12178. #: guix-git/doc/guix.texi:7280
  12179. 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."
  12180. msgstr ""
  12181. #. type: cindex
  12182. #: guix-git/doc/guix.texi:7286
  12183. #, no-wrap
  12184. msgid "build system"
  12185. msgstr ""
  12186. #. type: Plain text
  12187. #: guix-git/doc/guix.texi:7291
  12188. 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."
  12189. msgstr ""
  12190. #. type: Plain text
  12191. #: guix-git/doc/guix.texi:7295
  12192. 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."
  12193. msgstr ""
  12194. #. type: cindex
  12195. #: guix-git/doc/guix.texi:7296
  12196. #, no-wrap
  12197. msgid "bag (low-level package representation)"
  12198. msgstr ""
  12199. #. type: Plain text
  12200. #: guix-git/doc/guix.texi:7306
  12201. 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}})."
  12202. msgstr ""
  12203. #. type: Plain text
  12204. #: guix-git/doc/guix.texi:7314
  12205. 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})."
  12206. msgstr ""
  12207. #. type: Plain text
  12208. #: guix-git/doc/guix.texi:7318
  12209. 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."
  12210. msgstr ""
  12211. #. type: defvr
  12212. #: guix-git/doc/guix.texi:7319
  12213. #, no-wrap
  12214. msgid "{Scheme Variable} gnu-build-system"
  12215. msgstr ""
  12216. #. type: defvr
  12217. #: guix-git/doc/guix.texi:7323
  12218. msgid "@code{gnu-build-system} represents the GNU Build System, and variants thereof (@pxref{Configuration, configuration and makefile conventions,, standards, GNU Coding Standards})."
  12219. msgstr ""
  12220. #. type: cindex
  12221. #: guix-git/doc/guix.texi:7324 guix-git/doc/guix.texi:8264
  12222. #: guix-git/doc/guix.texi:8719
  12223. #, no-wrap
  12224. msgid "build phases"
  12225. msgstr ""
  12226. #. type: defvr
  12227. #: guix-git/doc/guix.texi:7331
  12228. 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."
  12229. msgstr ""
  12230. #. type: defvr
  12231. #: guix-git/doc/guix.texi:7338
  12232. 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."
  12233. msgstr ""
  12234. #. type: defvr
  12235. #: guix-git/doc/guix.texi:7342
  12236. 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:"
  12237. msgstr ""
  12238. #. type: item
  12239. #: guix-git/doc/guix.texi:7344
  12240. #, no-wrap
  12241. msgid "#:phases"
  12242. msgstr ""
  12243. #. type: table
  12244. #: guix-git/doc/guix.texi:7347
  12245. msgid "This argument specifies build-side code that evaluates to an alist of build phases. @xref{Build Phases}, for more information."
  12246. msgstr ""
  12247. #. type: item
  12248. #: guix-git/doc/guix.texi:7348
  12249. #, no-wrap
  12250. msgid "#:configure-flags"
  12251. msgstr ""
  12252. #. type: table
  12253. #: guix-git/doc/guix.texi:7351
  12254. msgid "This is a list of flags (strings) passed to the @command{configure} script. @xref{Defining Packages}, for an example."
  12255. msgstr ""
  12256. #. type: item
  12257. #: guix-git/doc/guix.texi:7352
  12258. #, no-wrap
  12259. msgid "#:make-flags"
  12260. msgstr ""
  12261. #. type: table
  12262. #: guix-git/doc/guix.texi:7356
  12263. msgid "This list of strings contains flags passed as arguments to @command{make} invocations in the @code{build}, @code{check}, and @code{install} phases."
  12264. msgstr ""
  12265. #. type: item
  12266. #: guix-git/doc/guix.texi:7357
  12267. #, no-wrap
  12268. msgid "#:out-of-source?"
  12269. msgstr ""
  12270. #. type: table
  12271. #: guix-git/doc/guix.texi:7360
  12272. msgid "This Boolean, @code{#f} by default, indicates whether to run builds in a build directory separate from the source tree."
  12273. msgstr ""
  12274. #. type: table
  12275. #: guix-git/doc/guix.texi:7365
  12276. 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}."
  12277. msgstr ""
  12278. #. type: item
  12279. #: guix-git/doc/guix.texi:7366
  12280. #, no-wrap
  12281. msgid "#:tests?"
  12282. msgstr ""
  12283. #. type: table
  12284. #: guix-git/doc/guix.texi:7369
  12285. msgid "This Boolean, @code{#t} by default, indicates whether the @code{check} phase should run the package's test suite."
  12286. msgstr ""
  12287. #. type: item
  12288. #: guix-git/doc/guix.texi:7370
  12289. #, no-wrap
  12290. msgid "#:test-target"
  12291. msgstr ""
  12292. #. type: table
  12293. #: guix-git/doc/guix.texi:7373
  12294. msgid "This string, @code{\"check\"} by default, gives the name of the makefile target used by the @code{check} phase."
  12295. msgstr ""
  12296. #. type: item
  12297. #: guix-git/doc/guix.texi:7374
  12298. #, no-wrap
  12299. msgid "#:parallel-build?"
  12300. msgstr ""
  12301. #. type: itemx
  12302. #: guix-git/doc/guix.texi:7375
  12303. #, no-wrap
  12304. msgid "#:parallel-tests?"
  12305. msgstr ""
  12306. #. type: table
  12307. #: guix-git/doc/guix.texi:7382
  12308. 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}})."
  12309. msgstr ""
  12310. #. type: cindex
  12311. #: guix-git/doc/guix.texi:7383
  12312. #, no-wrap
  12313. msgid "RUNPATH, validation"
  12314. msgstr ""
  12315. #. type: item
  12316. #: guix-git/doc/guix.texi:7384
  12317. #, no-wrap
  12318. msgid "#:validate-runpath?"
  12319. msgstr ""
  12320. #. type: table
  12321. #: guix-git/doc/guix.texi:7388
  12322. 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."
  12323. msgstr ""
  12324. #. type: table
  12325. #: guix-git/doc/guix.texi:7396
  12326. msgid "This validation step consists in making sure that all the shared libraries needed by an ELF binary, which are listed as @code{DT_NEEDED} entries in its @code{PT_DYNAMIC} segment, appear in the @code{DT_RUNPATH} entry of that binary. In other words, it ensures that running or using those binaries will not result in a ``file not found'' error at run time. @xref{Options, @option{-rpath},, ld, The GNU Linker}, for more information on @code{RUNPATH}."
  12327. msgstr ""
  12328. #. type: item
  12329. #: guix-git/doc/guix.texi:7397
  12330. #, no-wrap
  12331. msgid "#:substitutable?"
  12332. msgstr ""
  12333. #. type: table
  12334. #: guix-git/doc/guix.texi:7401
  12335. 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})."
  12336. msgstr ""
  12337. #. type: item
  12338. #: guix-git/doc/guix.texi:7402
  12339. #, no-wrap
  12340. msgid "#:allowed-references"
  12341. msgstr ""
  12342. #. type: itemx
  12343. #: guix-git/doc/guix.texi:7403
  12344. #, no-wrap
  12345. msgid "#:disallowed-references"
  12346. msgstr ""
  12347. #. type: table
  12348. #: guix-git/doc/guix.texi:7408
  12349. 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."
  12350. msgstr ""
  12351. #. type: table
  12352. #: guix-git/doc/guix.texi:7413
  12353. 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})."
  12354. msgstr ""
  12355. #. type: defvr
  12356. #: guix-git/doc/guix.texi:7416
  12357. msgid "Most other build systems support these keyword arguments."
  12358. msgstr ""
  12359. #. type: Plain text
  12360. #: guix-git/doc/guix.texi:7423
  12361. 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."
  12362. msgstr ""
  12363. #. type: defvr
  12364. #: guix-git/doc/guix.texi:7424
  12365. #, no-wrap
  12366. msgid "{Scheme Variable} ant-build-system"
  12367. msgstr ""
  12368. #. type: defvr
  12369. #: guix-git/doc/guix.texi:7428
  12370. 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}."
  12371. msgstr ""
  12372. #. type: defvr
  12373. #: guix-git/doc/guix.texi:7433
  12374. 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."
  12375. msgstr ""
  12376. #. type: defvr
  12377. #: guix-git/doc/guix.texi:7439
  12378. 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''."
  12379. msgstr ""
  12380. #. type: defvr
  12381. #: guix-git/doc/guix.texi:7447
  12382. 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."
  12383. msgstr ""
  12384. #. type: defvr
  12385. #: guix-git/doc/guix.texi:7451
  12386. 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."
  12387. msgstr ""
  12388. #. type: defvr
  12389. #: guix-git/doc/guix.texi:7454
  12390. #, no-wrap
  12391. msgid "{Scheme Variable} android-ndk-build-system"
  12392. msgstr ""
  12393. #. type: cindex
  12394. #: guix-git/doc/guix.texi:7455
  12395. #, no-wrap
  12396. msgid "Android distribution"
  12397. msgstr ""
  12398. #. type: cindex
  12399. #: guix-git/doc/guix.texi:7456
  12400. #, no-wrap
  12401. msgid "Android NDK build system"
  12402. msgstr ""
  12403. #. type: defvr
  12404. #: guix-git/doc/guix.texi:7460
  12405. 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."
  12406. msgstr ""
  12407. #. type: defvr
  12408. #: guix-git/doc/guix.texi:7464
  12409. 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."
  12410. msgstr ""
  12411. #. type: defvr
  12412. #: guix-git/doc/guix.texi:7467
  12413. msgid "It's also assumed that the union of all the dependencies of a package has no conflicting files."
  12414. msgstr ""
  12415. #. type: defvr
  12416. #: guix-git/doc/guix.texi:7470
  12417. msgid "For the time being, cross-compilation is not supported - so right now the libraries and header files are assumed to be host tools."
  12418. msgstr ""
  12419. #. type: defvr
  12420. #: guix-git/doc/guix.texi:7473
  12421. #, no-wrap
  12422. msgid "{Scheme Variable} asdf-build-system/source"
  12423. msgstr ""
  12424. #. type: defvrx
  12425. #: guix-git/doc/guix.texi:7474
  12426. #, no-wrap
  12427. msgid "{Scheme Variable} asdf-build-system/sbcl"
  12428. msgstr ""
  12429. #. type: defvrx
  12430. #: guix-git/doc/guix.texi:7475
  12431. #, no-wrap
  12432. msgid "{Scheme Variable} asdf-build-system/ecl"
  12433. msgstr ""
  12434. #. type: defvr
  12435. #: guix-git/doc/guix.texi:7481
  12436. 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."
  12437. msgstr ""
  12438. #. type: defvr
  12439. #: guix-git/doc/guix.texi:7488
  12440. 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."
  12441. msgstr ""
  12442. #. type: defvr
  12443. #: guix-git/doc/guix.texi:7492
  12444. 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}."
  12445. msgstr ""
  12446. #. type: defvr
  12447. #: guix-git/doc/guix.texi:7496
  12448. 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."
  12449. msgstr ""
  12450. #. type: defvr
  12451. #: guix-git/doc/guix.texi:7504
  12452. 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."
  12453. msgstr ""
  12454. #. type: defvr
  12455. #: guix-git/doc/guix.texi:7513
  12456. 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."
  12457. msgstr ""
  12458. #. type: defvr
  12459. #: guix-git/doc/guix.texi:7518
  12460. 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."
  12461. msgstr ""
  12462. #. type: defvr
  12463. #: guix-git/doc/guix.texi:7521
  12464. #, no-wrap
  12465. msgid "{Scheme Variable} cargo-build-system"
  12466. msgstr ""
  12467. #. type: cindex
  12468. #: guix-git/doc/guix.texi:7522
  12469. #, no-wrap
  12470. msgid "Rust programming language"
  12471. msgstr ""
  12472. #. type: cindex
  12473. #: guix-git/doc/guix.texi:7523
  12474. #, no-wrap
  12475. msgid "Cargo (Rust build system)"
  12476. msgstr ""
  12477. #. type: defvr
  12478. #: guix-git/doc/guix.texi:7527
  12479. 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}."
  12480. msgstr ""
  12481. #. type: defvr
  12482. #: guix-git/doc/guix.texi:7530
  12483. 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."
  12484. msgstr ""
  12485. #. type: defvr
  12486. #: guix-git/doc/guix.texi:7540
  12487. 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."
  12488. msgstr ""
  12489. #. type: defvr
  12490. #: guix-git/doc/guix.texi:7550
  12491. 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."
  12492. msgstr ""
  12493. #. type: defvr
  12494. #: guix-git/doc/guix.texi:7552
  12495. #, no-wrap
  12496. msgid "{Scheme Variable} chicken-build-system"
  12497. msgstr ""
  12498. #. type: defvr
  12499. #: guix-git/doc/guix.texi:7557
  12500. 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."
  12501. msgstr ""
  12502. #. type: defvr
  12503. #: guix-git/doc/guix.texi:7560
  12504. msgid "This build system adds @code{chicken} to the package inputs, as well as the packages of @code{gnu-build-system}."
  12505. msgstr ""
  12506. #. type: defvr
  12507. #: guix-git/doc/guix.texi:7564
  12508. 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."
  12509. msgstr ""
  12510. #. type: defvr
  12511. #: guix-git/doc/guix.texi:7566
  12512. msgid "For example, if you are packaging the @code{srfi-1} egg:"
  12513. msgstr ""
  12514. #. type: lisp
  12515. #: guix-git/doc/guix.texi:7569
  12516. #, no-wrap
  12517. msgid "(arguments '(#:egg-name \"srfi-1\"))\n"
  12518. msgstr ""
  12519. #. type: defvr
  12520. #: guix-git/doc/guix.texi:7574
  12521. 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."
  12522. msgstr ""
  12523. #. type: defvr
  12524. #: guix-git/doc/guix.texi:7576
  12525. #, no-wrap
  12526. msgid "{Scheme Variable} copy-build-system"
  12527. msgstr ""
  12528. #. type: defvr
  12529. #: guix-git/doc/guix.texi:7580
  12530. 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."
  12531. msgstr ""
  12532. #. type: defvr
  12533. #: guix-git/doc/guix.texi:7585
  12534. 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}."
  12535. msgstr ""
  12536. #. type: defvr
  12537. #: guix-git/doc/guix.texi:7590
  12538. 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."
  12539. msgstr ""
  12540. #. type: item
  12541. #: guix-git/doc/guix.texi:7592
  12542. #, no-wrap
  12543. msgid "When @var{source} matches a file or directory without trailing slash, install it to @var{target}."
  12544. msgstr ""
  12545. #. type: item
  12546. #: guix-git/doc/guix.texi:7594
  12547. #, no-wrap
  12548. msgid "If @var{target} has a trailing slash, install @var{source} basename beneath @var{target}."
  12549. msgstr ""
  12550. #. type: item
  12551. #: guix-git/doc/guix.texi:7595
  12552. #, no-wrap
  12553. msgid "Otherwise install @var{source} as @var{target}."
  12554. msgstr ""
  12555. #. type: item
  12556. #: guix-git/doc/guix.texi:7598
  12557. #, no-wrap
  12558. msgid "When @var{source} is a directory with a trailing slash, or when @var{filters} are used,"
  12559. msgstr ""
  12560. #. type: itemize
  12561. #: guix-git/doc/guix.texi:7601
  12562. msgid "the trailing slash of @var{target} is implied with the same meaning as above."
  12563. msgstr ""
  12564. #. type: item
  12565. #: guix-git/doc/guix.texi:7602
  12566. #, no-wrap
  12567. msgid "Without @var{filters}, install the full @var{source} @emph{content} to @var{target}."
  12568. msgstr ""
  12569. #. type: item
  12570. #: guix-git/doc/guix.texi:7603
  12571. #, no-wrap
  12572. msgid "With @var{filters} among @code{#:include}, @code{#:include-regexp}, @code{#:exclude},"
  12573. msgstr ""
  12574. #. type: itemize
  12575. #: guix-git/doc/guix.texi:7606
  12576. msgid "@code{#:exclude-regexp}, only select files are installed depending on the filters. Each filters is specified by a list of strings."
  12577. msgstr ""
  12578. #. type: item
  12579. #: guix-git/doc/guix.texi:7607
  12580. #, no-wrap
  12581. msgid "With @code{#:include}, install all the files which the path suffix matches"
  12582. msgstr ""
  12583. #. type: itemize
  12584. #: guix-git/doc/guix.texi:7609
  12585. msgid "at least one of the elements in the given list."
  12586. msgstr ""
  12587. #. type: item
  12588. #: guix-git/doc/guix.texi:7609
  12589. #, no-wrap
  12590. msgid "With @code{#:include-regexp}, install all the files which the"
  12591. msgstr ""
  12592. #. type: itemize
  12593. #: guix-git/doc/guix.texi:7612
  12594. msgid "subpaths match at least one of the regular expressions in the given list."
  12595. msgstr ""
  12596. #. type: item
  12597. #: guix-git/doc/guix.texi:7612
  12598. #, no-wrap
  12599. msgid "The @code{#:exclude} and @code{#:exclude-regexp} filters"
  12600. msgstr ""
  12601. #. type: itemize
  12602. #: guix-git/doc/guix.texi:7617
  12603. 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."
  12604. msgstr ""
  12605. #. type: itemize
  12606. #: guix-git/doc/guix.texi:7621
  12607. msgid "In all cases, the paths relative to @var{source} are preserved within @var{target}."
  12608. msgstr ""
  12609. #. type: defvr
  12610. #: guix-git/doc/guix.texi:7624
  12611. msgid "Examples:"
  12612. msgstr ""
  12613. #. type: item
  12614. #: guix-git/doc/guix.texi:7626
  12615. #, no-wrap
  12616. msgid "@code{(\"foo/bar\" \"share/my-app/\")}: Install @file{bar} to @file{share/my-app/bar}."
  12617. msgstr ""
  12618. #. type: item
  12619. #: guix-git/doc/guix.texi:7627
  12620. #, no-wrap
  12621. msgid "@code{(\"foo/bar\" \"share/my-app/baz\")}: Install @file{bar} to @file{share/my-app/baz}."
  12622. msgstr ""
  12623. #. type: item
  12624. #: guix-git/doc/guix.texi:7628
  12625. #, no-wrap
  12626. msgid "@code{(\"foo/\" \"share/my-app\")}: Install the content of @file{foo} inside @file{share/my-app},"
  12627. msgstr ""
  12628. #. type: itemize
  12629. #: guix-git/doc/guix.texi:7630
  12630. msgid "e.g., install @file{foo/sub/file} to @file{share/my-app/sub/file}."
  12631. msgstr ""
  12632. #. type: item
  12633. #: guix-git/doc/guix.texi:7630
  12634. #, no-wrap
  12635. msgid "@code{(\"foo/\" \"share/my-app\" #:include (\"sub/file\"))}: Install only @file{foo/sub/file} to"
  12636. msgstr ""
  12637. #. type: itemize
  12638. #: guix-git/doc/guix.texi:7632
  12639. msgid "@file{share/my-app/sub/file}."
  12640. msgstr ""
  12641. #. type: item
  12642. #: guix-git/doc/guix.texi:7632
  12643. #, no-wrap
  12644. msgid "@code{(\"foo/sub\" \"share/my-app\" #:include (\"file\"))}: Install @file{foo/sub/file} to"
  12645. msgstr ""
  12646. #. type: itemize
  12647. #: guix-git/doc/guix.texi:7634
  12648. msgid "@file{share/my-app/file}."
  12649. msgstr ""
  12650. #. type: cindex
  12651. #: guix-git/doc/guix.texi:7638
  12652. #, no-wrap
  12653. msgid "Clojure (programming language)"
  12654. msgstr ""
  12655. #. type: cindex
  12656. #: guix-git/doc/guix.texi:7639
  12657. #, no-wrap
  12658. msgid "simple Clojure build system"
  12659. msgstr ""
  12660. #. type: defvr
  12661. #: guix-git/doc/guix.texi:7640
  12662. #, no-wrap
  12663. msgid "{Scheme Variable} clojure-build-system"
  12664. msgstr ""
  12665. #. type: defvr
  12666. #: guix-git/doc/guix.texi:7645
  12667. 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."
  12668. msgstr ""
  12669. #. type: defvr
  12670. #: guix-git/doc/guix.texi:7649
  12671. 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."
  12672. msgstr ""
  12673. #. type: defvr
  12674. #: guix-git/doc/guix.texi:7655
  12675. 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."
  12676. msgstr ""
  12677. #. type: defvr
  12678. #: guix-git/doc/guix.texi:7658
  12679. msgid "This build system is an extension of @code{ant-build-system}, but with the following phases changed:"
  12680. msgstr ""
  12681. #. type: item
  12682. #: guix-git/doc/guix.texi:7661 guix-git/doc/guix.texi:8227
  12683. #: guix-git/doc/guix.texi:8274 guix-git/doc/guix.texi:8343
  12684. #: guix-git/doc/guix.texi:33640
  12685. #, no-wrap
  12686. msgid "build"
  12687. msgstr ""
  12688. #. type: table
  12689. #: guix-git/doc/guix.texi:7670
  12690. 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."
  12691. msgstr ""
  12692. #. type: item
  12693. #: guix-git/doc/guix.texi:7671 guix-git/doc/guix.texi:8231
  12694. #: guix-git/doc/guix.texi:8348
  12695. #, no-wrap
  12696. msgid "check"
  12697. msgstr ""
  12698. #. type: table
  12699. #: guix-git/doc/guix.texi:7678
  12700. 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."
  12701. msgstr ""
  12702. #. type: item
  12703. #: guix-git/doc/guix.texi:7679 guix-git/doc/guix.texi:8235
  12704. #: guix-git/doc/guix.texi:8278 guix-git/doc/guix.texi:8354
  12705. #, no-wrap
  12706. msgid "install"
  12707. msgstr ""
  12708. #. type: table
  12709. #: guix-git/doc/guix.texi:7681
  12710. msgid "This phase installs all jars built previously."
  12711. msgstr ""
  12712. #. type: defvr
  12713. #: guix-git/doc/guix.texi:7684
  12714. msgid "Apart from the above, this build system also contains an additional phase:"
  12715. msgstr ""
  12716. #. type: item
  12717. #: guix-git/doc/guix.texi:7687
  12718. #, no-wrap
  12719. msgid "install-doc"
  12720. msgstr ""
  12721. #. type: table
  12722. #: guix-git/doc/guix.texi:7692
  12723. 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."
  12724. msgstr ""
  12725. #. type: defvr
  12726. #: guix-git/doc/guix.texi:7695
  12727. #, no-wrap
  12728. msgid "{Scheme Variable} cmake-build-system"
  12729. msgstr ""
  12730. #. type: defvr
  12731. #: guix-git/doc/guix.texi:7699
  12732. 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}."
  12733. msgstr ""
  12734. #. type: defvr
  12735. #: guix-git/doc/guix.texi:7703
  12736. 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."
  12737. msgstr ""
  12738. #. type: defvr
  12739. #: guix-git/doc/guix.texi:7710
  12740. 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."
  12741. msgstr ""
  12742. #. type: defvr
  12743. #: guix-git/doc/guix.texi:7712
  12744. #, no-wrap
  12745. msgid "{Scheme Variable} dune-build-system"
  12746. msgstr ""
  12747. #. type: defvr
  12748. #: guix-git/doc/guix.texi:7719
  12749. 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."
  12750. msgstr ""
  12751. #. type: defvr
  12752. #: guix-git/doc/guix.texi:7723
  12753. 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."
  12754. msgstr ""
  12755. #. type: defvr
  12756. #: guix-git/doc/guix.texi:7727
  12757. 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."
  12758. msgstr ""
  12759. #. type: defvr
  12760. #: guix-git/doc/guix.texi:7731
  12761. 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}."
  12762. msgstr ""
  12763. #. type: defvr
  12764. #: guix-git/doc/guix.texi:7736
  12765. 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}."
  12766. msgstr ""
  12767. #. type: defvr
  12768. #: guix-git/doc/guix.texi:7741
  12769. msgid "The @code{#:profile} parameter can be passed to specify the @uref{https://dune.readthedocs.io/en/stable/dune-files.html#profile, dune build profile}. This is equivalent to passing the @code{--profile} argument to @code{dune}. Its default value is @code{\"release\"}."
  12770. msgstr ""
  12771. #. type: defvr
  12772. #: guix-git/doc/guix.texi:7744
  12773. #, no-wrap
  12774. msgid "{Scheme Variable} go-build-system"
  12775. msgstr ""
  12776. #. type: defvr
  12777. #: guix-git/doc/guix.texi:7749
  12778. 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}."
  12779. msgstr ""
  12780. #. type: defvr
  12781. #: guix-git/doc/guix.texi:7760
  12782. 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."
  12783. msgstr ""
  12784. #. type: defvr
  12785. #: guix-git/doc/guix.texi:7765
  12786. 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."
  12787. msgstr ""
  12788. #. type: defvr
  12789. #: guix-git/doc/guix.texi:7767
  12790. #, no-wrap
  12791. msgid "{Scheme Variable} glib-or-gtk-build-system"
  12792. msgstr ""
  12793. #. type: defvr
  12794. #: guix-git/doc/guix.texi:7770
  12795. 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+."
  12796. msgstr ""
  12797. #. type: defvr
  12798. #: guix-git/doc/guix.texi:7773
  12799. msgid "This build system adds the following two phases to the ones defined by @code{gnu-build-system}:"
  12800. msgstr ""
  12801. #. type: item
  12802. #: guix-git/doc/guix.texi:7775 guix-git/doc/guix.texi:8251
  12803. #, no-wrap
  12804. msgid "glib-or-gtk-wrap"
  12805. msgstr ""
  12806. #. type: table
  12807. #: guix-git/doc/guix.texi:7782
  12808. 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."
  12809. msgstr ""
  12810. #. type: table
  12811. #: guix-git/doc/guix.texi:7789
  12812. 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+."
  12813. msgstr ""
  12814. #. type: item
  12815. #: guix-git/doc/guix.texi:7790 guix-git/doc/guix.texi:8255
  12816. #, no-wrap
  12817. msgid "glib-or-gtk-compile-schemas"
  12818. msgstr ""
  12819. #. type: table
  12820. #: guix-git/doc/guix.texi:7798
  12821. 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."
  12822. msgstr ""
  12823. #. type: defvr
  12824. #: guix-git/doc/guix.texi:7801
  12825. msgid "Both phases are executed after the @code{install} phase."
  12826. msgstr ""
  12827. #. type: defvr
  12828. #: guix-git/doc/guix.texi:7803
  12829. #, no-wrap
  12830. msgid "{Scheme Variable} guile-build-system"
  12831. msgstr ""
  12832. #. type: defvr
  12833. #: guix-git/doc/guix.texi:7810
  12834. 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."
  12835. msgstr ""
  12836. #. type: defvr
  12837. #: guix-git/doc/guix.texi:7813
  12838. msgid "This build system supports cross-compilation by using the @option{--target} option of @samp{guild compile}."
  12839. msgstr ""
  12840. #. type: defvr
  12841. #: guix-git/doc/guix.texi:7816
  12842. msgid "Packages built with @code{guile-build-system} must provide a Guile package in their @code{native-inputs} field."
  12843. msgstr ""
  12844. #. type: defvr
  12845. #: guix-git/doc/guix.texi:7818
  12846. #, no-wrap
  12847. msgid "{Scheme Variable} julia-build-system"
  12848. msgstr ""
  12849. #. type: defvr
  12850. #: guix-git/doc/guix.texi:7825
  12851. 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}."
  12852. msgstr ""
  12853. #. type: defvr
  12854. #: guix-git/doc/guix.texi:7829
  12855. 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)."
  12856. msgstr ""
  12857. #. type: defvr
  12858. #: guix-git/doc/guix.texi:7833
  12859. 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}."
  12860. msgstr ""
  12861. #. type: defvr
  12862. #: guix-git/doc/guix.texi:7838
  12863. 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."
  12864. msgstr ""
  12865. #. type: defvr
  12866. #: guix-git/doc/guix.texi:7842
  12867. 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:"
  12868. msgstr ""
  12869. #. type: lisp
  12870. #: guix-git/doc/guix.texi:7854
  12871. #, no-wrap
  12872. msgid ""
  12873. "(add-after 'unpack 'override-binary-path\n"
  12874. " (lambda* (#:key inputs #:allow-other-keys)\n"
  12875. " (for-each (lambda (wrapper)\n"
  12876. " (substitute* wrapper\n"
  12877. " ((\"generate_wrapper_header.*\")\n"
  12878. " (string-append\n"
  12879. " \"generate_wrapper_header(\\\"MbedTLS\\\", \\\"\"\n"
  12880. " (assoc-ref inputs \"mbedtls-apache\") \"\\\")\\n\"))))\n"
  12881. " ;; There's a Julia file for each platform, override them all.\n"
  12882. " (find-files \"src/wrappers/\" \"\\\\.jl$\"))))\n"
  12883. msgstr ""
  12884. #. type: defvr
  12885. #: guix-git/doc/guix.texi:7862
  12886. msgid "Some older packages that aren't using @file{Package.toml} yet, will require this file to be created, too. The function @code{julia-create-package-toml} helps creating the file. You need to pass the outputs and the source of the package, its name (the same as the @code{file-name} parameter), the package uuid, the package version, and a list of dependencies specified by their name and their uuid."
  12887. msgstr ""
  12888. #. type: defvr
  12889. #: guix-git/doc/guix.texi:7864
  12890. #, no-wrap
  12891. msgid "{Scheme Variable} maven-build-system"
  12892. msgstr ""
  12893. #. type: defvr
  12894. #: guix-git/doc/guix.texi:7871
  12895. 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."
  12896. msgstr ""
  12897. #. type: defvr
  12898. #: guix-git/doc/guix.texi:7881
  12899. 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."
  12900. msgstr ""
  12901. #. type: defvr
  12902. #: guix-git/doc/guix.texi:7884
  12903. 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."
  12904. msgstr ""
  12905. #. type: defvr
  12906. #: guix-git/doc/guix.texi:7890
  12907. 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}."
  12908. msgstr ""
  12909. #. type: defvr
  12910. #: guix-git/doc/guix.texi:7896
  12911. 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."
  12912. msgstr ""
  12913. #. type: defvr
  12914. #: guix-git/doc/guix.texi:7899
  12915. msgid "You can override the default @code{jdk} and @code{maven} packages with the corresponding argument, @code{#:jdk} and @code{#:maven}."
  12916. msgstr ""
  12917. #. type: defvr
  12918. #: guix-git/doc/guix.texi:7904
  12919. 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."
  12920. msgstr ""
  12921. #. type: defvr
  12922. #: guix-git/doc/guix.texi:7906
  12923. #, no-wrap
  12924. msgid "{Scheme Variable} minetest-mod-build-system"
  12925. msgstr ""
  12926. #. type: defvr
  12927. #: guix-git/doc/guix.texi:7912
  12928. msgid "This variable is exported by @code{(guix build-system minetest)}. It implements a build procedure for @uref{https://www.minetest.net, Minetest} mods, which consists of copying Lua code, images and other resources to the location Minetest searches for mods. The build system also minimises PNG images and verifies that Minetest can load the mod without errors."
  12929. msgstr ""
  12930. #. type: defvr
  12931. #: guix-git/doc/guix.texi:7914
  12932. #, no-wrap
  12933. msgid "{Scheme Variable} minify-build-system"
  12934. msgstr ""
  12935. #. type: defvr
  12936. #: guix-git/doc/guix.texi:7917
  12937. msgid "This variable is exported by @code{(guix build-system minify)}. It implements a minification procedure for simple JavaScript packages."
  12938. msgstr ""
  12939. #. type: defvr
  12940. #: guix-git/doc/guix.texi:7923
  12941. 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."
  12942. msgstr ""
  12943. #. type: defvr
  12944. #: guix-git/doc/guix.texi:7927
  12945. 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."
  12946. msgstr ""
  12947. #. type: defvr
  12948. #: guix-git/doc/guix.texi:7929
  12949. #, no-wrap
  12950. msgid "{Scheme Variable} ocaml-build-system"
  12951. msgstr ""
  12952. #. type: defvr
  12953. #: guix-git/doc/guix.texi:7935
  12954. 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."
  12955. msgstr ""
  12956. #. type: defvr
  12957. #: guix-git/doc/guix.texi:7945
  12958. 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."
  12959. msgstr ""
  12960. #. type: defvr
  12961. #: guix-git/doc/guix.texi:7950
  12962. 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."
  12963. msgstr ""
  12964. #. type: defvr
  12965. #: guix-git/doc/guix.texi:7954
  12966. 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."
  12967. msgstr ""
  12968. #. type: defvr
  12969. #: guix-git/doc/guix.texi:7962
  12970. 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."
  12971. msgstr ""
  12972. #. type: defvr
  12973. #: guix-git/doc/guix.texi:7970
  12974. 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."
  12975. msgstr ""
  12976. #. type: defvr
  12977. #: guix-git/doc/guix.texi:7972
  12978. #, no-wrap
  12979. msgid "{Scheme Variable} python-build-system"
  12980. msgstr ""
  12981. #. type: defvr
  12982. #: guix-git/doc/guix.texi:7977
  12983. 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{}}."
  12984. msgstr ""
  12985. #. type: defvr
  12986. #: guix-git/doc/guix.texi:7981
  12987. 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."
  12988. msgstr ""
  12989. #. type: defvr
  12990. #: guix-git/doc/guix.texi:7987
  12991. 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."
  12992. msgstr ""
  12993. #. type: defvr
  12994. #: guix-git/doc/guix.texi:7992
  12995. 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}."
  12996. msgstr ""
  12997. #. type: defvr
  12998. #: guix-git/doc/guix.texi:7994
  12999. #, no-wrap
  13000. msgid "{Scheme Variable} perl-build-system"
  13001. msgstr ""
  13002. #. type: defvr
  13003. #: guix-git/doc/guix.texi:8006
  13004. 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."
  13005. msgstr ""
  13006. #. type: defvr
  13007. #: guix-git/doc/guix.texi:8010
  13008. 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."
  13009. msgstr ""
  13010. #. type: defvr
  13011. #: guix-git/doc/guix.texi:8012
  13012. msgid "Which Perl package is used can be specified with @code{#:perl}."
  13013. msgstr ""
  13014. #. type: defvr
  13015. #: guix-git/doc/guix.texi:8014
  13016. #, no-wrap
  13017. msgid "{Scheme Variable} renpy-build-system"
  13018. msgstr ""
  13019. #. type: defvr
  13020. #: guix-git/doc/guix.texi:8018
  13021. 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."
  13022. msgstr ""
  13023. #. type: defvr
  13024. #: guix-git/doc/guix.texi:8021
  13025. 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."
  13026. msgstr ""
  13027. #. type: defvr
  13028. #: guix-git/doc/guix.texi:8025
  13029. 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}."
  13030. msgstr ""
  13031. #. type: defvr
  13032. #: guix-git/doc/guix.texi:8027
  13033. #, no-wrap
  13034. msgid "{Scheme Variable} qt-build-system"
  13035. msgstr ""
  13036. #. type: defvr
  13037. #: guix-git/doc/guix.texi:8030
  13038. msgid "This variable is exported by @code{(guix build-system qt)}. It is intended for use with applications using Qt or KDE."
  13039. msgstr ""
  13040. #. type: defvr
  13041. #: guix-git/doc/guix.texi:8033
  13042. msgid "This build system adds the following two phases to the ones defined by @code{cmake-build-system}:"
  13043. msgstr ""
  13044. #. type: item
  13045. #: guix-git/doc/guix.texi:8035
  13046. #, no-wrap
  13047. msgid "check-setup"
  13048. msgstr ""
  13049. #. type: table
  13050. #: guix-git/doc/guix.texi:8042
  13051. 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}."
  13052. msgstr ""
  13053. #. type: table
  13054. #: guix-git/doc/guix.texi:8045
  13055. msgid "This phase is added before the @code{check} phase. It's a separate phase to ease adjusting if necessary."
  13056. msgstr ""
  13057. #. type: item
  13058. #: guix-git/doc/guix.texi:8046
  13059. #, no-wrap
  13060. msgid "qt-wrap"
  13061. msgstr ""
  13062. #. type: table
  13063. #: guix-git/doc/guix.texi:8052
  13064. 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."
  13065. msgstr ""
  13066. #. type: table
  13067. #: guix-git/doc/guix.texi:8058
  13068. 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."
  13069. msgstr ""
  13070. #. type: table
  13071. #: guix-git/doc/guix.texi:8060
  13072. msgid "This phase is added after the @code{install} phase."
  13073. msgstr ""
  13074. #. type: defvr
  13075. #: guix-git/doc/guix.texi:8063
  13076. #, no-wrap
  13077. msgid "{Scheme Variable} r-build-system"
  13078. msgstr ""
  13079. #. type: defvr
  13080. #: guix-git/doc/guix.texi:8071
  13081. 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}."
  13082. msgstr ""
  13083. #. type: defvr
  13084. #: guix-git/doc/guix.texi:8073
  13085. #, no-wrap
  13086. msgid "{Scheme Variable} rakudo-build-system"
  13087. msgstr ""
  13088. #. type: defvr
  13089. #: guix-git/doc/guix.texi:8081
  13090. 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."
  13091. msgstr ""
  13092. #. type: defvr
  13093. #: guix-git/doc/guix.texi:8089
  13094. 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."
  13095. msgstr ""
  13096. #. type: defvr
  13097. #: guix-git/doc/guix.texi:8091
  13098. #, no-wrap
  13099. msgid "{Scheme Variable} texlive-build-system"
  13100. msgstr ""
  13101. #. type: defvr
  13102. #: guix-git/doc/guix.texi:8096
  13103. 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."
  13104. msgstr ""
  13105. #. type: defvr
  13106. #: guix-git/doc/guix.texi:8105
  13107. 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."
  13108. msgstr ""
  13109. #. type: defvr
  13110. #: guix-git/doc/guix.texi:8108
  13111. msgid "The @code{#:tex-directory} parameter tells the build system where to install the built files under the texmf tree."
  13112. msgstr ""
  13113. #. type: defvr
  13114. #: guix-git/doc/guix.texi:8110
  13115. #, no-wrap
  13116. msgid "{Scheme Variable} ruby-build-system"
  13117. msgstr ""
  13118. #. type: defvr
  13119. #: guix-git/doc/guix.texi:8114
  13120. 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}."
  13121. msgstr ""
  13122. #. type: defvr
  13123. #: guix-git/doc/guix.texi:8122
  13124. 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."
  13125. msgstr ""
  13126. #. type: defvr
  13127. #: guix-git/doc/guix.texi:8126
  13128. 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."
  13129. msgstr ""
  13130. #. type: defvr
  13131. #: guix-git/doc/guix.texi:8128
  13132. #, no-wrap
  13133. msgid "{Scheme Variable} waf-build-system"
  13134. msgstr ""
  13135. #. type: defvr
  13136. #: guix-git/doc/guix.texi:8134
  13137. 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."
  13138. msgstr ""
  13139. #. type: defvr
  13140. #: guix-git/doc/guix.texi:8138
  13141. 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."
  13142. msgstr ""
  13143. #. type: defvr
  13144. #: guix-git/doc/guix.texi:8140
  13145. #, no-wrap
  13146. msgid "{Scheme Variable} scons-build-system"
  13147. msgstr ""
  13148. #. type: defvr
  13149. #: guix-git/doc/guix.texi:8146
  13150. 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."
  13151. msgstr ""
  13152. #. type: defvr
  13153. #: guix-git/doc/guix.texi:8153
  13154. 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."
  13155. msgstr ""
  13156. #. type: defvr
  13157. #: guix-git/doc/guix.texi:8155
  13158. #, no-wrap
  13159. msgid "{Scheme Variable} haskell-build-system"
  13160. msgstr ""
  13161. #. type: defvr
  13162. #: guix-git/doc/guix.texi:8169
  13163. 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."
  13164. msgstr ""
  13165. #. type: defvr
  13166. #: guix-git/doc/guix.texi:8172
  13167. msgid "Which Haskell compiler is used can be specified with the @code{#:haskell} parameter which defaults to @code{ghc}."
  13168. msgstr ""
  13169. #. type: defvr
  13170. #: guix-git/doc/guix.texi:8174
  13171. #, no-wrap
  13172. msgid "{Scheme Variable} dub-build-system"
  13173. msgstr ""
  13174. #. type: defvr
  13175. #: guix-git/doc/guix.texi:8179
  13176. 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."
  13177. msgstr ""
  13178. #. type: defvr
  13179. #: guix-git/doc/guix.texi:8182
  13180. msgid "Which D compiler is used can be specified with the @code{#:ldc} parameter which defaults to @code{ldc}."
  13181. msgstr ""
  13182. #. type: anchor{#1}
  13183. #: guix-git/doc/guix.texi:8185
  13184. msgid "emacs-build-system"
  13185. msgstr ""
  13186. #. type: defvr
  13187. #: guix-git/doc/guix.texi:8185
  13188. #, no-wrap
  13189. msgid "{Scheme Variable} emacs-build-system"
  13190. msgstr ""
  13191. #. type: defvr
  13192. #: guix-git/doc/guix.texi:8189
  13193. 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})."
  13194. msgstr ""
  13195. #. type: defvr
  13196. #: guix-git/doc/guix.texi:8195
  13197. 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}."
  13198. msgstr ""
  13199. #. type: defvr
  13200. #: guix-git/doc/guix.texi:8197
  13201. #, no-wrap
  13202. msgid "{Scheme Variable} font-build-system"
  13203. msgstr ""
  13204. #. type: defvr
  13205. #: guix-git/doc/guix.texi:8203
  13206. 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."
  13207. msgstr ""
  13208. #. type: defvr
  13209. #: guix-git/doc/guix.texi:8205
  13210. #, no-wrap
  13211. msgid "{Scheme Variable} meson-build-system"
  13212. msgstr ""
  13213. #. type: defvr
  13214. #: guix-git/doc/guix.texi:8209
  13215. 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."
  13216. msgstr ""
  13217. #. type: defvr
  13218. #: guix-git/doc/guix.texi:8215
  13219. 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."
  13220. msgstr ""
  13221. #. type: defvr
  13222. #: guix-git/doc/guix.texi:8218
  13223. msgid "This build system is an extension of @code{gnu-build-system}, but with the following phases changed to some specific for Meson:"
  13224. msgstr ""
  13225. #. type: item
  13226. #: guix-git/doc/guix.texi:8221 guix-git/doc/guix.texi:8270
  13227. #: guix-git/doc/guix.texi:8338
  13228. #, no-wrap
  13229. msgid "configure"
  13230. msgstr ""
  13231. #. type: table
  13232. #: guix-git/doc/guix.texi:8226
  13233. 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}."
  13234. msgstr ""
  13235. #. type: table
  13236. #: guix-git/doc/guix.texi:8230
  13237. msgid "The phase runs @code{ninja} to build the package in parallel by default, but this can be changed with @code{#:parallel-build?}."
  13238. msgstr ""
  13239. #. type: table
  13240. #: guix-git/doc/guix.texi:8234
  13241. msgid "The phase runs @code{ninja} with the target specified in @code{#:test-target}, which is @code{\"test\"} by default."
  13242. msgstr ""
  13243. #. type: table
  13244. #: guix-git/doc/guix.texi:8237
  13245. msgid "The phase runs @code{ninja install} and can not be changed."
  13246. msgstr ""
  13247. #. type: defvr
  13248. #: guix-git/doc/guix.texi:8240
  13249. msgid "Apart from that, the build system also adds the following phases:"
  13250. msgstr ""
  13251. #. type: item
  13252. #: guix-git/doc/guix.texi:8243
  13253. #, no-wrap
  13254. msgid "fix-runpath"
  13255. msgstr ""
  13256. #. type: table
  13257. #: guix-git/doc/guix.texi:8250
  13258. 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."
  13259. msgstr ""
  13260. #. type: table
  13261. #: guix-git/doc/guix.texi:8254 guix-git/doc/guix.texi:8258
  13262. 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?}."
  13263. msgstr ""
  13264. #. type: defvr
  13265. #: guix-git/doc/guix.texi:8261
  13266. #, no-wrap
  13267. msgid "{Scheme Variable} linux-module-build-system"
  13268. msgstr ""
  13269. #. type: defvr
  13270. #: guix-git/doc/guix.texi:8263
  13271. msgid "@code{linux-module-build-system} allows building Linux kernel modules."
  13272. msgstr ""
  13273. #. type: defvr
  13274. #: guix-git/doc/guix.texi:8267
  13275. msgid "This build system is an extension of @code{gnu-build-system}, but with the following phases changed:"
  13276. msgstr ""
  13277. #. type: table
  13278. #: guix-git/doc/guix.texi:8273
  13279. msgid "This phase configures the environment so that the Linux kernel's Makefile can be used to build the external kernel module."
  13280. msgstr ""
  13281. #. type: table
  13282. #: guix-git/doc/guix.texi:8277
  13283. msgid "This phase uses the Linux kernel's Makefile in order to build the external kernel module."
  13284. msgstr ""
  13285. #. type: table
  13286. #: guix-git/doc/guix.texi:8281
  13287. msgid "This phase uses the Linux kernel's Makefile in order to install the external kernel module."
  13288. msgstr ""
  13289. #. type: defvr
  13290. #: guix-git/doc/guix.texi:8286
  13291. 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)."
  13292. msgstr ""
  13293. #. type: defvr
  13294. #: guix-git/doc/guix.texi:8288
  13295. #, no-wrap
  13296. msgid "{Scheme Variable} node-build-system"
  13297. msgstr ""
  13298. #. type: defvr
  13299. #: guix-git/doc/guix.texi:8293
  13300. 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."
  13301. msgstr ""
  13302. #. type: defvr
  13303. #: guix-git/doc/guix.texi:8297
  13304. 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}."
  13305. msgstr ""
  13306. #. type: Plain text
  13307. #: guix-git/doc/guix.texi:8303
  13308. 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."
  13309. msgstr ""
  13310. #. type: defvr
  13311. #: guix-git/doc/guix.texi:8304
  13312. #, no-wrap
  13313. msgid "{Scheme Variable} trivial-build-system"
  13314. msgstr ""
  13315. #. type: defvr
  13316. #: guix-git/doc/guix.texi:8306
  13317. msgid "This variable is exported by @code{(guix build-system trivial)}."
  13318. msgstr ""
  13319. #. type: defvr
  13320. #: guix-git/doc/guix.texi:8311
  13321. 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}})."
  13322. msgstr ""
  13323. #. type: cindex
  13324. #: guix-git/doc/guix.texi:8316
  13325. #, no-wrap
  13326. msgid "build phases, for packages"
  13327. msgstr ""
  13328. #. type: Plain text
  13329. #: guix-git/doc/guix.texi:8322
  13330. 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})."
  13331. msgstr ""
  13332. #. type: Plain text
  13333. #: guix-git/doc/guix.texi:8326
  13334. 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:"
  13335. msgstr ""
  13336. #. type: item
  13337. #: guix-git/doc/guix.texi:8328
  13338. #, no-wrap
  13339. msgid "unpack"
  13340. msgstr ""
  13341. #. type: table
  13342. #: guix-git/doc/guix.texi:8332
  13343. 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."
  13344. msgstr ""
  13345. #. type: item
  13346. #: guix-git/doc/guix.texi:8333
  13347. #, no-wrap
  13348. msgid "patch-source-shebangs"
  13349. msgstr ""
  13350. #. type: table
  13351. #: guix-git/doc/guix.texi:8337
  13352. 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}."
  13353. msgstr ""
  13354. #. type: table
  13355. #: guix-git/doc/guix.texi:8342
  13356. 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."
  13357. msgstr ""
  13358. #. type: table
  13359. #: guix-git/doc/guix.texi:8347
  13360. 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}."
  13361. msgstr ""
  13362. #. type: table
  13363. #: guix-git/doc/guix.texi:8353
  13364. 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}."
  13365. msgstr ""
  13366. #. type: table
  13367. #: guix-git/doc/guix.texi:8356
  13368. msgid "Run @code{make install} with the flags listed in @code{#:make-flags}."
  13369. msgstr ""
  13370. #. type: item
  13371. #: guix-git/doc/guix.texi:8357
  13372. #, no-wrap
  13373. msgid "patch-shebangs"
  13374. msgstr ""
  13375. #. type: table
  13376. #: guix-git/doc/guix.texi:8359
  13377. msgid "Patch shebangs on the installed executable files."
  13378. msgstr ""
  13379. #. type: item
  13380. #: guix-git/doc/guix.texi:8360
  13381. #, no-wrap
  13382. msgid "strip"
  13383. msgstr ""
  13384. #. type: table
  13385. #: guix-git/doc/guix.texi:8364
  13386. 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})."
  13387. msgstr ""
  13388. #. type: Plain text
  13389. #: guix-git/doc/guix.texi:8373
  13390. 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})."
  13391. msgstr ""
  13392. #. type: Plain text
  13393. #: guix-git/doc/guix.texi:8380
  13394. 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."
  13395. msgstr ""
  13396. #. type: vindex
  13397. #: guix-git/doc/guix.texi:8381
  13398. #, no-wrap
  13399. msgid "%standard-phases"
  13400. msgstr ""
  13401. #. type: Plain text
  13402. #: guix-git/doc/guix.texi:8387
  13403. 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!}:"
  13404. msgstr ""
  13405. #. type: lisp
  13406. #: guix-git/doc/guix.texi:8390
  13407. #, no-wrap
  13408. msgid ""
  13409. ";; The build phases of 'gnu-build-system'.\n"
  13410. "\n"
  13411. msgstr ""
  13412. #. type: lisp
  13413. #: guix-git/doc/guix.texi:8394
  13414. #, no-wrap
  13415. msgid ""
  13416. "(define* (unpack #:key source #:allow-other-keys)\n"
  13417. " ;; Extract the source tarball.\n"
  13418. " (invoke \"tar\" \"xvf\" source))\n"
  13419. "\n"
  13420. msgstr ""
  13421. #. type: lisp
  13422. #: guix-git/doc/guix.texi:8400
  13423. #, no-wrap
  13424. msgid ""
  13425. "(define* (configure #:key outputs #:allow-other-keys)\n"
  13426. " ;; Run the 'configure' script. Install to output \"out\".\n"
  13427. " (let ((out (assoc-ref outputs \"out\")))\n"
  13428. " (invoke \"./configure\"\n"
  13429. " (string-append \"--prefix=\" out))))\n"
  13430. "\n"
  13431. msgstr ""
  13432. #. type: lisp
  13433. #: guix-git/doc/guix.texi:8404
  13434. #, no-wrap
  13435. msgid ""
  13436. "(define* (build #:allow-other-keys)\n"
  13437. " ;; Compile.\n"
  13438. " (invoke \"make\"))\n"
  13439. "\n"
  13440. msgstr ""
  13441. #. type: lisp
  13442. #: guix-git/doc/guix.texi:8411
  13443. #, no-wrap
  13444. msgid ""
  13445. "(define* (check #:key (test-target \"check\") (tests? #true)\n"
  13446. " #:allow-other-keys)\n"
  13447. " ;; Run the test suite.\n"
  13448. " (if tests?\n"
  13449. " (invoke \"make\" test-target)\n"
  13450. " (display \"test suite not run\\n\")))\n"
  13451. "\n"
  13452. msgstr ""
  13453. #. type: lisp
  13454. #: guix-git/doc/guix.texi:8415
  13455. #, no-wrap
  13456. msgid ""
  13457. "(define* (install #:allow-other-keys)\n"
  13458. " ;; Install files to the prefix 'configure' specified.\n"
  13459. " (invoke \"make\" \"install\"))\n"
  13460. "\n"
  13461. msgstr ""
  13462. #. type: lisp
  13463. #: guix-git/doc/guix.texi:8424
  13464. #, no-wrap
  13465. msgid ""
  13466. "(define %standard-phases\n"
  13467. " ;; The list of standard phases (quite a few are omitted\n"
  13468. " ;; for brevity). Each element is a symbol/procedure pair.\n"
  13469. " (list (cons 'unpack unpack)\n"
  13470. " (cons 'configure configure)\n"
  13471. " (cons 'build build)\n"
  13472. " (cons 'check check)\n"
  13473. " (cons 'install install)))\n"
  13474. msgstr ""
  13475. #. type: Plain text
  13476. #: guix-git/doc/guix.texi:8434
  13477. 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."
  13478. msgstr ""
  13479. #. type: Plain text
  13480. #: guix-git/doc/guix.texi:8440
  13481. 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})."
  13482. msgstr ""
  13483. #. type: Plain text
  13484. #: guix-git/doc/guix.texi:8456
  13485. 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."
  13486. msgstr ""
  13487. #. type: cindex
  13488. #: guix-git/doc/guix.texi:8457
  13489. #, no-wrap
  13490. msgid "build phases, customizing"
  13491. msgstr ""
  13492. #. type: Plain text
  13493. #: guix-git/doc/guix.texi:8466
  13494. 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}})."
  13495. msgstr ""
  13496. #. type: Plain text
  13497. #: guix-git/doc/guix.texi:8471
  13498. 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}:"
  13499. msgstr ""
  13500. #. type: lisp
  13501. #: guix-git/doc/guix.texi:8491
  13502. #, no-wrap
  13503. msgid ""
  13504. "(define-public example\n"
  13505. " (package\n"
  13506. " (name \"example\")\n"
  13507. " ;; other fields omitted\n"
  13508. " (build-system gnu-build-system)\n"
  13509. " (arguments\n"
  13510. " '(#:phases (modify-phases %standard-phases\n"
  13511. " (delete 'configure)\n"
  13512. " (add-before 'build 'set-prefix-in-makefile\n"
  13513. " (lambda* (#:key outputs #:allow-other-keys)\n"
  13514. " ;; Modify the makefile so that its\n"
  13515. " ;; 'PREFIX' variable points to \"out\".\n"
  13516. " (let ((out (assoc-ref outputs \"out\")))\n"
  13517. " (substitute* \"Makefile\"\n"
  13518. " ((\"PREFIX =.*\")\n"
  13519. " (string-append \"PREFIX = \"\n"
  13520. " out \"\\n\")))\n"
  13521. " #true))))))))\n"
  13522. msgstr ""
  13523. #. type: Plain text
  13524. #: guix-git/doc/guix.texi:8497
  13525. 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}."
  13526. msgstr ""
  13527. #. type: cindex
  13528. #: guix-git/doc/guix.texi:8498 guix-git/doc/guix.texi:9471
  13529. #, no-wrap
  13530. msgid "code staging"
  13531. msgstr ""
  13532. #. type: cindex
  13533. #: guix-git/doc/guix.texi:8499 guix-git/doc/guix.texi:9472
  13534. #, no-wrap
  13535. msgid "staging, of code"
  13536. msgstr ""
  13537. #. type: Plain text
  13538. #: guix-git/doc/guix.texi:8506
  13539. 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."
  13540. msgstr ""
  13541. #. type: Plain text
  13542. #: guix-git/doc/guix.texi:8516
  13543. 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."
  13544. msgstr ""
  13545. #. type: Plain text
  13546. #: guix-git/doc/guix.texi:8520
  13547. 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."
  13548. msgstr ""
  13549. #. type: Plain text
  13550. #: guix-git/doc/guix.texi:8525
  13551. 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}):"
  13552. msgstr ""
  13553. #. type: lisp
  13554. #: guix-git/doc/guix.texi:8532
  13555. #, no-wrap
  13556. msgid ""
  13557. "(with-imported-modules '((guix build utils)) ;import it\n"
  13558. " (computed-file \"empty-tree\"\n"
  13559. " #~(begin\n"
  13560. " ;; Put it in scope.\n"
  13561. " (use-modules (guix build utils))\n"
  13562. "\n"
  13563. msgstr ""
  13564. #. type: lisp
  13565. #: guix-git/doc/guix.texi:8535
  13566. #, no-wrap
  13567. msgid ""
  13568. " ;; Happily use its 'mkdir-p' procedure.\n"
  13569. " (mkdir-p (string-append #$output \"/a/b/c\")))))\n"
  13570. msgstr ""
  13571. #. type: Plain text
  13572. #: guix-git/doc/guix.texi:8539
  13573. msgid "The remainder of this section is the reference for most of the utility procedures provided by @code{(guix build utils)}."
  13574. msgstr ""
  13575. #. type: subsection
  13576. #: guix-git/doc/guix.texi:8542
  13577. #, no-wrap
  13578. msgid "Dealing with Store File Names"
  13579. msgstr ""
  13580. #. type: Plain text
  13581. #: guix-git/doc/guix.texi:8545
  13582. msgid "This section documents procedures that deal with store file names."
  13583. msgstr ""
  13584. #. type: deffn
  13585. #: guix-git/doc/guix.texi:8546
  13586. #, no-wrap
  13587. msgid "{Scheme Procedure} %store-directory"
  13588. msgstr ""
  13589. #. type: deffn
  13590. #: guix-git/doc/guix.texi:8548
  13591. msgid "Return the directory name of the store."
  13592. msgstr ""
  13593. #. type: deffn
  13594. #: guix-git/doc/guix.texi:8550
  13595. #, no-wrap
  13596. msgid "{Scheme Procedure} store-file-name? @var{file}"
  13597. msgstr ""
  13598. #. type: deffn
  13599. #: guix-git/doc/guix.texi:8552
  13600. msgid "Return true if @var{file} is in the store."
  13601. msgstr ""
  13602. #. type: deffn
  13603. #: guix-git/doc/guix.texi:8554
  13604. #, no-wrap
  13605. msgid "{Scheme Procedure} strip-store-file-name @var{file}"
  13606. msgstr ""
  13607. #. type: deffn
  13608. #: guix-git/doc/guix.texi:8557
  13609. 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."
  13610. msgstr ""
  13611. #. type: deffn
  13612. #: guix-git/doc/guix.texi:8559
  13613. #, no-wrap
  13614. msgid "{Scheme Procedure} package-name->name+version @var{name}"
  13615. msgstr ""
  13616. #. type: deffn
  13617. #: guix-git/doc/guix.texi:8564
  13618. 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."
  13619. msgstr ""
  13620. #. type: subsection
  13621. #: guix-git/doc/guix.texi:8566
  13622. #, no-wrap
  13623. msgid "File Types"
  13624. msgstr ""
  13625. #. type: Plain text
  13626. #: guix-git/doc/guix.texi:8569
  13627. msgid "The procedures below deal with files and file types."
  13628. msgstr ""
  13629. #. type: deffn
  13630. #: guix-git/doc/guix.texi:8570
  13631. #, no-wrap
  13632. msgid "{Scheme Procedure} directory-exists? @var{dir}"
  13633. msgstr ""
  13634. #. type: deffn
  13635. #: guix-git/doc/guix.texi:8572
  13636. msgid "Return @code{#t} if @var{dir} exists and is a directory."
  13637. msgstr ""
  13638. #. type: deffn
  13639. #: guix-git/doc/guix.texi:8574
  13640. #, no-wrap
  13641. msgid "{Scheme Procedure} executable-file? @var{file}"
  13642. msgstr ""
  13643. #. type: deffn
  13644. #: guix-git/doc/guix.texi:8576
  13645. msgid "Return @code{#t} if @var{file} exists and is executable."
  13646. msgstr ""
  13647. #. type: deffn
  13648. #: guix-git/doc/guix.texi:8578
  13649. #, no-wrap
  13650. msgid "{Scheme Procedure} symbolic-link? @var{file}"
  13651. msgstr ""
  13652. #. type: deffn
  13653. #: guix-git/doc/guix.texi:8580
  13654. msgid "Return @code{#t} if @var{file} is a symbolic link (aka. a ``symlink'')."
  13655. msgstr ""
  13656. #. type: deffn
  13657. #: guix-git/doc/guix.texi:8582
  13658. #, no-wrap
  13659. msgid "{Scheme Procedure} elf-file? @var{file}"
  13660. msgstr ""
  13661. #. type: deffnx
  13662. #: guix-git/doc/guix.texi:8583
  13663. #, no-wrap
  13664. msgid "{Scheme Procedure} ar-file? @var{file}"
  13665. msgstr ""
  13666. #. type: deffnx
  13667. #: guix-git/doc/guix.texi:8584
  13668. #, no-wrap
  13669. msgid "{Scheme Procedure} gzip-file? @var{file}"
  13670. msgstr ""
  13671. #. type: deffn
  13672. #: guix-git/doc/guix.texi:8587
  13673. 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."
  13674. msgstr ""
  13675. #. type: deffn
  13676. #: guix-git/doc/guix.texi:8589
  13677. #, no-wrap
  13678. msgid "{Scheme Procedure} reset-gzip-timestamp @var{file} [#:keep-mtime? #t]"
  13679. msgstr ""
  13680. #. type: deffn
  13681. #: guix-git/doc/guix.texi:8593
  13682. 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."
  13683. msgstr ""
  13684. #. type: subsection
  13685. #: guix-git/doc/guix.texi:8595
  13686. #, no-wrap
  13687. msgid "File Manipulation"
  13688. msgstr ""
  13689. #. type: Plain text
  13690. #: guix-git/doc/guix.texi:8602
  13691. 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})."
  13692. msgstr ""
  13693. #. type: deffn
  13694. #: guix-git/doc/guix.texi:8603
  13695. #, no-wrap
  13696. msgid "{Scheme Syntax} with-directory-excursion @var{directory} @var{body}@dots{}"
  13697. msgstr ""
  13698. #. type: deffn
  13699. #: guix-git/doc/guix.texi:8605
  13700. msgid "Run @var{body} with @var{directory} as the process's current directory."
  13701. msgstr ""
  13702. #. type: deffn
  13703. #: guix-git/doc/guix.texi:8612
  13704. 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."
  13705. msgstr ""
  13706. #. type: deffn
  13707. #: guix-git/doc/guix.texi:8614
  13708. #, no-wrap
  13709. msgid "{Scheme Procedure} mkdir-p @var{dir}"
  13710. msgstr ""
  13711. #. type: deffn
  13712. #: guix-git/doc/guix.texi:8616
  13713. msgid "Create directory @var{dir} and all its ancestors."
  13714. msgstr ""
  13715. #. type: deffn
  13716. #: guix-git/doc/guix.texi:8618
  13717. #, no-wrap
  13718. msgid "{Scheme Procedure} install-file @var{file} @var{directory}"
  13719. msgstr ""
  13720. #. type: deffn
  13721. #: guix-git/doc/guix.texi:8621
  13722. msgid "Create @var{directory} if it does not exist and copy @var{file} in there under the same name."
  13723. msgstr ""
  13724. #. type: deffn
  13725. #: guix-git/doc/guix.texi:8623
  13726. #, no-wrap
  13727. msgid "{Scheme Procedure} make-file-writable @var{file}"
  13728. msgstr ""
  13729. #. type: deffn
  13730. #: guix-git/doc/guix.texi:8625
  13731. msgid "Make @var{file} writable for its owner."
  13732. msgstr ""
  13733. #. type: deffn
  13734. #: guix-git/doc/guix.texi:8627
  13735. #, no-wrap
  13736. msgid "{Scheme Procedure} copy-recursively @var{source} @var{destination} @"
  13737. msgstr ""
  13738. #. type: deffn
  13739. #: guix-git/doc/guix.texi:8634
  13740. 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."
  13741. msgstr ""
  13742. #. type: deffn
  13743. #: guix-git/doc/guix.texi:8636
  13744. #, no-wrap
  13745. msgid "{Scheme Procedure} delete-file-recursively @var{dir} @"
  13746. msgstr ""
  13747. #. type: deffn
  13748. #: guix-git/doc/guix.texi:8641
  13749. 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."
  13750. msgstr ""
  13751. #. type: deffn
  13752. #: guix-git/doc/guix.texi:8643
  13753. #, no-wrap
  13754. msgid "{Scheme Syntax} substitute* @var{file} @"
  13755. msgstr ""
  13756. #. type: deffn
  13757. #: guix-git/doc/guix.texi:8648
  13758. 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:"
  13759. msgstr ""
  13760. #. type: lisp
  13761. #: guix-git/doc/guix.texi:8655
  13762. #, no-wrap
  13763. msgid ""
  13764. "(substitute* file\n"
  13765. " ((\"hello\")\n"
  13766. " \"good morning\\n\")\n"
  13767. " ((\"foo([a-z]+)bar(.*)$\" all letters end)\n"
  13768. " (string-append \"baz\" letter end)))\n"
  13769. msgstr ""
  13770. #. type: deffn
  13771. #: guix-git/doc/guix.texi:8661
  13772. 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."
  13773. msgstr ""
  13774. #. type: deffn
  13775. #: guix-git/doc/guix.texi:8664
  13776. msgid "When one of the @var{match-var} is @code{_}, no variable is bound to the corresponding match substring."
  13777. msgstr ""
  13778. #. type: deffn
  13779. #: guix-git/doc/guix.texi:8667
  13780. msgid "Alternatively, @var{file} may be a list of file names, in which case they are all subject to the substitutions."
  13781. msgstr ""
  13782. #. type: deffn
  13783. #: guix-git/doc/guix.texi:8670
  13784. 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."
  13785. msgstr ""
  13786. #. type: subsection
  13787. #: guix-git/doc/guix.texi:8672
  13788. #, no-wrap
  13789. msgid "File Search"
  13790. msgstr ""
  13791. #. type: cindex
  13792. #: guix-git/doc/guix.texi:8674
  13793. #, no-wrap
  13794. msgid "file, searching"
  13795. msgstr ""
  13796. #. type: Plain text
  13797. #: guix-git/doc/guix.texi:8676
  13798. msgid "This section documents procedures to search and filter files."
  13799. msgstr ""
  13800. #. type: deffn
  13801. #: guix-git/doc/guix.texi:8677
  13802. #, no-wrap
  13803. msgid "{Scheme Procedure} file-name-predicate @var{regexp}"
  13804. msgstr ""
  13805. #. type: deffn
  13806. #: guix-git/doc/guix.texi:8680
  13807. msgid "Return a predicate that returns true when passed a file name whose base name matches @var{regexp}."
  13808. msgstr ""
  13809. #. type: deffn
  13810. #: guix-git/doc/guix.texi:8682
  13811. #, no-wrap
  13812. msgid "{Scheme Procedure} find-files @var{dir} [@var{pred}] @"
  13813. msgstr ""
  13814. #. type: deffn
  13815. #: guix-git/doc/guix.texi:8693
  13816. 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."
  13817. msgstr ""
  13818. #. type: Plain text
  13819. #: guix-git/doc/guix.texi:8697
  13820. msgid "Here are a few examples where we assume that the current directory is the root of the Guix source tree:"
  13821. msgstr ""
  13822. #. type: lisp
  13823. #: guix-git/doc/guix.texi:8702
  13824. #, no-wrap
  13825. msgid ""
  13826. ";; List all the regular files in the current directory.\n"
  13827. "(find-files \".\")\n"
  13828. "@result{} (\"./.dir-locals.el\" \"./.gitignore\" @dots{})\n"
  13829. "\n"
  13830. msgstr ""
  13831. #. type: lisp
  13832. #: guix-git/doc/guix.texi:8706
  13833. #, no-wrap
  13834. msgid ""
  13835. ";; List all the .scm files under gnu/services.\n"
  13836. "(find-files \"gnu/services\" \"\\\\.scm$\")\n"
  13837. "@result{} (\"gnu/services/admin.scm\" \"gnu/services/audio.scm\" @dots{})\n"
  13838. "\n"
  13839. msgstr ""
  13840. #. type: lisp
  13841. #: guix-git/doc/guix.texi:8710
  13842. #, no-wrap
  13843. msgid ""
  13844. ";; List ar files in the current directory.\n"
  13845. "(find-files \".\" (lambda (file stat) (ar-file? file)))\n"
  13846. "@result{} (\"./libformat.a\" \"./libstore.a\" @dots{})\n"
  13847. msgstr ""
  13848. #. type: deffn
  13849. #: guix-git/doc/guix.texi:8712
  13850. #, no-wrap
  13851. msgid "{Scheme Procedure} which @var{program}"
  13852. msgstr ""
  13853. #. type: deffn
  13854. #: guix-git/doc/guix.texi:8715
  13855. msgid "Return the complete file name for @var{program} as found in @code{$PATH}, or @code{#f} if @var{program} could not be found."
  13856. msgstr ""
  13857. #. type: Plain text
  13858. #: guix-git/doc/guix.texi:8726
  13859. 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})."
  13860. msgstr ""
  13861. #. type: Plain text
  13862. #: guix-git/doc/guix.texi:8730
  13863. 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."
  13864. msgstr ""
  13865. #. type: cindex
  13866. #: guix-git/doc/guix.texi:8731
  13867. #, no-wrap
  13868. msgid "build phases, modifying"
  13869. msgstr ""
  13870. #. type: deffn
  13871. #: guix-git/doc/guix.texi:8732
  13872. #, no-wrap
  13873. msgid "{Scheme Syntax} modify-phases @var{phases} @var{clause}@dots{}"
  13874. msgstr ""
  13875. #. type: deffn
  13876. #: guix-git/doc/guix.texi:8735
  13877. msgid "Modify @var{phases} sequentially as per each @var{clause}, which may have one of the following forms:"
  13878. msgstr ""
  13879. #. type: lisp
  13880. #: guix-git/doc/guix.texi:8741
  13881. #, no-wrap
  13882. msgid ""
  13883. "(delete @var{old-phase-name})\n"
  13884. "(replace @var{old-phase-name} @var{new-phase})\n"
  13885. "(add-before @var{old-phase-name} @var{new-phase-name} @var{new-phase})\n"
  13886. "(add-after @var{old-phase-name} @var{new-phase-name} @var{new-phase})\n"
  13887. msgstr ""
  13888. #. type: deffn
  13889. #: guix-git/doc/guix.texi:8745
  13890. msgid "Where every @var{phase-name} above is an expression evaluating to a symbol, and @var{new-phase} an expression evaluating to a procedure."
  13891. msgstr ""
  13892. #. type: Plain text
  13893. #: guix-git/doc/guix.texi:8756
  13894. 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:"
  13895. msgstr ""
  13896. #. type: lisp
  13897. #: guix-git/doc/guix.texi:8770
  13898. #, no-wrap
  13899. msgid ""
  13900. "(modify-phases %standard-phases\n"
  13901. " (add-after 'install 'fix-egrep-and-fgrep\n"
  13902. " ;; Patch 'egrep' and 'fgrep' to execute 'grep' via its\n"
  13903. " ;; absolute file name instead of searching for it in $PATH.\n"
  13904. " (lambda* (#:key outputs #:allow-other-keys)\n"
  13905. " (let* ((out (assoc-ref outputs \"out\"))\n"
  13906. " (bin (string-append out \"/bin\")))\n"
  13907. " (substitute* (list (string-append bin \"/egrep\")\n"
  13908. " (string-append bin \"/fgrep\"))\n"
  13909. " ((\"^exec grep\")\n"
  13910. " (string-append \"exec \" bin \"/grep\")))\n"
  13911. " #t))))\n"
  13912. msgstr ""
  13913. #. type: Plain text
  13914. #: guix-git/doc/guix.texi:8777
  13915. 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:"
  13916. msgstr ""
  13917. #. type: lisp
  13918. #: guix-git/doc/guix.texi:8790
  13919. #, no-wrap
  13920. msgid ""
  13921. "(modify-phases %standard-phases\n"
  13922. " (delete 'configure) ;no 'configure' script\n"
  13923. " (replace 'install\n"
  13924. " (lambda* (#:key outputs #:allow-other-keys)\n"
  13925. " ;; The package's Makefile doesn't provide an \"install\"\n"
  13926. " ;; rule so do it by ourselves.\n"
  13927. " (let ((bin (string-append (assoc-ref outputs \"out\")\n"
  13928. " \"/bin\")))\n"
  13929. " (install-file \"footswitch\" bin)\n"
  13930. " (install-file \"scythe\" bin)\n"
  13931. " #t))))\n"
  13932. msgstr ""
  13933. #. type: cindex
  13934. #: guix-git/doc/guix.texi:8798
  13935. #, no-wrap
  13936. msgid "store items"
  13937. msgstr ""
  13938. #. type: cindex
  13939. #: guix-git/doc/guix.texi:8799
  13940. #, no-wrap
  13941. msgid "store paths"
  13942. msgstr ""
  13943. #. type: Plain text
  13944. #: guix-git/doc/guix.texi:8810
  13945. 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}."
  13946. msgstr ""
  13947. #. type: Plain text
  13948. #: guix-git/doc/guix.texi:8815
  13949. 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."
  13950. msgstr ""
  13951. #. type: quotation
  13952. #: guix-git/doc/guix.texi:8820
  13953. 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})."
  13954. msgstr ""
  13955. #. type: quotation
  13956. #: guix-git/doc/guix.texi:8824
  13957. 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."
  13958. msgstr ""
  13959. #. type: Plain text
  13960. #: guix-git/doc/guix.texi:8831
  13961. 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."
  13962. msgstr ""
  13963. #. type: defvr
  13964. #: guix-git/doc/guix.texi:8832
  13965. #, no-wrap
  13966. msgid "{Environment Variable} GUIX_DAEMON_SOCKET"
  13967. msgstr ""
  13968. #. type: defvr
  13969. #: guix-git/doc/guix.texi:8837
  13970. 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:"
  13971. msgstr ""
  13972. #. type: code{#1}
  13973. #: guix-git/doc/guix.texi:8839 guix-git/doc/guix.texi:25026
  13974. #, no-wrap
  13975. msgid "file"
  13976. msgstr ""
  13977. #. type: itemx
  13978. #: guix-git/doc/guix.texi:8840
  13979. #, no-wrap
  13980. msgid "unix"
  13981. msgstr ""
  13982. #. type: table
  13983. #: guix-git/doc/guix.texi:8844
  13984. msgid "These are for Unix-domain sockets. @code{file:///var/guix/daemon-socket/socket} is equivalent to @file{/var/guix/daemon-socket/socket}."
  13985. msgstr ""
  13986. #. type: table
  13987. #: guix-git/doc/guix.texi:8853
  13988. 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):"
  13989. msgstr ""
  13990. #. type: example
  13991. #: guix-git/doc/guix.texi:8856
  13992. #, no-wrap
  13993. msgid "guix://master.guix.example.org:1234\n"
  13994. msgstr ""
  13995. #. type: table
  13996. #: guix-git/doc/guix.texi:8861
  13997. 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}."
  13998. msgstr ""
  13999. #. type: table
  14000. #: guix-git/doc/guix.texi:8865
  14001. 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}})."
  14002. msgstr ""
  14003. #. type: item
  14004. #: guix-git/doc/guix.texi:8866
  14005. #, no-wrap
  14006. msgid "ssh"
  14007. msgstr ""
  14008. #. type: cindex
  14009. #: guix-git/doc/guix.texi:8867
  14010. #, no-wrap
  14011. msgid "SSH access to build daemons"
  14012. msgstr ""
  14013. #. type: table
  14014. #: guix-git/doc/guix.texi:8873
  14015. 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:"
  14016. msgstr ""
  14017. #. type: example
  14018. #: guix-git/doc/guix.texi:8876
  14019. #, no-wrap
  14020. msgid "ssh://charlie@@guix.example.org:22\n"
  14021. msgstr ""
  14022. #. type: table
  14023. #: guix-git/doc/guix.texi:8880
  14024. msgid "As for @command{guix copy}, the usual OpenSSH client configuration files are honored (@pxref{Invoking guix copy})."
  14025. msgstr ""
  14026. #. type: defvr
  14027. #: guix-git/doc/guix.texi:8883
  14028. msgid "Additional URI schemes may be supported in the future."
  14029. msgstr ""
  14030. #. type: quotation
  14031. #: guix-git/doc/guix.texi:8890
  14032. 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})."
  14033. msgstr ""
  14034. #. type: deffn
  14035. #: guix-git/doc/guix.texi:8893
  14036. #, no-wrap
  14037. msgid "{Scheme Procedure} open-connection [@var{uri}] [#:reserve-space? #t]"
  14038. msgstr ""
  14039. #. type: deffn
  14040. #: guix-git/doc/guix.texi:8898
  14041. 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."
  14042. msgstr ""
  14043. #. type: deffn
  14044. #: guix-git/doc/guix.texi:8901
  14045. msgid "@var{file} defaults to @code{%default-socket-path}, which is the normal location given the options that were passed to @command{configure}."
  14046. msgstr ""
  14047. #. type: deffn
  14048. #: guix-git/doc/guix.texi:8903
  14049. #, no-wrap
  14050. msgid "{Scheme Procedure} close-connection @var{server}"
  14051. msgstr ""
  14052. #. type: deffn
  14053. #: guix-git/doc/guix.texi:8905
  14054. msgid "Close the connection to @var{server}."
  14055. msgstr ""
  14056. #. type: defvr
  14057. #: guix-git/doc/guix.texi:8907
  14058. #, no-wrap
  14059. msgid "{Scheme Variable} current-build-output-port"
  14060. msgstr ""
  14061. #. type: defvr
  14062. #: guix-git/doc/guix.texi:8910
  14063. 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."
  14064. msgstr ""
  14065. #. type: Plain text
  14066. #: guix-git/doc/guix.texi:8914
  14067. msgid "Procedures that make RPCs all take a server object as their first argument."
  14068. msgstr ""
  14069. #. type: deffn
  14070. #: guix-git/doc/guix.texi:8915
  14071. #, no-wrap
  14072. msgid "{Scheme Procedure} valid-path? @var{server} @var{path}"
  14073. msgstr ""
  14074. #. type: cindex
  14075. #: guix-git/doc/guix.texi:8916
  14076. #, no-wrap
  14077. msgid "invalid store items"
  14078. msgstr ""
  14079. #. type: deffn
  14080. #: guix-git/doc/guix.texi:8921
  14081. 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)."
  14082. msgstr ""
  14083. #. type: deffn
  14084. #: guix-git/doc/guix.texi:8924
  14085. msgid "A @code{&store-protocol-error} condition is raised if @var{path} is not prefixed by the store directory (@file{/gnu/store})."
  14086. msgstr ""
  14087. #. type: deffn
  14088. #: guix-git/doc/guix.texi:8926
  14089. #, no-wrap
  14090. msgid "{Scheme Procedure} add-text-to-store @var{server} @var{name} @var{text} [@var{references}]"
  14091. msgstr ""
  14092. #. type: deffn
  14093. #: guix-git/doc/guix.texi:8930
  14094. 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."
  14095. msgstr ""
  14096. #. type: deffn
  14097. #: guix-git/doc/guix.texi:8932
  14098. #, no-wrap
  14099. msgid "{Scheme Procedure} build-derivations @var{store} @var{derivations} @"
  14100. msgstr ""
  14101. #. type: deffn
  14102. #: guix-git/doc/guix.texi:8937
  14103. 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."
  14104. msgstr ""
  14105. #. type: Plain text
  14106. #: guix-git/doc/guix.texi:8943
  14107. 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})."
  14108. msgstr ""
  14109. #. type: i{#1}
  14110. #: guix-git/doc/guix.texi:8946
  14111. msgid "This section is currently incomplete."
  14112. msgstr ""
  14113. #. type: cindex
  14114. #: guix-git/doc/guix.texi:8950
  14115. #, no-wrap
  14116. msgid "derivations"
  14117. msgstr ""
  14118. #. type: Plain text
  14119. #: guix-git/doc/guix.texi:8954
  14120. 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:"
  14121. msgstr ""
  14122. #. type: itemize
  14123. #: guix-git/doc/guix.texi:8959
  14124. msgid "The outputs of the derivation---derivations produce at least one file or directory in the store, but may produce more."
  14125. msgstr ""
  14126. #. type: cindex
  14127. #: guix-git/doc/guix.texi:8961
  14128. #, no-wrap
  14129. msgid "build-time dependencies"
  14130. msgstr ""
  14131. #. type: cindex
  14132. #: guix-git/doc/guix.texi:8962
  14133. #, no-wrap
  14134. msgid "dependencies, build-time"
  14135. msgstr ""
  14136. #. type: itemize
  14137. #: guix-git/doc/guix.texi:8966
  14138. 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.)."
  14139. msgstr ""
  14140. #. type: itemize
  14141. #: guix-git/doc/guix.texi:8969
  14142. msgid "The system type targeted by the derivation---e.g., @code{x86_64-linux}."
  14143. msgstr ""
  14144. #. type: itemize
  14145. #: guix-git/doc/guix.texi:8973
  14146. msgid "The file name of a build script in the store, along with the arguments to be passed."
  14147. msgstr ""
  14148. #. type: itemize
  14149. #: guix-git/doc/guix.texi:8976
  14150. msgid "A list of environment variables to be defined."
  14151. msgstr ""
  14152. #. type: cindex
  14153. #: guix-git/doc/guix.texi:8979
  14154. #, no-wrap
  14155. msgid "derivation path"
  14156. msgstr ""
  14157. #. type: Plain text
  14158. #: guix-git/doc/guix.texi:8987
  14159. 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})."
  14160. msgstr ""
  14161. #. type: cindex
  14162. #: guix-git/doc/guix.texi:8988
  14163. #, no-wrap
  14164. msgid "fixed-output derivations"
  14165. msgstr ""
  14166. #. type: Plain text
  14167. #: guix-git/doc/guix.texi:8995
  14168. 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."
  14169. msgstr ""
  14170. #. type: item
  14171. #: guix-git/doc/guix.texi:8996 guix-git/doc/guix.texi:12539
  14172. #, no-wrap
  14173. msgid "references"
  14174. msgstr ""
  14175. #. type: cindex
  14176. #: guix-git/doc/guix.texi:8997
  14177. #, no-wrap
  14178. msgid "run-time dependencies"
  14179. msgstr ""
  14180. #. type: cindex
  14181. #: guix-git/doc/guix.texi:8998
  14182. #, no-wrap
  14183. msgid "dependencies, run-time"
  14184. msgstr ""
  14185. #. type: Plain text
  14186. #: guix-git/doc/guix.texi:9005
  14187. 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."
  14188. msgstr ""
  14189. #. type: Plain text
  14190. #: guix-git/doc/guix.texi:9010
  14191. 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:"
  14192. msgstr ""
  14193. #. type: deffn
  14194. #: guix-git/doc/guix.texi:9011
  14195. #, no-wrap
  14196. msgid "{Scheme Procedure} derivation @var{store} @var{name} @var{builder} @"
  14197. msgstr ""
  14198. #. type: deffn
  14199. #: guix-git/doc/guix.texi:9020
  14200. 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."
  14201. msgstr ""
  14202. #. type: deffn
  14203. #: guix-git/doc/guix.texi:9027
  14204. 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."
  14205. msgstr ""
  14206. #. type: deffn
  14207. #: guix-git/doc/guix.texi:9032
  14208. 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."
  14209. msgstr ""
  14210. #. type: deffn
  14211. #: guix-git/doc/guix.texi:9037
  14212. 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."
  14213. msgstr ""
  14214. #. type: deffn
  14215. #: guix-git/doc/guix.texi:9044
  14216. 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."
  14217. msgstr ""
  14218. #. type: deffn
  14219. #: guix-git/doc/guix.texi:9049
  14220. 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."
  14221. msgstr ""
  14222. #. type: deffn
  14223. #: guix-git/doc/guix.texi:9054
  14224. 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."
  14225. msgstr ""
  14226. #. type: deffn
  14227. #: guix-git/doc/guix.texi:9057
  14228. msgid "@var{properties} must be an association list describing ``properties'' of the derivation. It is kept as-is, uninterpreted, in the derivation."
  14229. msgstr ""
  14230. #. type: Plain text
  14231. #: guix-git/doc/guix.texi:9063
  14232. 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:"
  14233. msgstr ""
  14234. #. type: lisp
  14235. #: guix-git/doc/guix.texi:9068
  14236. #, no-wrap
  14237. msgid ""
  14238. "(use-modules (guix utils)\n"
  14239. " (guix store)\n"
  14240. " (guix derivations))\n"
  14241. "\n"
  14242. msgstr ""
  14243. #. type: lisp
  14244. #: guix-git/doc/guix.texi:9077
  14245. #, no-wrap
  14246. msgid ""
  14247. "(let ((builder ; add the Bash script to the store\n"
  14248. " (add-text-to-store store \"my-builder.sh\"\n"
  14249. " \"echo hello world > $out\\n\" '())))\n"
  14250. " (derivation store \"foo\"\n"
  14251. " bash `(\"-e\" ,builder)\n"
  14252. " #:inputs `((,bash) (,builder))\n"
  14253. " #:env-vars '((\"HOME\" . \"/homeless\"))))\n"
  14254. "@result{} #<derivation /gnu/store/@dots{}-foo.drv => /gnu/store/@dots{}-foo>\n"
  14255. msgstr ""
  14256. #. type: Plain text
  14257. #: guix-git/doc/guix.texi:9084
  14258. 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}."
  14259. msgstr ""
  14260. #. type: Plain text
  14261. #: guix-git/doc/guix.texi:9089
  14262. 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}."
  14263. msgstr ""
  14264. #. type: deffn
  14265. #: guix-git/doc/guix.texi:9090
  14266. #, no-wrap
  14267. msgid "{Scheme Procedure} build-expression->derivation @var{store} @"
  14268. msgstr ""
  14269. #. type: deffn
  14270. #: guix-git/doc/guix.texi:9106
  14271. 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))}."
  14272. msgstr ""
  14273. #. type: deffn
  14274. #: guix-git/doc/guix.texi:9114
  14275. 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."
  14276. msgstr ""
  14277. #. type: deffn
  14278. #: guix-git/doc/guix.texi:9118
  14279. 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."
  14280. msgstr ""
  14281. #. type: deffn
  14282. #: guix-git/doc/guix.texi:9123
  14283. 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?}."
  14284. msgstr ""
  14285. #. type: Plain text
  14286. #: guix-git/doc/guix.texi:9128
  14287. msgid "Here's an example of a single-output derivation that creates a directory containing one file:"
  14288. msgstr ""
  14289. #. type: lisp
  14290. #: guix-git/doc/guix.texi:9136
  14291. #, no-wrap
  14292. msgid ""
  14293. "(let ((builder '(let ((out (assoc-ref %outputs \"out\")))\n"
  14294. " (mkdir out) ; create /gnu/store/@dots{}-goo\n"
  14295. " (call-with-output-file (string-append out \"/test\")\n"
  14296. " (lambda (p)\n"
  14297. " (display '(hello guix) p))))))\n"
  14298. " (build-expression->derivation store \"goo\" builder))\n"
  14299. "\n"
  14300. msgstr ""
  14301. #. type: lisp
  14302. #: guix-git/doc/guix.texi:9138
  14303. #, no-wrap
  14304. msgid "@result{} #<derivation /gnu/store/@dots{}-goo.drv => @dots{}>\n"
  14305. msgstr ""
  14306. #. type: cindex
  14307. #: guix-git/doc/guix.texi:9144
  14308. #, no-wrap
  14309. msgid "monad"
  14310. msgstr ""
  14311. #. type: Plain text
  14312. #: guix-git/doc/guix.texi:9150
  14313. 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."
  14314. msgstr ""
  14315. #. type: Plain text
  14316. #: guix-git/doc/guix.texi:9156
  14317. 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."
  14318. msgstr ""
  14319. #. type: cindex
  14320. #: guix-git/doc/guix.texi:9157
  14321. #, no-wrap
  14322. msgid "monadic values"
  14323. msgstr ""
  14324. #. type: cindex
  14325. #: guix-git/doc/guix.texi:9158
  14326. #, no-wrap
  14327. msgid "monadic functions"
  14328. msgstr ""
  14329. #. type: Plain text
  14330. #: guix-git/doc/guix.texi:9168
  14331. 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}."
  14332. msgstr ""
  14333. #. type: Plain text
  14334. #: guix-git/doc/guix.texi:9170
  14335. msgid "Consider this ``normal'' procedure:"
  14336. msgstr ""
  14337. #. type: lisp
  14338. #: guix-git/doc/guix.texi:9179
  14339. #, no-wrap
  14340. msgid ""
  14341. "(define (sh-symlink store)\n"
  14342. " ;; Return a derivation that symlinks the 'bash' executable.\n"
  14343. " (let* ((drv (package-derivation store bash))\n"
  14344. " (out (derivation->output-path drv))\n"
  14345. " (sh (string-append out \"/bin/bash\")))\n"
  14346. " (build-expression->derivation store \"sh\"\n"
  14347. " `(symlink ,sh %output))))\n"
  14348. msgstr ""
  14349. #. type: Plain text
  14350. #: guix-git/doc/guix.texi:9183
  14351. msgid "Using @code{(guix monads)} and @code{(guix gexp)}, it may be rewritten as a monadic function:"
  14352. msgstr ""
  14353. #. type: lisp
  14354. #: guix-git/doc/guix.texi:9191
  14355. #, no-wrap
  14356. msgid ""
  14357. "(define (sh-symlink)\n"
  14358. " ;; Same, but return a monadic value.\n"
  14359. " (mlet %store-monad ((drv (package->derivation bash)))\n"
  14360. " (gexp->derivation \"sh\"\n"
  14361. " #~(symlink (string-append #$drv \"/bin/bash\")\n"
  14362. " #$output))))\n"
  14363. msgstr ""
  14364. #. type: Plain text
  14365. #: guix-git/doc/guix.texi:9198
  14366. 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}."
  14367. msgstr ""
  14368. #. type: Plain text
  14369. #: guix-git/doc/guix.texi:9202
  14370. 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}):"
  14371. msgstr ""
  14372. #. type: lisp
  14373. #: guix-git/doc/guix.texi:9208
  14374. #, no-wrap
  14375. msgid ""
  14376. "(define (sh-symlink)\n"
  14377. " (gexp->derivation \"sh\"\n"
  14378. " #~(symlink (string-append #$bash \"/bin/bash\")\n"
  14379. " #$output)))\n"
  14380. msgstr ""
  14381. #. type: Plain text
  14382. #: guix-git/doc/guix.texi:9217
  14383. 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}:"
  14384. msgstr ""
  14385. #. type: lisp
  14386. #: guix-git/doc/guix.texi:9221
  14387. #, no-wrap
  14388. msgid ""
  14389. "(run-with-store (open-connection) (sh-symlink))\n"
  14390. "@result{} /gnu/store/...-sh-symlink\n"
  14391. msgstr ""
  14392. #. type: Plain text
  14393. #: guix-git/doc/guix.texi:9227
  14394. 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:"
  14395. msgstr ""
  14396. #. type: example
  14397. #: guix-git/doc/guix.texi:9231
  14398. #, no-wrap
  14399. msgid ""
  14400. "scheme@@(guile-user)> ,run-in-store (package->derivation hello)\n"
  14401. "$1 = #<derivation /gnu/store/@dots{}-hello-2.9.drv => @dots{}>\n"
  14402. msgstr ""
  14403. #. type: Plain text
  14404. #: guix-git/doc/guix.texi:9235
  14405. msgid "The latter enters a recursive REPL, where all the return values are automatically run through the store:"
  14406. msgstr ""
  14407. #. type: example
  14408. #: guix-git/doc/guix.texi:9244
  14409. #, no-wrap
  14410. msgid ""
  14411. "scheme@@(guile-user)> ,enter-store-monad\n"
  14412. "store-monad@@(guile-user) [1]> (package->derivation hello)\n"
  14413. "$2 = #<derivation /gnu/store/@dots{}-hello-2.9.drv => @dots{}>\n"
  14414. "store-monad@@(guile-user) [1]> (text-file \"foo\" \"Hello!\")\n"
  14415. "$3 = \"/gnu/store/@dots{}-foo\"\n"
  14416. "store-monad@@(guile-user) [1]> ,q\n"
  14417. "scheme@@(guile-user)>\n"
  14418. msgstr ""
  14419. #. type: Plain text
  14420. #: guix-git/doc/guix.texi:9249
  14421. msgid "Note that non-monadic values cannot be returned in the @code{store-monad} REPL."
  14422. msgstr ""
  14423. #. type: Plain text
  14424. #: guix-git/doc/guix.texi:9252
  14425. msgid "The main syntactic forms to deal with monads in general are provided by the @code{(guix monads)} module and are described below."
  14426. msgstr ""
  14427. #. type: deffn
  14428. #: guix-git/doc/guix.texi:9253
  14429. #, no-wrap
  14430. msgid "{Scheme Syntax} with-monad @var{monad} @var{body} ..."
  14431. msgstr ""
  14432. #. type: deffn
  14433. #: guix-git/doc/guix.texi:9256
  14434. msgid "Evaluate any @code{>>=} or @code{return} forms in @var{body} as being in @var{monad}."
  14435. msgstr ""
  14436. #. type: deffn
  14437. #: guix-git/doc/guix.texi:9258
  14438. #, no-wrap
  14439. msgid "{Scheme Syntax} return @var{val}"
  14440. msgstr ""
  14441. #. type: deffn
  14442. #: guix-git/doc/guix.texi:9260
  14443. msgid "Return a monadic value that encapsulates @var{val}."
  14444. msgstr ""
  14445. #. type: deffn
  14446. #: guix-git/doc/guix.texi:9262
  14447. #, no-wrap
  14448. msgid "{Scheme Syntax} >>= @var{mval} @var{mproc} ..."
  14449. msgstr ""
  14450. #. type: deffn
  14451. #: guix-git/doc/guix.texi:9269
  14452. 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:"
  14453. msgstr ""
  14454. #. type: lisp
  14455. #: guix-git/doc/guix.texi:9277
  14456. #, no-wrap
  14457. msgid ""
  14458. "(run-with-state\n"
  14459. " (with-monad %state-monad\n"
  14460. " (>>= (return 1)\n"
  14461. " (lambda (x) (return (+ 1 x)))\n"
  14462. " (lambda (x) (return (* 2 x)))))\n"
  14463. " 'some-state)\n"
  14464. "\n"
  14465. msgstr ""
  14466. #. type: lisp
  14467. #: guix-git/doc/guix.texi:9280
  14468. #, no-wrap
  14469. msgid ""
  14470. "@result{} 4\n"
  14471. "@result{} some-state\n"
  14472. msgstr ""
  14473. #. type: deffn
  14474. #: guix-git/doc/guix.texi:9283
  14475. #, no-wrap
  14476. msgid "{Scheme Syntax} mlet @var{monad} ((@var{var} @var{mval}) ...) @"
  14477. msgstr ""
  14478. #. type: deffn
  14479. #: guix-git/doc/guix.texi:9285
  14480. msgid "@var{body} ..."
  14481. msgstr ""
  14482. #. type: deffnx
  14483. #: guix-git/doc/guix.texi:9285
  14484. #, no-wrap
  14485. msgid "{Scheme Syntax} mlet* @var{monad} ((@var{var} @var{mval}) ...) @"
  14486. msgstr ""
  14487. #. type: deffn
  14488. #: guix-git/doc/guix.texi:9297
  14489. 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}."
  14490. msgstr ""
  14491. #. type: deffn
  14492. #: guix-git/doc/guix.texi:9300
  14493. msgid "@code{mlet*} is to @code{mlet} what @code{let*} is to @code{let} (@pxref{Local Bindings,,, guile, GNU Guile Reference Manual})."
  14494. msgstr ""
  14495. #. type: deffn
  14496. #: guix-git/doc/guix.texi:9302
  14497. #, no-wrap
  14498. msgid "{Scheme System} mbegin @var{monad} @var{mexp} ..."
  14499. msgstr ""
  14500. #. type: deffn
  14501. #: guix-git/doc/guix.texi:9306
  14502. 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."
  14503. msgstr ""
  14504. #. type: deffn
  14505. #: guix-git/doc/guix.texi:9310
  14506. 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."
  14507. msgstr ""
  14508. #. type: deffn
  14509. #: guix-git/doc/guix.texi:9312
  14510. #, no-wrap
  14511. msgid "{Scheme System} mwhen @var{condition} @var{mexp0} @var{mexp*} ..."
  14512. msgstr ""
  14513. #. type: deffn
  14514. #: guix-git/doc/guix.texi:9317
  14515. 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."
  14516. msgstr ""
  14517. #. type: deffn
  14518. #: guix-git/doc/guix.texi:9319
  14519. #, no-wrap
  14520. msgid "{Scheme System} munless @var{condition} @var{mexp0} @var{mexp*} ..."
  14521. msgstr ""
  14522. #. type: deffn
  14523. #: guix-git/doc/guix.texi:9324
  14524. 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."
  14525. msgstr ""
  14526. #. type: cindex
  14527. #: guix-git/doc/guix.texi:9326
  14528. #, no-wrap
  14529. msgid "state monad"
  14530. msgstr ""
  14531. #. type: Plain text
  14532. #: guix-git/doc/guix.texi:9330
  14533. 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."
  14534. msgstr ""
  14535. #. type: defvr
  14536. #: guix-git/doc/guix.texi:9331
  14537. #, no-wrap
  14538. msgid "{Scheme Variable} %state-monad"
  14539. msgstr ""
  14540. #. type: defvr
  14541. #: guix-git/doc/guix.texi:9334
  14542. msgid "The state monad. Procedures in the state monad can access and change the state that is threaded."
  14543. msgstr ""
  14544. #. type: defvr
  14545. #: guix-git/doc/guix.texi:9338
  14546. 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:"
  14547. msgstr ""
  14548. #. type: lisp
  14549. #: guix-git/doc/guix.texi:9345
  14550. #, no-wrap
  14551. msgid ""
  14552. "(define (square x)\n"
  14553. " (mlet %state-monad ((count (current-state)))\n"
  14554. " (mbegin %state-monad\n"
  14555. " (set-current-state (+ 1 count))\n"
  14556. " (return (* x x)))))\n"
  14557. "\n"
  14558. msgstr ""
  14559. #. type: lisp
  14560. #: guix-git/doc/guix.texi:9349
  14561. #, no-wrap
  14562. msgid ""
  14563. "(run-with-state (sequence %state-monad (map square (iota 3))) 0)\n"
  14564. "@result{} (0 1 4)\n"
  14565. "@result{} 3\n"
  14566. msgstr ""
  14567. #. type: defvr
  14568. #: guix-git/doc/guix.texi:9353
  14569. msgid "When ``run'' through @code{%state-monad}, we obtain that additional state value, which is the number of @code{square} calls."
  14570. msgstr ""
  14571. #. type: deffn
  14572. #: guix-git/doc/guix.texi:9355
  14573. #, no-wrap
  14574. msgid "{Monadic Procedure} current-state"
  14575. msgstr ""
  14576. #. type: deffn
  14577. #: guix-git/doc/guix.texi:9357
  14578. msgid "Return the current state as a monadic value."
  14579. msgstr ""
  14580. #. type: deffn
  14581. #: guix-git/doc/guix.texi:9359
  14582. #, no-wrap
  14583. msgid "{Monadic Procedure} set-current-state @var{value}"
  14584. msgstr ""
  14585. #. type: deffn
  14586. #: guix-git/doc/guix.texi:9362
  14587. msgid "Set the current state to @var{value} and return the previous state as a monadic value."
  14588. msgstr ""
  14589. #. type: deffn
  14590. #: guix-git/doc/guix.texi:9364
  14591. #, no-wrap
  14592. msgid "{Monadic Procedure} state-push @var{value}"
  14593. msgstr ""
  14594. #. type: deffn
  14595. #: guix-git/doc/guix.texi:9367
  14596. msgid "Push @var{value} to the current state, which is assumed to be a list, and return the previous state as a monadic value."
  14597. msgstr ""
  14598. #. type: deffn
  14599. #: guix-git/doc/guix.texi:9369
  14600. #, no-wrap
  14601. msgid "{Monadic Procedure} state-pop"
  14602. msgstr ""
  14603. #. type: deffn
  14604. #: guix-git/doc/guix.texi:9372
  14605. msgid "Pop a value from the current state and return it as a monadic value. The state is assumed to be a list."
  14606. msgstr ""
  14607. #. type: deffn
  14608. #: guix-git/doc/guix.texi:9374
  14609. #, no-wrap
  14610. msgid "{Scheme Procedure} run-with-state @var{mval} [@var{state}]"
  14611. msgstr ""
  14612. #. type: deffn
  14613. #: guix-git/doc/guix.texi:9377
  14614. msgid "Run monadic value @var{mval} starting with @var{state} as the initial state. Return two values: the resulting value, and the resulting state."
  14615. msgstr ""
  14616. #. type: Plain text
  14617. #: guix-git/doc/guix.texi:9381
  14618. msgid "The main interface to the store monad, provided by the @code{(guix store)} module, is as follows."
  14619. msgstr ""
  14620. #. type: defvr
  14621. #: guix-git/doc/guix.texi:9382
  14622. #, no-wrap
  14623. msgid "{Scheme Variable} %store-monad"
  14624. msgstr ""
  14625. #. type: defvr
  14626. #: guix-git/doc/guix.texi:9384
  14627. msgid "The store monad---an alias for @code{%state-monad}."
  14628. msgstr ""
  14629. #. type: defvr
  14630. #: guix-git/doc/guix.texi:9388
  14631. 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)."
  14632. msgstr ""
  14633. #. type: deffn
  14634. #: guix-git/doc/guix.texi:9390
  14635. #, no-wrap
  14636. msgid "{Scheme Procedure} run-with-store @var{store} @var{mval} [#:guile-for-build] [#:system (%current-system)]"
  14637. msgstr ""
  14638. #. type: deffn
  14639. #: guix-git/doc/guix.texi:9393
  14640. msgid "Run @var{mval}, a monadic value in the store monad, in @var{store}, an open store connection."
  14641. msgstr ""
  14642. #. type: deffn
  14643. #: guix-git/doc/guix.texi:9395
  14644. #, no-wrap
  14645. msgid "{Monadic Procedure} text-file @var{name} @var{text} [@var{references}]"
  14646. msgstr ""
  14647. #. type: deffn
  14648. #: guix-git/doc/guix.texi:9399
  14649. 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."
  14650. msgstr ""
  14651. #. type: deffn
  14652. #: guix-git/doc/guix.texi:9401
  14653. #, no-wrap
  14654. msgid "{Monadic Procedure} binary-file @var{name} @var{data} [@var{references}]"
  14655. msgstr ""
  14656. #. type: deffn
  14657. #: guix-git/doc/guix.texi:9405
  14658. 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."
  14659. msgstr ""
  14660. #. type: deffn
  14661. #: guix-git/doc/guix.texi:9407
  14662. #, no-wrap
  14663. msgid "{Monadic Procedure} interned-file @var{file} [@var{name}] @"
  14664. msgstr ""
  14665. #. type: deffn
  14666. #: guix-git/doc/guix.texi:9412
  14667. 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."
  14668. msgstr ""
  14669. #. type: deffn
  14670. #: guix-git/doc/guix.texi:9416 guix-git/doc/guix.texi:9839
  14671. 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."
  14672. msgstr ""
  14673. #. type: deffn
  14674. #: guix-git/doc/guix.texi:9421 guix-git/doc/guix.texi:9844
  14675. 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."
  14676. msgstr ""
  14677. #. type: deffn
  14678. #: guix-git/doc/guix.texi:9423
  14679. msgid "The example below adds a file to the store, under two different names:"
  14680. msgstr ""
  14681. #. type: lisp
  14682. #: guix-git/doc/guix.texi:9429
  14683. #, no-wrap
  14684. msgid ""
  14685. "(run-with-store (open-connection)\n"
  14686. " (mlet %store-monad ((a (interned-file \"README\"))\n"
  14687. " (b (interned-file \"README\" \"LEGU-MIN\")))\n"
  14688. " (return (list a b))))\n"
  14689. "\n"
  14690. msgstr ""
  14691. #. type: lisp
  14692. #: guix-git/doc/guix.texi:9431
  14693. #, no-wrap
  14694. msgid "@result{} (\"/gnu/store/rwm@dots{}-README\" \"/gnu/store/44i@dots{}-LEGU-MIN\")\n"
  14695. msgstr ""
  14696. #. type: Plain text
  14697. #: guix-git/doc/guix.texi:9437
  14698. msgid "The @code{(guix packages)} module exports the following package-related monadic procedures:"
  14699. msgstr ""
  14700. #. type: deffn
  14701. #: guix-git/doc/guix.texi:9438
  14702. #, no-wrap
  14703. msgid "{Monadic Procedure} package-file @var{package} [@var{file}] @"
  14704. msgstr ""
  14705. #. type: deffn
  14706. #: guix-git/doc/guix.texi:9446
  14707. 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."
  14708. msgstr ""
  14709. #. type: deffn
  14710. #: guix-git/doc/guix.texi:9450
  14711. 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."
  14712. msgstr ""
  14713. #. type: deffn
  14714. #: guix-git/doc/guix.texi:9452
  14715. #, no-wrap
  14716. msgid "{Monadic Procedure} package->derivation @var{package} [@var{system}]"
  14717. msgstr ""
  14718. #. type: deffnx
  14719. #: guix-git/doc/guix.texi:9453
  14720. #, no-wrap
  14721. msgid "{Monadic Procedure} package->cross-derivation @var{package} @"
  14722. msgstr ""
  14723. #. type: deffn
  14724. #: guix-git/doc/guix.texi:9457
  14725. msgid "@var{target} [@var{system}] Monadic version of @code{package-derivation} and @code{package-cross-derivation} (@pxref{Defining Packages})."
  14726. msgstr ""
  14727. #. type: cindex
  14728. #: guix-git/doc/guix.texi:9463
  14729. #, no-wrap
  14730. msgid "G-expression"
  14731. msgstr ""
  14732. #. type: cindex
  14733. #: guix-git/doc/guix.texi:9464
  14734. #, no-wrap
  14735. msgid "build code quoting"
  14736. msgstr ""
  14737. #. type: Plain text
  14738. #: guix-git/doc/guix.texi:9470
  14739. 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})."
  14740. msgstr ""
  14741. #. type: cindex
  14742. #: guix-git/doc/guix.texi:9473
  14743. #, no-wrap
  14744. msgid "strata of code"
  14745. msgstr ""
  14746. #. type: Plain text
  14747. #: guix-git/doc/guix.texi:9485
  14748. 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})."
  14749. msgstr ""
  14750. #. type: Plain text
  14751. #: guix-git/doc/guix.texi:9492
  14752. 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."
  14753. msgstr ""
  14754. #. type: Plain text
  14755. #: guix-git/doc/guix.texi:9501
  14756. 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:"
  14757. msgstr ""
  14758. #. type: itemize
  14759. #: guix-git/doc/guix.texi:9506
  14760. msgid "Gexps are meant to be written to a file and run or manipulated by other processes."
  14761. msgstr ""
  14762. #. type: itemize
  14763. #: guix-git/doc/guix.texi:9511
  14764. 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."
  14765. msgstr ""
  14766. #. type: itemize
  14767. #: guix-git/doc/guix.texi:9516
  14768. 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."
  14769. msgstr ""
  14770. #. type: cindex
  14771. #: guix-git/doc/guix.texi:9518 guix-git/doc/guix.texi:10075
  14772. #, no-wrap
  14773. msgid "lowering, of high-level objects in gexps"
  14774. msgstr ""
  14775. #. type: Plain text
  14776. #: guix-git/doc/guix.texi:9528
  14777. 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)."
  14778. msgstr ""
  14779. #. type: Plain text
  14780. #: guix-git/doc/guix.texi:9530
  14781. msgid "To illustrate the idea, here is an example of a gexp:"
  14782. msgstr ""
  14783. #. type: lisp
  14784. #: guix-git/doc/guix.texi:9538
  14785. #, no-wrap
  14786. msgid ""
  14787. "(define build-exp\n"
  14788. " #~(begin\n"
  14789. " (mkdir #$output)\n"
  14790. " (chdir #$output)\n"
  14791. " (symlink (string-append #$coreutils \"/bin/ls\")\n"
  14792. " \"list-files\")))\n"
  14793. msgstr ""
  14794. #. type: Plain text
  14795. #: guix-git/doc/guix.texi:9543
  14796. 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}:"
  14797. msgstr ""
  14798. #. type: lisp
  14799. #: guix-git/doc/guix.texi:9546
  14800. #, no-wrap
  14801. msgid "(gexp->derivation \"the-thing\" build-exp)\n"
  14802. msgstr ""
  14803. #. type: Plain text
  14804. #: guix-git/doc/guix.texi:9554
  14805. 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."
  14806. msgstr ""
  14807. #. type: cindex
  14808. #: guix-git/doc/guix.texi:9555
  14809. #, no-wrap
  14810. msgid "cross compilation"
  14811. msgstr ""
  14812. #. type: Plain text
  14813. #: guix-git/doc/guix.texi:9561
  14814. 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:"
  14815. msgstr ""
  14816. #. type: lisp
  14817. #: guix-git/doc/guix.texi:9572
  14818. #, no-wrap
  14819. msgid ""
  14820. "(gexp->derivation \"vi\"\n"
  14821. " #~(begin\n"
  14822. " (mkdir #$output)\n"
  14823. " (mkdir (string-append #$output \"/bin\"))\n"
  14824. " (system* (string-append #+coreutils \"/bin/ln\")\n"
  14825. " \"-s\"\n"
  14826. " (string-append #$emacs \"/bin/emacs\")\n"
  14827. " (string-append #$output \"/bin/vi\")))\n"
  14828. " #:target \"aarch64-linux-gnu\")\n"
  14829. msgstr ""
  14830. #. type: Plain text
  14831. #: guix-git/doc/guix.texi:9578
  14832. 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."
  14833. msgstr ""
  14834. #. type: cindex
  14835. #: guix-git/doc/guix.texi:9579
  14836. #, no-wrap
  14837. msgid "imported modules, for gexps"
  14838. msgstr ""
  14839. #. type: findex
  14840. #: guix-git/doc/guix.texi:9580
  14841. #, no-wrap
  14842. msgid "with-imported-modules"
  14843. msgstr ""
  14844. #. type: Plain text
  14845. #: guix-git/doc/guix.texi:9585
  14846. 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:"
  14847. msgstr ""
  14848. #. type: lisp
  14849. #: guix-git/doc/guix.texi:9596
  14850. #, no-wrap
  14851. msgid ""
  14852. "(let ((build (with-imported-modules '((guix build utils))\n"
  14853. " #~(begin\n"
  14854. " (use-modules (guix build utils))\n"
  14855. " (mkdir-p (string-append #$output \"/bin\"))))))\n"
  14856. " (gexp->derivation \"empty-dir\"\n"
  14857. " #~(begin\n"
  14858. " #$build\n"
  14859. " (display \"success!\\n\")\n"
  14860. " #t)))\n"
  14861. msgstr ""
  14862. #. type: Plain text
  14863. #: guix-git/doc/guix.texi:9602
  14864. 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."
  14865. msgstr ""
  14866. #. type: cindex
  14867. #: guix-git/doc/guix.texi:9603
  14868. #, no-wrap
  14869. msgid "module closure"
  14870. msgstr ""
  14871. #. type: findex
  14872. #: guix-git/doc/guix.texi:9604
  14873. #, no-wrap
  14874. msgid "source-module-closure"
  14875. msgstr ""
  14876. #. type: Plain text
  14877. #: guix-git/doc/guix.texi:9611
  14878. 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:"
  14879. msgstr ""
  14880. #. type: lisp
  14881. #: guix-git/doc/guix.texi:9614
  14882. #, no-wrap
  14883. msgid ""
  14884. "(use-modules (guix modules)) ;for 'source-module-closure'\n"
  14885. "\n"
  14886. msgstr ""
  14887. #. type: lisp
  14888. #: guix-git/doc/guix.texi:9623
  14889. #, no-wrap
  14890. msgid ""
  14891. "(with-imported-modules (source-module-closure\n"
  14892. " '((guix build utils)\n"
  14893. " (gnu build vm)))\n"
  14894. " (gexp->derivation \"something-with-vms\"\n"
  14895. " #~(begin\n"
  14896. " (use-modules (guix build utils)\n"
  14897. " (gnu build vm))\n"
  14898. " @dots{})))\n"
  14899. msgstr ""
  14900. #. type: cindex
  14901. #: guix-git/doc/guix.texi:9625
  14902. #, no-wrap
  14903. msgid "extensions, for gexps"
  14904. msgstr ""
  14905. #. type: findex
  14906. #: guix-git/doc/guix.texi:9626
  14907. #, no-wrap
  14908. msgid "with-extensions"
  14909. msgstr ""
  14910. #. type: Plain text
  14911. #: guix-git/doc/guix.texi:9631
  14912. 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:"
  14913. msgstr ""
  14914. #. type: lisp
  14915. #: guix-git/doc/guix.texi:9634
  14916. #, no-wrap
  14917. msgid ""
  14918. "(use-modules (gnu packages guile)) ;for 'guile-json'\n"
  14919. "\n"
  14920. msgstr ""
  14921. #. type: lisp
  14922. #: guix-git/doc/guix.texi:9640
  14923. #, no-wrap
  14924. msgid ""
  14925. "(with-extensions (list guile-json)\n"
  14926. " (gexp->derivation \"something-with-json\"\n"
  14927. " #~(begin\n"
  14928. " (use-modules (json))\n"
  14929. " @dots{})))\n"
  14930. msgstr ""
  14931. #. type: Plain text
  14932. #: guix-git/doc/guix.texi:9643
  14933. msgid "The syntactic form to construct gexps is summarized below."
  14934. msgstr ""
  14935. #. type: deffn
  14936. #: guix-git/doc/guix.texi:9644
  14937. #, no-wrap
  14938. msgid "{Scheme Syntax} #~@var{exp}"
  14939. msgstr ""
  14940. #. type: deffnx
  14941. #: guix-git/doc/guix.texi:9645
  14942. #, no-wrap
  14943. msgid "{Scheme Syntax} (gexp @var{exp})"
  14944. msgstr ""
  14945. #. type: deffn
  14946. #: guix-git/doc/guix.texi:9648
  14947. msgid "Return a G-expression containing @var{exp}. @var{exp} may contain one or more of the following forms:"
  14948. msgstr ""
  14949. #. type: item
  14950. #: guix-git/doc/guix.texi:9650
  14951. #, no-wrap
  14952. msgid "#$@var{obj}"
  14953. msgstr ""
  14954. #. type: itemx
  14955. #: guix-git/doc/guix.texi:9651
  14956. #, no-wrap
  14957. msgid "(ungexp @var{obj})"
  14958. msgstr ""
  14959. #. type: table
  14960. #: guix-git/doc/guix.texi:9656
  14961. 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}."
  14962. msgstr ""
  14963. #. type: table
  14964. #: guix-git/doc/guix.texi:9659
  14965. msgid "If @var{obj} is a list, it is traversed and references to supported objects are substituted similarly."
  14966. msgstr ""
  14967. #. type: table
  14968. #: guix-git/doc/guix.texi:9662
  14969. msgid "If @var{obj} is another gexp, its contents are inserted and its dependencies are added to those of the containing gexp."
  14970. msgstr ""
  14971. #. type: table
  14972. #: guix-git/doc/guix.texi:9664
  14973. msgid "If @var{obj} is another kind of object, it is inserted as is."
  14974. msgstr ""
  14975. #. type: item
  14976. #: guix-git/doc/guix.texi:9665
  14977. #, no-wrap
  14978. msgid "#$@var{obj}:@var{output}"
  14979. msgstr ""
  14980. #. type: itemx
  14981. #: guix-git/doc/guix.texi:9666
  14982. #, no-wrap
  14983. msgid "(ungexp @var{obj} @var{output})"
  14984. msgstr ""
  14985. #. type: table
  14986. #: guix-git/doc/guix.texi:9670
  14987. 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})."
  14988. msgstr ""
  14989. #. type: item
  14990. #: guix-git/doc/guix.texi:9671
  14991. #, no-wrap
  14992. msgid "#+@var{obj}"
  14993. msgstr ""
  14994. #. type: itemx
  14995. #: guix-git/doc/guix.texi:9672
  14996. #, no-wrap
  14997. msgid "#+@var{obj}:output"
  14998. msgstr ""
  14999. #. type: itemx
  15000. #: guix-git/doc/guix.texi:9673
  15001. #, no-wrap
  15002. msgid "(ungexp-native @var{obj})"
  15003. msgstr ""
  15004. #. type: itemx
  15005. #: guix-git/doc/guix.texi:9674
  15006. #, no-wrap
  15007. msgid "(ungexp-native @var{obj} @var{output})"
  15008. msgstr ""
  15009. #. type: table
  15010. #: guix-git/doc/guix.texi:9677
  15011. msgid "Same as @code{ungexp}, but produces a reference to the @emph{native} build of @var{obj} when used in a cross compilation context."
  15012. msgstr ""
  15013. #. type: item
  15014. #: guix-git/doc/guix.texi:9678
  15015. #, no-wrap
  15016. msgid "#$output[:@var{output}]"
  15017. msgstr ""
  15018. #. type: itemx
  15019. #: guix-git/doc/guix.texi:9679
  15020. #, no-wrap
  15021. msgid "(ungexp output [@var{output}])"
  15022. msgstr ""
  15023. #. type: table
  15024. #: guix-git/doc/guix.texi:9682
  15025. msgid "Insert a reference to derivation output @var{output}, or to the main output when @var{output} is omitted."
  15026. msgstr ""
  15027. #. type: table
  15028. #: guix-git/doc/guix.texi:9684
  15029. msgid "This only makes sense for gexps passed to @code{gexp->derivation}."
  15030. msgstr ""
  15031. #. type: item
  15032. #: guix-git/doc/guix.texi:9685
  15033. #, no-wrap
  15034. msgid "#$@@@var{lst}"
  15035. msgstr ""
  15036. #. type: itemx
  15037. #: guix-git/doc/guix.texi:9686
  15038. #, no-wrap
  15039. msgid "(ungexp-splicing @var{lst})"
  15040. msgstr ""
  15041. #. type: table
  15042. #: guix-git/doc/guix.texi:9689
  15043. msgid "Like the above, but splices the contents of @var{lst} inside the containing list."
  15044. msgstr ""
  15045. #. type: item
  15046. #: guix-git/doc/guix.texi:9690
  15047. #, no-wrap
  15048. msgid "#+@@@var{lst}"
  15049. msgstr ""
  15050. #. type: itemx
  15051. #: guix-git/doc/guix.texi:9691
  15052. #, no-wrap
  15053. msgid "(ungexp-native-splicing @var{lst})"
  15054. msgstr ""
  15055. #. type: table
  15056. #: guix-git/doc/guix.texi:9694
  15057. msgid "Like the above, but refers to native builds of the objects listed in @var{lst}."
  15058. msgstr ""
  15059. #. type: deffn
  15060. #: guix-git/doc/guix.texi:9699
  15061. msgid "G-expressions created by @code{gexp} or @code{#~} are run-time objects of the @code{gexp?} type (see below)."
  15062. msgstr ""
  15063. #. type: deffn
  15064. #: guix-git/doc/guix.texi:9701
  15065. #, no-wrap
  15066. msgid "{Scheme Syntax} with-imported-modules @var{modules} @var{body}@dots{}"
  15067. msgstr ""
  15068. #. type: deffn
  15069. #: guix-git/doc/guix.texi:9704
  15070. msgid "Mark the gexps defined in @var{body}@dots{} as requiring @var{modules} in their execution environment."
  15071. msgstr ""
  15072. #. type: deffn
  15073. #: guix-git/doc/guix.texi:9708
  15074. 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:"
  15075. msgstr ""
  15076. #. type: lisp
  15077. #: guix-git/doc/guix.texi:9714
  15078. #, no-wrap
  15079. msgid ""
  15080. "`((guix build utils)\n"
  15081. " (guix gcrypt)\n"
  15082. " ((guix config) => ,(scheme-file \"config.scm\"\n"
  15083. " #~(define-module @dots{}))))\n"
  15084. msgstr ""
  15085. #. type: deffn
  15086. #: guix-git/doc/guix.texi:9719
  15087. 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."
  15088. msgstr ""
  15089. #. type: deffn
  15090. #: guix-git/doc/guix.texi:9723
  15091. 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{}."
  15092. msgstr ""
  15093. #. type: deffn
  15094. #: guix-git/doc/guix.texi:9725
  15095. #, no-wrap
  15096. msgid "{Scheme Syntax} with-extensions @var{extensions} @var{body}@dots{}"
  15097. msgstr ""
  15098. #. type: deffn
  15099. #: guix-git/doc/guix.texi:9730
  15100. 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."
  15101. msgstr ""
  15102. #. type: deffn
  15103. #: guix-git/doc/guix.texi:9735
  15104. 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{}."
  15105. msgstr ""
  15106. #. type: deffn
  15107. #: guix-git/doc/guix.texi:9737
  15108. #, no-wrap
  15109. msgid "{Scheme Procedure} gexp? @var{obj}"
  15110. msgstr ""
  15111. #. type: deffn
  15112. #: guix-git/doc/guix.texi:9739
  15113. msgid "Return @code{#t} if @var{obj} is a G-expression."
  15114. msgstr ""
  15115. #. type: Plain text
  15116. #: guix-git/doc/guix.texi:9745
  15117. 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)."
  15118. msgstr ""
  15119. #. type: deffn
  15120. #: guix-git/doc/guix.texi:9746
  15121. #, no-wrap
  15122. msgid "{Monadic Procedure} gexp->derivation @var{name} @var{exp} @"
  15123. msgstr ""
  15124. #. type: deffn
  15125. #: guix-git/doc/guix.texi:9764
  15126. 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}."
  15127. msgstr ""
  15128. #. type: deffn
  15129. #: guix-git/doc/guix.texi:9772
  15130. 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))}."
  15131. msgstr ""
  15132. #. type: deffn
  15133. #: guix-git/doc/guix.texi:9775
  15134. 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\"}."
  15135. msgstr ""
  15136. #. type: deffn
  15137. #: guix-git/doc/guix.texi:9778
  15138. msgid "@var{graft?} determines whether packages referred to by @var{exp} should be grafted when applicable."
  15139. msgstr ""
  15140. #. type: deffn
  15141. #: guix-git/doc/guix.texi:9781
  15142. msgid "When @var{references-graphs} is true, it must be a list of tuples of one of the following forms:"
  15143. msgstr ""
  15144. #. type: example
  15145. #: guix-git/doc/guix.texi:9788
  15146. #, no-wrap
  15147. msgid ""
  15148. "(@var{file-name} @var{package})\n"
  15149. "(@var{file-name} @var{package} @var{output})\n"
  15150. "(@var{file-name} @var{derivation})\n"
  15151. "(@var{file-name} @var{derivation} @var{output})\n"
  15152. "(@var{file-name} @var{store-item})\n"
  15153. msgstr ""
  15154. #. type: deffn
  15155. #: guix-git/doc/guix.texi:9794
  15156. 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."
  15157. msgstr ""
  15158. #. type: deffn
  15159. #: guix-git/doc/guix.texi:9800
  15160. 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."
  15161. msgstr ""
  15162. #. type: deffn
  15163. #: guix-git/doc/guix.texi:9803
  15164. msgid "@var{deprecation-warnings} determines whether to show deprecation warnings while compiling modules. It can be @code{#f}, @code{#t}, or @code{'detailed}."
  15165. msgstr ""
  15166. #. type: deffn
  15167. #: guix-git/doc/guix.texi:9805
  15168. msgid "The other arguments are as for @code{derivation} (@pxref{Derivations})."
  15169. msgstr ""
  15170. #. type: cindex
  15171. #: guix-git/doc/guix.texi:9807
  15172. #, no-wrap
  15173. msgid "file-like objects"
  15174. msgstr ""
  15175. #. type: Plain text
  15176. #: guix-git/doc/guix.texi:9812
  15177. 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:"
  15178. msgstr ""
  15179. #. type: lisp
  15180. #: guix-git/doc/guix.texi:9816
  15181. #, no-wrap
  15182. msgid ""
  15183. "#~(system* #$(file-append glibc \"/sbin/nscd\") \"-f\"\n"
  15184. " #$(local-file \"/tmp/my-nscd.conf\"))\n"
  15185. msgstr ""
  15186. #. type: Plain text
  15187. #: guix-git/doc/guix.texi:9825
  15188. 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."
  15189. msgstr ""
  15190. #. type: deffn
  15191. #: guix-git/doc/guix.texi:9826
  15192. #, no-wrap
  15193. msgid "{Scheme Procedure} local-file @var{file} [@var{name}] @"
  15194. msgstr ""
  15195. #. type: deffn
  15196. #: guix-git/doc/guix.texi:9835
  15197. 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}."
  15198. msgstr ""
  15199. #. type: deffn
  15200. #: guix-git/doc/guix.texi:9847
  15201. msgid "This is the declarative counterpart of the @code{interned-file} monadic procedure (@pxref{The Store Monad, @code{interned-file}})."
  15202. msgstr ""
  15203. #. type: deffn
  15204. #: guix-git/doc/guix.texi:9849
  15205. #, no-wrap
  15206. msgid "{Scheme Procedure} plain-file @var{name} @var{content}"
  15207. msgstr ""
  15208. #. type: deffn
  15209. #: guix-git/doc/guix.texi:9852
  15210. 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."
  15211. msgstr ""
  15212. #. type: deffn
  15213. #: guix-git/doc/guix.texi:9854
  15214. msgid "This is the declarative counterpart of @code{text-file}."
  15215. msgstr ""
  15216. #. type: deffn
  15217. #: guix-git/doc/guix.texi:9856
  15218. #, no-wrap
  15219. msgid "{Scheme Procedure} computed-file @var{name} @var{gexp} @"
  15220. msgstr ""
  15221. #. type: deffn
  15222. #: guix-git/doc/guix.texi:9863
  15223. 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}."
  15224. msgstr ""
  15225. #. type: deffn
  15226. #: guix-git/doc/guix.texi:9865
  15227. msgid "This is the declarative counterpart of @code{gexp->derivation}."
  15228. msgstr ""
  15229. #. type: deffn
  15230. #: guix-git/doc/guix.texi:9867
  15231. #, no-wrap
  15232. msgid "{Monadic Procedure} gexp->script @var{name} @var{exp} @"
  15233. msgstr ""
  15234. #. type: deffn
  15235. #: guix-git/doc/guix.texi:9873
  15236. 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}."
  15237. msgstr ""
  15238. #. type: deffn
  15239. #: guix-git/doc/guix.texi:9876
  15240. msgid "The example below builds a script that simply invokes the @command{ls} command:"
  15241. msgstr ""
  15242. #. type: lisp
  15243. #: guix-git/doc/guix.texi:9879
  15244. #, no-wrap
  15245. msgid ""
  15246. "(use-modules (guix gexp) (gnu packages base))\n"
  15247. "\n"
  15248. msgstr ""
  15249. #. type: lisp
  15250. #: guix-git/doc/guix.texi:9883
  15251. #, no-wrap
  15252. msgid ""
  15253. "(gexp->script \"list-files\"\n"
  15254. " #~(execl #$(file-append coreutils \"/bin/ls\")\n"
  15255. " \"ls\"))\n"
  15256. msgstr ""
  15257. #. type: deffn
  15258. #: guix-git/doc/guix.texi:9888
  15259. 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:"
  15260. msgstr ""
  15261. #. type: example
  15262. #: guix-git/doc/guix.texi:9893
  15263. #, no-wrap
  15264. msgid ""
  15265. "#!/gnu/store/@dots{}-guile-2.0.11/bin/guile -ds\n"
  15266. "!#\n"
  15267. "(execl \"/gnu/store/@dots{}-coreutils-8.22\"/bin/ls\" \"ls\")\n"
  15268. msgstr ""
  15269. #. type: deffn
  15270. #: guix-git/doc/guix.texi:9896
  15271. #, no-wrap
  15272. msgid "{Scheme Procedure} program-file @var{name} @var{exp} @"
  15273. msgstr ""
  15274. #. type: deffn
  15275. #: guix-git/doc/guix.texi:9901
  15276. 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}."
  15277. msgstr ""
  15278. #. type: deffn
  15279. #: guix-git/doc/guix.texi:9903
  15280. msgid "This is the declarative counterpart of @code{gexp->script}."
  15281. msgstr ""
  15282. #. type: deffn
  15283. #: guix-git/doc/guix.texi:9905
  15284. #, no-wrap
  15285. msgid "{Monadic Procedure} gexp->file @var{name} @var{exp} @"
  15286. msgstr ""
  15287. #. type: deffn
  15288. #: guix-git/doc/guix.texi:9912
  15289. 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."
  15290. msgstr ""
  15291. #. type: deffn
  15292. #: guix-git/doc/guix.texi:9917
  15293. 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}."
  15294. msgstr ""
  15295. #. type: deffn
  15296. #: guix-git/doc/guix.texi:9920
  15297. msgid "The resulting file holds references to all the dependencies of @var{exp} or a subset thereof."
  15298. msgstr ""
  15299. #. type: deffn
  15300. #: guix-git/doc/guix.texi:9922
  15301. #, no-wrap
  15302. msgid "{Scheme Procedure} scheme-file @var{name} @var{exp} @"
  15303. msgstr ""
  15304. #. type: deffn
  15305. #: guix-git/doc/guix.texi:9926
  15306. msgid "[#:splice? #f] [#:set-load-path? #t] Return an object representing the Scheme file @var{name} that contains @var{exp}."
  15307. msgstr ""
  15308. #. type: deffn
  15309. #: guix-git/doc/guix.texi:9928
  15310. msgid "This is the declarative counterpart of @code{gexp->file}."
  15311. msgstr ""
  15312. #. type: deffn
  15313. #: guix-git/doc/guix.texi:9930
  15314. #, no-wrap
  15315. msgid "{Monadic Procedure} text-file* @var{name} @var{text} @dots{}"
  15316. msgstr ""
  15317. #. type: deffn
  15318. #: guix-git/doc/guix.texi:9936
  15319. 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."
  15320. msgstr ""
  15321. #. type: deffn
  15322. #: guix-git/doc/guix.texi:9941
  15323. 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:"
  15324. msgstr ""
  15325. #. type: lisp
  15326. #: guix-git/doc/guix.texi:9949
  15327. #, no-wrap
  15328. msgid ""
  15329. "(define (profile.sh)\n"
  15330. " ;; Return the name of a shell script in the store that\n"
  15331. " ;; initializes the 'PATH' environment variable.\n"
  15332. " (text-file* \"profile.sh\"\n"
  15333. " \"export PATH=\" coreutils \"/bin:\"\n"
  15334. " grep \"/bin:\" sed \"/bin\\n\"))\n"
  15335. msgstr ""
  15336. #. type: deffn
  15337. #: guix-git/doc/guix.texi:9954
  15338. 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."
  15339. msgstr ""
  15340. #. type: deffn
  15341. #: guix-git/doc/guix.texi:9956
  15342. #, no-wrap
  15343. msgid "{Scheme Procedure} mixed-text-file @var{name} @var{text} @dots{}"
  15344. msgstr ""
  15345. #. type: deffn
  15346. #: guix-git/doc/guix.texi:9960
  15347. 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:"
  15348. msgstr ""
  15349. #. type: lisp
  15350. #: guix-git/doc/guix.texi:9964
  15351. #, no-wrap
  15352. msgid ""
  15353. "(mixed-text-file \"profile\"\n"
  15354. " \"export PATH=\" coreutils \"/bin:\" grep \"/bin\")\n"
  15355. msgstr ""
  15356. #. type: deffn
  15357. #: guix-git/doc/guix.texi:9967
  15358. msgid "This is the declarative counterpart of @code{text-file*}."
  15359. msgstr ""
  15360. #. type: deffn
  15361. #: guix-git/doc/guix.texi:9969
  15362. #, no-wrap
  15363. msgid "{Scheme Procedure} file-union @var{name} @var{files}"
  15364. msgstr ""
  15365. #. type: deffn
  15366. #: guix-git/doc/guix.texi:9974
  15367. 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:"
  15368. msgstr ""
  15369. #. type: lisp
  15370. #: guix-git/doc/guix.texi:9981
  15371. #, no-wrap
  15372. msgid ""
  15373. "(file-union \"etc\"\n"
  15374. " `((\"hosts\" ,(plain-file \"hosts\"\n"
  15375. " \"127.0.0.1 localhost\"))\n"
  15376. " (\"bashrc\" ,(plain-file \"bashrc\"\n"
  15377. " \"alias ls='ls --color=auto'\"))))\n"
  15378. msgstr ""
  15379. #. type: deffn
  15380. #: guix-git/doc/guix.texi:9984
  15381. msgid "This yields an @code{etc} directory containing these two files."
  15382. msgstr ""
  15383. #. type: deffn
  15384. #: guix-git/doc/guix.texi:9986
  15385. #, no-wrap
  15386. msgid "{Scheme Procedure} directory-union @var{name} @var{things}"
  15387. msgstr ""
  15388. #. type: deffn
  15389. #: guix-git/doc/guix.texi:9989
  15390. 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:"
  15391. msgstr ""
  15392. #. type: lisp
  15393. #: guix-git/doc/guix.texi:9992
  15394. #, no-wrap
  15395. msgid "(directory-union \"guile+emacs\" (list guile emacs))\n"
  15396. msgstr ""
  15397. #. type: deffn
  15398. #: guix-git/doc/guix.texi:9995
  15399. msgid "yields a directory that is the union of the @code{guile} and @code{emacs} packages."
  15400. msgstr ""
  15401. #. type: deffn
  15402. #: guix-git/doc/guix.texi:9997
  15403. #, no-wrap
  15404. msgid "{Scheme Procedure} file-append @var{obj} @var{suffix} @dots{}"
  15405. msgstr ""
  15406. #. type: deffn
  15407. #: guix-git/doc/guix.texi:10001
  15408. 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."
  15409. msgstr ""
  15410. #. type: deffn
  15411. #: guix-git/doc/guix.texi:10003
  15412. msgid "As an example, consider this gexp:"
  15413. msgstr ""
  15414. #. type: lisp
  15415. #: guix-git/doc/guix.texi:10008
  15416. #, no-wrap
  15417. msgid ""
  15418. "(gexp->script \"run-uname\"\n"
  15419. " #~(system* #$(file-append coreutils\n"
  15420. " \"/bin/uname\")))\n"
  15421. msgstr ""
  15422. #. type: deffn
  15423. #: guix-git/doc/guix.texi:10011
  15424. msgid "The same effect could be achieved with:"
  15425. msgstr ""
  15426. #. type: lisp
  15427. #: guix-git/doc/guix.texi:10016
  15428. #, no-wrap
  15429. msgid ""
  15430. "(gexp->script \"run-uname\"\n"
  15431. " #~(system* (string-append #$coreutils\n"
  15432. " \"/bin/uname\")))\n"
  15433. msgstr ""
  15434. #. type: deffn
  15435. #: guix-git/doc/guix.texi:10022
  15436. 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}."
  15437. msgstr ""
  15438. #. type: deffn
  15439. #: guix-git/doc/guix.texi:10024
  15440. #, no-wrap
  15441. msgid "{Scheme Syntax} let-system @var{system} @var{body}@dots{}"
  15442. msgstr ""
  15443. #. type: deffnx
  15444. #: guix-git/doc/guix.texi:10025
  15445. #, no-wrap
  15446. msgid "{Scheme Syntax} let-system (@var{system} @var{target}) @var{body}@dots{}"
  15447. msgstr ""
  15448. #. type: deffn
  15449. #: guix-git/doc/guix.texi:10028
  15450. msgid "Bind @var{system} to the currently targeted system---e.g., @code{\"x86_64-linux\"}---within @var{body}."
  15451. msgstr ""
  15452. #. type: deffn
  15453. #: guix-git/doc/guix.texi:10033
  15454. 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."
  15455. msgstr ""
  15456. #. type: deffn
  15457. #: guix-git/doc/guix.texi:10036
  15458. 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:"
  15459. msgstr ""
  15460. #. type: lisp
  15461. #: guix-git/doc/guix.texi:10047
  15462. #, no-wrap
  15463. msgid ""
  15464. "#~(system*\n"
  15465. " #+(let-system system\n"
  15466. " (cond ((string-prefix? \"armhf-\" system)\n"
  15467. " (file-append qemu \"/bin/qemu-system-arm\"))\n"
  15468. " ((string-prefix? \"x86_64-\" system)\n"
  15469. " (file-append qemu \"/bin/qemu-system-x86_64\"))\n"
  15470. " (else\n"
  15471. " (error \"dunno!\"))))\n"
  15472. " \"-net\" \"user\" #$image)\n"
  15473. msgstr ""
  15474. #. type: deffn
  15475. #: guix-git/doc/guix.texi:10050
  15476. #, no-wrap
  15477. msgid "{Scheme Syntax} with-parameters ((@var{parameter} @var{value}) @dots{}) @var{exp}"
  15478. msgstr ""
  15479. #. type: deffn
  15480. #: guix-git/doc/guix.texi:10056
  15481. 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."
  15482. msgstr ""
  15483. #. type: deffn
  15484. #: guix-git/doc/guix.texi:10059
  15485. msgid "A typical use of @code{with-parameters} is to force the system in effect for a given object:"
  15486. msgstr ""
  15487. #. type: lisp
  15488. #: guix-git/doc/guix.texi:10063
  15489. #, no-wrap
  15490. msgid ""
  15491. "(with-parameters ((%current-system \"i686-linux\"))\n"
  15492. " coreutils)\n"
  15493. msgstr ""
  15494. #. type: deffn
  15495. #: guix-git/doc/guix.texi:10067
  15496. msgid "The example above returns an object that corresponds to the i686 build of Coreutils, regardless of the current value of @code{%current-system}."
  15497. msgstr ""
  15498. #. type: Plain text
  15499. #: guix-git/doc/guix.texi:10074
  15500. 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."
  15501. msgstr ""
  15502. #. type: Plain text
  15503. #: guix-git/doc/guix.texi:10080
  15504. 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."
  15505. msgstr ""
  15506. #. type: deffn
  15507. #: guix-git/doc/guix.texi:10081
  15508. #, no-wrap
  15509. msgid "{Monadic Procedure} lower-object @var{obj} [@var{system}] @"
  15510. msgstr ""
  15511. #. type: deffn
  15512. #: guix-git/doc/guix.texi:10087
  15513. 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>}."
  15514. msgstr ""
  15515. #. type: deffn
  15516. #: guix-git/doc/guix.texi:10089
  15517. #, no-wrap
  15518. msgid "{Procedure} gexp->approximate-sexp @var{gexp}"
  15519. msgstr ""
  15520. #. type: deffn
  15521. #: guix-git/doc/guix.texi:10097
  15522. msgid "Sometimes, it may be useful to convert a G-exp into a S-exp. For example, some linters (@pxref{Invoking guix lint}) peek into the build phases of a package to detect potential problems. This conversion can be achieved with this procedure. However, some information can be lost in the process. More specifically, lowerable objects will be silently replaced with some arbitrary object -- currently the list @code{(*approximate*)}, but this may change."
  15523. msgstr ""
  15524. #. type: section
  15525. #: guix-git/doc/guix.texi:10100
  15526. #, no-wrap
  15527. msgid "Invoking @command{guix repl}"
  15528. msgstr ""
  15529. #. type: cindex
  15530. #: guix-git/doc/guix.texi:10102
  15531. #, no-wrap
  15532. msgid "REPL, read-eval-print loop, script"
  15533. msgstr ""
  15534. #. type: Plain text
  15535. #: guix-git/doc/guix.texi:10112
  15536. 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."
  15537. msgstr ""
  15538. #. type: example
  15539. #: guix-git/doc/guix.texi:10117
  15540. #, no-wrap
  15541. msgid "guix repl @var{options} [@var{file} @var{args}]\n"
  15542. msgstr ""
  15543. #. type: Plain text
  15544. #: guix-git/doc/guix.texi:10121
  15545. msgid "When a @var{file} argument is provided, @var{file} is executed as a Guile scripts:"
  15546. msgstr ""
  15547. #. type: example
  15548. #: guix-git/doc/guix.texi:10124
  15549. #, no-wrap
  15550. msgid "guix repl my-script.scm\n"
  15551. msgstr ""
  15552. #. type: Plain text
  15553. #: guix-git/doc/guix.texi:10128
  15554. msgid "To pass arguments to the script, use @code{--} to prevent them from being interpreted as arguments to @command{guix repl} itself:"
  15555. msgstr ""
  15556. #. type: example
  15557. #: guix-git/doc/guix.texi:10131
  15558. #, no-wrap
  15559. msgid "guix repl -- my-script.scm --input=foo.txt\n"
  15560. msgstr ""
  15561. #. type: Plain text
  15562. #: guix-git/doc/guix.texi:10136
  15563. 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:"
  15564. msgstr ""
  15565. #. type: example
  15566. #: guix-git/doc/guix.texi:10140
  15567. #, no-wrap
  15568. msgid ""
  15569. "@code{#!/usr/bin/env -S guix repl --}\n"
  15570. "@code{!#}\n"
  15571. msgstr ""
  15572. #. type: Plain text
  15573. #: guix-git/doc/guix.texi:10143
  15574. msgid "Without a file name argument, a Guile REPL is started:"
  15575. msgstr ""
  15576. #. type: example
  15577. #: guix-git/doc/guix.texi:10149
  15578. #, no-wrap
  15579. msgid ""
  15580. "$ guix repl\n"
  15581. "scheme@@(guile-user)> ,use (gnu packages base)\n"
  15582. "scheme@@(guile-user)> coreutils\n"
  15583. "$1 = #<package coreutils@@8.29 gnu/packages/base.scm:327 3e28300>\n"
  15584. msgstr ""
  15585. #. type: Plain text
  15586. #: guix-git/doc/guix.texi:10156
  15587. 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."
  15588. msgstr ""
  15589. #. type: Plain text
  15590. #: guix-git/doc/guix.texi:10158
  15591. msgid "The available options are as follows:"
  15592. msgstr ""
  15593. #. type: item
  15594. #: guix-git/doc/guix.texi:10160 guix-git/doc/guix.texi:12595
  15595. #, no-wrap
  15596. msgid "--type=@var{type}"
  15597. msgstr ""
  15598. #. type: itemx
  15599. #: guix-git/doc/guix.texi:10161 guix-git/doc/guix.texi:12596
  15600. #: guix-git/doc/guix.texi:33873
  15601. #, no-wrap
  15602. msgid "-t @var{type}"
  15603. msgstr ""
  15604. #. type: table
  15605. #: guix-git/doc/guix.texi:10163
  15606. msgid "Start a REPL of the given @var{TYPE}, which can be one of the following:"
  15607. msgstr ""
  15608. #. type: item
  15609. #: guix-git/doc/guix.texi:10165
  15610. #, no-wrap
  15611. msgid "guile"
  15612. msgstr ""
  15613. #. type: table
  15614. #: guix-git/doc/guix.texi:10167
  15615. msgid "This is default, and it spawns a standard full-featured Guile REPL."
  15616. msgstr ""
  15617. #. type: item
  15618. #: guix-git/doc/guix.texi:10167
  15619. #, no-wrap
  15620. msgid "machine"
  15621. msgstr ""
  15622. #. type: table
  15623. #: guix-git/doc/guix.texi:10170
  15624. msgid "Spawn a REPL that uses the machine-readable protocol. This is the protocol that the @code{(guix inferior)} module speaks."
  15625. msgstr ""
  15626. #. type: table
  15627. #: guix-git/doc/guix.texi:10176
  15628. 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:"
  15629. msgstr ""
  15630. #. type: item
  15631. #: guix-git/doc/guix.texi:10178
  15632. #, no-wrap
  15633. msgid "--listen=tcp:37146"
  15634. msgstr ""
  15635. #. type: table
  15636. #: guix-git/doc/guix.texi:10180
  15637. msgid "Accept connections on localhost on port 37146."
  15638. msgstr ""
  15639. #. type: item
  15640. #: guix-git/doc/guix.texi:10181
  15641. #, no-wrap
  15642. msgid "--listen=unix:/tmp/socket"
  15643. msgstr ""
  15644. #. type: table
  15645. #: guix-git/doc/guix.texi:10183
  15646. msgid "Accept connections on the Unix-domain socket @file{/tmp/socket}."
  15647. msgstr ""
  15648. #. type: item
  15649. #: guix-git/doc/guix.texi:10185 guix-git/doc/guix.texi:10289
  15650. #: guix-git/doc/guix.texi:12064 guix-git/doc/guix.texi:12244
  15651. #: guix-git/doc/guix.texi:12389 guix-git/doc/guix.texi:12643
  15652. #, no-wrap
  15653. msgid "--load-path=@var{directory}"
  15654. msgstr ""
  15655. #. type: itemx
  15656. #: guix-git/doc/guix.texi:10186 guix-git/doc/guix.texi:10290
  15657. #: guix-git/doc/guix.texi:12245 guix-git/doc/guix.texi:12390
  15658. #: guix-git/doc/guix.texi:12644
  15659. #, no-wrap
  15660. msgid "-L @var{directory}"
  15661. msgstr ""
  15662. #. type: table
  15663. #: guix-git/doc/guix.texi:10189 guix-git/doc/guix.texi:10293
  15664. #: guix-git/doc/guix.texi:12067 guix-git/doc/guix.texi:12248
  15665. #: guix-git/doc/guix.texi:12393 guix-git/doc/guix.texi:12647
  15666. msgid "Add @var{directory} to the front of the package module search path (@pxref{Package Modules})."
  15667. msgstr ""
  15668. #. type: table
  15669. #: guix-git/doc/guix.texi:10192
  15670. msgid "This allows users to define their own packages and make them visible to the script or REPL."
  15671. msgstr ""
  15672. #. type: itemx
  15673. #: guix-git/doc/guix.texi:10193 guix-git/doc/guix.texi:10752
  15674. #, no-wrap
  15675. msgid "-q"
  15676. msgstr ""
  15677. #. type: table
  15678. #: guix-git/doc/guix.texi:10196
  15679. msgid "Inhibit loading of the @file{~/.guile} file. By default, that configuration file is loaded when spawning a @code{guile} REPL."
  15680. msgstr ""
  15681. #. type: Plain text
  15682. #: guix-git/doc/guix.texi:10206
  15683. 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."
  15684. msgstr ""
  15685. #. type: cindex
  15686. #: guix-git/doc/guix.texi:10228
  15687. #, no-wrap
  15688. msgid "package building"
  15689. msgstr ""
  15690. #. type: command{#1}
  15691. #: guix-git/doc/guix.texi:10229
  15692. #, no-wrap
  15693. msgid "guix build"
  15694. msgstr ""
  15695. #. type: Plain text
  15696. #: guix-git/doc/guix.texi:10235
  15697. 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."
  15698. msgstr ""
  15699. #. type: example
  15700. #: guix-git/doc/guix.texi:10240
  15701. #, no-wrap
  15702. msgid "guix build @var{options} @var{package-or-derivation}@dots{}\n"
  15703. msgstr ""
  15704. #. type: Plain text
  15705. #: guix-git/doc/guix.texi:10245
  15706. 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:"
  15707. msgstr ""
  15708. #. type: example
  15709. #: guix-git/doc/guix.texi:10248
  15710. #, no-wrap
  15711. msgid "guix build emacs guile\n"
  15712. msgstr ""
  15713. #. type: Plain text
  15714. #: guix-git/doc/guix.texi:10251
  15715. msgid "Similarly, the following command builds all the available packages:"
  15716. msgstr ""
  15717. #. type: example
  15718. #: guix-git/doc/guix.texi:10255
  15719. #, no-wrap
  15720. msgid ""
  15721. "guix build --quiet --keep-going \\\n"
  15722. " $(guix package -A | awk '@{ print $1 \"@@\" $2 @}')\n"
  15723. msgstr ""
  15724. #. type: Plain text
  15725. #: guix-git/doc/guix.texi:10263
  15726. 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})."
  15727. msgstr ""
  15728. #. type: Plain text
  15729. #: guix-git/doc/guix.texi:10268
  15730. 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."
  15731. msgstr ""
  15732. #. type: Plain text
  15733. #: guix-git/doc/guix.texi:10271
  15734. msgid "There may be zero or more @var{options}. The available options are described in the subsections below."
  15735. msgstr ""
  15736. #. type: Plain text
  15737. #: guix-git/doc/guix.texi:10286
  15738. 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:"
  15739. msgstr ""
  15740. #. type: table
  15741. #: guix-git/doc/guix.texi:10296 guix-git/doc/guix.texi:12070
  15742. #: guix-git/doc/guix.texi:12251 guix-git/doc/guix.texi:12396
  15743. #: guix-git/doc/guix.texi:12650
  15744. msgid "This allows users to define their own packages and make them visible to the command-line tools."
  15745. msgstr ""
  15746. #. type: item
  15747. #: guix-git/doc/guix.texi:10297
  15748. #, no-wrap
  15749. msgid "--keep-failed"
  15750. msgstr ""
  15751. #. type: itemx
  15752. #: guix-git/doc/guix.texi:10298
  15753. #, no-wrap
  15754. msgid "-K"
  15755. msgstr ""
  15756. #. type: table
  15757. #: guix-git/doc/guix.texi:10304
  15758. 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."
  15759. msgstr ""
  15760. #. type: table
  15761. #: guix-git/doc/guix.texi:10308
  15762. 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})."
  15763. msgstr ""
  15764. #. type: item
  15765. #: guix-git/doc/guix.texi:10309
  15766. #, no-wrap
  15767. msgid "--keep-going"
  15768. msgstr ""
  15769. #. type: itemx
  15770. #: guix-git/doc/guix.texi:10310
  15771. #, no-wrap
  15772. msgid "-k"
  15773. msgstr ""
  15774. #. type: table
  15775. #: guix-git/doc/guix.texi:10313
  15776. msgid "Keep going when some of the derivations fail to build; return only once all the builds have either completed or failed."
  15777. msgstr ""
  15778. #. type: table
  15779. #: guix-git/doc/guix.texi:10316
  15780. msgid "The default behavior is to stop as soon as one of the specified derivations has failed."
  15781. msgstr ""
  15782. #. type: table
  15783. #: guix-git/doc/guix.texi:10320
  15784. msgid "Do not build the derivations."
  15785. msgstr ""
  15786. #. type: anchor{#1}
  15787. #: guix-git/doc/guix.texi:10322
  15788. msgid "fallback-option"
  15789. msgstr ""
  15790. #. type: item
  15791. #: guix-git/doc/guix.texi:10322
  15792. #, no-wrap
  15793. msgid "--fallback"
  15794. msgstr ""
  15795. #. type: table
  15796. #: guix-git/doc/guix.texi:10325
  15797. msgid "When substituting a pre-built binary fails, fall back to building packages locally (@pxref{Substitution Failure})."
  15798. msgstr ""
  15799. #. type: anchor{#1}
  15800. #: guix-git/doc/guix.texi:10331
  15801. msgid "client-substitute-urls"
  15802. msgstr ""
  15803. #. type: table
  15804. #: guix-git/doc/guix.texi:10331
  15805. 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})."
  15806. msgstr ""
  15807. #. type: table
  15808. #: guix-git/doc/guix.texi:10335
  15809. 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})."
  15810. msgstr ""
  15811. #. type: table
  15812. #: guix-git/doc/guix.texi:10338
  15813. msgid "When @var{urls} is the empty string, substitutes are effectively disabled."
  15814. msgstr ""
  15815. #. type: item
  15816. #: guix-git/doc/guix.texi:10344
  15817. #, no-wrap
  15818. msgid "--no-grafts"
  15819. msgstr ""
  15820. #. type: table
  15821. #: guix-git/doc/guix.texi:10348
  15822. 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."
  15823. msgstr ""
  15824. #. type: item
  15825. #: guix-git/doc/guix.texi:10349
  15826. #, no-wrap
  15827. msgid "--rounds=@var{n}"
  15828. msgstr ""
  15829. #. type: table
  15830. #: guix-git/doc/guix.texi:10352
  15831. msgid "Build each derivation @var{n} times in a row, and raise an error if consecutive build results are not bit-for-bit identical."
  15832. msgstr ""
  15833. #. type: table
  15834. #: guix-git/doc/guix.texi:10357
  15835. 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."
  15836. msgstr ""
  15837. #. type: table
  15838. #: guix-git/doc/guix.texi:10373
  15839. msgid "By default, the daemon's setting is honored (@pxref{Invoking guix-daemon, @option{--max-silent-time}})."
  15840. msgstr ""
  15841. #. type: table
  15842. #: guix-git/doc/guix.texi:10380
  15843. msgid "By default, the daemon's setting is honored (@pxref{Invoking guix-daemon, @option{--timeout}})."
  15844. msgstr ""
  15845. #. type: cindex
  15846. #: guix-git/doc/guix.texi:10383
  15847. #, no-wrap
  15848. msgid "verbosity, of the command-line tools"
  15849. msgstr ""
  15850. #. type: cindex
  15851. #: guix-git/doc/guix.texi:10384
  15852. #, no-wrap
  15853. msgid "build logs, verbosity"
  15854. msgstr ""
  15855. #. type: item
  15856. #: guix-git/doc/guix.texi:10385
  15857. #, no-wrap
  15858. msgid "-v @var{level}"
  15859. msgstr ""
  15860. #. type: itemx
  15861. #: guix-git/doc/guix.texi:10386
  15862. #, no-wrap
  15863. msgid "--verbosity=@var{level}"
  15864. msgstr ""
  15865. #. type: table
  15866. #: guix-git/doc/guix.texi:10391
  15867. 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."
  15868. msgstr ""
  15869. #. type: table
  15870. #: guix-git/doc/guix.texi:10396
  15871. 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."
  15872. msgstr ""
  15873. #. type: table
  15874. #: guix-git/doc/guix.texi:10402
  15875. 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."
  15876. msgstr ""
  15877. #. type: item
  15878. #: guix-git/doc/guix.texi:10403
  15879. #, no-wrap
  15880. msgid "--debug=@var{level}"
  15881. msgstr ""
  15882. #. type: table
  15883. #: guix-git/doc/guix.texi:10407
  15884. 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."
  15885. msgstr ""
  15886. #. type: Plain text
  15887. #: guix-git/doc/guix.texi:10414
  15888. 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."
  15889. msgstr ""
  15890. #. type: Plain text
  15891. #: guix-git/doc/guix.texi:10418
  15892. 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."
  15893. msgstr ""
  15894. #. type: defvr
  15895. #: guix-git/doc/guix.texi:10419
  15896. #, no-wrap
  15897. msgid "{Environment Variable} GUIX_BUILD_OPTIONS"
  15898. msgstr ""
  15899. #. type: defvr
  15900. #: guix-git/doc/guix.texi:10424
  15901. 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:"
  15902. msgstr ""
  15903. #. type: example
  15904. #: guix-git/doc/guix.texi:10427
  15905. #, no-wrap
  15906. msgid "$ export GUIX_BUILD_OPTIONS=\"--no-substitutes -c 2 -L /foo/bar\"\n"
  15907. msgstr ""
  15908. #. type: defvr
  15909. #: guix-git/doc/guix.texi:10431
  15910. msgid "These options are parsed independently, and the result is appended to the parsed command-line options."
  15911. msgstr ""
  15912. #. type: cindex
  15913. #: guix-git/doc/guix.texi:10437
  15914. #, no-wrap
  15915. msgid "package variants"
  15916. msgstr ""
  15917. #. type: Plain text
  15918. #: guix-git/doc/guix.texi:10445
  15919. 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})."
  15920. msgstr ""
  15921. #. type: Plain text
  15922. #: guix-git/doc/guix.texi:10449
  15923. 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."
  15924. msgstr ""
  15925. #. type: Plain text
  15926. #: guix-git/doc/guix.texi:10454
  15927. 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)."
  15928. msgstr ""
  15929. #. type: item
  15930. #: guix-git/doc/guix.texi:10457
  15931. #, no-wrap
  15932. msgid "--with-source=@var{source}"
  15933. msgstr ""
  15934. #. type: itemx
  15935. #: guix-git/doc/guix.texi:10458
  15936. #, no-wrap
  15937. msgid "--with-source=@var{package}=@var{source}"
  15938. msgstr ""
  15939. #. type: itemx
  15940. #: guix-git/doc/guix.texi:10459
  15941. #, no-wrap
  15942. msgid "--with-source=@var{package}@@@var{version}=@var{source}"
  15943. msgstr ""
  15944. #. type: table
  15945. #: guix-git/doc/guix.texi:10464
  15946. 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})."
  15947. msgstr ""
  15948. #. type: table
  15949. #: guix-git/doc/guix.texi:10470
  15950. 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}."
  15951. msgstr ""
  15952. #. type: table
  15953. #: guix-git/doc/guix.texi:10473
  15954. 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}."
  15955. msgstr ""
  15956. #. type: table
  15957. #: guix-git/doc/guix.texi:10478
  15958. 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:"
  15959. msgstr ""
  15960. #. type: example
  15961. #: guix-git/doc/guix.texi:10481
  15962. #, no-wrap
  15963. msgid "guix build ed --with-source=mirror://gnu/ed/ed-1.7.tar.gz\n"
  15964. msgstr ""
  15965. #. type: table
  15966. #: guix-git/doc/guix.texi:10485
  15967. msgid "As a developer, @option{--with-source} makes it easy to test release candidates:"
  15968. msgstr ""
  15969. #. type: example
  15970. #: guix-git/doc/guix.texi:10488
  15971. #, no-wrap
  15972. msgid "guix build guile --with-source=../guile-2.0.9.219-e1bb7.tar.xz\n"
  15973. msgstr ""
  15974. #. type: table
  15975. #: guix-git/doc/guix.texi:10491
  15976. msgid "@dots{} or to build from a checkout in a pristine environment:"
  15977. msgstr ""
  15978. #. type: example
  15979. #: guix-git/doc/guix.texi:10495
  15980. #, no-wrap
  15981. msgid ""
  15982. "$ git clone git://git.sv.gnu.org/guix.git\n"
  15983. "$ guix build guix --with-source=guix@@1.0=./guix\n"
  15984. msgstr ""
  15985. #. type: item
  15986. #: guix-git/doc/guix.texi:10497
  15987. #, no-wrap
  15988. msgid "--with-input=@var{package}=@var{replacement}"
  15989. msgstr ""
  15990. #. type: table
  15991. #: guix-git/doc/guix.texi:10502
  15992. 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}."
  15993. msgstr ""
  15994. #. type: table
  15995. #: guix-git/doc/guix.texi:10506
  15996. 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}:"
  15997. msgstr ""
  15998. #. type: example
  15999. #: guix-git/doc/guix.texi:10509
  16000. #, no-wrap
  16001. msgid "guix build --with-input=guile=guile@@2.0 guix\n"
  16002. msgstr ""
  16003. #. type: table
  16004. #: guix-git/doc/guix.texi:10514
  16005. 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}."
  16006. msgstr ""
  16007. #. type: table
  16008. #: guix-git/doc/guix.texi:10517
  16009. msgid "This is implemented using the @code{package-input-rewriting} Scheme procedure (@pxref{Defining Packages, @code{package-input-rewriting}})."
  16010. msgstr ""
  16011. #. type: item
  16012. #: guix-git/doc/guix.texi:10518
  16013. #, no-wrap
  16014. msgid "--with-graft=@var{package}=@var{replacement}"
  16015. msgstr ""
  16016. #. type: table
  16017. #: guix-git/doc/guix.texi:10524
  16018. 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."
  16019. msgstr ""
  16020. #. type: table
  16021. #: guix-git/doc/guix.texi:10528
  16022. 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:"
  16023. msgstr ""
  16024. #. type: example
  16025. #: guix-git/doc/guix.texi:10531
  16026. #, no-wrap
  16027. msgid "guix build --with-graft=gnutls=gnutls@@3.5.4 wget\n"
  16028. msgstr ""
  16029. #. type: table
  16030. #: guix-git/doc/guix.texi:10540
  16031. 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!"
  16032. msgstr ""
  16033. #. type: cindex
  16034. #: guix-git/doc/guix.texi:10541 guix-git/doc/guix.texi:35239
  16035. #, no-wrap
  16036. msgid "debugging info, rebuilding"
  16037. msgstr ""
  16038. #. type: item
  16039. #: guix-git/doc/guix.texi:10542
  16040. #, no-wrap
  16041. msgid "--with-debug-info=@var{package}"
  16042. msgstr ""
  16043. #. type: table
  16044. #: guix-git/doc/guix.texi:10547
  16045. 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})."
  16046. msgstr ""
  16047. #. type: table
  16048. #: guix-git/doc/guix.texi:10553
  16049. 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:"
  16050. msgstr ""
  16051. #. type: example
  16052. #: guix-git/doc/guix.texi:10556 guix-git/doc/guix.texi:35270
  16053. #, no-wrap
  16054. msgid "guix install inkscape --with-debug-info=glib\n"
  16055. msgstr ""
  16056. #. type: table
  16057. #: guix-git/doc/guix.texi:10560
  16058. msgid "Only GLib needs to be recompiled so this takes a reasonable amount of time. @xref{Installing Debugging Files}, for more info."
  16059. msgstr ""
  16060. #. type: quotation
  16061. #: guix-git/doc/guix.texi:10566
  16062. 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."
  16063. msgstr ""
  16064. #. type: quotation
  16065. #: guix-git/doc/guix.texi:10570
  16066. 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."
  16067. msgstr ""
  16068. #. type: cindex
  16069. #: guix-git/doc/guix.texi:10572
  16070. #, no-wrap
  16071. msgid "tool chain, changing the build tool chain of a package"
  16072. msgstr ""
  16073. #. type: item
  16074. #: guix-git/doc/guix.texi:10573
  16075. #, no-wrap
  16076. msgid "--with-c-toolchain=@var{package}=@var{toolchain}"
  16077. msgstr ""
  16078. #. type: table
  16079. #: guix-git/doc/guix.texi:10577
  16080. 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++."
  16081. msgstr ""
  16082. #. type: example
  16083. #: guix-git/doc/guix.texi:10584
  16084. #, no-wrap
  16085. msgid ""
  16086. "guix build octave-cli \\\n"
  16087. " --with-c-toolchain=fftw=gcc-toolchain@@10 \\\n"
  16088. " --with-c-toolchain=fftwf=gcc-toolchain@@10\n"
  16089. msgstr ""
  16090. #. type: table
  16091. #: guix-git/doc/guix.texi:10591
  16092. 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}."
  16093. msgstr ""
  16094. #. type: table
  16095. #: guix-git/doc/guix.texi:10595
  16096. 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:"
  16097. msgstr ""
  16098. #. type: example
  16099. #: guix-git/doc/guix.texi:10599
  16100. #, no-wrap
  16101. msgid ""
  16102. "guix build --with-c-toolchain=hwloc=clang-toolchain \\\n"
  16103. " intel-mpi-benchmarks\n"
  16104. msgstr ""
  16105. #. type: quotation
  16106. #: guix-git/doc/guix.texi:10608
  16107. 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."
  16108. msgstr ""
  16109. #. type: item
  16110. #: guix-git/doc/guix.texi:10610
  16111. #, no-wrap
  16112. msgid "--with-git-url=@var{package}=@var{url}"
  16113. msgstr ""
  16114. #. type: cindex
  16115. #: guix-git/doc/guix.texi:10611
  16116. #, no-wrap
  16117. msgid "Git, using the latest commit"
  16118. msgstr ""
  16119. #. type: cindex
  16120. #: guix-git/doc/guix.texi:10612
  16121. #, no-wrap
  16122. msgid "latest commit, building"
  16123. msgstr ""
  16124. #. type: table
  16125. #: guix-git/doc/guix.texi:10616
  16126. 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."
  16127. msgstr ""
  16128. #. type: table
  16129. #: guix-git/doc/guix.texi:10619
  16130. msgid "For example, the following command builds the NumPy Python library against the latest commit of the master branch of Python itself:"
  16131. msgstr ""
  16132. #. type: example
  16133. #: guix-git/doc/guix.texi:10623
  16134. #, no-wrap
  16135. msgid ""
  16136. "guix build python-numpy \\\n"
  16137. " --with-git-url=python=https://github.com/python/cpython\n"
  16138. msgstr ""
  16139. #. type: table
  16140. #: guix-git/doc/guix.texi:10627
  16141. msgid "This option can also be combined with @option{--with-branch} or @option{--with-commit} (see below)."
  16142. msgstr ""
  16143. #. type: cindex
  16144. #: guix-git/doc/guix.texi:10628 guix-git/doc/guix.texi:27790
  16145. #, no-wrap
  16146. msgid "continuous integration"
  16147. msgstr ""
  16148. #. type: table
  16149. #: guix-git/doc/guix.texi:10634
  16150. 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)."
  16151. msgstr ""
  16152. #. type: table
  16153. #: guix-git/doc/guix.texi:10638
  16154. 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."
  16155. msgstr ""
  16156. #. type: item
  16157. #: guix-git/doc/guix.texi:10639
  16158. #, no-wrap
  16159. msgid "--with-branch=@var{package}=@var{branch}"
  16160. msgstr ""
  16161. #. type: table
  16162. #: guix-git/doc/guix.texi:10645
  16163. 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."
  16164. msgstr ""
  16165. #. type: table
  16166. #: guix-git/doc/guix.texi:10650
  16167. 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:"
  16168. msgstr ""
  16169. #. type: example
  16170. #: guix-git/doc/guix.texi:10653
  16171. #, no-wrap
  16172. msgid "guix build --with-branch=guile-sqlite3=master cuirass\n"
  16173. msgstr ""
  16174. #. type: item
  16175. #: guix-git/doc/guix.texi:10655
  16176. #, no-wrap
  16177. msgid "--with-commit=@var{package}=@var{commit}"
  16178. msgstr ""
  16179. #. type: table
  16180. #: guix-git/doc/guix.texi:10659
  16181. 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."
  16182. msgstr ""
  16183. #. type: item
  16184. #: guix-git/doc/guix.texi:10660
  16185. #, no-wrap
  16186. msgid "--with-patch=@var{package}=@var{file}"
  16187. msgstr ""
  16188. #. type: table
  16189. #: guix-git/doc/guix.texi:10667
  16190. 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})."
  16191. msgstr ""
  16192. #. type: table
  16193. #: guix-git/doc/guix.texi:10670
  16194. msgid "As an example, the command below rebuilds Coreutils with the GNU C Library (glibc) patched with the given patch:"
  16195. msgstr ""
  16196. #. type: example
  16197. #: guix-git/doc/guix.texi:10673
  16198. #, no-wrap
  16199. msgid "guix build coreutils --with-patch=glibc=./glibc-frob.patch\n"
  16200. msgstr ""
  16201. #. type: table
  16202. #: guix-git/doc/guix.texi:10677
  16203. msgid "In this example, glibc itself as well as everything that leads to Coreutils in the dependency graph is rebuilt."
  16204. msgstr ""
  16205. #. type: cindex
  16206. #: guix-git/doc/guix.texi:10678
  16207. #, no-wrap
  16208. msgid "upstream, latest version"
  16209. msgstr ""
  16210. #. type: item
  16211. #: guix-git/doc/guix.texi:10679
  16212. #, no-wrap
  16213. msgid "--with-latest=@var{package}"
  16214. msgstr ""
  16215. #. type: table
  16216. #: guix-git/doc/guix.texi:10684
  16217. 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})."
  16218. msgstr ""
  16219. #. type: table
  16220. #: guix-git/doc/guix.texi:10688
  16221. 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."
  16222. msgstr ""
  16223. #. type: table
  16224. #: guix-git/doc/guix.texi:10691
  16225. msgid "As an example, the command below builds Guix against the latest version of Guile-JSON:"
  16226. msgstr ""
  16227. #. type: example
  16228. #: guix-git/doc/guix.texi:10694
  16229. #, no-wrap
  16230. msgid "guix build guix --with-latest=guile-json\n"
  16231. msgstr ""
  16232. #. type: table
  16233. #: guix-git/doc/guix.texi:10703
  16234. 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."
  16235. msgstr ""
  16236. #. type: table
  16237. #: guix-git/doc/guix.texi:10708
  16238. 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})."
  16239. msgstr ""
  16240. #. type: cindex
  16241. #: guix-git/doc/guix.texi:10709
  16242. #, no-wrap
  16243. msgid "test suite, skipping"
  16244. msgstr ""
  16245. #. type: item
  16246. #: guix-git/doc/guix.texi:10710
  16247. #, no-wrap
  16248. msgid "--without-tests=@var{package}"
  16249. msgstr ""
  16250. #. type: table
  16251. #: guix-git/doc/guix.texi:10716
  16252. 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."
  16253. msgstr ""
  16254. #. type: table
  16255. #: guix-git/doc/guix.texi:10720
  16256. 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:"
  16257. msgstr ""
  16258. #. type: example
  16259. #: guix-git/doc/guix.texi:10723
  16260. #, no-wrap
  16261. msgid "guix install --without-tests=python python-notebook\n"
  16262. msgstr ""
  16263. #. type: table
  16264. #: guix-git/doc/guix.texi:10729
  16265. 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."
  16266. msgstr ""
  16267. #. type: table
  16268. #: guix-git/doc/guix.texi:10735
  16269. 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."
  16270. msgstr ""
  16271. #. type: Plain text
  16272. #: guix-git/doc/guix.texi:10742
  16273. 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."
  16274. msgstr ""
  16275. #. type: Plain text
  16276. #: guix-git/doc/guix.texi:10748
  16277. msgid "The command-line options presented below are specific to @command{guix build}."
  16278. msgstr ""
  16279. #. type: item
  16280. #: guix-git/doc/guix.texi:10751
  16281. #, no-wrap
  16282. msgid "--quiet"
  16283. msgstr ""
  16284. #. type: table
  16285. #: guix-git/doc/guix.texi:10756
  16286. 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."
  16287. msgstr ""
  16288. #. type: item
  16289. #: guix-git/doc/guix.texi:10757
  16290. #, no-wrap
  16291. msgid "--file=@var{file}"
  16292. msgstr ""
  16293. #. type: table
  16294. #: guix-git/doc/guix.texi:10761
  16295. msgid "Build the package, derivation, or other file-like object that the code within @var{file} evaluates to (@pxref{G-Expressions, file-like objects})."
  16296. msgstr ""
  16297. #. type: table
  16298. #: guix-git/doc/guix.texi:10764
  16299. msgid "As an example, @var{file} might contain a package definition like this (@pxref{Defining Packages}):"
  16300. msgstr ""
  16301. #. type: table
  16302. #: guix-git/doc/guix.texi:10773
  16303. 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}:"
  16304. msgstr ""
  16305. #. type: item
  16306. #: guix-git/doc/guix.texi:10778
  16307. #, no-wrap
  16308. msgid "--manifest=@var{manifest}"
  16309. msgstr ""
  16310. #. type: itemx
  16311. #: guix-git/doc/guix.texi:10779
  16312. #, no-wrap
  16313. msgid "-m @var{manifest}"
  16314. msgstr ""
  16315. #. type: table
  16316. #: guix-git/doc/guix.texi:10782
  16317. msgid "Build all packages listed in the given @var{manifest} (@pxref{profile-manifest, @option{--manifest}})."
  16318. msgstr ""
  16319. #. type: table
  16320. #: guix-git/doc/guix.texi:10786
  16321. msgid "Build the package or derivation @var{expr} evaluates to."
  16322. msgstr ""
  16323. #. type: table
  16324. #: guix-git/doc/guix.texi:10790
  16325. 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."
  16326. msgstr ""
  16327. #. type: table
  16328. #: guix-git/doc/guix.texi:10794
  16329. 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})."
  16330. msgstr ""
  16331. #. type: table
  16332. #: guix-git/doc/guix.texi:10798
  16333. 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}."
  16334. msgstr ""
  16335. #. type: item
  16336. #: guix-git/doc/guix.texi:10799
  16337. #, no-wrap
  16338. msgid "--source"
  16339. msgstr ""
  16340. #. type: itemx
  16341. #: guix-git/doc/guix.texi:10800
  16342. #, no-wrap
  16343. msgid "-S"
  16344. msgstr ""
  16345. #. type: table
  16346. #: guix-git/doc/guix.texi:10803
  16347. msgid "Build the source derivations of the packages, rather than the packages themselves."
  16348. msgstr ""
  16349. #. type: table
  16350. #: guix-git/doc/guix.texi:10807
  16351. 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."
  16352. msgstr ""
  16353. #. type: table
  16354. #: guix-git/doc/guix.texi:10811
  16355. msgid "The returned source tarball is the result of applying any patches and code snippets specified in the package @code{origin} (@pxref{Defining Packages})."
  16356. msgstr ""
  16357. #. type: cindex
  16358. #: guix-git/doc/guix.texi:10812
  16359. #, no-wrap
  16360. msgid "source, verification"
  16361. msgstr ""
  16362. #. type: table
  16363. #: guix-git/doc/guix.texi:10818
  16364. 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."
  16365. msgstr ""
  16366. #. type: table
  16367. #: guix-git/doc/guix.texi:10823
  16368. 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."
  16369. msgstr ""
  16370. #. type: item
  16371. #: guix-git/doc/guix.texi:10824
  16372. #, no-wrap
  16373. msgid "--sources"
  16374. msgstr ""
  16375. #. type: table
  16376. #: guix-git/doc/guix.texi:10831
  16377. 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:"
  16378. msgstr ""
  16379. #. type: item
  16380. #: guix-git/doc/guix.texi:10833 guix-git/doc/guix.texi:12450
  16381. #, no-wrap
  16382. msgid "package"
  16383. msgstr ""
  16384. #. type: table
  16385. #: guix-git/doc/guix.texi:10836
  16386. msgid "This value causes the @option{--sources} option to behave in the same way as the @option{--source} option."
  16387. msgstr ""
  16388. #. type: item
  16389. #: guix-git/doc/guix.texi:10837 guix-git/doc/guix.texi:18532
  16390. #, no-wrap
  16391. msgid "all"
  16392. msgstr ""
  16393. #. type: table
  16394. #: guix-git/doc/guix.texi:10840
  16395. msgid "Build the source derivations of all packages, including any source that might be listed as @code{inputs}. This is the default value."
  16396. msgstr ""
  16397. #. type: example
  16398. #: guix-git/doc/guix.texi:10846
  16399. #, no-wrap
  16400. msgid ""
  16401. "$ guix build --sources tzdata\n"
  16402. "The following derivations will be built:\n"
  16403. " /gnu/store/@dots{}-tzdata2015b.tar.gz.drv\n"
  16404. " /gnu/store/@dots{}-tzcode2015b.tar.gz.drv\n"
  16405. msgstr ""
  16406. #. type: item
  16407. #: guix-git/doc/guix.texi:10848
  16408. #, no-wrap
  16409. msgid "transitive"
  16410. msgstr ""
  16411. #. type: table
  16412. #: guix-git/doc/guix.texi:10852
  16413. 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."
  16414. msgstr ""
  16415. #. type: example
  16416. #: guix-git/doc/guix.texi:10863
  16417. #, no-wrap
  16418. msgid ""
  16419. "$ guix build --sources=transitive tzdata\n"
  16420. "The following derivations will be built:\n"
  16421. " /gnu/store/@dots{}-tzcode2015b.tar.gz.drv\n"
  16422. " /gnu/store/@dots{}-findutils-4.4.2.tar.xz.drv\n"
  16423. " /gnu/store/@dots{}-grep-2.21.tar.xz.drv\n"
  16424. " /gnu/store/@dots{}-coreutils-8.23.tar.xz.drv\n"
  16425. " /gnu/store/@dots{}-make-4.1.tar.xz.drv\n"
  16426. " /gnu/store/@dots{}-bash-4.3.tar.xz.drv\n"
  16427. "@dots{}\n"
  16428. msgstr ""
  16429. #. type: table
  16430. #: guix-git/doc/guix.texi:10873
  16431. 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."
  16432. msgstr ""
  16433. #. type: quotation
  16434. #: guix-git/doc/guix.texi:10878
  16435. 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."
  16436. msgstr ""
  16437. #. type: table
  16438. #: guix-git/doc/guix.texi:10885
  16439. 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."
  16440. msgstr ""
  16441. #. type: quotation
  16442. #: guix-git/doc/guix.texi:10890
  16443. 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."
  16444. msgstr ""
  16445. #. type: table
  16446. #: guix-git/doc/guix.texi:10896
  16447. 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."
  16448. msgstr ""
  16449. #. type: table
  16450. #: guix-git/doc/guix.texi:10900
  16451. 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."
  16452. msgstr ""
  16453. #. type: table
  16454. #: guix-git/doc/guix.texi:10906
  16455. 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})."
  16456. msgstr ""
  16457. #. type: anchor{#1}
  16458. #: guix-git/doc/guix.texi:10908
  16459. msgid "build-check"
  16460. msgstr ""
  16461. #. type: item
  16462. #: guix-git/doc/guix.texi:10908
  16463. #, no-wrap
  16464. msgid "--check"
  16465. msgstr ""
  16466. #. type: cindex
  16467. #: guix-git/doc/guix.texi:10909
  16468. #, no-wrap
  16469. msgid "determinism, checking"
  16470. msgstr ""
  16471. #. type: cindex
  16472. #: guix-git/doc/guix.texi:10910
  16473. #, no-wrap
  16474. msgid "reproducibility, checking"
  16475. msgstr ""
  16476. #. type: table
  16477. #: guix-git/doc/guix.texi:10914
  16478. 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."
  16479. msgstr ""
  16480. #. type: table
  16481. #: guix-git/doc/guix.texi:10919
  16482. 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."
  16483. msgstr ""
  16484. #. type: item
  16485. #: guix-git/doc/guix.texi:10924
  16486. #, no-wrap
  16487. msgid "--repair"
  16488. msgstr ""
  16489. #. type: cindex
  16490. #: guix-git/doc/guix.texi:10925
  16491. #, no-wrap
  16492. msgid "repairing store items"
  16493. msgstr ""
  16494. #. type: table
  16495. #: guix-git/doc/guix.texi:10929
  16496. msgid "Attempt to repair the specified store items, if they are corrupt, by re-downloading or rebuilding them."
  16497. msgstr ""
  16498. #. type: table
  16499. #: guix-git/doc/guix.texi:10931
  16500. msgid "This operation is not atomic and thus restricted to @code{root}."
  16501. msgstr ""
  16502. #. type: item
  16503. #: guix-git/doc/guix.texi:10932
  16504. #, no-wrap
  16505. msgid "--derivations"
  16506. msgstr ""
  16507. #. type: table
  16508. #: guix-git/doc/guix.texi:10936
  16509. msgid "Return the derivation paths, not the output paths, of the given packages."
  16510. msgstr ""
  16511. #. type: cindex
  16512. #: guix-git/doc/guix.texi:10939
  16513. #, no-wrap
  16514. msgid "GC roots, adding"
  16515. msgstr ""
  16516. #. type: cindex
  16517. #: guix-git/doc/guix.texi:10940
  16518. #, no-wrap
  16519. msgid "garbage collector roots, adding"
  16520. msgstr ""
  16521. #. type: table
  16522. #: guix-git/doc/guix.texi:10943 guix-git/doc/guix.texi:33904
  16523. msgid "Make @var{file} a symlink to the result, and register it as a garbage collector root."
  16524. msgstr ""
  16525. #. type: table
  16526. #: guix-git/doc/guix.texi:10949
  16527. 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."
  16528. msgstr ""
  16529. #. type: item
  16530. #: guix-git/doc/guix.texi:10950
  16531. #, no-wrap
  16532. msgid "--log-file"
  16533. msgstr ""
  16534. #. type: cindex
  16535. #: guix-git/doc/guix.texi:10951
  16536. #, no-wrap
  16537. msgid "build logs, access"
  16538. msgstr ""
  16539. #. type: table
  16540. #: guix-git/doc/guix.texi:10955
  16541. 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."
  16542. msgstr ""
  16543. #. type: table
  16544. #: guix-git/doc/guix.texi:10958
  16545. msgid "This works regardless of how packages or derivations are specified. For instance, the following invocations are equivalent:"
  16546. msgstr ""
  16547. #. type: example
  16548. #: guix-git/doc/guix.texi:10964
  16549. #, no-wrap
  16550. msgid ""
  16551. "guix build --log-file $(guix build -d guile)\n"
  16552. "guix build --log-file $(guix build guile)\n"
  16553. "guix build --log-file guile\n"
  16554. "guix build --log-file -e '(@@ (gnu packages guile) guile-2.0)'\n"
  16555. msgstr ""
  16556. #. type: table
  16557. #: guix-git/doc/guix.texi:10969
  16558. 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})."
  16559. msgstr ""
  16560. #. type: table
  16561. #: guix-git/doc/guix.texi:10972
  16562. 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:"
  16563. msgstr ""
  16564. #. type: example
  16565. #: guix-git/doc/guix.texi:10976
  16566. #, no-wrap
  16567. msgid ""
  16568. "$ guix build --log-file gdb -s aarch64-linux\n"
  16569. "https://@value{SUBSTITUTE-SERVER-1}/log/@dots{}-gdb-7.10\n"
  16570. msgstr ""
  16571. #. type: table
  16572. #: guix-git/doc/guix.texi:10979
  16573. msgid "You can freely access a huge library of build logs!"
  16574. msgstr ""
  16575. #. type: cindex
  16576. #: guix-git/doc/guix.texi:10984
  16577. #, no-wrap
  16578. msgid "build failures, debugging"
  16579. msgstr ""
  16580. #. type: Plain text
  16581. #: guix-git/doc/guix.texi:10990
  16582. 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."
  16583. msgstr ""
  16584. #. type: Plain text
  16585. #: guix-git/doc/guix.texi:10995
  16586. 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}})."
  16587. msgstr ""
  16588. #. type: Plain text
  16589. #: guix-git/doc/guix.texi:11001
  16590. 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:"
  16591. msgstr ""
  16592. #. type: example
  16593. #: guix-git/doc/guix.texi:11008
  16594. #, no-wrap
  16595. msgid ""
  16596. "$ guix build foo -K\n"
  16597. "@dots{} @i{build fails}\n"
  16598. "$ cd /tmp/guix-build-foo.drv-0\n"
  16599. "$ source ./environment-variables\n"
  16600. "$ cd foo-1.2\n"
  16601. msgstr ""
  16602. #. type: Plain text
  16603. #: guix-git/doc/guix.texi:11012
  16604. msgid "Now, you can invoke commands as if you were the daemon (almost) and troubleshoot your build process."
  16605. msgstr ""
  16606. #. type: Plain text
  16607. #: guix-git/doc/guix.texi:11018
  16608. 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})."
  16609. msgstr ""
  16610. #. type: Plain text
  16611. #: guix-git/doc/guix.texi:11021
  16612. 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:"
  16613. msgstr ""
  16614. #. type: example
  16615. #: guix-git/doc/guix.texi:11029
  16616. #, no-wrap
  16617. msgid ""
  16618. "$ guix build -K foo\n"
  16619. "@dots{}\n"
  16620. "$ cd /tmp/guix-build-foo.drv-0\n"
  16621. "$ guix environment --no-grafts -C foo --ad-hoc strace gdb\n"
  16622. "[env]# source ./environment-variables\n"
  16623. "[env]# cd foo-1.2\n"
  16624. msgstr ""
  16625. #. type: Plain text
  16626. #: guix-git/doc/guix.texi:11038
  16627. 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)."
  16628. msgstr ""
  16629. #. type: Plain text
  16630. #: guix-git/doc/guix.texi:11041
  16631. msgid "To get closer to a container like that used by the build daemon, we can remove @file{/bin/sh}:"
  16632. msgstr ""
  16633. #. type: example
  16634. #: guix-git/doc/guix.texi:11044
  16635. #, no-wrap
  16636. msgid "[env]# rm /bin/sh\n"
  16637. msgstr ""
  16638. #. type: Plain text
  16639. #: guix-git/doc/guix.texi:11048
  16640. msgid "(Don't worry, this is harmless: this is all happening in the throw-away container created by @command{guix environment}.)"
  16641. msgstr ""
  16642. #. type: Plain text
  16643. #: guix-git/doc/guix.texi:11051
  16644. msgid "The @command{strace} command is probably not in the search path, but we can run:"
  16645. msgstr ""
  16646. #. type: example
  16647. #: guix-git/doc/guix.texi:11054
  16648. #, no-wrap
  16649. msgid "[env]# $GUIX_ENVIRONMENT/bin/strace -f -o log make check\n"
  16650. msgstr ""
  16651. #. type: Plain text
  16652. #: guix-git/doc/guix.texi:11059
  16653. 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."
  16654. msgstr ""
  16655. #. type: section
  16656. #: guix-git/doc/guix.texi:11062
  16657. #, no-wrap
  16658. msgid "Invoking @command{guix edit}"
  16659. msgstr ""
  16660. #. type: command{#1}
  16661. #: guix-git/doc/guix.texi:11064
  16662. #, no-wrap
  16663. msgid "guix edit"
  16664. msgstr ""
  16665. #. type: cindex
  16666. #: guix-git/doc/guix.texi:11065
  16667. #, no-wrap
  16668. msgid "package definition, editing"
  16669. msgstr ""
  16670. #. type: Plain text
  16671. #: guix-git/doc/guix.texi:11070
  16672. 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:"
  16673. msgstr ""
  16674. #. type: example
  16675. #: guix-git/doc/guix.texi:11073
  16676. #, no-wrap
  16677. msgid "guix edit gcc@@4.9 vim\n"
  16678. msgstr ""
  16679. #. type: Plain text
  16680. #: guix-git/doc/guix.texi:11079
  16681. 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."
  16682. msgstr ""
  16683. #. type: Plain text
  16684. #: guix-git/doc/guix.texi:11085
  16685. 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."
  16686. msgstr ""
  16687. #. type: Plain text
  16688. #: guix-git/doc/guix.texi:11090
  16689. 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."
  16690. msgstr ""
  16691. #. type: section
  16692. #: guix-git/doc/guix.texi:11092
  16693. #, no-wrap
  16694. msgid "Invoking @command{guix download}"
  16695. msgstr ""
  16696. #. type: command{#1}
  16697. #: guix-git/doc/guix.texi:11094
  16698. #, no-wrap
  16699. msgid "guix download"
  16700. msgstr ""
  16701. #. type: cindex
  16702. #: guix-git/doc/guix.texi:11095
  16703. #, no-wrap
  16704. msgid "downloading package sources"
  16705. msgstr ""
  16706. #. type: Plain text
  16707. #: guix-git/doc/guix.texi:11102
  16708. 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."
  16709. msgstr ""
  16710. #. type: Plain text
  16711. #: guix-git/doc/guix.texi:11109
  16712. 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})."
  16713. msgstr ""
  16714. #. type: Plain text
  16715. #: guix-git/doc/guix.texi:11117
  16716. 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."
  16717. msgstr ""
  16718. #. type: Plain text
  16719. #: guix-git/doc/guix.texi:11122
  16720. 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."
  16721. msgstr ""
  16722. #. type: Plain text
  16723. #: guix-git/doc/guix.texi:11124 guix-git/doc/guix.texi:12749
  16724. msgid "The following options are available:"
  16725. msgstr ""
  16726. #. type: item
  16727. #: guix-git/doc/guix.texi:11126 guix-git/doc/guix.texi:11170
  16728. #, no-wrap
  16729. msgid "--hash=@var{algorithm}"
  16730. msgstr ""
  16731. #. type: itemx
  16732. #: guix-git/doc/guix.texi:11127 guix-git/doc/guix.texi:11171
  16733. #, no-wrap
  16734. msgid "-H @var{algorithm}"
  16735. msgstr ""
  16736. #. type: table
  16737. #: guix-git/doc/guix.texi:11130
  16738. msgid "Compute a hash using the specified @var{algorithm}. @xref{Invoking guix hash}, for more information."
  16739. msgstr ""
  16740. #. type: item
  16741. #: guix-git/doc/guix.texi:11131 guix-git/doc/guix.texi:11180
  16742. #, no-wrap
  16743. msgid "--format=@var{fmt}"
  16744. msgstr ""
  16745. #. type: itemx
  16746. #: guix-git/doc/guix.texi:11132 guix-git/doc/guix.texi:11181
  16747. #, no-wrap
  16748. msgid "-f @var{fmt}"
  16749. msgstr ""
  16750. #. type: table
  16751. #: guix-git/doc/guix.texi:11135
  16752. 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}."
  16753. msgstr ""
  16754. #. type: item
  16755. #: guix-git/doc/guix.texi:11136
  16756. #, no-wrap
  16757. msgid "--no-check-certificate"
  16758. msgstr ""
  16759. #. type: table
  16760. #: guix-git/doc/guix.texi:11138
  16761. msgid "Do not validate the X.509 certificates of HTTPS servers."
  16762. msgstr ""
  16763. #. type: table
  16764. #: guix-git/doc/guix.texi:11142
  16765. 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."
  16766. msgstr ""
  16767. #. type: item
  16768. #: guix-git/doc/guix.texi:11143
  16769. #, no-wrap
  16770. msgid "--output=@var{file}"
  16771. msgstr ""
  16772. #. type: itemx
  16773. #: guix-git/doc/guix.texi:11144
  16774. #, no-wrap
  16775. msgid "-o @var{file}"
  16776. msgstr ""
  16777. #. type: table
  16778. #: guix-git/doc/guix.texi:11147
  16779. msgid "Save the downloaded file to @var{file} instead of adding it to the store."
  16780. msgstr ""
  16781. #. type: section
  16782. #: guix-git/doc/guix.texi:11150
  16783. #, no-wrap
  16784. msgid "Invoking @command{guix hash}"
  16785. msgstr ""
  16786. #. type: command{#1}
  16787. #: guix-git/doc/guix.texi:11152
  16788. #, no-wrap
  16789. msgid "guix hash"
  16790. msgstr ""
  16791. #. type: Plain text
  16792. #: guix-git/doc/guix.texi:11157
  16793. 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})."
  16794. msgstr ""
  16795. #. type: example
  16796. #: guix-git/doc/guix.texi:11162
  16797. #, no-wrap
  16798. msgid "guix hash @var{option} @var{file}\n"
  16799. msgstr ""
  16800. #. type: Plain text
  16801. #: guix-git/doc/guix.texi:11167
  16802. 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:"
  16803. msgstr ""
  16804. #. type: table
  16805. #: guix-git/doc/guix.texi:11174
  16806. msgid "Compute a hash using the specified @var{algorithm}, @code{sha256} by default."
  16807. msgstr ""
  16808. #. type: table
  16809. #: guix-git/doc/guix.texi:11179
  16810. 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})."
  16811. msgstr ""
  16812. #. type: table
  16813. #: guix-git/doc/guix.texi:11183
  16814. msgid "Write the hash in the format specified by @var{fmt}."
  16815. msgstr ""
  16816. #. type: table
  16817. #: guix-git/doc/guix.texi:11186
  16818. msgid "Supported formats: @code{base64}, @code{nix-base32}, @code{base32}, @code{base16} (@code{hex} and @code{hexadecimal} can be used as well)."
  16819. msgstr ""
  16820. #. type: table
  16821. #: guix-git/doc/guix.texi:11190
  16822. 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."
  16823. msgstr ""
  16824. #. type: table
  16825. #: guix-git/doc/guix.texi:11194
  16826. msgid "Compute the hash on @var{file} recursively."
  16827. msgstr ""
  16828. #. type: table
  16829. #: guix-git/doc/guix.texi:11203
  16830. 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})."
  16831. msgstr ""
  16832. #. type: item
  16833. #: guix-git/doc/guix.texi:11204
  16834. #, no-wrap
  16835. msgid "--exclude-vcs"
  16836. msgstr ""
  16837. #. type: itemx
  16838. #: guix-git/doc/guix.texi:11205 guix-git/doc/guix.texi:12236
  16839. #, no-wrap
  16840. msgid "-x"
  16841. msgstr ""
  16842. #. type: table
  16843. #: guix-git/doc/guix.texi:11208
  16844. msgid "When combined with @option{--recursive}, exclude version control system directories (@file{.bzr}, @file{.git}, @file{.hg}, etc.)."
  16845. msgstr ""
  16846. #. type: vindex
  16847. #: guix-git/doc/guix.texi:11209
  16848. #, no-wrap
  16849. msgid "git-fetch"
  16850. msgstr ""
  16851. #. type: table
  16852. #: guix-git/doc/guix.texi:11213
  16853. 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}):"
  16854. msgstr ""
  16855. #. type: example
  16856. #: guix-git/doc/guix.texi:11218
  16857. #, no-wrap
  16858. msgid ""
  16859. "$ git clone http://example.org/foo.git\n"
  16860. "$ cd foo\n"
  16861. "$ guix hash -rx .\n"
  16862. msgstr ""
  16863. #. type: cindex
  16864. #: guix-git/doc/guix.texi:11222 guix-git/doc/guix.texi:11227
  16865. #, no-wrap
  16866. msgid "Invoking @command{guix import}"
  16867. msgstr ""
  16868. #. type: cindex
  16869. #: guix-git/doc/guix.texi:11224
  16870. #, no-wrap
  16871. msgid "importing packages"
  16872. msgstr ""
  16873. #. type: cindex
  16874. #: guix-git/doc/guix.texi:11225
  16875. #, no-wrap
  16876. msgid "package import"
  16877. msgstr ""
  16878. #. type: cindex
  16879. #: guix-git/doc/guix.texi:11226
  16880. #, no-wrap
  16881. msgid "package conversion"
  16882. msgstr ""
  16883. #. type: Plain text
  16884. #: guix-git/doc/guix.texi:11234
  16885. 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})."
  16886. msgstr ""
  16887. #. type: example
  16888. #: guix-git/doc/guix.texi:11239
  16889. #, no-wrap
  16890. msgid "guix import @var{importer} @var{options}@dots{}\n"
  16891. msgstr ""
  16892. #. type: Plain text
  16893. #: guix-git/doc/guix.texi:11244
  16894. 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}."
  16895. msgstr ""
  16896. #. type: Plain text
  16897. #: guix-git/doc/guix.texi:11248
  16898. 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."
  16899. msgstr ""
  16900. #. type: Plain text
  16901. #: guix-git/doc/guix.texi:11250
  16902. msgid "Currently, the available ``importers'' are:"
  16903. msgstr ""
  16904. #. type: item
  16905. #: guix-git/doc/guix.texi:11252 guix-git/doc/guix.texi:11881
  16906. #, no-wrap
  16907. msgid "gnu"
  16908. msgstr ""
  16909. #. type: table
  16910. #: guix-git/doc/guix.texi:11256
  16911. 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."
  16912. msgstr ""
  16913. #. type: table
  16914. #: guix-git/doc/guix.texi:11259
  16915. msgid "Additional information such as the package dependencies and its license needs to be figured out manually."
  16916. msgstr ""
  16917. #. type: table
  16918. #: guix-git/doc/guix.texi:11262
  16919. msgid "For example, the following command returns a package definition for GNU@tie{}Hello:"
  16920. msgstr ""
  16921. #. type: example
  16922. #: guix-git/doc/guix.texi:11265
  16923. #, no-wrap
  16924. msgid "guix import gnu hello\n"
  16925. msgstr ""
  16926. #. type: table
  16927. #: guix-git/doc/guix.texi:11268 guix-git/doc/guix.texi:11510
  16928. #: guix-git/doc/guix.texi:11560 guix-git/doc/guix.texi:11589
  16929. msgid "Specific command-line options are:"
  16930. msgstr ""
  16931. #. type: item
  16932. #: guix-git/doc/guix.texi:11270 guix-git/doc/guix.texi:12044
  16933. #, no-wrap
  16934. msgid "--key-download=@var{policy}"
  16935. msgstr ""
  16936. #. type: table
  16937. #: guix-git/doc/guix.texi:11274
  16938. 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}}."
  16939. msgstr ""
  16940. #. type: item
  16941. #: guix-git/doc/guix.texi:11276 guix-git/doc/guix.texi:11277
  16942. #: guix-git/doc/guix.texi:11905
  16943. #, no-wrap
  16944. msgid "pypi"
  16945. msgstr ""
  16946. #. type: table
  16947. #: guix-git/doc/guix.texi:11284
  16948. 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."
  16949. msgstr ""
  16950. #. type: table
  16951. #: guix-git/doc/guix.texi:11287
  16952. msgid "The command below imports metadata for the @code{itsdangerous} Python package:"
  16953. msgstr ""
  16954. #. type: example
  16955. #: guix-git/doc/guix.texi:11290
  16956. #, no-wrap
  16957. msgid "guix import pypi itsdangerous\n"
  16958. msgstr ""
  16959. #. type: table
  16960. #: guix-git/doc/guix.texi:11298 guix-git/doc/guix.texi:11323
  16961. #: guix-git/doc/guix.texi:11355 guix-git/doc/guix.texi:11533
  16962. #: guix-git/doc/guix.texi:11574 guix-git/doc/guix.texi:11621
  16963. #: guix-git/doc/guix.texi:11646 guix-git/doc/guix.texi:11662
  16964. #: guix-git/doc/guix.texi:11710 guix-git/doc/guix.texi:11740
  16965. 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."
  16966. msgstr ""
  16967. #. type: item
  16968. #: guix-git/doc/guix.texi:11300 guix-git/doc/guix.texi:11301
  16969. #: guix-git/doc/guix.texi:11907
  16970. #, no-wrap
  16971. msgid "gem"
  16972. msgstr ""
  16973. #. type: table
  16974. #: guix-git/doc/guix.texi:11310
  16975. 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."
  16976. msgstr ""
  16977. #. type: table
  16978. #: guix-git/doc/guix.texi:11312
  16979. msgid "The command below imports metadata for the @code{rails} Ruby package:"
  16980. msgstr ""
  16981. #. type: example
  16982. #: guix-git/doc/guix.texi:11315
  16983. #, no-wrap
  16984. msgid "guix import gem rails\n"
  16985. msgstr ""
  16986. #. type: item
  16987. #: guix-git/doc/guix.texi:11325
  16988. #, no-wrap
  16989. msgid "contentdb"
  16990. msgstr ""
  16991. #. type: cindex
  16992. #: guix-git/doc/guix.texi:11326
  16993. #, no-wrap
  16994. msgid "minetest"
  16995. msgstr ""
  16996. #. type: cindex
  16997. #: guix-git/doc/guix.texi:11327
  16998. #, no-wrap
  16999. msgid "ContentDB"
  17000. msgstr ""
  17001. #. type: table
  17002. #: guix-git/doc/guix.texi:11336
  17003. msgid "Import metadata from @uref{https://content.minetest.net, ContentDB}. Information is taken from the JSON-formatted metadata provided through @uref{https://content.minetest.net/help/api/, ContentDB's API} and includes most relevant information, including dependencies. There are some caveats, however. The license information is often incomplete. The commit hash is sometimes missing. The descriptions are in the Markdown format, but Guix uses Texinfo instead. Texture packs and subgames are unsupported."
  17004. msgstr ""
  17005. #. type: table
  17006. #: guix-git/doc/guix.texi:11338
  17007. msgid "The command below imports metadata for the Mesecons mod by Jeija:"
  17008. msgstr ""
  17009. #. type: example
  17010. #: guix-git/doc/guix.texi:11341
  17011. #, no-wrap
  17012. msgid "guix import minetest Jeija/mesecons\n"
  17013. msgstr ""
  17014. #. type: table
  17015. #: guix-git/doc/guix.texi:11344
  17016. msgid "The author name can also be left out:"
  17017. msgstr ""
  17018. #. type: example
  17019. #: guix-git/doc/guix.texi:11347
  17020. #, no-wrap
  17021. msgid "guix import minetest mesecons\n"
  17022. msgstr ""
  17023. #. type: item
  17024. #: guix-git/doc/guix.texi:11357 guix-git/doc/guix.texi:11903
  17025. #, no-wrap
  17026. msgid "cpan"
  17027. msgstr ""
  17028. #. type: cindex
  17029. #: guix-git/doc/guix.texi:11358
  17030. #, no-wrap
  17031. msgid "CPAN"
  17032. msgstr ""
  17033. #. type: table
  17034. #: guix-git/doc/guix.texi:11366
  17035. 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."
  17036. msgstr ""
  17037. #. type: table
  17038. #: guix-git/doc/guix.texi:11369
  17039. msgid "The command command below imports metadata for the Acme::Boolean Perl module:"
  17040. msgstr ""
  17041. #. type: example
  17042. #: guix-git/doc/guix.texi:11372
  17043. #, no-wrap
  17044. msgid "guix import cpan Acme::Boolean\n"
  17045. msgstr ""
  17046. #. type: item
  17047. #: guix-git/doc/guix.texi:11374 guix-git/doc/guix.texi:11899
  17048. #, no-wrap
  17049. msgid "cran"
  17050. msgstr ""
  17051. #. type: cindex
  17052. #: guix-git/doc/guix.texi:11375
  17053. #, no-wrap
  17054. msgid "CRAN"
  17055. msgstr ""
  17056. #. type: cindex
  17057. #: guix-git/doc/guix.texi:11376
  17058. #, no-wrap
  17059. msgid "Bioconductor"
  17060. msgstr ""
  17061. #. type: table
  17062. #: guix-git/doc/guix.texi:11380
  17063. 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}."
  17064. msgstr ""
  17065. #. type: table
  17066. #: guix-git/doc/guix.texi:11382
  17067. msgid "Information is extracted from the @file{DESCRIPTION} file of the package."
  17068. msgstr ""
  17069. #. type: table
  17070. #: guix-git/doc/guix.texi:11384
  17071. msgid "The command command below imports metadata for the Cairo R package:"
  17072. msgstr ""
  17073. #. type: example
  17074. #: guix-git/doc/guix.texi:11387
  17075. #, no-wrap
  17076. msgid "guix import cran Cairo\n"
  17077. msgstr ""
  17078. #. type: table
  17079. #: guix-git/doc/guix.texi:11392
  17080. 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."
  17081. msgstr ""
  17082. #. type: table
  17083. #: guix-git/doc/guix.texi:11399
  17084. 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}."
  17085. msgstr ""
  17086. #. type: table
  17087. #: guix-git/doc/guix.texi:11404
  17088. 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."
  17089. msgstr ""
  17090. #. type: table
  17091. #: guix-git/doc/guix.texi:11407
  17092. msgid "Information is extracted from the @file{DESCRIPTION} file contained in the package archive."
  17093. msgstr ""
  17094. #. type: table
  17095. #: guix-git/doc/guix.texi:11409
  17096. msgid "The command below imports metadata for the GenomicRanges R package:"
  17097. msgstr ""
  17098. #. type: example
  17099. #: guix-git/doc/guix.texi:11412
  17100. #, no-wrap
  17101. msgid "guix import cran --archive=bioconductor GenomicRanges\n"
  17102. msgstr ""
  17103. #. type: table
  17104. #: guix-git/doc/guix.texi:11417
  17105. 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:"
  17106. msgstr ""
  17107. #. type: example
  17108. #: guix-git/doc/guix.texi:11420
  17109. #, no-wrap
  17110. msgid "guix import cran --archive=git https://github.com/immunogenomics/harmony\n"
  17111. msgstr ""
  17112. #. type: item
  17113. #: guix-git/doc/guix.texi:11422
  17114. #, no-wrap
  17115. msgid "texlive"
  17116. msgstr ""
  17117. #. type: cindex
  17118. #: guix-git/doc/guix.texi:11423
  17119. #, no-wrap
  17120. msgid "TeX Live"
  17121. msgstr ""
  17122. #. type: cindex
  17123. #: guix-git/doc/guix.texi:11424
  17124. #, no-wrap
  17125. msgid "CTAN"
  17126. msgstr ""
  17127. #. type: table
  17128. #: guix-git/doc/guix.texi:11428
  17129. 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}."
  17130. msgstr ""
  17131. #. type: table
  17132. #: guix-git/doc/guix.texi:11433
  17133. 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."
  17134. msgstr ""
  17135. #. type: table
  17136. #: guix-git/doc/guix.texi:11436
  17137. msgid "The command command below imports metadata for the @code{fontspec} TeX package:"
  17138. msgstr ""
  17139. #. type: example
  17140. #: guix-git/doc/guix.texi:11439
  17141. #, no-wrap
  17142. msgid "guix import texlive fontspec\n"
  17143. msgstr ""
  17144. #. type: table
  17145. #: guix-git/doc/guix.texi:11445
  17146. 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."
  17147. msgstr ""
  17148. #. type: table
  17149. #: guix-git/doc/guix.texi:11449
  17150. msgid "The command below imports metadata for the @code{ifxetex} package from CTAN while fetching the sources from the directory @file{texmf/source/generic}:"
  17151. msgstr ""
  17152. #. type: example
  17153. #: guix-git/doc/guix.texi:11452
  17154. #, no-wrap
  17155. msgid "guix import texlive --archive=generic ifxetex\n"
  17156. msgstr ""
  17157. #. type: cindex
  17158. #: guix-git/doc/guix.texi:11455
  17159. #, no-wrap
  17160. msgid "JSON, import"
  17161. msgstr ""
  17162. #. type: table
  17163. #: guix-git/doc/guix.texi:11458
  17164. msgid "Import package metadata from a local JSON file. Consider the following example package definition in JSON format:"
  17165. msgstr ""
  17166. #. type: example
  17167. #: guix-git/doc/guix.texi:11471
  17168. #, no-wrap
  17169. msgid ""
  17170. "@{\n"
  17171. " \"name\": \"hello\",\n"
  17172. " \"version\": \"2.10\",\n"
  17173. " \"source\": \"mirror://gnu/hello/hello-2.10.tar.gz\",\n"
  17174. " \"build-system\": \"gnu\",\n"
  17175. " \"home-page\": \"https://www.gnu.org/software/hello/\",\n"
  17176. " \"synopsis\": \"Hello, GNU world: An example GNU package\",\n"
  17177. " \"description\": \"GNU Hello prints a greeting.\",\n"
  17178. " \"license\": \"GPL-3.0+\",\n"
  17179. " \"native-inputs\": [\"gettext\"]\n"
  17180. "@}\n"
  17181. msgstr ""
  17182. #. type: table
  17183. #: guix-git/doc/guix.texi:11477
  17184. 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}."
  17185. msgstr ""
  17186. #. type: table
  17187. #: guix-git/doc/guix.texi:11480
  17188. msgid "The importer also supports a more explicit source definition using the common fields for @code{<origin>} records:"
  17189. msgstr ""
  17190. #. type: example
  17191. #: guix-git/doc/guix.texi:11493
  17192. #, no-wrap
  17193. msgid ""
  17194. "@{\n"
  17195. " @dots{}\n"
  17196. " \"source\": @{\n"
  17197. " \"method\": \"url-fetch\",\n"
  17198. " \"uri\": \"mirror://gnu/hello/hello-2.10.tar.gz\",\n"
  17199. " \"sha256\": @{\n"
  17200. " \"base32\": \"0ssi1wpaf7plaswqqjwigppsg5fyh99vdlb9kzl7c9lng89ndq1i\"\n"
  17201. " @}\n"
  17202. " @}\n"
  17203. " @dots{}\n"
  17204. "@}\n"
  17205. msgstr ""
  17206. #. type: table
  17207. #: guix-git/doc/guix.texi:11497
  17208. msgid "The command below reads metadata from the JSON file @code{hello.json} and outputs a package expression:"
  17209. msgstr ""
  17210. #. type: example
  17211. #: guix-git/doc/guix.texi:11500
  17212. #, no-wrap
  17213. msgid "guix import json hello.json\n"
  17214. msgstr ""
  17215. #. type: item
  17216. #: guix-git/doc/guix.texi:11502 guix-git/doc/guix.texi:11503
  17217. #: guix-git/doc/guix.texi:11911
  17218. #, no-wrap
  17219. msgid "hackage"
  17220. msgstr ""
  17221. #. type: table
  17222. #: guix-git/doc/guix.texi:11508
  17223. 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."
  17224. msgstr ""
  17225. #. type: item
  17226. #: guix-git/doc/guix.texi:11512
  17227. #, no-wrap
  17228. msgid "--stdin"
  17229. msgstr ""
  17230. #. type: itemx
  17231. #: guix-git/doc/guix.texi:11513
  17232. #, no-wrap
  17233. msgid "-s"
  17234. msgstr ""
  17235. #. type: table
  17236. #: guix-git/doc/guix.texi:11515
  17237. msgid "Read a Cabal file from standard input."
  17238. msgstr ""
  17239. #. type: item
  17240. #: guix-git/doc/guix.texi:11515 guix-git/doc/guix.texi:11562
  17241. #, no-wrap
  17242. msgid "--no-test-dependencies"
  17243. msgstr ""
  17244. #. type: table
  17245. #: guix-git/doc/guix.texi:11518 guix-git/doc/guix.texi:11565
  17246. msgid "Do not include dependencies required only by the test suites."
  17247. msgstr ""
  17248. #. type: item
  17249. #: guix-git/doc/guix.texi:11518
  17250. #, no-wrap
  17251. msgid "--cabal-environment=@var{alist}"
  17252. msgstr ""
  17253. #. type: itemx
  17254. #: guix-git/doc/guix.texi:11519
  17255. #, no-wrap
  17256. msgid "-e @var{alist}"
  17257. msgstr ""
  17258. #. type: table
  17259. #: guix-git/doc/guix.texi:11528
  17260. 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."
  17261. msgstr ""
  17262. #. type: table
  17263. #: guix-git/doc/guix.texi:11538
  17264. 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}:"
  17265. msgstr ""
  17266. #. type: example
  17267. #: guix-git/doc/guix.texi:11541
  17268. #, no-wrap
  17269. msgid "guix import hackage -t -e \"'((\\\"network-uri\\\" . false))\" HTTP\n"
  17270. msgstr ""
  17271. #. type: table
  17272. #: guix-git/doc/guix.texi:11545
  17273. 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:"
  17274. msgstr ""
  17275. #. type: example
  17276. #: guix-git/doc/guix.texi:11548
  17277. #, no-wrap
  17278. msgid "guix import hackage mtl@@2.1.3.1\n"
  17279. msgstr ""
  17280. #. type: item
  17281. #: guix-git/doc/guix.texi:11550 guix-git/doc/guix.texi:11551
  17282. #: guix-git/doc/guix.texi:11913
  17283. #, no-wrap
  17284. msgid "stackage"
  17285. msgstr ""
  17286. #. type: table
  17287. #: guix-git/doc/guix.texi:11558
  17288. 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."
  17289. msgstr ""
  17290. #. type: item
  17291. #: guix-git/doc/guix.texi:11565
  17292. #, no-wrap
  17293. msgid "--lts-version=@var{version}"
  17294. msgstr ""
  17295. #. type: itemx
  17296. #: guix-git/doc/guix.texi:11566
  17297. #, no-wrap
  17298. msgid "-l @var{version}"
  17299. msgstr ""
  17300. #. type: table
  17301. #: guix-git/doc/guix.texi:11569
  17302. msgid "@var{version} is the desired LTS release version. If omitted the latest release is used."
  17303. msgstr ""
  17304. #. type: table
  17305. #: guix-git/doc/guix.texi:11578
  17306. msgid "The command below imports metadata for the HTTP Haskell package included in the LTS Stackage release version 7.18:"
  17307. msgstr ""
  17308. #. type: example
  17309. #: guix-git/doc/guix.texi:11581
  17310. #, no-wrap
  17311. msgid "guix import stackage --lts-version=7.18 HTTP\n"
  17312. msgstr ""
  17313. #. type: item
  17314. #: guix-git/doc/guix.texi:11583 guix-git/doc/guix.texi:11584
  17315. #: guix-git/doc/guix.texi:11897
  17316. #, no-wrap
  17317. msgid "elpa"
  17318. msgstr ""
  17319. #. type: table
  17320. #: guix-git/doc/guix.texi:11587
  17321. msgid "Import metadata from an Emacs Lisp Package Archive (ELPA) package repository (@pxref{Packages,,, emacs, The GNU Emacs Manual})."
  17322. msgstr ""
  17323. #. type: item
  17324. #: guix-git/doc/guix.texi:11591
  17325. #, no-wrap
  17326. msgid "--archive=@var{repo}"
  17327. msgstr ""
  17328. #. type: itemx
  17329. #: guix-git/doc/guix.texi:11592
  17330. #, no-wrap
  17331. msgid "-a @var{repo}"
  17332. msgstr ""
  17333. #. type: table
  17334. #: guix-git/doc/guix.texi:11596
  17335. msgid "@var{repo} identifies the archive repository from which to retrieve the information. Currently the supported repositories and their identifiers are:"
  17336. msgstr ""
  17337. #. type: itemize
  17338. #: guix-git/doc/guix.texi:11600
  17339. msgid "@uref{https://elpa.gnu.org/packages, GNU}, selected by the @code{gnu} identifier. This is the default."
  17340. msgstr ""
  17341. #. type: itemize
  17342. #: guix-git/doc/guix.texi:11606
  17343. 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})."
  17344. msgstr ""
  17345. #. type: itemize
  17346. #: guix-git/doc/guix.texi:11610
  17347. msgid "@uref{https://stable.melpa.org/packages, MELPA-Stable}, selected by the @code{melpa-stable} identifier."
  17348. msgstr ""
  17349. #. type: itemize
  17350. #: guix-git/doc/guix.texi:11614
  17351. msgid "@uref{https://melpa.org/packages, MELPA}, selected by the @code{melpa} identifier."
  17352. msgstr ""
  17353. #. type: item
  17354. #: guix-git/doc/guix.texi:11623 guix-git/doc/guix.texi:11624
  17355. #: guix-git/doc/guix.texi:11915
  17356. #, no-wrap
  17357. msgid "crate"
  17358. msgstr ""
  17359. #. type: table
  17360. #: guix-git/doc/guix.texi:11627
  17361. msgid "Import metadata from the crates.io Rust package repository @uref{https://crates.io, crates.io}, as in this example:"
  17362. msgstr ""
  17363. #. type: example
  17364. #: guix-git/doc/guix.texi:11630
  17365. #, no-wrap
  17366. msgid "guix import crate blake2-rfc\n"
  17367. msgstr ""
  17368. #. type: table
  17369. #: guix-git/doc/guix.texi:11633
  17370. msgid "The crate importer also allows you to specify a version string:"
  17371. msgstr ""
  17372. #. type: example
  17373. #: guix-git/doc/guix.texi:11636
  17374. #, no-wrap
  17375. msgid "guix import crate constant-time-eq@@0.1.0\n"
  17376. msgstr ""
  17377. #. type: table
  17378. #: guix-git/doc/guix.texi:11639 guix-git/doc/guix.texi:11655
  17379. #: guix-git/doc/guix.texi:11703 guix-git/doc/guix.texi:11734
  17380. msgid "Additional options include:"
  17381. msgstr ""
  17382. #. type: item
  17383. #: guix-git/doc/guix.texi:11648
  17384. #, no-wrap
  17385. msgid "opam"
  17386. msgstr ""
  17387. #. type: cindex
  17388. #: guix-git/doc/guix.texi:11649
  17389. #, no-wrap
  17390. msgid "OPAM"
  17391. msgstr ""
  17392. #. type: cindex
  17393. #: guix-git/doc/guix.texi:11650
  17394. #, no-wrap
  17395. msgid "OCaml"
  17396. msgstr ""
  17397. #. type: table
  17398. #: guix-git/doc/guix.texi:11653
  17399. msgid "Import metadata from the @uref{https://opam.ocaml.org/, OPAM} package repository used by the OCaml community."
  17400. msgstr ""
  17401. #. type: item
  17402. #: guix-git/doc/guix.texi:11662
  17403. #, no-wrap
  17404. msgid "--repo"
  17405. msgstr ""
  17406. #. type: table
  17407. #: guix-git/doc/guix.texi:11666
  17408. msgid "By default, packages are searched in the official OPAM repository. This option, which can be used more than once, lets you add other repositories which will be searched for packages. It accepts as valid arguments:"
  17409. msgstr ""
  17410. #. type: item
  17411. #: guix-git/doc/guix.texi:11668
  17412. #, no-wrap
  17413. msgid "the name of a known repository - can be one of @code{opam},"
  17414. msgstr ""
  17415. #. type: itemize
  17416. #: guix-git/doc/guix.texi:11671
  17417. msgid "@code{coq} (equivalent to @code{coq-released}), @code{coq-core-dev}, @code{coq-extra-dev} or @code{grew}."
  17418. msgstr ""
  17419. #. type: item
  17420. #: guix-git/doc/guix.texi:11671
  17421. #, no-wrap
  17422. msgid "the URL of a repository as expected by the"
  17423. msgstr ""
  17424. #. type: itemize
  17425. #: guix-git/doc/guix.texi:11675
  17426. msgid "@code{opam repository add} command (for instance, the URL equivalent of the above @code{opam} name would be @uref{https://opam.ocaml.org})."
  17427. msgstr ""
  17428. #. type: item
  17429. #: guix-git/doc/guix.texi:11675
  17430. #, no-wrap
  17431. msgid "the path to a local copy of a repository (a directory containing a"
  17432. msgstr ""
  17433. #. type: itemize
  17434. #: guix-git/doc/guix.texi:11677
  17435. msgid "@file{packages/} sub-directory)."
  17436. msgstr ""
  17437. #. type: table
  17438. #: guix-git/doc/guix.texi:11682
  17439. msgid "Repositories are assumed to be passed to this option by order of preference. The additional repositories will not replace the default @code{opam} repository, which is always kept as a fallback."
  17440. msgstr ""
  17441. #. type: table
  17442. #: guix-git/doc/guix.texi:11687
  17443. msgid "Also, please note that versions are not compared accross repositories. The first repository (from left to right) that has at least one version of a given package will prevail over any others, and the version imported will be the latest one found @emph{in this repository only}."
  17444. msgstr ""
  17445. #. type: cindex
  17446. #: guix-git/doc/guix.texi:11690 guix-git/doc/guix.texi:11691
  17447. #, no-wrap
  17448. msgid "go"
  17449. msgstr ""
  17450. #. type: table
  17451. #: guix-git/doc/guix.texi:11694
  17452. msgid "Import metadata for a Go module using @uref{https://proxy.golang.org, proxy.golang.org}."
  17453. msgstr ""
  17454. #. type: example
  17455. #: guix-git/doc/guix.texi:11697
  17456. #, no-wrap
  17457. msgid "guix import go gopkg.in/yaml.v2\n"
  17458. msgstr ""
  17459. #. type: table
  17460. #: guix-git/doc/guix.texi:11701
  17461. msgid "It is possible to use a package specification with a @code{@@VERSION} suffix to import a specific version."
  17462. msgstr ""
  17463. #. type: item
  17464. #: guix-git/doc/guix.texi:11710
  17465. #, no-wrap
  17466. msgid "--pin-versions"
  17467. msgstr ""
  17468. #. type: table
  17469. #: guix-git/doc/guix.texi:11718
  17470. 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."
  17471. msgstr ""
  17472. #. type: item
  17473. #: guix-git/doc/guix.texi:11720 guix-git/doc/guix.texi:11721
  17474. #: guix-git/doc/guix.texi:11895
  17475. #, no-wrap
  17476. msgid "egg"
  17477. msgstr ""
  17478. #. type: table
  17479. #: guix-git/doc/guix.texi:11728
  17480. msgid "Import metadata for @uref{https://wiki.call-cc.org/eggs, CHICKEN eggs}. The information is taken from @file{PACKAGE.egg} files found in the @uref{git://code.call-cc.org/eggs-5-latest, eggs-5-latest} Git repository. However, it does not provide all the information that we need, there is no ``description'' field, and the licenses used are not always precise (BSD is often used instead of BSD-N)."
  17481. msgstr ""
  17482. #. type: example
  17483. #: guix-git/doc/guix.texi:11731
  17484. #, no-wrap
  17485. msgid "guix import egg sourcehut\n"
  17486. msgstr ""
  17487. #. type: Plain text
  17488. #: guix-git/doc/guix.texi:11746
  17489. 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})."
  17490. msgstr ""
  17491. #. type: section
  17492. #: guix-git/doc/guix.texi:11748
  17493. #, no-wrap
  17494. msgid "Invoking @command{guix refresh}"
  17495. msgstr ""
  17496. #. type: command{#1}
  17497. #: guix-git/doc/guix.texi:11750
  17498. #, no-wrap
  17499. msgid "guix refresh"
  17500. msgstr ""
  17501. #. type: Plain text
  17502. #: guix-git/doc/guix.texi:11758
  17503. 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:"
  17504. msgstr ""
  17505. #. type: example
  17506. #: guix-git/doc/guix.texi:11763
  17507. #, no-wrap
  17508. msgid ""
  17509. "$ guix refresh\n"
  17510. "gnu/packages/gettext.scm:29:13: gettext would be upgraded from 0.18.1.1 to 0.18.2.1\n"
  17511. "gnu/packages/glib.scm:77:12: glib would be upgraded from 2.34.3 to 2.37.0\n"
  17512. msgstr ""
  17513. #. type: Plain text
  17514. #: guix-git/doc/guix.texi:11767
  17515. msgid "Alternatively, one can specify packages to consider, in which case a warning is emitted for packages that lack an updater:"
  17516. msgstr ""
  17517. #. type: example
  17518. #: guix-git/doc/guix.texi:11772
  17519. #, no-wrap
  17520. msgid ""
  17521. "$ guix refresh coreutils guile guile-ssh\n"
  17522. "gnu/packages/ssh.scm:205:2: warning: no updater for guile-ssh\n"
  17523. "gnu/packages/guile.scm:136:12: guile would be upgraded from 2.0.12 to 2.0.13\n"
  17524. msgstr ""
  17525. #. type: Plain text
  17526. #: guix-git/doc/guix.texi:11781
  17527. 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!"
  17528. msgstr ""
  17529. #. type: table
  17530. #: guix-git/doc/guix.texi:11786
  17531. msgid "Consider the packages specified, and all the packages upon which they depend."
  17532. msgstr ""
  17533. #. type: example
  17534. #: guix-git/doc/guix.texi:11794
  17535. #, no-wrap
  17536. msgid ""
  17537. "$ guix refresh --recursive coreutils\n"
  17538. "gnu/packages/acl.scm:40:13: acl would be upgraded from 2.2.53 to 2.3.1\n"
  17539. "gnu/packages/m4.scm:30:12: 1.4.18 is already the latest version of m4\n"
  17540. "gnu/packages/xml.scm:68:2: warning: no updater for expat\n"
  17541. "gnu/packages/multiprecision.scm:40:12: 6.1.2 is already the latest version of gmp\n"
  17542. "@dots{}\n"
  17543. msgstr ""
  17544. #. type: Plain text
  17545. #: guix-git/doc/guix.texi:11802
  17546. 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:"
  17547. msgstr ""
  17548. #. type: lisp
  17549. #: guix-git/doc/guix.texi:11809
  17550. #, no-wrap
  17551. msgid ""
  17552. "(define-public network-manager\n"
  17553. " (package\n"
  17554. " (name \"network-manager\")\n"
  17555. " ;; @dots{}\n"
  17556. " (properties '((upstream-name . \"NetworkManager\")))))\n"
  17557. msgstr ""
  17558. #. type: Plain text
  17559. #: guix-git/doc/guix.texi:11818
  17560. 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."
  17561. msgstr ""
  17562. #. type: Plain text
  17563. #: guix-git/doc/guix.texi:11824
  17564. 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."
  17565. msgstr ""
  17566. #. type: Plain text
  17567. #: guix-git/doc/guix.texi:11826
  17568. msgid "The following options are supported:"
  17569. msgstr ""
  17570. #. type: table
  17571. #: guix-git/doc/guix.texi:11834 guix-git/doc/guix.texi:12631
  17572. msgid "This is useful to precisely refer to a package, as in this example:"
  17573. msgstr ""
  17574. #. type: example
  17575. #: guix-git/doc/guix.texi:11837
  17576. #, no-wrap
  17577. msgid "guix refresh -l -e '(@@@@ (gnu packages commencement) glibc-final)'\n"
  17578. msgstr ""
  17579. #. type: table
  17580. #: guix-git/doc/guix.texi:11841
  17581. msgid "This command lists the dependents of the ``final'' libc (essentially all the packages)."
  17582. msgstr ""
  17583. #. type: item
  17584. #: guix-git/doc/guix.texi:11842
  17585. #, no-wrap
  17586. msgid "--update"
  17587. msgstr ""
  17588. #. type: itemx
  17589. #: guix-git/doc/guix.texi:11843
  17590. #, no-wrap
  17591. msgid "-u"
  17592. msgstr ""
  17593. #. type: table
  17594. #: guix-git/doc/guix.texi:11847
  17595. 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}):"
  17596. msgstr ""
  17597. #. type: example
  17598. #: guix-git/doc/guix.texi:11850
  17599. #, no-wrap
  17600. msgid "$ ./pre-inst-env guix refresh -s non-core -u\n"
  17601. msgstr ""
  17602. #. type: table
  17603. #: guix-git/doc/guix.texi:11853
  17604. msgid "@xref{Defining Packages}, for more information on package definitions."
  17605. msgstr ""
  17606. #. type: item
  17607. #: guix-git/doc/guix.texi:11854
  17608. #, no-wrap
  17609. msgid "--select=[@var{subset}]"
  17610. msgstr ""
  17611. #. type: itemx
  17612. #: guix-git/doc/guix.texi:11855
  17613. #, no-wrap
  17614. msgid "-s @var{subset}"
  17615. msgstr ""
  17616. #. type: table
  17617. #: guix-git/doc/guix.texi:11858
  17618. msgid "Select all the packages in @var{subset}, one of @code{core} or @code{non-core}."
  17619. msgstr ""
  17620. #. type: table
  17621. #: guix-git/doc/guix.texi:11865
  17622. 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."
  17623. msgstr ""
  17624. #. type: table
  17625. #: guix-git/doc/guix.texi:11869
  17626. 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."
  17627. msgstr ""
  17628. #. type: table
  17629. #: guix-git/doc/guix.texi:11874
  17630. 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."
  17631. msgstr ""
  17632. #. type: item
  17633. #: guix-git/doc/guix.texi:11875
  17634. #, no-wrap
  17635. msgid "--type=@var{updater}"
  17636. msgstr ""
  17637. #. type: itemx
  17638. #: guix-git/doc/guix.texi:11876
  17639. #, no-wrap
  17640. msgid "-t @var{updater}"
  17641. msgstr ""
  17642. #. type: table
  17643. #: guix-git/doc/guix.texi:11879
  17644. msgid "Select only packages handled by @var{updater} (may be a comma-separated list of updaters). Currently, @var{updater} may be one of:"
  17645. msgstr ""
  17646. #. type: table
  17647. #: guix-git/doc/guix.texi:11883
  17648. msgid "the updater for GNU packages;"
  17649. msgstr ""
  17650. #. type: item
  17651. #: guix-git/doc/guix.texi:11883
  17652. #, no-wrap
  17653. msgid "savannah"
  17654. msgstr ""
  17655. #. type: table
  17656. #: guix-git/doc/guix.texi:11885
  17657. msgid "the updater for packages hosted at @uref{https://savannah.gnu.org, Savannah};"
  17658. msgstr ""
  17659. #. type: item
  17660. #: guix-git/doc/guix.texi:11885
  17661. #, no-wrap
  17662. msgid "sourceforge"
  17663. msgstr ""
  17664. #. type: table
  17665. #: guix-git/doc/guix.texi:11887
  17666. msgid "the updater for packages hosted at @uref{https://sourceforge.net, SourceForge};"
  17667. msgstr ""
  17668. #. type: item
  17669. #: guix-git/doc/guix.texi:11887
  17670. #, no-wrap
  17671. msgid "gnome"
  17672. msgstr ""
  17673. #. type: table
  17674. #: guix-git/doc/guix.texi:11889
  17675. msgid "the updater for GNOME packages;"
  17676. msgstr ""
  17677. #. type: item
  17678. #: guix-git/doc/guix.texi:11889
  17679. #, no-wrap
  17680. msgid "kde"
  17681. msgstr ""
  17682. #. type: table
  17683. #: guix-git/doc/guix.texi:11891
  17684. msgid "the updater for KDE packages;"
  17685. msgstr ""
  17686. #. type: item
  17687. #: guix-git/doc/guix.texi:11891
  17688. #, no-wrap
  17689. msgid "xorg"
  17690. msgstr ""
  17691. #. type: table
  17692. #: guix-git/doc/guix.texi:11893
  17693. msgid "the updater for X.org packages;"
  17694. msgstr ""
  17695. #. type: item
  17696. #: guix-git/doc/guix.texi:11893
  17697. #, no-wrap
  17698. msgid "kernel.org"
  17699. msgstr ""
  17700. #. type: table
  17701. #: guix-git/doc/guix.texi:11895
  17702. msgid "the updater for packages hosted on kernel.org;"
  17703. msgstr ""
  17704. #. type: table
  17705. #: guix-git/doc/guix.texi:11897
  17706. msgid "the updater for @uref{https://wiki.call-cc.org/eggs/, Egg} packages;"
  17707. msgstr ""
  17708. #. type: table
  17709. #: guix-git/doc/guix.texi:11899
  17710. msgid "the updater for @uref{https://elpa.gnu.org/, ELPA} packages;"
  17711. msgstr ""
  17712. #. type: table
  17713. #: guix-git/doc/guix.texi:11901
  17714. msgid "the updater for @uref{https://cran.r-project.org/, CRAN} packages;"
  17715. msgstr ""
  17716. #. type: item
  17717. #: guix-git/doc/guix.texi:11901
  17718. #, no-wrap
  17719. msgid "bioconductor"
  17720. msgstr ""
  17721. #. type: table
  17722. #: guix-git/doc/guix.texi:11903
  17723. msgid "the updater for @uref{https://www.bioconductor.org/, Bioconductor} R packages;"
  17724. msgstr ""
  17725. #. type: table
  17726. #: guix-git/doc/guix.texi:11905
  17727. msgid "the updater for @uref{https://www.cpan.org/, CPAN} packages;"
  17728. msgstr ""
  17729. #. type: table
  17730. #: guix-git/doc/guix.texi:11907
  17731. msgid "the updater for @uref{https://pypi.python.org, PyPI} packages."
  17732. msgstr ""
  17733. #. type: table
  17734. #: guix-git/doc/guix.texi:11909
  17735. msgid "the updater for @uref{https://rubygems.org, RubyGems} packages."
  17736. msgstr ""
  17737. #. type: item
  17738. #: guix-git/doc/guix.texi:11909
  17739. #, no-wrap
  17740. msgid "github"
  17741. msgstr ""
  17742. #. type: table
  17743. #: guix-git/doc/guix.texi:11911
  17744. msgid "the updater for @uref{https://github.com, GitHub} packages."
  17745. msgstr ""
  17746. #. type: table
  17747. #: guix-git/doc/guix.texi:11913
  17748. msgid "the updater for @uref{https://hackage.haskell.org, Hackage} packages."
  17749. msgstr ""
  17750. #. type: table
  17751. #: guix-git/doc/guix.texi:11915
  17752. msgid "the updater for @uref{https://www.stackage.org, Stackage} packages."
  17753. msgstr ""
  17754. #. type: table
  17755. #: guix-git/doc/guix.texi:11917
  17756. msgid "the updater for @uref{https://crates.io, Crates} packages."
  17757. msgstr ""
  17758. #. type: item
  17759. #: guix-git/doc/guix.texi:11917
  17760. #, no-wrap
  17761. msgid "launchpad"
  17762. msgstr ""
  17763. #. type: table
  17764. #: guix-git/doc/guix.texi:11919
  17765. msgid "the updater for @uref{https://launchpad.net, Launchpad} packages."
  17766. msgstr ""
  17767. #. type: item
  17768. #: guix-git/doc/guix.texi:11919
  17769. #, no-wrap
  17770. msgid "generic-html"
  17771. msgstr ""
  17772. #. type: table
  17773. #: guix-git/doc/guix.texi:11922
  17774. msgid "a generic updater that crawls the HTML page where the source tarball of the package is hosted, when applicable."
  17775. msgstr ""
  17776. #. type: table
  17777. #: guix-git/doc/guix.texi:11926
  17778. 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:"
  17779. msgstr ""
  17780. #. type: example
  17781. #: guix-git/doc/guix.texi:11931
  17782. #, no-wrap
  17783. msgid ""
  17784. "$ guix refresh --type=elpa,cran\n"
  17785. "gnu/packages/statistics.scm:819:13: r-testthat would be upgraded from 0.10.0 to 0.11.0\n"
  17786. "gnu/packages/emacs.scm:856:13: emacs-auctex would be upgraded from 11.88.6 to 11.88.9\n"
  17787. msgstr ""
  17788. #. type: item
  17789. #: guix-git/doc/guix.texi:11933
  17790. #, no-wrap
  17791. msgid "--list-updaters"
  17792. msgstr ""
  17793. #. type: itemx
  17794. #: guix-git/doc/guix.texi:11934
  17795. #, no-wrap
  17796. msgid "-L"
  17797. msgstr ""
  17798. #. type: table
  17799. #: guix-git/doc/guix.texi:11936
  17800. msgid "List available updaters and exit (see @option{--type} above)."
  17801. msgstr ""
  17802. #. type: table
  17803. #: guix-git/doc/guix.texi:11939
  17804. msgid "For each updater, display the fraction of packages it covers; at the end, display the fraction of packages covered by all these updaters."
  17805. msgstr ""
  17806. #. type: Plain text
  17807. #: guix-git/doc/guix.texi:11943
  17808. msgid "In addition, @command{guix refresh} can be passed one or more package names, as in this example:"
  17809. msgstr ""
  17810. #. type: example
  17811. #: guix-git/doc/guix.texi:11946
  17812. #, no-wrap
  17813. msgid "$ ./pre-inst-env guix refresh -u emacs idutils gcc@@4.8\n"
  17814. msgstr ""
  17815. #. type: Plain text
  17816. #: guix-git/doc/guix.texi:11953
  17817. 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:"
  17818. msgstr ""
  17819. #. type: example
  17820. #: guix-git/doc/guix.texi:11957
  17821. #, no-wrap
  17822. msgid ""
  17823. "$ ./pre-inst-env guix refresh -u \\\n"
  17824. " $(guix package --list-installed | cut -f1)\n"
  17825. msgstr ""
  17826. #. type: Plain text
  17827. #: guix-git/doc/guix.texi:11963
  17828. 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:"
  17829. msgstr ""
  17830. #. type: item
  17831. #: guix-git/doc/guix.texi:11966
  17832. #, no-wrap
  17833. msgid "--list-dependent"
  17834. msgstr ""
  17835. #. type: itemx
  17836. #: guix-git/doc/guix.texi:11967 guix-git/doc/guix.texi:12226
  17837. #, no-wrap
  17838. msgid "-l"
  17839. msgstr ""
  17840. #. type: table
  17841. #: guix-git/doc/guix.texi:11970
  17842. msgid "List top-level dependent packages that would need to be rebuilt as a result of upgrading one or more packages."
  17843. msgstr ""
  17844. #. type: table
  17845. #: guix-git/doc/guix.texi:11974
  17846. 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."
  17847. msgstr ""
  17848. #. type: Plain text
  17849. #: guix-git/doc/guix.texi:11980
  17850. 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."
  17851. msgstr ""
  17852. #. type: example
  17853. #: guix-git/doc/guix.texi:11985
  17854. #, no-wrap
  17855. msgid ""
  17856. "$ guix refresh --list-dependent flex\n"
  17857. "Building the following 120 packages would ensure 213 dependent packages are rebuilt:\n"
  17858. "hop@@2.4.0 emacs-geiser@@0.13 notmuch@@0.18 mu@@0.9.9.5 cflow@@1.4 idutils@@4.6 @dots{}\n"
  17859. msgstr ""
  17860. #. type: Plain text
  17861. #: guix-git/doc/guix.texi:11989
  17862. msgid "The command above lists a set of packages that could be built to check for compatibility with an upgraded @code{flex} package."
  17863. msgstr ""
  17864. #. type: item
  17865. #: guix-git/doc/guix.texi:11992
  17866. #, no-wrap
  17867. msgid "--list-transitive"
  17868. msgstr ""
  17869. #. type: table
  17870. #: guix-git/doc/guix.texi:11994
  17871. msgid "List all the packages which one or more packages depend upon."
  17872. msgstr ""
  17873. #. type: example
  17874. #: guix-git/doc/guix.texi:11999
  17875. #, no-wrap
  17876. msgid ""
  17877. "$ guix refresh --list-transitive flex\n"
  17878. "flex@@2.6.4 depends on the following 25 packages: perl@@5.28.0 help2man@@1.47.6\n"
  17879. "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"
  17880. msgstr ""
  17881. #. type: Plain text
  17882. #: guix-git/doc/guix.texi:12005
  17883. msgid "The command above lists a set of packages which, when changed, would cause @code{flex} to be rebuilt."
  17884. msgstr ""
  17885. #. type: Plain text
  17886. #: guix-git/doc/guix.texi:12007
  17887. msgid "The following options can be used to customize GnuPG operation:"
  17888. msgstr ""
  17889. #. type: item
  17890. #: guix-git/doc/guix.texi:12010
  17891. #, no-wrap
  17892. msgid "--gpg=@var{command}"
  17893. msgstr ""
  17894. #. type: table
  17895. #: guix-git/doc/guix.texi:12013
  17896. msgid "Use @var{command} as the GnuPG 2.x command. @var{command} is searched for in @code{$PATH}."
  17897. msgstr ""
  17898. #. type: item
  17899. #: guix-git/doc/guix.texi:12014
  17900. #, no-wrap
  17901. msgid "--keyring=@var{file}"
  17902. msgstr ""
  17903. #. type: table
  17904. #: guix-git/doc/guix.texi:12020
  17905. 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)."
  17906. msgstr ""
  17907. #. type: table
  17908. #: guix-git/doc/guix.texi:12026
  17909. 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)."
  17910. msgstr ""
  17911. #. type: table
  17912. #: guix-git/doc/guix.texi:12029
  17913. msgid "You can export keys from your default GPG keyring into a keybox file using commands like this one:"
  17914. msgstr ""
  17915. #. type: example
  17916. #: guix-git/doc/guix.texi:12032
  17917. #, no-wrap
  17918. msgid "gpg --export rms@@gnu.org | kbxutil --import-openpgp >> mykeyring.kbx\n"
  17919. msgstr ""
  17920. #. type: table
  17921. #: guix-git/doc/guix.texi:12035
  17922. msgid "Likewise, you can fetch keys to a specific keybox file like this:"
  17923. msgstr ""
  17924. #. type: example
  17925. #: guix-git/doc/guix.texi:12039
  17926. #, no-wrap
  17927. msgid ""
  17928. "gpg --no-default-keyring --keyring mykeyring.kbx \\\n"
  17929. " --recv-keys @value{OPENPGP-SIGNING-KEY-ID}\n"
  17930. msgstr ""
  17931. #. type: table
  17932. #: guix-git/doc/guix.texi:12043
  17933. msgid "@xref{GPG Configuration Options, @option{--keyring},, gnupg, Using the GNU Privacy Guard}, for more information on GPG's @option{--keyring} option."
  17934. msgstr ""
  17935. #. type: table
  17936. #: guix-git/doc/guix.texi:12047
  17937. msgid "Handle missing OpenPGP keys according to @var{policy}, which may be one of:"
  17938. msgstr ""
  17939. #. type: item
  17940. #: guix-git/doc/guix.texi:12049 guix-git/doc/guix.texi:21092
  17941. #, no-wrap
  17942. msgid "always"
  17943. msgstr ""
  17944. #. type: table
  17945. #: guix-git/doc/guix.texi:12052
  17946. msgid "Always download missing OpenPGP keys from the key server, and add them to the user's GnuPG keyring."
  17947. msgstr ""
  17948. #. type: item
  17949. #: guix-git/doc/guix.texi:12053 guix-git/doc/guix.texi:21094
  17950. #, no-wrap
  17951. msgid "never"
  17952. msgstr ""
  17953. #. type: table
  17954. #: guix-git/doc/guix.texi:12055
  17955. msgid "Never try to download missing OpenPGP keys. Instead just bail out."
  17956. msgstr ""
  17957. #. type: item
  17958. #: guix-git/doc/guix.texi:12056
  17959. #, no-wrap
  17960. msgid "interactive"
  17961. msgstr ""
  17962. #. type: table
  17963. #: guix-git/doc/guix.texi:12059
  17964. 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."
  17965. msgstr ""
  17966. #. type: item
  17967. #: guix-git/doc/guix.texi:12061
  17968. #, no-wrap
  17969. msgid "--key-server=@var{host}"
  17970. msgstr ""
  17971. #. type: table
  17972. #: guix-git/doc/guix.texi:12063
  17973. msgid "Use @var{host} as the OpenPGP key server when importing a public key."
  17974. msgstr ""
  17975. #. type: Plain text
  17976. #: guix-git/doc/guix.texi:12083
  17977. 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."
  17978. msgstr ""
  17979. #. type: section
  17980. #: guix-git/doc/guix.texi:12086
  17981. #, no-wrap
  17982. msgid "Invoking @command{guix lint}"
  17983. msgstr ""
  17984. #. type: command{#1}
  17985. #: guix-git/doc/guix.texi:12088
  17986. #, no-wrap
  17987. msgid "guix lint"
  17988. msgstr ""
  17989. #. type: cindex
  17990. #: guix-git/doc/guix.texi:12089
  17991. #, no-wrap
  17992. msgid "package, checking for errors"
  17993. msgstr ""
  17994. #. type: Plain text
  17995. #: guix-git/doc/guix.texi:12095
  17996. 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):"
  17997. msgstr ""
  17998. #. type: table
  17999. #: guix-git/doc/guix.texi:12101
  18000. msgid "Validate certain typographical and stylistic rules about package descriptions and synopses."
  18001. msgstr ""
  18002. #. type: item
  18003. #: guix-git/doc/guix.texi:12102
  18004. #, no-wrap
  18005. msgid "inputs-should-be-native"
  18006. msgstr ""
  18007. #. type: table
  18008. #: guix-git/doc/guix.texi:12104
  18009. msgid "Identify inputs that should most likely be native inputs."
  18010. msgstr ""
  18011. #. type: itemx
  18012. #: guix-git/doc/guix.texi:12107
  18013. #, no-wrap
  18014. msgid "mirror-url"
  18015. msgstr ""
  18016. #. type: itemx
  18017. #: guix-git/doc/guix.texi:12108
  18018. #, no-wrap
  18019. msgid "github-url"
  18020. msgstr ""
  18021. #. type: itemx
  18022. #: guix-git/doc/guix.texi:12109
  18023. #, no-wrap
  18024. msgid "source-file-name"
  18025. msgstr ""
  18026. #. type: table
  18027. #: guix-git/doc/guix.texi:12116
  18028. 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})."
  18029. msgstr ""
  18030. #. type: item
  18031. #: guix-git/doc/guix.texi:12117
  18032. #, no-wrap
  18033. msgid "source-unstable-tarball"
  18034. msgstr ""
  18035. #. type: table
  18036. #: guix-git/doc/guix.texi:12121
  18037. 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."
  18038. msgstr ""
  18039. #. type: table
  18040. #: guix-git/doc/guix.texi:12125
  18041. msgid "Check that the derivation of the given packages can be successfully computed for all the supported systems (@pxref{Derivations})."
  18042. msgstr ""
  18043. #. type: item
  18044. #: guix-git/doc/guix.texi:12126
  18045. #, no-wrap
  18046. msgid "profile-collisions"
  18047. msgstr ""
  18048. #. type: table
  18049. #: guix-git/doc/guix.texi:12132
  18050. 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."
  18051. msgstr ""
  18052. #. type: item
  18053. #: guix-git/doc/guix.texi:12133
  18054. #, no-wrap
  18055. msgid "archival"
  18056. msgstr ""
  18057. #. type: cindex
  18058. #: guix-git/doc/guix.texi:12134
  18059. #, no-wrap
  18060. msgid "Software Heritage, source code archive"
  18061. msgstr ""
  18062. #. type: cindex
  18063. #: guix-git/doc/guix.texi:12135
  18064. #, no-wrap
  18065. msgid "archival of source code, Software Heritage"
  18066. msgstr ""
  18067. #. type: table
  18068. #: guix-git/doc/guix.texi:12138
  18069. msgid "Checks whether the package's source code is archived at @uref{https://www.softwareheritage.org, Software Heritage}."
  18070. msgstr ""
  18071. #. type: table
  18072. #: guix-git/doc/guix.texi:12146
  18073. 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}."
  18074. msgstr ""
  18075. #. type: table
  18076. #: guix-git/doc/guix.texi:12151
  18077. 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."
  18078. msgstr ""
  18079. #. type: table
  18080. #: guix-git/doc/guix.texi:12157
  18081. 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."
  18082. msgstr ""
  18083. #. type: item
  18084. #: guix-git/doc/guix.texi:12158
  18085. #, no-wrap
  18086. msgid "cve"
  18087. msgstr ""
  18088. #. type: cindex
  18089. #: guix-git/doc/guix.texi:12159 guix-git/doc/guix.texi:35303
  18090. #, no-wrap
  18091. msgid "security vulnerabilities"
  18092. msgstr ""
  18093. #. type: cindex
  18094. #: guix-git/doc/guix.texi:12160
  18095. #, no-wrap
  18096. msgid "CVE, Common Vulnerabilities and Exposures"
  18097. msgstr ""
  18098. #. type: table
  18099. #: guix-git/doc/guix.texi:12165
  18100. 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}."
  18101. msgstr ""
  18102. #. type: table
  18103. #: guix-git/doc/guix.texi:12167
  18104. msgid "To view information about a particular vulnerability, visit pages such as:"
  18105. msgstr ""
  18106. #. type: indicateurl{#1}
  18107. #: guix-git/doc/guix.texi:12171
  18108. msgid "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-YYYY-ABCD"
  18109. msgstr ""
  18110. #. type: indicateurl{#1}
  18111. #: guix-git/doc/guix.texi:12173
  18112. msgid "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-YYYY-ABCD"
  18113. msgstr ""
  18114. #. type: table
  18115. #: guix-git/doc/guix.texi:12178
  18116. msgid "where @code{CVE-YYYY-ABCD} is the CVE identifier---e.g., @code{CVE-2015-7554}."
  18117. msgstr ""
  18118. #. type: table
  18119. #: guix-git/doc/guix.texi:12183
  18120. 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:"
  18121. msgstr ""
  18122. #. type: lisp
  18123. #: guix-git/doc/guix.texi:12191
  18124. #, no-wrap
  18125. msgid ""
  18126. "(package\n"
  18127. " (name \"grub\")\n"
  18128. " ;; @dots{}\n"
  18129. " ;; CPE calls this package \"grub2\".\n"
  18130. " (properties '((cpe-name . \"grub2\")\n"
  18131. " (cpe-version . \"2.3\"))))\n"
  18132. msgstr ""
  18133. #. type: table
  18134. #: guix-git/doc/guix.texi:12198
  18135. 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:"
  18136. msgstr ""
  18137. #. type: lisp
  18138. #: guix-git/doc/guix.texi:12208
  18139. #, no-wrap
  18140. msgid ""
  18141. "(package\n"
  18142. " (name \"t1lib\")\n"
  18143. " ;; @dots{}\n"
  18144. " ;; These CVEs no longer apply and can be safely ignored.\n"
  18145. " (properties `((lint-hidden-cve . (\"CVE-2011-0433\"\n"
  18146. " \"CVE-2011-1553\"\n"
  18147. " \"CVE-2011-1554\"\n"
  18148. " \"CVE-2011-5244\")))))\n"
  18149. msgstr ""
  18150. #. type: item
  18151. #: guix-git/doc/guix.texi:12210
  18152. #, no-wrap
  18153. msgid "formatting"
  18154. msgstr ""
  18155. #. type: table
  18156. #: guix-git/doc/guix.texi:12213
  18157. msgid "Warn about obvious source code formatting issues: trailing white space, use of tabulations, etc."
  18158. msgstr ""
  18159. #. type: example
  18160. #: guix-git/doc/guix.texi:12219
  18161. #, no-wrap
  18162. msgid "guix lint @var{options} @var{package}@dots{}\n"
  18163. msgstr ""
  18164. #. type: Plain text
  18165. #: guix-git/doc/guix.texi:12223
  18166. 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:"
  18167. msgstr ""
  18168. #. type: item
  18169. #: guix-git/doc/guix.texi:12225
  18170. #, no-wrap
  18171. msgid "--list-checkers"
  18172. msgstr ""
  18173. #. type: table
  18174. #: guix-git/doc/guix.texi:12229
  18175. msgid "List and describe all the available checkers that will be run on packages and exit."
  18176. msgstr ""
  18177. #. type: item
  18178. #: guix-git/doc/guix.texi:12230
  18179. #, no-wrap
  18180. msgid "--checkers"
  18181. msgstr ""
  18182. #. type: itemx
  18183. #: guix-git/doc/guix.texi:12231
  18184. #, no-wrap
  18185. msgid "-c"
  18186. msgstr ""
  18187. #. type: table
  18188. #: guix-git/doc/guix.texi:12234
  18189. msgid "Only enable the checkers specified in a comma-separated list using the names returned by @option{--list-checkers}."
  18190. msgstr ""
  18191. #. type: item
  18192. #: guix-git/doc/guix.texi:12235
  18193. #, no-wrap
  18194. msgid "--exclude"
  18195. msgstr ""
  18196. #. type: table
  18197. #: guix-git/doc/guix.texi:12239
  18198. msgid "Only disable the checkers specified in a comma-separated list using the names returned by @option{--list-checkers}."
  18199. msgstr ""
  18200. #. type: item
  18201. #: guix-git/doc/guix.texi:12240
  18202. #, no-wrap
  18203. msgid "--no-network"
  18204. msgstr ""
  18205. #. type: table
  18206. #: guix-git/doc/guix.texi:12243
  18207. msgid "Only enable the checkers that do not depend on Internet access."
  18208. msgstr ""
  18209. #. type: section
  18210. #: guix-git/doc/guix.texi:12255
  18211. #, no-wrap
  18212. msgid "Invoking @command{guix size}"
  18213. msgstr ""
  18214. #. type: code{#1}
  18215. #: guix-git/doc/guix.texi:12257 guix-git/doc/guix.texi:34216
  18216. #, no-wrap
  18217. msgid "size"
  18218. msgstr ""
  18219. #. type: cindex
  18220. #: guix-git/doc/guix.texi:12258
  18221. #, no-wrap
  18222. msgid "package size"
  18223. msgstr ""
  18224. #. type: command{#1}
  18225. #: guix-git/doc/guix.texi:12260
  18226. #, no-wrap
  18227. msgid "guix size"
  18228. msgstr ""
  18229. #. type: Plain text
  18230. #: guix-git/doc/guix.texi:12267
  18231. 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."
  18232. msgstr ""
  18233. #. type: Plain text
  18234. #: guix-git/doc/guix.texi:12272
  18235. 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:"
  18236. msgstr ""
  18237. #. type: example
  18238. #: guix-git/doc/guix.texi:12285
  18239. #, no-wrap
  18240. msgid ""
  18241. "$ guix size coreutils\n"
  18242. "store item total self\n"
  18243. "/gnu/store/@dots{}-gcc-5.5.0-lib 60.4 30.1 38.1%\n"
  18244. "/gnu/store/@dots{}-glibc-2.27 30.3 28.8 36.6%\n"
  18245. "/gnu/store/@dots{}-coreutils-8.28 78.9 15.0 19.0%\n"
  18246. "/gnu/store/@dots{}-gmp-6.1.2 63.1 2.7 3.4%\n"
  18247. "/gnu/store/@dots{}-bash-static-4.4.12 1.5 1.5 1.9%\n"
  18248. "/gnu/store/@dots{}-acl-2.2.52 61.1 0.4 0.5%\n"
  18249. "/gnu/store/@dots{}-attr-2.4.47 60.6 0.2 0.3%\n"
  18250. "/gnu/store/@dots{}-libcap-2.25 60.5 0.2 0.2%\n"
  18251. "total: 78.9 MiB\n"
  18252. msgstr ""
  18253. #. type: Plain text
  18254. #: guix-git/doc/guix.texi:12291
  18255. 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:"
  18256. msgstr ""
  18257. #. type: example
  18258. #: guix-git/doc/guix.texi:12294
  18259. #, no-wrap
  18260. msgid "$ guix gc -R /gnu/store/@dots{}-coreutils-8.23\n"
  18261. msgstr ""
  18262. #. type: Plain text
  18263. #: guix-git/doc/guix.texi:12302
  18264. 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."
  18265. msgstr ""
  18266. #. type: Plain text
  18267. #: guix-git/doc/guix.texi:12308
  18268. 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.)"
  18269. msgstr ""
  18270. #. type: Plain text
  18271. #: guix-git/doc/guix.texi:12311
  18272. msgid "Since the command also accepts store file names, assessing the size of a build result is straightforward:"
  18273. msgstr ""
  18274. #. type: example
  18275. #: guix-git/doc/guix.texi:12314
  18276. #, no-wrap
  18277. msgid "guix size $(guix system build config.scm)\n"
  18278. msgstr ""
  18279. #. type: Plain text
  18280. #: guix-git/doc/guix.texi:12324
  18281. 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})."
  18282. msgstr ""
  18283. #. type: Plain text
  18284. #: guix-git/doc/guix.texi:12329
  18285. 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."
  18286. msgstr ""
  18287. #. type: Plain text
  18288. #: guix-git/doc/guix.texi:12331
  18289. msgid "You can also specify several package names:"
  18290. msgstr ""
  18291. #. type: example
  18292. #: guix-git/doc/guix.texi:12341
  18293. #, no-wrap
  18294. msgid ""
  18295. "$ guix size coreutils grep sed bash\n"
  18296. "store item total self\n"
  18297. "/gnu/store/@dots{}-coreutils-8.24 77.8 13.8 13.4%\n"
  18298. "/gnu/store/@dots{}-grep-2.22 73.1 0.8 0.8%\n"
  18299. "/gnu/store/@dots{}-bash-4.3.42 72.3 4.7 4.6%\n"
  18300. "/gnu/store/@dots{}-readline-6.3 67.6 1.2 1.2%\n"
  18301. "@dots{}\n"
  18302. "total: 102.3 MiB\n"
  18303. msgstr ""
  18304. #. type: Plain text
  18305. #: guix-git/doc/guix.texi:12347
  18306. 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."
  18307. msgstr ""
  18308. #. type: Plain text
  18309. #: guix-git/doc/guix.texi:12353
  18310. 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})."
  18311. msgstr ""
  18312. #. type: Plain text
  18313. #: guix-git/doc/guix.texi:12355
  18314. msgid "The available options are:"
  18315. msgstr ""
  18316. #. type: table
  18317. #: guix-git/doc/guix.texi:12361
  18318. msgid "Use substitute information from @var{urls}. @xref{client-substitute-urls, the same option for @code{guix build}}."
  18319. msgstr ""
  18320. #. type: item
  18321. #: guix-git/doc/guix.texi:12362
  18322. #, no-wrap
  18323. msgid "--sort=@var{key}"
  18324. msgstr ""
  18325. #. type: table
  18326. #: guix-git/doc/guix.texi:12364
  18327. msgid "Sort lines according to @var{key}, one of the following options:"
  18328. msgstr ""
  18329. #. type: item
  18330. #: guix-git/doc/guix.texi:12366
  18331. #, no-wrap
  18332. msgid "self"
  18333. msgstr "sám"
  18334. #. type: table
  18335. #: guix-git/doc/guix.texi:12368
  18336. msgid "the size of each item (the default);"
  18337. msgstr ""
  18338. #. type: table
  18339. #: guix-git/doc/guix.texi:12370
  18340. msgid "the total size of the item's closure."
  18341. msgstr ""
  18342. #. type: item
  18343. #: guix-git/doc/guix.texi:12372
  18344. #, no-wrap
  18345. msgid "--map-file=@var{file}"
  18346. msgstr ""
  18347. #. type: table
  18348. #: guix-git/doc/guix.texi:12374
  18349. msgid "Write a graphical map of disk usage in PNG format to @var{file}."
  18350. msgstr ""
  18351. #. type: table
  18352. #: guix-git/doc/guix.texi:12376
  18353. msgid "For the example above, the map looks like this:"
  18354. msgstr ""
  18355. #. type: table
  18356. #: guix-git/doc/guix.texi:12379
  18357. msgid "@image{images/coreutils-size-map,5in,, map of Coreutils disk usage produced by @command{guix size}}"
  18358. msgstr ""
  18359. #. type: table
  18360. #: guix-git/doc/guix.texi:12384
  18361. 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."
  18362. msgstr ""
  18363. #. type: table
  18364. #: guix-git/doc/guix.texi:12388
  18365. msgid "Consider packages for @var{system}---e.g., @code{x86_64-linux}."
  18366. msgstr ""
  18367. #. type: section
  18368. #: guix-git/doc/guix.texi:12399
  18369. #, no-wrap
  18370. msgid "Invoking @command{guix graph}"
  18371. msgstr ""
  18372. #. type: cindex
  18373. #: guix-git/doc/guix.texi:12401
  18374. #, no-wrap
  18375. msgid "DAG"
  18376. msgstr ""
  18377. #. type: command{#1}
  18378. #: guix-git/doc/guix.texi:12402
  18379. #, no-wrap
  18380. msgid "guix graph"
  18381. msgstr ""
  18382. #. type: Plain text
  18383. #: guix-git/doc/guix.texi:12417
  18384. 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:"
  18385. msgstr ""
  18386. #. type: example
  18387. #: guix-git/doc/guix.texi:12420
  18388. #, no-wrap
  18389. msgid "guix graph @var{options} @var{package}@dots{}\n"
  18390. msgstr ""
  18391. #. type: Plain text
  18392. #: guix-git/doc/guix.texi:12425
  18393. 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:"
  18394. msgstr ""
  18395. #. type: example
  18396. #: guix-git/doc/guix.texi:12428
  18397. #, no-wrap
  18398. msgid "guix graph coreutils | dot -Tpdf > dag.pdf\n"
  18399. msgstr ""
  18400. #. type: Plain text
  18401. #: guix-git/doc/guix.texi:12431
  18402. msgid "The output looks like this:"
  18403. msgstr ""
  18404. #. type: Plain text
  18405. #: guix-git/doc/guix.texi:12433
  18406. msgid "@image{images/coreutils-graph,2in,,Dependency graph of the GNU Coreutils}"
  18407. msgstr ""
  18408. #. type: Plain text
  18409. #: guix-git/doc/guix.texi:12435
  18410. msgid "Nice little graph, no?"
  18411. msgstr ""
  18412. #. type: Plain text
  18413. #: guix-git/doc/guix.texi:12438
  18414. msgid "You may find it more pleasant to navigate the graph interactively with @command{xdot} (from the @code{xdot} package):"
  18415. msgstr ""
  18416. #. type: example
  18417. #: guix-git/doc/guix.texi:12441
  18418. #, no-wrap
  18419. msgid "guix graph coreutils | xdot -\n"
  18420. msgstr ""
  18421. #. type: Plain text
  18422. #: guix-git/doc/guix.texi:12448
  18423. 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:"
  18424. msgstr ""
  18425. #. type: table
  18426. #: guix-git/doc/guix.texi:12454
  18427. 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."
  18428. msgstr ""
  18429. #. type: item
  18430. #: guix-git/doc/guix.texi:12455
  18431. #, no-wrap
  18432. msgid "reverse-package"
  18433. msgstr ""
  18434. #. type: table
  18435. #: guix-git/doc/guix.texi:12457
  18436. msgid "This shows the @emph{reverse} DAG of packages. For example:"
  18437. msgstr ""
  18438. #. type: example
  18439. #: guix-git/doc/guix.texi:12460
  18440. #, no-wrap
  18441. msgid "guix graph --type=reverse-package ocaml\n"
  18442. msgstr ""
  18443. #. type: table
  18444. #: guix-git/doc/guix.texi:12465
  18445. 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)."
  18446. msgstr ""
  18447. #. type: table
  18448. #: guix-git/doc/guix.texi:12470
  18449. 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}})."
  18450. msgstr ""
  18451. #. type: item
  18452. #: guix-git/doc/guix.texi:12471
  18453. #, no-wrap
  18454. msgid "bag-emerged"
  18455. msgstr ""
  18456. #. type: table
  18457. #: guix-git/doc/guix.texi:12473
  18458. msgid "This is the package DAG, @emph{including} implicit inputs."
  18459. msgstr ""
  18460. #. type: table
  18461. #: guix-git/doc/guix.texi:12475
  18462. msgid "For instance, the following command:"
  18463. msgstr ""
  18464. #. type: example
  18465. #: guix-git/doc/guix.texi:12478
  18466. #, no-wrap
  18467. msgid "guix graph --type=bag-emerged coreutils\n"
  18468. msgstr ""
  18469. #. type: table
  18470. #: guix-git/doc/guix.texi:12481
  18471. msgid "...@: yields this bigger graph:"
  18472. msgstr ""
  18473. #. type: table
  18474. #: guix-git/doc/guix.texi:12483
  18475. msgid "@image{images/coreutils-bag-graph,,5in,Detailed dependency graph of the GNU Coreutils}"
  18476. msgstr ""
  18477. #. type: table
  18478. #: guix-git/doc/guix.texi:12486
  18479. 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}})."
  18480. msgstr ""
  18481. #. type: table
  18482. #: guix-git/doc/guix.texi:12490
  18483. msgid "Now, note that the dependencies of these implicit inputs---that is, the @dfn{bootstrap dependencies} (@pxref{Bootstrapping})---are not shown here, for conciseness."
  18484. msgstr ""
  18485. #. type: item
  18486. #: guix-git/doc/guix.texi:12491
  18487. #, no-wrap
  18488. msgid "bag"
  18489. msgstr ""
  18490. #. type: table
  18491. #: guix-git/doc/guix.texi:12494
  18492. msgid "Similar to @code{bag-emerged}, but this time including all the bootstrap dependencies."
  18493. msgstr ""
  18494. #. type: item
  18495. #: guix-git/doc/guix.texi:12495
  18496. #, no-wrap
  18497. msgid "bag-with-origins"
  18498. msgstr ""
  18499. #. type: table
  18500. #: guix-git/doc/guix.texi:12497
  18501. msgid "Similar to @code{bag}, but also showing origins and their dependencies."
  18502. msgstr ""
  18503. #. type: item
  18504. #: guix-git/doc/guix.texi:12498
  18505. #, no-wrap
  18506. msgid "reverse-bag"
  18507. msgstr ""
  18508. #. type: table
  18509. #: guix-git/doc/guix.texi:12501
  18510. msgid "This shows the @emph{reverse} DAG of packages. Unlike @code{reverse-package}, it also takes implicit dependencies into account. For example:"
  18511. msgstr ""
  18512. #. type: example
  18513. #: guix-git/doc/guix.texi:12504
  18514. #, no-wrap
  18515. msgid "guix graph -t reverse-bag dune\n"
  18516. msgstr ""
  18517. #. type: table
  18518. #: guix-git/doc/guix.texi:12511
  18519. 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."
  18520. msgstr ""
  18521. #. type: table
  18522. #: guix-git/doc/guix.texi:12517
  18523. 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."
  18524. msgstr ""
  18525. #. type: table
  18526. #: guix-git/doc/guix.texi:12520
  18527. msgid "For this type of graph, it is also possible to pass a @file{.drv} file name instead of a package name, as in:"
  18528. msgstr ""
  18529. #. type: example
  18530. #: guix-git/doc/guix.texi:12523
  18531. #, no-wrap
  18532. msgid "guix graph -t derivation $(guix system build -d my-config.scm)\n"
  18533. msgstr ""
  18534. #. type: item
  18535. #: guix-git/doc/guix.texi:12525
  18536. #, no-wrap
  18537. msgid "module"
  18538. msgstr ""
  18539. #. type: table
  18540. #: guix-git/doc/guix.texi:12529
  18541. 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:"
  18542. msgstr ""
  18543. #. type: example
  18544. #: guix-git/doc/guix.texi:12532
  18545. #, no-wrap
  18546. msgid "guix graph -t module guile | xdot -\n"
  18547. msgstr ""
  18548. #. type: Plain text
  18549. #: guix-git/doc/guix.texi:12537
  18550. msgid "All the types above correspond to @emph{build-time dependencies}. The following graph type represents the @emph{run-time dependencies}:"
  18551. msgstr ""
  18552. #. type: table
  18553. #: guix-git/doc/guix.texi:12542
  18554. msgid "This is the graph of @dfn{references} of a package output, as returned by @command{guix gc --references} (@pxref{Invoking guix gc})."
  18555. msgstr ""
  18556. #. type: table
  18557. #: guix-git/doc/guix.texi:12545
  18558. msgid "If the given package output is not available in the store, @command{guix graph} attempts to obtain dependency information from substitutes."
  18559. msgstr ""
  18560. #. type: table
  18561. #: guix-git/doc/guix.texi:12549
  18562. 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!):"
  18563. msgstr ""
  18564. #. type: example
  18565. #: guix-git/doc/guix.texi:12552
  18566. #, no-wrap
  18567. msgid "guix graph -t references $(readlink -f ~/.guix-profile)\n"
  18568. msgstr ""
  18569. #. type: item
  18570. #: guix-git/doc/guix.texi:12554
  18571. #, no-wrap
  18572. msgid "referrers"
  18573. msgstr ""
  18574. #. type: table
  18575. #: guix-git/doc/guix.texi:12557
  18576. msgid "This is the graph of the @dfn{referrers} of a store item, as returned by @command{guix gc --referrers} (@pxref{Invoking guix gc})."
  18577. msgstr ""
  18578. #. type: table
  18579. #: guix-git/doc/guix.texi:12563
  18580. 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."
  18581. msgstr ""
  18582. #. type: table
  18583. #: guix-git/doc/guix.texi:12566
  18584. msgid "It can help determine what is preventing a store item from being garbage collected."
  18585. msgstr ""
  18586. #. type: cindex
  18587. #: guix-git/doc/guix.texi:12569
  18588. #, no-wrap
  18589. msgid "shortest path, between packages"
  18590. msgstr ""
  18591. #. type: Plain text
  18592. #: guix-git/doc/guix.texi:12576
  18593. 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.):"
  18594. msgstr ""
  18595. #. type: example
  18596. #: guix-git/doc/guix.texi:12590
  18597. #, no-wrap
  18598. msgid ""
  18599. "$ guix graph --path emacs libunistring\n"
  18600. "emacs@@26.3\n"
  18601. "mailutils@@3.9\n"
  18602. "libunistring@@0.9.10\n"
  18603. "$ guix graph --path -t derivation emacs libunistring\n"
  18604. "/gnu/store/@dots{}-emacs-26.3.drv\n"
  18605. "/gnu/store/@dots{}-mailutils-3.9.drv\n"
  18606. "/gnu/store/@dots{}-libunistring-0.9.10.drv\n"
  18607. "$ guix graph --path -t references emacs libunistring\n"
  18608. "/gnu/store/@dots{}-emacs-26.3\n"
  18609. "/gnu/store/@dots{}-libidn2-2.2.0\n"
  18610. "/gnu/store/@dots{}-libunistring-0.9.10\n"
  18611. msgstr ""
  18612. #. type: Plain text
  18613. #: guix-git/doc/guix.texi:12593
  18614. msgid "The available options are the following:"
  18615. msgstr ""
  18616. #. type: table
  18617. #: guix-git/doc/guix.texi:12599
  18618. msgid "Produce a graph output of @var{type}, where @var{type} must be one of the values listed above."
  18619. msgstr ""
  18620. #. type: item
  18621. #: guix-git/doc/guix.texi:12600
  18622. #, no-wrap
  18623. msgid "--list-types"
  18624. msgstr ""
  18625. #. type: table
  18626. #: guix-git/doc/guix.texi:12602
  18627. msgid "List the supported graph types."
  18628. msgstr ""
  18629. #. type: item
  18630. #: guix-git/doc/guix.texi:12603
  18631. #, no-wrap
  18632. msgid "--backend=@var{backend}"
  18633. msgstr ""
  18634. #. type: itemx
  18635. #: guix-git/doc/guix.texi:12604
  18636. #, no-wrap
  18637. msgid "-b @var{backend}"
  18638. msgstr ""
  18639. #. type: table
  18640. #: guix-git/doc/guix.texi:12606
  18641. msgid "Produce a graph using the selected @var{backend}."
  18642. msgstr ""
  18643. #. type: item
  18644. #: guix-git/doc/guix.texi:12607
  18645. #, no-wrap
  18646. msgid "--list-backends"
  18647. msgstr ""
  18648. #. type: table
  18649. #: guix-git/doc/guix.texi:12609
  18650. msgid "List the supported graph backends."
  18651. msgstr ""
  18652. #. type: table
  18653. #: guix-git/doc/guix.texi:12611
  18654. msgid "Currently, the available backends are Graphviz and d3.js."
  18655. msgstr ""
  18656. #. type: item
  18657. #: guix-git/doc/guix.texi:12612
  18658. #, no-wrap
  18659. msgid "--path"
  18660. msgstr ""
  18661. #. type: table
  18662. #: guix-git/doc/guix.texi:12617
  18663. 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}:"
  18664. msgstr ""
  18665. #. type: example
  18666. #: guix-git/doc/guix.texi:12624
  18667. #, no-wrap
  18668. msgid ""
  18669. "$ guix graph --path -t references libreoffice llvm\n"
  18670. "/gnu/store/@dots{}-libreoffice-6.4.2.2\n"
  18671. "/gnu/store/@dots{}-libepoxy-1.5.4\n"
  18672. "/gnu/store/@dots{}-mesa-19.3.4\n"
  18673. "/gnu/store/@dots{}-llvm-9.0.1\n"
  18674. msgstr ""
  18675. #. type: example
  18676. #: guix-git/doc/guix.texi:12634
  18677. #, no-wrap
  18678. msgid "guix graph -e '(@@@@ (gnu packages commencement) gnu-make-final)'\n"
  18679. msgstr ""
  18680. #. type: table
  18681. #: guix-git/doc/guix.texi:12639
  18682. msgid "Display the graph for @var{system}---e.g., @code{i686-linux}."
  18683. msgstr ""
  18684. #. type: table
  18685. #: guix-git/doc/guix.texi:12642
  18686. msgid "The package dependency graph is largely architecture-independent, but there are some architecture-dependent bits that this option allows you to visualize."
  18687. msgstr ""
  18688. #. type: Plain text
  18689. #: guix-git/doc/guix.texi:12658
  18690. 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:"
  18691. msgstr ""
  18692. #. type: example
  18693. #: guix-git/doc/guix.texi:12661
  18694. #, no-wrap
  18695. msgid "guix graph git --with-input=openssl=libressl\n"
  18696. msgstr ""
  18697. #. type: Plain text
  18698. #: guix-git/doc/guix.texi:12664
  18699. msgid "So many possibilities, so much fun!"
  18700. msgstr ""
  18701. #. type: section
  18702. #: guix-git/doc/guix.texi:12666
  18703. #, no-wrap
  18704. msgid "Invoking @command{guix publish}"
  18705. msgstr ""
  18706. #. type: command{#1}
  18707. #: guix-git/doc/guix.texi:12668
  18708. #, no-wrap
  18709. msgid "guix publish"
  18710. msgstr ""
  18711. #. type: Plain text
  18712. #: guix-git/doc/guix.texi:12672
  18713. 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})."
  18714. msgstr ""
  18715. #. type: Plain text
  18716. #: guix-git/doc/guix.texi:12678
  18717. msgid "When @command{guix publish} runs, it spawns an HTTP server which allows anyone with network access to obtain substitutes from it. This means that any machine running Guix can also act as if it were a build farm, since the HTTP interface is compatible with Cuirass, the software behind the @code{@value{SUBSTITUTE-SERVER-1}} build farm."
  18718. msgstr ""
  18719. #. type: Plain text
  18720. #: guix-git/doc/guix.texi:12684
  18721. 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."
  18722. msgstr ""
  18723. #. type: Plain text
  18724. #: guix-git/doc/guix.texi:12688
  18725. msgid "The signing key pair must be generated before @command{guix publish} is launched, using @command{guix archive --generate-key} (@pxref{Invoking guix archive})."
  18726. msgstr ""
  18727. #. type: Plain text
  18728. #: guix-git/doc/guix.texi:12693
  18729. 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})."
  18730. msgstr ""
  18731. #. type: example
  18732. #: guix-git/doc/guix.texi:12698
  18733. #, no-wrap
  18734. msgid "guix publish @var{options}@dots{}\n"
  18735. msgstr ""
  18736. #. type: Plain text
  18737. #: guix-git/doc/guix.texi:12702
  18738. msgid "Running @command{guix publish} without any additional arguments will spawn an HTTP server on port 8080:"
  18739. msgstr ""
  18740. #. type: example
  18741. #: guix-git/doc/guix.texi:12705
  18742. #, no-wrap
  18743. msgid "guix publish\n"
  18744. msgstr ""
  18745. #. type: Plain text
  18746. #: guix-git/doc/guix.texi:12709
  18747. msgid "Once a publishing server has been authorized, the daemon may download substitutes from it. @xref{Getting Substitutes from Other Servers}."
  18748. msgstr ""
  18749. #. type: Plain text
  18750. #: guix-git/doc/guix.texi:12717
  18751. 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})."
  18752. msgstr ""
  18753. #. type: Plain text
  18754. #: guix-git/doc/guix.texi:12724
  18755. 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}):"
  18756. msgstr ""
  18757. #. type: example
  18758. #: guix-git/doc/guix.texi:12727
  18759. #, no-wrap
  18760. msgid "http://example.org/file/hello-2.10.tar.gz/sha256/0ssi1@dots{}ndq1i\n"
  18761. msgstr ""
  18762. #. type: Plain text
  18763. #: guix-git/doc/guix.texi:12731
  18764. msgid "Obviously, these URLs only work for files that are in the store; in other cases, they return 404 (``Not Found'')."
  18765. msgstr ""
  18766. #. type: cindex
  18767. #: guix-git/doc/guix.texi:12732
  18768. #, no-wrap
  18769. msgid "build logs, publication"
  18770. msgstr ""
  18771. #. type: Plain text
  18772. #: guix-git/doc/guix.texi:12734
  18773. msgid "Build logs are available from @code{/log} URLs like:"
  18774. msgstr ""
  18775. #. type: example
  18776. #: guix-git/doc/guix.texi:12737
  18777. #, no-wrap
  18778. msgid "http://example.org/log/gwspk@dots{}-guile-2.2.3\n"
  18779. msgstr ""
  18780. #. type: Plain text
  18781. #: guix-git/doc/guix.texi:12747
  18782. 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."
  18783. msgstr ""
  18784. #. type: item
  18785. #: guix-git/doc/guix.texi:12751
  18786. #, no-wrap
  18787. msgid "--port=@var{port}"
  18788. msgstr ""
  18789. #. type: itemx
  18790. #: guix-git/doc/guix.texi:12752
  18791. #, no-wrap
  18792. msgid "-p @var{port}"
  18793. msgstr ""
  18794. #. type: table
  18795. #: guix-git/doc/guix.texi:12754
  18796. msgid "Listen for HTTP requests on @var{port}."
  18797. msgstr ""
  18798. #. type: item
  18799. #: guix-git/doc/guix.texi:12755
  18800. #, no-wrap
  18801. msgid "--listen=@var{host}"
  18802. msgstr ""
  18803. #. type: table
  18804. #: guix-git/doc/guix.texi:12758
  18805. msgid "Listen on the network interface for @var{host}. The default is to accept connections from any interface."
  18806. msgstr ""
  18807. #. type: table
  18808. #: guix-git/doc/guix.texi:12763
  18809. 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."
  18810. msgstr ""
  18811. #. type: item
  18812. #: guix-git/doc/guix.texi:12764
  18813. #, no-wrap
  18814. msgid "--compression[=@var{method}[:@var{level}]]"
  18815. msgstr ""
  18816. #. type: itemx
  18817. #: guix-git/doc/guix.texi:12765
  18818. #, no-wrap
  18819. msgid "-C [@var{method}[:@var{level}]]"
  18820. msgstr ""
  18821. #. type: table
  18822. #: guix-git/doc/guix.texi:12769
  18823. 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."
  18824. msgstr ""
  18825. #. type: table
  18826. #: guix-git/doc/guix.texi:12773
  18827. 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."
  18828. msgstr ""
  18829. #. type: table
  18830. #: guix-git/doc/guix.texi:12780
  18831. 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."
  18832. msgstr ""
  18833. #. type: table
  18834. #: guix-git/doc/guix.texi:12784
  18835. 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}."
  18836. msgstr ""
  18837. #. type: table
  18838. #: guix-git/doc/guix.texi:12793
  18839. 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."
  18840. msgstr ""
  18841. #. type: table
  18842. #: guix-git/doc/guix.texi:12798
  18843. 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."
  18844. msgstr ""
  18845. #. type: item
  18846. #: guix-git/doc/guix.texi:12799
  18847. #, no-wrap
  18848. msgid "--cache=@var{directory}"
  18849. msgstr ""
  18850. #. type: itemx
  18851. #: guix-git/doc/guix.texi:12800
  18852. #, no-wrap
  18853. msgid "-c @var{directory}"
  18854. msgstr ""
  18855. #. type: table
  18856. #: guix-git/doc/guix.texi:12803
  18857. msgid "Cache archives and meta-data (@code{.narinfo} URLs) to @var{directory} and only serve archives that are in cache."
  18858. msgstr ""
  18859. #. type: table
  18860. #: guix-git/doc/guix.texi:12811
  18861. 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."
  18862. msgstr ""
  18863. #. type: table
  18864. #: guix-git/doc/guix.texi:12819
  18865. 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."
  18866. msgstr ""
  18867. #. type: table
  18868. #: guix-git/doc/guix.texi:12826
  18869. 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."
  18870. msgstr ""
  18871. #. type: table
  18872. #: guix-git/doc/guix.texi:12830
  18873. 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."
  18874. msgstr ""
  18875. #. type: table
  18876. #: guix-git/doc/guix.texi:12833
  18877. msgid "When @option{--ttl} is used, cached entries are automatically deleted when they have expired."
  18878. msgstr ""
  18879. #. type: item
  18880. #: guix-git/doc/guix.texi:12834
  18881. #, no-wrap
  18882. msgid "--workers=@var{N}"
  18883. msgstr ""
  18884. #. type: table
  18885. #: guix-git/doc/guix.texi:12837
  18886. msgid "When @option{--cache} is used, request the allocation of @var{N} worker threads to ``bake'' archives."
  18887. msgstr ""
  18888. #. type: item
  18889. #: guix-git/doc/guix.texi:12838
  18890. #, no-wrap
  18891. msgid "--ttl=@var{ttl}"
  18892. msgstr ""
  18893. #. type: table
  18894. #: guix-git/doc/guix.texi:12842
  18895. 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."
  18896. msgstr ""
  18897. #. type: table
  18898. #: guix-git/doc/guix.texi:12847
  18899. 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}."
  18900. msgstr ""
  18901. #. type: table
  18902. #: guix-git/doc/guix.texi:12851
  18903. 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."
  18904. msgstr ""
  18905. #. type: item
  18906. #: guix-git/doc/guix.texi:12852
  18907. #, no-wrap
  18908. msgid "--negative-ttl=@var{ttl}"
  18909. msgstr ""
  18910. #. type: table
  18911. #: guix-git/doc/guix.texi:12857
  18912. msgid "Similarly produce @code{Cache-Control} HTTP headers to advertise the time-to-live (TTL) of @emph{negative} lookups---missing store items, for which the HTTP 404 code is returned. By default, no negative TTL is advertised."
  18913. msgstr ""
  18914. #. type: table
  18915. #: guix-git/doc/guix.texi:12861
  18916. msgid "This parameter can help adjust server load and substitute latency by instructing cooperating clients to be more or less patient when a store item is missing."
  18917. msgstr ""
  18918. #. type: item
  18919. #: guix-git/doc/guix.texi:12862
  18920. #, no-wrap
  18921. msgid "--cache-bypass-threshold=@var{size}"
  18922. msgstr ""
  18923. #. type: table
  18924. #: guix-git/doc/guix.texi:12867
  18925. 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}."
  18926. msgstr ""
  18927. #. type: table
  18928. #: guix-git/doc/guix.texi:12872
  18929. 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."
  18930. msgstr ""
  18931. #. type: table
  18932. #: guix-git/doc/guix.texi:12876
  18933. 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."
  18934. msgstr ""
  18935. #. type: item
  18936. #: guix-git/doc/guix.texi:12877
  18937. #, no-wrap
  18938. msgid "--nar-path=@var{path}"
  18939. msgstr ""
  18940. #. type: table
  18941. #: guix-git/doc/guix.texi:12880
  18942. msgid "Use @var{path} as the prefix for the URLs of ``nar'' files (@pxref{Invoking guix archive, normalized archives})."
  18943. msgstr ""
  18944. #. type: table
  18945. #: guix-git/doc/guix.texi:12884
  18946. 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}."
  18947. msgstr ""
  18948. #. type: item
  18949. #: guix-git/doc/guix.texi:12885
  18950. #, no-wrap
  18951. msgid "--public-key=@var{file}"
  18952. msgstr ""
  18953. #. type: itemx
  18954. #: guix-git/doc/guix.texi:12886
  18955. #, no-wrap
  18956. msgid "--private-key=@var{file}"
  18957. msgstr ""
  18958. #. type: table
  18959. #: guix-git/doc/guix.texi:12889 guix-git/doc/guix.texi:27974
  18960. #: guix-git/doc/guix.texi:28011
  18961. msgid "Use the specific @var{file}s as the public/private key pair used to sign the store items being published."
  18962. msgstr ""
  18963. #. type: table
  18964. #: guix-git/doc/guix.texi:12896
  18965. 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."
  18966. msgstr ""
  18967. #. type: item
  18968. #: guix-git/doc/guix.texi:12897
  18969. #, no-wrap
  18970. msgid "--repl[=@var{port}]"
  18971. msgstr ""
  18972. #. type: itemx
  18973. #: guix-git/doc/guix.texi:12898
  18974. #, no-wrap
  18975. msgid "-r [@var{port}]"
  18976. msgstr ""
  18977. #. type: table
  18978. #: guix-git/doc/guix.texi:12902
  18979. 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."
  18980. msgstr ""
  18981. #. type: Plain text
  18982. #: guix-git/doc/guix.texi:12908
  18983. 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}})."
  18984. msgstr ""
  18985. #. type: Plain text
  18986. #: guix-git/doc/guix.texi:12911
  18987. msgid "If you are instead running Guix on a ``foreign distro'', follow these instructions:"
  18988. msgstr ""
  18989. #. type: itemize
  18990. #: guix-git/doc/guix.texi:12915
  18991. msgid "If your host distro uses the systemd init system:"
  18992. msgstr ""
  18993. #. type: example
  18994. #: guix-git/doc/guix.texi:12920
  18995. #, no-wrap
  18996. msgid ""
  18997. "# ln -s ~root/.guix-profile/lib/systemd/system/guix-publish.service \\\n"
  18998. " /etc/systemd/system/\n"
  18999. "# systemctl start guix-publish && systemctl enable guix-publish\n"
  19000. msgstr ""
  19001. #. type: example
  19002. #: guix-git/doc/guix.texi:12928
  19003. #, no-wrap
  19004. msgid ""
  19005. "# ln -s ~root/.guix-profile/lib/upstart/system/guix-publish.conf /etc/init/\n"
  19006. "# start guix-publish\n"
  19007. msgstr ""
  19008. #. type: itemize
  19009. #: guix-git/doc/guix.texi:12932
  19010. msgid "Otherwise, proceed similarly with your distro's init system."
  19011. msgstr ""
  19012. #. type: section
  19013. #: guix-git/doc/guix.texi:12935
  19014. #, no-wrap
  19015. msgid "Invoking @command{guix challenge}"
  19016. msgstr ""
  19017. #. type: cindex
  19018. #: guix-git/doc/guix.texi:12938
  19019. #, no-wrap
  19020. msgid "verifiable builds"
  19021. msgstr ""
  19022. #. type: command{#1}
  19023. #: guix-git/doc/guix.texi:12939
  19024. #, no-wrap
  19025. msgid "guix challenge"
  19026. msgstr ""
  19027. #. type: cindex
  19028. #: guix-git/doc/guix.texi:12940
  19029. #, no-wrap
  19030. msgid "challenge"
  19031. msgstr ""
  19032. #. type: Plain text
  19033. #: guix-git/doc/guix.texi:12945
  19034. 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."
  19035. msgstr ""
  19036. #. type: Plain text
  19037. #: guix-git/doc/guix.texi:12953
  19038. 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."
  19039. msgstr ""
  19040. #. type: Plain text
  19041. #: guix-git/doc/guix.texi:12962
  19042. 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."
  19043. msgstr ""
  19044. #. type: Plain text
  19045. #: guix-git/doc/guix.texi:12964
  19046. msgid "The command output looks like this:"
  19047. msgstr ""
  19048. #. type: smallexample
  19049. #: guix-git/doc/guix.texi:12976
  19050. #, no-wrap
  19051. msgid ""
  19052. "$ guix challenge --substitute-urls=\"https://@value{SUBSTITUTE-SERVER-1} https://guix.example.org\"\n"
  19053. "updating list of substitutes from 'https://@value{SUBSTITUTE-SERVER-1}'... 100.0%\n"
  19054. "updating list of substitutes from 'https://guix.example.org'... 100.0%\n"
  19055. "/gnu/store/@dots{}-openssl-1.0.2d contents differ:\n"
  19056. " local hash: 0725l22r5jnzazaacncwsvp9kgf42266ayyp814v7djxs7nk963q\n"
  19057. " https://@value{SUBSTITUTE-SERVER-1}/nar/@dots{}-openssl-1.0.2d: 0725l22r5jnzazaacncwsvp9kgf42266ayyp814v7djxs7nk963q\n"
  19058. " https://guix.example.org/nar/@dots{}-openssl-1.0.2d: 1zy4fmaaqcnjrzzajkdn3f5gmjk754b43qkq47llbyak9z0qjyim\n"
  19059. " differing files:\n"
  19060. " /lib/libcrypto.so.1.1\n"
  19061. " /lib/libssl.so.1.1\n"
  19062. "\n"
  19063. msgstr ""
  19064. #. type: smallexample
  19065. #: guix-git/doc/guix.texi:12983
  19066. #, no-wrap
  19067. msgid ""
  19068. "/gnu/store/@dots{}-git-2.5.0 contents differ:\n"
  19069. " local hash: 00p3bmryhjxrhpn2gxs2fy0a15lnip05l97205pgbk5ra395hyha\n"
  19070. " https://@value{SUBSTITUTE-SERVER-1}/nar/@dots{}-git-2.5.0: 069nb85bv4d4a6slrwjdy8v1cn4cwspm3kdbmyb81d6zckj3nq9f\n"
  19071. " https://guix.example.org/nar/@dots{}-git-2.5.0: 0mdqa9w1p6cmli6976v4wi0sw9r4p5prkj7lzfd1877wk11c9c73\n"
  19072. " differing file:\n"
  19073. " /libexec/git-core/git-fsck\n"
  19074. "\n"
  19075. msgstr ""
  19076. #. type: smallexample
  19077. #: guix-git/doc/guix.texi:12990
  19078. #, no-wrap
  19079. msgid ""
  19080. "/gnu/store/@dots{}-pius-2.1.1 contents differ:\n"
  19081. " local hash: 0k4v3m9z1zp8xzzizb7d8kjj72f9172xv078sq4wl73vnq9ig3ax\n"
  19082. " https://@value{SUBSTITUTE-SERVER-1}/nar/@dots{}-pius-2.1.1: 0k4v3m9z1zp8xzzizb7d8kjj72f9172xv078sq4wl73vnq9ig3ax\n"
  19083. " https://guix.example.org/nar/@dots{}-pius-2.1.1: 1cy25x1a4fzq5rk0pmvc8xhwyffnqz95h2bpvqsz2mpvlbccy0gs\n"
  19084. " differing file:\n"
  19085. " /share/man/man1/pius.1.gz\n"
  19086. "\n"
  19087. msgstr ""
  19088. #. type: smallexample
  19089. #: guix-git/doc/guix.texi:12992
  19090. #, no-wrap
  19091. msgid ""
  19092. "@dots{}\n"
  19093. "\n"
  19094. msgstr ""
  19095. #. type: smallexample
  19096. #: guix-git/doc/guix.texi:12997
  19097. #, no-wrap
  19098. msgid ""
  19099. "6,406 store items were analyzed:\n"
  19100. " - 4,749 (74.1%) were identical\n"
  19101. " - 525 (8.2%) differed\n"
  19102. " - 1,132 (17.7%) were inconclusive\n"
  19103. msgstr ""
  19104. #. type: Plain text
  19105. #: guix-git/doc/guix.texi:13005
  19106. 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."
  19107. msgstr ""
  19108. #. type: cindex
  19109. #: guix-git/doc/guix.texi:13006
  19110. #, no-wrap
  19111. msgid "non-determinism, in package builds"
  19112. msgstr ""
  19113. #. type: Plain text
  19114. #: guix-git/doc/guix.texi:13017
  19115. msgid "As an example, @code{guix.example.org} always gets a different answer. Conversely, @code{@value{SUBSTITUTE-SERVER-1}} agrees with local builds, except in the case of Git. This might indicate that the build process of Git is non-deterministic, meaning that its output varies as a function of various things that Guix does not fully control, in spite of building packages in isolated environments (@pxref{Features}). Most common sources of non-determinism include the addition of timestamps in build results, the inclusion of random numbers, and directory listings sorted by inode number. See @uref{https://reproducible-builds.org/docs/}, for more information."
  19116. msgstr ""
  19117. #. type: Plain text
  19118. #: guix-git/doc/guix.texi:13020
  19119. msgid "To find out what is wrong with this Git binary, the easiest approach is to run:"
  19120. msgstr ""
  19121. #. type: example
  19122. #: guix-git/doc/guix.texi:13025
  19123. #, no-wrap
  19124. msgid ""
  19125. "guix challenge git \\\n"
  19126. " --diff=diffoscope \\\n"
  19127. " --substitute-urls=\"https://@value{SUBSTITUTE-SERVER-1} https://guix.example.org\"\n"
  19128. msgstr ""
  19129. #. type: Plain text
  19130. #: guix-git/doc/guix.texi:13029
  19131. msgid "This automatically invokes @command{diffoscope}, which displays detailed information about files that differ."
  19132. msgstr ""
  19133. #. type: Plain text
  19134. #: guix-git/doc/guix.texi:13032
  19135. msgid "Alternatively, we can do something along these lines (@pxref{Invoking guix archive}):"
  19136. msgstr ""
  19137. #. type: example
  19138. #: guix-git/doc/guix.texi:13037
  19139. #, no-wrap
  19140. msgid ""
  19141. "$ wget -q -O - https://@value{SUBSTITUTE-SERVER-1}/nar/lzip/@dots{}-git-2.5.0 \\\n"
  19142. " | lzip -d | guix archive -x /tmp/git\n"
  19143. "$ diff -ur --no-dereference /gnu/store/@dots{}-git.2.5.0 /tmp/git\n"
  19144. msgstr ""
  19145. #. type: Plain text
  19146. #: guix-git/doc/guix.texi:13046
  19147. msgid "This command shows the difference between the files resulting from the local build, and the files resulting from the build on @code{@value{SUBSTITUTE-SERVER-1}} (@pxref{Overview, Comparing and Merging Files,, diffutils, Comparing and Merging Files}). The @command{diff} command works great for text files. When binary files differ, a better option is @uref{https://diffoscope.org/, Diffoscope}, a tool that helps visualize differences for all kinds of files."
  19148. msgstr ""
  19149. #. type: Plain text
  19150. #: guix-git/doc/guix.texi:13054
  19151. 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."
  19152. msgstr ""
  19153. #. type: Plain text
  19154. #: guix-git/doc/guix.texi:13058
  19155. msgid "If you are writing packages for Guix, you are encouraged to check whether @code{@value{SUBSTITUTE-SERVER-1}} and other substitute servers obtain the same build result as you did with:"
  19156. msgstr ""
  19157. #. type: example
  19158. #: guix-git/doc/guix.texi:13061
  19159. #, no-wrap
  19160. msgid "$ guix challenge @var{package}\n"
  19161. msgstr ""
  19162. #. type: Plain text
  19163. #: guix-git/doc/guix.texi:13066
  19164. msgid "where @var{package} is a package specification such as @code{guile@@2.0} or @code{glibc:debug}."
  19165. msgstr ""
  19166. #. type: example
  19167. #: guix-git/doc/guix.texi:13071
  19168. #, no-wrap
  19169. msgid "guix challenge @var{options} [@var{packages}@dots{}]\n"
  19170. msgstr ""
  19171. #. type: Plain text
  19172. #: guix-git/doc/guix.texi:13078
  19173. 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)."
  19174. msgstr ""
  19175. #. type: Plain text
  19176. #: guix-git/doc/guix.texi:13080
  19177. msgid "The one option that matters is:"
  19178. msgstr ""
  19179. #. type: table
  19180. #: guix-git/doc/guix.texi:13086
  19181. msgid "Consider @var{urls} the whitespace-separated list of substitute source URLs to compare to."
  19182. msgstr ""
  19183. #. type: item
  19184. #: guix-git/doc/guix.texi:13087
  19185. #, no-wrap
  19186. msgid "--diff=@var{mode}"
  19187. msgstr ""
  19188. #. type: table
  19189. #: guix-git/doc/guix.texi:13089
  19190. msgid "Upon mismatches, show differences according to @var{mode}, one of:"
  19191. msgstr ""
  19192. #. type: item
  19193. #: guix-git/doc/guix.texi:13091
  19194. #, no-wrap
  19195. msgid "@code{simple} (the default)"
  19196. msgstr ""
  19197. #. type: table
  19198. #: guix-git/doc/guix.texi:13093
  19199. msgid "Show the list of files that differ."
  19200. msgstr ""
  19201. #. type: code{#1}
  19202. #: guix-git/doc/guix.texi:13094
  19203. #, no-wrap
  19204. msgid "diffoscope"
  19205. msgstr ""
  19206. #. type: var{#1}
  19207. #: guix-git/doc/guix.texi:13095
  19208. #, no-wrap
  19209. msgid "command"
  19210. msgstr ""
  19211. #. type: table
  19212. #: guix-git/doc/guix.texi:13098
  19213. msgid "Invoke @uref{https://diffoscope.org/, Diffoscope}, passing it two directories whose contents do not match."
  19214. msgstr ""
  19215. #. type: table
  19216. #: guix-git/doc/guix.texi:13101
  19217. msgid "When @var{command} is an absolute file name, run @var{command} instead of Diffoscope."
  19218. msgstr ""
  19219. #. type: item
  19220. #: guix-git/doc/guix.texi:13102 guix-git/doc/guix.texi:16437
  19221. #: guix-git/doc/guix.texi:18529
  19222. #, no-wrap
  19223. msgid "none"
  19224. msgstr ""
  19225. #. type: table
  19226. #: guix-git/doc/guix.texi:13104
  19227. msgid "Do not show further details about the differences."
  19228. msgstr ""
  19229. #. type: table
  19230. #: guix-git/doc/guix.texi:13109
  19231. 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."
  19232. msgstr ""
  19233. #. type: item
  19234. #: guix-git/doc/guix.texi:13110
  19235. #, no-wrap
  19236. msgid "--verbose"
  19237. msgstr ""
  19238. #. type: itemx
  19239. #: guix-git/doc/guix.texi:13111
  19240. #, no-wrap
  19241. msgid "-v"
  19242. msgstr ""
  19243. #. type: table
  19244. #: guix-git/doc/guix.texi:13114
  19245. msgid "Show details about matches (identical contents) in addition to information about mismatches."
  19246. msgstr ""
  19247. #. type: section
  19248. #: guix-git/doc/guix.texi:13118
  19249. #, no-wrap
  19250. msgid "Invoking @command{guix copy}"
  19251. msgstr ""
  19252. #. type: cindex
  19253. #: guix-git/doc/guix.texi:13120
  19254. #, no-wrap
  19255. msgid "copy, of store items, over SSH"
  19256. msgstr ""
  19257. #. type: cindex
  19258. #: guix-git/doc/guix.texi:13121
  19259. #, no-wrap
  19260. msgid "SSH, copy of store items"
  19261. msgstr ""
  19262. #. type: cindex
  19263. #: guix-git/doc/guix.texi:13122
  19264. #, no-wrap
  19265. msgid "sharing store items across machines"
  19266. msgstr ""
  19267. #. type: cindex
  19268. #: guix-git/doc/guix.texi:13123
  19269. #, no-wrap
  19270. msgid "transferring store items across machines"
  19271. msgstr ""
  19272. #. type: Plain text
  19273. #: guix-git/doc/guix.texi:13130
  19274. 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}:"
  19275. msgstr ""
  19276. #. type: example
  19277. #: guix-git/doc/guix.texi:13134
  19278. #, no-wrap
  19279. msgid ""
  19280. "guix copy --to=@var{user}@@@var{host} \\\n"
  19281. " coreutils $(readlink -f ~/.guix-profile)\n"
  19282. msgstr ""
  19283. #. type: Plain text
  19284. #: guix-git/doc/guix.texi:13138
  19285. msgid "If some of the items to be copied are already present on @var{host}, they are not actually sent."
  19286. msgstr ""
  19287. #. type: Plain text
  19288. #: guix-git/doc/guix.texi:13141
  19289. msgid "The command below retrieves @code{libreoffice} and @code{gimp} from @var{host}, assuming they are available there:"
  19290. msgstr ""
  19291. #. type: example
  19292. #: guix-git/doc/guix.texi:13144
  19293. #, no-wrap
  19294. msgid "guix copy --from=@var{host} libreoffice gimp\n"
  19295. msgstr ""
  19296. #. type: Plain text
  19297. #: guix-git/doc/guix.texi:13149
  19298. 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."
  19299. msgstr ""
  19300. #. type: Plain text
  19301. #: guix-git/doc/guix.texi:13155
  19302. 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."
  19303. msgstr ""
  19304. #. type: example
  19305. #: guix-git/doc/guix.texi:13160
  19306. #, no-wrap
  19307. msgid "guix copy [--to=@var{spec}|--from=@var{spec}] @var{items}@dots{}\n"
  19308. msgstr ""
  19309. #. type: Plain text
  19310. #: guix-git/doc/guix.texi:13163
  19311. msgid "You must always specify one of the following options:"
  19312. msgstr ""
  19313. #. type: item
  19314. #: guix-git/doc/guix.texi:13165
  19315. #, no-wrap
  19316. msgid "--to=@var{spec}"
  19317. msgstr ""
  19318. #. type: itemx
  19319. #: guix-git/doc/guix.texi:13166
  19320. #, no-wrap
  19321. msgid "--from=@var{spec}"
  19322. msgstr ""
  19323. #. type: table
  19324. #: guix-git/doc/guix.texi:13170
  19325. 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}."
  19326. msgstr ""
  19327. #. type: Plain text
  19328. #: guix-git/doc/guix.texi:13174
  19329. 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}."
  19330. msgstr ""
  19331. #. type: Plain text
  19332. #: guix-git/doc/guix.texi:13178
  19333. 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})."
  19334. msgstr ""
  19335. #. type: section
  19336. #: guix-git/doc/guix.texi:13181
  19337. #, no-wrap
  19338. msgid "Invoking @command{guix container}"
  19339. msgstr ""
  19340. #. type: command{#1}
  19341. #: guix-git/doc/guix.texi:13183
  19342. #, no-wrap
  19343. msgid "guix container"
  19344. msgstr ""
  19345. #. type: quotation
  19346. #: guix-git/doc/guix.texi:13187
  19347. msgid "As of version @value{VERSION}, this tool is experimental. The interface is subject to radical change in the future."
  19348. msgstr ""
  19349. #. type: Plain text
  19350. #: guix-git/doc/guix.texi:13194
  19351. 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."
  19352. msgstr ""
  19353. #. type: example
  19354. #: guix-git/doc/guix.texi:13199
  19355. #, no-wrap
  19356. msgid "guix container @var{action} @var{options}@dots{}\n"
  19357. msgstr ""
  19358. #. type: Plain text
  19359. #: guix-git/doc/guix.texi:13203
  19360. msgid "@var{action} specifies the operation to perform with a container, and @var{options} specifies the context-specific arguments for the action."
  19361. msgstr ""
  19362. #. type: Plain text
  19363. #: guix-git/doc/guix.texi:13205
  19364. msgid "The following actions are available:"
  19365. msgstr ""
  19366. #. type: item
  19367. #: guix-git/doc/guix.texi:13207
  19368. #, no-wrap
  19369. msgid "exec"
  19370. msgstr ""
  19371. #. type: table
  19372. #: guix-git/doc/guix.texi:13209
  19373. msgid "Execute a command within the context of a running container."
  19374. msgstr ""
  19375. #. type: table
  19376. #: guix-git/doc/guix.texi:13211
  19377. msgid "The syntax is:"
  19378. msgstr ""
  19379. #. type: example
  19380. #: guix-git/doc/guix.texi:13214
  19381. #, no-wrap
  19382. msgid "guix container exec @var{pid} @var{program} @var{arguments}@dots{}\n"
  19383. msgstr ""
  19384. #. type: table
  19385. #: guix-git/doc/guix.texi:13220
  19386. 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}."
  19387. msgstr ""
  19388. #. type: table
  19389. #: guix-git/doc/guix.texi:13224
  19390. 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:"
  19391. msgstr ""
  19392. #. type: example
  19393. #: guix-git/doc/guix.texi:13227
  19394. #, no-wrap
  19395. msgid "guix container exec 9001 /run/current-system/profile/bin/bash --login\n"
  19396. msgstr ""
  19397. #. type: table
  19398. #: guix-git/doc/guix.texi:13231
  19399. 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."
  19400. msgstr ""
  19401. #. type: section
  19402. #: guix-git/doc/guix.texi:13235
  19403. #, no-wrap
  19404. msgid "Invoking @command{guix weather}"
  19405. msgstr ""
  19406. #. type: Plain text
  19407. #: guix-git/doc/guix.texi:13244
  19408. 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})."
  19409. msgstr ""
  19410. #. type: cindex
  19411. #: guix-git/doc/guix.texi:13245
  19412. #, no-wrap
  19413. msgid "statistics, for substitutes"
  19414. msgstr ""
  19415. #. type: cindex
  19416. #: guix-git/doc/guix.texi:13246
  19417. #, no-wrap
  19418. msgid "availability of substitutes"
  19419. msgstr ""
  19420. #. type: cindex
  19421. #: guix-git/doc/guix.texi:13247
  19422. #, no-wrap
  19423. msgid "substitute availability"
  19424. msgstr ""
  19425. #. type: cindex
  19426. #: guix-git/doc/guix.texi:13248
  19427. #, no-wrap
  19428. msgid "weather, substitute availability"
  19429. msgstr ""
  19430. #. type: Plain text
  19431. #: guix-git/doc/guix.texi:13250
  19432. msgid "Here's a sample run:"
  19433. msgstr ""
  19434. #. type: example
  19435. #: guix-git/doc/guix.texi:13262
  19436. #, no-wrap
  19437. msgid ""
  19438. "$ guix weather --substitute-urls=https://guix.example.org\n"
  19439. "computing 5,872 package derivations for x86_64-linux...\n"
  19440. "looking for 6,128 store items on https://guix.example.org..\n"
  19441. "updating list of substitutes from 'https://guix.example.org'... 100.0%\n"
  19442. "https://guix.example.org\n"
  19443. " 43.4% substitutes available (2,658 out of 6,128)\n"
  19444. " 7,032.5 MiB of nars (compressed)\n"
  19445. " 19,824.2 MiB on disk (uncompressed)\n"
  19446. " 0.030 seconds per request (182.9 seconds in total)\n"
  19447. " 33.5 requests per second\n"
  19448. "\n"
  19449. msgstr ""
  19450. #. type: example
  19451. #: guix-git/doc/guix.texi:13272
  19452. #, no-wrap
  19453. msgid ""
  19454. " 9.8% (342 out of 3,470) of the missing items are queued\n"
  19455. " 867 queued builds\n"
  19456. " x86_64-linux: 518 (59.7%)\n"
  19457. " i686-linux: 221 (25.5%)\n"
  19458. " aarch64-linux: 128 (14.8%)\n"
  19459. " build rate: 23.41 builds per hour\n"
  19460. " x86_64-linux: 11.16 builds per hour\n"
  19461. " i686-linux: 6.03 builds per hour\n"
  19462. " aarch64-linux: 6.41 builds per hour\n"
  19463. msgstr ""
  19464. #. type: cindex
  19465. #: guix-git/doc/guix.texi:13274
  19466. #, no-wrap
  19467. msgid "continuous integration, statistics"
  19468. msgstr ""
  19469. #. type: Plain text
  19470. #: guix-git/doc/guix.texi:13285
  19471. 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)."
  19472. msgstr ""
  19473. #. type: Plain text
  19474. #: guix-git/doc/guix.texi:13291
  19475. 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."
  19476. msgstr ""
  19477. #. type: example
  19478. #: guix-git/doc/guix.texi:13296
  19479. #, no-wrap
  19480. msgid "guix weather @var{options}@dots{} [@var{packages}@dots{}]\n"
  19481. msgstr ""
  19482. #. type: Plain text
  19483. #: guix-git/doc/guix.texi:13304
  19484. 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%."
  19485. msgstr ""
  19486. #. type: Plain text
  19487. #: guix-git/doc/guix.texi:13306
  19488. msgid "The available options are listed below."
  19489. msgstr ""
  19490. #. type: table
  19491. #: guix-git/doc/guix.texi:13312
  19492. 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."
  19493. msgstr ""
  19494. #. type: table
  19495. #: guix-git/doc/guix.texi:13318
  19496. 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."
  19497. msgstr ""
  19498. #. type: table
  19499. #: guix-git/doc/guix.texi:13324
  19500. 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})."
  19501. msgstr ""
  19502. #. type: table
  19503. #: guix-git/doc/guix.texi:13327
  19504. msgid "This option can be repeated several times, in which case the manifests are concatenated."
  19505. msgstr ""
  19506. #. type: item
  19507. #: guix-git/doc/guix.texi:13328
  19508. #, no-wrap
  19509. msgid "--coverage[=@var{count}]"
  19510. msgstr ""
  19511. #. type: itemx
  19512. #: guix-git/doc/guix.texi:13329
  19513. #, no-wrap
  19514. msgid "-c [@var{count}]"
  19515. msgstr ""
  19516. #. type: table
  19517. #: guix-git/doc/guix.texi:13335
  19518. 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:"
  19519. msgstr ""
  19520. #. type: example
  19521. #: guix-git/doc/guix.texi:13349
  19522. #, no-wrap
  19523. msgid ""
  19524. "$ guix weather --substitute-urls=@value{SUBSTITUTE-URLS} -c 10\n"
  19525. "computing 8,983 package derivations for x86_64-linux...\n"
  19526. "looking for 9,343 store items on @value{SUBSTITUTE-URLS}...\n"
  19527. "updating substitutes from '@value{SUBSTITUTE-URLS}'... 100.0%\n"
  19528. "@value{SUBSTITUTE-URLS}\n"
  19529. " 64.7% substitutes available (6,047 out of 9,343)\n"
  19530. "@dots{}\n"
  19531. "2502 packages are missing from '@value{SUBSTITUTE-URLS}' for 'x86_64-linux', among which:\n"
  19532. " 58 kcoreaddons@@5.49.0 /gnu/store/@dots{}-kcoreaddons-5.49.0\n"
  19533. " 46 qgpgme@@1.11.1 /gnu/store/@dots{}-qgpgme-1.11.1\n"
  19534. " 37 perl-http-cookiejar@@0.008 /gnu/store/@dots{}-perl-http-cookiejar-0.008\n"
  19535. " @dots{}\n"
  19536. msgstr ""
  19537. #. type: table
  19538. #: guix-git/doc/guix.texi:13355
  19539. msgid "What this example shows is that @code{kcoreaddons} and presumably the 58 packages that depend on it have no substitutes at @code{@value{SUBSTITUTE-SERVER-1}}; likewise for @code{qgpgme} and the 46 packages that depend on it."
  19540. msgstr ""
  19541. #. type: table
  19542. #: guix-git/doc/guix.texi:13359
  19543. 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."
  19544. msgstr ""
  19545. #. type: item
  19546. #: guix-git/doc/guix.texi:13360
  19547. #, no-wrap
  19548. msgid "--display-missing"
  19549. msgstr ""
  19550. #. type: table
  19551. #: guix-git/doc/guix.texi:13362
  19552. msgid "Display the list of store items for which substitutes are missing."
  19553. msgstr ""
  19554. #. type: section
  19555. #: guix-git/doc/guix.texi:13365
  19556. #, no-wrap
  19557. msgid "Invoking @command{guix processes}"
  19558. msgstr ""
  19559. #. type: Plain text
  19560. #: guix-git/doc/guix.texi:13373
  19561. 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:"
  19562. msgstr ""
  19563. #. type: example
  19564. #: guix-git/doc/guix.texi:13379
  19565. #, no-wrap
  19566. msgid ""
  19567. "$ sudo guix processes\n"
  19568. "SessionPID: 19002\n"
  19569. "ClientPID: 19090\n"
  19570. "ClientCommand: guix environment --ad-hoc python\n"
  19571. "\n"
  19572. msgstr ""
  19573. #. type: example
  19574. #: guix-git/doc/guix.texi:13383
  19575. #, no-wrap
  19576. msgid ""
  19577. "SessionPID: 19402\n"
  19578. "ClientPID: 19367\n"
  19579. "ClientCommand: guix publish -u guix-publish -p 3000 -C 9 @dots{}\n"
  19580. "\n"
  19581. msgstr ""
  19582. #. type: example
  19583. #: guix-git/doc/guix.texi:13396
  19584. #, no-wrap
  19585. msgid ""
  19586. "SessionPID: 19444\n"
  19587. "ClientPID: 19419\n"
  19588. "ClientCommand: cuirass --cache-directory /var/cache/cuirass @dots{}\n"
  19589. "LockHeld: /gnu/store/@dots{}-perl-ipc-cmd-0.96.lock\n"
  19590. "LockHeld: /gnu/store/@dots{}-python-six-bootstrap-1.11.0.lock\n"
  19591. "LockHeld: /gnu/store/@dots{}-libjpeg-turbo-2.0.0.lock\n"
  19592. "ChildPID: 20495\n"
  19593. "ChildCommand: guix offload x86_64-linux 7200 1 28800\n"
  19594. "ChildPID: 27733\n"
  19595. "ChildCommand: guix offload x86_64-linux 7200 1 28800\n"
  19596. "ChildPID: 27793\n"
  19597. "ChildCommand: guix offload x86_64-linux 7200 1 28800\n"
  19598. msgstr ""
  19599. #. type: Plain text
  19600. #: guix-git/doc/guix.texi:13403
  19601. 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."
  19602. msgstr ""
  19603. #. type: Plain text
  19604. #: guix-git/doc/guix.texi:13410
  19605. 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})."
  19606. msgstr ""
  19607. #. type: Plain text
  19608. #: guix-git/doc/guix.texi:13415
  19609. 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:"
  19610. msgstr ""
  19611. #. type: example
  19612. #: guix-git/doc/guix.texi:13421
  19613. #, no-wrap
  19614. msgid ""
  19615. "$ sudo guix processes | \\\n"
  19616. " recsel -p ClientPID,ClientCommand -e 'LockHeld ~ \"perl\"'\n"
  19617. "ClientPID: 19419\n"
  19618. "ClientCommand: cuirass --cache-directory /var/cache/cuirass @dots{}\n"
  19619. msgstr ""
  19620. #. type: Plain text
  19621. #: guix-git/doc/guix.texi:13424
  19622. msgid "Additional options are listed below."
  19623. msgstr ""
  19624. #. type: table
  19625. #: guix-git/doc/guix.texi:13434
  19626. msgid "The default option. It outputs a set of Session recutils records that include each @code{ChildProcess} as a field."
  19627. msgstr ""
  19628. #. type: item
  19629. #: guix-git/doc/guix.texi:13435
  19630. #, no-wrap
  19631. msgid "normalized"
  19632. msgstr ""
  19633. #. type: table
  19634. #: guix-git/doc/guix.texi:13442
  19635. 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}."
  19636. msgstr ""
  19637. #. type: example
  19638. #: guix-git/doc/guix.texi:13452
  19639. #, no-wrap
  19640. msgid ""
  19641. "$ guix processes --format=normalized | \\\n"
  19642. " recsel \\\n"
  19643. " -j Session \\\n"
  19644. " -t ChildProcess \\\n"
  19645. " -p Session.PID,PID \\\n"
  19646. " -e 'Session.ClientCommand ~ \"guix build\"'\n"
  19647. "PID: 4435\n"
  19648. "Session_PID: 4278\n"
  19649. "\n"
  19650. msgstr ""
  19651. #. type: example
  19652. #: guix-git/doc/guix.texi:13455
  19653. #, no-wrap
  19654. msgid ""
  19655. "PID: 4554\n"
  19656. "Session_PID: 4278\n"
  19657. "\n"
  19658. msgstr ""
  19659. #. type: example
  19660. #: guix-git/doc/guix.texi:13458
  19661. #, no-wrap
  19662. msgid ""
  19663. "PID: 4646\n"
  19664. "Session_PID: 4278\n"
  19665. msgstr ""
  19666. #. type: cindex
  19667. #: guix-git/doc/guix.texi:13465
  19668. #, no-wrap
  19669. msgid "system configuration"
  19670. msgstr ""
  19671. #. type: Plain text
  19672. #: guix-git/doc/guix.texi:13471
  19673. 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."
  19674. msgstr ""
  19675. #. type: Plain text
  19676. #: guix-git/doc/guix.texi:13481
  19677. 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."
  19678. msgstr ""
  19679. #. type: Plain text
  19680. #: guix-git/doc/guix.texi:13486
  19681. 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."
  19682. msgstr ""
  19683. #. type: Plain text
  19684. #: guix-git/doc/guix.texi:13515
  19685. 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:"
  19686. msgstr ""
  19687. #. type: code{#1}
  19688. #: guix-git/doc/guix.texi:13516 guix-git/doc/guix.texi:34145
  19689. #, no-wrap
  19690. msgid "operating-system"
  19691. msgstr ""
  19692. #. type: include
  19693. #: guix-git/doc/guix.texi:13518
  19694. #, no-wrap
  19695. msgid "os-config-bare-bones.texi"
  19696. msgstr ""
  19697. #. type: Plain text
  19698. #: guix-git/doc/guix.texi:13525
  19699. 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."
  19700. msgstr ""
  19701. #. type: Plain text
  19702. #: guix-git/doc/guix.texi:13530
  19703. 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}."
  19704. msgstr ""
  19705. #. type: unnumberedsubsec
  19706. #: guix-git/doc/guix.texi:13531
  19707. #, no-wrap
  19708. msgid "Bootloader"
  19709. msgstr ""
  19710. #. type: cindex
  19711. #: guix-git/doc/guix.texi:13533
  19712. #, no-wrap
  19713. msgid "legacy boot, on Intel machines"
  19714. msgstr ""
  19715. #. type: cindex
  19716. #: guix-git/doc/guix.texi:13534
  19717. #, no-wrap
  19718. msgid "BIOS boot, on Intel machines"
  19719. msgstr ""
  19720. #. type: cindex
  19721. #: guix-git/doc/guix.texi:13535
  19722. #, no-wrap
  19723. msgid "UEFI boot"
  19724. msgstr ""
  19725. #. type: cindex
  19726. #: guix-git/doc/guix.texi:13536
  19727. #, no-wrap
  19728. msgid "EFI boot"
  19729. msgstr ""
  19730. #. type: Plain text
  19731. #: guix-git/doc/guix.texi:13542
  19732. 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:"
  19733. msgstr ""
  19734. #. type: lisp
  19735. #: guix-git/doc/guix.texi:13547
  19736. #, no-wrap
  19737. msgid ""
  19738. "(bootloader-configuration\n"
  19739. " (bootloader grub-efi-bootloader)\n"
  19740. " (target \"/boot/efi\"))\n"
  19741. msgstr ""
  19742. #. type: Plain text
  19743. #: guix-git/doc/guix.texi:13551
  19744. msgid "@xref{Bootloader Configuration}, for more information on the available configuration options."
  19745. msgstr ""
  19746. #. type: unnumberedsubsec
  19747. #: guix-git/doc/guix.texi:13552
  19748. #, no-wrap
  19749. msgid "Globally-Visible Packages"
  19750. msgstr ""
  19751. #. type: vindex
  19752. #: guix-git/doc/guix.texi:13554
  19753. #, no-wrap
  19754. msgid "%base-packages"
  19755. msgstr ""
  19756. #. type: Plain text
  19757. #: guix-git/doc/guix.texi:13567
  19758. msgid "The @code{packages} field lists packages that will be globally visible on the system, for all user accounts---i.e., in every user's @env{PATH} environment variable---in addition to the per-user profiles (@pxref{Invoking guix package}). The @code{%base-packages} variable provides all the tools one would expect for basic user and administrator tasks---including the GNU Core Utilities, the GNU Networking Utilities, the @command{mg} lightweight text editor, @command{find}, @command{grep}, etc. The example above adds GNU@tie{}Screen to those, taken from the @code{(gnu packages screen)} module (@pxref{Package Modules}). The @code{(list package output)} syntax can be used to add a specific output of a package:"
  19759. msgstr ""
  19760. #. type: lisp
  19761. #: guix-git/doc/guix.texi:13571
  19762. #, no-wrap
  19763. msgid ""
  19764. "(use-modules (gnu packages))\n"
  19765. "(use-modules (gnu packages dns))\n"
  19766. "\n"
  19767. msgstr ""
  19768. #. type: lisp
  19769. #: guix-git/doc/guix.texi:13576
  19770. #, no-wrap
  19771. msgid ""
  19772. "(operating-system\n"
  19773. " ;; ...\n"
  19774. " (packages (cons (list isc-bind \"utils\")\n"
  19775. " %base-packages)))\n"
  19776. msgstr ""
  19777. #. type: findex
  19778. #: guix-git/doc/guix.texi:13578
  19779. #, no-wrap
  19780. msgid "specification->package"
  19781. msgstr ""
  19782. #. type: Plain text
  19783. #: guix-git/doc/guix.texi:13587
  19784. msgid "Referring to packages by variable name, like @code{isc-bind} above, has the advantage of being unambiguous; it also allows typos and such to be diagnosed right away as ``unbound variables''. The downside is that one needs to know which module defines which package, and to augment the @code{use-package-modules} line accordingly. To avoid that, one can use the @code{specification->package} procedure of the @code{(gnu packages)} module, which returns the best package for a given name or name and version:"
  19785. msgstr ""
  19786. #. type: lisp
  19787. #: guix-git/doc/guix.texi:13590
  19788. #, no-wrap
  19789. msgid ""
  19790. "(use-modules (gnu packages))\n"
  19791. "\n"
  19792. msgstr ""
  19793. #. type: lisp
  19794. #: guix-git/doc/guix.texi:13596
  19795. #, no-wrap
  19796. msgid ""
  19797. "(operating-system\n"
  19798. " ;; ...\n"
  19799. " (packages (append (map specification->package\n"
  19800. " '(\"tcpdump\" \"htop\" \"gnupg@@2.0\"))\n"
  19801. " %base-packages)))\n"
  19802. msgstr ""
  19803. #. type: unnumberedsubsec
  19804. #: guix-git/doc/guix.texi:13598
  19805. #, no-wrap
  19806. msgid "System Services"
  19807. msgstr ""
  19808. #. type: cindex
  19809. #: guix-git/doc/guix.texi:13600 guix-git/doc/guix.texi:32928
  19810. #: guix-git/doc/guix.texi:34374
  19811. #, no-wrap
  19812. msgid "services"
  19813. msgstr ""
  19814. #. type: vindex
  19815. #: guix-git/doc/guix.texi:13601
  19816. #, no-wrap
  19817. msgid "%base-services"
  19818. msgstr ""
  19819. #. type: Plain text
  19820. #: guix-git/doc/guix.texi:13611
  19821. 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})."
  19822. msgstr ""
  19823. #. type: cindex
  19824. #: guix-git/doc/guix.texi:13612
  19825. #, no-wrap
  19826. msgid "customization, of services"
  19827. msgstr ""
  19828. #. type: findex
  19829. #: guix-git/doc/guix.texi:13613
  19830. #, no-wrap
  19831. msgid "modify-services"
  19832. msgstr ""
  19833. #. type: Plain text
  19834. #: guix-git/doc/guix.texi:13617
  19835. 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."
  19836. msgstr ""
  19837. #. type: anchor{#1}
  19838. #: guix-git/doc/guix.texi:13623
  19839. msgid "auto-login to TTY"
  19840. msgstr ""
  19841. #. type: Plain text
  19842. #: guix-git/doc/guix.texi:13623
  19843. 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:"
  19844. msgstr ""
  19845. #. type: lisp
  19846. #: guix-git/doc/guix.texi:13640
  19847. #, no-wrap
  19848. msgid ""
  19849. "(define %my-services\n"
  19850. " ;; My very own list of services.\n"
  19851. " (modify-services %base-services\n"
  19852. " (guix-service-type config =>\n"
  19853. " (guix-configuration\n"
  19854. " (inherit config)\n"
  19855. " ;; Fetch substitutes from example.org.\n"
  19856. " (substitute-urls\n"
  19857. " (list \"https://example.org/guix\"\n"
  19858. " \"https://ci.guix.gnu.org\"))))\n"
  19859. " (mingetty-service-type config =>\n"
  19860. " (mingetty-configuration\n"
  19861. " (inherit config)\n"
  19862. " ;; Automatially log in as \"guest\".\n"
  19863. " (auto-login \"guest\")))))\n"
  19864. "\n"
  19865. msgstr ""
  19866. #. type: lisp
  19867. #: guix-git/doc/guix.texi:13644
  19868. #, no-wrap
  19869. msgid ""
  19870. "(operating-system\n"
  19871. " ;; @dots{}\n"
  19872. " (services %my-services))\n"
  19873. msgstr ""
  19874. #. type: Plain text
  19875. #: guix-git/doc/guix.texi:13657
  19876. msgid "This changes the configuration---i.e., the service parameters---of the @code{guix-service-type} instance, and that of all the @code{mingetty-service-type} instances in the @code{%base-services} list (@pxref{Auto-Login to a Specific TTY, see the cookbook for how to auto-login one user to a specific TTY,, guix-cookbook, GNU Guix Cookbook})). Observe how this is accomplished: first, we arrange for the original configuration to be bound to the identifier @code{config} in the @var{body}, and then we write the @var{body} so that it evaluates to the desired configuration. In particular, notice how we use @code{inherit} to create a new configuration which has the same values as the old configuration, but with a few modifications."
  19877. msgstr ""
  19878. #. type: Plain text
  19879. #: guix-git/doc/guix.texi:13664
  19880. 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:"
  19881. msgstr ""
  19882. #. type: include
  19883. #: guix-git/doc/guix.texi:13666
  19884. #, no-wrap
  19885. msgid "os-config-desktop.texi"
  19886. msgstr ""
  19887. #. type: Plain text
  19888. #: guix-git/doc/guix.texi:13671
  19889. msgid "A graphical system with a choice of lightweight window managers instead of full-blown desktop environments would look like this:"
  19890. msgstr ""
  19891. #. type: include
  19892. #: guix-git/doc/guix.texi:13673
  19893. #, no-wrap
  19894. msgid "os-config-lightweight-desktop.texi"
  19895. msgstr ""
  19896. #. type: Plain text
  19897. #: guix-git/doc/guix.texi:13679
  19898. 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."
  19899. msgstr ""
  19900. #. type: Plain text
  19901. #: guix-git/doc/guix.texi:13683
  19902. 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."
  19903. msgstr ""
  19904. #. type: Plain text
  19905. #: guix-git/doc/guix.texi:13690
  19906. 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:"
  19907. msgstr ""
  19908. #. type: lisp
  19909. #: guix-git/doc/guix.texi:13695
  19910. #, no-wrap
  19911. msgid ""
  19912. "(remove (lambda (service)\n"
  19913. " (eq? (service-kind service) avahi-service-type))\n"
  19914. " %desktop-services)\n"
  19915. msgstr ""
  19916. #. type: Plain text
  19917. #: guix-git/doc/guix.texi:13698
  19918. msgid "Alternatively, the @code{modify-services} macro can be used:"
  19919. msgstr ""
  19920. #. type: lisp
  19921. #: guix-git/doc/guix.texi:13702
  19922. #, no-wrap
  19923. msgid ""
  19924. "(modify-services %desktop-services\n"
  19925. " (delete avahi-service-type))\n"
  19926. msgstr ""
  19927. #. type: unnumberedsubsec
  19928. #: guix-git/doc/guix.texi:13705
  19929. #, no-wrap
  19930. msgid "Instantiating the System"
  19931. msgstr ""
  19932. #. type: Plain text
  19933. #: guix-git/doc/guix.texi:13712
  19934. 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})."
  19935. msgstr ""
  19936. #. type: Plain text
  19937. #: guix-git/doc/guix.texi:13720
  19938. 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."
  19939. msgstr ""
  19940. #. type: cindex
  19941. #: guix-git/doc/guix.texi:13721
  19942. #, no-wrap
  19943. msgid "roll-back, of the operating system"
  19944. msgstr ""
  19945. #. type: Plain text
  19946. #: guix-git/doc/guix.texi:13731
  19947. 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}."
  19948. msgstr ""
  19949. #. type: Plain text
  19950. #: guix-git/doc/guix.texi:13737
  19951. 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})."
  19952. msgstr ""
  19953. #. type: unnumberedsubsec
  19954. #: guix-git/doc/guix.texi:13738
  19955. #, no-wrap
  19956. msgid "The Programming Interface"
  19957. msgstr ""
  19958. #. type: Plain text
  19959. #: guix-git/doc/guix.texi:13743
  19960. msgid "At the Scheme level, the bulk of an @code{operating-system} declaration is instantiated with the following monadic procedure (@pxref{The Store Monad}):"
  19961. msgstr ""
  19962. #. type: deffn
  19963. #: guix-git/doc/guix.texi:13744
  19964. #, no-wrap
  19965. msgid "{Monadic Procedure} operating-system-derivation os"
  19966. msgstr ""
  19967. #. type: deffn
  19968. #: guix-git/doc/guix.texi:13747
  19969. msgid "Return a derivation that builds @var{os}, an @code{operating-system} object (@pxref{Derivations})."
  19970. msgstr ""
  19971. #. type: deffn
  19972. #: guix-git/doc/guix.texi:13751
  19973. 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}."
  19974. msgstr ""
  19975. #. type: Plain text
  19976. #: guix-git/doc/guix.texi:13756
  19977. 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!"
  19978. msgstr ""
  19979. #. type: section
  19980. #: guix-git/doc/guix.texi:13759
  19981. #, no-wrap
  19982. msgid "@code{operating-system} Reference"
  19983. msgstr ""
  19984. #. type: Plain text
  19985. #: guix-git/doc/guix.texi:13764
  19986. msgid "This section summarizes all the options available in @code{operating-system} declarations (@pxref{Using the Configuration System})."
  19987. msgstr ""
  19988. #. type: deftp
  19989. #: guix-git/doc/guix.texi:13765
  19990. #, no-wrap
  19991. msgid "{Data Type} operating-system"
  19992. msgstr ""
  19993. #. type: deftp
  19994. #: guix-git/doc/guix.texi:13769
  19995. 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})."
  19996. msgstr ""
  19997. #. type: item
  19998. #: guix-git/doc/guix.texi:13771
  19999. #, no-wrap
  20000. msgid "@code{kernel} (default: @code{linux-libre})"
  20001. msgstr ""
  20002. #. type: table
  20003. #: guix-git/doc/guix.texi:13776
  20004. 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.}."
  20005. msgstr ""
  20006. #. type: code{#1}
  20007. #: guix-git/doc/guix.texi:13777 guix-git/doc/guix.texi:29519
  20008. #, no-wrap
  20009. msgid "hurd"
  20010. msgstr ""
  20011. #. type: item
  20012. #: guix-git/doc/guix.texi:13778
  20013. #, no-wrap
  20014. msgid "@code{hurd} (default: @code{#f})"
  20015. msgstr ""
  20016. #. type: table
  20017. #: guix-git/doc/guix.texi:13783
  20018. 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."
  20019. msgstr ""
  20020. #. type: quotation
  20021. #: guix-git/doc/guix.texi:13786
  20022. msgid "This feature is experimental and only supported for disk images."
  20023. msgstr ""
  20024. #. type: item
  20025. #: guix-git/doc/guix.texi:13788
  20026. #, no-wrap
  20027. msgid "@code{kernel-loadable-modules} (default: '())"
  20028. msgstr ""
  20029. #. type: table
  20030. #: guix-git/doc/guix.texi:13791
  20031. msgid "A list of objects (usually packages) to collect loadable kernel modules from--e.g. @code{(list ddcci-driver-linux)}."
  20032. msgstr ""
  20033. #. type: item
  20034. #: guix-git/doc/guix.texi:13792
  20035. #, no-wrap
  20036. msgid "@code{kernel-arguments} (default: @code{%default-kernel-arguments})"
  20037. msgstr ""
  20038. #. type: table
  20039. #: guix-git/doc/guix.texi:13795
  20040. msgid "List of strings or gexps representing additional arguments to pass on the command-line of the kernel---e.g., @code{(\"console=ttyS0\")}."
  20041. msgstr ""
  20042. #. type: code{#1}
  20043. #: guix-git/doc/guix.texi:13796 guix-git/doc/guix.texi:33141
  20044. #: guix-git/doc/guix.texi:33160
  20045. #, no-wrap
  20046. msgid "bootloader"
  20047. msgstr ""
  20048. #. type: table
  20049. #: guix-git/doc/guix.texi:13798
  20050. msgid "The system bootloader configuration object. @xref{Bootloader Configuration}."
  20051. msgstr ""
  20052. #. type: code{#1}
  20053. #: guix-git/doc/guix.texi:13799 guix-git/doc/guix.texi:33330
  20054. #, no-wrap
  20055. msgid "label"
  20056. msgstr ""
  20057. #. type: table
  20058. #: guix-git/doc/guix.texi:13802
  20059. 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."
  20060. msgstr ""
  20061. #. type: item
  20062. #: guix-git/doc/guix.texi:13803 guix-git/doc/guix.texi:15393
  20063. #: guix-git/doc/guix.texi:18353 guix-git/doc/guix.texi:33260
  20064. #, no-wrap
  20065. msgid "@code{keyboard-layout} (default: @code{#f})"
  20066. msgstr ""
  20067. #. type: table
  20068. #: guix-git/doc/guix.texi:13808
  20069. 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."
  20070. msgstr ""
  20071. #. type: table
  20072. #: guix-git/doc/guix.texi:13813
  20073. 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})."
  20074. msgstr ""
  20075. #. type: quotation
  20076. #: guix-git/doc/guix.texi:13820
  20077. 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."
  20078. msgstr ""
  20079. #. type: item
  20080. #: guix-git/doc/guix.texi:13822
  20081. #, no-wrap
  20082. msgid "@code{initrd-modules} (default: @code{%base-initrd-modules})"
  20083. msgstr ""
  20084. #. type: cindex
  20085. #: guix-git/doc/guix.texi:13823 guix-git/doc/guix.texi:32965
  20086. #: guix-git/doc/guix.texi:33069
  20087. #, no-wrap
  20088. msgid "initrd"
  20089. msgstr ""
  20090. #. type: cindex
  20091. #: guix-git/doc/guix.texi:13824 guix-git/doc/guix.texi:32966
  20092. #: guix-git/doc/guix.texi:33070
  20093. #, no-wrap
  20094. msgid "initial RAM disk"
  20095. msgstr ""
  20096. #. type: table
  20097. #: guix-git/doc/guix.texi:13827
  20098. msgid "The list of Linux kernel modules that need to be available in the initial RAM disk. @xref{Initial RAM Disk}."
  20099. msgstr ""
  20100. #. type: item
  20101. #: guix-git/doc/guix.texi:13828
  20102. #, no-wrap
  20103. msgid "@code{initrd} (default: @code{base-initrd})"
  20104. msgstr ""
  20105. #. type: table
  20106. #: guix-git/doc/guix.texi:13832
  20107. 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}."
  20108. msgstr ""
  20109. #. type: item
  20110. #: guix-git/doc/guix.texi:13833
  20111. #, no-wrap
  20112. msgid "@code{firmware} (default: @code{%base-firmware})"
  20113. msgstr ""
  20114. #. type: cindex
  20115. #: guix-git/doc/guix.texi:13834
  20116. #, no-wrap
  20117. msgid "firmware"
  20118. msgstr ""
  20119. #. type: table
  20120. #: guix-git/doc/guix.texi:13836
  20121. msgid "List of firmware packages loadable by the operating system kernel."
  20122. msgstr ""
  20123. #. type: table
  20124. #: guix-git/doc/guix.texi:13841
  20125. 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."
  20126. msgstr ""
  20127. #. type: code{#1}
  20128. #: guix-git/doc/guix.texi:13842 guix-git/doc/guix.texi:34164
  20129. #, no-wrap
  20130. msgid "host-name"
  20131. msgstr ""
  20132. #. type: table
  20133. #: guix-git/doc/guix.texi:13844
  20134. msgid "The host name."
  20135. msgstr ""
  20136. #. type: code{#1}
  20137. #: guix-git/doc/guix.texi:13845
  20138. #, no-wrap
  20139. msgid "hosts-file"
  20140. msgstr ""
  20141. #. type: cindex
  20142. #: guix-git/doc/guix.texi:13846
  20143. #, no-wrap
  20144. msgid "hosts file"
  20145. msgstr ""
  20146. #. type: table
  20147. #: guix-git/doc/guix.texi:13851
  20148. 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}."
  20149. msgstr ""
  20150. #. type: item
  20151. #: guix-git/doc/guix.texi:13852
  20152. #, no-wrap
  20153. msgid "@code{mapped-devices} (default: @code{'()})"
  20154. msgstr ""
  20155. #. type: table
  20156. #: guix-git/doc/guix.texi:13854
  20157. msgid "A list of mapped devices. @xref{Mapped Devices}."
  20158. msgstr ""
  20159. #. type: code{#1}
  20160. #: guix-git/doc/guix.texi:13855
  20161. #, no-wrap
  20162. msgid "file-systems"
  20163. msgstr ""
  20164. #. type: table
  20165. #: guix-git/doc/guix.texi:13857
  20166. msgid "A list of file systems. @xref{File Systems}."
  20167. msgstr ""
  20168. #. type: cindex
  20169. #: guix-git/doc/guix.texi:13858
  20170. #, no-wrap
  20171. msgid "swap devices"
  20172. msgstr ""
  20173. #. type: cindex
  20174. #: guix-git/doc/guix.texi:13859
  20175. #, no-wrap
  20176. msgid "swap space"
  20177. msgstr ""
  20178. #. type: item
  20179. #: guix-git/doc/guix.texi:13860
  20180. #, no-wrap
  20181. msgid "@code{swap-devices} (default: @code{'()})"
  20182. msgstr ""
  20183. #. type: table
  20184. #: guix-git/doc/guix.texi:13865
  20185. 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:"
  20186. msgstr ""
  20187. #. type: item
  20188. #: guix-git/doc/guix.texi:13867
  20189. #, no-wrap
  20190. msgid "(list (uuid \"4dab5feb-d176-45de-b287-9b0a6e4c01cb\"))"
  20191. msgstr ""
  20192. #. type: table
  20193. #: guix-git/doc/guix.texi:13871
  20194. 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."
  20195. msgstr ""
  20196. #. type: item
  20197. #: guix-git/doc/guix.texi:13872
  20198. #, no-wrap
  20199. msgid "(list (file-system-label \"swap\"))"
  20200. msgstr ""
  20201. #. type: table
  20202. #: guix-git/doc/guix.texi:13876
  20203. 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."
  20204. msgstr ""
  20205. #. type: item
  20206. #: guix-git/doc/guix.texi:13877
  20207. #, no-wrap
  20208. msgid "(list \"/swapfile\")"
  20209. msgstr ""
  20210. #. type: table
  20211. #: guix-git/doc/guix.texi:13879
  20212. msgid "Use the file @file{/swapfile} as swap space."
  20213. msgstr ""
  20214. #. type: item
  20215. #: guix-git/doc/guix.texi:13880
  20216. #, no-wrap
  20217. msgid "(list \"/dev/sda3\" \"/dev/sdb2\")"
  20218. msgstr ""
  20219. #. type: table
  20220. #: guix-git/doc/guix.texi:13884
  20221. 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."
  20222. msgstr ""
  20223. #. type: table
  20224. #: guix-git/doc/guix.texi:13890
  20225. 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}."
  20226. msgstr ""
  20227. #. type: item
  20228. #: guix-git/doc/guix.texi:13891
  20229. #, no-wrap
  20230. msgid "@code{users} (default: @code{%base-user-accounts})"
  20231. msgstr ""
  20232. #. type: itemx
  20233. #: guix-git/doc/guix.texi:13892
  20234. #, no-wrap
  20235. msgid "@code{groups} (default: @code{%base-groups})"
  20236. msgstr ""
  20237. #. type: table
  20238. #: guix-git/doc/guix.texi:13894
  20239. msgid "List of user accounts and groups. @xref{User Accounts}."
  20240. msgstr ""
  20241. #. type: table
  20242. #: guix-git/doc/guix.texi:13897
  20243. msgid "If the @code{users} list lacks a user account with UID@tie{}0, a ``root'' account with UID@tie{}0 is automatically added."
  20244. msgstr ""
  20245. #. type: item
  20246. #: guix-git/doc/guix.texi:13898
  20247. #, no-wrap
  20248. msgid "@code{skeletons} (default: @code{(default-skeletons)})"
  20249. msgstr ""
  20250. #. type: table
  20251. #: guix-git/doc/guix.texi:13902
  20252. 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."
  20253. msgstr ""
  20254. #. type: table
  20255. #: guix-git/doc/guix.texi:13904
  20256. msgid "For instance, a valid value may look like this:"
  20257. msgstr ""
  20258. #. type: lisp
  20259. #: guix-git/doc/guix.texi:13910
  20260. #, no-wrap
  20261. msgid ""
  20262. "`((\".bashrc\" ,(plain-file \"bashrc\" \"echo Hello\\n\"))\n"
  20263. " (\".guile\" ,(plain-file \"guile\"\n"
  20264. " \"(use-modules (ice-9 readline))\n"
  20265. " (activate-readline)\")))\n"
  20266. msgstr ""
  20267. #. type: item
  20268. #: guix-git/doc/guix.texi:13912
  20269. #, no-wrap
  20270. msgid "@code{issue} (default: @code{%default-issue})"
  20271. msgstr ""
  20272. #. type: table
  20273. #: guix-git/doc/guix.texi:13915
  20274. msgid "A string denoting the contents of the @file{/etc/issue} file, which is displayed when users log in on a text console."
  20275. msgstr ""
  20276. #. type: item
  20277. #: guix-git/doc/guix.texi:13916
  20278. #, no-wrap
  20279. msgid "@code{packages} (default: @code{%base-packages})"
  20280. msgstr ""
  20281. #. type: table
  20282. #: guix-git/doc/guix.texi:13920
  20283. 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:"
  20284. msgstr ""
  20285. #. type: lisp
  20286. #: guix-git/doc/guix.texi:13925
  20287. #, no-wrap
  20288. msgid ""
  20289. "(cons* git ; the default \"out\" output\n"
  20290. " (list git \"send-email\") ; another output of git\n"
  20291. " %base-packages) ; the default set\n"
  20292. msgstr ""
  20293. #. type: table
  20294. #: guix-git/doc/guix.texi:13930
  20295. msgid "The default set includes core utilities and it is good practice to install non-core utilities in user profiles (@pxref{Invoking guix package})."
  20296. msgstr ""
  20297. #. type: code{#1}
  20298. #: guix-git/doc/guix.texi:13931
  20299. #, no-wrap
  20300. msgid "timezone"
  20301. msgstr ""
  20302. #. type: table
  20303. #: guix-git/doc/guix.texi:13933
  20304. msgid "A timezone identifying string---e.g., @code{\"Europe/Paris\"}."
  20305. msgstr ""
  20306. #. type: table
  20307. #: guix-git/doc/guix.texi:13937
  20308. 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."
  20309. msgstr ""
  20310. #. type: item
  20311. #: guix-git/doc/guix.texi:13938 guix-git/doc/guix.texi:19958
  20312. #, no-wrap
  20313. msgid "@code{locale} (default: @code{\"en_US.utf8\"})"
  20314. msgstr ""
  20315. #. type: table
  20316. #: guix-git/doc/guix.texi:13941
  20317. msgid "The name of the default locale (@pxref{Locale Names,,, libc, The GNU C Library Reference Manual}). @xref{Locales}, for more information."
  20318. msgstr ""
  20319. #. type: item
  20320. #: guix-git/doc/guix.texi:13942
  20321. #, no-wrap
  20322. msgid "@code{locale-definitions} (default: @code{%default-locale-definitions})"
  20323. msgstr ""
  20324. #. type: table
  20325. #: guix-git/doc/guix.texi:13945
  20326. msgid "The list of locale definitions to be compiled and that may be used at run time. @xref{Locales}."
  20327. msgstr ""
  20328. #. type: item
  20329. #: guix-git/doc/guix.texi:13946
  20330. #, no-wrap
  20331. msgid "@code{locale-libcs} (default: @code{(list @var{glibc})})"
  20332. msgstr ""
  20333. #. type: table
  20334. #: guix-git/doc/guix.texi:13950
  20335. 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."
  20336. msgstr ""
  20337. #. type: item
  20338. #: guix-git/doc/guix.texi:13951
  20339. #, no-wrap
  20340. msgid "@code{name-service-switch} (default: @code{%default-nss})"
  20341. msgstr ""
  20342. #. type: table
  20343. #: guix-git/doc/guix.texi:13955
  20344. msgid "Configuration of the libc name service switch (NSS)---a @code{<name-service-switch>} object. @xref{Name Service Switch}, for details."
  20345. msgstr ""
  20346. #. type: item
  20347. #: guix-git/doc/guix.texi:13956
  20348. #, no-wrap
  20349. msgid "@code{services} (default: @code{%base-services})"
  20350. msgstr ""
  20351. #. type: table
  20352. #: guix-git/doc/guix.texi:13958
  20353. msgid "A list of service objects denoting system services. @xref{Services}."
  20354. msgstr ""
  20355. #. type: cindex
  20356. #: guix-git/doc/guix.texi:13959
  20357. #, no-wrap
  20358. msgid "essential services"
  20359. msgstr ""
  20360. #. type: item
  20361. #: guix-git/doc/guix.texi:13960
  20362. #, no-wrap
  20363. msgid "@code{essential-services} (default: ...)"
  20364. msgstr ""
  20365. #. type: table
  20366. #: guix-git/doc/guix.texi:13965
  20367. 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."
  20368. msgstr ""
  20369. #. type: item
  20370. #: guix-git/doc/guix.texi:13966
  20371. #, no-wrap
  20372. msgid "@code{pam-services} (default: @code{(base-pam-services)})"
  20373. msgstr ""
  20374. #. type: cindex
  20375. #: guix-git/doc/guix.texi:13967
  20376. #, no-wrap
  20377. msgid "PAM"
  20378. msgstr ""
  20379. #. type: cindex
  20380. #: guix-git/doc/guix.texi:13968
  20381. #, no-wrap
  20382. msgid "pluggable authentication modules"
  20383. msgstr ""
  20384. #. type: table
  20385. #: guix-git/doc/guix.texi:13971
  20386. msgid "Linux @dfn{pluggable authentication module} (PAM) services."
  20387. msgstr ""
  20388. #. type: item
  20389. #: guix-git/doc/guix.texi:13972
  20390. #, no-wrap
  20391. msgid "@code{setuid-programs} (default: @code{%setuid-programs})"
  20392. msgstr ""
  20393. #. type: table
  20394. #: guix-git/doc/guix.texi:13975
  20395. msgid "List of @code{<setuid-program>}. @xref{Setuid Programs}, for more information."
  20396. msgstr ""
  20397. #. type: item
  20398. #: guix-git/doc/guix.texi:13976
  20399. #, no-wrap
  20400. msgid "@code{sudoers-file} (default: @code{%sudoers-specification})"
  20401. msgstr ""
  20402. #. type: cindex
  20403. #: guix-git/doc/guix.texi:13977
  20404. #, no-wrap
  20405. msgid "sudoers file"
  20406. msgstr ""
  20407. #. type: table
  20408. #: guix-git/doc/guix.texi:13980
  20409. msgid "The contents of the @file{/etc/sudoers} file as a file-like object (@pxref{G-Expressions, @code{local-file} and @code{plain-file}})."
  20410. msgstr ""
  20411. #. type: table
  20412. #: guix-git/doc/guix.texi:13985
  20413. 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}."
  20414. msgstr ""
  20415. #. type: deffn
  20416. #: guix-git/doc/guix.texi:13988
  20417. #, no-wrap
  20418. msgid "{Scheme Syntax} this-operating-system"
  20419. msgstr ""
  20420. #. type: deffn
  20421. #: guix-git/doc/guix.texi:13991
  20422. msgid "When used in the @emph{lexical scope} of an operating system field definition, this identifier resolves to the operating system being defined."
  20423. msgstr ""
  20424. #. type: deffn
  20425. #: guix-git/doc/guix.texi:13994
  20426. msgid "The example below shows how to refer to the operating system being defined in the definition of the @code{label} field:"
  20427. msgstr ""
  20428. #. type: lisp
  20429. #: guix-git/doc/guix.texi:13997 guix-git/doc/guix.texi:17574
  20430. #, no-wrap
  20431. msgid ""
  20432. "(use-modules (gnu) (guix))\n"
  20433. "\n"
  20434. msgstr ""
  20435. #. type: lisp
  20436. #: guix-git/doc/guix.texi:14002
  20437. #, no-wrap
  20438. msgid ""
  20439. "(operating-system\n"
  20440. " ;; ...\n"
  20441. " (label (package-full-name\n"
  20442. " (operating-system-kernel this-operating-system))))\n"
  20443. msgstr ""
  20444. #. type: deffn
  20445. #: guix-git/doc/guix.texi:14006
  20446. msgid "It is an error to refer to @code{this-operating-system} outside an operating system definition."
  20447. msgstr ""
  20448. #. type: Plain text
  20449. #: guix-git/doc/guix.texi:14017
  20450. 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:"
  20451. msgstr ""
  20452. #. type: lisp
  20453. #: guix-git/doc/guix.texi:14023
  20454. #, no-wrap
  20455. msgid ""
  20456. "(file-system\n"
  20457. " (mount-point \"/home\")\n"
  20458. " (device \"/dev/sda3\")\n"
  20459. " (type \"ext4\"))\n"
  20460. msgstr ""
  20461. #. type: Plain text
  20462. #: guix-git/doc/guix.texi:14027
  20463. msgid "As usual, some of the fields are mandatory---those shown in the example above---while others can be omitted. These are described below."
  20464. msgstr ""
  20465. #. type: deftp
  20466. #: guix-git/doc/guix.texi:14028
  20467. #, no-wrap
  20468. msgid "{Data Type} file-system"
  20469. msgstr ""
  20470. #. type: deftp
  20471. #: guix-git/doc/guix.texi:14031
  20472. msgid "Objects of this type represent file systems to be mounted. They contain the following members:"
  20473. msgstr ""
  20474. #. type: item
  20475. #: guix-git/doc/guix.texi:14033 guix-git/doc/guix.texi:14383
  20476. #, no-wrap
  20477. msgid "type"
  20478. msgstr ""
  20479. #. type: table
  20480. #: guix-git/doc/guix.texi:14036
  20481. msgid "This is a string specifying the type of the file system---e.g., @code{\"ext4\"}."
  20482. msgstr ""
  20483. #. type: code{#1}
  20484. #: guix-git/doc/guix.texi:14037
  20485. #, no-wrap
  20486. msgid "mount-point"
  20487. msgstr ""
  20488. #. type: table
  20489. #: guix-git/doc/guix.texi:14039
  20490. msgid "This designates the place where the file system is to be mounted."
  20491. msgstr ""
  20492. #. type: code{#1}
  20493. #: guix-git/doc/guix.texi:14040
  20494. #, no-wrap
  20495. msgid "device"
  20496. msgstr ""
  20497. #. type: table
  20498. #: guix-git/doc/guix.texi:14050
  20499. 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.}."
  20500. msgstr ""
  20501. #. type: findex
  20502. #: guix-git/doc/guix.texi:14051
  20503. #, no-wrap
  20504. msgid "file-system-label"
  20505. msgstr ""
  20506. #. type: table
  20507. #: guix-git/doc/guix.texi:14056
  20508. 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:"
  20509. msgstr ""
  20510. #. type: lisp
  20511. #: guix-git/doc/guix.texi:14062
  20512. #, no-wrap
  20513. msgid ""
  20514. "(file-system\n"
  20515. " (mount-point \"/home\")\n"
  20516. " (type \"ext4\")\n"
  20517. " (device (file-system-label \"my-home\")))\n"
  20518. msgstr ""
  20519. #. type: code{#1}
  20520. #: guix-git/doc/guix.texi:14064 guix-git/doc/guix.texi:31772
  20521. #: guix-git/doc/guix.texi:31788
  20522. #, no-wrap
  20523. msgid "uuid"
  20524. msgstr ""
  20525. #. type: table
  20526. #: guix-git/doc/guix.texi:14072
  20527. 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:"
  20528. msgstr ""
  20529. #. type: lisp
  20530. #: guix-git/doc/guix.texi:14078
  20531. #, no-wrap
  20532. msgid ""
  20533. "(file-system\n"
  20534. " (mount-point \"/home\")\n"
  20535. " (type \"ext4\")\n"
  20536. " (device (uuid \"4dab5feb-d176-45de-b287-9b0a6e4c01cb\")))\n"
  20537. msgstr ""
  20538. #. type: table
  20539. #: guix-git/doc/guix.texi:14086
  20540. 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."
  20541. msgstr ""
  20542. #. type: item
  20543. #: guix-git/doc/guix.texi:14087
  20544. #, no-wrap
  20545. msgid "@code{flags} (default: @code{'()})"
  20546. msgstr ""
  20547. #. type: table
  20548. #: guix-git/doc/guix.texi:14097
  20549. 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."
  20550. msgstr ""
  20551. #. type: item
  20552. #: guix-git/doc/guix.texi:14098
  20553. #, no-wrap
  20554. msgid "@code{options} (default: @code{#f})"
  20555. msgstr ""
  20556. #. type: table
  20557. #: guix-git/doc/guix.texi:14107
  20558. 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."
  20559. msgstr ""
  20560. #. type: item
  20561. #: guix-git/doc/guix.texi:14108
  20562. #, no-wrap
  20563. msgid "@code{mount?} (default: @code{#t})"
  20564. msgstr ""
  20565. #. type: table
  20566. #: guix-git/doc/guix.texi:14113
  20567. 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."
  20568. msgstr ""
  20569. #. type: item
  20570. #: guix-git/doc/guix.texi:14114
  20571. #, no-wrap
  20572. msgid "@code{needed-for-boot?} (default: @code{#f})"
  20573. msgstr ""
  20574. #. type: table
  20575. #: guix-git/doc/guix.texi:14119
  20576. 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."
  20577. msgstr ""
  20578. #. type: item
  20579. #: guix-git/doc/guix.texi:14120
  20580. #, no-wrap
  20581. msgid "@code{check?} (default: @code{#t})"
  20582. msgstr ""
  20583. #. type: table
  20584. #: guix-git/doc/guix.texi:14123
  20585. msgid "This Boolean indicates whether the file system needs to be checked for errors before being mounted."
  20586. msgstr ""
  20587. #. type: item
  20588. #: guix-git/doc/guix.texi:14124
  20589. #, no-wrap
  20590. msgid "@code{create-mount-point?} (default: @code{#f})"
  20591. msgstr ""
  20592. #. type: table
  20593. #: guix-git/doc/guix.texi:14126
  20594. msgid "When true, the mount point is created if it does not exist yet."
  20595. msgstr ""
  20596. #. type: item
  20597. #: guix-git/doc/guix.texi:14127
  20598. #, no-wrap
  20599. msgid "@code{mount-may-fail?} (default: @code{#f})"
  20600. msgstr ""
  20601. #. type: table
  20602. #: guix-git/doc/guix.texi:14132
  20603. 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."
  20604. msgstr ""
  20605. #. type: item
  20606. #: guix-git/doc/guix.texi:14133
  20607. #, no-wrap
  20608. msgid "@code{dependencies} (default: @code{'()})"
  20609. msgstr ""
  20610. #. type: table
  20611. #: guix-git/doc/guix.texi:14137
  20612. 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."
  20613. msgstr ""
  20614. #. type: table
  20615. #: guix-git/doc/guix.texi:14141
  20616. 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}."
  20617. msgstr ""
  20618. #. type: table
  20619. #: guix-git/doc/guix.texi:14144
  20620. msgid "Another example is a file system that depends on a mapped device, for example for an encrypted partition (@pxref{Mapped Devices})."
  20621. msgstr ""
  20622. #. type: deffn
  20623. #: guix-git/doc/guix.texi:14147
  20624. #, no-wrap
  20625. msgid "{Scheme Procedure} file-system-label @var{str}"
  20626. msgstr ""
  20627. #. type: deffn
  20628. #: guix-git/doc/guix.texi:14150
  20629. msgid "This procedure returns an opaque file system label from @var{str}, a string:"
  20630. msgstr ""
  20631. #. type: lisp
  20632. #: guix-git/doc/guix.texi:14154
  20633. #, no-wrap
  20634. msgid ""
  20635. "(file-system-label \"home\")\n"
  20636. "@result{} #<file-system-label \"home\">\n"
  20637. msgstr ""
  20638. #. type: deffn
  20639. #: guix-git/doc/guix.texi:14158
  20640. msgid "File system labels are used to refer to file systems by label rather than by device name. See above for examples."
  20641. msgstr ""
  20642. #. type: Plain text
  20643. #: guix-git/doc/guix.texi:14162
  20644. msgid "The @code{(gnu system file-systems)} exports the following useful variables."
  20645. msgstr ""
  20646. #. type: defvr
  20647. #: guix-git/doc/guix.texi:14163
  20648. #, no-wrap
  20649. msgid "{Scheme Variable} %base-file-systems"
  20650. msgstr ""
  20651. #. type: defvr
  20652. #: guix-git/doc/guix.texi:14168
  20653. 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."
  20654. msgstr ""
  20655. #. type: defvr
  20656. #: guix-git/doc/guix.texi:14170
  20657. #, no-wrap
  20658. msgid "{Scheme Variable} %pseudo-terminal-file-system"
  20659. msgstr ""
  20660. #. type: defvr
  20661. #: guix-git/doc/guix.texi:14176
  20662. 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}."
  20663. msgstr ""
  20664. #. type: defvr
  20665. #: guix-git/doc/guix.texi:14178
  20666. #, no-wrap
  20667. msgid "{Scheme Variable} %shared-memory-file-system"
  20668. msgstr ""
  20669. #. type: defvr
  20670. #: guix-git/doc/guix.texi:14182
  20671. 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})."
  20672. msgstr ""
  20673. #. type: defvr
  20674. #: guix-git/doc/guix.texi:14184
  20675. #, no-wrap
  20676. msgid "{Scheme Variable} %immutable-store"
  20677. msgstr ""
  20678. #. type: defvr
  20679. #: guix-git/doc/guix.texi:14189
  20680. 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."
  20681. msgstr ""
  20682. #. type: defvr
  20683. #: guix-git/doc/guix.texi:14192
  20684. msgid "The daemon itself is still able to write to the store: it remounts it read-write in its own ``name space.''"
  20685. msgstr ""
  20686. #. type: defvr
  20687. #: guix-git/doc/guix.texi:14194
  20688. #, no-wrap
  20689. msgid "{Scheme Variable} %binary-format-file-system"
  20690. msgstr ""
  20691. #. type: defvr
  20692. #: guix-git/doc/guix.texi:14198
  20693. 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."
  20694. msgstr ""
  20695. #. type: defvr
  20696. #: guix-git/doc/guix.texi:14200
  20697. #, no-wrap
  20698. msgid "{Scheme Variable} %fuse-control-file-system"
  20699. msgstr ""
  20700. #. type: defvr
  20701. #: guix-git/doc/guix.texi:14204
  20702. 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."
  20703. msgstr ""
  20704. #. type: Plain text
  20705. #: guix-git/doc/guix.texi:14208
  20706. msgid "The @code{(gnu system uuid)} module provides tools to deal with file system ``unique identifiers'' (UUIDs)."
  20707. msgstr ""
  20708. #. type: deffn
  20709. #: guix-git/doc/guix.texi:14209
  20710. #, no-wrap
  20711. msgid "{Scheme Procedure} uuid @var{str} [@var{type}]"
  20712. msgstr ""
  20713. #. type: deffn
  20714. #: guix-git/doc/guix.texi:14212
  20715. msgid "Return an opaque UUID (unique identifier) object of the given @var{type} (a symbol) by parsing @var{str} (a string):"
  20716. msgstr ""
  20717. #. type: lisp
  20718. #: guix-git/doc/guix.texi:14216
  20719. #, no-wrap
  20720. msgid ""
  20721. "(uuid \"4dab5feb-d176-45de-b287-9b0a6e4c01cb\")\n"
  20722. "@result{} #<<uuid> type: dce bv: @dots{}>\n"
  20723. "\n"
  20724. msgstr ""
  20725. #. type: lisp
  20726. #: guix-git/doc/guix.texi:14219
  20727. #, no-wrap
  20728. msgid ""
  20729. "(uuid \"1234-ABCD\" 'fat)\n"
  20730. "@result{} #<<uuid> type: fat bv: @dots{}>\n"
  20731. msgstr ""
  20732. #. type: deffn
  20733. #: guix-git/doc/guix.texi:14223
  20734. msgid "@var{type} may be one of @code{dce}, @code{iso9660}, @code{fat}, @code{ntfs}, or one of the commonly found synonyms for these."
  20735. msgstr ""
  20736. #. type: deffn
  20737. #: guix-git/doc/guix.texi:14226
  20738. msgid "UUIDs are another way to unambiguously refer to file systems in operating system configuration. See the examples above."
  20739. msgstr ""
  20740. #. type: subsection
  20741. #: guix-git/doc/guix.texi:14229 guix-git/doc/guix.texi:14230
  20742. #, no-wrap
  20743. msgid "Btrfs file system"
  20744. msgstr ""
  20745. #. type: Plain text
  20746. #: guix-git/doc/guix.texi:14236
  20747. 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."
  20748. msgstr ""
  20749. #. type: Plain text
  20750. #: guix-git/doc/guix.texi:14239
  20751. msgid "In its simplest usage, a Btrfs file system can be described, for example, by:"
  20752. msgstr ""
  20753. #. type: lisp
  20754. #: guix-git/doc/guix.texi:14245
  20755. #, no-wrap
  20756. msgid ""
  20757. "(file-system\n"
  20758. " (mount-point \"/home\")\n"
  20759. " (type \"btrfs\")\n"
  20760. " (device (file-system-label \"my-home\")))\n"
  20761. msgstr ""
  20762. #. type: Plain text
  20763. #: guix-git/doc/guix.texi:14251
  20764. 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}):"
  20765. msgstr ""
  20766. #. type: lisp
  20767. #: guix-git/doc/guix.texi:14259
  20768. #, no-wrap
  20769. msgid ""
  20770. "(file-system\n"
  20771. " (device (file-system-label \"my-btrfs-pool\"))\n"
  20772. " (mount-point \"/\")\n"
  20773. " (type \"btrfs\")\n"
  20774. " (options \"subvol=rootfs\")\n"
  20775. " (dependencies mapped-devices))\n"
  20776. msgstr ""
  20777. #. type: Plain text
  20778. #: guix-git/doc/guix.texi:14270
  20779. 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."
  20780. msgstr ""
  20781. #. type: Plain text
  20782. #: guix-git/doc/guix.texi:14278
  20783. 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.:"
  20784. msgstr ""
  20785. #. type: example
  20786. #: guix-git/doc/guix.texi:14285
  20787. #, no-wrap
  20788. msgid ""
  20789. "/ (top level)\n"
  20790. "├── rootfs (subvolume directory)\n"
  20791. " ├── gnu (normal directory)\n"
  20792. " ├── store (normal directory)\n"
  20793. "[...]\n"
  20794. msgstr ""
  20795. #. type: Plain text
  20796. #: guix-git/doc/guix.texi:14290
  20797. 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."
  20798. msgstr ""
  20799. #. type: Plain text
  20800. #: guix-git/doc/guix.texi:14293
  20801. msgid "The next example shows a nested hierarchy of subvolumes and directories:"
  20802. msgstr ""
  20803. #. type: example
  20804. #: guix-git/doc/guix.texi:14300
  20805. #, no-wrap
  20806. msgid ""
  20807. "/ (top level)\n"
  20808. "├── rootfs (subvolume)\n"
  20809. " ├── gnu (normal directory)\n"
  20810. " ├── store (subvolume)\n"
  20811. "[...]\n"
  20812. msgstr ""
  20813. #. type: Plain text
  20814. #: guix-git/doc/guix.texi:14307
  20815. 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}."
  20816. msgstr ""
  20817. #. type: Plain text
  20818. #: guix-git/doc/guix.texi:14309
  20819. msgid "Finally, a more contrived example of nested subvolumes:"
  20820. msgstr ""
  20821. #. type: example
  20822. #: guix-git/doc/guix.texi:14316
  20823. #, no-wrap
  20824. msgid ""
  20825. "/ (top level)\n"
  20826. "├── root-snapshots (subvolume)\n"
  20827. " ├── root-current (subvolume)\n"
  20828. " ├── guix-store (subvolume)\n"
  20829. "[...]\n"
  20830. msgstr ""
  20831. #. type: Plain text
  20832. #: guix-git/doc/guix.texi:14323
  20833. 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:"
  20834. msgstr ""
  20835. #. type: lisp
  20836. #: guix-git/doc/guix.texi:14331
  20837. #, no-wrap
  20838. msgid ""
  20839. "(file-system\n"
  20840. " (device (file-system-label \"btrfs-pool-1\"))\n"
  20841. " (mount-point \"/gnu/store\")\n"
  20842. " (type \"btrfs\")\n"
  20843. " (options \"subvol=root-snapshots/root-current/guix-store,\\\n"
  20844. "compress-force=zstd,space_cache=v2\"))\n"
  20845. msgstr ""
  20846. #. type: cindex
  20847. #: guix-git/doc/guix.texi:14336
  20848. #, no-wrap
  20849. msgid "device mapping"
  20850. msgstr ""
  20851. #. type: cindex
  20852. #: guix-git/doc/guix.texi:14337
  20853. #, no-wrap
  20854. msgid "mapped devices"
  20855. msgstr ""
  20856. #. type: Plain text
  20857. #: guix-git/doc/guix.texi:14354
  20858. 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."
  20859. msgstr ""
  20860. #. type: Plain text
  20861. #: guix-git/doc/guix.texi:14357
  20862. msgid "Mapped devices are declared using the @code{mapped-device} form, defined as follows; for examples, see below."
  20863. msgstr ""
  20864. #. type: deftp
  20865. #: guix-git/doc/guix.texi:14358
  20866. #, no-wrap
  20867. msgid "{Data Type} mapped-device"
  20868. msgstr ""
  20869. #. type: deftp
  20870. #: guix-git/doc/guix.texi:14361
  20871. msgid "Objects of this type represent device mappings that will be made when the system boots up."
  20872. msgstr ""
  20873. #. type: table
  20874. #: guix-git/doc/guix.texi:14368
  20875. 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."
  20876. msgstr ""
  20877. #. type: code{#1}
  20878. #: guix-git/doc/guix.texi:14369 guix-git/doc/guix.texi:33233
  20879. #, no-wrap
  20880. msgid "target"
  20881. msgstr ""
  20882. #. type: table
  20883. #: guix-git/doc/guix.texi:14378
  20884. 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\"}."
  20885. msgstr ""
  20886. #. type: item
  20887. #: guix-git/doc/guix.texi:14379
  20888. #, no-wrap
  20889. msgid "targets"
  20890. msgstr ""
  20891. #. type: table
  20892. #: guix-git/doc/guix.texi:14382
  20893. msgid "This list of strings specifies names of the resulting mapped devices in case there are several. The format is identical to @var{target}."
  20894. msgstr ""
  20895. #. type: table
  20896. #: guix-git/doc/guix.texi:14386
  20897. msgid "This must be a @code{mapped-device-kind} object, which specifies how @var{source} is mapped to @var{target}."
  20898. msgstr ""
  20899. #. type: defvr
  20900. #: guix-git/doc/guix.texi:14389
  20901. #, no-wrap
  20902. msgid "{Scheme Variable} luks-device-mapping"
  20903. msgstr ""
  20904. #. type: defvr
  20905. #: guix-git/doc/guix.texi:14393
  20906. 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."
  20907. msgstr ""
  20908. #. type: defvr
  20909. #: guix-git/doc/guix.texi:14395
  20910. #, no-wrap
  20911. msgid "{Scheme Variable} raid-device-mapping"
  20912. msgstr ""
  20913. #. type: defvr
  20914. #: guix-git/doc/guix.texi:14400
  20915. 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."
  20916. msgstr ""
  20917. #. type: cindex
  20918. #: guix-git/doc/guix.texi:14402
  20919. #, no-wrap
  20920. msgid "LVM, logical volume manager"
  20921. msgstr ""
  20922. #. type: defvr
  20923. #: guix-git/doc/guix.texi:14403
  20924. #, no-wrap
  20925. msgid "{Scheme Variable} lvm-device-mapping"
  20926. msgstr ""
  20927. #. type: defvr
  20928. #: guix-git/doc/guix.texi:14408
  20929. 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."
  20930. msgstr ""
  20931. #. type: cindex
  20932. #: guix-git/doc/guix.texi:14410
  20933. #, no-wrap
  20934. msgid "disk encryption"
  20935. msgstr ""
  20936. #. type: cindex
  20937. #: guix-git/doc/guix.texi:14411
  20938. #, no-wrap
  20939. msgid "LUKS"
  20940. msgstr ""
  20941. #. type: Plain text
  20942. #: guix-git/doc/guix.texi:14419
  20943. 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})."
  20944. msgstr ""
  20945. #. type: lisp
  20946. #: guix-git/doc/guix.texi:14425
  20947. #, no-wrap
  20948. msgid ""
  20949. "(mapped-device\n"
  20950. " (source \"/dev/sda3\")\n"
  20951. " (target \"home\")\n"
  20952. " (type luks-device-mapping))\n"
  20953. msgstr ""
  20954. #. type: Plain text
  20955. #: guix-git/doc/guix.texi:14430
  20956. 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:"
  20957. msgstr ""
  20958. #. type: example
  20959. #: guix-git/doc/guix.texi:14433
  20960. #, no-wrap
  20961. msgid "cryptsetup luksUUID /dev/sda3\n"
  20962. msgstr ""
  20963. #. type: Plain text
  20964. #: guix-git/doc/guix.texi:14436
  20965. msgid "and use it as follows:"
  20966. msgstr ""
  20967. #. type: lisp
  20968. #: guix-git/doc/guix.texi:14442
  20969. #, no-wrap
  20970. msgid ""
  20971. "(mapped-device\n"
  20972. " (source (uuid \"cb67fc72-0d54-4c88-9d4b-b225f30b0f44\"))\n"
  20973. " (target \"home\")\n"
  20974. " (type luks-device-mapping))\n"
  20975. msgstr ""
  20976. #. type: cindex
  20977. #: guix-git/doc/guix.texi:14444
  20978. #, no-wrap
  20979. msgid "swap encryption"
  20980. msgstr ""
  20981. #. type: Plain text
  20982. #: guix-git/doc/guix.texi:14450
  20983. 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."
  20984. msgstr ""
  20985. #. type: Plain text
  20986. #: guix-git/doc/guix.texi:14453
  20987. msgid "A RAID device formed of the partitions @file{/dev/sda1} and @file{/dev/sdb1} may be declared as follows:"
  20988. msgstr ""
  20989. #. type: lisp
  20990. #: guix-git/doc/guix.texi:14459
  20991. #, no-wrap
  20992. msgid ""
  20993. "(mapped-device\n"
  20994. " (source (list \"/dev/sda1\" \"/dev/sdb1\"))\n"
  20995. " (target \"/dev/md0\")\n"
  20996. " (type raid-device-mapping))\n"
  20997. msgstr ""
  20998. #. type: Plain text
  20999. #: guix-git/doc/guix.texi:14466
  21000. 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."
  21001. msgstr ""
  21002. #. type: Plain text
  21003. #: guix-git/doc/guix.texi:14469
  21004. msgid "LVM logical volumes ``alpha'' and ``beta'' from volume group ``vg0'' can be declared as follows:"
  21005. msgstr ""
  21006. #. type: lisp
  21007. #: guix-git/doc/guix.texi:14475
  21008. #, no-wrap
  21009. msgid ""
  21010. "(mapped-device\n"
  21011. " (source \"vg0\")\n"
  21012. " (targets (list \"vg0-alpha\" \"vg0-beta\"))\n"
  21013. " (type lvm-device-mapping))\n"
  21014. msgstr ""
  21015. #. type: Plain text
  21016. #: guix-git/doc/guix.texi:14480
  21017. 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})."
  21018. msgstr ""
  21019. #. type: cindex
  21020. #: guix-git/doc/guix.texi:14484
  21021. #, no-wrap
  21022. msgid "users"
  21023. msgstr ""
  21024. #. type: cindex
  21025. #: guix-git/doc/guix.texi:14485
  21026. #, no-wrap
  21027. msgid "accounts"
  21028. msgstr ""
  21029. #. type: cindex
  21030. #: guix-git/doc/guix.texi:14486
  21031. #, no-wrap
  21032. msgid "user accounts"
  21033. msgstr ""
  21034. #. type: Plain text
  21035. #: guix-git/doc/guix.texi:14490
  21036. 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:"
  21037. msgstr ""
  21038. #. type: lisp
  21039. #: guix-git/doc/guix.texi:14500
  21040. #, no-wrap
  21041. msgid ""
  21042. "(user-account\n"
  21043. " (name \"alice\")\n"
  21044. " (group \"users\")\n"
  21045. " (supplementary-groups '(\"wheel\" ;allow use of sudo, etc.\n"
  21046. " \"audio\" ;sound card\n"
  21047. " \"video\" ;video devices such as webcams\n"
  21048. " \"cdrom\")) ;the good ol' CD-ROM\n"
  21049. " (comment \"Bob's sister\"))\n"
  21050. msgstr ""
  21051. #. type: Plain text
  21052. #: guix-git/doc/guix.texi:14504
  21053. msgid "Here's a user account that uses a different shell and a custom home directory (the default would be @file{\"/home/bob\"}):"
  21054. msgstr ""
  21055. #. type: lisp
  21056. #: guix-git/doc/guix.texi:14512
  21057. #, no-wrap
  21058. msgid ""
  21059. "(user-account\n"
  21060. " (name \"bob\")\n"
  21061. " (group \"users\")\n"
  21062. " (comment \"Alice's bro\")\n"
  21063. " (shell (file-append zsh \"/bin/zsh\"))\n"
  21064. " (home-directory \"/home/robert\"))\n"
  21065. msgstr ""
  21066. #. type: Plain text
  21067. #: guix-git/doc/guix.texi:14521
  21068. 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."
  21069. msgstr ""
  21070. #. type: deftp
  21071. #: guix-git/doc/guix.texi:14522
  21072. #, no-wrap
  21073. msgid "{Data Type} user-account"
  21074. msgstr ""
  21075. #. type: deftp
  21076. #: guix-git/doc/guix.texi:14525
  21077. msgid "Objects of this type represent user accounts. The following members may be specified:"
  21078. msgstr ""
  21079. #. type: table
  21080. #: guix-git/doc/guix.texi:14529
  21081. msgid "The name of the user account."
  21082. msgstr ""
  21083. #. type: itemx
  21084. #: guix-git/doc/guix.texi:14530 guix-git/doc/guix.texi:32919
  21085. #, no-wrap
  21086. msgid "group"
  21087. msgstr ""
  21088. #. type: cindex
  21089. #: guix-git/doc/guix.texi:14531 guix-git/doc/guix.texi:14610
  21090. #, no-wrap
  21091. msgid "groups"
  21092. msgstr ""
  21093. #. type: table
  21094. #: guix-git/doc/guix.texi:14534
  21095. msgid "This is the name (a string) or identifier (a number) of the user group this account belongs to."
  21096. msgstr ""
  21097. #. type: item
  21098. #: guix-git/doc/guix.texi:14535
  21099. #, no-wrap
  21100. msgid "@code{supplementary-groups} (default: @code{'()})"
  21101. msgstr ""
  21102. #. type: table
  21103. #: guix-git/doc/guix.texi:14538
  21104. msgid "Optionally, this can be defined as a list of group names that this account belongs to."
  21105. msgstr ""
  21106. #. type: item
  21107. #: guix-git/doc/guix.texi:14539
  21108. #, no-wrap
  21109. msgid "@code{uid} (default: @code{#f})"
  21110. msgstr ""
  21111. #. type: table
  21112. #: guix-git/doc/guix.texi:14543
  21113. 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."
  21114. msgstr ""
  21115. #. type: item
  21116. #: guix-git/doc/guix.texi:14544
  21117. #, no-wrap
  21118. msgid "@code{comment} (default: @code{\"\"})"
  21119. msgstr ""
  21120. #. type: table
  21121. #: guix-git/doc/guix.texi:14546
  21122. msgid "A comment about the account, such as the account owner's full name."
  21123. msgstr ""
  21124. #. type: code{#1}
  21125. #: guix-git/doc/guix.texi:14547
  21126. #, no-wrap
  21127. msgid "home-directory"
  21128. msgstr ""
  21129. #. type: table
  21130. #: guix-git/doc/guix.texi:14549
  21131. msgid "This is the name of the home directory for the account."
  21132. msgstr ""
  21133. #. type: item
  21134. #: guix-git/doc/guix.texi:14550
  21135. #, no-wrap
  21136. msgid "@code{create-home-directory?} (default: @code{#t})"
  21137. msgstr ""
  21138. #. type: table
  21139. #: guix-git/doc/guix.texi:14553
  21140. msgid "Indicates whether the home directory of this account should be created if it does not exist yet."
  21141. msgstr ""
  21142. #. type: item
  21143. #: guix-git/doc/guix.texi:14554
  21144. #, no-wrap
  21145. msgid "@code{shell} (default: Bash)"
  21146. msgstr ""
  21147. #. type: table
  21148. #: guix-git/doc/guix.texi:14558
  21149. 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:"
  21150. msgstr ""
  21151. #. type: lisp
  21152. #: guix-git/doc/guix.texi:14561
  21153. #, no-wrap
  21154. msgid "(file-append bash \"/bin/bash\")\n"
  21155. msgstr ""
  21156. #. type: table
  21157. #: guix-git/doc/guix.texi:14565
  21158. msgid "... and to the Zsh executable like that:"
  21159. msgstr ""
  21160. #. type: lisp
  21161. #: guix-git/doc/guix.texi:14568
  21162. #, no-wrap
  21163. msgid "(file-append zsh \"/bin/zsh\")\n"
  21164. msgstr ""
  21165. #. type: item
  21166. #: guix-git/doc/guix.texi:14570 guix-git/doc/guix.texi:14628
  21167. #, no-wrap
  21168. msgid "@code{system?} (default: @code{#f})"
  21169. msgstr ""
  21170. #. type: table
  21171. #: guix-git/doc/guix.texi:14574
  21172. 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."
  21173. msgstr ""
  21174. #. type: anchor{#1}
  21175. #: guix-git/doc/guix.texi:14576
  21176. msgid "user-account-password"
  21177. msgstr ""
  21178. #. type: cindex
  21179. #: guix-git/doc/guix.texi:14576
  21180. #, no-wrap
  21181. msgid "password, for user accounts"
  21182. msgstr ""
  21183. #. type: item
  21184. #: guix-git/doc/guix.texi:14577 guix-git/doc/guix.texi:14632
  21185. #, no-wrap
  21186. msgid "@code{password} (default: @code{#f})"
  21187. msgstr ""
  21188. #. type: table
  21189. #: guix-git/doc/guix.texi:14583
  21190. 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."
  21191. msgstr ""
  21192. #. type: table
  21193. #: guix-git/doc/guix.texi:14587
  21194. 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:"
  21195. msgstr ""
  21196. #. type: lisp
  21197. #: guix-git/doc/guix.texi:14592
  21198. #, no-wrap
  21199. msgid ""
  21200. "(user-account\n"
  21201. " (name \"charlie\")\n"
  21202. " (group \"users\")\n"
  21203. "\n"
  21204. msgstr ""
  21205. #. type: lisp
  21206. #: guix-git/doc/guix.texi:14595
  21207. #, no-wrap
  21208. msgid ""
  21209. " ;; Specify a SHA-512-hashed initial password.\n"
  21210. " (password (crypt \"InitialPassword!\" \"$6$abc\")))\n"
  21211. msgstr ""
  21212. #. type: quotation
  21213. #: guix-git/doc/guix.texi:14601
  21214. 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."
  21215. msgstr ""
  21216. #. type: table
  21217. #: guix-git/doc/guix.texi:14606
  21218. 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."
  21219. msgstr ""
  21220. #. type: Plain text
  21221. #: guix-git/doc/guix.texi:14612
  21222. msgid "User group declarations are even simpler:"
  21223. msgstr ""
  21224. #. type: lisp
  21225. #: guix-git/doc/guix.texi:14615
  21226. #, no-wrap
  21227. msgid "(user-group (name \"students\"))\n"
  21228. msgstr ""
  21229. #. type: deftp
  21230. #: guix-git/doc/guix.texi:14617
  21231. #, no-wrap
  21232. msgid "{Data Type} user-group"
  21233. msgstr ""
  21234. #. type: deftp
  21235. #: guix-git/doc/guix.texi:14619
  21236. msgid "This type is for, well, user groups. There are just a few fields:"
  21237. msgstr ""
  21238. #. type: table
  21239. #: guix-git/doc/guix.texi:14623
  21240. msgid "The name of the group."
  21241. msgstr ""
  21242. #. type: item
  21243. #: guix-git/doc/guix.texi:14624 guix-git/doc/guix.texi:29606
  21244. #, no-wrap
  21245. msgid "@code{id} (default: @code{#f})"
  21246. msgstr ""
  21247. #. type: table
  21248. #: guix-git/doc/guix.texi:14627
  21249. msgid "The group identifier (a number). If @code{#f}, a new number is automatically allocated when the group is created."
  21250. msgstr ""
  21251. #. type: table
  21252. #: guix-git/doc/guix.texi:14631
  21253. msgid "This Boolean value indicates whether the group is a ``system'' group. System groups have low numerical IDs."
  21254. msgstr ""
  21255. #. type: table
  21256. #: guix-git/doc/guix.texi:14635
  21257. msgid "What, user groups can have a password? Well, apparently yes. Unless @code{#f}, this field specifies the password of the group."
  21258. msgstr ""
  21259. #. type: Plain text
  21260. #: guix-git/doc/guix.texi:14641
  21261. msgid "For convenience, a variable lists all the basic user groups one may expect:"
  21262. msgstr ""
  21263. #. type: defvr
  21264. #: guix-git/doc/guix.texi:14642
  21265. #, no-wrap
  21266. msgid "{Scheme Variable} %base-groups"
  21267. msgstr ""
  21268. #. type: defvr
  21269. #: guix-git/doc/guix.texi:14647
  21270. 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''."
  21271. msgstr ""
  21272. #. type: defvr
  21273. #: guix-git/doc/guix.texi:14649
  21274. #, no-wrap
  21275. msgid "{Scheme Variable} %base-user-accounts"
  21276. msgstr ""
  21277. #. type: defvr
  21278. #: guix-git/doc/guix.texi:14652
  21279. 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."
  21280. msgstr ""
  21281. #. type: defvr
  21282. #: guix-git/doc/guix.texi:14655
  21283. 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."
  21284. msgstr ""
  21285. #. type: cindex
  21286. #: guix-git/doc/guix.texi:14661
  21287. #, no-wrap
  21288. msgid "keymap"
  21289. msgstr ""
  21290. #. type: Plain text
  21291. #: guix-git/doc/guix.texi:14669
  21292. 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."
  21293. msgstr ""
  21294. #. type: cindex
  21295. #: guix-git/doc/guix.texi:14670
  21296. #, no-wrap
  21297. msgid "keyboard layout, definition"
  21298. msgstr ""
  21299. #. type: Plain text
  21300. #: guix-git/doc/guix.texi:14672
  21301. msgid "There are three components that will want to know about your keyboard layout:"
  21302. msgstr ""
  21303. #. type: itemize
  21304. #: guix-git/doc/guix.texi:14679
  21305. 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."
  21306. msgstr ""
  21307. #. type: itemize
  21308. #: guix-git/doc/guix.texi:14684
  21309. msgid "The @emph{operating system kernel}, Linux, will need that so that the console is properly configured (@pxref{operating-system Reference, @code{keyboard-layout}})."
  21310. msgstr ""
  21311. #. type: itemize
  21312. #: guix-git/doc/guix.texi:14688
  21313. msgid "The @emph{graphical display server}, usually Xorg, also has its own idea of the keyboard layout (@pxref{X Window, @code{keyboard-layout}})."
  21314. msgstr ""
  21315. #. type: Plain text
  21316. #: guix-git/doc/guix.texi:14692
  21317. msgid "Guix allows you to configure all three separately but, fortunately, it allows you to share the same keyboard layout for all three components."
  21318. msgstr ""
  21319. #. type: cindex
  21320. #: guix-git/doc/guix.texi:14693
  21321. #, no-wrap
  21322. msgid "XKB, keyboard layouts"
  21323. msgstr ""
  21324. #. type: Plain text
  21325. #: guix-git/doc/guix.texi:14701
  21326. 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."
  21327. msgstr ""
  21328. #. type: deffn
  21329. #: guix-git/doc/guix.texi:14702
  21330. #, no-wrap
  21331. msgid "{Scheme Procedure} keyboard-layout @var{name} [@var{variant}] @"
  21332. msgstr ""
  21333. #. type: deffn
  21334. #: guix-git/doc/guix.texi:14705
  21335. msgid "[#:model] [#:options '()] Return a new keyboard layout with the given @var{name} and @var{variant}."
  21336. msgstr ""
  21337. #. type: deffn
  21338. #: guix-git/doc/guix.texi:14709
  21339. 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."
  21340. msgstr ""
  21341. #. type: Plain text
  21342. #: guix-git/doc/guix.texi:14712
  21343. msgid "Here are a few examples:"
  21344. msgstr ""
  21345. #. type: lisp
  21346. #: guix-git/doc/guix.texi:14717
  21347. #, no-wrap
  21348. msgid ""
  21349. ";; The German QWERTZ layout. Here we assume a standard\n"
  21350. ";; \"pc105\" keyboard model.\n"
  21351. "(keyboard-layout \"de\")\n"
  21352. "\n"
  21353. msgstr ""
  21354. #. type: lisp
  21355. #: guix-git/doc/guix.texi:14720
  21356. #, no-wrap
  21357. msgid ""
  21358. ";; The bépo variant of the French layout.\n"
  21359. "(keyboard-layout \"fr\" \"bepo\")\n"
  21360. "\n"
  21361. msgstr ""
  21362. #. type: lisp
  21363. #: guix-git/doc/guix.texi:14723
  21364. #, no-wrap
  21365. msgid ""
  21366. ";; The Catalan layout.\n"
  21367. "(keyboard-layout \"es\" \"cat\")\n"
  21368. "\n"
  21369. msgstr ""
  21370. #. type: lisp
  21371. #: guix-git/doc/guix.texi:14726
  21372. #, no-wrap
  21373. msgid ""
  21374. ";; Arabic layout with \"Alt-Shift\" to switch to US layout.\n"
  21375. "(keyboard-layout \"ar,us\" #:options '(\"grp:alt_shift_toggle\"))\n"
  21376. "\n"
  21377. msgstr ""
  21378. #. type: lisp
  21379. #: guix-git/doc/guix.texi:14733
  21380. #, no-wrap
  21381. msgid ""
  21382. ";; The Latin American Spanish layout. In addition, the\n"
  21383. ";; \"Caps Lock\" key is used as an additional \"Ctrl\" key,\n"
  21384. ";; and the \"Menu\" key is used as a \"Compose\" key to enter\n"
  21385. ";; accented letters.\n"
  21386. "(keyboard-layout \"latam\"\n"
  21387. " #:options '(\"ctrl:nocaps\" \"compose:menu\"))\n"
  21388. "\n"
  21389. msgstr ""
  21390. #. type: lisp
  21391. #: guix-git/doc/guix.texi:14736
  21392. #, no-wrap
  21393. msgid ""
  21394. ";; The Russian layout for a ThinkPad keyboard.\n"
  21395. "(keyboard-layout \"ru\" #:model \"thinkpad\")\n"
  21396. "\n"
  21397. msgstr ""
  21398. #. type: lisp
  21399. #: guix-git/doc/guix.texi:14741
  21400. #, no-wrap
  21401. msgid ""
  21402. ";; The \"US international\" layout, which is the US layout plus\n"
  21403. ";; dead keys to enter accented characters. This is for an\n"
  21404. ";; Apple MacBook keyboard.\n"
  21405. "(keyboard-layout \"us\" \"intl\" #:model \"macbook78\")\n"
  21406. msgstr ""
  21407. #. type: Plain text
  21408. #: guix-git/doc/guix.texi:14745
  21409. msgid "See the @file{share/X11/xkb} directory of the @code{xkeyboard-config} package for a complete list of supported layouts, variants, and models."
  21410. msgstr ""
  21411. #. type: cindex
  21412. #: guix-git/doc/guix.texi:14746
  21413. #, no-wrap
  21414. msgid "keyboard layout, configuration"
  21415. msgstr ""
  21416. #. type: Plain text
  21417. #: guix-git/doc/guix.texi:14750
  21418. 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:"
  21419. msgstr ""
  21420. #. type: findex
  21421. #: guix-git/doc/guix.texi:14751
  21422. #, no-wrap
  21423. msgid "set-xorg-configuration"
  21424. msgstr ""
  21425. #. type: lisp
  21426. #: guix-git/doc/guix.texi:14755
  21427. #, no-wrap
  21428. msgid ""
  21429. ";; Using the Turkish layout for the bootloader, the console,\n"
  21430. ";; and for Xorg.\n"
  21431. "\n"
  21432. msgstr ""
  21433. #. type: lisp
  21434. #: guix-git/doc/guix.texi:14767
  21435. #, no-wrap
  21436. msgid ""
  21437. "(operating-system\n"
  21438. " ;; ...\n"
  21439. " (keyboard-layout (keyboard-layout \"tr\")) ;for the console\n"
  21440. " (bootloader (bootloader-configuration\n"
  21441. " (bootloader grub-efi-bootloader)\n"
  21442. " (target \"/boot/efi\")\n"
  21443. " (keyboard-layout keyboard-layout))) ;for GRUB\n"
  21444. " (services (cons (set-xorg-configuration\n"
  21445. " (xorg-configuration ;for Xorg\n"
  21446. " (keyboard-layout keyboard-layout)))\n"
  21447. " %desktop-services)))\n"
  21448. msgstr ""
  21449. #. type: Plain text
  21450. #: guix-git/doc/guix.texi:14774
  21451. 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."
  21452. msgstr ""
  21453. #. type: Plain text
  21454. #: guix-git/doc/guix.texi:14777
  21455. 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:"
  21456. msgstr ""
  21457. #. type: itemize
  21458. #: guix-git/doc/guix.texi:14782
  21459. msgid "If you're using GNOME, its settings panel has a ``Region & Language'' entry where you can select one or more keyboard layouts."
  21460. msgstr ""
  21461. #. type: itemize
  21462. #: guix-git/doc/guix.texi:14787
  21463. 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:"
  21464. msgstr ""
  21465. #. type: example
  21466. #: guix-git/doc/guix.texi:14790
  21467. #, no-wrap
  21468. msgid "setxkbmap us dvorak\n"
  21469. msgstr ""
  21470. #. type: itemize
  21471. #: guix-git/doc/guix.texi:14797
  21472. 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:"
  21473. msgstr ""
  21474. #. type: example
  21475. #: guix-git/doc/guix.texi:14800
  21476. #, no-wrap
  21477. msgid "loadkeys fr-bepo\n"
  21478. msgstr ""
  21479. #. type: cindex
  21480. #: guix-git/doc/guix.texi:14806
  21481. #, no-wrap
  21482. msgid "locale"
  21483. msgstr ""
  21484. #. type: Plain text
  21485. #: guix-git/doc/guix.texi:14813
  21486. 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."
  21487. msgstr ""
  21488. #. type: cindex
  21489. #: guix-git/doc/guix.texi:14814
  21490. #, no-wrap
  21491. msgid "locale definition"
  21492. msgstr ""
  21493. #. type: Plain text
  21494. #: guix-git/doc/guix.texi:14818
  21495. 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}})."
  21496. msgstr ""
  21497. #. type: Plain text
  21498. #: guix-git/doc/guix.texi:14827
  21499. 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."
  21500. msgstr ""
  21501. #. type: Plain text
  21502. #: guix-git/doc/guix.texi:14830
  21503. msgid "For instance, to add the North Frisian locale for Germany, the value of that field may be:"
  21504. msgstr ""
  21505. #. type: lisp
  21506. #: guix-git/doc/guix.texi:14835
  21507. #, no-wrap
  21508. msgid ""
  21509. "(cons (locale-definition\n"
  21510. " (name \"fy_DE.utf8\") (source \"fy_DE\"))\n"
  21511. " %default-locale-definitions)\n"
  21512. msgstr ""
  21513. #. type: Plain text
  21514. #: guix-git/doc/guix.texi:14839
  21515. msgid "Likewise, to save space, one might want @code{locale-definitions} to list only the locales that are actually used, as in:"
  21516. msgstr ""
  21517. #. type: lisp
  21518. #: guix-git/doc/guix.texi:14844
  21519. #, no-wrap
  21520. msgid ""
  21521. "(list (locale-definition\n"
  21522. " (name \"ja_JP.eucjp\") (source \"ja_JP\")\n"
  21523. " (charset \"EUC-JP\")))\n"
  21524. msgstr ""
  21525. #. type: Plain text
  21526. #: guix-git/doc/guix.texi:14853
  21527. 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})."
  21528. msgstr ""
  21529. #. type: Plain text
  21530. #: guix-git/doc/guix.texi:14856
  21531. msgid "The @code{locale-definition} form is provided by the @code{(gnu system locale)} module. Details are given below."
  21532. msgstr ""
  21533. #. type: deftp
  21534. #: guix-git/doc/guix.texi:14857
  21535. #, no-wrap
  21536. msgid "{Data Type} locale-definition"
  21537. msgstr ""
  21538. #. type: deftp
  21539. #: guix-git/doc/guix.texi:14859
  21540. msgid "This is the data type of a locale definition."
  21541. msgstr ""
  21542. #. type: table
  21543. #: guix-git/doc/guix.texi:14865
  21544. msgid "The name of the locale. @xref{Locale Names,,, libc, The GNU C Library Reference Manual}, for more information on locale names."
  21545. msgstr ""
  21546. #. type: table
  21547. #: guix-git/doc/guix.texi:14869
  21548. msgid "The name of the source for that locale. This is typically the @code{@var{language}_@var{territory}} part of the locale name."
  21549. msgstr ""
  21550. #. type: item
  21551. #: guix-git/doc/guix.texi:14870
  21552. #, no-wrap
  21553. msgid "@code{charset} (default: @code{\"UTF-8\"})"
  21554. msgstr ""
  21555. #. type: table
  21556. #: guix-git/doc/guix.texi:14874
  21557. msgid "The ``character set'' or ``code set'' for that locale, @uref{https://www.iana.org/assignments/character-sets, as defined by IANA}."
  21558. msgstr ""
  21559. #. type: defvr
  21560. #: guix-git/doc/guix.texi:14878
  21561. #, no-wrap
  21562. msgid "{Scheme Variable} %default-locale-definitions"
  21563. msgstr ""
  21564. #. type: defvr
  21565. #: guix-git/doc/guix.texi:14882
  21566. 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."
  21567. msgstr ""
  21568. #. type: cindex
  21569. #: guix-git/doc/guix.texi:14883
  21570. #, no-wrap
  21571. msgid "locale name"
  21572. msgstr ""
  21573. #. type: cindex
  21574. #: guix-git/doc/guix.texi:14884
  21575. #, no-wrap
  21576. msgid "normalized codeset in locale names"
  21577. msgstr ""
  21578. #. type: defvr
  21579. #: guix-git/doc/guix.texi:14890
  21580. 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}."
  21581. msgstr ""
  21582. #. type: subsection
  21583. #: guix-git/doc/guix.texi:14892
  21584. #, no-wrap
  21585. msgid "Locale Data Compatibility Considerations"
  21586. msgstr ""
  21587. #. type: cindex
  21588. #: guix-git/doc/guix.texi:14894
  21589. #, no-wrap
  21590. msgid "incompatibility, of locale data"
  21591. msgstr ""
  21592. #. type: Plain text
  21593. #: guix-git/doc/guix.texi:14901
  21594. 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."
  21595. msgstr ""
  21596. #. type: Plain text
  21597. #: guix-git/doc/guix.texi:14913
  21598. 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."
  21599. msgstr ""
  21600. #. type: Plain text
  21601. #: guix-git/doc/guix.texi:14918
  21602. 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."
  21603. msgstr ""
  21604. #. type: Plain text
  21605. #: guix-git/doc/guix.texi:14922
  21606. 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})."
  21607. msgstr ""
  21608. #. type: Plain text
  21609. #: guix-git/doc/guix.texi:14929
  21610. 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}:"
  21611. msgstr ""
  21612. #. type: lisp
  21613. #: guix-git/doc/guix.texi:14932
  21614. #, no-wrap
  21615. msgid ""
  21616. "(use-package-modules base)\n"
  21617. "\n"
  21618. msgstr ""
  21619. #. type: lisp
  21620. #: guix-git/doc/guix.texi:14936
  21621. #, no-wrap
  21622. msgid ""
  21623. "(operating-system\n"
  21624. " ;; @dots{}\n"
  21625. " (locale-libcs (list glibc-2.21 (canonical-package glibc))))\n"
  21626. msgstr ""
  21627. #. type: Plain text
  21628. #: guix-git/doc/guix.texi:14941
  21629. 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}."
  21630. msgstr ""
  21631. #. type: cindex
  21632. #: guix-git/doc/guix.texi:14946
  21633. #, no-wrap
  21634. msgid "system services"
  21635. msgstr ""
  21636. #. type: Plain text
  21637. #: guix-git/doc/guix.texi:14952
  21638. 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."
  21639. msgstr ""
  21640. #. type: Plain text
  21641. #: guix-git/doc/guix.texi:14959
  21642. 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:"
  21643. msgstr ""
  21644. #. type: example
  21645. #: guix-git/doc/guix.texi:14962
  21646. #, no-wrap
  21647. msgid "# herd status\n"
  21648. msgstr ""
  21649. #. type: Plain text
  21650. #: guix-git/doc/guix.texi:14967
  21651. 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:"
  21652. msgstr ""
  21653. #. type: example
  21654. #: guix-git/doc/guix.texi:14971
  21655. #, no-wrap
  21656. msgid ""
  21657. "# herd doc nscd\n"
  21658. "Run libc's name service cache daemon (nscd).\n"
  21659. "\n"
  21660. msgstr ""
  21661. #. type: example
  21662. #: guix-git/doc/guix.texi:14974
  21663. #, no-wrap
  21664. msgid ""
  21665. "# herd doc nscd action invalidate\n"
  21666. "invalidate: Invalidate the given cache--e.g., 'hosts' for host name lookups.\n"
  21667. msgstr ""
  21668. #. type: Plain text
  21669. #: guix-git/doc/guix.texi:14979
  21670. 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:"
  21671. msgstr ""
  21672. #. type: example
  21673. #: guix-git/doc/guix.texi:14986
  21674. #, no-wrap
  21675. msgid ""
  21676. "# herd stop nscd\n"
  21677. "Service nscd has been stopped.\n"
  21678. "# herd restart xorg-server\n"
  21679. "Service xorg-server has been stopped.\n"
  21680. "Service xorg-server has been started.\n"
  21681. msgstr ""
  21682. #. type: Plain text
  21683. #: guix-git/doc/guix.texi:14991
  21684. msgid "The following sections document the available services, starting with the core services, that may be used in an @code{operating-system} declaration."
  21685. msgstr ""
  21686. #. type: subsection
  21687. #: guix-git/doc/guix.texi:15026 guix-git/doc/guix.texi:23041
  21688. #: guix-git/doc/guix.texi:23042
  21689. #, no-wrap
  21690. msgid "File-Sharing Services"
  21691. msgstr ""
  21692. #. type: menuentry
  21693. #: guix-git/doc/guix.texi:15026
  21694. msgid "File-sharing services."
  21695. msgstr ""
  21696. #. type: Plain text
  21697. #: guix-git/doc/guix.texi:15034
  21698. 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."
  21699. msgstr ""
  21700. #. type: defvr
  21701. #: guix-git/doc/guix.texi:15035
  21702. #, no-wrap
  21703. msgid "{Scheme Variable} %base-services"
  21704. msgstr ""
  21705. #. type: defvr
  21706. #: guix-git/doc/guix.texi:15041
  21707. 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."
  21708. msgstr ""
  21709. #. type: defvr
  21710. #: guix-git/doc/guix.texi:15046
  21711. 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:"
  21712. msgstr ""
  21713. #. type: lisp
  21714. #: guix-git/doc/guix.texi:15051
  21715. #, no-wrap
  21716. msgid ""
  21717. "(append (list (service avahi-service-type)\n"
  21718. " (service openssh-service-type))\n"
  21719. " %base-services)\n"
  21720. msgstr ""
  21721. #. type: defvr
  21722. #: guix-git/doc/guix.texi:15054
  21723. #, no-wrap
  21724. msgid "{Scheme Variable} special-files-service-type"
  21725. msgstr ""
  21726. #. type: defvr
  21727. #: guix-git/doc/guix.texi:15057
  21728. 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}."
  21729. msgstr ""
  21730. #. type: defvr
  21731. #: guix-git/doc/guix.texi:15061
  21732. 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:"
  21733. msgstr ""
  21734. #. type: file{#1}
  21735. #: guix-git/doc/guix.texi:15062
  21736. #, no-wrap
  21737. msgid "/bin/sh"
  21738. msgstr ""
  21739. #. type: cindex
  21740. #: guix-git/doc/guix.texi:15063
  21741. #, no-wrap
  21742. msgid "@file{sh}, in @file{/bin}"
  21743. msgstr ""
  21744. #. type: lisp
  21745. #: guix-git/doc/guix.texi:15066
  21746. #, no-wrap
  21747. msgid "`((\"/bin/sh\" ,(file-append bash \"/bin/sh\")))\n"
  21748. msgstr ""
  21749. #. type: file{#1}
  21750. #: guix-git/doc/guix.texi:15068
  21751. #, no-wrap
  21752. msgid "/usr/bin/env"
  21753. msgstr ""
  21754. #. type: cindex
  21755. #: guix-git/doc/guix.texi:15069
  21756. #, no-wrap
  21757. msgid "@file{env}, in @file{/usr/bin}"
  21758. msgstr ""
  21759. #. type: defvr
  21760. #: guix-git/doc/guix.texi:15072
  21761. msgid "If you want to add, say, @code{/usr/bin/env} to your system, you can change it to:"
  21762. msgstr ""
  21763. #. type: lisp
  21764. #: guix-git/doc/guix.texi:15076
  21765. #, no-wrap
  21766. msgid ""
  21767. "`((\"/bin/sh\" ,(file-append bash \"/bin/sh\"))\n"
  21768. " (\"/usr/bin/env\" ,(file-append coreutils \"/bin/env\")))\n"
  21769. msgstr ""
  21770. #. type: defvr
  21771. #: guix-git/doc/guix.texi:15083
  21772. 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)."
  21773. msgstr ""
  21774. #. type: deffn
  21775. #: guix-git/doc/guix.texi:15085
  21776. #, no-wrap
  21777. msgid "{Scheme Procedure} extra-special-file @var{file} @var{target}"
  21778. msgstr ""
  21779. #. type: deffn
  21780. #: guix-git/doc/guix.texi:15087
  21781. msgid "Use @var{target} as the ``special file'' @var{file}."
  21782. msgstr ""
  21783. #. type: deffn
  21784. #: guix-git/doc/guix.texi:15091
  21785. 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:"
  21786. msgstr ""
  21787. #. type: lisp
  21788. #: guix-git/doc/guix.texi:15095
  21789. #, no-wrap
  21790. msgid ""
  21791. "(extra-special-file \"/usr/bin/env\"\n"
  21792. " (file-append coreutils \"/bin/env\"))\n"
  21793. msgstr ""
  21794. #. type: deffn
  21795. #: guix-git/doc/guix.texi:15098
  21796. #, no-wrap
  21797. msgid "{Scheme Procedure} host-name-service @var{name}"
  21798. msgstr ""
  21799. #. type: deffn
  21800. #: guix-git/doc/guix.texi:15100
  21801. msgid "Return a service that sets the host name to @var{name}."
  21802. msgstr ""
  21803. #. type: defvr
  21804. #: guix-git/doc/guix.texi:15102
  21805. #, no-wrap
  21806. msgid "{Scheme Variable} console-font-service-type"
  21807. msgstr ""
  21808. #. type: defvr
  21809. #: guix-git/doc/guix.texi:15107
  21810. 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:"
  21811. msgstr ""
  21812. #. type: lisp
  21813. #: guix-git/doc/guix.texi:15116
  21814. #, no-wrap
  21815. msgid ""
  21816. "`((\"tty1\" . \"LatGrkCyr-8x16\")\n"
  21817. " (\"tty2\" . ,(file-append\n"
  21818. " font-tamzen\n"
  21819. " \"/share/kbd/consolefonts/TamzenForPowerline10x20.psf\"))\n"
  21820. " (\"tty3\" . ,(file-append\n"
  21821. " font-terminus\n"
  21822. " \"/share/consolefonts/ter-132n\"))) ; for HDPI\n"
  21823. msgstr ""
  21824. #. type: deffn
  21825. #: guix-git/doc/guix.texi:15119
  21826. #, no-wrap
  21827. msgid "{Scheme Procedure} login-service @var{config}"
  21828. msgstr ""
  21829. #. type: deffn
  21830. #: guix-git/doc/guix.texi:15123
  21831. 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."
  21832. msgstr ""
  21833. #. type: deftp
  21834. #: guix-git/doc/guix.texi:15125
  21835. #, no-wrap
  21836. msgid "{Data Type} login-configuration"
  21837. msgstr ""
  21838. #. type: deftp
  21839. #: guix-git/doc/guix.texi:15127
  21840. msgid "This is the data type representing the configuration of login."
  21841. msgstr ""
  21842. #. type: code{#1}
  21843. #: guix-git/doc/guix.texi:15130
  21844. #, no-wrap
  21845. msgid "motd"
  21846. msgstr ""
  21847. #. type: cindex
  21848. #: guix-git/doc/guix.texi:15131
  21849. #, no-wrap
  21850. msgid "message of the day"
  21851. msgstr ""
  21852. #. type: table
  21853. #: guix-git/doc/guix.texi:15133
  21854. msgid "A file-like object containing the ``message of the day''."
  21855. msgstr ""
  21856. #. type: item
  21857. #: guix-git/doc/guix.texi:15134 guix-git/doc/guix.texi:18130
  21858. #, no-wrap
  21859. msgid "@code{allow-empty-passwords?} (default: @code{#t})"
  21860. msgstr ""
  21861. #. type: table
  21862. #: guix-git/doc/guix.texi:15137
  21863. msgid "Allow empty passwords by default so that first-time users can log in when the 'root' account has just been created."
  21864. msgstr ""
  21865. #. type: deffn
  21866. #: guix-git/doc/guix.texi:15141
  21867. #, no-wrap
  21868. msgid "{Scheme Procedure} mingetty-service @var{config}"
  21869. msgstr ""
  21870. #. type: deffn
  21871. #: guix-git/doc/guix.texi:15145
  21872. 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."
  21873. msgstr ""
  21874. #. type: deftp
  21875. #: guix-git/doc/guix.texi:15147
  21876. #, no-wrap
  21877. msgid "{Data Type} mingetty-configuration"
  21878. msgstr ""
  21879. #. type: deftp
  21880. #: guix-git/doc/guix.texi:15150
  21881. msgid "This is the data type representing the configuration of Mingetty, which provides the default implementation of virtual console log-in."
  21882. msgstr ""
  21883. #. type: code{#1}
  21884. #: guix-git/doc/guix.texi:15153 guix-git/doc/guix.texi:15192
  21885. #: guix-git/doc/guix.texi:32192
  21886. #, no-wrap
  21887. msgid "tty"
  21888. msgstr ""
  21889. #. type: table
  21890. #: guix-git/doc/guix.texi:15155
  21891. msgid "The name of the console this Mingetty runs on---e.g., @code{\"tty1\"}."
  21892. msgstr ""
  21893. #. type: item
  21894. #: guix-git/doc/guix.texi:15156 guix-git/doc/guix.texi:15221
  21895. #: guix-git/doc/guix.texi:15380
  21896. #, no-wrap
  21897. msgid "@code{auto-login} (default: @code{#f})"
  21898. msgstr ""
  21899. #. type: table
  21900. #: guix-git/doc/guix.texi:15160
  21901. 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."
  21902. msgstr ""
  21903. #. type: item
  21904. #: guix-git/doc/guix.texi:15161
  21905. #, no-wrap
  21906. msgid "@code{login-program} (default: @code{#f})"
  21907. msgstr ""
  21908. #. type: table
  21909. #: guix-git/doc/guix.texi:15165
  21910. 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."
  21911. msgstr ""
  21912. #. type: item
  21913. #: guix-git/doc/guix.texi:15166
  21914. #, no-wrap
  21915. msgid "@code{login-pause?} (default: @code{#f})"
  21916. msgstr ""
  21917. #. type: table
  21918. #: guix-git/doc/guix.texi:15169
  21919. 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."
  21920. msgstr ""
  21921. #. type: item
  21922. #: guix-git/doc/guix.texi:15170
  21923. #, no-wrap
  21924. msgid "@code{clear-on-logout?} (default: @code{#t})"
  21925. msgstr ""
  21926. #. type: table
  21927. #: guix-git/doc/guix.texi:15172
  21928. msgid "When set to @code{#t}, the screen will be cleared after logout."
  21929. msgstr ""
  21930. #. type: item
  21931. #: guix-git/doc/guix.texi:15173
  21932. #, no-wrap
  21933. msgid "@code{mingetty} (default: @var{mingetty})"
  21934. msgstr ""
  21935. #. type: table
  21936. #: guix-git/doc/guix.texi:15175
  21937. msgid "The Mingetty package to use."
  21938. msgstr ""
  21939. #. type: deffn
  21940. #: guix-git/doc/guix.texi:15179
  21941. #, no-wrap
  21942. msgid "{Scheme Procedure} agetty-service @var{config}"
  21943. msgstr ""
  21944. #. type: deffn
  21945. #: guix-git/doc/guix.texi:15183
  21946. 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."
  21947. msgstr ""
  21948. #. type: deftp
  21949. #: guix-git/doc/guix.texi:15185
  21950. #, no-wrap
  21951. msgid "{Data Type} agetty-configuration"
  21952. msgstr ""
  21953. #. type: deftp
  21954. #: guix-git/doc/guix.texi:15189
  21955. 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."
  21956. msgstr ""
  21957. #. type: table
  21958. #: guix-git/doc/guix.texi:15196
  21959. 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."
  21960. msgstr ""
  21961. #. type: table
  21962. #: guix-git/doc/guix.texi:15200
  21963. 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."
  21964. msgstr ""
  21965. #. type: table
  21966. #: guix-git/doc/guix.texi:15204
  21967. 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."
  21968. msgstr ""
  21969. #. type: table
  21970. #: guix-git/doc/guix.texi:15208
  21971. 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."
  21972. msgstr ""
  21973. #. type: item
  21974. #: guix-git/doc/guix.texi:15209 guix-git/doc/guix.texi:32353
  21975. #, no-wrap
  21976. msgid "@code{baud-rate} (default: @code{#f})"
  21977. msgstr ""
  21978. #. type: table
  21979. #: guix-git/doc/guix.texi:15212
  21980. msgid "A string containing a comma-separated list of one or more baud rates, in descending order."
  21981. msgstr ""
  21982. #. type: item
  21983. #: guix-git/doc/guix.texi:15213
  21984. #, no-wrap
  21985. msgid "@code{term} (default: @code{#f})"
  21986. msgstr ""
  21987. #. type: table
  21988. #: guix-git/doc/guix.texi:15216
  21989. msgid "A string containing the value used for the @env{TERM} environment variable."
  21990. msgstr ""
  21991. #. type: item
  21992. #: guix-git/doc/guix.texi:15217
  21993. #, no-wrap
  21994. msgid "@code{eight-bits?} (default: @code{#f})"
  21995. msgstr ""
  21996. #. type: table
  21997. #: guix-git/doc/guix.texi:15220
  21998. msgid "When @code{#t}, the tty is assumed to be 8-bit clean, and parity detection is disabled."
  21999. msgstr ""
  22000. #. type: table
  22001. #: guix-git/doc/guix.texi:15224 guix-git/doc/guix.texi:15383
  22002. 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."
  22003. msgstr ""
  22004. #. type: item
  22005. #: guix-git/doc/guix.texi:15225
  22006. #, no-wrap
  22007. msgid "@code{no-reset?} (default: @code{#f})"
  22008. msgstr ""
  22009. #. type: table
  22010. #: guix-git/doc/guix.texi:15227
  22011. msgid "When @code{#t}, don't reset terminal cflags (control modes)."
  22012. msgstr ""
  22013. #. type: item
  22014. #: guix-git/doc/guix.texi:15228
  22015. #, no-wrap
  22016. msgid "@code{host} (default: @code{#f})"
  22017. msgstr ""
  22018. #. type: table
  22019. #: guix-git/doc/guix.texi:15231
  22020. msgid "This accepts a string containing the ``login_host'', which will be written into the @file{/var/run/utmpx} file."
  22021. msgstr ""
  22022. #. type: item
  22023. #: guix-git/doc/guix.texi:15232
  22024. #, no-wrap
  22025. msgid "@code{remote?} (default: @code{#f})"
  22026. msgstr ""
  22027. #. type: table
  22028. #: guix-git/doc/guix.texi:15236
  22029. 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}."
  22030. msgstr ""
  22031. #. type: item
  22032. #: guix-git/doc/guix.texi:15237
  22033. #, no-wrap
  22034. msgid "@code{flow-control?} (default: @code{#f})"
  22035. msgstr ""
  22036. #. type: table
  22037. #: guix-git/doc/guix.texi:15239
  22038. msgid "When set to @code{#t}, enable hardware (RTS/CTS) flow control."
  22039. msgstr ""
  22040. #. type: item
  22041. #: guix-git/doc/guix.texi:15240
  22042. #, no-wrap
  22043. msgid "@code{no-issue?} (default: @code{#f})"
  22044. msgstr ""
  22045. #. type: table
  22046. #: guix-git/doc/guix.texi:15243
  22047. msgid "When set to @code{#t}, the contents of the @file{/etc/issue} file will not be displayed before presenting the login prompt."
  22048. msgstr ""
  22049. #. type: item
  22050. #: guix-git/doc/guix.texi:15244
  22051. #, no-wrap
  22052. msgid "@code{init-string} (default: @code{#f})"
  22053. msgstr ""
  22054. #. type: table
  22055. #: guix-git/doc/guix.texi:15247
  22056. 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."
  22057. msgstr ""
  22058. #. type: item
  22059. #: guix-git/doc/guix.texi:15248
  22060. #, no-wrap
  22061. msgid "@code{no-clear?} (default: @code{#f})"
  22062. msgstr ""
  22063. #. type: table
  22064. #: guix-git/doc/guix.texi:15251
  22065. msgid "When set to @code{#t}, agetty will not clear the screen before showing the login prompt."
  22066. msgstr ""
  22067. #. type: item
  22068. #: guix-git/doc/guix.texi:15252
  22069. #, no-wrap
  22070. msgid "@code{login-program} (default: (file-append shadow \"/bin/login\"))"
  22071. msgstr ""
  22072. #. type: table
  22073. #: guix-git/doc/guix.texi:15256
  22074. 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."
  22075. msgstr ""
  22076. #. type: item
  22077. #: guix-git/doc/guix.texi:15257
  22078. #, no-wrap
  22079. msgid "@code{local-line} (default: @code{#f})"
  22080. msgstr ""
  22081. #. type: table
  22082. #: guix-git/doc/guix.texi:15261
  22083. 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}."
  22084. msgstr ""
  22085. #. type: item
  22086. #: guix-git/doc/guix.texi:15262
  22087. #, no-wrap
  22088. msgid "@code{extract-baud?} (default: @code{#f})"
  22089. msgstr ""
  22090. #. type: table
  22091. #: guix-git/doc/guix.texi:15265
  22092. 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."
  22093. msgstr ""
  22094. #. type: item
  22095. #: guix-git/doc/guix.texi:15266
  22096. #, no-wrap
  22097. msgid "@code{skip-login?} (default: @code{#f})"
  22098. msgstr ""
  22099. #. type: table
  22100. #: guix-git/doc/guix.texi:15270
  22101. 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."
  22102. msgstr ""
  22103. #. type: item
  22104. #: guix-git/doc/guix.texi:15271
  22105. #, no-wrap
  22106. msgid "@code{no-newline?} (default: @code{#f})"
  22107. msgstr ""
  22108. #. type: table
  22109. #: guix-git/doc/guix.texi:15274
  22110. msgid "When set to @code{#t}, do not print a newline before printing the @file{/etc/issue} file."
  22111. msgstr ""
  22112. #. type: item
  22113. #: guix-git/doc/guix.texi:15276
  22114. #, no-wrap
  22115. msgid "@code{login-options} (default: @code{#f})"
  22116. msgstr ""
  22117. #. type: table
  22118. #: guix-git/doc/guix.texi:15281
  22119. 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."
  22120. msgstr ""
  22121. #. type: item
  22122. #: guix-git/doc/guix.texi:15282
  22123. #, no-wrap
  22124. msgid "@code{login-pause} (default: @code{#f})"
  22125. msgstr ""
  22126. #. type: table
  22127. #: guix-git/doc/guix.texi:15286
  22128. 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."
  22129. msgstr ""
  22130. #. type: item
  22131. #: guix-git/doc/guix.texi:15287
  22132. #, no-wrap
  22133. msgid "@code{chroot} (default: @code{#f})"
  22134. msgstr ""
  22135. #. type: table
  22136. #: guix-git/doc/guix.texi:15290
  22137. msgid "Change root to the specified directory. This option accepts a directory path as a string."
  22138. msgstr ""
  22139. #. type: item
  22140. #: guix-git/doc/guix.texi:15291
  22141. #, no-wrap
  22142. msgid "@code{hangup?} (default: @code{#f})"
  22143. msgstr ""
  22144. #. type: table
  22145. #: guix-git/doc/guix.texi:15294
  22146. msgid "Use the Linux system call @code{vhangup} to do a virtual hangup of the specified terminal."
  22147. msgstr ""
  22148. #. type: item
  22149. #: guix-git/doc/guix.texi:15295
  22150. #, no-wrap
  22151. msgid "@code{keep-baud?} (default: @code{#f})"
  22152. msgstr ""
  22153. #. type: table
  22154. #: guix-git/doc/guix.texi:15299
  22155. 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."
  22156. msgstr ""
  22157. #. type: item
  22158. #: guix-git/doc/guix.texi:15300
  22159. #, no-wrap
  22160. msgid "@code{timeout} (default: @code{#f})"
  22161. msgstr ""
  22162. #. type: table
  22163. #: guix-git/doc/guix.texi:15303
  22164. msgid "When set to an integer value, terminate if no user name could be read within @var{timeout} seconds."
  22165. msgstr ""
  22166. #. type: item
  22167. #: guix-git/doc/guix.texi:15304
  22168. #, no-wrap
  22169. msgid "@code{detect-case?} (default: @code{#f})"
  22170. msgstr ""
  22171. #. type: table
  22172. #: guix-git/doc/guix.texi:15310
  22173. 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."
  22174. msgstr ""
  22175. #. type: item
  22176. #: guix-git/doc/guix.texi:15311
  22177. #, no-wrap
  22178. msgid "@code{wait-cr?} (default: @code{#f})"
  22179. msgstr ""
  22180. #. type: table
  22181. #: guix-git/doc/guix.texi:15316
  22182. 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."
  22183. msgstr ""
  22184. #. type: item
  22185. #: guix-git/doc/guix.texi:15317
  22186. #, no-wrap
  22187. msgid "@code{no-hints?} (default: @code{#f})"
  22188. msgstr ""
  22189. #. type: table
  22190. #: guix-git/doc/guix.texi:15320
  22191. msgid "When set to @code{#t}, do not print hints about Num, Caps, and Scroll locks."
  22192. msgstr ""
  22193. #. type: item
  22194. #: guix-git/doc/guix.texi:15321
  22195. #, no-wrap
  22196. msgid "@code{no-hostname?} (default: @code{#f})"
  22197. msgstr ""
  22198. #. type: table
  22199. #: guix-git/doc/guix.texi:15324
  22200. msgid "By default, the hostname is printed. When this option is set to @code{#t}, no hostname will be shown at all."
  22201. msgstr ""
  22202. #. type: item
  22203. #: guix-git/doc/guix.texi:15325
  22204. #, no-wrap
  22205. msgid "@code{long-hostname?} (default: @code{#f})"
  22206. msgstr ""
  22207. #. type: table
  22208. #: guix-git/doc/guix.texi:15329
  22209. 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."
  22210. msgstr ""
  22211. #. type: item
  22212. #: guix-git/doc/guix.texi:15330
  22213. #, no-wrap
  22214. msgid "@code{erase-characters} (default: @code{#f})"
  22215. msgstr ""
  22216. #. type: table
  22217. #: guix-git/doc/guix.texi:15333
  22218. msgid "This option accepts a string of additional characters that should be interpreted as backspace when the user types their login name."
  22219. msgstr ""
  22220. #. type: item
  22221. #: guix-git/doc/guix.texi:15334
  22222. #, no-wrap
  22223. msgid "@code{kill-characters} (default: @code{#f})"
  22224. msgstr ""
  22225. #. type: table
  22226. #: guix-git/doc/guix.texi:15338
  22227. 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."
  22228. msgstr ""
  22229. #. type: item
  22230. #: guix-git/doc/guix.texi:15339
  22231. #, no-wrap
  22232. msgid "@code{chdir} (default: @code{#f})"
  22233. msgstr ""
  22234. #. type: table
  22235. #: guix-git/doc/guix.texi:15342
  22236. msgid "This option accepts, as a string, a directory path that will be changed to before login."
  22237. msgstr ""
  22238. #. type: item
  22239. #: guix-git/doc/guix.texi:15343
  22240. #, no-wrap
  22241. msgid "@code{delay} (default: @code{#f})"
  22242. msgstr ""
  22243. #. type: table
  22244. #: guix-git/doc/guix.texi:15346
  22245. msgid "This options accepts, as an integer, the number of seconds to sleep before opening the tty and displaying the login prompt."
  22246. msgstr ""
  22247. #. type: item
  22248. #: guix-git/doc/guix.texi:15347
  22249. #, no-wrap
  22250. msgid "@code{nice} (default: @code{#f})"
  22251. msgstr ""
  22252. #. type: table
  22253. #: guix-git/doc/guix.texi:15350
  22254. msgid "This option accepts, as an integer, the nice value with which to run the @command{login} program."
  22255. msgstr ""
  22256. #. type: item
  22257. #: guix-git/doc/guix.texi:15351 guix-git/doc/guix.texi:15639
  22258. #: guix-git/doc/guix.texi:16510 guix-git/doc/guix.texi:24024
  22259. #: guix-git/doc/guix.texi:25500 guix-git/doc/guix.texi:27907
  22260. #: guix-git/doc/guix.texi:28702 guix-git/doc/guix.texi:30402
  22261. #: guix-git/doc/guix.texi:32683
  22262. #, no-wrap
  22263. msgid "@code{extra-options} (default: @code{'()})"
  22264. msgstr ""
  22265. #. type: table
  22266. #: guix-git/doc/guix.texi:15354
  22267. msgid "This option provides an ``escape hatch'' for the user to provide arbitrary command-line arguments to @command{agetty} as a list of strings."
  22268. msgstr ""
  22269. #. type: deffn
  22270. #: guix-git/doc/guix.texi:15358
  22271. #, no-wrap
  22272. msgid "{Scheme Procedure} kmscon-service-type @var{config}"
  22273. msgstr ""
  22274. #. type: deffn
  22275. #: guix-git/doc/guix.texi:15362
  22276. 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."
  22277. msgstr ""
  22278. #. type: deftp
  22279. #: guix-git/doc/guix.texi:15364
  22280. #, no-wrap
  22281. msgid "{Data Type} kmscon-configuration"
  22282. msgstr ""
  22283. #. type: deftp
  22284. #: guix-git/doc/guix.texi:15367
  22285. msgid "This is the data type representing the configuration of Kmscon, which implements virtual console log-in."
  22286. msgstr ""
  22287. #. type: code{#1}
  22288. #: guix-git/doc/guix.texi:15370
  22289. #, no-wrap
  22290. msgid "virtual-terminal"
  22291. msgstr ""
  22292. #. type: table
  22293. #: guix-git/doc/guix.texi:15372
  22294. msgid "The name of the console this Kmscon runs on---e.g., @code{\"tty1\"}."
  22295. msgstr ""
  22296. #. type: item
  22297. #: guix-git/doc/guix.texi:15373
  22298. #, no-wrap
  22299. msgid "@code{login-program} (default: @code{#~(string-append #$shadow \"/bin/login\")})"
  22300. msgstr ""
  22301. #. type: table
  22302. #: guix-git/doc/guix.texi:15376
  22303. msgid "A gexp denoting the name of the log-in program. The default log-in program is @command{login} from the Shadow tool suite."
  22304. msgstr ""
  22305. #. type: item
  22306. #: guix-git/doc/guix.texi:15377
  22307. #, no-wrap
  22308. msgid "@code{login-arguments} (default: @code{'(\"-p\")})"
  22309. msgstr ""
  22310. #. type: table
  22311. #: guix-git/doc/guix.texi:15379
  22312. msgid "A list of arguments to pass to @command{login}."
  22313. msgstr ""
  22314. #. type: item
  22315. #: guix-git/doc/guix.texi:15384
  22316. #, no-wrap
  22317. msgid "@code{hardware-acceleration?} (default: #f)"
  22318. msgstr ""
  22319. #. type: table
  22320. #: guix-git/doc/guix.texi:15386
  22321. msgid "Whether to use hardware acceleration."
  22322. msgstr ""
  22323. #. type: item
  22324. #: guix-git/doc/guix.texi:15387
  22325. #, no-wrap
  22326. msgid "@code{font-engine} (default: @code{\"pango\"})"
  22327. msgstr ""
  22328. #. type: table
  22329. #: guix-git/doc/guix.texi:15389
  22330. msgid "Font engine used in Kmscon."
  22331. msgstr ""
  22332. #. type: item
  22333. #: guix-git/doc/guix.texi:15390
  22334. #, no-wrap
  22335. msgid "@code{font-size} (default: @code{12})"
  22336. msgstr ""
  22337. #. type: table
  22338. #: guix-git/doc/guix.texi:15392
  22339. msgid "Font size used in Kmscon."
  22340. msgstr ""
  22341. #. type: table
  22342. #: guix-git/doc/guix.texi:15396
  22343. msgid "If this is @code{#f}, Kmscon uses the default keyboard layout---usually US English (``qwerty'') for a 105-key PC keyboard."
  22344. msgstr ""
  22345. #. type: table
  22346. #: guix-git/doc/guix.texi:15400
  22347. msgid "Otherwise this must be a @code{keyboard-layout} object specifying the keyboard layout. @xref{Keyboard Layout}, for more information on how to specify the keyboard layout."
  22348. msgstr ""
  22349. #. type: item
  22350. #: guix-git/doc/guix.texi:15401
  22351. #, no-wrap
  22352. msgid "@code{kmscon} (default: @var{kmscon})"
  22353. msgstr ""
  22354. #. type: table
  22355. #: guix-git/doc/guix.texi:15403
  22356. msgid "The Kmscon package to use."
  22357. msgstr ""
  22358. #. type: cindex
  22359. #: guix-git/doc/guix.texi:15407
  22360. #, no-wrap
  22361. msgid "name service cache daemon"
  22362. msgstr ""
  22363. #. type: cindex
  22364. #: guix-git/doc/guix.texi:15408
  22365. #, no-wrap
  22366. msgid "nscd"
  22367. msgstr ""
  22368. #. type: deffn
  22369. #: guix-git/doc/guix.texi:15409
  22370. #, no-wrap
  22371. msgid "{Scheme Procedure} nscd-service [@var{config}] [#:glibc glibc] @"
  22372. msgstr ""
  22373. #. type: deffn
  22374. #: guix-git/doc/guix.texi:15414
  22375. 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."
  22376. msgstr ""
  22377. #. type: deffn
  22378. #: guix-git/doc/guix.texi:15416
  22379. msgid "For convenience, the Shepherd service for nscd provides the following actions:"
  22380. msgstr ""
  22381. #. type: item
  22382. #: guix-git/doc/guix.texi:15418
  22383. #, no-wrap
  22384. msgid "invalidate"
  22385. msgstr ""
  22386. #. type: cindex
  22387. #: guix-git/doc/guix.texi:15419
  22388. #, no-wrap
  22389. msgid "cache invalidation, nscd"
  22390. msgstr ""
  22391. #. type: cindex
  22392. #: guix-git/doc/guix.texi:15420
  22393. #, no-wrap
  22394. msgid "nscd, cache invalidation"
  22395. msgstr ""
  22396. #. type: table
  22397. #: guix-git/doc/guix.texi:15422
  22398. msgid "This invalidate the given cache. For instance, running:"
  22399. msgstr ""
  22400. #. type: example
  22401. #: guix-git/doc/guix.texi:15425
  22402. #, no-wrap
  22403. msgid "herd invalidate nscd hosts\n"
  22404. msgstr ""
  22405. #. type: table
  22406. #: guix-git/doc/guix.texi:15429
  22407. msgid "invalidates the host name lookup cache of nscd."
  22408. msgstr ""
  22409. #. type: item
  22410. #: guix-git/doc/guix.texi:15430
  22411. #, no-wrap
  22412. msgid "statistics"
  22413. msgstr ""
  22414. #. type: table
  22415. #: guix-git/doc/guix.texi:15433
  22416. msgid "Running @command{herd statistics nscd} displays information about nscd usage and caches."
  22417. msgstr ""
  22418. #. type: defvr
  22419. #: guix-git/doc/guix.texi:15437
  22420. #, no-wrap
  22421. msgid "{Scheme Variable} %nscd-default-configuration"
  22422. msgstr ""
  22423. #. type: defvr
  22424. #: guix-git/doc/guix.texi:15441
  22425. 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."
  22426. msgstr ""
  22427. #. type: deftp
  22428. #: guix-git/doc/guix.texi:15443
  22429. #, no-wrap
  22430. msgid "{Data Type} nscd-configuration"
  22431. msgstr ""
  22432. #. type: deftp
  22433. #: guix-git/doc/guix.texi:15446
  22434. msgid "This is the data type representing the name service cache daemon (nscd) configuration."
  22435. msgstr ""
  22436. #. type: item
  22437. #: guix-git/doc/guix.texi:15449
  22438. #, no-wrap
  22439. msgid "@code{name-services} (default: @code{'()})"
  22440. msgstr ""
  22441. #. type: table
  22442. #: guix-git/doc/guix.texi:15452
  22443. msgid "List of packages denoting @dfn{name services} that must be visible to the nscd---e.g., @code{(list @var{nss-mdns})}."
  22444. msgstr ""
  22445. #. type: item
  22446. #: guix-git/doc/guix.texi:15453
  22447. #, no-wrap
  22448. msgid "@code{glibc} (default: @var{glibc})"
  22449. msgstr ""
  22450. #. type: table
  22451. #: guix-git/doc/guix.texi:15456
  22452. msgid "Package object denoting the GNU C Library providing the @command{nscd} command."
  22453. msgstr ""
  22454. #. type: item
  22455. #: guix-git/doc/guix.texi:15457
  22456. #, no-wrap
  22457. msgid "@code{log-file} (default: @code{\"/var/log/nscd.log\"})"
  22458. msgstr ""
  22459. #. type: table
  22460. #: guix-git/doc/guix.texi:15460
  22461. msgid "Name of the nscd log file. This is where debugging output goes when @code{debug-level} is strictly positive."
  22462. msgstr ""
  22463. #. type: item
  22464. #: guix-git/doc/guix.texi:15461
  22465. #, no-wrap
  22466. msgid "@code{debug-level} (default: @code{0})"
  22467. msgstr ""
  22468. #. type: table
  22469. #: guix-git/doc/guix.texi:15464
  22470. msgid "Integer denoting the debugging levels. Higher numbers mean that more debugging output is logged."
  22471. msgstr ""
  22472. #. type: item
  22473. #: guix-git/doc/guix.texi:15465
  22474. #, no-wrap
  22475. msgid "@code{caches} (default: @code{%nscd-default-caches})"
  22476. msgstr ""
  22477. #. type: table
  22478. #: guix-git/doc/guix.texi:15468
  22479. msgid "List of @code{<nscd-cache>} objects denoting things to be cached; see below."
  22480. msgstr ""
  22481. #. type: deftp
  22482. #: guix-git/doc/guix.texi:15472
  22483. #, no-wrap
  22484. msgid "{Data Type} nscd-cache"
  22485. msgstr ""
  22486. #. type: deftp
  22487. #: guix-git/doc/guix.texi:15474
  22488. msgid "Data type representing a cache database of nscd and its parameters."
  22489. msgstr ""
  22490. #. type: cindex
  22491. #: guix-git/doc/guix.texi:15477 guix-git/doc/guix.texi:19914
  22492. #, no-wrap
  22493. msgid "database"
  22494. msgstr ""
  22495. #. type: table
  22496. #: guix-git/doc/guix.texi:15482
  22497. 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})."
  22498. msgstr ""
  22499. #. type: code{#1}
  22500. #: guix-git/doc/guix.texi:15483
  22501. #, no-wrap
  22502. msgid "positive-time-to-live"
  22503. msgstr ""
  22504. #. type: itemx
  22505. #: guix-git/doc/guix.texi:15484
  22506. #, no-wrap
  22507. msgid "@code{negative-time-to-live} (default: @code{20})"
  22508. msgstr ""
  22509. #. type: table
  22510. #: guix-git/doc/guix.texi:15487
  22511. msgid "A number representing the number of seconds during which a positive or negative lookup result remains in cache."
  22512. msgstr ""
  22513. #. type: item
  22514. #: guix-git/doc/guix.texi:15488
  22515. #, no-wrap
  22516. msgid "@code{check-files?} (default: @code{#t})"
  22517. msgstr ""
  22518. #. type: table
  22519. #: guix-git/doc/guix.texi:15491
  22520. msgid "Whether to check for updates of the files corresponding to @var{database}."
  22521. msgstr ""
  22522. #. type: table
  22523. #: guix-git/doc/guix.texi:15495
  22524. 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."
  22525. msgstr ""
  22526. #. type: item
  22527. #: guix-git/doc/guix.texi:15496
  22528. #, no-wrap
  22529. msgid "@code{persistent?} (default: @code{#t})"
  22530. msgstr ""
  22531. #. type: table
  22532. #: guix-git/doc/guix.texi:15498
  22533. msgid "Whether the cache should be stored persistently on disk."
  22534. msgstr ""
  22535. #. type: item
  22536. #: guix-git/doc/guix.texi:15499
  22537. #, no-wrap
  22538. msgid "@code{shared?} (default: @code{#t})"
  22539. msgstr ""
  22540. #. type: table
  22541. #: guix-git/doc/guix.texi:15501
  22542. msgid "Whether the cache should be shared among users."
  22543. msgstr ""
  22544. #. type: item
  22545. #: guix-git/doc/guix.texi:15502
  22546. #, no-wrap
  22547. msgid "@code{max-database-size} (default: 32@tie{}MiB)"
  22548. msgstr ""
  22549. #. type: table
  22550. #: guix-git/doc/guix.texi:15504
  22551. msgid "Maximum size in bytes of the database cache."
  22552. msgstr ""
  22553. #. type: defvr
  22554. #: guix-git/doc/guix.texi:15511
  22555. #, no-wrap
  22556. msgid "{Scheme Variable} %nscd-default-caches"
  22557. msgstr ""
  22558. #. type: defvr
  22559. #: guix-git/doc/guix.texi:15514
  22560. msgid "List of @code{<nscd-cache>} objects used by default by @code{nscd-configuration} (see above)."
  22561. msgstr ""
  22562. #. type: defvr
  22563. #: guix-git/doc/guix.texi:15520
  22564. 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."
  22565. msgstr ""
  22566. #. type: anchor{#1}
  22567. #: guix-git/doc/guix.texi:15523
  22568. msgid "syslog-configuration-type"
  22569. msgstr ""
  22570. #. type: cindex
  22571. #: guix-git/doc/guix.texi:15523 guix-git/doc/guix.texi:15539
  22572. #, no-wrap
  22573. msgid "syslog"
  22574. msgstr ""
  22575. #. type: cindex
  22576. #: guix-git/doc/guix.texi:15524 guix-git/doc/guix.texi:16110
  22577. #, no-wrap
  22578. msgid "logging"
  22579. msgstr ""
  22580. #. type: deftp
  22581. #: guix-git/doc/guix.texi:15525
  22582. #, no-wrap
  22583. msgid "{Data Type} syslog-configuration"
  22584. msgstr ""
  22585. #. type: deftp
  22586. #: guix-git/doc/guix.texi:15527
  22587. msgid "This data type represents the configuration of the syslog daemon."
  22588. msgstr ""
  22589. #. type: item
  22590. #: guix-git/doc/guix.texi:15529
  22591. #, no-wrap
  22592. msgid "@code{syslogd} (default: @code{#~(string-append #$inetutils \"/libexec/syslogd\")})"
  22593. msgstr ""
  22594. #. type: table
  22595. #: guix-git/doc/guix.texi:15531
  22596. msgid "The syslog daemon to use."
  22597. msgstr ""
  22598. #. type: item
  22599. #: guix-git/doc/guix.texi:15532
  22600. #, no-wrap
  22601. msgid "@code{config-file} (default: @code{%default-syslog.conf})"
  22602. msgstr ""
  22603. #. type: table
  22604. #: guix-git/doc/guix.texi:15534
  22605. msgid "The syslog configuration file to use."
  22606. msgstr ""
  22607. #. type: anchor{#1}
  22608. #: guix-git/doc/guix.texi:15539
  22609. msgid "syslog-service"
  22610. msgstr ""
  22611. #. type: deffn
  22612. #: guix-git/doc/guix.texi:15540
  22613. #, no-wrap
  22614. msgid "{Scheme Procedure} syslog-service @var{config}"
  22615. msgstr ""
  22616. #. type: deffn
  22617. #: guix-git/doc/guix.texi:15542
  22618. msgid "Return a service that runs a syslog daemon according to @var{config}."
  22619. msgstr ""
  22620. #. type: deffn
  22621. #: guix-git/doc/guix.texi:15545
  22622. msgid "@xref{syslogd invocation,,, inetutils, GNU Inetutils}, for more information on the configuration file syntax."
  22623. msgstr ""
  22624. #. type: defvr
  22625. #: guix-git/doc/guix.texi:15547
  22626. #, no-wrap
  22627. msgid "{Scheme Variable} guix-service-type"
  22628. msgstr ""
  22629. #. type: defvr
  22630. #: guix-git/doc/guix.texi:15551
  22631. 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."
  22632. msgstr ""
  22633. #. type: anchor{#1}
  22634. #: guix-git/doc/guix.texi:15554
  22635. msgid "guix-configuration-type"
  22636. msgstr ""
  22637. #. type: deftp
  22638. #: guix-git/doc/guix.texi:15554
  22639. #, no-wrap
  22640. msgid "{Data Type} guix-configuration"
  22641. msgstr ""
  22642. #. type: deftp
  22643. #: guix-git/doc/guix.texi:15557
  22644. msgid "This data type represents the configuration of the Guix build daemon. @xref{Invoking guix-daemon}, for more information."
  22645. msgstr ""
  22646. #. type: item
  22647. #: guix-git/doc/guix.texi:15559
  22648. #, no-wrap
  22649. msgid "@code{guix} (default: @var{guix})"
  22650. msgstr ""
  22651. #. type: table
  22652. #: guix-git/doc/guix.texi:15561 guix-git/doc/guix.texi:15838
  22653. msgid "The Guix package to use."
  22654. msgstr ""
  22655. #. type: item
  22656. #: guix-git/doc/guix.texi:15562
  22657. #, no-wrap
  22658. msgid "@code{build-group} (default: @code{\"guixbuild\"})"
  22659. msgstr ""
  22660. #. type: table
  22661. #: guix-git/doc/guix.texi:15564
  22662. msgid "Name of the group for build user accounts."
  22663. msgstr ""
  22664. #. type: item
  22665. #: guix-git/doc/guix.texi:15565
  22666. #, no-wrap
  22667. msgid "@code{build-accounts} (default: @code{10})"
  22668. msgstr ""
  22669. #. type: table
  22670. #: guix-git/doc/guix.texi:15567
  22671. msgid "Number of build user accounts to create."
  22672. msgstr ""
  22673. #. type: item
  22674. #: guix-git/doc/guix.texi:15568
  22675. #, no-wrap
  22676. msgid "@code{authorize-key?} (default: @code{#t})"
  22677. msgstr ""
  22678. #. type: table
  22679. #: guix-git/doc/guix.texi:15575
  22680. msgid "Whether to authorize the substitute keys listed in @code{authorized-keys}---by default that of @code{@value{SUBSTITUTE-SERVER-1}} and @code{@value{SUBSTITUTE-SERVER-2}} (@pxref{Substitutes})."
  22681. msgstr ""
  22682. #. type: table
  22683. #: guix-git/doc/guix.texi:15581
  22684. 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."
  22685. msgstr ""
  22686. #. type: quotation
  22687. #: guix-git/doc/guix.texi:15588
  22688. 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}."
  22689. msgstr ""
  22690. #. type: vindex
  22691. #: guix-git/doc/guix.texi:15590
  22692. #, no-wrap
  22693. msgid "%default-authorized-guix-keys"
  22694. msgstr ""
  22695. #. type: item
  22696. #: guix-git/doc/guix.texi:15591
  22697. #, no-wrap
  22698. msgid "@code{authorized-keys} (default: @code{%default-authorized-guix-keys})"
  22699. msgstr ""
  22700. #. type: table
  22701. #: guix-git/doc/guix.texi:15597
  22702. msgid "The list of authorized key files for archive imports, as a list of string-valued gexps (@pxref{Invoking guix archive}). By default, it contains that of @code{@value{SUBSTITUTE-SERVER-1}} and @code{@value{SUBSTITUTE-SERVER-2}} (@pxref{Substitutes}). See @code{substitute-urls} below for an example on how to change it."
  22703. msgstr ""
  22704. #. type: item
  22705. #: guix-git/doc/guix.texi:15598
  22706. #, no-wrap
  22707. msgid "@code{use-substitutes?} (default: @code{#t})"
  22708. msgstr ""
  22709. #. type: table
  22710. #: guix-git/doc/guix.texi:15600
  22711. msgid "Whether to use substitutes."
  22712. msgstr ""
  22713. #. type: item
  22714. #: guix-git/doc/guix.texi:15601 guix-git/doc/guix.texi:28004
  22715. #, no-wrap
  22716. msgid "@code{substitute-urls} (default: @code{%default-substitute-urls})"
  22717. msgstr ""
  22718. #. type: table
  22719. #: guix-git/doc/guix.texi:15603 guix-git/doc/guix.texi:28006
  22720. msgid "The list of URLs where to look for substitutes by default."
  22721. msgstr ""
  22722. #. type: table
  22723. #: guix-git/doc/guix.texi:15610
  22724. msgid "Suppose you would like to fetch substitutes from @code{guix.example.org} in addition to @code{@value{SUBSTITUTE-SERVER-1}}. You will need to do two things: (1) add @code{guix.example.org} to @code{substitute-urls}, and (2) authorize its signing key, having done appropriate checks (@pxref{Substitute Server Authorization}). The configuration below does exactly that:"
  22725. msgstr ""
  22726. #. type: lisp
  22727. #: guix-git/doc/guix.texi:15619
  22728. #, no-wrap
  22729. msgid ""
  22730. "(guix-configuration\n"
  22731. " (substitute-urls\n"
  22732. " (append (list \"https://guix.example.org\")\n"
  22733. " %default-substitute-urls))\n"
  22734. " (authorized-keys\n"
  22735. " (append (list (local-file \"./guix.example.org-key.pub\"))\n"
  22736. " %default-authorized-guix-keys)))\n"
  22737. msgstr ""
  22738. #. type: table
  22739. #: guix-git/doc/guix.texi:15624
  22740. 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."
  22741. msgstr ""
  22742. #. type: item
  22743. #: guix-git/doc/guix.texi:15625
  22744. #, no-wrap
  22745. msgid "@code{max-silent-time} (default: @code{0})"
  22746. msgstr ""
  22747. #. type: itemx
  22748. #: guix-git/doc/guix.texi:15626
  22749. #, no-wrap
  22750. msgid "@code{timeout} (default: @code{0})"
  22751. msgstr ""
  22752. #. type: table
  22753. #: guix-git/doc/guix.texi:15630
  22754. 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."
  22755. msgstr ""
  22756. #. type: item
  22757. #: guix-git/doc/guix.texi:15631
  22758. #, no-wrap
  22759. msgid "@code{log-compression} (default: @code{'bzip2})"
  22760. msgstr ""
  22761. #. type: table
  22762. #: guix-git/doc/guix.texi:15634
  22763. msgid "The type of compression used for build logs---one of @code{gzip}, @code{bzip2}, or @code{none}."
  22764. msgstr ""
  22765. #. type: item
  22766. #: guix-git/doc/guix.texi:15635
  22767. #, no-wrap
  22768. msgid "@code{discover?} (default: @code{#f})"
  22769. msgstr ""
  22770. #. type: table
  22771. #: guix-git/doc/guix.texi:15641
  22772. msgid "List of extra command-line options for @command{guix-daemon}."
  22773. msgstr ""
  22774. #. type: item
  22775. #: guix-git/doc/guix.texi:15642
  22776. #, no-wrap
  22777. msgid "@code{log-file} (default: @code{\"/var/log/guix-daemon.log\"})"
  22778. msgstr ""
  22779. #. type: table
  22780. #: guix-git/doc/guix.texi:15645
  22781. msgid "File where @command{guix-daemon}'s standard output and standard error are written."
  22782. msgstr ""
  22783. #. type: cindex
  22784. #: guix-git/doc/guix.texi:15646
  22785. #, no-wrap
  22786. msgid "HTTP proxy, for @code{guix-daemon}"
  22787. msgstr ""
  22788. #. type: cindex
  22789. #: guix-git/doc/guix.texi:15647
  22790. #, no-wrap
  22791. msgid "proxy, for @code{guix-daemon} HTTP access"
  22792. msgstr ""
  22793. #. type: item
  22794. #: guix-git/doc/guix.texi:15648
  22795. #, no-wrap
  22796. msgid "@code{http-proxy} (default: @code{#f})"
  22797. msgstr ""
  22798. #. type: table
  22799. #: guix-git/doc/guix.texi:15651
  22800. msgid "The URL of the HTTP and HTTPS proxy used for downloading fixed-output derivations and substitutes."
  22801. msgstr ""
  22802. #. type: table
  22803. #: guix-git/doc/guix.texi:15654
  22804. msgid "It is also possible to change the daemon's proxy at run time through the @code{set-http-proxy} action, which restarts it:"
  22805. msgstr ""
  22806. #. type: example
  22807. #: guix-git/doc/guix.texi:15657
  22808. #, no-wrap
  22809. msgid "herd set-http-proxy guix-daemon http://localhost:8118\n"
  22810. msgstr ""
  22811. #. type: table
  22812. #: guix-git/doc/guix.texi:15660
  22813. msgid "To clear the proxy settings, run:"
  22814. msgstr ""
  22815. #. type: example
  22816. #: guix-git/doc/guix.texi:15663
  22817. #, no-wrap
  22818. msgid "herd set-http-proxy guix-daemon\n"
  22819. msgstr ""
  22820. #. type: item
  22821. #: guix-git/doc/guix.texi:15665
  22822. #, no-wrap
  22823. msgid "@code{tmpdir} (default: @code{#f})"
  22824. msgstr ""
  22825. #. type: table
  22826. #: guix-git/doc/guix.texi:15667
  22827. msgid "A directory path where the @command{guix-daemon} will perform builds."
  22828. msgstr ""
  22829. #. type: deffn
  22830. #: guix-git/doc/guix.texi:15671
  22831. #, no-wrap
  22832. msgid "{Scheme Procedure} udev-service [#:udev @var{eudev} #:rules @code{'()}]"
  22833. msgstr ""
  22834. #. type: deffn
  22835. #: guix-git/doc/guix.texi:15677
  22836. 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."
  22837. msgstr ""
  22838. #. type: deffn
  22839. #: guix-git/doc/guix.texi:15680
  22840. msgid "The @command{herd rules udev} command, as root, returns the name of the directory containing all the active udev rules."
  22841. msgstr ""
  22842. #. type: deffn
  22843. #: guix-git/doc/guix.texi:15682
  22844. #, no-wrap
  22845. msgid "{Scheme Procedure} udev-rule [@var{file-name} @var{contents}]"
  22846. msgstr ""
  22847. #. type: deffn
  22848. #: guix-git/doc/guix.texi:15685
  22849. msgid "Return a udev-rule file named @var{file-name} containing the rules defined by the @var{contents} literal."
  22850. msgstr ""
  22851. #. type: deffn
  22852. #: guix-git/doc/guix.texi:15689
  22853. 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."
  22854. msgstr ""
  22855. #. type: lisp
  22856. #: guix-git/doc/guix.texi:15697
  22857. #, no-wrap
  22858. msgid ""
  22859. "(define %example-udev-rule\n"
  22860. " (udev-rule\n"
  22861. " \"90-usb-thing.rules\"\n"
  22862. " (string-append \"ACTION==\\\"add\\\", SUBSYSTEM==\\\"usb\\\", \"\n"
  22863. " \"ATTR@{product@}==\\\"Example\\\", \"\n"
  22864. " \"RUN+=\\\"/path/to/script\\\"\")))\n"
  22865. msgstr ""
  22866. #. type: deffn
  22867. #: guix-git/doc/guix.texi:15700
  22868. #, no-wrap
  22869. msgid "{Scheme Procedure} udev-rules-service [@var{name} @var{rules}] @"
  22870. msgstr ""
  22871. #. type: deffn
  22872. #: guix-git/doc/guix.texi:15707
  22873. 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."
  22874. msgstr ""
  22875. #. type: deffn
  22876. #: guix-git/doc/guix.texi:15710
  22877. msgid "Here we show how it can be used to extend @code{udev-service-type} with the previously defined rule @code{%example-udev-rule}."
  22878. msgstr ""
  22879. #. type: lisp
  22880. #: guix-git/doc/guix.texi:15717
  22881. #, no-wrap
  22882. msgid ""
  22883. "(operating-system\n"
  22884. " ;; @dots{}\n"
  22885. " (services\n"
  22886. " (cons (udev-rules-service 'usb-thing %example-udev-rule)\n"
  22887. " %desktop-services)))\n"
  22888. msgstr ""
  22889. #. type: deffn
  22890. #: guix-git/doc/guix.texi:15720
  22891. #, no-wrap
  22892. msgid "{Scheme Procedure} file->udev-rule [@var{file-name} @var{file}]"
  22893. msgstr ""
  22894. #. type: deffn
  22895. #: guix-git/doc/guix.texi:15723
  22896. msgid "Return a udev file named @var{file-name} containing the rules defined within @var{file}, a file-like object."
  22897. msgstr ""
  22898. #. type: deffn
  22899. #: guix-git/doc/guix.texi:15725
  22900. msgid "The following example showcases how we can use an existing rule file."
  22901. msgstr ""
  22902. #. type: lisp
  22903. #: guix-git/doc/guix.texi:15730
  22904. #, no-wrap
  22905. msgid ""
  22906. "(use-modules (guix download) ;for url-fetch\n"
  22907. " (guix packages) ;for origin\n"
  22908. " @dots{})\n"
  22909. "\n"
  22910. msgstr ""
  22911. #. type: lisp
  22912. #: guix-git/doc/guix.texi:15741
  22913. #, no-wrap
  22914. msgid ""
  22915. "(define %android-udev-rules\n"
  22916. " (file->udev-rule\n"
  22917. " \"51-android-udev.rules\"\n"
  22918. " (let ((version \"20170910\"))\n"
  22919. " (origin\n"
  22920. " (method url-fetch)\n"
  22921. " (uri (string-append \"https://raw.githubusercontent.com/M0Rf30/\"\n"
  22922. " \"android-udev-rules/\" version \"/51-android.rules\"))\n"
  22923. " (sha256\n"
  22924. " (base32 \"0lmmagpyb6xsq6zcr2w1cyx9qmjqmajkvrdbhjx32gqf1d9is003\"))))))\n"
  22925. msgstr ""
  22926. #. type: Plain text
  22927. #: guix-git/doc/guix.texi:15750
  22928. 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."
  22929. msgstr ""
  22930. #. type: Plain text
  22931. #: guix-git/doc/guix.texi:15759
  22932. 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."
  22933. msgstr ""
  22934. #. type: lisp
  22935. #: guix-git/doc/guix.texi:15764
  22936. #, no-wrap
  22937. msgid ""
  22938. "(use-modules (gnu packages android) ;for android-udev-rules\n"
  22939. " (gnu system shadow) ;for user-group\n"
  22940. " @dots{})\n"
  22941. "\n"
  22942. msgstr ""
  22943. #. type: lisp
  22944. #: guix-git/doc/guix.texi:15777
  22945. #, no-wrap
  22946. msgid ""
  22947. "(operating-system\n"
  22948. " ;; @dots{}\n"
  22949. " (users (cons (user-account\n"
  22950. " ;; @dots{}\n"
  22951. " (supplementary-groups\n"
  22952. " '(\"adbusers\" ;for adb\n"
  22953. " \"wheel\" \"netdev\" \"audio\" \"video\")))))\n"
  22954. " ;; @dots{}\n"
  22955. " (services\n"
  22956. " (cons (udev-rules-service 'android android-udev-rules\n"
  22957. " #:groups '(\"adbusers\"))\n"
  22958. " %desktop-services)))\n"
  22959. msgstr ""
  22960. #. type: defvr
  22961. #: guix-git/doc/guix.texi:15779
  22962. #, no-wrap
  22963. msgid "{Scheme Variable} urandom-seed-service-type"
  22964. msgstr ""
  22965. #. type: defvr
  22966. #: guix-git/doc/guix.texi:15784
  22967. 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."
  22968. msgstr ""
  22969. #. type: defvr
  22970. #: guix-git/doc/guix.texi:15786
  22971. #, no-wrap
  22972. msgid "{Scheme Variable} %random-seed-file"
  22973. msgstr ""
  22974. #. type: defvr
  22975. #: guix-git/doc/guix.texi:15790
  22976. 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}."
  22977. msgstr ""
  22978. #. type: cindex
  22979. #: guix-git/doc/guix.texi:15792
  22980. #, no-wrap
  22981. msgid "mouse"
  22982. msgstr ""
  22983. #. type: cindex
  22984. #: guix-git/doc/guix.texi:15793
  22985. #, no-wrap
  22986. msgid "gpm"
  22987. msgstr ""
  22988. #. type: defvr
  22989. #: guix-git/doc/guix.texi:15794
  22990. #, no-wrap
  22991. msgid "{Scheme Variable} gpm-service-type"
  22992. msgstr ""
  22993. #. type: defvr
  22994. #: guix-git/doc/guix.texi:15799
  22995. 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."
  22996. msgstr ""
  22997. #. type: defvr
  22998. #: guix-git/doc/guix.texi:15802
  22999. 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}."
  23000. msgstr ""
  23001. #. type: deftp
  23002. #: guix-git/doc/guix.texi:15804
  23003. #, no-wrap
  23004. msgid "{Data Type} gpm-configuration"
  23005. msgstr ""
  23006. #. type: deftp
  23007. #: guix-git/doc/guix.texi:15806
  23008. msgid "Data type representing the configuration of GPM."
  23009. msgstr ""
  23010. #. type: item
  23011. #: guix-git/doc/guix.texi:15808
  23012. #, no-wrap
  23013. msgid "@code{options} (default: @code{%default-gpm-options})"
  23014. msgstr ""
  23015. #. type: table
  23016. #: guix-git/doc/guix.texi:15813
  23017. 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."
  23018. msgstr ""
  23019. #. type: item
  23020. #: guix-git/doc/guix.texi:15814
  23021. #, no-wrap
  23022. msgid "@code{gpm} (default: @code{gpm})"
  23023. msgstr ""
  23024. #. type: table
  23025. #: guix-git/doc/guix.texi:15816
  23026. msgid "The GPM package to use."
  23027. msgstr ""
  23028. #. type: anchor{#1}
  23029. #: guix-git/doc/guix.texi:15821
  23030. msgid "guix-publish-service-type"
  23031. msgstr ""
  23032. #. type: deffn
  23033. #: guix-git/doc/guix.texi:15821
  23034. #, no-wrap
  23035. msgid "{Scheme Variable} guix-publish-service-type"
  23036. msgstr ""
  23037. #. type: deffn
  23038. #: guix-git/doc/guix.texi:15825
  23039. 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."
  23040. msgstr ""
  23041. #. type: deffn
  23042. #: guix-git/doc/guix.texi:15829
  23043. 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."
  23044. msgstr ""
  23045. #. type: deftp
  23046. #: guix-git/doc/guix.texi:15831
  23047. #, no-wrap
  23048. msgid "{Data Type} guix-publish-configuration"
  23049. msgstr ""
  23050. #. type: deftp
  23051. #: guix-git/doc/guix.texi:15834
  23052. msgid "Data type representing the configuration of the @code{guix publish} service."
  23053. msgstr ""
  23054. #. type: item
  23055. #: guix-git/doc/guix.texi:15836
  23056. #, no-wrap
  23057. msgid "@code{guix} (default: @code{guix})"
  23058. msgstr ""
  23059. #. type: item
  23060. #: guix-git/doc/guix.texi:15839 guix-git/doc/guix.texi:30257
  23061. #, no-wrap
  23062. msgid "@code{port} (default: @code{80})"
  23063. msgstr ""
  23064. #. type: table
  23065. #: guix-git/doc/guix.texi:15841
  23066. msgid "The TCP port to listen for connections."
  23067. msgstr ""
  23068. #. type: item
  23069. #: guix-git/doc/guix.texi:15842 guix-git/doc/guix.texi:27887
  23070. #, no-wrap
  23071. msgid "@code{host} (default: @code{\"localhost\"})"
  23072. msgstr ""
  23073. #. type: table
  23074. #: guix-git/doc/guix.texi:15845
  23075. msgid "The host (and thus, network interface) to listen to. Use @code{\"0.0.0.0\"} to listen on all the network interfaces."
  23076. msgstr ""
  23077. #. type: item
  23078. #: guix-git/doc/guix.texi:15846
  23079. #, no-wrap
  23080. msgid "@code{advertise?} (default: @code{#f})"
  23081. msgstr ""
  23082. #. type: table
  23083. #: guix-git/doc/guix.texi:15849
  23084. msgid "When true, advertise the service on the local network @i{via} the DNS-SD protocol, using Avahi."
  23085. msgstr ""
  23086. #. type: table
  23087. #: guix-git/doc/guix.texi:15853
  23088. 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."
  23089. msgstr ""
  23090. #. type: item
  23091. #: guix-git/doc/guix.texi:15854
  23092. #, no-wrap
  23093. msgid "@code{compression} (default: @code{'((\"gzip\" 3) (\"zstd\" 3))})"
  23094. msgstr ""
  23095. #. type: table
  23096. #: guix-git/doc/guix.texi:15858
  23097. 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:"
  23098. msgstr ""
  23099. #. type: lisp
  23100. #: guix-git/doc/guix.texi:15861
  23101. #, no-wrap
  23102. msgid "'((\"lzip\" 7) (\"gzip\" 9))\n"
  23103. msgstr ""
  23104. #. type: table
  23105. #: guix-git/doc/guix.texi:15867
  23106. 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."
  23107. msgstr ""
  23108. #. type: table
  23109. #: guix-git/doc/guix.texi:15869
  23110. msgid "An empty list disables compression altogether."
  23111. msgstr ""
  23112. #. type: item
  23113. #: guix-git/doc/guix.texi:15870
  23114. #, no-wrap
  23115. msgid "@code{nar-path} (default: @code{\"nar\"})"
  23116. msgstr ""
  23117. #. type: table
  23118. #: guix-git/doc/guix.texi:15873
  23119. msgid "The URL path at which ``nars'' can be fetched. @xref{Invoking guix publish, @option{--nar-path}}, for details."
  23120. msgstr ""
  23121. #. type: item
  23122. #: guix-git/doc/guix.texi:15874
  23123. #, no-wrap
  23124. msgid "@code{cache} (default: @code{#f})"
  23125. msgstr ""
  23126. #. type: table
  23127. #: guix-git/doc/guix.texi:15880
  23128. 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."
  23129. msgstr ""
  23130. #. type: item
  23131. #: guix-git/doc/guix.texi:15881
  23132. #, no-wrap
  23133. msgid "@code{workers} (default: @code{#f})"
  23134. msgstr ""
  23135. #. type: table
  23136. #: guix-git/doc/guix.texi:15885
  23137. 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."
  23138. msgstr ""
  23139. #. type: item
  23140. #: guix-git/doc/guix.texi:15886
  23141. #, no-wrap
  23142. msgid "@code{cache-bypass-threshold} (default: 10 MiB)"
  23143. msgstr ""
  23144. #. type: table
  23145. #: guix-git/doc/guix.texi:15891
  23146. 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."
  23147. msgstr ""
  23148. #. type: item
  23149. #: guix-git/doc/guix.texi:15892
  23150. #, no-wrap
  23151. msgid "@code{ttl} (default: @code{#f})"
  23152. msgstr ""
  23153. #. type: table
  23154. #: guix-git/doc/guix.texi:15896
  23155. 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."
  23156. msgstr ""
  23157. #. type: anchor{#1}
  23158. #: guix-git/doc/guix.texi:15900
  23159. msgid "rngd-service"
  23160. msgstr ""
  23161. #. type: deffn
  23162. #: guix-git/doc/guix.texi:15900
  23163. #, no-wrap
  23164. msgid "{Scheme Procedure} rngd-service [#:rng-tools @var{rng-tools}] @"
  23165. msgstr ""
  23166. #. type: deffn
  23167. #: guix-git/doc/guix.texi:15905
  23168. 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."
  23169. msgstr ""
  23170. #. type: anchor{#1}
  23171. #: guix-git/doc/guix.texi:15908
  23172. msgid "pam-limits-service"
  23173. msgstr ""
  23174. #. type: cindex
  23175. #: guix-git/doc/guix.texi:15908
  23176. #, no-wrap
  23177. msgid "session limits"
  23178. msgstr ""
  23179. #. type: cindex
  23180. #: guix-git/doc/guix.texi:15909
  23181. #, no-wrap
  23182. msgid "ulimit"
  23183. msgstr ""
  23184. #. type: cindex
  23185. #: guix-git/doc/guix.texi:15910
  23186. #, no-wrap
  23187. msgid "priority"
  23188. msgstr ""
  23189. #. type: cindex
  23190. #: guix-git/doc/guix.texi:15911
  23191. #, no-wrap
  23192. msgid "realtime"
  23193. msgstr ""
  23194. #. type: cindex
  23195. #: guix-git/doc/guix.texi:15912
  23196. #, no-wrap
  23197. msgid "jackd"
  23198. msgstr ""
  23199. #. type: cindex
  23200. #: guix-git/doc/guix.texi:15913
  23201. #, no-wrap
  23202. msgid "nofile"
  23203. msgstr ""
  23204. #. type: cindex
  23205. #: guix-git/doc/guix.texi:15914
  23206. #, no-wrap
  23207. msgid "open file descriptors"
  23208. msgstr ""
  23209. #. type: deffn
  23210. #: guix-git/doc/guix.texi:15915
  23211. #, no-wrap
  23212. msgid "{Scheme Procedure} pam-limits-service [#:limits @code{'()}]"
  23213. msgstr ""
  23214. #. type: deffn
  23215. #: guix-git/doc/guix.texi:15922
  23216. 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."
  23217. msgstr ""
  23218. #. type: deffn
  23219. #: guix-git/doc/guix.texi:15925
  23220. msgid "The following limits definition sets two hard and soft limits for all login sessions of users in the @code{realtime} group:"
  23221. msgstr ""
  23222. #. type: lisp
  23223. #: guix-git/doc/guix.texi:15931
  23224. #, no-wrap
  23225. msgid ""
  23226. "(pam-limits-service\n"
  23227. " (list\n"
  23228. " (pam-limits-entry \"@@realtime\" 'both 'rtprio 99)\n"
  23229. " (pam-limits-entry \"@@realtime\" 'both 'memlock 'unlimited)))\n"
  23230. msgstr ""
  23231. #. type: deffn
  23232. #: guix-git/doc/guix.texi:15937
  23233. 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."
  23234. msgstr ""
  23235. #. type: deffn
  23236. #: guix-git/doc/guix.texi:15940
  23237. msgid "Another useful example is raising the maximum number of open file descriptors that can be used:"
  23238. msgstr ""
  23239. #. type: lisp
  23240. #: guix-git/doc/guix.texi:15945
  23241. #, no-wrap
  23242. msgid ""
  23243. "(pam-limits-service\n"
  23244. " (list\n"
  23245. " (pam-limits-entry \"*\" 'both 'nofile 100000)))\n"
  23246. msgstr ""
  23247. #. type: deffn
  23248. #: guix-git/doc/guix.texi:15953
  23249. 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."
  23250. msgstr ""
  23251. #. type: cindex
  23252. #: guix-git/doc/guix.texi:15958
  23253. #, no-wrap
  23254. msgid "cron"
  23255. msgstr ""
  23256. #. type: cindex
  23257. #: guix-git/doc/guix.texi:15959
  23258. #, no-wrap
  23259. msgid "mcron"
  23260. msgstr ""
  23261. #. type: cindex
  23262. #: guix-git/doc/guix.texi:15960
  23263. #, no-wrap
  23264. msgid "scheduling jobs"
  23265. msgstr ""
  23266. #. type: Plain text
  23267. #: guix-git/doc/guix.texi:15967
  23268. 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."
  23269. msgstr ""
  23270. #. type: Plain text
  23271. #: guix-git/doc/guix.texi:15975
  23272. 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})."
  23273. msgstr ""
  23274. #. type: lisp
  23275. #: guix-git/doc/guix.texi:15979
  23276. #, no-wrap
  23277. msgid ""
  23278. "(use-modules (guix) (gnu) (gnu services mcron))\n"
  23279. "(use-package-modules base idutils)\n"
  23280. "\n"
  23281. msgstr ""
  23282. #. type: lisp
  23283. #: guix-git/doc/guix.texi:15989
  23284. #, no-wrap
  23285. msgid ""
  23286. "(define updatedb-job\n"
  23287. " ;; Run 'updatedb' at 3AM every day. Here we write the\n"
  23288. " ;; job's action as a Scheme procedure.\n"
  23289. " #~(job '(next-hour '(3))\n"
  23290. " (lambda ()\n"
  23291. " (execl (string-append #$findutils \"/bin/updatedb\")\n"
  23292. " \"updatedb\"\n"
  23293. " \"--prunepaths=/tmp /var/tmp /gnu/store\"))\n"
  23294. " \"updatedb\"))\n"
  23295. "\n"
  23296. msgstr ""
  23297. #. type: lisp
  23298. #: guix-git/doc/guix.texi:15995
  23299. #, no-wrap
  23300. msgid ""
  23301. "(define garbage-collector-job\n"
  23302. " ;; Collect garbage 5 minutes after midnight every day.\n"
  23303. " ;; The job's action is a shell command.\n"
  23304. " #~(job \"5 0 * * *\" ;Vixie cron syntax\n"
  23305. " \"guix gc -F 1G\"))\n"
  23306. "\n"
  23307. msgstr ""
  23308. #. type: lisp
  23309. #: guix-git/doc/guix.texi:16002
  23310. #, no-wrap
  23311. msgid ""
  23312. "(define idutils-job\n"
  23313. " ;; Update the index database as user \"charlie\" at 12:15PM\n"
  23314. " ;; and 19:15PM. This runs from the user's home directory.\n"
  23315. " #~(job '(next-minute-from (next-hour '(12 19)) '(15))\n"
  23316. " (string-append #$idutils \"/bin/mkid src\")\n"
  23317. " #:user \"charlie\"))\n"
  23318. "\n"
  23319. msgstr ""
  23320. #. type: lisp
  23321. #: guix-git/doc/guix.texi:16005
  23322. #, no-wrap
  23323. msgid ""
  23324. "(operating-system\n"
  23325. " ;; @dots{}\n"
  23326. "\n"
  23327. msgstr ""
  23328. #. type: lisp
  23329. #: guix-git/doc/guix.texi:16015
  23330. #, no-wrap
  23331. msgid ""
  23332. " ;; %BASE-SERVICES already includes an instance of\n"
  23333. " ;; 'mcron-service-type', which we extend with additional\n"
  23334. " ;; jobs using 'simple-service'.\n"
  23335. " (services (cons (simple-service 'my-cron-jobs\n"
  23336. " mcron-service-type\n"
  23337. " (list garbage-collector-job\n"
  23338. " updatedb-job\n"
  23339. " idutils-job))\n"
  23340. " %base-services)))\n"
  23341. msgstr ""
  23342. #. type: quotation
  23343. #: guix-git/doc/guix.texi:16017
  23344. #, fuzzy, no-wrap
  23345. #| msgid "Top"
  23346. msgid "Tip"
  23347. msgstr "Top"
  23348. #. type: quotation
  23349. #: guix-git/doc/guix.texi:16023
  23350. msgid "When providing the action of a job specification as a procedure, you should provide an explicit name for the job via the optional 3rd argument as done in the @code{updatedb-job} example above. Otherwise, the job would appear as ``Lambda function'' in the output of @command{herd schedule mcron}, which is not nearly descriptive enough!"
  23351. msgstr ""
  23352. #. type: Plain text
  23353. #: guix-git/doc/guix.texi:16030
  23354. 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."
  23355. msgstr ""
  23356. #. type: lisp
  23357. #: guix-git/doc/guix.texi:16046
  23358. #, no-wrap
  23359. msgid ""
  23360. "(define %battery-alert-job\n"
  23361. " ;; Beep when the battery percentage falls below %MIN-LEVEL.\n"
  23362. " #~(job\n"
  23363. " '(next-minute (range 0 60 1))\n"
  23364. " #$(program-file\n"
  23365. " \"battery-alert.scm\"\n"
  23366. " (with-imported-modules (source-module-closure\n"
  23367. " '((guix build utils)))\n"
  23368. " #~(begin\n"
  23369. " (use-modules (guix build utils)\n"
  23370. " (ice-9 popen)\n"
  23371. " (ice-9 regex)\n"
  23372. " (ice-9 textual-ports)\n"
  23373. " (srfi srfi-2))\n"
  23374. "\n"
  23375. msgstr ""
  23376. #. type: lisp
  23377. #: guix-git/doc/guix.texi:16048
  23378. #, no-wrap
  23379. msgid ""
  23380. " (define %min-level 20)\n"
  23381. "\n"
  23382. msgstr ""
  23383. #. type: lisp
  23384. #: guix-git/doc/guix.texi:16059
  23385. #, no-wrap
  23386. msgid ""
  23387. " (setenv \"LC_ALL\" \"C\") ;ensure English output\n"
  23388. " (and-let* ((input-pipe (open-pipe*\n"
  23389. " OPEN_READ\n"
  23390. " #$(file-append acpi \"/bin/acpi\")))\n"
  23391. " (output (get-string-all input-pipe))\n"
  23392. " (m (string-match \"Discharging, ([0-9]+)%\" output))\n"
  23393. " (level (string->number (match:substring m 1)))\n"
  23394. " ((< level %min-level)))\n"
  23395. " (format #t \"warning: Battery level is low (~a%)~%\" level)\n"
  23396. " (invoke #$(file-append beep \"/bin/beep\") \"-r5\")))))))\n"
  23397. msgstr ""
  23398. #. type: Plain text
  23399. #: guix-git/doc/guix.texi:16064
  23400. 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."
  23401. msgstr ""
  23402. #. type: Plain text
  23403. #: guix-git/doc/guix.texi:16067
  23404. 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:"
  23405. msgstr ""
  23406. #. type: example
  23407. #: guix-git/doc/guix.texi:16070
  23408. #, no-wrap
  23409. msgid "# herd schedule mcron\n"
  23410. msgstr ""
  23411. #. type: Plain text
  23412. #: guix-git/doc/guix.texi:16075
  23413. msgid "The example above lists the next five tasks that will be executed, but you can also specify the number of tasks to display:"
  23414. msgstr ""
  23415. #. type: example
  23416. #: guix-git/doc/guix.texi:16078
  23417. #, no-wrap
  23418. msgid "# herd schedule mcron 10\n"
  23419. msgstr ""
  23420. #. type: defvr
  23421. #: guix-git/doc/guix.texi:16080
  23422. #, no-wrap
  23423. msgid "{Scheme Variable} mcron-service-type"
  23424. msgstr ""
  23425. #. type: defvr
  23426. #: guix-git/doc/guix.texi:16083
  23427. msgid "This is the type of the @code{mcron} service, whose value is an @code{mcron-configuration} object."
  23428. msgstr ""
  23429. #. type: defvr
  23430. #: guix-git/doc/guix.texi:16088
  23431. 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."
  23432. msgstr ""
  23433. #. type: deftp
  23434. #: guix-git/doc/guix.texi:16090
  23435. #, no-wrap
  23436. msgid "{Data Type} mcron-configuration"
  23437. msgstr ""
  23438. #. type: deftp
  23439. #: guix-git/doc/guix.texi:16092
  23440. msgid "Data type representing the configuration of mcron."
  23441. msgstr ""
  23442. #. type: item
  23443. #: guix-git/doc/guix.texi:16094
  23444. #, no-wrap
  23445. msgid "@code{mcron} (default: @var{mcron})"
  23446. msgstr ""
  23447. #. type: table
  23448. #: guix-git/doc/guix.texi:16096
  23449. msgid "The mcron package to use."
  23450. msgstr ""
  23451. #. type: code{#1}
  23452. #: guix-git/doc/guix.texi:16097 guix-git/doc/guix.texi:16166
  23453. #, no-wrap
  23454. msgid "jobs"
  23455. msgstr ""
  23456. #. type: table
  23457. #: guix-git/doc/guix.texi:16101
  23458. 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})."
  23459. msgstr ""
  23460. #. type: cindex
  23461. #: guix-git/doc/guix.texi:16108
  23462. #, no-wrap
  23463. msgid "rottlog"
  23464. msgstr ""
  23465. #. type: cindex
  23466. #: guix-git/doc/guix.texi:16109
  23467. #, no-wrap
  23468. msgid "log rotation"
  23469. msgstr ""
  23470. #. type: Plain text
  23471. #: guix-git/doc/guix.texi:16116
  23472. 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})."
  23473. msgstr ""
  23474. #. type: Plain text
  23475. #: guix-git/doc/guix.texi:16122
  23476. 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):"
  23477. msgstr ""
  23478. #. type: lisp
  23479. #: guix-git/doc/guix.texi:16126
  23480. #, no-wrap
  23481. msgid ""
  23482. "(use-modules (guix) (gnu))\n"
  23483. "(use-service-modules admin)\n"
  23484. "\n"
  23485. msgstr ""
  23486. #. type: lisp
  23487. #: guix-git/doc/guix.texi:16130
  23488. #, no-wrap
  23489. msgid ""
  23490. "(define my-log-files\n"
  23491. " ;; Log files that I want to rotate.\n"
  23492. " '(\"/var/log/something.log\" \"/var/log/another.log\"))\n"
  23493. "\n"
  23494. msgstr ""
  23495. #. type: lisp
  23496. #: guix-git/doc/guix.texi:16139
  23497. #, no-wrap
  23498. msgid ""
  23499. "(operating-system\n"
  23500. " ;; @dots{}\n"
  23501. " (services (cons (simple-service 'rotate-my-stuff\n"
  23502. " rottlog-service-type\n"
  23503. " (list (log-rotation\n"
  23504. " (frequency 'daily)\n"
  23505. " (files my-log-files))))\n"
  23506. " %base-services)))\n"
  23507. msgstr ""
  23508. #. type: defvr
  23509. #: guix-git/doc/guix.texi:16141
  23510. #, no-wrap
  23511. msgid "{Scheme Variable} rottlog-service-type"
  23512. msgstr ""
  23513. #. type: defvr
  23514. #: guix-git/doc/guix.texi:16144
  23515. msgid "This is the type of the Rottlog service, whose value is a @code{rottlog-configuration} object."
  23516. msgstr ""
  23517. #. type: defvr
  23518. #: guix-git/doc/guix.texi:16147
  23519. msgid "Other services can extend this one with new @code{log-rotation} objects (see below), thereby augmenting the set of files to be rotated."
  23520. msgstr ""
  23521. #. type: defvr
  23522. #: guix-git/doc/guix.texi:16150
  23523. msgid "This service type can define mcron jobs (@pxref{Scheduled Job Execution}) to run the rottlog service."
  23524. msgstr ""
  23525. #. type: deftp
  23526. #: guix-git/doc/guix.texi:16152
  23527. #, no-wrap
  23528. msgid "{Data Type} rottlog-configuration"
  23529. msgstr ""
  23530. #. type: deftp
  23531. #: guix-git/doc/guix.texi:16154
  23532. msgid "Data type representing the configuration of rottlog."
  23533. msgstr ""
  23534. #. type: item
  23535. #: guix-git/doc/guix.texi:16156
  23536. #, no-wrap
  23537. msgid "@code{rottlog} (default: @code{rottlog})"
  23538. msgstr ""
  23539. #. type: table
  23540. #: guix-git/doc/guix.texi:16158
  23541. msgid "The Rottlog package to use."
  23542. msgstr ""
  23543. #. type: item
  23544. #: guix-git/doc/guix.texi:16159
  23545. #, no-wrap
  23546. msgid "@code{rc-file} (default: @code{(file-append rottlog \"/etc/rc\")})"
  23547. msgstr ""
  23548. #. type: table
  23549. #: guix-git/doc/guix.texi:16162
  23550. msgid "The Rottlog configuration file to use (@pxref{Mandatory RC Variables,,, rottlog, GNU Rot[t]log Manual})."
  23551. msgstr ""
  23552. #. type: item
  23553. #: guix-git/doc/guix.texi:16163
  23554. #, no-wrap
  23555. msgid "@code{rotations} (default: @code{%default-rotations})"
  23556. msgstr ""
  23557. #. type: table
  23558. #: guix-git/doc/guix.texi:16165
  23559. msgid "A list of @code{log-rotation} objects as defined below."
  23560. msgstr ""
  23561. #. type: table
  23562. #: guix-git/doc/guix.texi:16169
  23563. msgid "This is a list of gexps where each gexp corresponds to an mcron job specification (@pxref{Scheduled Job Execution})."
  23564. msgstr ""
  23565. #. type: deftp
  23566. #: guix-git/doc/guix.texi:16172
  23567. #, no-wrap
  23568. msgid "{Data Type} log-rotation"
  23569. msgstr ""
  23570. #. type: deftp
  23571. #: guix-git/doc/guix.texi:16174
  23572. msgid "Data type representing the rotation of a group of log files."
  23573. msgstr ""
  23574. #. type: deftp
  23575. #: guix-git/doc/guix.texi:16178
  23576. 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:"
  23577. msgstr ""
  23578. #. type: lisp
  23579. #: guix-git/doc/guix.texi:16187
  23580. #, no-wrap
  23581. msgid ""
  23582. "(log-rotation\n"
  23583. " (frequency 'daily)\n"
  23584. " (files '(\"/var/log/apache/*\"))\n"
  23585. " (options '(\"storedir apache-archives\"\n"
  23586. " \"rotate 6\"\n"
  23587. " \"notifempty\"\n"
  23588. " \"nocompress\")))\n"
  23589. msgstr ""
  23590. #. type: deftp
  23591. #: guix-git/doc/guix.texi:16190
  23592. msgid "The list of fields is as follows:"
  23593. msgstr ""
  23594. #. type: item
  23595. #: guix-git/doc/guix.texi:16192
  23596. #, no-wrap
  23597. msgid "@code{frequency} (default: @code{'weekly})"
  23598. msgstr ""
  23599. #. type: table
  23600. #: guix-git/doc/guix.texi:16194
  23601. msgid "The log rotation frequency, a symbol."
  23602. msgstr ""
  23603. #. type: code{#1}
  23604. #: guix-git/doc/guix.texi:16195
  23605. #, no-wrap
  23606. msgid "files"
  23607. msgstr ""
  23608. #. type: table
  23609. #: guix-git/doc/guix.texi:16197
  23610. msgid "The list of files or file glob patterns to rotate."
  23611. msgstr ""
  23612. #. type: item
  23613. #: guix-git/doc/guix.texi:16198
  23614. #, no-wrap
  23615. msgid "@code{options} (default: @code{'()})"
  23616. msgstr ""
  23617. #. type: table
  23618. #: guix-git/doc/guix.texi:16201
  23619. msgid "The list of rottlog options for this rotation (@pxref{Configuration parameters,,, rottlog, GNU Rot[t]lg Manual})."
  23620. msgstr ""
  23621. #. type: item
  23622. #: guix-git/doc/guix.texi:16202
  23623. #, no-wrap
  23624. msgid "@code{post-rotate} (default: @code{#f})"
  23625. msgstr ""
  23626. #. type: table
  23627. #: guix-git/doc/guix.texi:16204
  23628. msgid "Either @code{#f} or a gexp to execute once the rotation has completed."
  23629. msgstr ""
  23630. #. type: defvr
  23631. #: guix-git/doc/guix.texi:16207
  23632. #, no-wrap
  23633. msgid "{Scheme Variable} %default-rotations"
  23634. msgstr ""
  23635. #. type: defvr
  23636. #: guix-git/doc/guix.texi:16210
  23637. msgid "Specifies weekly rotation of @code{%rotated-files} and of @file{/var/log/guix-daemon.log}."
  23638. msgstr ""
  23639. #. type: defvr
  23640. #: guix-git/doc/guix.texi:16212
  23641. #, no-wrap
  23642. msgid "{Scheme Variable} %rotated-files"
  23643. msgstr ""
  23644. #. type: defvr
  23645. #: guix-git/doc/guix.texi:16216
  23646. 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\")}."
  23647. msgstr ""
  23648. #. type: Plain text
  23649. #: guix-git/doc/guix.texi:16223
  23650. msgid "The @code{(gnu services networking)} module provides services to configure the network interface."
  23651. msgstr ""
  23652. #. type: cindex
  23653. #: guix-git/doc/guix.texi:16224
  23654. #, no-wrap
  23655. msgid "DHCP, networking service"
  23656. msgstr ""
  23657. #. type: defvr
  23658. #: guix-git/doc/guix.texi:16225
  23659. #, no-wrap
  23660. msgid "{Scheme Variable} dhcp-client-service-type"
  23661. msgstr ""
  23662. #. type: defvr
  23663. #: guix-git/doc/guix.texi:16229
  23664. 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."
  23665. msgstr ""
  23666. #. type: deffn
  23667. #: guix-git/doc/guix.texi:16231
  23668. #, no-wrap
  23669. msgid "{Scheme Procedure} dhcpd-service-type"
  23670. msgstr ""
  23671. #. type: deffn
  23672. #: guix-git/doc/guix.texi:16235
  23673. 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:"
  23674. msgstr ""
  23675. #. type: lisp
  23676. #: guix-git/doc/guix.texi:16241
  23677. #, no-wrap
  23678. msgid ""
  23679. "(service dhcpd-service-type\n"
  23680. " (dhcpd-configuration\n"
  23681. " (config-file (local-file \"my-dhcpd.conf\"))\n"
  23682. " (interfaces '(\"enp0s25\"))))\n"
  23683. msgstr ""
  23684. #. type: deftp
  23685. #: guix-git/doc/guix.texi:16244
  23686. #, no-wrap
  23687. msgid "{Data Type} dhcpd-configuration"
  23688. msgstr ""
  23689. #. type: item
  23690. #: guix-git/doc/guix.texi:16246
  23691. #, no-wrap
  23692. msgid "@code{package} (default: @code{isc-dhcp})"
  23693. msgstr ""
  23694. #. type: table
  23695. #: guix-git/doc/guix.texi:16251
  23696. 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}."
  23697. msgstr ""
  23698. #. type: item
  23699. #: guix-git/doc/guix.texi:16251 guix-git/doc/guix.texi:16507
  23700. #: guix-git/doc/guix.texi:21722
  23701. #, no-wrap
  23702. msgid "@code{config-file} (default: @code{#f})"
  23703. msgstr ""
  23704. #. type: table
  23705. #: guix-git/doc/guix.texi:16256
  23706. 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."
  23707. msgstr ""
  23708. #. type: item
  23709. #: guix-git/doc/guix.texi:16256
  23710. #, no-wrap
  23711. msgid "@code{version} (default: @code{\"4\"})"
  23712. msgstr ""
  23713. #. type: table
  23714. #: guix-git/doc/guix.texi:16261
  23715. 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."
  23716. msgstr ""
  23717. #. type: item
  23718. #: guix-git/doc/guix.texi:16261
  23719. #, no-wrap
  23720. msgid "@code{run-directory} (default: @code{\"/run/dhcpd\"})"
  23721. msgstr ""
  23722. #. type: table
  23723. #: guix-git/doc/guix.texi:16264
  23724. msgid "The run directory to use. At service activation time, this directory will be created if it does not exist."
  23725. msgstr ""
  23726. #. type: item
  23727. #: guix-git/doc/guix.texi:16264
  23728. #, no-wrap
  23729. msgid "@code{pid-file} (default: @code{\"/run/dhcpd/dhcpd.pid\"})"
  23730. msgstr ""
  23731. #. type: table
  23732. #: guix-git/doc/guix.texi:16267
  23733. msgid "The PID file to use. This corresponds to the @code{-pf} option of @code{dhcpd}. See @code{man dhcpd} for details."
  23734. msgstr ""
  23735. #. type: item
  23736. #: guix-git/doc/guix.texi:16267
  23737. #, no-wrap
  23738. msgid "@code{interfaces} (default: @code{'()})"
  23739. msgstr ""
  23740. #. type: table
  23741. #: guix-git/doc/guix.texi:16273
  23742. 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."
  23743. msgstr ""
  23744. #. type: defvr
  23745. #: guix-git/doc/guix.texi:16276
  23746. #, no-wrap
  23747. msgid "{Scheme Variable} static-networking-service-type"
  23748. msgstr ""
  23749. #. type: defvr
  23750. #: guix-git/doc/guix.texi:16279
  23751. msgid "This is the type for statically-configured network interfaces."
  23752. msgstr ""
  23753. #. type: deffn
  23754. #: guix-git/doc/guix.texi:16281
  23755. #, no-wrap
  23756. msgid "{Scheme Procedure} static-networking-service @var{interface} @var{ip} @"
  23757. msgstr ""
  23758. #. type: deffn
  23759. #: guix-git/doc/guix.texi:16289
  23760. 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."
  23761. msgstr ""
  23762. #. type: deffn
  23763. #: guix-git/doc/guix.texi:16294
  23764. 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."
  23765. msgstr ""
  23766. #. type: defvr
  23767. #: guix-git/doc/guix.texi:16296 guix-git/doc/guix.texi:29568
  23768. msgid "For example:"
  23769. msgstr ""
  23770. #. type: lisp
  23771. #: guix-git/doc/guix.texi:16301
  23772. #, no-wrap
  23773. msgid ""
  23774. "(static-networking-service \"eno1\" \"192.168.1.82\"\n"
  23775. " #:gateway \"192.168.1.2\"\n"
  23776. " #:name-servers '(\"192.168.1.2\"))\n"
  23777. msgstr ""
  23778. #. type: cindex
  23779. #: guix-git/doc/guix.texi:16304
  23780. #, no-wrap
  23781. msgid "wicd"
  23782. msgstr ""
  23783. #. type: cindex
  23784. #: guix-git/doc/guix.texi:16307
  23785. #, no-wrap
  23786. msgid "network management"
  23787. msgstr ""
  23788. #. type: deffn
  23789. #: guix-git/doc/guix.texi:16308
  23790. #, no-wrap
  23791. msgid "{Scheme Procedure} wicd-service [#:wicd @var{wicd}]"
  23792. msgstr ""
  23793. #. type: deffn
  23794. #: guix-git/doc/guix.texi:16311
  23795. msgid "Return a service that runs @url{https://launchpad.net/wicd,Wicd}, a network management daemon that aims to simplify wired and wireless networking."
  23796. msgstr ""
  23797. #. type: deffn
  23798. #: guix-git/doc/guix.texi:16316
  23799. 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."
  23800. msgstr ""
  23801. #. type: cindex
  23802. #: guix-git/doc/guix.texi:16318
  23803. #, no-wrap
  23804. msgid "ModemManager"
  23805. msgstr ""
  23806. #. type: defvr
  23807. #: guix-git/doc/guix.texi:16320
  23808. #, no-wrap
  23809. msgid "{Scheme Variable} modem-manager-service-type"
  23810. msgstr ""
  23811. #. type: defvr
  23812. #: guix-git/doc/guix.texi:16325
  23813. 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."
  23814. msgstr ""
  23815. #. type: defvr
  23816. #: guix-git/doc/guix.texi:16328 guix-git/doc/guix.texi:16357
  23817. #: guix-git/doc/guix.texi:16389
  23818. msgid "This service is part of @code{%desktop-services} (@pxref{Desktop Services})."
  23819. msgstr ""
  23820. #. type: deftp
  23821. #: guix-git/doc/guix.texi:16330
  23822. #, no-wrap
  23823. msgid "{Data Type} modem-manager-configuration"
  23824. msgstr ""
  23825. #. type: deftp
  23826. #: guix-git/doc/guix.texi:16332
  23827. msgid "Data type representing the configuration of ModemManager."
  23828. msgstr ""
  23829. #. type: item
  23830. #: guix-git/doc/guix.texi:16334
  23831. #, no-wrap
  23832. msgid "@code{modem-manager} (default: @code{modem-manager})"
  23833. msgstr ""
  23834. #. type: table
  23835. #: guix-git/doc/guix.texi:16336
  23836. msgid "The ModemManager package to use."
  23837. msgstr ""
  23838. #. type: cindex
  23839. #: guix-git/doc/guix.texi:16340
  23840. #, no-wrap
  23841. msgid "USB_ModeSwitch"
  23842. msgstr ""
  23843. #. type: cindex
  23844. #: guix-git/doc/guix.texi:16341
  23845. #, no-wrap
  23846. msgid "Modeswitching"
  23847. msgstr ""
  23848. #. type: defvr
  23849. #: guix-git/doc/guix.texi:16343
  23850. #, no-wrap
  23851. msgid "{Scheme Variable} usb-modeswitch-service-type"
  23852. msgstr ""
  23853. #. type: defvr
  23854. #: guix-git/doc/guix.texi:16348
  23855. 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."
  23856. msgstr ""
  23857. #. type: defvr
  23858. #: guix-git/doc/guix.texi:16354
  23859. 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."
  23860. msgstr ""
  23861. #. type: deftp
  23862. #: guix-git/doc/guix.texi:16359
  23863. #, no-wrap
  23864. msgid "{Data Type} usb-modeswitch-configuration"
  23865. msgstr ""
  23866. #. type: deftp
  23867. #: guix-git/doc/guix.texi:16361
  23868. msgid "Data type representing the configuration of USB_ModeSwitch."
  23869. msgstr ""
  23870. #. type: item
  23871. #: guix-git/doc/guix.texi:16363
  23872. #, no-wrap
  23873. msgid "@code{usb-modeswitch} (default: @code{usb-modeswitch})"
  23874. msgstr ""
  23875. #. type: table
  23876. #: guix-git/doc/guix.texi:16365
  23877. msgid "The USB_ModeSwitch package providing the binaries for modeswitching."
  23878. msgstr ""
  23879. #. type: item
  23880. #: guix-git/doc/guix.texi:16366
  23881. #, no-wrap
  23882. msgid "@code{usb-modeswitch-data} (default: @code{usb-modeswitch-data})"
  23883. msgstr ""
  23884. #. type: table
  23885. #: guix-git/doc/guix.texi:16369
  23886. msgid "The package providing the device data and udev rules file used by USB_ModeSwitch."
  23887. msgstr ""
  23888. #. type: item
  23889. #: guix-git/doc/guix.texi:16370
  23890. #, no-wrap
  23891. msgid "@code{config-file} (default: @code{#~(string-append #$usb-modeswitch:dispatcher \"/etc/usb_modeswitch.conf\")})"
  23892. msgstr ""
  23893. #. type: table
  23894. #: guix-git/doc/guix.texi:16375
  23895. 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."
  23896. msgstr ""
  23897. #. type: cindex
  23898. #: guix-git/doc/guix.texi:16379
  23899. #, no-wrap
  23900. msgid "NetworkManager"
  23901. msgstr ""
  23902. #. type: defvr
  23903. #: guix-git/doc/guix.texi:16381
  23904. #, no-wrap
  23905. msgid "{Scheme Variable} network-manager-service-type"
  23906. msgstr ""
  23907. #. type: defvr
  23908. #: guix-git/doc/guix.texi:16386
  23909. 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."
  23910. msgstr ""
  23911. #. type: deftp
  23912. #: guix-git/doc/guix.texi:16391
  23913. #, no-wrap
  23914. msgid "{Data Type} network-manager-configuration"
  23915. msgstr ""
  23916. #. type: deftp
  23917. #: guix-git/doc/guix.texi:16393
  23918. msgid "Data type representing the configuration of NetworkManager."
  23919. msgstr ""
  23920. #. type: item
  23921. #: guix-git/doc/guix.texi:16395
  23922. #, no-wrap
  23923. msgid "@code{network-manager} (default: @code{network-manager})"
  23924. msgstr ""
  23925. #. type: table
  23926. #: guix-git/doc/guix.texi:16397
  23927. msgid "The NetworkManager package to use."
  23928. msgstr ""
  23929. #. type: item
  23930. #: guix-git/doc/guix.texi:16398
  23931. #, no-wrap
  23932. msgid "@code{dns} (default: @code{\"default\"})"
  23933. msgstr ""
  23934. #. type: table
  23935. #: guix-git/doc/guix.texi:16401
  23936. msgid "Processing mode for DNS, which affects how NetworkManager uses the @code{resolv.conf} configuration file."
  23937. msgstr ""
  23938. #. type: table
  23939. #: guix-git/doc/guix.texi:16406
  23940. msgid "NetworkManager will update @code{resolv.conf} to reflect the nameservers provided by currently active connections."
  23941. msgstr ""
  23942. #. type: item
  23943. #: guix-git/doc/guix.texi:16407
  23944. #, no-wrap
  23945. msgid "dnsmasq"
  23946. msgstr ""
  23947. #. type: table
  23948. #: guix-git/doc/guix.texi:16411
  23949. 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."
  23950. msgstr ""
  23951. #. type: table
  23952. #: guix-git/doc/guix.texi:16417
  23953. 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)."
  23954. msgstr ""
  23955. #. type: table
  23956. #: guix-git/doc/guix.texi:16424
  23957. 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:"
  23958. msgstr ""
  23959. #. type: example
  23960. #: guix-git/doc/guix.texi:16431
  23961. #, no-wrap
  23962. msgid ""
  23963. "nmcli connection add type tun \\\n"
  23964. " connection.interface-name tap0 \\\n"
  23965. " tun.mode tap tun.owner $(id -u) \\\n"
  23966. " ipv4.method shared \\\n"
  23967. " ipv4.addresses 172.28.112.1/24\n"
  23968. msgstr ""
  23969. #. type: table
  23970. #: guix-git/doc/guix.texi:16436
  23971. 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-...}."
  23972. msgstr ""
  23973. #. type: table
  23974. #: guix-git/doc/guix.texi:16439
  23975. msgid "NetworkManager will not modify @code{resolv.conf}."
  23976. msgstr ""
  23977. #. type: item
  23978. #: guix-git/doc/guix.texi:16441
  23979. #, no-wrap
  23980. msgid "@code{vpn-plugins} (default: @code{'()})"
  23981. msgstr ""
  23982. #. type: table
  23983. #: guix-git/doc/guix.texi:16445
  23984. 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."
  23985. msgstr ""
  23986. #. type: cindex
  23987. #: guix-git/doc/guix.texi:16449
  23988. #, no-wrap
  23989. msgid "Connman"
  23990. msgstr ""
  23991. #. type: deffn
  23992. #: guix-git/doc/guix.texi:16450
  23993. #, no-wrap
  23994. msgid "{Scheme Variable} connman-service-type"
  23995. msgstr ""
  23996. #. type: deffn
  23997. #: guix-git/doc/guix.texi:16453
  23998. msgid "This is the service type to run @url{https://01.org/connman,Connman}, a network connection manager."
  23999. msgstr ""
  24000. #. type: deffn
  24001. #: guix-git/doc/guix.texi:16456
  24002. msgid "Its value must be an @code{connman-configuration} record as in this example:"
  24003. msgstr ""
  24004. #. type: lisp
  24005. #: guix-git/doc/guix.texi:16461
  24006. #, no-wrap
  24007. msgid ""
  24008. "(service connman-service-type\n"
  24009. " (connman-configuration\n"
  24010. " (disable-vpn? #t)))\n"
  24011. msgstr ""
  24012. #. type: deffn
  24013. #: guix-git/doc/guix.texi:16464
  24014. msgid "See below for details about @code{connman-configuration}."
  24015. msgstr ""
  24016. #. type: deftp
  24017. #: guix-git/doc/guix.texi:16466
  24018. #, no-wrap
  24019. msgid "{Data Type} connman-configuration"
  24020. msgstr ""
  24021. #. type: deftp
  24022. #: guix-git/doc/guix.texi:16468
  24023. msgid "Data Type representing the configuration of connman."
  24024. msgstr ""
  24025. #. type: item
  24026. #: guix-git/doc/guix.texi:16470
  24027. #, no-wrap
  24028. msgid "@code{connman} (default: @var{connman})"
  24029. msgstr ""
  24030. #. type: table
  24031. #: guix-git/doc/guix.texi:16472
  24032. msgid "The connman package to use."
  24033. msgstr ""
  24034. #. type: item
  24035. #: guix-git/doc/guix.texi:16473
  24036. #, no-wrap
  24037. msgid "@code{disable-vpn?} (default: @code{#f})"
  24038. msgstr ""
  24039. #. type: table
  24040. #: guix-git/doc/guix.texi:16475
  24041. msgid "When true, disable connman's vpn plugin."
  24042. msgstr ""
  24043. #. type: cindex
  24044. #: guix-git/doc/guix.texi:16478
  24045. #, no-wrap
  24046. msgid "WPA Supplicant"
  24047. msgstr ""
  24048. #. type: defvr
  24049. #: guix-git/doc/guix.texi:16479
  24050. #, no-wrap
  24051. msgid "{Scheme Variable} wpa-supplicant-service-type"
  24052. msgstr ""
  24053. #. type: defvr
  24054. #: guix-git/doc/guix.texi:16483
  24055. 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."
  24056. msgstr ""
  24057. #. type: deftp
  24058. #: guix-git/doc/guix.texi:16485
  24059. #, no-wrap
  24060. msgid "{Data Type} wpa-supplicant-configuration"
  24061. msgstr ""
  24062. #. type: deftp
  24063. #: guix-git/doc/guix.texi:16487
  24064. msgid "Data type representing the configuration of WPA Supplicant."
  24065. msgstr ""
  24066. #. type: deftp
  24067. #: guix-git/doc/guix.texi:16489 guix-git/doc/guix.texi:31581
  24068. msgid "It takes the following parameters:"
  24069. msgstr ""
  24070. #. type: item
  24071. #: guix-git/doc/guix.texi:16491
  24072. #, no-wrap
  24073. msgid "@code{wpa-supplicant} (default: @code{wpa-supplicant})"
  24074. msgstr ""
  24075. #. type: table
  24076. #: guix-git/doc/guix.texi:16493
  24077. msgid "The WPA Supplicant package to use."
  24078. msgstr ""
  24079. #. type: item
  24080. #: guix-git/doc/guix.texi:16494
  24081. #, no-wrap
  24082. msgid "@code{requirement} (default: @code{'(user-processes loopback syslogd)}"
  24083. msgstr ""
  24084. #. type: table
  24085. #: guix-git/doc/guix.texi:16496
  24086. msgid "List of services that should be started before WPA Supplicant starts."
  24087. msgstr ""
  24088. #. type: item
  24089. #: guix-git/doc/guix.texi:16497
  24090. #, no-wrap
  24091. msgid "@code{dbus?} (default: @code{#t})"
  24092. msgstr ""
  24093. #. type: table
  24094. #: guix-git/doc/guix.texi:16499
  24095. msgid "Whether to listen for requests on D-Bus."
  24096. msgstr ""
  24097. #. type: item
  24098. #: guix-git/doc/guix.texi:16500
  24099. #, no-wrap
  24100. msgid "@code{pid-file} (default: @code{\"/var/run/wpa_supplicant.pid\"})"
  24101. msgstr ""
  24102. #. type: table
  24103. #: guix-git/doc/guix.texi:16502
  24104. msgid "Where to store the PID file."
  24105. msgstr ""
  24106. #. type: item
  24107. #: guix-git/doc/guix.texi:16503 guix-git/doc/guix.texi:30026
  24108. #: guix-git/doc/guix.texi:30168
  24109. #, no-wrap
  24110. msgid "@code{interface} (default: @code{#f})"
  24111. msgstr ""
  24112. #. type: table
  24113. #: guix-git/doc/guix.texi:16506
  24114. msgid "If this is set, it must specify the name of a network interface that WPA supplicant will control."
  24115. msgstr ""
  24116. #. type: table
  24117. #: guix-git/doc/guix.texi:16509
  24118. msgid "Optional configuration file to use."
  24119. msgstr ""
  24120. #. type: table
  24121. #: guix-git/doc/guix.texi:16512
  24122. msgid "List of additional command-line arguments to pass to the daemon."
  24123. msgstr ""
  24124. #. type: cindex
  24125. #: guix-git/doc/guix.texi:16515
  24126. #, no-wrap
  24127. msgid "hostapd service, for Wi-Fi access points"
  24128. msgstr ""
  24129. #. type: cindex
  24130. #: guix-git/doc/guix.texi:16516
  24131. #, no-wrap
  24132. msgid "Wi-Fi access points, hostapd service"
  24133. msgstr ""
  24134. #. type: defvr
  24135. #: guix-git/doc/guix.texi:16517
  24136. #, no-wrap
  24137. msgid "{Scheme Variable} hostapd-service-type"
  24138. msgstr ""
  24139. #. type: defvr
  24140. #: guix-git/doc/guix.texi:16522
  24141. 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:"
  24142. msgstr ""
  24143. #. type: lisp
  24144. #: guix-git/doc/guix.texi:16530
  24145. #, no-wrap
  24146. msgid ""
  24147. ";; Use wlan1 to run the access point for \"My Network\".\n"
  24148. "(service hostapd-service-type\n"
  24149. " (hostapd-configuration\n"
  24150. " (interface \"wlan1\")\n"
  24151. " (ssid \"My Network\")\n"
  24152. " (channel 12)))\n"
  24153. msgstr ""
  24154. #. type: deftp
  24155. #: guix-git/doc/guix.texi:16533
  24156. #, no-wrap
  24157. msgid "{Data Type} hostapd-configuration"
  24158. msgstr ""
  24159. #. type: deftp
  24160. #: guix-git/doc/guix.texi:16536
  24161. msgid "This data type represents the configuration of the hostapd service, with the following fields:"
  24162. msgstr ""
  24163. #. type: item
  24164. #: guix-git/doc/guix.texi:16538
  24165. #, no-wrap
  24166. msgid "@code{package} (default: @code{hostapd})"
  24167. msgstr ""
  24168. #. type: table
  24169. #: guix-git/doc/guix.texi:16540
  24170. msgid "The hostapd package to use."
  24171. msgstr ""
  24172. #. type: item
  24173. #: guix-git/doc/guix.texi:16541
  24174. #, no-wrap
  24175. msgid "@code{interface} (default: @code{\"wlan0\"})"
  24176. msgstr ""
  24177. #. type: table
  24178. #: guix-git/doc/guix.texi:16543
  24179. msgid "The network interface to run the WiFi access point."
  24180. msgstr ""
  24181. #. type: code{#1}
  24182. #: guix-git/doc/guix.texi:16544
  24183. #, no-wrap
  24184. msgid "ssid"
  24185. msgstr ""
  24186. #. type: table
  24187. #: guix-git/doc/guix.texi:16547
  24188. msgid "The SSID (@dfn{service set identifier}), a string that identifies this network."
  24189. msgstr ""
  24190. #. type: item
  24191. #: guix-git/doc/guix.texi:16548
  24192. #, no-wrap
  24193. msgid "@code{broadcast-ssid?} (default: @code{#t})"
  24194. msgstr ""
  24195. #. type: table
  24196. #: guix-git/doc/guix.texi:16550
  24197. msgid "Whether to broadcast this SSID."
  24198. msgstr ""
  24199. #. type: item
  24200. #: guix-git/doc/guix.texi:16551
  24201. #, no-wrap
  24202. msgid "@code{channel} (default: @code{1})"
  24203. msgstr ""
  24204. #. type: table
  24205. #: guix-git/doc/guix.texi:16553
  24206. msgid "The WiFi channel to use."
  24207. msgstr ""
  24208. #. type: item
  24209. #: guix-git/doc/guix.texi:16554
  24210. #, no-wrap
  24211. msgid "@code{driver} (default: @code{\"nl80211\"})"
  24212. msgstr ""
  24213. #. type: table
  24214. #: guix-git/doc/guix.texi:16558
  24215. 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."
  24216. msgstr ""
  24217. #. type: item
  24218. #: guix-git/doc/guix.texi:16559 guix-git/doc/guix.texi:22571
  24219. #: guix-git/doc/guix.texi:25649
  24220. #, no-wrap
  24221. msgid "@code{extra-settings} (default: @code{\"\"})"
  24222. msgstr ""
  24223. #. type: table
  24224. #: guix-git/doc/guix.texi:16563
  24225. 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."
  24226. msgstr ""
  24227. #. type: defvr
  24228. #: guix-git/doc/guix.texi:16566
  24229. #, no-wrap
  24230. msgid "{Scheme Variable} simulated-wifi-service-type"
  24231. msgstr ""
  24232. #. type: defvr
  24233. #: guix-git/doc/guix.texi:16573
  24234. 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."
  24235. msgstr ""
  24236. #. type: defvr
  24237. #: guix-git/doc/guix.texi:16575
  24238. msgid "The service's value is a @code{hostapd-configuration} record."
  24239. msgstr ""
  24240. #. type: cindex
  24241. #: guix-git/doc/guix.texi:16577
  24242. #, no-wrap
  24243. msgid "iptables"
  24244. msgstr ""
  24245. #. type: defvr
  24246. #: guix-git/doc/guix.texi:16578
  24247. #, no-wrap
  24248. msgid "{Scheme Variable} iptables-service-type"
  24249. msgstr ""
  24250. #. type: defvr
  24251. #: guix-git/doc/guix.texi:16584
  24252. 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."
  24253. msgstr ""
  24254. #. type: lisp
  24255. #: guix-git/doc/guix.texi:16606
  24256. #, no-wrap
  24257. msgid ""
  24258. "(service iptables-service-type\n"
  24259. " (iptables-configuration\n"
  24260. " (ipv4-rules (plain-file \"iptables.rules\" \"*filter\n"
  24261. ":INPUT ACCEPT\n"
  24262. ":FORWARD ACCEPT\n"
  24263. ":OUTPUT ACCEPT\n"
  24264. "-A INPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT\n"
  24265. "-A INPUT -p tcp --dport 22 -j ACCEPT\n"
  24266. "-A INPUT -j REJECT --reject-with icmp-port-unreachable\n"
  24267. "COMMIT\n"
  24268. "\"))\n"
  24269. " (ipv6-rules (plain-file \"ip6tables.rules\" \"*filter\n"
  24270. ":INPUT ACCEPT\n"
  24271. ":FORWARD ACCEPT\n"
  24272. ":OUTPUT ACCEPT\n"
  24273. "-A INPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT\n"
  24274. "-A INPUT -p tcp --dport 22 -j ACCEPT\n"
  24275. "-A INPUT -j REJECT --reject-with icmp6-port-unreachable\n"
  24276. "COMMIT\n"
  24277. "\"))))\n"
  24278. msgstr ""
  24279. #. type: deftp
  24280. #: guix-git/doc/guix.texi:16609
  24281. #, no-wrap
  24282. msgid "{Data Type} iptables-configuration"
  24283. msgstr ""
  24284. #. type: deftp
  24285. #: guix-git/doc/guix.texi:16611
  24286. msgid "The data type representing the configuration of iptables."
  24287. msgstr ""
  24288. #. type: item
  24289. #: guix-git/doc/guix.texi:16613
  24290. #, no-wrap
  24291. msgid "@code{iptables} (default: @code{iptables})"
  24292. msgstr ""
  24293. #. type: table
  24294. #: guix-git/doc/guix.texi:16616
  24295. msgid "The iptables package that provides @code{iptables-restore} and @code{ip6tables-restore}."
  24296. msgstr ""
  24297. #. type: item
  24298. #: guix-git/doc/guix.texi:16616
  24299. #, no-wrap
  24300. msgid "@code{ipv4-rules} (default: @code{%iptables-accept-all-rules})"
  24301. msgstr ""
  24302. #. type: table
  24303. #: guix-git/doc/guix.texi:16620
  24304. 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})."
  24305. msgstr ""
  24306. #. type: item
  24307. #: guix-git/doc/guix.texi:16620
  24308. #, no-wrap
  24309. msgid "@code{ipv6-rules} (default: @code{%iptables-accept-all-rules})"
  24310. msgstr ""
  24311. #. type: table
  24312. #: guix-git/doc/guix.texi:16624
  24313. 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})."
  24314. msgstr ""
  24315. #. type: cindex
  24316. #: guix-git/doc/guix.texi:16627
  24317. #, no-wrap
  24318. msgid "nftables"
  24319. msgstr ""
  24320. #. type: defvr
  24321. #: guix-git/doc/guix.texi:16628
  24322. #, no-wrap
  24323. msgid "{Scheme Variable} nftables-service-type"
  24324. msgstr ""
  24325. #. type: defvr
  24326. #: guix-git/doc/guix.texi:16636
  24327. 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:"
  24328. msgstr ""
  24329. #. type: lisp
  24330. #: guix-git/doc/guix.texi:16639
  24331. #, no-wrap
  24332. msgid "(service nftables-service-type)\n"
  24333. msgstr ""
  24334. #. type: deftp
  24335. #: guix-git/doc/guix.texi:16642
  24336. #, no-wrap
  24337. msgid "{Data Type} nftables-configuration"
  24338. msgstr ""
  24339. #. type: deftp
  24340. #: guix-git/doc/guix.texi:16644
  24341. msgid "The data type representing the configuration of nftables."
  24342. msgstr ""
  24343. #. type: item
  24344. #: guix-git/doc/guix.texi:16646
  24345. #, no-wrap
  24346. msgid "@code{package} (default: @code{nftables})"
  24347. msgstr ""
  24348. #. type: table
  24349. #: guix-git/doc/guix.texi:16648
  24350. msgid "The nftables package that provides @command{nft}."
  24351. msgstr ""
  24352. #. type: item
  24353. #: guix-git/doc/guix.texi:16648
  24354. #, no-wrap
  24355. msgid "@code{ruleset} (default: @code{%default-nftables-ruleset})"
  24356. msgstr ""
  24357. #. type: table
  24358. #: guix-git/doc/guix.texi:16651
  24359. msgid "The nftables ruleset to use. This may be any ``file-like'' object (@pxref{G-Expressions, file-like objects})."
  24360. msgstr ""
  24361. #. type: cindex
  24362. #: guix-git/doc/guix.texi:16654
  24363. #, no-wrap
  24364. msgid "NTP (Network Time Protocol), service"
  24365. msgstr ""
  24366. #. type: cindex
  24367. #: guix-git/doc/guix.texi:16655
  24368. #, no-wrap
  24369. msgid "ntpd, service for the Network Time Protocol daemon"
  24370. msgstr ""
  24371. #. type: cindex
  24372. #: guix-git/doc/guix.texi:16656
  24373. #, no-wrap
  24374. msgid "real time clock"
  24375. msgstr ""
  24376. #. type: defvr
  24377. #: guix-git/doc/guix.texi:16657
  24378. #, no-wrap
  24379. msgid "{Scheme Variable} ntp-service-type"
  24380. msgstr ""
  24381. #. type: defvr
  24382. #: guix-git/doc/guix.texi:16661
  24383. 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."
  24384. msgstr ""
  24385. #. type: defvr
  24386. #: guix-git/doc/guix.texi:16664
  24387. msgid "The value of this service is an @code{ntpd-configuration} object, as described below."
  24388. msgstr ""
  24389. #. type: deftp
  24390. #: guix-git/doc/guix.texi:16666
  24391. #, no-wrap
  24392. msgid "{Data Type} ntp-configuration"
  24393. msgstr ""
  24394. #. type: deftp
  24395. #: guix-git/doc/guix.texi:16668
  24396. msgid "This is the data type for the NTP service configuration."
  24397. msgstr ""
  24398. #. type: item
  24399. #: guix-git/doc/guix.texi:16670
  24400. #, no-wrap
  24401. msgid "@code{servers} (default: @code{%ntp-servers})"
  24402. msgstr ""
  24403. #. type: table
  24404. #: guix-git/doc/guix.texi:16674
  24405. 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."
  24406. msgstr ""
  24407. #. type: item
  24408. #: guix-git/doc/guix.texi:16675
  24409. #, no-wrap
  24410. msgid "@code{allow-large-adjustment?} (default: @code{#t})"
  24411. msgstr ""
  24412. #. type: table
  24413. #: guix-git/doc/guix.texi:16678
  24414. msgid "This determines whether @command{ntpd} is allowed to make an initial adjustment of more than 1,000 seconds."
  24415. msgstr ""
  24416. #. type: item
  24417. #: guix-git/doc/guix.texi:16679
  24418. #, no-wrap
  24419. msgid "@code{ntp} (default: @code{ntp})"
  24420. msgstr ""
  24421. #. type: table
  24422. #: guix-git/doc/guix.texi:16681
  24423. msgid "The NTP package to use."
  24424. msgstr ""
  24425. #. type: defvr
  24426. #: guix-git/doc/guix.texi:16684
  24427. #, no-wrap
  24428. msgid "{Scheme Variable} %ntp-servers"
  24429. msgstr ""
  24430. #. type: defvr
  24431. #: guix-git/doc/guix.texi:16687
  24432. 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}."
  24433. msgstr ""
  24434. #. type: deftp
  24435. #: guix-git/doc/guix.texi:16689
  24436. #, no-wrap
  24437. msgid "{Data Type} ntp-server"
  24438. msgstr ""
  24439. #. type: deftp
  24440. #: guix-git/doc/guix.texi:16691
  24441. msgid "The data type representing the configuration of a NTP server."
  24442. msgstr ""
  24443. #. type: item
  24444. #: guix-git/doc/guix.texi:16693
  24445. #, no-wrap
  24446. msgid "@code{type} (default: @code{'server})"
  24447. msgstr ""
  24448. #. type: table
  24449. #: guix-git/doc/guix.texi:16696
  24450. msgid "The type of the NTP server, given as a symbol. One of @code{'pool}, @code{'server}, @code{'peer}, @code{'broadcast} or @code{'manycastclient}."
  24451. msgstr ""
  24452. #. type: code{#1}
  24453. #: guix-git/doc/guix.texi:16697
  24454. #, no-wrap
  24455. msgid "address"
  24456. msgstr ""
  24457. #. type: table
  24458. #: guix-git/doc/guix.texi:16699
  24459. msgid "The address of the server, as a string."
  24460. msgstr ""
  24461. #. type: code{#1}
  24462. #: guix-git/doc/guix.texi:16700 guix-git/doc/guix.texi:32416
  24463. #: guix-git/doc/guix.texi:32436
  24464. #, no-wrap
  24465. msgid "options"
  24466. msgstr ""
  24467. #. type: table
  24468. #: guix-git/doc/guix.texi:16705
  24469. 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."
  24470. msgstr ""
  24471. #. type: example
  24472. #: guix-git/doc/guix.texi:16711
  24473. #, no-wrap
  24474. msgid ""
  24475. "(ntp-server\n"
  24476. " (type 'server)\n"
  24477. " (address \"some.ntp.server.org\")\n"
  24478. " (options `(iburst (version 3) (maxpoll 16) prefer))))\n"
  24479. msgstr ""
  24480. #. type: cindex
  24481. #: guix-git/doc/guix.texi:16715
  24482. #, no-wrap
  24483. msgid "OpenNTPD"
  24484. msgstr ""
  24485. #. type: deffn
  24486. #: guix-git/doc/guix.texi:16716
  24487. #, no-wrap
  24488. msgid "{Scheme Procedure} openntpd-service-type"
  24489. msgstr ""
  24490. #. type: deffn
  24491. #: guix-git/doc/guix.texi:16720
  24492. 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."
  24493. msgstr ""
  24494. #. type: lisp
  24495. #: guix-git/doc/guix.texi:16729
  24496. #, no-wrap
  24497. msgid ""
  24498. "(service\n"
  24499. " openntpd-service-type\n"
  24500. " (openntpd-configuration\n"
  24501. " (listen-on '(\"127.0.0.1\" \"::1\"))\n"
  24502. " (sensor '(\"udcf0 correction 70000\"))\n"
  24503. " (constraint-from '(\"www.gnu.org\"))\n"
  24504. " (constraints-from '(\"https://www.google.com/\"))))\n"
  24505. "\n"
  24506. msgstr ""
  24507. #. type: defvr
  24508. #: guix-git/doc/guix.texi:16733
  24509. #, no-wrap
  24510. msgid "{Scheme Variable} %openntpd-servers"
  24511. msgstr ""
  24512. #. type: defvr
  24513. #: guix-git/doc/guix.texi:16736
  24514. msgid "This variable is a list of the server addresses defined in @code{%ntp-servers}."
  24515. msgstr ""
  24516. #. type: deftp
  24517. #: guix-git/doc/guix.texi:16738
  24518. #, no-wrap
  24519. msgid "{Data Type} openntpd-configuration"
  24520. msgstr ""
  24521. #. type: item
  24522. #: guix-git/doc/guix.texi:16740
  24523. #, no-wrap
  24524. msgid "@code{openntpd} (default: @code{(file-append openntpd \"/sbin/ntpd\")})"
  24525. msgstr ""
  24526. #. type: table
  24527. #: guix-git/doc/guix.texi:16742
  24528. msgid "The openntpd executable to use."
  24529. msgstr ""
  24530. #. type: item
  24531. #: guix-git/doc/guix.texi:16742
  24532. #, no-wrap
  24533. msgid "@code{listen-on} (default: @code{'(\"127.0.0.1\" \"::1\")})"
  24534. msgstr ""
  24535. #. type: table
  24536. #: guix-git/doc/guix.texi:16744
  24537. msgid "A list of local IP addresses or hostnames the ntpd daemon should listen on."
  24538. msgstr ""
  24539. #. type: item
  24540. #: guix-git/doc/guix.texi:16744
  24541. #, no-wrap
  24542. msgid "@code{query-from} (default: @code{'()})"
  24543. msgstr ""
  24544. #. type: table
  24545. #: guix-git/doc/guix.texi:16746
  24546. msgid "A list of local IP address the ntpd daemon should use for outgoing queries."
  24547. msgstr ""
  24548. #. type: item
  24549. #: guix-git/doc/guix.texi:16746
  24550. #, no-wrap
  24551. msgid "@code{sensor} (default: @code{'()})"
  24552. msgstr ""
  24553. #. type: table
  24554. #: guix-git/doc/guix.texi:16751
  24555. 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."
  24556. msgstr ""
  24557. #. type: item
  24558. #: guix-git/doc/guix.texi:16751
  24559. #, no-wrap
  24560. msgid "@code{server} (default: @code{'()})"
  24561. msgstr ""
  24562. #. type: table
  24563. #: guix-git/doc/guix.texi:16753
  24564. msgid "Specify a list of IP addresses or hostnames of NTP servers to synchronize to."
  24565. msgstr ""
  24566. #. type: item
  24567. #: guix-git/doc/guix.texi:16753
  24568. #, no-wrap
  24569. msgid "@code{servers} (default: @code{%openntp-servers})"
  24570. msgstr ""
  24571. #. type: table
  24572. #: guix-git/doc/guix.texi:16755
  24573. msgid "Specify a list of IP addresses or hostnames of NTP pools to synchronize to."
  24574. msgstr ""
  24575. #. type: item
  24576. #: guix-git/doc/guix.texi:16755
  24577. #, no-wrap
  24578. msgid "@code{constraint-from} (default: @code{'()})"
  24579. msgstr ""
  24580. #. type: table
  24581. #: guix-git/doc/guix.texi:16762
  24582. 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."
  24583. msgstr ""
  24584. #. type: item
  24585. #: guix-git/doc/guix.texi:16762
  24586. #, no-wrap
  24587. msgid "@code{constraints-from} (default: @code{'()})"
  24588. msgstr ""
  24589. #. type: table
  24590. #: guix-git/doc/guix.texi:16766
  24591. 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."
  24592. msgstr ""
  24593. #. type: cindex
  24594. #: guix-git/doc/guix.texi:16769
  24595. #, no-wrap
  24596. msgid "inetd"
  24597. msgstr ""
  24598. #. type: deffn
  24599. #: guix-git/doc/guix.texi:16770
  24600. #, no-wrap
  24601. msgid "{Scheme variable} inetd-service-type"
  24602. msgstr ""
  24603. #. type: deffn
  24604. #: guix-git/doc/guix.texi:16775
  24605. 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."
  24606. msgstr ""
  24607. #. type: deffn
  24608. #: guix-git/doc/guix.texi:16781
  24609. 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}:"
  24610. msgstr ""
  24611. #. type: lisp
  24612. #: guix-git/doc/guix.texi:16804
  24613. #, no-wrap
  24614. msgid ""
  24615. "(service\n"
  24616. " inetd-service-type\n"
  24617. " (inetd-configuration\n"
  24618. " (entries (list\n"
  24619. " (inetd-entry\n"
  24620. " (name \"echo\")\n"
  24621. " (socket-type 'stream)\n"
  24622. " (protocol \"tcp\")\n"
  24623. " (wait? #f)\n"
  24624. " (user \"root\"))\n"
  24625. " (inetd-entry\n"
  24626. " (node \"127.0.0.1\")\n"
  24627. " (name \"smtp\")\n"
  24628. " (socket-type 'stream)\n"
  24629. " (protocol \"tcp\")\n"
  24630. " (wait? #f)\n"
  24631. " (user \"root\")\n"
  24632. " (program (file-append openssh \"/bin/ssh\"))\n"
  24633. " (arguments\n"
  24634. " '(\"ssh\" \"-qT\" \"-i\" \"/path/to/ssh_key\"\n"
  24635. " \"-W\" \"smtp-server:25\" \"user@@hostname\")))))))\n"
  24636. msgstr ""
  24637. #. type: deffn
  24638. #: guix-git/doc/guix.texi:16807
  24639. msgid "See below for more details about @code{inetd-configuration}."
  24640. msgstr ""
  24641. #. type: deftp
  24642. #: guix-git/doc/guix.texi:16809
  24643. #, no-wrap
  24644. msgid "{Data Type} inetd-configuration"
  24645. msgstr ""
  24646. #. type: deftp
  24647. #: guix-git/doc/guix.texi:16811
  24648. msgid "Data type representing the configuration of @command{inetd}."
  24649. msgstr ""
  24650. #. type: item
  24651. #: guix-git/doc/guix.texi:16813
  24652. #, no-wrap
  24653. msgid "@code{program} (default: @code{(file-append inetutils \"/libexec/inetd\")})"
  24654. msgstr ""
  24655. #. type: table
  24656. #: guix-git/doc/guix.texi:16815
  24657. msgid "The @command{inetd} executable to use."
  24658. msgstr ""
  24659. #. type: item
  24660. #: guix-git/doc/guix.texi:16816 guix-git/doc/guix.texi:26491
  24661. #, no-wrap
  24662. msgid "@code{entries} (default: @code{'()})"
  24663. msgstr ""
  24664. #. type: table
  24665. #: guix-git/doc/guix.texi:16819
  24666. msgid "A list of @command{inetd} service entries. Each entry should be created by the @code{inetd-entry} constructor."
  24667. msgstr ""
  24668. #. type: deftp
  24669. #: guix-git/doc/guix.texi:16822
  24670. #, no-wrap
  24671. msgid "{Data Type} inetd-entry"
  24672. msgstr ""
  24673. #. type: deftp
  24674. #: guix-git/doc/guix.texi:16826
  24675. msgid "Data type representing an entry in the @command{inetd} configuration. Each entry corresponds to a socket where @command{inetd} will listen for requests."
  24676. msgstr ""
  24677. #. type: item
  24678. #: guix-git/doc/guix.texi:16828
  24679. #, no-wrap
  24680. msgid "@code{node} (default: @code{#f})"
  24681. msgstr ""
  24682. #. type: table
  24683. #: guix-git/doc/guix.texi:16833
  24684. 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."
  24685. msgstr ""
  24686. #. type: table
  24687. #: guix-git/doc/guix.texi:16835
  24688. msgid "A string, the name must correspond to an entry in @code{/etc/services}."
  24689. msgstr ""
  24690. #. type: code{#1}
  24691. #: guix-git/doc/guix.texi:16835
  24692. #, no-wrap
  24693. msgid "socket-type"
  24694. msgstr ""
  24695. #. type: table
  24696. #: guix-git/doc/guix.texi:16838
  24697. msgid "One of @code{'stream}, @code{'dgram}, @code{'raw}, @code{'rdm} or @code{'seqpacket}."
  24698. msgstr ""
  24699. #. type: code{#1}
  24700. #: guix-git/doc/guix.texi:16838
  24701. #, no-wrap
  24702. msgid "protocol"
  24703. msgstr ""
  24704. #. type: table
  24705. #: guix-git/doc/guix.texi:16840
  24706. msgid "A string, must correspond to an entry in @code{/etc/protocols}."
  24707. msgstr ""
  24708. #. type: item
  24709. #: guix-git/doc/guix.texi:16840
  24710. #, no-wrap
  24711. msgid "@code{wait?} (default: @code{#t})"
  24712. msgstr ""
  24713. #. type: table
  24714. #: guix-git/doc/guix.texi:16843
  24715. msgid "Whether @command{inetd} should wait for the server to exit before listening to new service requests."
  24716. msgstr ""
  24717. #. type: table
  24718. #: guix-git/doc/guix.texi:16848
  24719. 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\"}."
  24720. msgstr ""
  24721. #. type: item
  24722. #: guix-git/doc/guix.texi:16848
  24723. #, no-wrap
  24724. msgid "@code{program} (default: @code{\"internal\"})"
  24725. msgstr ""
  24726. #. type: table
  24727. #: guix-git/doc/guix.texi:16851
  24728. msgid "The server program which will serve the requests, or @code{\"internal\"} if @command{inetd} should use a built-in service."
  24729. msgstr ""
  24730. #. type: table
  24731. #: guix-git/doc/guix.texi:16856
  24732. 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\")}."
  24733. msgstr ""
  24734. #. type: deftp
  24735. #: guix-git/doc/guix.texi:16860
  24736. msgid "@xref{Configuration file,,, inetutils, GNU Inetutils} for a more detailed discussion of each configuration field."
  24737. msgstr ""
  24738. #. type: cindex
  24739. #: guix-git/doc/guix.texi:16862
  24740. #, no-wrap
  24741. msgid "opendht, distributed hash table network service"
  24742. msgstr ""
  24743. #. type: cindex
  24744. #: guix-git/doc/guix.texi:16863
  24745. #, no-wrap
  24746. msgid "dhtproxy, for use with jami"
  24747. msgstr ""
  24748. #. type: defvr
  24749. #: guix-git/doc/guix.texi:16864
  24750. #, no-wrap
  24751. msgid "{Scheme Variable} opendht-service-type"
  24752. msgstr ""
  24753. #. type: defvr
  24754. #: guix-git/doc/guix.texi:16869
  24755. msgid "This is the type of the service running a @uref{https://opendht.net, OpenDHT} node, @command{dhtnode}. The daemon can be used to host your own proxy service to the distributed hash table (DHT), for example to connect to with Jami, among other applications."
  24756. msgstr ""
  24757. #. type: quotation
  24758. #: guix-git/doc/guix.texi:16879
  24759. msgid "When using the OpenDHT proxy server, the IP addresses it ``sees'' from the clients should be addresses reachable from other peers. In practice this means that a publicly reachable address is best suited for a proxy server, outside of your private network. For example, hosting the proxy server on a IPv4 private local network and exposing it via port forwarding could work for external peers, but peers local to the proxy would have their private addresses shared with the external peers, leading to connectivity problems."
  24760. msgstr ""
  24761. #. type: defvr
  24762. #: guix-git/doc/guix.texi:16883
  24763. msgid "The value of this service is a @code{opendht-configuration} object, as described below."
  24764. msgstr ""
  24765. #. type: deftp
  24766. #: guix-git/doc/guix.texi:16885
  24767. #, no-wrap
  24768. msgid "{Data Type} opendht-configuration"
  24769. msgstr ""
  24770. #. type: deftp
  24771. #: guix-git/doc/guix.texi:16887
  24772. msgid "This is the data type for the OpenDHT service configuration."
  24773. msgstr ""
  24774. #. type: deftp
  24775. #: guix-git/doc/guix.texi:16892
  24776. msgid "Available @code{opendht-configuration} fields are:"
  24777. msgstr ""
  24778. #. type: deftypevr
  24779. #: guix-git/doc/guix.texi:16893
  24780. #, no-wrap
  24781. msgid "{@code{opendht-configuration} parameter} package opendht"
  24782. msgstr ""
  24783. #. type: deftypevr
  24784. #: guix-git/doc/guix.texi:16895
  24785. msgid "The @code{opendht} package to use."
  24786. msgstr ""
  24787. #. type: deftypevr
  24788. #: guix-git/doc/guix.texi:16898
  24789. #, no-wrap
  24790. msgid "{@code{opendht-configuration} parameter} boolean peer-discovery?"
  24791. msgstr ""
  24792. #. type: deftypevr
  24793. #: guix-git/doc/guix.texi:16900
  24794. msgid "Whether to enable the multicast local peer discovery mechanism."
  24795. msgstr ""
  24796. #. type: deftypevr
  24797. #: guix-git/doc/guix.texi:16902 guix-git/doc/guix.texi:16910
  24798. #: guix-git/doc/guix.texi:16918 guix-git/doc/guix.texi:18562
  24799. #: guix-git/doc/guix.texi:18632 guix-git/doc/guix.texi:18674
  24800. #: guix-git/doc/guix.texi:18694 guix-git/doc/guix.texi:18700
  24801. #: guix-git/doc/guix.texi:18716 guix-git/doc/guix.texi:18804
  24802. #: guix-git/doc/guix.texi:18892 guix-git/doc/guix.texi:19205
  24803. #: guix-git/doc/guix.texi:19218 guix-git/doc/guix.texi:20335
  24804. #: guix-git/doc/guix.texi:21813 guix-git/doc/guix.texi:21919
  24805. #: guix-git/doc/guix.texi:21984 guix-git/doc/guix.texi:21993
  24806. #: guix-git/doc/guix.texi:23226 guix-git/doc/guix.texi:23270
  24807. #: guix-git/doc/guix.texi:23287 guix-git/doc/guix.texi:23295
  24808. #: guix-git/doc/guix.texi:23310 guix-git/doc/guix.texi:23328
  24809. #: guix-git/doc/guix.texi:23352 guix-git/doc/guix.texi:23405
  24810. #: guix-git/doc/guix.texi:23538 guix-git/doc/guix.texi:23572
  24811. #: guix-git/doc/guix.texi:23608 guix-git/doc/guix.texi:23624
  24812. #: guix-git/doc/guix.texi:23652 guix-git/doc/guix.texi:23713
  24813. #: guix-git/doc/guix.texi:23796 guix-git/doc/guix.texi:27206
  24814. #: guix-git/doc/guix.texi:27220 guix-git/doc/guix.texi:27242
  24815. #: guix-git/doc/guix.texi:27361 guix-git/doc/guix.texi:27375
  24816. #: guix-git/doc/guix.texi:27396 guix-git/doc/guix.texi:27417
  24817. #: guix-git/doc/guix.texi:27424 guix-git/doc/guix.texi:27469
  24818. #: guix-git/doc/guix.texi:27476 guix-git/doc/guix.texi:28259
  24819. #: guix-git/doc/guix.texi:28273 guix-git/doc/guix.texi:28445
  24820. #: guix-git/doc/guix.texi:28490 guix-git/doc/guix.texi:28577
  24821. #: guix-git/doc/guix.texi:28779 guix-git/doc/guix.texi:28812
  24822. #: guix-git/doc/guix.texi:28952 guix-git/doc/guix.texi:28963
  24823. #: guix-git/doc/guix.texi:29214 guix-git/doc/guix.texi:30680
  24824. #: guix-git/doc/guix.texi:30689 guix-git/doc/guix.texi:30697
  24825. #: guix-git/doc/guix.texi:30705 guix-git/doc/guix.texi:30721
  24826. #: guix-git/doc/guix.texi:30737 guix-git/doc/guix.texi:30745
  24827. #: guix-git/doc/guix.texi:30753 guix-git/doc/guix.texi:30762
  24828. #: guix-git/doc/guix.texi:30771 guix-git/doc/guix.texi:30787
  24829. #: guix-git/doc/guix.texi:30851 guix-git/doc/guix.texi:30957
  24830. #: guix-git/doc/guix.texi:30965 guix-git/doc/guix.texi:30973
  24831. #: guix-git/doc/guix.texi:30998 guix-git/doc/guix.texi:31052
  24832. #: guix-git/doc/guix.texi:31100 guix-git/doc/guix.texi:31301
  24833. #: guix-git/doc/guix.texi:31308
  24834. msgid "Defaults to @samp{#f}."
  24835. msgstr ""
  24836. #. type: deftypevr
  24837. #: guix-git/doc/guix.texi:16905
  24838. #, no-wrap
  24839. msgid "{@code{opendht-configuration} parameter} boolean enable-logging?"
  24840. msgstr ""
  24841. #. type: deftypevr
  24842. #: guix-git/doc/guix.texi:16908
  24843. msgid "Whether to enable logging messages to syslog. It is disabled by default as it is rather verbose."
  24844. msgstr ""
  24845. #. type: deftypevr
  24846. #: guix-git/doc/guix.texi:16913
  24847. #, no-wrap
  24848. msgid "{@code{opendht-configuration} parameter} boolean debug?"
  24849. msgstr ""
  24850. #. type: deftypevr
  24851. #: guix-git/doc/guix.texi:16916
  24852. msgid "Whether to enable debug-level logging messages. This has no effect if logging is disabled."
  24853. msgstr ""
  24854. #. type: deftypevr
  24855. #: guix-git/doc/guix.texi:16921
  24856. #, no-wrap
  24857. msgid "{@code{opendht-configuration} parameter} maybe-string bootstrap-host"
  24858. msgstr ""
  24859. #. type: deftypevr
  24860. #: guix-git/doc/guix.texi:16927
  24861. msgid "The node host name that is used to make the first connection to the network. A specific port value can be provided by appending the @code{:PORT} suffix. By default, it uses the Jami bootstrap nodes, but any host can be specified here. It's also possible to disable bootsrapping by setting this to the @code{'disabled} symbol."
  24862. msgstr ""
  24863. #. type: deftypevr
  24864. #: guix-git/doc/guix.texi:16929
  24865. msgid "Defaults to @samp{\"bootstrap.jami.net:4222\"}."
  24866. msgstr ""
  24867. #. type: deftypevr
  24868. #: guix-git/doc/guix.texi:16932
  24869. #, no-wrap
  24870. msgid "{@code{opendht-configuration} parameter} maybe-number port"
  24871. msgstr ""
  24872. #. type: deftypevr
  24873. #: guix-git/doc/guix.texi:16935
  24874. msgid "The UDP port to bind to. When set to @code{'disabled}, an available port is automatically selected."
  24875. msgstr ""
  24876. #. type: deftypevr
  24877. #: guix-git/doc/guix.texi:16937
  24878. msgid "Defaults to @samp{4222}."
  24879. msgstr ""
  24880. #. type: deftypevr
  24881. #: guix-git/doc/guix.texi:16940
  24882. #, no-wrap
  24883. msgid "{@code{opendht-configuration} parameter} maybe-number proxy-server-port"
  24884. msgstr ""
  24885. #. type: deftypevr
  24886. #: guix-git/doc/guix.texi:16942
  24887. msgid "Spawn a proxy server listening on the specified port."
  24888. msgstr ""
  24889. #. type: deftypevr
  24890. #: guix-git/doc/guix.texi:16944 guix-git/doc/guix.texi:16951
  24891. #: guix-git/doc/guix.texi:23234 guix-git/doc/guix.texi:23278
  24892. #: guix-git/doc/guix.texi:23491 guix-git/doc/guix.texi:23547
  24893. #: guix-git/doc/guix.texi:23721 guix-git/doc/guix.texi:23732
  24894. #: guix-git/doc/guix.texi:23805 guix-git/doc/guix.texi:24530
  24895. #: guix-git/doc/guix.texi:24573 guix-git/doc/guix.texi:24581
  24896. #: guix-git/doc/guix.texi:24589 guix-git/doc/guix.texi:24597
  24897. #: guix-git/doc/guix.texi:24606 guix-git/doc/guix.texi:24614
  24898. #: guix-git/doc/guix.texi:24621 guix-git/doc/guix.texi:24629
  24899. #: guix-git/doc/guix.texi:24637 guix-git/doc/guix.texi:24647
  24900. #: guix-git/doc/guix.texi:24654 guix-git/doc/guix.texi:24678
  24901. #: guix-git/doc/guix.texi:24686 guix-git/doc/guix.texi:24712
  24902. #: guix-git/doc/guix.texi:24721 guix-git/doc/guix.texi:24730
  24903. #: guix-git/doc/guix.texi:24739 guix-git/doc/guix.texi:24748
  24904. #: guix-git/doc/guix.texi:24757 guix-git/doc/guix.texi:24765
  24905. #: guix-git/doc/guix.texi:24773 guix-git/doc/guix.texi:24780
  24906. #: guix-git/doc/guix.texi:24788 guix-git/doc/guix.texi:24795
  24907. #: guix-git/doc/guix.texi:24803 guix-git/doc/guix.texi:24811
  24908. #: guix-git/doc/guix.texi:24820 guix-git/doc/guix.texi:24829
  24909. #: guix-git/doc/guix.texi:24837 guix-git/doc/guix.texi:24845
  24910. #: guix-git/doc/guix.texi:24853 guix-git/doc/guix.texi:24864
  24911. #: guix-git/doc/guix.texi:24874 guix-git/doc/guix.texi:24885
  24912. #: guix-git/doc/guix.texi:24894 guix-git/doc/guix.texi:24904
  24913. #: guix-git/doc/guix.texi:24912 guix-git/doc/guix.texi:24923
  24914. #: guix-git/doc/guix.texi:24932 guix-git/doc/guix.texi:24942
  24915. #: guix-git/doc/guix.texi:28172 guix-git/doc/guix.texi:28179
  24916. #: guix-git/doc/guix.texi:28186 guix-git/doc/guix.texi:28193
  24917. #: guix-git/doc/guix.texi:28200 guix-git/doc/guix.texi:28207
  24918. #: guix-git/doc/guix.texi:28215 guix-git/doc/guix.texi:28223
  24919. #: guix-git/doc/guix.texi:28230 guix-git/doc/guix.texi:28237
  24920. #: guix-git/doc/guix.texi:28244 guix-git/doc/guix.texi:28251
  24921. #: guix-git/doc/guix.texi:28281 guix-git/doc/guix.texi:28319
  24922. #: guix-git/doc/guix.texi:28326 guix-git/doc/guix.texi:28335
  24923. #: guix-git/doc/guix.texi:28357 guix-git/doc/guix.texi:28365
  24924. #: guix-git/doc/guix.texi:28372 guix-git/doc/guix.texi:28527
  24925. #: guix-git/doc/guix.texi:28547 guix-git/doc/guix.texi:28562
  24926. #: guix-git/doc/guix.texi:28569 guix-git/doc/guix.texi:31253
  24927. #: guix-git/doc/guix.texi:31261 guix-git/doc/guix.texi:31269
  24928. #: guix-git/doc/guix.texi:31277 guix-git/doc/guix.texi:31285
  24929. #: guix-git/doc/guix.texi:31293
  24930. msgid "Defaults to @samp{disabled}."
  24931. msgstr ""
  24932. #. type: deftypevr
  24933. #: guix-git/doc/guix.texi:16947
  24934. #, no-wrap
  24935. msgid "{@code{opendht-configuration} parameter} maybe-number proxy-server-port-tls"
  24936. msgstr ""
  24937. #. type: deftypevr
  24938. #: guix-git/doc/guix.texi:16949
  24939. msgid "Spawn a proxy server listening to TLS connections on the specified port."
  24940. msgstr ""
  24941. #. type: cindex
  24942. #: guix-git/doc/guix.texi:16955
  24943. #, no-wrap
  24944. msgid "Tor"
  24945. msgstr ""
  24946. #. type: defvr
  24947. #: guix-git/doc/guix.texi:16956
  24948. #, no-wrap
  24949. msgid "{Scheme Variable} tor-service-type"
  24950. msgstr ""
  24951. #. type: defvr
  24952. #: guix-git/doc/guix.texi:16961
  24953. 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."
  24954. msgstr ""
  24955. #. type: deftp
  24956. #: guix-git/doc/guix.texi:16964
  24957. #, no-wrap
  24958. msgid "{Data Type} tor-configuration"
  24959. msgstr ""
  24960. #. type: item
  24961. #: guix-git/doc/guix.texi:16966
  24962. #, no-wrap
  24963. msgid "@code{tor} (default: @code{tor})"
  24964. msgstr ""
  24965. #. type: table
  24966. #: guix-git/doc/guix.texi:16971
  24967. 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."
  24968. msgstr ""
  24969. #. type: item
  24970. #: guix-git/doc/guix.texi:16972
  24971. #, no-wrap
  24972. msgid "@code{config-file} (default: @code{(plain-file \"empty\" \"\")})"
  24973. msgstr ""
  24974. #. type: table
  24975. #: guix-git/doc/guix.texi:16978
  24976. 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."
  24977. msgstr ""
  24978. #. type: item
  24979. #: guix-git/doc/guix.texi:16979
  24980. #, no-wrap
  24981. msgid "@code{hidden-services} (default: @code{'()})"
  24982. msgstr ""
  24983. #. type: table
  24984. #: guix-git/doc/guix.texi:16985
  24985. 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."
  24986. msgstr ""
  24987. #. type: item
  24988. #: guix-git/doc/guix.texi:16986
  24989. #, no-wrap
  24990. msgid "@code{socks-socket-type} (default: @code{'tcp})"
  24991. msgstr ""
  24992. #. type: table
  24993. #: guix-git/doc/guix.texi:16993
  24994. 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."
  24995. msgstr ""
  24996. #. type: table
  24997. #: guix-git/doc/guix.texi:16998
  24998. 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."
  24999. msgstr ""
  25000. #. type: item
  25001. #: guix-git/doc/guix.texi:16999
  25002. #, no-wrap
  25003. msgid "@code{control-socket?} (default: @code{#f})"
  25004. msgstr ""
  25005. #. type: table
  25006. #: guix-git/doc/guix.texi:17005
  25007. 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."
  25008. msgstr ""
  25009. #. type: cindex
  25010. #: guix-git/doc/guix.texi:17009
  25011. #, no-wrap
  25012. msgid "hidden service"
  25013. msgstr ""
  25014. #. type: deffn
  25015. #: guix-git/doc/guix.texi:17010
  25016. #, no-wrap
  25017. msgid "{Scheme Procedure} tor-hidden-service @var{name} @var{mapping}"
  25018. msgstr ""
  25019. #. type: deffn
  25020. #: guix-git/doc/guix.texi:17013
  25021. 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:"
  25022. msgstr ""
  25023. #. type: example
  25024. #: guix-git/doc/guix.texi:17017
  25025. #, no-wrap
  25026. msgid ""
  25027. " '((22 \"127.0.0.1:22\")\n"
  25028. " (80 \"127.0.0.1:8080\"))\n"
  25029. msgstr ""
  25030. #. type: deffn
  25031. #: guix-git/doc/guix.texi:17021
  25032. 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."
  25033. msgstr ""
  25034. #. type: deffn
  25035. #: guix-git/doc/guix.texi:17025
  25036. 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."
  25037. msgstr ""
  25038. #. type: deffn
  25039. #: guix-git/doc/guix.texi:17028
  25040. msgid "See @uref{https://www.torproject.org/docs/tor-hidden-service.html.en, the Tor project's documentation} for more information."
  25041. msgstr ""
  25042. #. type: Plain text
  25043. #: guix-git/doc/guix.texi:17031
  25044. msgid "The @code{(gnu services rsync)} module provides the following services:"
  25045. msgstr ""
  25046. #. type: Plain text
  25047. #: guix-git/doc/guix.texi:17035
  25048. 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."
  25049. msgstr ""
  25050. #. type: deffn
  25051. #: guix-git/doc/guix.texi:17036
  25052. #, no-wrap
  25053. msgid "{Scheme Variable} rsync-service-type"
  25054. msgstr ""
  25055. #. type: deffn
  25056. #: guix-git/doc/guix.texi:17040
  25057. 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:"
  25058. msgstr ""
  25059. #. type: lisp
  25060. #: guix-git/doc/guix.texi:17043
  25061. #, no-wrap
  25062. msgid "(service rsync-service-type)\n"
  25063. msgstr ""
  25064. #. type: deffn
  25065. #: guix-git/doc/guix.texi:17046
  25066. msgid "See below for details about @code{rsync-configuration}."
  25067. msgstr ""
  25068. #. type: deftp
  25069. #: guix-git/doc/guix.texi:17048
  25070. #, no-wrap
  25071. msgid "{Data Type} rsync-configuration"
  25072. msgstr ""
  25073. #. type: deftp
  25074. #: guix-git/doc/guix.texi:17050
  25075. msgid "Data type representing the configuration for @code{rsync-service}."
  25076. msgstr ""
  25077. #. type: item
  25078. #: guix-git/doc/guix.texi:17052
  25079. #, no-wrap
  25080. msgid "@code{package} (default: @var{rsync})"
  25081. msgstr ""
  25082. #. type: table
  25083. #: guix-git/doc/guix.texi:17054
  25084. msgid "@code{rsync} package to use."
  25085. msgstr ""
  25086. #. type: item
  25087. #: guix-git/doc/guix.texi:17055
  25088. #, no-wrap
  25089. msgid "@code{port-number} (default: @code{873})"
  25090. msgstr ""
  25091. #. type: table
  25092. #: guix-git/doc/guix.texi:17059
  25093. 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."
  25094. msgstr ""
  25095. #. type: item
  25096. #: guix-git/doc/guix.texi:17060
  25097. #, no-wrap
  25098. msgid "@code{pid-file} (default: @code{\"/var/run/rsyncd/rsyncd.pid\"})"
  25099. msgstr ""
  25100. #. type: table
  25101. #: guix-git/doc/guix.texi:17062
  25102. msgid "Name of the file where @command{rsync} writes its PID."
  25103. msgstr ""
  25104. #. type: item
  25105. #: guix-git/doc/guix.texi:17063
  25106. #, no-wrap
  25107. msgid "@code{lock-file} (default: @code{\"/var/run/rsyncd/rsyncd.lock\"})"
  25108. msgstr ""
  25109. #. type: table
  25110. #: guix-git/doc/guix.texi:17065
  25111. msgid "Name of the file where @command{rsync} writes its lock file."
  25112. msgstr ""
  25113. #. type: item
  25114. #: guix-git/doc/guix.texi:17066
  25115. #, no-wrap
  25116. msgid "@code{log-file} (default: @code{\"/var/log/rsyncd.log\"})"
  25117. msgstr ""
  25118. #. type: table
  25119. #: guix-git/doc/guix.texi:17068
  25120. msgid "Name of the file where @command{rsync} writes its log file."
  25121. msgstr ""
  25122. #. type: item
  25123. #: guix-git/doc/guix.texi:17069
  25124. #, no-wrap
  25125. msgid "@code{use-chroot?} (default: @var{#t})"
  25126. msgstr ""
  25127. #. type: table
  25128. #: guix-git/doc/guix.texi:17071
  25129. msgid "Whether to use chroot for @command{rsync} shared directory."
  25130. msgstr ""
  25131. #. type: item
  25132. #: guix-git/doc/guix.texi:17072
  25133. #, no-wrap
  25134. msgid "@code{share-path} (default: @file{/srv/rsync})"
  25135. msgstr ""
  25136. #. type: table
  25137. #: guix-git/doc/guix.texi:17074
  25138. msgid "Location of the @command{rsync} shared directory."
  25139. msgstr ""
  25140. #. type: item
  25141. #: guix-git/doc/guix.texi:17075
  25142. #, no-wrap
  25143. msgid "@code{share-comment} (default: @code{\"Rsync share\"})"
  25144. msgstr ""
  25145. #. type: table
  25146. #: guix-git/doc/guix.texi:17077
  25147. msgid "Comment of the @command{rsync} shared directory."
  25148. msgstr ""
  25149. #. type: item
  25150. #: guix-git/doc/guix.texi:17078
  25151. #, no-wrap
  25152. msgid "@code{read-only?} (default: @var{#f})"
  25153. msgstr ""
  25154. #. type: table
  25155. #: guix-git/doc/guix.texi:17080
  25156. msgid "Read-write permissions to shared directory."
  25157. msgstr ""
  25158. #. type: item
  25159. #: guix-git/doc/guix.texi:17081
  25160. #, no-wrap
  25161. msgid "@code{timeout} (default: @code{300})"
  25162. msgstr ""
  25163. #. type: table
  25164. #: guix-git/doc/guix.texi:17083
  25165. msgid "I/O timeout in seconds."
  25166. msgstr ""
  25167. #. type: item
  25168. #: guix-git/doc/guix.texi:17084
  25169. #, no-wrap
  25170. msgid "@code{user} (default: @var{\"root\"})"
  25171. msgstr ""
  25172. #. type: table
  25173. #: guix-git/doc/guix.texi:17086
  25174. msgid "Owner of the @code{rsync} process."
  25175. msgstr ""
  25176. #. type: item
  25177. #: guix-git/doc/guix.texi:17087
  25178. #, no-wrap
  25179. msgid "@code{group} (default: @var{\"root\"})"
  25180. msgstr ""
  25181. #. type: table
  25182. #: guix-git/doc/guix.texi:17089
  25183. msgid "Group of the @code{rsync} process."
  25184. msgstr ""
  25185. #. type: item
  25186. #: guix-git/doc/guix.texi:17090
  25187. #, no-wrap
  25188. msgid "@code{uid} (default: @var{\"rsyncd\"})"
  25189. msgstr ""
  25190. #. type: table
  25191. #: guix-git/doc/guix.texi:17093
  25192. 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}."
  25193. msgstr ""
  25194. #. type: item
  25195. #: guix-git/doc/guix.texi:17094
  25196. #, no-wrap
  25197. msgid "@code{gid} (default: @var{\"rsyncd\"})"
  25198. msgstr ""
  25199. #. type: table
  25200. #: guix-git/doc/guix.texi:17096 guix-git/doc/guix.texi:17539
  25201. msgid "Group name or group ID that will be used when accessing the module."
  25202. msgstr ""
  25203. #. type: Plain text
  25204. #: guix-git/doc/guix.texi:17101
  25205. msgid "The @code{(gnu services syncthing)} module provides the following services:"
  25206. msgstr ""
  25207. #. type: cindex
  25208. #: guix-git/doc/guix.texi:17101
  25209. #, no-wrap
  25210. msgid "syncthing"
  25211. msgstr ""
  25212. #. type: Plain text
  25213. #: guix-git/doc/guix.texi:17106
  25214. 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."
  25215. msgstr ""
  25216. #. type: deffn
  25217. #: guix-git/doc/guix.texi:17107
  25218. #, no-wrap
  25219. msgid "{Scheme Variable} syncthing-service-type"
  25220. msgstr ""
  25221. #. type: deffn
  25222. #: guix-git/doc/guix.texi:17111
  25223. 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:"
  25224. msgstr ""
  25225. #. type: lisp
  25226. #: guix-git/doc/guix.texi:17115
  25227. #, no-wrap
  25228. msgid ""
  25229. "(service syncthing-service-type\n"
  25230. " (syncthing-configuration (user \"alice\")))\n"
  25231. msgstr ""
  25232. #. type: deffn
  25233. #: guix-git/doc/guix.texi:17118
  25234. msgid "See below for details about @code{syncthing-configuration}."
  25235. msgstr ""
  25236. #. type: deftp
  25237. #: guix-git/doc/guix.texi:17119
  25238. #, no-wrap
  25239. msgid "{Data Type} syncthing-configuration"
  25240. msgstr ""
  25241. #. type: deftp
  25242. #: guix-git/doc/guix.texi:17121
  25243. msgid "Data type representing the configuration for @code{syncthing-service-type}."
  25244. msgstr ""
  25245. #. type: item
  25246. #: guix-git/doc/guix.texi:17123
  25247. #, no-wrap
  25248. msgid "@code{syncthing} (default: @var{syncthing})"
  25249. msgstr ""
  25250. #. type: table
  25251. #: guix-git/doc/guix.texi:17125
  25252. msgid "@code{syncthing} package to use."
  25253. msgstr ""
  25254. #. type: item
  25255. #: guix-git/doc/guix.texi:17126
  25256. #, no-wrap
  25257. msgid "@code{arguments} (default: @var{'()})"
  25258. msgstr ""
  25259. #. type: table
  25260. #: guix-git/doc/guix.texi:17128
  25261. msgid "List of command-line arguments passing to @code{syncthing} binary."
  25262. msgstr ""
  25263. #. type: item
  25264. #: guix-git/doc/guix.texi:17129
  25265. #, no-wrap
  25266. msgid "@code{logflags} (default: @var{0})"
  25267. msgstr ""
  25268. #. type: table
  25269. #: guix-git/doc/guix.texi:17132
  25270. msgid "Sum of logging flags, see @uref{https://docs.syncthing.net/users/syncthing.html#cmdoption-logflags, Syncthing documentation logflags}."
  25271. msgstr ""
  25272. #. type: item
  25273. #: guix-git/doc/guix.texi:17133
  25274. #, no-wrap
  25275. msgid "@code{user} (default: @var{#f})"
  25276. msgstr ""
  25277. #. type: table
  25278. #: guix-git/doc/guix.texi:17136
  25279. msgid "The user as which the Syncthing service is to be run. This assumes that the specified user exists."
  25280. msgstr ""
  25281. #. type: item
  25282. #: guix-git/doc/guix.texi:17137
  25283. #, no-wrap
  25284. msgid "@code{group} (default: @var{\"users\"})"
  25285. msgstr ""
  25286. #. type: table
  25287. #: guix-git/doc/guix.texi:17140
  25288. msgid "The group as which the Syncthing service is to be run. This assumes that the specified group exists."
  25289. msgstr ""
  25290. #. type: item
  25291. #: guix-git/doc/guix.texi:17141
  25292. #, no-wrap
  25293. msgid "@code{home} (default: @var{#f})"
  25294. msgstr ""
  25295. #. type: table
  25296. #: guix-git/doc/guix.texi:17144
  25297. msgid "Common configuration and data directory. The default configuration directory is @file{$HOME} of the specified Syncthing @code{user}."
  25298. msgstr ""
  25299. #. type: Plain text
  25300. #: guix-git/doc/guix.texi:17150
  25301. msgid "Furthermore, @code{(gnu services ssh)} provides the following services."
  25302. msgstr ""
  25303. #. type: cindex
  25304. #: guix-git/doc/guix.texi:17150 guix-git/doc/guix.texi:17189
  25305. #: guix-git/doc/guix.texi:34307
  25306. #, no-wrap
  25307. msgid "SSH"
  25308. msgstr ""
  25309. #. type: cindex
  25310. #: guix-git/doc/guix.texi:17151 guix-git/doc/guix.texi:17190
  25311. #: guix-git/doc/guix.texi:34308
  25312. #, no-wrap
  25313. msgid "SSH server"
  25314. msgstr ""
  25315. #. type: deffn
  25316. #: guix-git/doc/guix.texi:17153
  25317. #, no-wrap
  25318. msgid "{Scheme Procedure} lsh-service [#:host-key \"/etc/lsh/host-key\"] @"
  25319. msgstr ""
  25320. #. type: deffn
  25321. #: guix-git/doc/guix.texi:17162
  25322. 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."
  25323. msgstr ""
  25324. #. type: deffn
  25325. #: guix-git/doc/guix.texi:17168
  25326. 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}."
  25327. msgstr ""
  25328. #. type: deffn
  25329. #: guix-git/doc/guix.texi:17172
  25330. 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."
  25331. msgstr ""
  25332. #. type: deffn
  25333. #: guix-git/doc/guix.texi:17177
  25334. 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})."
  25335. msgstr ""
  25336. #. type: deffn
  25337. #: guix-git/doc/guix.texi:17181
  25338. 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."
  25339. msgstr ""
  25340. #. type: deffn
  25341. #: guix-git/doc/guix.texi:17185
  25342. 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."
  25343. msgstr ""
  25344. #. type: deffn
  25345. #: guix-git/doc/guix.texi:17187
  25346. msgid "The other options should be self-descriptive."
  25347. msgstr ""
  25348. #. type: deffn
  25349. #: guix-git/doc/guix.texi:17191
  25350. #, no-wrap
  25351. msgid "{Scheme Variable} openssh-service-type"
  25352. msgstr ""
  25353. #. type: deffn
  25354. #: guix-git/doc/guix.texi:17195
  25355. 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:"
  25356. msgstr ""
  25357. #. type: lisp
  25358. #: guix-git/doc/guix.texi:17204
  25359. #, no-wrap
  25360. msgid ""
  25361. "(service openssh-service-type\n"
  25362. " (openssh-configuration\n"
  25363. " (x11-forwarding? #t)\n"
  25364. " (permit-root-login 'prohibit-password)\n"
  25365. " (authorized-keys\n"
  25366. " `((\"alice\" ,(local-file \"alice.pub\"))\n"
  25367. " (\"bob\" ,(local-file \"bob.pub\"))))))\n"
  25368. msgstr ""
  25369. #. type: deffn
  25370. #: guix-git/doc/guix.texi:17207
  25371. msgid "See below for details about @code{openssh-configuration}."
  25372. msgstr ""
  25373. #. type: deffn
  25374. #: guix-git/doc/guix.texi:17210
  25375. msgid "This service can be extended with extra authorized keys, as in this example:"
  25376. msgstr ""
  25377. #. type: lisp
  25378. #: guix-git/doc/guix.texi:17215
  25379. #, no-wrap
  25380. msgid ""
  25381. "(service-extension openssh-service-type\n"
  25382. " (const `((\"charlie\"\n"
  25383. " ,(local-file \"charlie.pub\")))))\n"
  25384. msgstr ""
  25385. #. type: deftp
  25386. #: guix-git/doc/guix.texi:17218
  25387. #, no-wrap
  25388. msgid "{Data Type} openssh-configuration"
  25389. msgstr ""
  25390. #. type: deftp
  25391. #: guix-git/doc/guix.texi:17220
  25392. msgid "This is the configuration record for OpenSSH's @command{sshd}."
  25393. msgstr ""
  25394. #. type: item
  25395. #: guix-git/doc/guix.texi:17222
  25396. #, no-wrap
  25397. msgid "@code{openssh} (default @var{openssh})"
  25398. msgstr ""
  25399. #. type: table
  25400. #: guix-git/doc/guix.texi:17224
  25401. msgid "The Openssh package to use."
  25402. msgstr ""
  25403. #. type: item
  25404. #: guix-git/doc/guix.texi:17225
  25405. #, no-wrap
  25406. msgid "@code{pid-file} (default: @code{\"/var/run/sshd.pid\"})"
  25407. msgstr ""
  25408. #. type: table
  25409. #: guix-git/doc/guix.texi:17227
  25410. msgid "Name of the file where @command{sshd} writes its PID."
  25411. msgstr ""
  25412. #. type: item
  25413. #: guix-git/doc/guix.texi:17228
  25414. #, no-wrap
  25415. msgid "@code{port-number} (default: @code{22})"
  25416. msgstr ""
  25417. #. type: table
  25418. #: guix-git/doc/guix.texi:17230
  25419. msgid "TCP port on which @command{sshd} listens for incoming connections."
  25420. msgstr ""
  25421. #. type: item
  25422. #: guix-git/doc/guix.texi:17231
  25423. #, no-wrap
  25424. msgid "@code{permit-root-login} (default: @code{#f})"
  25425. msgstr ""
  25426. #. type: table
  25427. #: guix-git/doc/guix.texi:17236
  25428. msgid "This field determines whether and when to allow logins as root. If @code{#f}, root logins are disallowed; if @code{#t}, they are allowed. If it's the symbol @code{'prohibit-password}, then root logins are permitted but not with password-based authentication."
  25429. msgstr ""
  25430. #. type: item
  25431. #: guix-git/doc/guix.texi:17237 guix-git/doc/guix.texi:17398
  25432. #, no-wrap
  25433. msgid "@code{allow-empty-passwords?} (default: @code{#f})"
  25434. msgstr ""
  25435. #. type: table
  25436. #: guix-git/doc/guix.texi:17240
  25437. msgid "When true, users with empty passwords may log in. When false, they may not."
  25438. msgstr ""
  25439. #. type: item
  25440. #: guix-git/doc/guix.texi:17241 guix-git/doc/guix.texi:17401
  25441. #, no-wrap
  25442. msgid "@code{password-authentication?} (default: @code{#t})"
  25443. msgstr ""
  25444. #. type: table
  25445. #: guix-git/doc/guix.texi:17244
  25446. msgid "When true, users may log in with their password. When false, they have other authentication methods."
  25447. msgstr ""
  25448. #. type: item
  25449. #: guix-git/doc/guix.texi:17245
  25450. #, no-wrap
  25451. msgid "@code{public-key-authentication?} (default: @code{#t})"
  25452. msgstr ""
  25453. #. type: table
  25454. #: guix-git/doc/guix.texi:17248
  25455. msgid "When true, users may log in using public key authentication. When false, users have to use other authentication method."
  25456. msgstr ""
  25457. #. type: table
  25458. #: guix-git/doc/guix.texi:17251
  25459. msgid "Authorized public keys are stored in @file{~/.ssh/authorized_keys}. This is used only by protocol version 2."
  25460. msgstr ""
  25461. #. type: item
  25462. #: guix-git/doc/guix.texi:17252
  25463. #, no-wrap
  25464. msgid "@code{x11-forwarding?} (default: @code{#f})"
  25465. msgstr ""
  25466. #. type: table
  25467. #: guix-git/doc/guix.texi:17256
  25468. msgid "When true, forwarding of X11 graphical client connections is enabled---in other words, @command{ssh} options @option{-X} and @option{-Y} will work."
  25469. msgstr ""
  25470. #. type: item
  25471. #: guix-git/doc/guix.texi:17257
  25472. #, no-wrap
  25473. msgid "@code{allow-agent-forwarding?} (default: @code{#t})"
  25474. msgstr ""
  25475. #. type: table
  25476. #: guix-git/doc/guix.texi:17259
  25477. msgid "Whether to allow agent forwarding."
  25478. msgstr ""
  25479. #. type: item
  25480. #: guix-git/doc/guix.texi:17260
  25481. #, no-wrap
  25482. msgid "@code{allow-tcp-forwarding?} (default: @code{#t})"
  25483. msgstr ""
  25484. #. type: table
  25485. #: guix-git/doc/guix.texi:17262
  25486. msgid "Whether to allow TCP forwarding."
  25487. msgstr ""
  25488. #. type: item
  25489. #: guix-git/doc/guix.texi:17263
  25490. #, no-wrap
  25491. msgid "@code{gateway-ports?} (default: @code{#f})"
  25492. msgstr ""
  25493. #. type: table
  25494. #: guix-git/doc/guix.texi:17265
  25495. msgid "Whether to allow gateway ports."
  25496. msgstr ""
  25497. #. type: item
  25498. #: guix-git/doc/guix.texi:17266
  25499. #, no-wrap
  25500. msgid "@code{challenge-response-authentication?} (default: @code{#f})"
  25501. msgstr ""
  25502. #. type: table
  25503. #: guix-git/doc/guix.texi:17269
  25504. msgid "Specifies whether challenge response authentication is allowed (e.g.@: via PAM)."
  25505. msgstr ""
  25506. #. type: item
  25507. #: guix-git/doc/guix.texi:17270
  25508. #, no-wrap
  25509. msgid "@code{use-pam?} (default: @code{#t})"
  25510. msgstr ""
  25511. #. type: table
  25512. #: guix-git/doc/guix.texi:17276
  25513. 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."
  25514. msgstr ""
  25515. #. type: table
  25516. #: guix-git/doc/guix.texi:17281
  25517. 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?}."
  25518. msgstr ""
  25519. #. type: item
  25520. #: guix-git/doc/guix.texi:17282
  25521. #, no-wrap
  25522. msgid "@code{print-last-log?} (default: @code{#t})"
  25523. msgstr ""
  25524. #. type: table
  25525. #: guix-git/doc/guix.texi:17285
  25526. msgid "Specifies whether @command{sshd} should print the date and time of the last user login when a user logs in interactively."
  25527. msgstr ""
  25528. #. type: item
  25529. #: guix-git/doc/guix.texi:17286
  25530. #, no-wrap
  25531. msgid "@code{subsystems} (default: @code{'((\"sftp\" \"internal-sftp\"))})"
  25532. msgstr ""
  25533. #. type: table
  25534. #: guix-git/doc/guix.texi:17288
  25535. msgid "Configures external subsystems (e.g.@: file transfer daemon)."
  25536. msgstr ""
  25537. #. type: table
  25538. #: guix-git/doc/guix.texi:17292
  25539. 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."
  25540. msgstr ""
  25541. #. type: table
  25542. #: guix-git/doc/guix.texi:17295
  25543. msgid "The command @command{internal-sftp} implements an in-process SFTP server. Alternatively, one can specify the @command{sftp-server} command:"
  25544. msgstr ""
  25545. #. type: lisp
  25546. #: guix-git/doc/guix.texi:17300
  25547. #, no-wrap
  25548. msgid ""
  25549. "(service openssh-service-type\n"
  25550. " (openssh-configuration\n"
  25551. " (subsystems\n"
  25552. " `((\"sftp\" ,(file-append openssh \"/libexec/sftp-server\"))))))\n"
  25553. msgstr ""
  25554. #. type: item
  25555. #: guix-git/doc/guix.texi:17302
  25556. #, no-wrap
  25557. msgid "@code{accepted-environment} (default: @code{'()})"
  25558. msgstr ""
  25559. #. type: table
  25560. #: guix-git/doc/guix.texi:17304
  25561. msgid "List of strings describing which environment variables may be exported."
  25562. msgstr ""
  25563. #. type: table
  25564. #: guix-git/doc/guix.texi:17307
  25565. msgid "Each string gets on its own line. See the @code{AcceptEnv} option in @code{man sshd_config}."
  25566. msgstr ""
  25567. #. type: table
  25568. #: guix-git/doc/guix.texi:17312
  25569. 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."
  25570. msgstr ""
  25571. #. type: lisp
  25572. #: guix-git/doc/guix.texi:17317
  25573. #, no-wrap
  25574. msgid ""
  25575. "(service openssh-service-type\n"
  25576. " (openssh-configuration\n"
  25577. " (accepted-environment '(\"COLORTERM\"))))\n"
  25578. msgstr ""
  25579. #. type: item
  25580. #: guix-git/doc/guix.texi:17319
  25581. #, no-wrap
  25582. msgid "@code{authorized-keys} (default: @code{'()})"
  25583. msgstr ""
  25584. #. type: cindex
  25585. #: guix-git/doc/guix.texi:17320
  25586. #, no-wrap
  25587. msgid "authorized keys, SSH"
  25588. msgstr ""
  25589. #. type: cindex
  25590. #: guix-git/doc/guix.texi:17321
  25591. #, no-wrap
  25592. msgid "SSH authorized keys"
  25593. msgstr ""
  25594. #. type: table
  25595. #: guix-git/doc/guix.texi:17325
  25596. 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:"
  25597. msgstr ""
  25598. #. type: lisp
  25599. #: guix-git/doc/guix.texi:17332
  25600. #, no-wrap
  25601. msgid ""
  25602. "(openssh-configuration\n"
  25603. " (authorized-keys\n"
  25604. " `((\"rekado\" ,(local-file \"rekado.pub\"))\n"
  25605. " (\"chris\" ,(local-file \"chris.pub\"))\n"
  25606. " (\"root\" ,(local-file \"rekado.pub\") ,(local-file \"chris.pub\")))))\n"
  25607. msgstr ""
  25608. #. type: table
  25609. #: guix-git/doc/guix.texi:17337
  25610. msgid "registers the specified public keys for user accounts @code{rekado}, @code{chris}, and @code{root}."
  25611. msgstr ""
  25612. #. type: table
  25613. #: guix-git/doc/guix.texi:17340
  25614. msgid "Additional authorized keys can be specified @i{via} @code{service-extension}."
  25615. msgstr ""
  25616. #. type: table
  25617. #: guix-git/doc/guix.texi:17343
  25618. msgid "Note that this does @emph{not} interfere with the use of @file{~/.ssh/authorized_keys}."
  25619. msgstr ""
  25620. #. type: item
  25621. #: guix-git/doc/guix.texi:17344 guix-git/doc/guix.texi:17775
  25622. #, no-wrap
  25623. msgid "@code{log-level} (default: @code{'info})"
  25624. msgstr ""
  25625. #. type: table
  25626. #: guix-git/doc/guix.texi:17348
  25627. 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."
  25628. msgstr ""
  25629. #. type: item
  25630. #: guix-git/doc/guix.texi:17349 guix-git/doc/guix.texi:20171
  25631. #: guix-git/doc/guix.texi:25311
  25632. #, no-wrap
  25633. msgid "@code{extra-content} (default: @code{\"\"})"
  25634. msgstr ""
  25635. #. type: table
  25636. #: guix-git/doc/guix.texi:17354
  25637. 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:"
  25638. msgstr ""
  25639. #. type: lisp
  25640. #: guix-git/doc/guix.texi:17360
  25641. #, no-wrap
  25642. msgid ""
  25643. "(openssh-configuration\n"
  25644. " (extra-content \"\\\n"
  25645. "Match Address 192.168.0.1\n"
  25646. " PermitRootLogin yes\"))\n"
  25647. msgstr ""
  25648. #. type: deffn
  25649. #: guix-git/doc/guix.texi:17365
  25650. #, no-wrap
  25651. msgid "{Scheme Procedure} dropbear-service [@var{config}]"
  25652. msgstr ""
  25653. #. type: deffn
  25654. #: guix-git/doc/guix.texi:17369
  25655. 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."
  25656. msgstr ""
  25657. #. type: deffn
  25658. #: guix-git/doc/guix.texi:17372
  25659. msgid "For example, to specify a Dropbear service listening on port 1234, add this call to the operating system's @code{services} field:"
  25660. msgstr ""
  25661. #. type: lisp
  25662. #: guix-git/doc/guix.texi:17376
  25663. #, no-wrap
  25664. msgid ""
  25665. "(dropbear-service (dropbear-configuration\n"
  25666. " (port-number 1234)))\n"
  25667. msgstr ""
  25668. #. type: deftp
  25669. #: guix-git/doc/guix.texi:17379
  25670. #, no-wrap
  25671. msgid "{Data Type} dropbear-configuration"
  25672. msgstr ""
  25673. #. type: deftp
  25674. #: guix-git/doc/guix.texi:17381
  25675. msgid "This data type represents the configuration of a Dropbear SSH daemon."
  25676. msgstr ""
  25677. #. type: item
  25678. #: guix-git/doc/guix.texi:17383
  25679. #, no-wrap
  25680. msgid "@code{dropbear} (default: @var{dropbear})"
  25681. msgstr ""
  25682. #. type: table
  25683. #: guix-git/doc/guix.texi:17385
  25684. msgid "The Dropbear package to use."
  25685. msgstr ""
  25686. #. type: item
  25687. #: guix-git/doc/guix.texi:17386
  25688. #, no-wrap
  25689. msgid "@code{port-number} (default: 22)"
  25690. msgstr ""
  25691. #. type: table
  25692. #: guix-git/doc/guix.texi:17388
  25693. msgid "The TCP port where the daemon waits for incoming connections."
  25694. msgstr ""
  25695. #. type: item
  25696. #: guix-git/doc/guix.texi:17389
  25697. #, no-wrap
  25698. msgid "@code{syslog-output?} (default: @code{#t})"
  25699. msgstr ""
  25700. #. type: table
  25701. #: guix-git/doc/guix.texi:17391
  25702. msgid "Whether to enable syslog output."
  25703. msgstr ""
  25704. #. type: item
  25705. #: guix-git/doc/guix.texi:17392
  25706. #, no-wrap
  25707. msgid "@code{pid-file} (default: @code{\"/var/run/dropbear.pid\"})"
  25708. msgstr ""
  25709. #. type: table
  25710. #: guix-git/doc/guix.texi:17394
  25711. msgid "File name of the daemon's PID file."
  25712. msgstr ""
  25713. #. type: item
  25714. #: guix-git/doc/guix.texi:17395
  25715. #, no-wrap
  25716. msgid "@code{root-login?} (default: @code{#f})"
  25717. msgstr ""
  25718. #. type: table
  25719. #: guix-git/doc/guix.texi:17397
  25720. msgid "Whether to allow @code{root} logins."
  25721. msgstr ""
  25722. #. type: table
  25723. #: guix-git/doc/guix.texi:17400
  25724. msgid "Whether to allow empty passwords."
  25725. msgstr ""
  25726. #. type: table
  25727. #: guix-git/doc/guix.texi:17403
  25728. msgid "Whether to enable password-based authentication."
  25729. msgstr ""
  25730. #. type: cindex
  25731. #: guix-git/doc/guix.texi:17406
  25732. #, no-wrap
  25733. msgid "AutoSSH"
  25734. msgstr ""
  25735. #. type: deffn
  25736. #: guix-git/doc/guix.texi:17407
  25737. #, no-wrap
  25738. msgid "{Scheme Variable} autossh-service-type"
  25739. msgstr ""
  25740. #. type: deffn
  25741. #: guix-git/doc/guix.texi:17415
  25742. 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."
  25743. msgstr ""
  25744. #. type: deffn
  25745. #: guix-git/doc/guix.texi:17419
  25746. 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."
  25747. msgstr ""
  25748. #. type: deffn
  25749. #: guix-git/doc/guix.texi:17424
  25750. 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:"
  25751. msgstr ""
  25752. #. type: lisp
  25753. #: guix-git/doc/guix.texi:17430
  25754. #, no-wrap
  25755. msgid ""
  25756. "(service autossh-service-type\n"
  25757. " (autossh-configuration\n"
  25758. " (user \"pino\")\n"
  25759. " (ssh-options (list \"-T\" \"-N\" \"-L\" \"8081:localhost:8081\" \"remote.net\"))))\n"
  25760. msgstr ""
  25761. #. type: deftp
  25762. #: guix-git/doc/guix.texi:17433
  25763. #, no-wrap
  25764. msgid "{Data Type} autossh-configuration"
  25765. msgstr ""
  25766. #. type: deftp
  25767. #: guix-git/doc/guix.texi:17435
  25768. msgid "This data type represents the configuration of an AutoSSH service."
  25769. msgstr ""
  25770. #. type: item
  25771. #: guix-git/doc/guix.texi:17438
  25772. #, no-wrap
  25773. msgid "@code{user} (default @code{\"autossh\"})"
  25774. msgstr ""
  25775. #. type: table
  25776. #: guix-git/doc/guix.texi:17441
  25777. msgid "The user as which the AutoSSH service is to be run. This assumes that the specified user exists."
  25778. msgstr ""
  25779. #. type: item
  25780. #: guix-git/doc/guix.texi:17442
  25781. #, no-wrap
  25782. msgid "@code{poll} (default @code{600})"
  25783. msgstr ""
  25784. #. type: table
  25785. #: guix-git/doc/guix.texi:17444
  25786. msgid "Specifies the connection poll time in seconds."
  25787. msgstr ""
  25788. #. type: item
  25789. #: guix-git/doc/guix.texi:17445
  25790. #, no-wrap
  25791. msgid "@code{first-poll} (default @code{#f})"
  25792. msgstr ""
  25793. #. type: table
  25794. #: guix-git/doc/guix.texi:17451
  25795. 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}."
  25796. msgstr ""
  25797. #. type: item
  25798. #: guix-git/doc/guix.texi:17452
  25799. #, no-wrap
  25800. msgid "@code{gate-time} (default @code{30})"
  25801. msgstr ""
  25802. #. type: table
  25803. #: guix-git/doc/guix.texi:17455
  25804. msgid "Specifies how many seconds an SSH connection must be active before it is considered successful."
  25805. msgstr ""
  25806. #. type: item
  25807. #: guix-git/doc/guix.texi:17456
  25808. #, no-wrap
  25809. msgid "@code{log-level} (default @code{1})"
  25810. msgstr ""
  25811. #. type: table
  25812. #: guix-git/doc/guix.texi:17459
  25813. msgid "The log level, corresponding to the levels used by syslog---so @code{0} is the most silent while @code{7} is the chattiest."
  25814. msgstr ""
  25815. #. type: item
  25816. #: guix-git/doc/guix.texi:17460
  25817. #, no-wrap
  25818. msgid "@code{max-start} (default @code{#f})"
  25819. msgstr ""
  25820. #. type: table
  25821. #: guix-git/doc/guix.texi:17463
  25822. 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."
  25823. msgstr ""
  25824. #. type: item
  25825. #: guix-git/doc/guix.texi:17464
  25826. #, no-wrap
  25827. msgid "@code{message} (default @code{\"\"})"
  25828. msgstr ""
  25829. #. type: table
  25830. #: guix-git/doc/guix.texi:17466
  25831. msgid "The message to append to the echo message sent when testing connections."
  25832. msgstr ""
  25833. #. type: item
  25834. #: guix-git/doc/guix.texi:17467
  25835. #, no-wrap
  25836. msgid "@code{port} (default @code{\"0\"})"
  25837. msgstr ""
  25838. #. type: table
  25839. #: guix-git/doc/guix.texi:17477
  25840. 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."
  25841. msgstr ""
  25842. #. type: item
  25843. #: guix-git/doc/guix.texi:17478
  25844. #, no-wrap
  25845. msgid "@code{ssh-options} (default @code{'()})"
  25846. msgstr ""
  25847. #. type: table
  25848. #: guix-git/doc/guix.texi:17482
  25849. 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."
  25850. msgstr ""
  25851. #. type: cindex
  25852. #: guix-git/doc/guix.texi:17486
  25853. #, no-wrap
  25854. msgid "WebSSH"
  25855. msgstr ""
  25856. #. type: deffn
  25857. #: guix-git/doc/guix.texi:17487
  25858. #, no-wrap
  25859. msgid "{Scheme Variable} webssh-service-type"
  25860. msgstr ""
  25861. #. type: deffn
  25862. #: guix-git/doc/guix.texi:17493
  25863. 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."
  25864. msgstr ""
  25865. #. type: deffn
  25866. #: guix-git/doc/guix.texi:17499
  25867. 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:"
  25868. msgstr ""
  25869. #. type: lisp
  25870. #: guix-git/doc/guix.texi:17507
  25871. #, no-wrap
  25872. msgid ""
  25873. "(service webssh-service-type\n"
  25874. " (webssh-configuration (address \"127.0.0.1\")\n"
  25875. " (port 8888)\n"
  25876. " (policy 'reject)\n"
  25877. " (known-hosts '(\"localhost ecdsa-sha2-nistp256 AAAA…\"\n"
  25878. " \"127.0.0.1 ecdsa-sha2-nistp256 AAAA…\"))))\n"
  25879. "\n"
  25880. msgstr ""
  25881. #. type: lisp
  25882. #: guix-git/doc/guix.texi:17523
  25883. #, no-wrap
  25884. msgid ""
  25885. "(service nginx-service-type\n"
  25886. " (nginx-configuration\n"
  25887. " (server-blocks\n"
  25888. " (list\n"
  25889. " (nginx-server-configuration\n"
  25890. " (inherit %webssh-configuration-nginx)\n"
  25891. " (server-name '(\"webssh.example.com\"))\n"
  25892. " (listen '(\"443 ssl\"))\n"
  25893. " (ssl-certificate (letsencrypt-certificate \"webssh.example.com\"))\n"
  25894. " (ssl-certificate-key (letsencrypt-key \"webssh.example.com\"))\n"
  25895. " (locations\n"
  25896. " (cons (nginx-location-configuration\n"
  25897. " (uri \"/.well-known\")\n"
  25898. " (body '(\"root /var/www;\")))\n"
  25899. " (nginx-server-configuration-locations %webssh-configuration-nginx))))))))\n"
  25900. msgstr ""
  25901. #. type: deftp
  25902. #: guix-git/doc/guix.texi:17526
  25903. #, no-wrap
  25904. msgid "{Data Type} webssh-configuration"
  25905. msgstr ""
  25906. #. type: deftp
  25907. #: guix-git/doc/guix.texi:17528
  25908. msgid "Data type representing the configuration for @code{webssh-service}."
  25909. msgstr ""
  25910. #. type: item
  25911. #: guix-git/doc/guix.texi:17530
  25912. #, no-wrap
  25913. msgid "@code{package} (default: @var{webssh})"
  25914. msgstr ""
  25915. #. type: table
  25916. #: guix-git/doc/guix.texi:17532
  25917. msgid "@code{webssh} package to use."
  25918. msgstr ""
  25919. #. type: item
  25920. #: guix-git/doc/guix.texi:17533
  25921. #, no-wrap
  25922. msgid "@code{user-name} (default: @var{\"webssh\"})"
  25923. msgstr ""
  25924. #. type: table
  25925. #: guix-git/doc/guix.texi:17536
  25926. msgid "User name or user ID that file transfers to and from that module should take place."
  25927. msgstr ""
  25928. #. type: item
  25929. #: guix-git/doc/guix.texi:17537
  25930. #, no-wrap
  25931. msgid "@code{group-name} (default: @var{\"webssh\"})"
  25932. msgstr ""
  25933. #. type: item
  25934. #: guix-git/doc/guix.texi:17540
  25935. #, no-wrap
  25936. msgid "@code{address} (default: @var{#f})"
  25937. msgstr ""
  25938. #. type: table
  25939. #: guix-git/doc/guix.texi:17542
  25940. msgid "IP address on which @command{webssh} listens for incoming connections."
  25941. msgstr ""
  25942. #. type: item
  25943. #: guix-git/doc/guix.texi:17543
  25944. #, no-wrap
  25945. msgid "@code{port} (default: @var{8888})"
  25946. msgstr ""
  25947. #. type: table
  25948. #: guix-git/doc/guix.texi:17545
  25949. msgid "TCP port on which @command{webssh} listens for incoming connections."
  25950. msgstr ""
  25951. #. type: item
  25952. #: guix-git/doc/guix.texi:17546
  25953. #, no-wrap
  25954. msgid "@code{policy} (default: @var{#f})"
  25955. msgstr ""
  25956. #. type: table
  25957. #: guix-git/doc/guix.texi:17548
  25958. msgid "Connection policy. @var{reject} policy requires to specify @var{known-hosts}."
  25959. msgstr ""
  25960. #. type: item
  25961. #: guix-git/doc/guix.texi:17549
  25962. #, no-wrap
  25963. msgid "@code{known-hosts} (default: @var{'()})"
  25964. msgstr ""
  25965. #. type: table
  25966. #: guix-git/doc/guix.texi:17551
  25967. msgid "List of hosts which allowed for SSH connection from @command{webssh}."
  25968. msgstr ""
  25969. #. type: item
  25970. #: guix-git/doc/guix.texi:17552
  25971. #, no-wrap
  25972. msgid "@code{log-file} (default: @file{\"/var/log/webssh.log\"})"
  25973. msgstr ""
  25974. #. type: table
  25975. #: guix-git/doc/guix.texi:17554
  25976. msgid "Name of the file where @command{webssh} writes its log file."
  25977. msgstr ""
  25978. #. type: item
  25979. #: guix-git/doc/guix.texi:17555
  25980. #, no-wrap
  25981. msgid "@code{log-level} (default: @var{#f})"
  25982. msgstr ""
  25983. #. type: table
  25984. #: guix-git/doc/guix.texi:17557
  25985. msgid "Logging level."
  25986. msgstr ""
  25987. #. type: defvr
  25988. #: guix-git/doc/guix.texi:17561
  25989. #, no-wrap
  25990. msgid "{Scheme Variable} %facebook-host-aliases"
  25991. msgstr ""
  25992. #. type: defvr
  25993. #: guix-git/doc/guix.texi:17567
  25994. 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}."
  25995. msgstr ""
  25996. #. type: defvr
  25997. #: guix-git/doc/guix.texi:17571
  25998. 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}}):"
  25999. msgstr ""
  26000. #. type: lisp
  26001. #: guix-git/doc/guix.texi:17584
  26002. #, no-wrap
  26003. msgid ""
  26004. "(operating-system\n"
  26005. " (host-name \"mymachine\")\n"
  26006. " ;; ...\n"
  26007. " (hosts-file\n"
  26008. " ;; Create a /etc/hosts file with aliases for \"localhost\"\n"
  26009. " ;; and \"mymachine\", as well as for Facebook servers.\n"
  26010. " (plain-file \"hosts\"\n"
  26011. " (string-append (local-host-aliases host-name)\n"
  26012. " %facebook-host-aliases))))\n"
  26013. msgstr ""
  26014. #. type: defvr
  26015. #: guix-git/doc/guix.texi:17588
  26016. msgid "This mechanism can prevent programs running locally, such as Web browsers, from accessing Facebook."
  26017. msgstr ""
  26018. #. type: Plain text
  26019. #: guix-git/doc/guix.texi:17591
  26020. msgid "The @code{(gnu services avahi)} provides the following definition."
  26021. msgstr ""
  26022. #. type: defvr
  26023. #: guix-git/doc/guix.texi:17592
  26024. #, no-wrap
  26025. msgid "{Scheme Variable} avahi-service-type"
  26026. msgstr ""
  26027. #. type: defvr
  26028. #: guix-git/doc/guix.texi:17597
  26029. 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."
  26030. msgstr ""
  26031. #. type: defvr
  26032. #: guix-git/doc/guix.texi:17602
  26033. 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."
  26034. msgstr ""
  26035. #. type: defvr
  26036. #: guix-git/doc/guix.texi:17605
  26037. msgid "Additionally, add the @var{avahi} package to the system profile so that commands such as @command{avahi-browse} are directly usable."
  26038. msgstr ""
  26039. #. type: deftp
  26040. #: guix-git/doc/guix.texi:17607
  26041. #, no-wrap
  26042. msgid "{Data Type} avahi-configuration"
  26043. msgstr ""
  26044. #. type: deftp
  26045. #: guix-git/doc/guix.texi:17609
  26046. msgid "Data type representation the configuration for Avahi."
  26047. msgstr ""
  26048. #. type: item
  26049. #: guix-git/doc/guix.texi:17612
  26050. #, no-wrap
  26051. msgid "@code{host-name} (default: @code{#f})"
  26052. msgstr ""
  26053. #. type: table
  26054. #: guix-git/doc/guix.texi:17615
  26055. 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."
  26056. msgstr ""
  26057. #. type: item
  26058. #: guix-git/doc/guix.texi:17616 guix-git/doc/guix.texi:27965
  26059. #, no-wrap
  26060. msgid "@code{publish?} (default: @code{#t})"
  26061. msgstr ""
  26062. #. type: table
  26063. #: guix-git/doc/guix.texi:17619
  26064. msgid "When true, allow host names and services to be published (broadcast) over the network."
  26065. msgstr ""
  26066. #. type: item
  26067. #: guix-git/doc/guix.texi:17620
  26068. #, no-wrap
  26069. msgid "@code{publish-workstation?} (default: @code{#t})"
  26070. msgstr ""
  26071. #. type: table
  26072. #: guix-git/doc/guix.texi:17624
  26073. 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:"
  26074. msgstr ""
  26075. #. type: example
  26076. #: guix-git/doc/guix.texi:17627
  26077. #, no-wrap
  26078. msgid "avahi-browse _workstation._tcp\n"
  26079. msgstr ""
  26080. #. type: item
  26081. #: guix-git/doc/guix.texi:17629
  26082. #, no-wrap
  26083. msgid "@code{wide-area?} (default: @code{#f})"
  26084. msgstr ""
  26085. #. type: table
  26086. #: guix-git/doc/guix.texi:17631
  26087. msgid "When true, DNS-SD over unicast DNS is enabled."
  26088. msgstr ""
  26089. #. type: item
  26090. #: guix-git/doc/guix.texi:17632
  26091. #, no-wrap
  26092. msgid "@code{ipv4?} (default: @code{#t})"
  26093. msgstr ""
  26094. #. type: itemx
  26095. #: guix-git/doc/guix.texi:17633
  26096. #, no-wrap
  26097. msgid "@code{ipv6?} (default: @code{#t})"
  26098. msgstr ""
  26099. #. type: table
  26100. #: guix-git/doc/guix.texi:17635
  26101. msgid "These fields determine whether to use IPv4/IPv6 sockets."
  26102. msgstr ""
  26103. #. type: item
  26104. #: guix-git/doc/guix.texi:17636
  26105. #, no-wrap
  26106. msgid "@code{domains-to-browse} (default: @code{'()})"
  26107. msgstr ""
  26108. #. type: table
  26109. #: guix-git/doc/guix.texi:17638
  26110. msgid "This is a list of domains to browse."
  26111. msgstr ""
  26112. #. type: deffn
  26113. #: guix-git/doc/guix.texi:17641
  26114. #, no-wrap
  26115. msgid "{Scheme Variable} openvswitch-service-type"
  26116. msgstr ""
  26117. #. type: deffn
  26118. #: guix-git/doc/guix.texi:17645
  26119. msgid "This is the type of the @uref{https://www.openvswitch.org, Open vSwitch} service, whose value should be an @code{openvswitch-configuration} object."
  26120. msgstr ""
  26121. #. type: deftp
  26122. #: guix-git/doc/guix.texi:17647
  26123. #, no-wrap
  26124. msgid "{Data Type} openvswitch-configuration"
  26125. msgstr ""
  26126. #. type: deftp
  26127. #: guix-git/doc/guix.texi:17651
  26128. msgid "Data type representing the configuration of Open vSwitch, a multilayer virtual switch which is designed to enable massive network automation through programmatic extension."
  26129. msgstr ""
  26130. #. type: item
  26131. #: guix-git/doc/guix.texi:17653
  26132. #, no-wrap
  26133. msgid "@code{package} (default: @var{openvswitch})"
  26134. msgstr ""
  26135. #. type: table
  26136. #: guix-git/doc/guix.texi:17655
  26137. msgid "Package object of the Open vSwitch."
  26138. msgstr ""
  26139. #. type: defvr
  26140. #: guix-git/doc/guix.texi:17659
  26141. #, no-wrap
  26142. msgid "{Scheme Variable} pagekite-service-type"
  26143. msgstr ""
  26144. #. type: defvr
  26145. #: guix-git/doc/guix.texi:17664
  26146. 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."
  26147. msgstr ""
  26148. #. type: defvr
  26149. #: guix-git/doc/guix.texi:17666
  26150. msgid "Here's an example exposing the local HTTP and SSH daemons:"
  26151. msgstr ""
  26152. #. type: lisp
  26153. #: guix-git/doc/guix.texi:17673
  26154. #, no-wrap
  26155. msgid ""
  26156. "(service pagekite-service-type\n"
  26157. " (pagekite-configuration\n"
  26158. " (kites '(\"http:@@kitename:localhost:80:@@kitesecret\"\n"
  26159. " \"raw/22:@@kitename:localhost:22:@@kitesecret\"))\n"
  26160. " (extra-file \"/etc/pagekite.rc\")))\n"
  26161. msgstr ""
  26162. #. type: deftp
  26163. #: guix-git/doc/guix.texi:17676
  26164. #, no-wrap
  26165. msgid "{Data Type} pagekite-configuration"
  26166. msgstr ""
  26167. #. type: deftp
  26168. #: guix-git/doc/guix.texi:17678
  26169. msgid "Data type representing the configuration of PageKite."
  26170. msgstr ""
  26171. #. type: item
  26172. #: guix-git/doc/guix.texi:17680
  26173. #, no-wrap
  26174. msgid "@code{package} (default: @var{pagekite})"
  26175. msgstr ""
  26176. #. type: table
  26177. #: guix-git/doc/guix.texi:17682
  26178. msgid "Package object of PageKite."
  26179. msgstr ""
  26180. #. type: item
  26181. #: guix-git/doc/guix.texi:17683
  26182. #, no-wrap
  26183. msgid "@code{kitename} (default: @code{#f})"
  26184. msgstr ""
  26185. #. type: table
  26186. #: guix-git/doc/guix.texi:17685
  26187. msgid "PageKite name for authenticating to the frontend server."
  26188. msgstr ""
  26189. #. type: item
  26190. #: guix-git/doc/guix.texi:17686
  26191. #, no-wrap
  26192. msgid "@code{kitesecret} (default: @code{#f})"
  26193. msgstr ""
  26194. #. type: table
  26195. #: guix-git/doc/guix.texi:17689
  26196. msgid "Shared secret for authenticating to the frontend server. You should probably put this inside @code{extra-file} instead."
  26197. msgstr ""
  26198. #. type: item
  26199. #: guix-git/doc/guix.texi:17690
  26200. #, no-wrap
  26201. msgid "@code{frontend} (default: @code{#f})"
  26202. msgstr ""
  26203. #. type: table
  26204. #: guix-git/doc/guix.texi:17693
  26205. msgid "Connect to the named PageKite frontend server instead of the @uref{https://pagekite.net,,pagekite.net} service."
  26206. msgstr ""
  26207. #. type: item
  26208. #: guix-git/doc/guix.texi:17694
  26209. #, no-wrap
  26210. msgid "@code{kites} (default: @code{'(\"http:@@kitename:localhost:80:@@kitesecret\")})"
  26211. msgstr ""
  26212. #. type: table
  26213. #: guix-git/doc/guix.texi:17697
  26214. msgid "List of service kites to use. Exposes HTTP on port 80 by default. The format is @code{proto:kitename:host:port:secret}."
  26215. msgstr ""
  26216. #. type: item
  26217. #: guix-git/doc/guix.texi:17698
  26218. #, no-wrap
  26219. msgid "@code{extra-file} (default: @code{#f})"
  26220. msgstr ""
  26221. #. type: table
  26222. #: guix-git/doc/guix.texi:17701
  26223. 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."
  26224. msgstr ""
  26225. #. type: defvr
  26226. #: guix-git/doc/guix.texi:17705
  26227. #, no-wrap
  26228. msgid "{Scheme Variable} yggdrasil-service-type"
  26229. msgstr ""
  26230. #. type: defvr
  26231. #: guix-git/doc/guix.texi:17709
  26232. 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."
  26233. msgstr ""
  26234. #. type: quotation
  26235. #: guix-git/doc/guix.texi:17716
  26236. 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}"
  26237. msgstr ""
  26238. #. type: defvr
  26239. #: guix-git/doc/guix.texi:17720
  26240. msgid "Pass it a value of @code{yggdrasil-configuration} to connect it to public peers and/or local peers."
  26241. msgstr ""
  26242. #. type: defvr
  26243. #: guix-git/doc/guix.texi:17724
  26244. 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})."
  26245. msgstr ""
  26246. #. type: lisp
  26247. #: guix-git/doc/guix.texi:17736
  26248. #, no-wrap
  26249. msgid ""
  26250. ";; part of the operating-system declaration\n"
  26251. "(service yggdrasil-service-type\n"
  26252. " (yggdrasil-configuration\n"
  26253. " (autoconf? #f) ;; use only the public peers\n"
  26254. " (json-config\n"
  26255. " ;; choose one from\n"
  26256. " ;; https://github.com/yggdrasil-network/public-peers\n"
  26257. " '((peers . #(\"tcp://1.2.3.4:1337\"))))\n"
  26258. " ;; /etc/yggdrasil-private.conf is the default value for config-file\n"
  26259. " ))\n"
  26260. msgstr ""
  26261. #. type: example
  26262. #: guix-git/doc/guix.texi:17743
  26263. #, no-wrap
  26264. msgid ""
  26265. "# sample content for /etc/yggdrasil-private.conf\n"
  26266. "@{\n"
  26267. " # Your public encryption key. Your peers may ask you for this to put\n"
  26268. " # into their AllowedEncryptionPublicKeys configuration.\n"
  26269. " EncryptionPublicKey: 378dc5...\n"
  26270. "\n"
  26271. msgstr ""
  26272. #. type: example
  26273. #: guix-git/doc/guix.texi:17746
  26274. #, no-wrap
  26275. msgid ""
  26276. " # Your private encryption key. DO NOT share this with anyone!\n"
  26277. " EncryptionPrivateKey: 0777...\n"
  26278. "\n"
  26279. msgstr ""
  26280. #. type: example
  26281. #: guix-git/doc/guix.texi:17750
  26282. #, no-wrap
  26283. msgid ""
  26284. " # Your public signing key. You should not ordinarily need to share\n"
  26285. " # this with anyone.\n"
  26286. " SigningPublicKey: e1664...\n"
  26287. "\n"
  26288. msgstr ""
  26289. #. type: example
  26290. #: guix-git/doc/guix.texi:17754
  26291. #, no-wrap
  26292. msgid ""
  26293. " # Your private signing key. DO NOT share this with anyone!\n"
  26294. " SigningPrivateKey: 0589d...\n"
  26295. "@}\n"
  26296. msgstr ""
  26297. #. type: deftp
  26298. #: guix-git/doc/guix.texi:17757
  26299. #, no-wrap
  26300. msgid "{Data Type} yggdrasil-configuration"
  26301. msgstr ""
  26302. #. type: deftp
  26303. #: guix-git/doc/guix.texi:17759
  26304. msgid "Data type representing the configuration of Yggdrasil."
  26305. msgstr ""
  26306. #. type: item
  26307. #: guix-git/doc/guix.texi:17761
  26308. #, no-wrap
  26309. msgid "@code{package} (default: @code{yggdrasil})"
  26310. msgstr ""
  26311. #. type: table
  26312. #: guix-git/doc/guix.texi:17763
  26313. msgid "Package object of Yggdrasil."
  26314. msgstr ""
  26315. #. type: item
  26316. #: guix-git/doc/guix.texi:17764
  26317. #, no-wrap
  26318. msgid "@code{json-config} (default: @code{'()})"
  26319. msgstr ""
  26320. #. type: table
  26321. #: guix-git/doc/guix.texi:17770
  26322. 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."
  26323. msgstr ""
  26324. #. type: item
  26325. #: guix-git/doc/guix.texi:17771
  26326. #, no-wrap
  26327. msgid "@code{autoconf?} (default: @code{#f})"
  26328. msgstr ""
  26329. #. type: table
  26330. #: guix-git/doc/guix.texi:17774
  26331. msgid "Whether to use automatic mode. Enabling it makes Yggdrasil use adynamic IP and peer with IPv6 neighbors."
  26332. msgstr ""
  26333. #. type: table
  26334. #: guix-git/doc/guix.texi:17777
  26335. msgid "How much detail to include in logs. Use @code{'debug} for more detail."
  26336. msgstr ""
  26337. #. type: item
  26338. #: guix-git/doc/guix.texi:17778
  26339. #, no-wrap
  26340. msgid "@code{log-to} (default: @code{'stdout})"
  26341. msgstr ""
  26342. #. type: table
  26343. #: guix-git/doc/guix.texi:17782
  26344. 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."
  26345. msgstr ""
  26346. #. type: item
  26347. #: guix-git/doc/guix.texi:17783
  26348. #, no-wrap
  26349. msgid "@code{config-file} (default: @code{\"/etc/yggdrasil-private.conf\"})"
  26350. msgstr ""
  26351. #. type: table
  26352. #: guix-git/doc/guix.texi:17790
  26353. 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:"
  26354. msgstr ""
  26355. #. type: code{#1}
  26356. #: guix-git/doc/guix.texi:17792
  26357. #, no-wrap
  26358. msgid "EncryptionPublicKey"
  26359. msgstr ""
  26360. #. type: code{#1}
  26361. #: guix-git/doc/guix.texi:17793
  26362. #, no-wrap
  26363. msgid "EncryptionPrivateKey"
  26364. msgstr ""
  26365. #. type: code{#1}
  26366. #: guix-git/doc/guix.texi:17794
  26367. #, no-wrap
  26368. msgid "SigningPublicKey"
  26369. msgstr ""
  26370. #. type: code{#1}
  26371. #: guix-git/doc/guix.texi:17795
  26372. #, no-wrap
  26373. msgid "SigningPrivateKey"
  26374. msgstr ""
  26375. #. type: cindex
  26376. #: guix-git/doc/guix.texi:17800
  26377. #, no-wrap
  26378. msgid "IPFS"
  26379. msgstr ""
  26380. #. type: defvr
  26381. #: guix-git/doc/guix.texi:17801
  26382. #, no-wrap
  26383. msgid "{Scheme Variable} ipfs-service-type"
  26384. msgstr ""
  26385. #. type: defvr
  26386. #: guix-git/doc/guix.texi:17805
  26387. 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."
  26388. msgstr ""
  26389. #. type: defvr
  26390. #: guix-git/doc/guix.texi:17807
  26391. msgid "Here's an example configuration, using some non-standard ports:"
  26392. msgstr ""
  26393. #. type: lisp
  26394. #: guix-git/doc/guix.texi:17813
  26395. #, no-wrap
  26396. msgid ""
  26397. "(service ipfs-service-type\n"
  26398. " (ipfs-configuration\n"
  26399. " (gateway \"/ip4/127.0.0.1/tcp/8880\")\n"
  26400. " (api \"/ip4/127.0.0.1/tcp/8881\")))\n"
  26401. msgstr ""
  26402. #. type: deftp
  26403. #: guix-git/doc/guix.texi:17816
  26404. #, no-wrap
  26405. msgid "{Data Type} ipfs-configuration"
  26406. msgstr ""
  26407. #. type: deftp
  26408. #: guix-git/doc/guix.texi:17818
  26409. msgid "Data type representing the configuration of IPFS."
  26410. msgstr ""
  26411. #. type: item
  26412. #: guix-git/doc/guix.texi:17820
  26413. #, no-wrap
  26414. msgid "@code{package} (default: @code{go-ipfs})"
  26415. msgstr ""
  26416. #. type: table
  26417. #: guix-git/doc/guix.texi:17822
  26418. msgid "Package object of IPFS."
  26419. msgstr ""
  26420. #. type: item
  26421. #: guix-git/doc/guix.texi:17823
  26422. #, no-wrap
  26423. msgid "@code{gateway} (default: @code{\"/ip4/127.0.0.1/tcp/8082\"})"
  26424. msgstr ""
  26425. #. type: table
  26426. #: guix-git/doc/guix.texi:17825
  26427. msgid "Address of the gateway, in ‘multiaddress’ format."
  26428. msgstr ""
  26429. #. type: item
  26430. #: guix-git/doc/guix.texi:17826
  26431. #, no-wrap
  26432. msgid "@code{api} (default: @code{\"/ip4/127.0.0.1/tcp/5001\"})"
  26433. msgstr ""
  26434. #. type: table
  26435. #: guix-git/doc/guix.texi:17828
  26436. msgid "Address of the API endpoint, in ‘multiaddress’ format."
  26437. msgstr ""
  26438. #. type: cindex
  26439. #: guix-git/doc/guix.texi:17831
  26440. #, no-wrap
  26441. msgid "keepalived"
  26442. msgstr ""
  26443. #. type: deffn
  26444. #: guix-git/doc/guix.texi:17832
  26445. #, no-wrap
  26446. msgid "{Scheme Variable} keepalived-service-type"
  26447. msgstr ""
  26448. #. type: deffn
  26449. #: guix-git/doc/guix.texi:17837
  26450. 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:"
  26451. msgstr ""
  26452. #. type: lisp
  26453. #: guix-git/doc/guix.texi:17842
  26454. #, no-wrap
  26455. msgid ""
  26456. "(service keepalived-service-type\n"
  26457. " (keepalived-configuration\n"
  26458. " (config-file (local-file \"keepalived-master.conf\"))))\n"
  26459. msgstr ""
  26460. #. type: deffn
  26461. #: guix-git/doc/guix.texi:17845
  26462. msgid "where @file{keepalived-master.conf}:"
  26463. msgstr ""
  26464. #. type: example
  26465. #: guix-git/doc/guix.texi:17857
  26466. #, no-wrap
  26467. msgid ""
  26468. "vrrp_instance my-group @{\n"
  26469. " state MASTER\n"
  26470. " interface enp9s0\n"
  26471. " virtual_router_id 100\n"
  26472. " priority 100\n"
  26473. " unicast_peer @{ 10.0.0.2 @}\n"
  26474. " virtual_ipaddress @{\n"
  26475. " 10.0.0.4/24\n"
  26476. " @}\n"
  26477. "@}\n"
  26478. msgstr ""
  26479. #. type: deffn
  26480. #: guix-git/doc/guix.texi:17860
  26481. msgid "and for backup machine:"
  26482. msgstr ""
  26483. #. type: lisp
  26484. #: guix-git/doc/guix.texi:17865
  26485. #, no-wrap
  26486. msgid ""
  26487. "(service keepalived-service-type\n"
  26488. " (keepalived-configuration\n"
  26489. " (config-file (local-file \"keepalived-backup.conf\"))))\n"
  26490. msgstr ""
  26491. #. type: deffn
  26492. #: guix-git/doc/guix.texi:17868
  26493. msgid "where @file{keepalived-backup.conf}:"
  26494. msgstr ""
  26495. #. type: example
  26496. #: guix-git/doc/guix.texi:17880
  26497. #, no-wrap
  26498. msgid ""
  26499. "vrrp_instance my-group @{\n"
  26500. " state BACKUP\n"
  26501. " interface enp9s0\n"
  26502. " virtual_router_id 100\n"
  26503. " priority 99\n"
  26504. " unicast_peer @{ 10.0.0.3 @}\n"
  26505. " virtual_ipaddress @{\n"
  26506. " 10.0.0.4/24\n"
  26507. " @}\n"
  26508. "@}\n"
  26509. msgstr ""
  26510. #. type: cindex
  26511. #: guix-git/doc/guix.texi:17886
  26512. #, no-wrap
  26513. msgid "unattended upgrades"
  26514. msgstr ""
  26515. #. type: cindex
  26516. #: guix-git/doc/guix.texi:17887
  26517. #, no-wrap
  26518. msgid "upgrades, unattended"
  26519. msgstr ""
  26520. #. type: Plain text
  26521. #: guix-git/doc/guix.texi:17892
  26522. 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:"
  26523. msgstr ""
  26524. #. type: itemize
  26525. #: guix-git/doc/guix.texi:17897
  26526. msgid "upgrades are transactional (either the upgrade succeeds or it fails, but you cannot end up with an ``in-between'' system state);"
  26527. msgstr ""
  26528. #. type: itemize
  26529. #: guix-git/doc/guix.texi:17901
  26530. 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;"
  26531. msgstr ""
  26532. #. type: itemize
  26533. #: guix-git/doc/guix.texi:17904
  26534. msgid "channel code is authenticated so you know you can only run genuine code (@pxref{Channels});"
  26535. msgstr ""
  26536. #. type: itemize
  26537. #: guix-git/doc/guix.texi:17907
  26538. msgid "@command{guix system reconfigure} prevents downgrades, which makes it immune to @dfn{downgrade attacks}."
  26539. msgstr ""
  26540. #. type: Plain text
  26541. #: guix-git/doc/guix.texi:17912
  26542. 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:"
  26543. msgstr ""
  26544. #. type: lisp
  26545. #: guix-git/doc/guix.texi:17915
  26546. #, no-wrap
  26547. msgid "(service unattended-upgrade-service-type)\n"
  26548. msgstr ""
  26549. #. type: Plain text
  26550. #: guix-git/doc/guix.texi:17922
  26551. 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."
  26552. msgstr ""
  26553. #. type: Plain text
  26554. #: guix-git/doc/guix.texi:17928
  26555. 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."
  26556. msgstr ""
  26557. #. type: Plain text
  26558. #: guix-git/doc/guix.texi:17932
  26559. 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)."
  26560. msgstr ""
  26561. #. type: defvr
  26562. #: guix-git/doc/guix.texi:17933
  26563. #, no-wrap
  26564. msgid "{Scheme Variable} unattended-upgrade-service-type"
  26565. msgstr ""
  26566. #. type: defvr
  26567. #: guix-git/doc/guix.texi:17937
  26568. 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."
  26569. msgstr ""
  26570. #. type: defvr
  26571. #: guix-git/doc/guix.texi:17940
  26572. msgid "Its value must be a @code{unattended-upgrade-configuration} record (see below)."
  26573. msgstr ""
  26574. #. type: deftp
  26575. #: guix-git/doc/guix.texi:17942
  26576. #, no-wrap
  26577. msgid "{Data Type} unattended-upgrade-configuration"
  26578. msgstr ""
  26579. #. type: deftp
  26580. #: guix-git/doc/guix.texi:17945
  26581. msgid "This data type represents the configuration of the unattended upgrade service. The following fields are available:"
  26582. msgstr ""
  26583. #. type: item
  26584. #: guix-git/doc/guix.texi:17947
  26585. #, no-wrap
  26586. msgid "@code{schedule} (default: @code{\"30 01 * * 0\"})"
  26587. msgstr ""
  26588. #. type: table
  26589. #: guix-git/doc/guix.texi:17951
  26590. 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})."
  26591. msgstr ""
  26592. #. type: item
  26593. #: guix-git/doc/guix.texi:17952
  26594. #, no-wrap
  26595. msgid "@code{channels} (default: @code{#~%default-channels})"
  26596. msgstr ""
  26597. #. type: table
  26598. #: guix-git/doc/guix.texi:17956
  26599. 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."
  26600. msgstr ""
  26601. #. type: item
  26602. #: guix-git/doc/guix.texi:17957
  26603. #, no-wrap
  26604. msgid "@code{operating-system-file} (default: @code{\"/run/current-system/configuration.scm\"})"
  26605. msgstr ""
  26606. #. type: table
  26607. #: guix-git/doc/guix.texi:17960
  26608. msgid "This field specifies the operating system configuration file to use. The default is to reuse the config file of the current configuration."
  26609. msgstr ""
  26610. #. type: table
  26611. #: guix-git/doc/guix.texi:17966
  26612. 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:"
  26613. msgstr ""
  26614. #. type: lisp
  26615. #: guix-git/doc/guix.texi:17972
  26616. #, no-wrap
  26617. msgid ""
  26618. "(unattended-upgrade-configuration\n"
  26619. " (operating-system-file\n"
  26620. " (file-append (local-file \".\" \"config-dir\" #:recursive? #t)\n"
  26621. " \"/config.scm\")))\n"
  26622. msgstr ""
  26623. #. type: table
  26624. #: guix-git/doc/guix.texi:17979
  26625. 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}."
  26626. msgstr ""
  26627. #. type: item
  26628. #: guix-git/doc/guix.texi:17980
  26629. #, no-wrap
  26630. msgid "@code{services-to-restart} (default: @code{'(mcron)})"
  26631. msgstr ""
  26632. #. type: table
  26633. #: guix-git/doc/guix.texi:17983
  26634. msgid "This field specifies the Shepherd services to restart when the upgrade completes."
  26635. msgstr ""
  26636. #. type: table
  26637. #: guix-git/doc/guix.texi:17990
  26638. 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."
  26639. msgstr ""
  26640. #. type: table
  26641. #: guix-git/doc/guix.texi:17994
  26642. 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}."
  26643. msgstr ""
  26644. #. type: table
  26645. #: guix-git/doc/guix.texi:17997
  26646. 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."
  26647. msgstr ""
  26648. #. type: item
  26649. #: guix-git/doc/guix.texi:17998
  26650. #, no-wrap
  26651. msgid "@code{system-expiration} (default: @code{(* 3 30 24 3600)})"
  26652. msgstr ""
  26653. #. type: table
  26654. #: guix-git/doc/guix.texi:18002
  26655. 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."
  26656. msgstr ""
  26657. #. type: quotation
  26658. #: guix-git/doc/guix.texi:18007
  26659. 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."
  26660. msgstr ""
  26661. #. type: item
  26662. #: guix-git/doc/guix.texi:18009
  26663. #, no-wrap
  26664. msgid "@code{maximum-duration} (default: @code{3600})"
  26665. msgstr ""
  26666. #. type: table
  26667. #: guix-git/doc/guix.texi:18012
  26668. msgid "Maximum duration in seconds for the upgrade; past that time, the upgrade aborts."
  26669. msgstr ""
  26670. #. type: table
  26671. #: guix-git/doc/guix.texi:18015
  26672. msgid "This is primarily useful to ensure the upgrade does not end up rebuilding or re-downloading ``the world''."
  26673. msgstr ""
  26674. #. type: item
  26675. #: guix-git/doc/guix.texi:18016
  26676. #, no-wrap
  26677. msgid "@code{log-file} (default: @code{\"/var/log/unattended-upgrade.log\"})"
  26678. msgstr ""
  26679. #. type: table
  26680. #: guix-git/doc/guix.texi:18018
  26681. msgid "File where unattended upgrades are logged."
  26682. msgstr ""
  26683. #. type: cindex
  26684. #: guix-git/doc/guix.texi:18024
  26685. #, no-wrap
  26686. msgid "X11"
  26687. msgstr ""
  26688. #. type: cindex
  26689. #: guix-git/doc/guix.texi:18025
  26690. #, no-wrap
  26691. msgid "X Window System"
  26692. msgstr ""
  26693. #. type: cindex
  26694. #: guix-git/doc/guix.texi:18026 guix-git/doc/guix.texi:18286
  26695. #, no-wrap
  26696. msgid "login manager"
  26697. msgstr ""
  26698. #. type: Plain text
  26699. #: guix-git/doc/guix.texi:18031
  26700. 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)."
  26701. msgstr ""
  26702. #. type: cindex
  26703. #: guix-git/doc/guix.texi:18032
  26704. #, no-wrap
  26705. msgid "GDM"
  26706. msgstr ""
  26707. #. type: cindex
  26708. #: guix-git/doc/guix.texi:18033
  26709. #, no-wrap
  26710. msgid "GNOME, login manager"
  26711. msgstr ""
  26712. #. type: Plain text
  26713. #: guix-git/doc/guix.texi:18037
  26714. 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."
  26715. msgstr ""
  26716. #. type: cindex
  26717. #: guix-git/doc/guix.texi:18038
  26718. #, no-wrap
  26719. msgid "window manager"
  26720. msgstr ""
  26721. #. type: Plain text
  26722. #: guix-git/doc/guix.texi:18043
  26723. 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})."
  26724. msgstr ""
  26725. #. type: defvr
  26726. #: guix-git/doc/guix.texi:18044
  26727. #, no-wrap
  26728. msgid "{Scheme Variable} gdm-service-type"
  26729. msgstr ""
  26730. #. type: defvr
  26731. #: guix-git/doc/guix.texi:18049
  26732. 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)."
  26733. msgstr ""
  26734. #. type: cindex
  26735. #: guix-git/doc/guix.texi:18050
  26736. #, no-wrap
  26737. msgid "session types (X11)"
  26738. msgstr ""
  26739. #. type: cindex
  26740. #: guix-git/doc/guix.texi:18051
  26741. #, no-wrap
  26742. msgid "X11 session types"
  26743. msgstr ""
  26744. #. type: defvr
  26745. #: guix-git/doc/guix.texi:18057
  26746. 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."
  26747. msgstr ""
  26748. #. type: defvr
  26749. #: guix-git/doc/guix.texi:18061
  26750. 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."
  26751. msgstr ""
  26752. #. type: deftp
  26753. #: guix-git/doc/guix.texi:18063
  26754. #, no-wrap
  26755. msgid "{Data Type} gdm-configuration"
  26756. msgstr ""
  26757. #. type: item
  26758. #: guix-git/doc/guix.texi:18065 guix-git/doc/guix.texi:18141
  26759. #, no-wrap
  26760. msgid "@code{auto-login?} (default: @code{#f})"
  26761. msgstr ""
  26762. #. type: itemx
  26763. #: guix-git/doc/guix.texi:18066
  26764. #, no-wrap
  26765. msgid "@code{default-user} (default: @code{#f})"
  26766. msgstr ""
  26767. #. type: table
  26768. #: guix-git/doc/guix.texi:18068
  26769. msgid "When @code{auto-login?} is false, GDM presents a log-in screen."
  26770. msgstr ""
  26771. #. type: table
  26772. #: guix-git/doc/guix.texi:18071
  26773. msgid "When @code{auto-login?} is true, GDM logs in directly as @code{default-user}."
  26774. msgstr ""
  26775. #. type: item
  26776. #: guix-git/doc/guix.texi:18072 guix-git/doc/guix.texi:23920
  26777. #: guix-git/doc/guix.texi:25628 guix-git/doc/guix.texi:30046
  26778. #: guix-git/doc/guix.texi:30075 guix-git/doc/guix.texi:30104
  26779. #: guix-git/doc/guix.texi:30131 guix-git/doc/guix.texi:30186
  26780. #: guix-git/doc/guix.texi:30211 guix-git/doc/guix.texi:30238
  26781. #: guix-git/doc/guix.texi:30264 guix-git/doc/guix.texi:30306
  26782. #, no-wrap
  26783. msgid "@code{debug?} (default: @code{#f})"
  26784. msgstr ""
  26785. #. type: table
  26786. #: guix-git/doc/guix.texi:18074
  26787. msgid "When true, GDM writes debug messages to its log."
  26788. msgstr ""
  26789. #. type: item
  26790. #: guix-git/doc/guix.texi:18075
  26791. #, no-wrap
  26792. msgid "@code{gnome-shell-assets} (default: ...)"
  26793. msgstr ""
  26794. #. type: table
  26795. #: guix-git/doc/guix.texi:18077
  26796. msgid "List of GNOME Shell assets needed by GDM: icon theme, fonts, etc."
  26797. msgstr ""
  26798. #. type: item
  26799. #: guix-git/doc/guix.texi:18078
  26800. #, no-wrap
  26801. msgid "@code{xorg-configuration} (default: @code{(xorg-configuration)})"
  26802. msgstr ""
  26803. #. type: table
  26804. #: guix-git/doc/guix.texi:18080 guix-git/doc/guix.texi:18168
  26805. #: guix-git/doc/guix.texi:18252
  26806. msgid "Configuration of the Xorg graphical server."
  26807. msgstr ""
  26808. #. type: item
  26809. #: guix-git/doc/guix.texi:18081
  26810. #, no-wrap
  26811. msgid "@code{xsession} (default: @code{(xinitrc)})"
  26812. msgstr ""
  26813. #. type: table
  26814. #: guix-git/doc/guix.texi:18083 guix-git/doc/guix.texi:18267
  26815. msgid "Script to run before starting a X session."
  26816. msgstr ""
  26817. #. type: item
  26818. #: guix-git/doc/guix.texi:18084
  26819. #, no-wrap
  26820. msgid "@code{dbus-daemon} (default: @code{dbus-daemon-wrapper})"
  26821. msgstr ""
  26822. #. type: table
  26823. #: guix-git/doc/guix.texi:18086
  26824. msgid "File name of the @code{dbus-daemon} executable."
  26825. msgstr ""
  26826. #. type: item
  26827. #: guix-git/doc/guix.texi:18087
  26828. #, no-wrap
  26829. msgid "@code{gdm} (default: @code{gdm})"
  26830. msgstr ""
  26831. #. type: table
  26832. #: guix-git/doc/guix.texi:18089
  26833. msgid "The GDM package to use."
  26834. msgstr ""
  26835. #. type: defvr
  26836. #: guix-git/doc/guix.texi:18092
  26837. #, no-wrap
  26838. msgid "{Scheme Variable} slim-service-type"
  26839. msgstr ""
  26840. #. type: defvr
  26841. #: guix-git/doc/guix.texi:18094
  26842. msgid "This is the type for the SLiM graphical login manager for X11."
  26843. msgstr ""
  26844. #. type: defvr
  26845. #: guix-git/doc/guix.texi:18098
  26846. 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."
  26847. msgstr ""
  26848. #. type: defvr
  26849. #: guix-git/doc/guix.texi:18105
  26850. 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."
  26851. msgstr ""
  26852. #. type: lisp
  26853. #: guix-git/doc/guix.texi:18111
  26854. #, no-wrap
  26855. msgid ""
  26856. "(use-modules (gnu services)\n"
  26857. " (gnu services desktop)\n"
  26858. " (gnu services xorg)\n"
  26859. " (srfi srfi-1)) ;for 'remove'\n"
  26860. "\n"
  26861. msgstr ""
  26862. #. type: lisp
  26863. #: guix-git/doc/guix.texi:18122
  26864. #, no-wrap
  26865. msgid ""
  26866. "(operating-system\n"
  26867. " ;; ...\n"
  26868. " (services (cons* (service slim-service-type (slim-configuration\n"
  26869. " (display \":0\")\n"
  26870. " (vt \"vt7\")))\n"
  26871. " (service slim-service-type (slim-configuration\n"
  26872. " (display \":1\")\n"
  26873. " (vt \"vt8\")))\n"
  26874. " (modify-services %desktop-services\n"
  26875. " (delete gdm-service-type)))))\n"
  26876. msgstr ""
  26877. #. type: deftp
  26878. #: guix-git/doc/guix.texi:18126
  26879. #, no-wrap
  26880. msgid "{Data Type} slim-configuration"
  26881. msgstr ""
  26882. #. type: deftp
  26883. #: guix-git/doc/guix.texi:18128
  26884. msgid "Data type representing the configuration of @code{slim-service-type}."
  26885. msgstr ""
  26886. #. type: table
  26887. #: guix-git/doc/guix.texi:18132
  26888. msgid "Whether to allow logins with empty passwords."
  26889. msgstr ""
  26890. #. type: item
  26891. #: guix-git/doc/guix.texi:18133
  26892. #, no-wrap
  26893. msgid "@code{gnupg?} (default: @code{#f})"
  26894. msgstr ""
  26895. #. type: table
  26896. #: guix-git/doc/guix.texi:18140
  26897. msgid "If enabled, @code{pam-gnupg} will attempt to automatically unlock the user's GPG keys with the login password via @code{gpg-agent}. The keygrips of all keys to be unlocked should be written to @file{~/.pam-gnupg}, and can be queried with @code{gpg -K --with-keygrip}. Presetting passphrases must be enabled by adding @code{allow-preset-passphrase} in @file{~/.gnupg/gpg-agent.conf}."
  26898. msgstr ""
  26899. #. type: itemx
  26900. #: guix-git/doc/guix.texi:18142
  26901. #, no-wrap
  26902. msgid "@code{default-user} (default: @code{\"\"})"
  26903. msgstr ""
  26904. #. type: table
  26905. #: guix-git/doc/guix.texi:18144
  26906. msgid "When @code{auto-login?} is false, SLiM presents a log-in screen."
  26907. msgstr ""
  26908. #. type: table
  26909. #: guix-git/doc/guix.texi:18147
  26910. msgid "When @code{auto-login?} is true, SLiM logs in directly as @code{default-user}."
  26911. msgstr ""
  26912. #. type: item
  26913. #: guix-git/doc/guix.texi:18148
  26914. #, no-wrap
  26915. msgid "@code{theme} (default: @code{%default-slim-theme})"
  26916. msgstr ""
  26917. #. type: itemx
  26918. #: guix-git/doc/guix.texi:18149
  26919. #, no-wrap
  26920. msgid "@code{theme-name} (default: @code{%default-slim-theme-name})"
  26921. msgstr ""
  26922. #. type: table
  26923. #: guix-git/doc/guix.texi:18151
  26924. msgid "The graphical theme to use and its name."
  26925. msgstr ""
  26926. #. type: item
  26927. #: guix-git/doc/guix.texi:18152
  26928. #, no-wrap
  26929. msgid "@code{auto-login-session} (default: @code{#f})"
  26930. msgstr ""
  26931. #. type: table
  26932. #: guix-git/doc/guix.texi:18155
  26933. 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\")}."
  26934. msgstr ""
  26935. #. type: table
  26936. #: guix-git/doc/guix.texi:18159
  26937. 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."
  26938. msgstr ""
  26939. #. type: quotation
  26940. #: guix-git/doc/guix.texi:18164
  26941. 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."
  26942. msgstr ""
  26943. #. type: item
  26944. #: guix-git/doc/guix.texi:18166 guix-git/doc/guix.texi:18250
  26945. #, no-wrap
  26946. msgid "@code{xorg-configuration} (default @code{(xorg-configuration)})"
  26947. msgstr ""
  26948. #. type: item
  26949. #: guix-git/doc/guix.texi:18169
  26950. #, no-wrap
  26951. msgid "@code{display} (default @code{\":0\"})"
  26952. msgstr ""
  26953. #. type: table
  26954. #: guix-git/doc/guix.texi:18171
  26955. msgid "The display on which to start the Xorg graphical server."
  26956. msgstr ""
  26957. #. type: item
  26958. #: guix-git/doc/guix.texi:18172
  26959. #, no-wrap
  26960. msgid "@code{vt} (default @code{\"vt7\"})"
  26961. msgstr ""
  26962. #. type: table
  26963. #: guix-git/doc/guix.texi:18174
  26964. msgid "The VT on which to start the Xorg graphical server."
  26965. msgstr ""
  26966. #. type: item
  26967. #: guix-git/doc/guix.texi:18175
  26968. #, no-wrap
  26969. msgid "@code{xauth} (default: @code{xauth})"
  26970. msgstr ""
  26971. #. type: table
  26972. #: guix-git/doc/guix.texi:18177
  26973. msgid "The XAuth package to use."
  26974. msgstr ""
  26975. #. type: item
  26976. #: guix-git/doc/guix.texi:18178
  26977. #, no-wrap
  26978. msgid "@code{shepherd} (default: @code{shepherd})"
  26979. msgstr ""
  26980. #. type: table
  26981. #: guix-git/doc/guix.texi:18181
  26982. msgid "The Shepherd package used when invoking @command{halt} and @command{reboot}."
  26983. msgstr ""
  26984. #. type: item
  26985. #: guix-git/doc/guix.texi:18182
  26986. #, no-wrap
  26987. msgid "@code{sessreg} (default: @code{sessreg})"
  26988. msgstr ""
  26989. #. type: table
  26990. #: guix-git/doc/guix.texi:18184
  26991. msgid "The sessreg package used in order to register the session."
  26992. msgstr ""
  26993. #. type: item
  26994. #: guix-git/doc/guix.texi:18185
  26995. #, no-wrap
  26996. msgid "@code{slim} (default: @code{slim})"
  26997. msgstr ""
  26998. #. type: table
  26999. #: guix-git/doc/guix.texi:18187
  27000. msgid "The SLiM package to use."
  27001. msgstr ""
  27002. #. type: defvr
  27003. #: guix-git/doc/guix.texi:18190
  27004. #, no-wrap
  27005. msgid "{Scheme Variable} %default-theme"
  27006. msgstr ""
  27007. #. type: defvrx
  27008. #: guix-git/doc/guix.texi:18191
  27009. #, no-wrap
  27010. msgid "{Scheme Variable} %default-theme-name"
  27011. msgstr ""
  27012. #. type: defvr
  27013. #: guix-git/doc/guix.texi:18193
  27014. msgid "The default SLiM theme and its name."
  27015. msgstr ""
  27016. #. type: deftp
  27017. #: guix-git/doc/guix.texi:18196 guix-git/doc/guix.texi:18303
  27018. #, no-wrap
  27019. msgid "{Data Type} sddm-configuration"
  27020. msgstr ""
  27021. #. type: deftp
  27022. #: guix-git/doc/guix.texi:18198
  27023. msgid "This is the data type representing the SDDM service configuration."
  27024. msgstr ""
  27025. #. type: item
  27026. #: guix-git/doc/guix.texi:18200
  27027. #, no-wrap
  27028. msgid "@code{display-server} (default: \"x11\")"
  27029. msgstr ""
  27030. #. type: table
  27031. #: guix-git/doc/guix.texi:18203
  27032. msgid "Select display server to use for the greeter. Valid values are @samp{\"x11\"} or @samp{\"wayland\"}."
  27033. msgstr ""
  27034. #. type: item
  27035. #: guix-git/doc/guix.texi:18204
  27036. #, no-wrap
  27037. msgid "@code{numlock} (default: \"on\")"
  27038. msgstr ""
  27039. #. type: table
  27040. #: guix-git/doc/guix.texi:18206
  27041. msgid "Valid values are @samp{\"on\"}, @samp{\"off\"} or @samp{\"none\"}."
  27042. msgstr ""
  27043. #. type: item
  27044. #: guix-git/doc/guix.texi:18207
  27045. #, no-wrap
  27046. msgid "@code{halt-command} (default @code{#~(string-apppend #$shepherd \"/sbin/halt\")})"
  27047. msgstr ""
  27048. #. type: table
  27049. #: guix-git/doc/guix.texi:18209
  27050. msgid "Command to run when halting."
  27051. msgstr ""
  27052. #. type: item
  27053. #: guix-git/doc/guix.texi:18210
  27054. #, no-wrap
  27055. msgid "@code{reboot-command} (default @code{#~(string-append #$shepherd \"/sbin/reboot\")})"
  27056. msgstr ""
  27057. #. type: table
  27058. #: guix-git/doc/guix.texi:18212
  27059. msgid "Command to run when rebooting."
  27060. msgstr ""
  27061. #. type: item
  27062. #: guix-git/doc/guix.texi:18213
  27063. #, no-wrap
  27064. msgid "@code{theme} (default \"maldives\")"
  27065. msgstr ""
  27066. #. type: table
  27067. #: guix-git/doc/guix.texi:18216
  27068. msgid "Theme to use. Default themes provided by SDDM are @samp{\"elarun\"}, @samp{\"maldives\"} or @samp{\"maya\"}."
  27069. msgstr ""
  27070. #. type: item
  27071. #: guix-git/doc/guix.texi:18217
  27072. #, no-wrap
  27073. msgid "@code{themes-directory} (default \"/run/current-system/profile/share/sddm/themes\")"
  27074. msgstr ""
  27075. #. type: table
  27076. #: guix-git/doc/guix.texi:18219
  27077. msgid "Directory to look for themes."
  27078. msgstr ""
  27079. #. type: item
  27080. #: guix-git/doc/guix.texi:18220
  27081. #, no-wrap
  27082. msgid "@code{faces-directory} (default \"/run/current-system/profile/share/sddm/faces\")"
  27083. msgstr ""
  27084. #. type: table
  27085. #: guix-git/doc/guix.texi:18222
  27086. msgid "Directory to look for faces."
  27087. msgstr ""
  27088. #. type: item
  27089. #: guix-git/doc/guix.texi:18223
  27090. #, no-wrap
  27091. msgid "@code{default-path} (default \"/run/current-system/profile/bin\")"
  27092. msgstr ""
  27093. #. type: table
  27094. #: guix-git/doc/guix.texi:18225
  27095. msgid "Default PATH to use."
  27096. msgstr ""
  27097. #. type: item
  27098. #: guix-git/doc/guix.texi:18226
  27099. #, no-wrap
  27100. msgid "@code{minimum-uid} (default: 1000)"
  27101. msgstr ""
  27102. #. type: table
  27103. #: guix-git/doc/guix.texi:18228
  27104. msgid "Minimum UID displayed in SDDM and allowed for log-in."
  27105. msgstr ""
  27106. #. type: item
  27107. #: guix-git/doc/guix.texi:18229
  27108. #, no-wrap
  27109. msgid "@code{maximum-uid} (default: 2000)"
  27110. msgstr ""
  27111. #. type: table
  27112. #: guix-git/doc/guix.texi:18231
  27113. msgid "Maximum UID to display in SDDM."
  27114. msgstr ""
  27115. #. type: item
  27116. #: guix-git/doc/guix.texi:18232
  27117. #, no-wrap
  27118. msgid "@code{remember-last-user?} (default #t)"
  27119. msgstr ""
  27120. #. type: table
  27121. #: guix-git/doc/guix.texi:18234
  27122. msgid "Remember last user."
  27123. msgstr ""
  27124. #. type: item
  27125. #: guix-git/doc/guix.texi:18235
  27126. #, no-wrap
  27127. msgid "@code{remember-last-session?} (default #t)"
  27128. msgstr ""
  27129. #. type: table
  27130. #: guix-git/doc/guix.texi:18237
  27131. msgid "Remember last session."
  27132. msgstr ""
  27133. #. type: item
  27134. #: guix-git/doc/guix.texi:18238
  27135. #, no-wrap
  27136. msgid "@code{hide-users} (default \"\")"
  27137. msgstr ""
  27138. #. type: table
  27139. #: guix-git/doc/guix.texi:18240
  27140. msgid "Usernames to hide from SDDM greeter."
  27141. msgstr ""
  27142. #. type: item
  27143. #: guix-git/doc/guix.texi:18241
  27144. #, no-wrap
  27145. msgid "@code{hide-shells} (default @code{#~(string-append #$shadow \"/sbin/nologin\")})"
  27146. msgstr ""
  27147. #. type: table
  27148. #: guix-git/doc/guix.texi:18243
  27149. msgid "Users with shells listed will be hidden from the SDDM greeter."
  27150. msgstr ""
  27151. #. type: item
  27152. #: guix-git/doc/guix.texi:18244
  27153. #, no-wrap
  27154. msgid "@code{session-command} (default @code{#~(string-append #$sddm \"/share/sddm/scripts/wayland-session\")})"
  27155. msgstr ""
  27156. #. type: table
  27157. #: guix-git/doc/guix.texi:18246
  27158. msgid "Script to run before starting a wayland session."
  27159. msgstr ""
  27160. #. type: item
  27161. #: guix-git/doc/guix.texi:18247
  27162. #, no-wrap
  27163. msgid "@code{sessions-directory} (default \"/run/current-system/profile/share/wayland-sessions\")"
  27164. msgstr ""
  27165. #. type: table
  27166. #: guix-git/doc/guix.texi:18249
  27167. msgid "Directory to look for desktop files starting wayland sessions."
  27168. msgstr ""
  27169. #. type: item
  27170. #: guix-git/doc/guix.texi:18253
  27171. #, no-wrap
  27172. msgid "@code{xauth-path} (default @code{#~(string-append #$xauth \"/bin/xauth\")})"
  27173. msgstr ""
  27174. #. type: table
  27175. #: guix-git/doc/guix.texi:18255
  27176. msgid "Path to xauth."
  27177. msgstr ""
  27178. #. type: item
  27179. #: guix-git/doc/guix.texi:18256
  27180. #, no-wrap
  27181. msgid "@code{xephyr-path} (default @code{#~(string-append #$xorg-server \"/bin/Xephyr\")})"
  27182. msgstr ""
  27183. #. type: table
  27184. #: guix-git/doc/guix.texi:18258
  27185. msgid "Path to Xephyr."
  27186. msgstr ""
  27187. #. type: item
  27188. #: guix-git/doc/guix.texi:18259
  27189. #, no-wrap
  27190. msgid "@code{xdisplay-start} (default @code{#~(string-append #$sddm \"/share/sddm/scripts/Xsetup\")})"
  27191. msgstr ""
  27192. #. type: table
  27193. #: guix-git/doc/guix.texi:18261
  27194. msgid "Script to run after starting xorg-server."
  27195. msgstr ""
  27196. #. type: item
  27197. #: guix-git/doc/guix.texi:18262
  27198. #, no-wrap
  27199. msgid "@code{xdisplay-stop} (default @code{#~(string-append #$sddm \"/share/sddm/scripts/Xstop\")})"
  27200. msgstr ""
  27201. #. type: table
  27202. #: guix-git/doc/guix.texi:18264
  27203. msgid "Script to run before stopping xorg-server."
  27204. msgstr ""
  27205. #. type: item
  27206. #: guix-git/doc/guix.texi:18265
  27207. #, no-wrap
  27208. msgid "@code{xsession-command} (default: @code{xinitrc})"
  27209. msgstr ""
  27210. #. type: item
  27211. #: guix-git/doc/guix.texi:18268
  27212. #, no-wrap
  27213. msgid "@code{xsessions-directory} (default: \"/run/current-system/profile/share/xsessions\")"
  27214. msgstr ""
  27215. #. type: table
  27216. #: guix-git/doc/guix.texi:18270
  27217. msgid "Directory to look for desktop files starting X sessions."
  27218. msgstr ""
  27219. #. type: item
  27220. #: guix-git/doc/guix.texi:18271
  27221. #, no-wrap
  27222. msgid "@code{minimum-vt} (default: 7)"
  27223. msgstr ""
  27224. #. type: table
  27225. #: guix-git/doc/guix.texi:18273
  27226. msgid "Minimum VT to use."
  27227. msgstr ""
  27228. #. type: item
  27229. #: guix-git/doc/guix.texi:18274
  27230. #, no-wrap
  27231. msgid "@code{auto-login-user} (default \"\")"
  27232. msgstr ""
  27233. #. type: table
  27234. #: guix-git/doc/guix.texi:18276
  27235. msgid "User to use for auto-login."
  27236. msgstr ""
  27237. #. type: item
  27238. #: guix-git/doc/guix.texi:18277
  27239. #, no-wrap
  27240. msgid "@code{auto-login-session} (default \"\")"
  27241. msgstr ""
  27242. #. type: table
  27243. #: guix-git/doc/guix.texi:18279
  27244. msgid "Desktop file to use for auto-login."
  27245. msgstr ""
  27246. #. type: item
  27247. #: guix-git/doc/guix.texi:18280
  27248. #, no-wrap
  27249. msgid "@code{relogin?} (default #f)"
  27250. msgstr ""
  27251. #. type: table
  27252. #: guix-git/doc/guix.texi:18282
  27253. msgid "Relogin after logout."
  27254. msgstr ""
  27255. #. type: cindex
  27256. #: guix-git/doc/guix.texi:18287
  27257. #, no-wrap
  27258. msgid "X11 login"
  27259. msgstr ""
  27260. #. type: defvr
  27261. #: guix-git/doc/guix.texi:18288
  27262. #, no-wrap
  27263. msgid "{Scheme Variable} sddm-service-type"
  27264. msgstr ""
  27265. #. type: defvr
  27266. #: guix-git/doc/guix.texi:18292
  27267. 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)."
  27268. msgstr ""
  27269. #. type: defvr
  27270. #: guix-git/doc/guix.texi:18294
  27271. msgid "Here's an example use:"
  27272. msgstr ""
  27273. #. type: lisp
  27274. #: guix-git/doc/guix.texi:18300
  27275. #, no-wrap
  27276. msgid ""
  27277. "(service sddm-service-type\n"
  27278. " (sddm-configuration\n"
  27279. " (auto-login-user \"alice\")\n"
  27280. " (auto-login-session \"xfce.desktop\")))\n"
  27281. msgstr ""
  27282. #. type: deftp
  27283. #: guix-git/doc/guix.texi:18306
  27284. msgid "This data type represents the configuration of the SDDM login manager. The available fields are:"
  27285. msgstr ""
  27286. #. type: item
  27287. #: guix-git/doc/guix.texi:18308
  27288. #, no-wrap
  27289. msgid "@code{sddm} (default: @code{sddm})"
  27290. msgstr ""
  27291. #. type: table
  27292. #: guix-git/doc/guix.texi:18310
  27293. msgid "The SDDM package to use."
  27294. msgstr ""
  27295. #. type: item
  27296. #: guix-git/doc/guix.texi:18311
  27297. #, no-wrap
  27298. msgid "@code{display-server} (default: @code{\"x11\"})"
  27299. msgstr ""
  27300. #. type: table
  27301. #: guix-git/doc/guix.texi:18313
  27302. msgid "This must be either @code{\"x11\"} or @code{\"wayland\"}."
  27303. msgstr ""
  27304. #. type: item
  27305. #: guix-git/doc/guix.texi:18316
  27306. #, no-wrap
  27307. msgid "@code{auto-login-user} (default: @code{\"\"})"
  27308. msgstr ""
  27309. #. type: table
  27310. #: guix-git/doc/guix.texi:18319
  27311. msgid "If non-empty, this is the user account under which to log in automatically."
  27312. msgstr ""
  27313. #. type: item
  27314. #: guix-git/doc/guix.texi:18320
  27315. #, no-wrap
  27316. msgid "@code{auto-login-session} (default: @code{\"\"})"
  27317. msgstr ""
  27318. #. type: table
  27319. #: guix-git/doc/guix.texi:18323
  27320. msgid "If non-empty, this is the @file{.desktop} file name to use as the auto-login session."
  27321. msgstr ""
  27322. #. type: cindex
  27323. #: guix-git/doc/guix.texi:18326
  27324. #, no-wrap
  27325. msgid "Xorg, configuration"
  27326. msgstr ""
  27327. #. type: deftp
  27328. #: guix-git/doc/guix.texi:18327
  27329. #, no-wrap
  27330. msgid "{Data Type} xorg-configuration"
  27331. msgstr ""
  27332. #. type: deftp
  27333. #: guix-git/doc/guix.texi:18332
  27334. 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."
  27335. msgstr ""
  27336. #. type: item
  27337. #: guix-git/doc/guix.texi:18334
  27338. #, no-wrap
  27339. msgid "@code{modules} (default: @code{%default-xorg-modules})"
  27340. msgstr ""
  27341. #. type: table
  27342. #: guix-git/doc/guix.texi:18337
  27343. 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."
  27344. msgstr ""
  27345. #. type: item
  27346. #: guix-git/doc/guix.texi:18338
  27347. #, no-wrap
  27348. msgid "@code{fonts} (default: @code{%default-xorg-fonts})"
  27349. msgstr ""
  27350. #. type: table
  27351. #: guix-git/doc/guix.texi:18340
  27352. msgid "This is a list of font directories to add to the server's @dfn{font path}."
  27353. msgstr ""
  27354. #. type: item
  27355. #: guix-git/doc/guix.texi:18341
  27356. #, no-wrap
  27357. msgid "@code{drivers} (default: @code{'()})"
  27358. msgstr ""
  27359. #. type: table
  27360. #: guix-git/doc/guix.texi:18345
  27361. 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\")}."
  27362. msgstr ""
  27363. #. type: item
  27364. #: guix-git/doc/guix.texi:18346
  27365. #, no-wrap
  27366. msgid "@code{resolutions} (default: @code{'()})"
  27367. msgstr ""
  27368. #. type: table
  27369. #: guix-git/doc/guix.texi:18350
  27370. 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))}."
  27371. msgstr ""
  27372. #. type: cindex
  27373. #: guix-git/doc/guix.texi:18351
  27374. #, no-wrap
  27375. msgid "keyboard layout, for Xorg"
  27376. msgstr ""
  27377. #. type: cindex
  27378. #: guix-git/doc/guix.texi:18352
  27379. #, no-wrap
  27380. msgid "keymap, for Xorg"
  27381. msgstr ""
  27382. #. type: table
  27383. #: guix-git/doc/guix.texi:18356
  27384. msgid "If this is @code{#f}, Xorg uses the default keyboard layout---usually US English (``qwerty'') for a 105-key PC keyboard."
  27385. msgstr ""
  27386. #. type: table
  27387. #: guix-git/doc/guix.texi:18360
  27388. 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."
  27389. msgstr ""
  27390. #. type: item
  27391. #: guix-git/doc/guix.texi:18361 guix-git/doc/guix.texi:20066
  27392. #: guix-git/doc/guix.texi:32678
  27393. #, no-wrap
  27394. msgid "@code{extra-config} (default: @code{'()})"
  27395. msgstr ""
  27396. #. type: table
  27397. #: guix-git/doc/guix.texi:18364 guix-git/doc/guix.texi:32682
  27398. 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."
  27399. msgstr ""
  27400. #. type: item
  27401. #: guix-git/doc/guix.texi:18365
  27402. #, no-wrap
  27403. msgid "@code{server} (default: @code{xorg-server})"
  27404. msgstr ""
  27405. #. type: table
  27406. #: guix-git/doc/guix.texi:18367
  27407. msgid "This is the package providing the Xorg server."
  27408. msgstr ""
  27409. #. type: item
  27410. #: guix-git/doc/guix.texi:18368
  27411. #, no-wrap
  27412. msgid "@code{server-arguments} (default: @code{%default-xorg-server-arguments})"
  27413. msgstr ""
  27414. #. type: table
  27415. #: guix-git/doc/guix.texi:18371
  27416. msgid "This is the list of command-line arguments to pass to the X server. The default is @code{-nolisten tcp}."
  27417. msgstr ""
  27418. #. type: deffn
  27419. #: guix-git/doc/guix.texi:18374
  27420. #, no-wrap
  27421. msgid "{Scheme Procedure} set-xorg-configuration @var{config} @"
  27422. msgstr ""
  27423. #. type: deffn
  27424. #: guix-git/doc/guix.texi:18378
  27425. 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."
  27426. msgstr ""
  27427. #. type: deffn
  27428. #: guix-git/doc/guix.texi:18382
  27429. 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."
  27430. msgstr ""
  27431. #. type: deffn
  27432. #: guix-git/doc/guix.texi:18384
  27433. #, no-wrap
  27434. msgid "{Scheme Procedure} xorg-start-command [@var{config}]"
  27435. msgstr ""
  27436. #. type: deffn
  27437. #: guix-git/doc/guix.texi:18388
  27438. 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}."
  27439. msgstr ""
  27440. #. type: deffn
  27441. #: guix-git/doc/guix.texi:18390
  27442. msgid "Usually the X server is started by a login manager."
  27443. msgstr ""
  27444. #. type: deffn
  27445. #: guix-git/doc/guix.texi:18393
  27446. #, no-wrap
  27447. msgid "{Scheme Procedure} screen-locker-service @var{package} [@var{program}]"
  27448. msgstr ""
  27449. #. type: deffn
  27450. #: guix-git/doc/guix.texi:18397
  27451. 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:"
  27452. msgstr ""
  27453. #. type: lisp
  27454. #: guix-git/doc/guix.texi:18400
  27455. #, no-wrap
  27456. msgid "(screen-locker-service xlockmore \"xlock\")\n"
  27457. msgstr ""
  27458. #. type: deffn
  27459. #: guix-git/doc/guix.texi:18403
  27460. msgid "makes the good ol' XlockMore usable."
  27461. msgstr ""
  27462. #. type: cindex
  27463. #: guix-git/doc/guix.texi:18409
  27464. #, no-wrap
  27465. msgid "printer support with CUPS"
  27466. msgstr ""
  27467. #. type: Plain text
  27468. #: guix-git/doc/guix.texi:18413
  27469. 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:"
  27470. msgstr ""
  27471. #. type: deffn
  27472. #: guix-git/doc/guix.texi:18414
  27473. #, no-wrap
  27474. msgid "{Scheme Variable} cups-service-type"
  27475. msgstr ""
  27476. #. type: deffn
  27477. #: guix-git/doc/guix.texi:18418
  27478. 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:"
  27479. msgstr ""
  27480. #. type: lisp
  27481. #: guix-git/doc/guix.texi:18420
  27482. #, no-wrap
  27483. msgid "(service cups-service-type)\n"
  27484. msgstr ""
  27485. #. type: Plain text
  27486. #: guix-git/doc/guix.texi:18430
  27487. 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."
  27488. msgstr ""
  27489. #. type: Plain text
  27490. #: guix-git/doc/guix.texi:18436
  27491. 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):"
  27492. msgstr ""
  27493. #. type: lisp
  27494. #: guix-git/doc/guix.texi:18443
  27495. #, no-wrap
  27496. msgid ""
  27497. "(service cups-service-type\n"
  27498. " (cups-configuration\n"
  27499. " (web-interface? #t)\n"
  27500. " (extensions\n"
  27501. " (list cups-filters epson-inkjet-printer-escpr hplip-minimal))))\n"
  27502. msgstr ""
  27503. #. type: Plain text
  27504. #: guix-git/doc/guix.texi:18448
  27505. 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."
  27506. msgstr ""
  27507. #. type: Plain text
  27508. #: guix-git/doc/guix.texi:18455
  27509. 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."
  27510. msgstr ""
  27511. #. type: Plain text
  27512. #: guix-git/doc/guix.texi:18466
  27513. msgid "Available @code{cups-configuration} fields are:"
  27514. msgstr ""
  27515. #. type: deftypevr
  27516. #: guix-git/doc/guix.texi:18467
  27517. #, no-wrap
  27518. msgid "{@code{cups-configuration} parameter} package cups"
  27519. msgstr ""
  27520. #. type: deftypevr
  27521. #: guix-git/doc/guix.texi:18469 guix-git/doc/guix.texi:19231
  27522. msgid "The CUPS package."
  27523. msgstr ""
  27524. #. type: deftypevr
  27525. #: guix-git/doc/guix.texi:18471
  27526. #, no-wrap
  27527. msgid "{@code{cups-configuration} parameter} package-list extensions (default: @code{(list brlaser cups-filters epson-inkjet-printer-escpr foomatic-filters hplip-minimal splix)})"
  27528. msgstr ""
  27529. #. type: deftypevr
  27530. #: guix-git/doc/guix.texi:18473
  27531. msgid "Drivers and other extensions to the CUPS package."
  27532. msgstr ""
  27533. #. type: deftypevr
  27534. #: guix-git/doc/guix.texi:18475
  27535. #, no-wrap
  27536. msgid "{@code{cups-configuration} parameter} files-configuration files-configuration"
  27537. msgstr ""
  27538. #. type: deftypevr
  27539. #: guix-git/doc/guix.texi:18478
  27540. msgid "Configuration of where to write logs, what directories to use for print spools, and related privileged configuration parameters."
  27541. msgstr ""
  27542. #. type: deftypevr
  27543. #: guix-git/doc/guix.texi:18480
  27544. msgid "Available @code{files-configuration} fields are:"
  27545. msgstr ""
  27546. #. type: deftypevr
  27547. #: guix-git/doc/guix.texi:18481
  27548. #, no-wrap
  27549. msgid "{@code{files-configuration} parameter} log-location access-log"
  27550. msgstr ""
  27551. #. type: deftypevr
  27552. #: guix-git/doc/guix.texi:18489
  27553. 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}."
  27554. msgstr ""
  27555. #. type: deftypevr
  27556. #: guix-git/doc/guix.texi:18491
  27557. msgid "Defaults to @samp{\"/var/log/cups/access_log\"}."
  27558. msgstr ""
  27559. #. type: deftypevr
  27560. #: guix-git/doc/guix.texi:18493
  27561. #, no-wrap
  27562. msgid "{@code{files-configuration} parameter} file-name cache-dir"
  27563. msgstr ""
  27564. #. type: deftypevr
  27565. #: guix-git/doc/guix.texi:18495
  27566. msgid "Where CUPS should cache data."
  27567. msgstr ""
  27568. #. type: deftypevr
  27569. #: guix-git/doc/guix.texi:18497
  27570. msgid "Defaults to @samp{\"/var/cache/cups\"}."
  27571. msgstr ""
  27572. #. type: deftypevr
  27573. #: guix-git/doc/guix.texi:18499
  27574. #, no-wrap
  27575. msgid "{@code{files-configuration} parameter} string config-file-perm"
  27576. msgstr ""
  27577. #. type: deftypevr
  27578. #: guix-git/doc/guix.texi:18502
  27579. msgid "Specifies the permissions for all configuration files that the scheduler writes."
  27580. msgstr ""
  27581. #. type: deftypevr
  27582. #: guix-git/doc/guix.texi:18508
  27583. 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."
  27584. msgstr ""
  27585. #. type: deftypevr
  27586. #: guix-git/doc/guix.texi:18510
  27587. msgid "Defaults to @samp{\"0640\"}."
  27588. msgstr ""
  27589. #. type: deftypevr
  27590. #: guix-git/doc/guix.texi:18512
  27591. #, no-wrap
  27592. msgid "{@code{files-configuration} parameter} log-location error-log"
  27593. msgstr ""
  27594. #. type: deftypevr
  27595. #: guix-git/doc/guix.texi:18520
  27596. 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}."
  27597. msgstr ""
  27598. #. type: deftypevr
  27599. #: guix-git/doc/guix.texi:18522
  27600. msgid "Defaults to @samp{\"/var/log/cups/error_log\"}."
  27601. msgstr ""
  27602. #. type: deftypevr
  27603. #: guix-git/doc/guix.texi:18524
  27604. #, no-wrap
  27605. msgid "{@code{files-configuration} parameter} string fatal-errors"
  27606. msgstr ""
  27607. #. type: deftypevr
  27608. #: guix-git/doc/guix.texi:18527
  27609. msgid "Specifies which errors are fatal, causing the scheduler to exit. The kind strings are:"
  27610. msgstr ""
  27611. #. type: table
  27612. #: guix-git/doc/guix.texi:18531
  27613. msgid "No errors are fatal."
  27614. msgstr ""
  27615. #. type: table
  27616. #: guix-git/doc/guix.texi:18534
  27617. msgid "All of the errors below are fatal."
  27618. msgstr ""
  27619. #. type: item
  27620. #: guix-git/doc/guix.texi:18535
  27621. #, no-wrap
  27622. msgid "browse"
  27623. msgstr ""
  27624. #. type: table
  27625. #: guix-git/doc/guix.texi:18538
  27626. msgid "Browsing initialization errors are fatal, for example failed connections to the DNS-SD daemon."
  27627. msgstr ""
  27628. #. type: item
  27629. #: guix-git/doc/guix.texi:18539
  27630. #, no-wrap
  27631. msgid "config"
  27632. msgstr ""
  27633. #. type: table
  27634. #: guix-git/doc/guix.texi:18541
  27635. msgid "Configuration file syntax errors are fatal."
  27636. msgstr ""
  27637. #. type: item
  27638. #: guix-git/doc/guix.texi:18542
  27639. #, no-wrap
  27640. msgid "listen"
  27641. msgstr ""
  27642. #. type: table
  27643. #: guix-git/doc/guix.texi:18545
  27644. msgid "Listen or Port errors are fatal, except for IPv6 failures on the loopback or @code{any} addresses."
  27645. msgstr ""
  27646. #. type: item
  27647. #: guix-git/doc/guix.texi:18546
  27648. #, no-wrap
  27649. msgid "log"
  27650. msgstr ""
  27651. #. type: table
  27652. #: guix-git/doc/guix.texi:18548
  27653. msgid "Log file creation or write errors are fatal."
  27654. msgstr ""
  27655. #. type: item
  27656. #: guix-git/doc/guix.texi:18549
  27657. #, no-wrap
  27658. msgid "permissions"
  27659. msgstr ""
  27660. #. type: table
  27661. #: guix-git/doc/guix.texi:18552
  27662. msgid "Bad startup file permissions are fatal, for example shared TLS certificate and key files with world-read permissions."
  27663. msgstr ""
  27664. #. type: deftypevr
  27665. #: guix-git/doc/guix.texi:18555
  27666. msgid "Defaults to @samp{\"all -browse\"}."
  27667. msgstr ""
  27668. #. type: deftypevr
  27669. #: guix-git/doc/guix.texi:18557
  27670. #, no-wrap
  27671. msgid "{@code{files-configuration} parameter} boolean file-device?"
  27672. msgstr ""
  27673. #. type: deftypevr
  27674. #: guix-git/doc/guix.texi:18560
  27675. msgid "Specifies whether the file pseudo-device can be used for new printer queues. The URI @uref{file:///dev/null} is always allowed."
  27676. msgstr ""
  27677. #. type: deftypevr
  27678. #: guix-git/doc/guix.texi:18564
  27679. #, no-wrap
  27680. msgid "{@code{files-configuration} parameter} string group"
  27681. msgstr ""
  27682. #. type: deftypevr
  27683. #: guix-git/doc/guix.texi:18567
  27684. msgid "Specifies the group name or ID that will be used when executing external programs."
  27685. msgstr ""
  27686. #. type: deftypevr
  27687. #: guix-git/doc/guix.texi:18569 guix-git/doc/guix.texi:18649
  27688. msgid "Defaults to @samp{\"lp\"}."
  27689. msgstr ""
  27690. #. type: deftypevr
  27691. #: guix-git/doc/guix.texi:18571
  27692. #, no-wrap
  27693. msgid "{@code{files-configuration} parameter} string log-file-perm"
  27694. msgstr ""
  27695. #. type: deftypevr
  27696. #: guix-git/doc/guix.texi:18573
  27697. msgid "Specifies the permissions for all log files that the scheduler writes."
  27698. msgstr ""
  27699. #. type: deftypevr
  27700. #: guix-git/doc/guix.texi:18575
  27701. msgid "Defaults to @samp{\"0644\"}."
  27702. msgstr ""
  27703. #. type: deftypevr
  27704. #: guix-git/doc/guix.texi:18577
  27705. #, no-wrap
  27706. msgid "{@code{files-configuration} parameter} log-location page-log"
  27707. msgstr ""
  27708. #. type: deftypevr
  27709. #: guix-git/doc/guix.texi:18585
  27710. 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}."
  27711. msgstr ""
  27712. #. type: deftypevr
  27713. #: guix-git/doc/guix.texi:18587
  27714. msgid "Defaults to @samp{\"/var/log/cups/page_log\"}."
  27715. msgstr ""
  27716. #. type: deftypevr
  27717. #: guix-git/doc/guix.texi:18589
  27718. #, no-wrap
  27719. msgid "{@code{files-configuration} parameter} string remote-root"
  27720. msgstr ""
  27721. #. type: deftypevr
  27722. #: guix-git/doc/guix.texi:18592
  27723. msgid "Specifies the username that is associated with unauthenticated accesses by clients claiming to be the root user. The default is @code{remroot}."
  27724. msgstr ""
  27725. #. type: deftypevr
  27726. #: guix-git/doc/guix.texi:18594
  27727. msgid "Defaults to @samp{\"remroot\"}."
  27728. msgstr ""
  27729. #. type: deftypevr
  27730. #: guix-git/doc/guix.texi:18596
  27731. #, no-wrap
  27732. msgid "{@code{files-configuration} parameter} file-name request-root"
  27733. msgstr ""
  27734. #. type: deftypevr
  27735. #: guix-git/doc/guix.texi:18599
  27736. msgid "Specifies the directory that contains print jobs and other HTTP request data."
  27737. msgstr ""
  27738. #. type: deftypevr
  27739. #: guix-git/doc/guix.texi:18601
  27740. msgid "Defaults to @samp{\"/var/spool/cups\"}."
  27741. msgstr ""
  27742. #. type: deftypevr
  27743. #: guix-git/doc/guix.texi:18603
  27744. #, no-wrap
  27745. msgid "{@code{files-configuration} parameter} sandboxing sandboxing"
  27746. msgstr ""
  27747. #. type: deftypevr
  27748. #: guix-git/doc/guix.texi:18608
  27749. 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."
  27750. msgstr ""
  27751. #. type: deftypevr
  27752. #: guix-git/doc/guix.texi:18610
  27753. msgid "Defaults to @samp{strict}."
  27754. msgstr ""
  27755. #. type: deftypevr
  27756. #: guix-git/doc/guix.texi:18612
  27757. #, no-wrap
  27758. msgid "{@code{files-configuration} parameter} file-name server-keychain"
  27759. msgstr ""
  27760. #. type: deftypevr
  27761. #: guix-git/doc/guix.texi:18617
  27762. 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."
  27763. msgstr ""
  27764. #. type: deftypevr
  27765. #: guix-git/doc/guix.texi:18619
  27766. msgid "Defaults to @samp{\"/etc/cups/ssl\"}."
  27767. msgstr ""
  27768. #. type: deftypevr
  27769. #: guix-git/doc/guix.texi:18621
  27770. #, no-wrap
  27771. msgid "{@code{files-configuration} parameter} file-name server-root"
  27772. msgstr ""
  27773. #. type: deftypevr
  27774. #: guix-git/doc/guix.texi:18623
  27775. msgid "Specifies the directory containing the server configuration files."
  27776. msgstr ""
  27777. #. type: deftypevr
  27778. #: guix-git/doc/guix.texi:18625
  27779. msgid "Defaults to @samp{\"/etc/cups\"}."
  27780. msgstr ""
  27781. #. type: deftypevr
  27782. #: guix-git/doc/guix.texi:18627
  27783. #, no-wrap
  27784. msgid "{@code{files-configuration} parameter} boolean sync-on-close?"
  27785. msgstr ""
  27786. #. type: deftypevr
  27787. #: guix-git/doc/guix.texi:18630
  27788. msgid "Specifies whether the scheduler calls fsync(2) after writing configuration or state files."
  27789. msgstr ""
  27790. #. type: deftypevr
  27791. #: guix-git/doc/guix.texi:18634
  27792. #, no-wrap
  27793. msgid "{@code{files-configuration} parameter} space-separated-string-list system-group"
  27794. msgstr ""
  27795. #. type: deftypevr
  27796. #: guix-git/doc/guix.texi:18636
  27797. msgid "Specifies the group(s) to use for @code{@@SYSTEM} group authentication."
  27798. msgstr ""
  27799. #. type: deftypevr
  27800. #: guix-git/doc/guix.texi:18638
  27801. #, no-wrap
  27802. msgid "{@code{files-configuration} parameter} file-name temp-dir"
  27803. msgstr ""
  27804. #. type: deftypevr
  27805. #: guix-git/doc/guix.texi:18640
  27806. msgid "Specifies the directory where temporary files are stored."
  27807. msgstr ""
  27808. #. type: deftypevr
  27809. #: guix-git/doc/guix.texi:18642
  27810. msgid "Defaults to @samp{\"/var/spool/cups/tmp\"}."
  27811. msgstr ""
  27812. #. type: deftypevr
  27813. #: guix-git/doc/guix.texi:18644
  27814. #, no-wrap
  27815. msgid "{@code{files-configuration} parameter} string user"
  27816. msgstr ""
  27817. #. type: deftypevr
  27818. #: guix-git/doc/guix.texi:18647
  27819. msgid "Specifies the user name or ID that is used when running external programs."
  27820. msgstr ""
  27821. #. type: deftypevr
  27822. #: guix-git/doc/guix.texi:18651
  27823. #, no-wrap
  27824. msgid "{@code{files-configuration} parameter} string set-env"
  27825. msgstr ""
  27826. #. type: deftypevr
  27827. #: guix-git/doc/guix.texi:18653
  27828. msgid "Set the specified environment variable to be passed to child processes."
  27829. msgstr ""
  27830. #. type: deftypevr
  27831. #: guix-git/doc/guix.texi:18655
  27832. msgid "Defaults to @samp{\"variable value\"}."
  27833. msgstr ""
  27834. #. type: deftypevr
  27835. #: guix-git/doc/guix.texi:18658
  27836. #, no-wrap
  27837. msgid "{@code{cups-configuration} parameter} access-log-level access-log-level"
  27838. msgstr ""
  27839. #. type: deftypevr
  27840. #: guix-git/doc/guix.texi:18665
  27841. 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."
  27842. msgstr ""
  27843. #. type: deftypevr
  27844. #: guix-git/doc/guix.texi:18667
  27845. msgid "Defaults to @samp{actions}."
  27846. msgstr ""
  27847. #. type: deftypevr
  27848. #: guix-git/doc/guix.texi:18669
  27849. #, no-wrap
  27850. msgid "{@code{cups-configuration} parameter} boolean auto-purge-jobs?"
  27851. msgstr ""
  27852. #. type: deftypevr
  27853. #: guix-git/doc/guix.texi:18672
  27854. msgid "Specifies whether to purge job history data automatically when it is no longer required for quotas."
  27855. msgstr ""
  27856. #. type: deftypevr
  27857. #: guix-git/doc/guix.texi:18676
  27858. #, no-wrap
  27859. msgid "{@code{cups-configuration} parameter} comma-separated-string-list browse-dns-sd-sub-types"
  27860. msgstr ""
  27861. #. type: deftypevr
  27862. #: guix-git/doc/guix.texi:18680
  27863. 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."
  27864. msgstr ""
  27865. #. type: deftypevr
  27866. #: guix-git/doc/guix.texi:18682
  27867. msgid "Defaults to @samp{\"_cups\"}."
  27868. msgstr ""
  27869. #. type: deftypevr
  27870. #: guix-git/doc/guix.texi:18684
  27871. #, no-wrap
  27872. msgid "{@code{cups-configuration} parameter} browse-local-protocols browse-local-protocols"
  27873. msgstr ""
  27874. #. type: deftypevr
  27875. #: guix-git/doc/guix.texi:18686
  27876. msgid "Specifies which protocols to use for local printer sharing."
  27877. msgstr ""
  27878. #. type: deftypevr
  27879. #: guix-git/doc/guix.texi:18688
  27880. msgid "Defaults to @samp{dnssd}."
  27881. msgstr ""
  27882. #. type: deftypevr
  27883. #: guix-git/doc/guix.texi:18690
  27884. #, no-wrap
  27885. msgid "{@code{cups-configuration} parameter} boolean browse-web-if?"
  27886. msgstr ""
  27887. #. type: deftypevr
  27888. #: guix-git/doc/guix.texi:18692
  27889. msgid "Specifies whether the CUPS web interface is advertised."
  27890. msgstr ""
  27891. #. type: deftypevr
  27892. #: guix-git/doc/guix.texi:18696
  27893. #, no-wrap
  27894. msgid "{@code{cups-configuration} parameter} boolean browsing?"
  27895. msgstr ""
  27896. #. type: deftypevr
  27897. #: guix-git/doc/guix.texi:18698
  27898. msgid "Specifies whether shared printers are advertised."
  27899. msgstr ""
  27900. #. type: deftypevr
  27901. #: guix-git/doc/guix.texi:18702
  27902. #, no-wrap
  27903. msgid "{@code{cups-configuration} parameter} string classification"
  27904. msgstr ""
  27905. #. type: deftypevr
  27906. #: guix-git/doc/guix.texi:18707
  27907. 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."
  27908. msgstr ""
  27909. #. type: deftypevr
  27910. #: guix-git/doc/guix.texi:18709 guix-git/doc/guix.texi:19040
  27911. #: guix-git/doc/guix.texi:21023 guix-git/doc/guix.texi:21035
  27912. #: guix-git/doc/guix.texi:21063 guix-git/doc/guix.texi:21820
  27913. #: guix-git/doc/guix.texi:21834 guix-git/doc/guix.texi:21841
  27914. #: guix-git/doc/guix.texi:21848 guix-git/doc/guix.texi:21878
  27915. #: guix-git/doc/guix.texi:21976 guix-git/doc/guix.texi:24095
  27916. #: guix-git/doc/guix.texi:24121 guix-git/doc/guix.texi:24157
  27917. #: guix-git/doc/guix.texi:24203 guix-git/doc/guix.texi:24222
  27918. #: guix-git/doc/guix.texi:24261 guix-git/doc/guix.texi:24320
  27919. #: guix-git/doc/guix.texi:24330 guix-git/doc/guix.texi:28918
  27920. #: guix-git/doc/guix.texi:28926 guix-git/doc/guix.texi:28934
  27921. #: guix-git/doc/guix.texi:28942 guix-git/doc/guix.texi:29221
  27922. #: guix-git/doc/guix.texi:30523 guix-git/doc/guix.texi:30531
  27923. #: guix-git/doc/guix.texi:30539 guix-git/doc/guix.texi:30647
  27924. #: guix-git/doc/guix.texi:30672 guix-git/doc/guix.texi:30803
  27925. #: guix-git/doc/guix.texi:30811 guix-git/doc/guix.texi:30819
  27926. #: guix-git/doc/guix.texi:30827 guix-git/doc/guix.texi:30835
  27927. #: guix-git/doc/guix.texi:30843 guix-git/doc/guix.texi:30866
  27928. #: guix-git/doc/guix.texi:30874 guix-git/doc/guix.texi:30926
  27929. #: guix-git/doc/guix.texi:30942 guix-git/doc/guix.texi:30950
  27930. #: guix-git/doc/guix.texi:30989 guix-git/doc/guix.texi:31012
  27931. #: guix-git/doc/guix.texi:31034 guix-git/doc/guix.texi:31041
  27932. #: guix-git/doc/guix.texi:31076 guix-git/doc/guix.texi:31084
  27933. #: guix-git/doc/guix.texi:31108 guix-git/doc/guix.texi:31140
  27934. #: guix-git/doc/guix.texi:31169 guix-git/doc/guix.texi:31176
  27935. #: guix-git/doc/guix.texi:31183 guix-git/doc/guix.texi:31191
  27936. #: guix-git/doc/guix.texi:31205 guix-git/doc/guix.texi:31214
  27937. #: guix-git/doc/guix.texi:31224 guix-git/doc/guix.texi:31231
  27938. #: guix-git/doc/guix.texi:31238 guix-git/doc/guix.texi:31245
  27939. #: guix-git/doc/guix.texi:31316 guix-git/doc/guix.texi:31323
  27940. #: guix-git/doc/guix.texi:31330 guix-git/doc/guix.texi:31339
  27941. #: guix-git/doc/guix.texi:31355 guix-git/doc/guix.texi:31362
  27942. #: guix-git/doc/guix.texi:31369 guix-git/doc/guix.texi:31376
  27943. #: guix-git/doc/guix.texi:31384 guix-git/doc/guix.texi:31392
  27944. msgid "Defaults to @samp{\"\"}."
  27945. msgstr ""
  27946. #. type: deftypevr
  27947. #: guix-git/doc/guix.texi:18711
  27948. #, no-wrap
  27949. msgid "{@code{cups-configuration} parameter} boolean classify-override?"
  27950. msgstr ""
  27951. #. type: deftypevr
  27952. #: guix-git/doc/guix.texi:18714
  27953. msgid "Specifies whether users may override the classification (cover page) of individual print jobs using the @code{job-sheets} option."
  27954. msgstr ""
  27955. #. type: deftypevr
  27956. #: guix-git/doc/guix.texi:18718
  27957. #, no-wrap
  27958. msgid "{@code{cups-configuration} parameter} default-auth-type default-auth-type"
  27959. msgstr ""
  27960. #. type: deftypevr
  27961. #: guix-git/doc/guix.texi:18720
  27962. msgid "Specifies the default type of authentication to use."
  27963. msgstr ""
  27964. #. type: deftypevr
  27965. #: guix-git/doc/guix.texi:18722
  27966. msgid "Defaults to @samp{Basic}."
  27967. msgstr ""
  27968. #. type: deftypevr
  27969. #: guix-git/doc/guix.texi:18724
  27970. #, no-wrap
  27971. msgid "{@code{cups-configuration} parameter} default-encryption default-encryption"
  27972. msgstr ""
  27973. #. type: deftypevr
  27974. #: guix-git/doc/guix.texi:18726
  27975. msgid "Specifies whether encryption will be used for authenticated requests."
  27976. msgstr ""
  27977. #. type: deftypevr
  27978. #: guix-git/doc/guix.texi:18728
  27979. msgid "Defaults to @samp{Required}."
  27980. msgstr ""
  27981. #. type: deftypevr
  27982. #: guix-git/doc/guix.texi:18730
  27983. #, no-wrap
  27984. msgid "{@code{cups-configuration} parameter} string default-language"
  27985. msgstr ""
  27986. #. type: deftypevr
  27987. #: guix-git/doc/guix.texi:18732
  27988. msgid "Specifies the default language to use for text and web content."
  27989. msgstr ""
  27990. #. type: deftypevr
  27991. #: guix-git/doc/guix.texi:18734
  27992. msgid "Defaults to @samp{\"en\"}."
  27993. msgstr ""
  27994. #. type: deftypevr
  27995. #: guix-git/doc/guix.texi:18736
  27996. #, no-wrap
  27997. msgid "{@code{cups-configuration} parameter} string default-paper-size"
  27998. msgstr ""
  27999. #. type: deftypevr
  28000. #: guix-git/doc/guix.texi:18741
  28001. 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\"}."
  28002. msgstr ""
  28003. #. type: deftypevr
  28004. #: guix-git/doc/guix.texi:18743
  28005. msgid "Defaults to @samp{\"Auto\"}."
  28006. msgstr ""
  28007. #. type: deftypevr
  28008. #: guix-git/doc/guix.texi:18745
  28009. #, no-wrap
  28010. msgid "{@code{cups-configuration} parameter} string default-policy"
  28011. msgstr ""
  28012. #. type: deftypevr
  28013. #: guix-git/doc/guix.texi:18747
  28014. msgid "Specifies the default access policy to use."
  28015. msgstr ""
  28016. #. type: deftypevr
  28017. #: guix-git/doc/guix.texi:18749
  28018. msgid "Defaults to @samp{\"default\"}."
  28019. msgstr ""
  28020. #. type: deftypevr
  28021. #: guix-git/doc/guix.texi:18751
  28022. #, no-wrap
  28023. msgid "{@code{cups-configuration} parameter} boolean default-shared?"
  28024. msgstr ""
  28025. #. type: deftypevr
  28026. #: guix-git/doc/guix.texi:18753
  28027. msgid "Specifies whether local printers are shared by default."
  28028. msgstr ""
  28029. #. type: deftypevr
  28030. #: guix-git/doc/guix.texi:18755 guix-git/doc/guix.texi:18835
  28031. #: guix-git/doc/guix.texi:19125 guix-git/doc/guix.texi:21910
  28032. #: guix-git/doc/guix.texi:21961 guix-git/doc/guix.texi:21968
  28033. #: guix-git/doc/guix.texi:23250 guix-git/doc/guix.texi:23438
  28034. #: guix-git/doc/guix.texi:23555 guix-git/doc/guix.texi:23591
  28035. #: guix-git/doc/guix.texi:23642 guix-git/doc/guix.texi:23661
  28036. #: guix-git/doc/guix.texi:23671 guix-git/doc/guix.texi:23681
  28037. #: guix-git/doc/guix.texi:23740 guix-git/doc/guix.texi:23762
  28038. #: guix-git/doc/guix.texi:23787 guix-git/doc/guix.texi:23813
  28039. #: guix-git/doc/guix.texi:23831 guix-git/doc/guix.texi:27019
  28040. #: guix-git/doc/guix.texi:27047 guix-git/doc/guix.texi:27183
  28041. #: guix-git/doc/guix.texi:27190 guix-git/doc/guix.texi:27198
  28042. #: guix-git/doc/guix.texi:27235 guix-git/doc/guix.texi:27249
  28043. #: guix-git/doc/guix.texi:27338 guix-git/doc/guix.texi:27345
  28044. #: guix-git/doc/guix.texi:27353 guix-git/doc/guix.texi:28126
  28045. #: guix-git/doc/guix.texi:28266 guix-git/doc/guix.texi:28452
  28046. #: guix-git/doc/guix.texi:28459 guix-git/doc/guix.texi:28481
  28047. #: guix-git/doc/guix.texi:28520 guix-git/doc/guix.texi:28540
  28048. #: guix-git/doc/guix.texi:28554 guix-git/doc/guix.texi:28767
  28049. #: guix-git/doc/guix.texi:30625 guix-git/doc/guix.texi:30713
  28050. #: guix-git/doc/guix.texi:30729 guix-git/doc/guix.texi:30779
  28051. msgid "Defaults to @samp{#t}."
  28052. msgstr ""
  28053. #. type: deftypevr
  28054. #: guix-git/doc/guix.texi:18757
  28055. #, no-wrap
  28056. msgid "{@code{cups-configuration} parameter} non-negative-integer dirty-clean-interval"
  28057. msgstr ""
  28058. #. type: deftypevr
  28059. #: guix-git/doc/guix.texi:18761
  28060. 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."
  28061. msgstr ""
  28062. #. type: deftypevr
  28063. #: guix-git/doc/guix.texi:18763 guix-git/doc/guix.texi:18811
  28064. #: guix-git/doc/guix.texi:18820 guix-git/doc/guix.texi:19132
  28065. #: guix-git/doc/guix.texi:23600 guix-git/doc/guix.texi:23633
  28066. msgid "Defaults to @samp{30}."
  28067. msgstr ""
  28068. #. type: deftypevr
  28069. #: guix-git/doc/guix.texi:18765
  28070. #, no-wrap
  28071. msgid "{@code{cups-configuration} parameter} error-policy error-policy"
  28072. msgstr ""
  28073. #. type: deftypevr
  28074. #: guix-git/doc/guix.texi:18771
  28075. 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."
  28076. msgstr ""
  28077. #. type: deftypevr
  28078. #: guix-git/doc/guix.texi:18773
  28079. msgid "Defaults to @samp{stop-printer}."
  28080. msgstr ""
  28081. #. type: deftypevr
  28082. #: guix-git/doc/guix.texi:18775
  28083. #, no-wrap
  28084. msgid "{@code{cups-configuration} parameter} non-negative-integer filter-limit"
  28085. msgstr ""
  28086. #. type: deftypevr
  28087. #: guix-git/doc/guix.texi:18783
  28088. 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."
  28089. msgstr ""
  28090. #. type: deftypevr
  28091. #: guix-git/doc/guix.texi:18785 guix-git/doc/guix.texi:18793
  28092. #: guix-git/doc/guix.texi:18842 guix-git/doc/guix.texi:18958
  28093. #: guix-git/doc/guix.texi:18972 guix-git/doc/guix.texi:18979
  28094. #: guix-git/doc/guix.texi:20465 guix-git/doc/guix.texi:20481
  28095. #: guix-git/doc/guix.texi:21138 guix-git/doc/guix.texi:21150
  28096. #: guix-git/doc/guix.texi:21929 guix-git/doc/guix.texi:21938
  28097. #: guix-git/doc/guix.texi:21946 guix-git/doc/guix.texi:21954
  28098. #: guix-git/doc/guix.texi:28142 guix-git/doc/guix.texi:28467
  28099. #: guix-git/doc/guix.texi:30618 guix-git/doc/guix.texi:30918
  28100. #: guix-git/doc/guix.texi:31092
  28101. msgid "Defaults to @samp{0}."
  28102. msgstr ""
  28103. #. type: deftypevr
  28104. #: guix-git/doc/guix.texi:18787
  28105. #, no-wrap
  28106. msgid "{@code{cups-configuration} parameter} non-negative-integer filter-nice"
  28107. msgstr ""
  28108. #. type: deftypevr
  28109. #: guix-git/doc/guix.texi:18791
  28110. 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."
  28111. msgstr ""
  28112. #. type: deftypevr
  28113. #: guix-git/doc/guix.texi:18795
  28114. #, no-wrap
  28115. msgid "{@code{cups-configuration} parameter} host-name-lookups host-name-lookups"
  28116. msgstr ""
  28117. #. type: deftypevr
  28118. #: guix-git/doc/guix.texi:18802
  28119. 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."
  28120. msgstr ""
  28121. #. type: deftypevr
  28122. #: guix-git/doc/guix.texi:18806
  28123. #, no-wrap
  28124. msgid "{@code{cups-configuration} parameter} non-negative-integer job-kill-delay"
  28125. msgstr ""
  28126. #. type: deftypevr
  28127. #: guix-git/doc/guix.texi:18809
  28128. msgid "Specifies the number of seconds to wait before killing the filters and backend associated with a canceled or held job."
  28129. msgstr ""
  28130. #. type: deftypevr
  28131. #: guix-git/doc/guix.texi:18813
  28132. #, no-wrap
  28133. msgid "{@code{cups-configuration} parameter} non-negative-integer job-retry-interval"
  28134. msgstr ""
  28135. #. type: deftypevr
  28136. #: guix-git/doc/guix.texi:18818
  28137. 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}."
  28138. msgstr ""
  28139. #. type: deftypevr
  28140. #: guix-git/doc/guix.texi:18822
  28141. #, no-wrap
  28142. msgid "{@code{cups-configuration} parameter} non-negative-integer job-retry-limit"
  28143. msgstr ""
  28144. #. type: deftypevr
  28145. #: guix-git/doc/guix.texi:18827
  28146. 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}."
  28147. msgstr ""
  28148. #. type: deftypevr
  28149. #: guix-git/doc/guix.texi:18829 guix-git/doc/guix.texi:23564
  28150. #: guix-git/doc/guix.texi:29019 guix-git/doc/guix.texi:29039
  28151. #: guix-git/doc/guix.texi:29055 guix-git/doc/guix.texi:29069
  28152. #: guix-git/doc/guix.texi:29076 guix-git/doc/guix.texi:29083
  28153. #: guix-git/doc/guix.texi:29090 guix-git/doc/guix.texi:29250
  28154. #: guix-git/doc/guix.texi:29266 guix-git/doc/guix.texi:29273
  28155. #: guix-git/doc/guix.texi:29280 guix-git/doc/guix.texi:29291
  28156. #: guix-git/doc/guix.texi:30570 guix-git/doc/guix.texi:30578
  28157. #: guix-git/doc/guix.texi:30586 guix-git/doc/guix.texi:30610
  28158. msgid "Defaults to @samp{5}."
  28159. msgstr ""
  28160. #. type: deftypevr
  28161. #: guix-git/doc/guix.texi:18831
  28162. #, no-wrap
  28163. msgid "{@code{cups-configuration} parameter} boolean keep-alive?"
  28164. msgstr ""
  28165. #. type: deftypevr
  28166. #: guix-git/doc/guix.texi:18833
  28167. msgid "Specifies whether to support HTTP keep-alive connections."
  28168. msgstr ""
  28169. #. type: deftypevr
  28170. #: guix-git/doc/guix.texi:18837
  28171. #, no-wrap
  28172. msgid "{@code{cups-configuration} parameter} non-negative-integer limit-request-body"
  28173. msgstr ""
  28174. #. type: deftypevr
  28175. #: guix-git/doc/guix.texi:18840
  28176. msgid "Specifies the maximum size of print files, IPP requests, and HTML form data. A limit of 0 disables the limit check."
  28177. msgstr ""
  28178. #. type: deftypevr
  28179. #: guix-git/doc/guix.texi:18844
  28180. #, no-wrap
  28181. msgid "{@code{cups-configuration} parameter} multiline-string-list listen"
  28182. msgstr ""
  28183. #. type: deftypevr
  28184. #: guix-git/doc/guix.texi:18851
  28185. 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."
  28186. msgstr ""
  28187. #. type: deftypevr
  28188. #: guix-git/doc/guix.texi:18853
  28189. #, no-wrap
  28190. msgid "{@code{cups-configuration} parameter} non-negative-integer listen-back-log"
  28191. msgstr ""
  28192. #. type: deftypevr
  28193. #: guix-git/doc/guix.texi:18860
  28194. 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."
  28195. msgstr ""
  28196. #. type: deftypevr
  28197. #: guix-git/doc/guix.texi:18862
  28198. msgid "Defaults to @samp{128}."
  28199. msgstr ""
  28200. #. type: deftypevr
  28201. #: guix-git/doc/guix.texi:18864
  28202. #, no-wrap
  28203. msgid "{@code{cups-configuration} parameter} location-access-control-list location-access-controls"
  28204. msgstr ""
  28205. #. type: deftypevr
  28206. #: guix-git/doc/guix.texi:18866
  28207. msgid "Specifies a set of additional access controls."
  28208. msgstr ""
  28209. #. type: deftypevr
  28210. #: guix-git/doc/guix.texi:18868
  28211. msgid "Available @code{location-access-controls} fields are:"
  28212. msgstr ""
  28213. #. type: deftypevr
  28214. #: guix-git/doc/guix.texi:18869
  28215. #, no-wrap
  28216. msgid "{@code{location-access-controls} parameter} file-name path"
  28217. msgstr ""
  28218. #. type: deftypevr
  28219. #: guix-git/doc/guix.texi:18871
  28220. msgid "Specifies the URI path to which the access control applies."
  28221. msgstr ""
  28222. #. type: deftypevr
  28223. #: guix-git/doc/guix.texi:18873
  28224. #, no-wrap
  28225. msgid "{@code{location-access-controls} parameter} access-control-list access-controls"
  28226. msgstr ""
  28227. #. type: deftypevr
  28228. #: guix-git/doc/guix.texi:18876
  28229. msgid "Access controls for all access to this path, in the same format as the @code{access-controls} of @code{operation-access-control}."
  28230. msgstr ""
  28231. #. type: deftypevr
  28232. #: guix-git/doc/guix.texi:18878 guix-git/doc/guix.texi:18884
  28233. #: guix-git/doc/guix.texi:18898 guix-git/doc/guix.texi:18905
  28234. #: guix-git/doc/guix.texi:19047 guix-git/doc/guix.texi:19106
  28235. #: guix-git/doc/guix.texi:19184 guix-git/doc/guix.texi:19198
  28236. #: guix-git/doc/guix.texi:20345 guix-git/doc/guix.texi:20354
  28237. #: guix-git/doc/guix.texi:21624 guix-git/doc/guix.texi:21827
  28238. #: guix-git/doc/guix.texi:21855 guix-git/doc/guix.texi:21885
  28239. #: guix-git/doc/guix.texi:22000 guix-git/doc/guix.texi:22013
  28240. #: guix-git/doc/guix.texi:22020 guix-git/doc/guix.texi:23770
  28241. #: guix-git/doc/guix.texi:24165 guix-git/doc/guix.texi:24269
  28242. #: guix-git/doc/guix.texi:24696 guix-git/doc/guix.texi:24704
  28243. #: guix-git/doc/guix.texi:24949 guix-git/doc/guix.texi:27078
  28244. #: guix-git/doc/guix.texi:27256 guix-git/doc/guix.texi:27455
  28245. #: guix-git/doc/guix.texi:28910 guix-git/doc/guix.texi:28970
  28246. #: guix-git/doc/guix.texi:28978 guix-git/doc/guix.texi:30633
  28247. #: guix-git/doc/guix.texi:30640 guix-git/doc/guix.texi:30982
  28248. #: guix-git/doc/guix.texi:31060 guix-git/doc/guix.texi:31154
  28249. #: guix-git/doc/guix.texi:31162 guix-git/doc/guix.texi:31198
  28250. #: guix-git/doc/guix.texi:31348 guix-git/doc/guix.texi:31399
  28251. #: guix-git/doc/guix.texi:31408
  28252. msgid "Defaults to @samp{()}."
  28253. msgstr ""
  28254. #. type: deftypevr
  28255. #: guix-git/doc/guix.texi:18880
  28256. #, no-wrap
  28257. msgid "{@code{location-access-controls} parameter} method-access-control-list method-access-controls"
  28258. msgstr ""
  28259. #. type: deftypevr
  28260. #: guix-git/doc/guix.texi:18882
  28261. msgid "Access controls for method-specific access to this path."
  28262. msgstr ""
  28263. #. type: deftypevr
  28264. #: guix-git/doc/guix.texi:18886
  28265. msgid "Available @code{method-access-controls} fields are:"
  28266. msgstr ""
  28267. #. type: deftypevr
  28268. #: guix-git/doc/guix.texi:18887
  28269. #, no-wrap
  28270. msgid "{@code{method-access-controls} parameter} boolean reverse?"
  28271. msgstr ""
  28272. #. type: deftypevr
  28273. #: guix-git/doc/guix.texi:18890
  28274. msgid "If @code{#t}, apply access controls to all methods except the listed methods. Otherwise apply to only the listed methods."
  28275. msgstr ""
  28276. #. type: deftypevr
  28277. #: guix-git/doc/guix.texi:18894
  28278. #, no-wrap
  28279. msgid "{@code{method-access-controls} parameter} method-list methods"
  28280. msgstr ""
  28281. #. type: deftypevr
  28282. #: guix-git/doc/guix.texi:18896
  28283. msgid "Methods to which this access control applies."
  28284. msgstr ""
  28285. #. type: deftypevr
  28286. #: guix-git/doc/guix.texi:18900
  28287. #, no-wrap
  28288. msgid "{@code{method-access-controls} parameter} access-control-list access-controls"
  28289. msgstr ""
  28290. #. type: deftypevr
  28291. #: guix-git/doc/guix.texi:18903
  28292. msgid "Access control directives, as a list of strings. Each string should be one directive, such as @samp{\"Order allow,deny\"}."
  28293. msgstr ""
  28294. #. type: deftypevr
  28295. #: guix-git/doc/guix.texi:18909
  28296. #, no-wrap
  28297. msgid "{@code{cups-configuration} parameter} non-negative-integer log-debug-history"
  28298. msgstr ""
  28299. #. type: deftypevr
  28300. #: guix-git/doc/guix.texi:18913
  28301. 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."
  28302. msgstr ""
  28303. #. type: deftypevr
  28304. #: guix-git/doc/guix.texi:18915 guix-git/doc/guix.texi:18936
  28305. #: guix-git/doc/guix.texi:18943 guix-git/doc/guix.texi:21384
  28306. #: guix-git/doc/guix.texi:23302 guix-git/doc/guix.texi:23317
  28307. #: guix-git/doc/guix.texi:27440
  28308. msgid "Defaults to @samp{100}."
  28309. msgstr ""
  28310. #. type: deftypevr
  28311. #: guix-git/doc/guix.texi:18917
  28312. #, no-wrap
  28313. msgid "{@code{cups-configuration} parameter} log-level log-level"
  28314. msgstr ""
  28315. #. type: deftypevr
  28316. #: guix-git/doc/guix.texi:18920
  28317. msgid "Specifies the level of logging for the ErrorLog file. The value @code{none} stops all logging while @code{debug2} logs everything."
  28318. msgstr ""
  28319. #. type: deftypevr
  28320. #: guix-git/doc/guix.texi:18922 guix-git/doc/guix.texi:23779
  28321. msgid "Defaults to @samp{info}."
  28322. msgstr ""
  28323. #. type: deftypevr
  28324. #: guix-git/doc/guix.texi:18924
  28325. #, no-wrap
  28326. msgid "{@code{cups-configuration} parameter} log-time-format log-time-format"
  28327. msgstr ""
  28328. #. type: deftypevr
  28329. #: guix-git/doc/guix.texi:18927
  28330. 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."
  28331. msgstr ""
  28332. #. type: deftypevr
  28333. #: guix-git/doc/guix.texi:18929
  28334. msgid "Defaults to @samp{standard}."
  28335. msgstr ""
  28336. #. type: deftypevr
  28337. #: guix-git/doc/guix.texi:18931
  28338. #, no-wrap
  28339. msgid "{@code{cups-configuration} parameter} non-negative-integer max-clients"
  28340. msgstr ""
  28341. #. type: deftypevr
  28342. #: guix-git/doc/guix.texi:18934
  28343. msgid "Specifies the maximum number of simultaneous clients that are allowed by the scheduler."
  28344. msgstr ""
  28345. #. type: deftypevr
  28346. #: guix-git/doc/guix.texi:18938
  28347. #, no-wrap
  28348. msgid "{@code{cups-configuration} parameter} non-negative-integer max-clients-per-host"
  28349. msgstr ""
  28350. #. type: deftypevr
  28351. #: guix-git/doc/guix.texi:18941
  28352. msgid "Specifies the maximum number of simultaneous clients that are allowed from a single address."
  28353. msgstr ""
  28354. #. type: deftypevr
  28355. #: guix-git/doc/guix.texi:18945
  28356. #, no-wrap
  28357. msgid "{@code{cups-configuration} parameter} non-negative-integer max-copies"
  28358. msgstr ""
  28359. #. type: deftypevr
  28360. #: guix-git/doc/guix.texi:18948
  28361. msgid "Specifies the maximum number of copies that a user can print of each job."
  28362. msgstr ""
  28363. #. type: deftypevr
  28364. #: guix-git/doc/guix.texi:18950
  28365. msgid "Defaults to @samp{9999}."
  28366. msgstr ""
  28367. #. type: deftypevr
  28368. #: guix-git/doc/guix.texi:18952
  28369. #, no-wrap
  28370. msgid "{@code{cups-configuration} parameter} non-negative-integer max-hold-time"
  28371. msgstr ""
  28372. #. type: deftypevr
  28373. #: guix-git/doc/guix.texi:18956
  28374. 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."
  28375. msgstr ""
  28376. #. type: deftypevr
  28377. #: guix-git/doc/guix.texi:18960
  28378. #, no-wrap
  28379. msgid "{@code{cups-configuration} parameter} non-negative-integer max-jobs"
  28380. msgstr ""
  28381. #. type: deftypevr
  28382. #: guix-git/doc/guix.texi:18963
  28383. msgid "Specifies the maximum number of simultaneous jobs that are allowed. Set to 0 to allow an unlimited number of jobs."
  28384. msgstr ""
  28385. #. type: deftypevr
  28386. #: guix-git/doc/guix.texi:18965
  28387. msgid "Defaults to @samp{500}."
  28388. msgstr ""
  28389. #. type: deftypevr
  28390. #: guix-git/doc/guix.texi:18967
  28391. #, no-wrap
  28392. msgid "{@code{cups-configuration} parameter} non-negative-integer max-jobs-per-printer"
  28393. msgstr ""
  28394. #. type: deftypevr
  28395. #: guix-git/doc/guix.texi:18970
  28396. msgid "Specifies the maximum number of simultaneous jobs that are allowed per printer. A value of 0 allows up to MaxJobs jobs per printer."
  28397. msgstr ""
  28398. #. type: deftypevr
  28399. #: guix-git/doc/guix.texi:18974
  28400. #, no-wrap
  28401. msgid "{@code{cups-configuration} parameter} non-negative-integer max-jobs-per-user"
  28402. msgstr ""
  28403. #. type: deftypevr
  28404. #: guix-git/doc/guix.texi:18977
  28405. msgid "Specifies the maximum number of simultaneous jobs that are allowed per user. A value of 0 allows up to MaxJobs jobs per user."
  28406. msgstr ""
  28407. #. type: deftypevr
  28408. #: guix-git/doc/guix.texi:18981
  28409. #, no-wrap
  28410. msgid "{@code{cups-configuration} parameter} non-negative-integer max-job-time"
  28411. msgstr ""
  28412. #. type: deftypevr
  28413. #: guix-git/doc/guix.texi:18984
  28414. 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."
  28415. msgstr ""
  28416. #. type: deftypevr
  28417. #: guix-git/doc/guix.texi:18986
  28418. msgid "Defaults to @samp{10800}."
  28419. msgstr ""
  28420. #. type: deftypevr
  28421. #: guix-git/doc/guix.texi:18988
  28422. #, no-wrap
  28423. msgid "{@code{cups-configuration} parameter} non-negative-integer max-log-size"
  28424. msgstr ""
  28425. #. type: deftypevr
  28426. #: guix-git/doc/guix.texi:18991
  28427. msgid "Specifies the maximum size of the log files before they are rotated, in bytes. The value 0 disables log rotation."
  28428. msgstr ""
  28429. #. type: deftypevr
  28430. #: guix-git/doc/guix.texi:18993
  28431. msgid "Defaults to @samp{1048576}."
  28432. msgstr ""
  28433. #. type: deftypevr
  28434. #: guix-git/doc/guix.texi:18995
  28435. #, no-wrap
  28436. msgid "{@code{cups-configuration} parameter} non-negative-integer multiple-operation-timeout"
  28437. msgstr ""
  28438. #. type: deftypevr
  28439. #: guix-git/doc/guix.texi:18998
  28440. msgid "Specifies the maximum amount of time to allow between files in a multiple file print job, in seconds."
  28441. msgstr ""
  28442. #. type: deftypevr
  28443. #: guix-git/doc/guix.texi:19000 guix-git/doc/guix.texi:19211
  28444. #: guix-git/doc/guix.texi:27012
  28445. msgid "Defaults to @samp{300}."
  28446. msgstr ""
  28447. #. type: deftypevr
  28448. #: guix-git/doc/guix.texi:19002
  28449. #, no-wrap
  28450. msgid "{@code{cups-configuration} parameter} string page-log-format"
  28451. msgstr ""
  28452. #. type: deftypevr
  28453. #: guix-git/doc/guix.texi:19007
  28454. 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:"
  28455. msgstr ""
  28456. #. type: item
  28457. #: guix-git/doc/guix.texi:19009
  28458. #, no-wrap
  28459. msgid "%%"
  28460. msgstr ""
  28461. #. type: table
  28462. #: guix-git/doc/guix.texi:19011
  28463. msgid "insert a single percent character"
  28464. msgstr ""
  28465. #. type: item
  28466. #: guix-git/doc/guix.texi:19012
  28467. #, no-wrap
  28468. msgid "%@{name@}"
  28469. msgstr ""
  28470. #. type: table
  28471. #: guix-git/doc/guix.texi:19014
  28472. msgid "insert the value of the specified IPP attribute"
  28473. msgstr ""
  28474. #. type: item
  28475. #: guix-git/doc/guix.texi:19015
  28476. #, no-wrap
  28477. msgid "%C"
  28478. msgstr ""
  28479. #. type: table
  28480. #: guix-git/doc/guix.texi:19017
  28481. msgid "insert the number of copies for the current page"
  28482. msgstr ""
  28483. #. type: item
  28484. #: guix-git/doc/guix.texi:19018
  28485. #, no-wrap
  28486. msgid "%P"
  28487. msgstr ""
  28488. #. type: table
  28489. #: guix-git/doc/guix.texi:19020
  28490. msgid "insert the current page number"
  28491. msgstr ""
  28492. #. type: item
  28493. #: guix-git/doc/guix.texi:19021
  28494. #, no-wrap
  28495. msgid "%T"
  28496. msgstr ""
  28497. #. type: table
  28498. #: guix-git/doc/guix.texi:19023
  28499. msgid "insert the current date and time in common log format"
  28500. msgstr ""
  28501. #. type: item
  28502. #: guix-git/doc/guix.texi:19024
  28503. #, no-wrap
  28504. msgid "%j"
  28505. msgstr ""
  28506. #. type: table
  28507. #: guix-git/doc/guix.texi:19026
  28508. msgid "insert the job ID"
  28509. msgstr ""
  28510. #. type: item
  28511. #: guix-git/doc/guix.texi:19027 guix-git/doc/guix.texi:20983
  28512. #, no-wrap
  28513. msgid "%p"
  28514. msgstr ""
  28515. #. type: table
  28516. #: guix-git/doc/guix.texi:19029
  28517. msgid "insert the printer name"
  28518. msgstr ""
  28519. #. type: item
  28520. #: guix-git/doc/guix.texi:19030 guix-git/doc/guix.texi:21006
  28521. #, no-wrap
  28522. msgid "%u"
  28523. msgstr ""
  28524. #. type: table
  28525. #: guix-git/doc/guix.texi:19032
  28526. msgid "insert the username"
  28527. msgstr ""
  28528. #. type: deftypevr
  28529. #: guix-git/doc/guix.texi:19038
  28530. 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."
  28531. msgstr ""
  28532. #. type: deftypevr
  28533. #: guix-git/doc/guix.texi:19042
  28534. #, no-wrap
  28535. msgid "{@code{cups-configuration} parameter} environment-variables environment-variables"
  28536. msgstr ""
  28537. #. type: deftypevr
  28538. #: guix-git/doc/guix.texi:19045
  28539. msgid "Passes the specified environment variable(s) to child processes; a list of strings."
  28540. msgstr ""
  28541. #. type: deftypevr
  28542. #: guix-git/doc/guix.texi:19049
  28543. #, no-wrap
  28544. msgid "{@code{cups-configuration} parameter} policy-configuration-list policies"
  28545. msgstr ""
  28546. #. type: deftypevr
  28547. #: guix-git/doc/guix.texi:19051
  28548. msgid "Specifies named access control policies."
  28549. msgstr ""
  28550. #. type: deftypevr
  28551. #: guix-git/doc/guix.texi:19053
  28552. msgid "Available @code{policy-configuration} fields are:"
  28553. msgstr ""
  28554. #. type: deftypevr
  28555. #: guix-git/doc/guix.texi:19054
  28556. #, no-wrap
  28557. msgid "{@code{policy-configuration} parameter} string name"
  28558. msgstr ""
  28559. #. type: deftypevr
  28560. #: guix-git/doc/guix.texi:19056
  28561. msgid "Name of the policy."
  28562. msgstr ""
  28563. #. type: deftypevr
  28564. #: guix-git/doc/guix.texi:19058
  28565. #, no-wrap
  28566. msgid "{@code{policy-configuration} parameter} string job-private-access"
  28567. msgstr ""
  28568. #. type: deftypevr
  28569. #: guix-git/doc/guix.texi:19068
  28570. msgid "Specifies an access list for a job's private values. @code{@@ACL} maps to the printer's requesting-user-name-allowed or requesting-user-name-denied values. @code{@@OWNER} maps to the job's owner. @code{@@SYSTEM} maps to the groups listed for the @code{system-group} field of the @code{files-configuration}, which is reified into the @code{cups-files.conf(5)} file. Other possible elements of the access list include specific user names, and @code{@@@var{group}} to indicate members of a specific group. The access list may also be simply @code{all} or @code{default}."
  28571. msgstr ""
  28572. #. type: deftypevr
  28573. #: guix-git/doc/guix.texi:19070 guix-git/doc/guix.texi:19092
  28574. msgid "Defaults to @samp{\"@@OWNER @@SYSTEM\"}."
  28575. msgstr ""
  28576. #. type: deftypevr
  28577. #: guix-git/doc/guix.texi:19072
  28578. #, no-wrap
  28579. msgid "{@code{policy-configuration} parameter} string job-private-values"
  28580. msgstr ""
  28581. #. type: deftypevr
  28582. #: guix-git/doc/guix.texi:19075 guix-git/doc/guix.texi:19097
  28583. msgid "Specifies the list of job values to make private, or @code{all}, @code{default}, or @code{none}."
  28584. msgstr ""
  28585. #. type: deftypevr
  28586. #: guix-git/doc/guix.texi:19078
  28587. msgid "Defaults to @samp{\"job-name job-originating-host-name job-originating-user-name phone\"}."
  28588. msgstr ""
  28589. #. type: deftypevr
  28590. #: guix-git/doc/guix.texi:19080
  28591. #, no-wrap
  28592. msgid "{@code{policy-configuration} parameter} string subscription-private-access"
  28593. msgstr ""
  28594. #. type: deftypevr
  28595. #: guix-git/doc/guix.texi:19090
  28596. msgid "Specifies an access list for a subscription's private values. @code{@@ACL} maps to the printer's requesting-user-name-allowed or requesting-user-name-denied values. @code{@@OWNER} maps to the job's owner. @code{@@SYSTEM} maps to the groups listed for the @code{system-group} field of the @code{files-configuration}, which is reified into the @code{cups-files.conf(5)} file. Other possible elements of the access list include specific user names, and @code{@@@var{group}} to indicate members of a specific group. The access list may also be simply @code{all} or @code{default}."
  28597. msgstr ""
  28598. #. type: deftypevr
  28599. #: guix-git/doc/guix.texi:19094
  28600. #, no-wrap
  28601. msgid "{@code{policy-configuration} parameter} string subscription-private-values"
  28602. msgstr ""
  28603. #. type: deftypevr
  28604. #: guix-git/doc/guix.texi:19100
  28605. msgid "Defaults to @samp{\"notify-events notify-pull-method notify-recipient-uri notify-subscriber-user-name notify-user-data\"}."
  28606. msgstr ""
  28607. #. type: deftypevr
  28608. #: guix-git/doc/guix.texi:19102
  28609. #, no-wrap
  28610. msgid "{@code{policy-configuration} parameter} operation-access-control-list access-controls"
  28611. msgstr ""
  28612. #. type: deftypevr
  28613. #: guix-git/doc/guix.texi:19104
  28614. msgid "Access control by IPP operation."
  28615. msgstr ""
  28616. #. type: deftypevr
  28617. #: guix-git/doc/guix.texi:19109
  28618. #, no-wrap
  28619. msgid "{@code{cups-configuration} parameter} boolean-or-non-negative-integer preserve-job-files"
  28620. msgstr ""
  28621. #. type: deftypevr
  28622. #: guix-git/doc/guix.texi:19114
  28623. 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."
  28624. msgstr ""
  28625. #. type: deftypevr
  28626. #: guix-git/doc/guix.texi:19116
  28627. msgid "Defaults to @samp{86400}."
  28628. msgstr ""
  28629. #. type: deftypevr
  28630. #: guix-git/doc/guix.texi:19118
  28631. #, no-wrap
  28632. msgid "{@code{cups-configuration} parameter} boolean-or-non-negative-integer preserve-job-history"
  28633. msgstr ""
  28634. #. type: deftypevr
  28635. #: guix-git/doc/guix.texi:19123
  28636. 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."
  28637. msgstr ""
  28638. #. type: deftypevr
  28639. #: guix-git/doc/guix.texi:19127
  28640. #, no-wrap
  28641. msgid "{@code{cups-configuration} parameter} non-negative-integer reload-timeout"
  28642. msgstr ""
  28643. #. type: deftypevr
  28644. #: guix-git/doc/guix.texi:19130
  28645. msgid "Specifies the amount of time to wait for job completion before restarting the scheduler."
  28646. msgstr ""
  28647. #. type: deftypevr
  28648. #: guix-git/doc/guix.texi:19134
  28649. #, no-wrap
  28650. msgid "{@code{cups-configuration} parameter} string rip-cache"
  28651. msgstr ""
  28652. #. type: deftypevr
  28653. #: guix-git/doc/guix.texi:19137
  28654. msgid "Specifies the maximum amount of memory to use when converting documents into bitmaps for a printer."
  28655. msgstr ""
  28656. #. type: deftypevr
  28657. #: guix-git/doc/guix.texi:19139
  28658. msgid "Defaults to @samp{\"128m\"}."
  28659. msgstr ""
  28660. #. type: deftypevr
  28661. #: guix-git/doc/guix.texi:19141
  28662. #, no-wrap
  28663. msgid "{@code{cups-configuration} parameter} string server-admin"
  28664. msgstr ""
  28665. #. type: deftypevr
  28666. #: guix-git/doc/guix.texi:19143
  28667. msgid "Specifies the email address of the server administrator."
  28668. msgstr ""
  28669. #. type: deftypevr
  28670. #: guix-git/doc/guix.texi:19145
  28671. msgid "Defaults to @samp{\"root@@localhost.localdomain\"}."
  28672. msgstr ""
  28673. #. type: deftypevr
  28674. #: guix-git/doc/guix.texi:19147
  28675. #, no-wrap
  28676. msgid "{@code{cups-configuration} parameter} host-name-list-or-* server-alias"
  28677. msgstr ""
  28678. #. type: deftypevr
  28679. #: guix-git/doc/guix.texi:19155
  28680. 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{*}."
  28681. msgstr ""
  28682. #. type: deftypevr
  28683. #: guix-git/doc/guix.texi:19157
  28684. msgid "Defaults to @samp{*}."
  28685. msgstr ""
  28686. #. type: deftypevr
  28687. #: guix-git/doc/guix.texi:19159
  28688. #, no-wrap
  28689. msgid "{@code{cups-configuration} parameter} string server-name"
  28690. msgstr ""
  28691. #. type: deftypevr
  28692. #: guix-git/doc/guix.texi:19161
  28693. msgid "Specifies the fully-qualified host name of the server."
  28694. msgstr ""
  28695. #. type: deftypevr
  28696. #: guix-git/doc/guix.texi:19163 guix-git/doc/guix.texi:24292
  28697. #: guix-git/doc/guix.texi:24337
  28698. msgid "Defaults to @samp{\"localhost\"}."
  28699. msgstr ""
  28700. #. type: deftypevr
  28701. #: guix-git/doc/guix.texi:19165
  28702. #, no-wrap
  28703. msgid "{@code{cups-configuration} parameter} server-tokens server-tokens"
  28704. msgstr ""
  28705. #. type: deftypevr
  28706. #: guix-git/doc/guix.texi:19173
  28707. 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}."
  28708. msgstr ""
  28709. #. type: deftypevr
  28710. #: guix-git/doc/guix.texi:19175
  28711. msgid "Defaults to @samp{Minimal}."
  28712. msgstr ""
  28713. #. type: deftypevr
  28714. #: guix-git/doc/guix.texi:19177
  28715. #, no-wrap
  28716. msgid "{@code{cups-configuration} parameter} multiline-string-list ssl-listen"
  28717. msgstr ""
  28718. #. type: deftypevr
  28719. #: guix-git/doc/guix.texi:19182
  28720. 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."
  28721. msgstr ""
  28722. #. type: deftypevr
  28723. #: guix-git/doc/guix.texi:19186
  28724. #, no-wrap
  28725. msgid "{@code{cups-configuration} parameter} ssl-options ssl-options"
  28726. msgstr ""
  28727. #. type: deftypevr
  28728. #: guix-git/doc/guix.texi:19196
  28729. 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."
  28730. msgstr ""
  28731. #. type: deftypevr
  28732. #: guix-git/doc/guix.texi:19200
  28733. #, no-wrap
  28734. msgid "{@code{cups-configuration} parameter} boolean strict-conformance?"
  28735. msgstr ""
  28736. #. type: deftypevr
  28737. #: guix-git/doc/guix.texi:19203
  28738. msgid "Specifies whether the scheduler requires clients to strictly adhere to the IPP specifications."
  28739. msgstr ""
  28740. #. type: deftypevr
  28741. #: guix-git/doc/guix.texi:19207
  28742. #, no-wrap
  28743. msgid "{@code{cups-configuration} parameter} non-negative-integer timeout"
  28744. msgstr ""
  28745. #. type: deftypevr
  28746. #: guix-git/doc/guix.texi:19209
  28747. msgid "Specifies the HTTP request timeout, in seconds."
  28748. msgstr ""
  28749. #. type: deftypevr
  28750. #: guix-git/doc/guix.texi:19214
  28751. #, no-wrap
  28752. msgid "{@code{cups-configuration} parameter} boolean web-interface?"
  28753. msgstr ""
  28754. #. type: deftypevr
  28755. #: guix-git/doc/guix.texi:19216
  28756. msgid "Specifies whether the web interface is enabled."
  28757. msgstr ""
  28758. #. type: Plain text
  28759. #: guix-git/doc/guix.texi:19226
  28760. 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}."
  28761. msgstr ""
  28762. #. type: Plain text
  28763. #: guix-git/doc/guix.texi:19228
  28764. msgid "Available @code{opaque-cups-configuration} fields are:"
  28765. msgstr ""
  28766. #. type: deftypevr
  28767. #: guix-git/doc/guix.texi:19229
  28768. #, no-wrap
  28769. msgid "{@code{opaque-cups-configuration} parameter} package cups"
  28770. msgstr ""
  28771. #. type: deftypevr
  28772. #: guix-git/doc/guix.texi:19233
  28773. #, no-wrap
  28774. msgid "{@code{opaque-cups-configuration} parameter} string cupsd.conf"
  28775. msgstr ""
  28776. #. type: deftypevr
  28777. #: guix-git/doc/guix.texi:19235
  28778. msgid "The contents of the @code{cupsd.conf}, as a string."
  28779. msgstr ""
  28780. #. type: deftypevr
  28781. #: guix-git/doc/guix.texi:19237
  28782. #, no-wrap
  28783. msgid "{@code{opaque-cups-configuration} parameter} string cups-files.conf"
  28784. msgstr ""
  28785. #. type: deftypevr
  28786. #: guix-git/doc/guix.texi:19239
  28787. msgid "The contents of the @code{cups-files.conf} file, as a string."
  28788. msgstr ""
  28789. #. type: Plain text
  28790. #: guix-git/doc/guix.texi:19244
  28791. 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:"
  28792. msgstr ""
  28793. #. type: lisp
  28794. #: guix-git/doc/guix.texi:19250
  28795. #, no-wrap
  28796. msgid ""
  28797. "(service cups-service-type\n"
  28798. " (opaque-cups-configuration\n"
  28799. " (cupsd.conf cupsd.conf)\n"
  28800. " (cups-files.conf cups-files.conf)))\n"
  28801. msgstr ""
  28802. #. type: Plain text
  28803. #: guix-git/doc/guix.texi:19261
  28804. 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."
  28805. msgstr ""
  28806. #. type: Plain text
  28807. #: guix-git/doc/guix.texi:19265
  28808. 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:"
  28809. msgstr ""
  28810. #. type: defvr
  28811. #: guix-git/doc/guix.texi:19266
  28812. #, no-wrap
  28813. msgid "{Scheme Variable} %desktop-services"
  28814. msgstr ""
  28815. #. type: defvr
  28816. #: guix-git/doc/guix.texi:19269
  28817. msgid "This is a list of services that builds upon @code{%base-services} and adds or adjusts services for a typical ``desktop'' setup."
  28818. msgstr ""
  28819. #. type: defvr
  28820. #: guix-git/doc/guix.texi:19280
  28821. 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})."
  28822. msgstr ""
  28823. #. type: Plain text
  28824. #: guix-git/doc/guix.texi:19285
  28825. 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}})."
  28826. msgstr ""
  28827. #. type: Plain text
  28828. #: guix-git/doc/guix.texi:19308
  28829. 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."
  28830. msgstr ""
  28831. #. type: Plain text
  28832. #: guix-git/doc/guix.texi:19317
  28833. 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."
  28834. msgstr ""
  28835. #. type: defvr
  28836. #: guix-git/doc/guix.texi:19318
  28837. #, no-wrap
  28838. msgid "{Scheme Variable} gnome-desktop-service-type"
  28839. msgstr ""
  28840. #. type: defvr
  28841. #: guix-git/doc/guix.texi:19322
  28842. 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)."
  28843. msgstr ""
  28844. #. type: defvr
  28845. #: guix-git/doc/guix.texi:19325
  28846. msgid "This service adds the @code{gnome} package to the system profile, and extends polkit with the actions from @code{gnome-settings-daemon}."
  28847. msgstr ""
  28848. #. type: deftp
  28849. #: guix-git/doc/guix.texi:19327
  28850. #, no-wrap
  28851. msgid "{Data Type} gnome-desktop-configuration"
  28852. msgstr ""
  28853. #. type: deftp
  28854. #: guix-git/doc/guix.texi:19329
  28855. msgid "Configuration record for the GNOME desktop environment."
  28856. msgstr ""
  28857. #. type: item
  28858. #: guix-git/doc/guix.texi:19331
  28859. #, no-wrap
  28860. msgid "@code{gnome} (default: @code{gnome})"
  28861. msgstr ""
  28862. #. type: table
  28863. #: guix-git/doc/guix.texi:19333
  28864. msgid "The GNOME package to use."
  28865. msgstr ""
  28866. #. type: defvr
  28867. #: guix-git/doc/guix.texi:19336
  28868. #, no-wrap
  28869. msgid "{Scheme Variable} xfce-desktop-service-type"
  28870. msgstr ""
  28871. #. type: defvr
  28872. #: guix-git/doc/guix.texi:19340
  28873. 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)."
  28874. msgstr ""
  28875. #. type: defvr
  28876. #: guix-git/doc/guix.texi:19345
  28877. 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."
  28878. msgstr ""
  28879. #. type: defvr
  28880. #: guix-git/doc/guix.texi:19351
  28881. 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}."
  28882. msgstr ""
  28883. #. type: deftp
  28884. #: guix-git/doc/guix.texi:19353
  28885. #, no-wrap
  28886. msgid "{Data Type} xfce-desktop-configuration"
  28887. msgstr ""
  28888. #. type: deftp
  28889. #: guix-git/doc/guix.texi:19355
  28890. msgid "Configuration record for the Xfce desktop environment."
  28891. msgstr ""
  28892. #. type: item
  28893. #: guix-git/doc/guix.texi:19357
  28894. #, no-wrap
  28895. msgid "@code{xfce} (default: @code{xfce})"
  28896. msgstr ""
  28897. #. type: table
  28898. #: guix-git/doc/guix.texi:19359
  28899. msgid "The Xfce package to use."
  28900. msgstr ""
  28901. #. type: deffn
  28902. #: guix-git/doc/guix.texi:19362
  28903. #, no-wrap
  28904. msgid "{Scheme Variable} mate-desktop-service-type"
  28905. msgstr ""
  28906. #. type: deffn
  28907. #: guix-git/doc/guix.texi:19366
  28908. 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)."
  28909. msgstr ""
  28910. #. type: deffn
  28911. #: guix-git/doc/guix.texi:19370
  28912. msgid "This service adds the @code{mate} package to the system profile, and extends polkit with the actions from @code{mate-settings-daemon}."
  28913. msgstr ""
  28914. #. type: deftp
  28915. #: guix-git/doc/guix.texi:19372
  28916. #, no-wrap
  28917. msgid "{Data Type} mate-desktop-configuration"
  28918. msgstr ""
  28919. #. type: deftp
  28920. #: guix-git/doc/guix.texi:19374
  28921. msgid "Configuration record for the MATE desktop environment."
  28922. msgstr ""
  28923. #. type: item
  28924. #: guix-git/doc/guix.texi:19376
  28925. #, no-wrap
  28926. msgid "@code{mate} (default: @code{mate})"
  28927. msgstr ""
  28928. #. type: table
  28929. #: guix-git/doc/guix.texi:19378
  28930. msgid "The MATE package to use."
  28931. msgstr ""
  28932. #. type: deffn
  28933. #: guix-git/doc/guix.texi:19381
  28934. #, no-wrap
  28935. msgid "{Scheme Variable} lxqt-desktop-service-type"
  28936. msgstr ""
  28937. #. type: deffn
  28938. #: guix-git/doc/guix.texi:19385
  28939. msgid "This is the type of the service that runs the @uref{https://lxqt-project.org, LXQt desktop environment}. Its value is a @code{lxqt-desktop-configuration} object (see below)."
  28940. msgstr ""
  28941. #. type: deffn
  28942. #: guix-git/doc/guix.texi:19388
  28943. msgid "This service adds the @code{lxqt} package to the system profile."
  28944. msgstr ""
  28945. #. type: deftp
  28946. #: guix-git/doc/guix.texi:19390
  28947. #, no-wrap
  28948. msgid "{Data Type} lxqt-desktop-configuration"
  28949. msgstr ""
  28950. #. type: deftp
  28951. #: guix-git/doc/guix.texi:19392
  28952. msgid "Configuration record for the LXQt desktop environment."
  28953. msgstr ""
  28954. #. type: item
  28955. #: guix-git/doc/guix.texi:19394
  28956. #, no-wrap
  28957. msgid "@code{lxqt} (default: @code{lxqt})"
  28958. msgstr ""
  28959. #. type: table
  28960. #: guix-git/doc/guix.texi:19396
  28961. msgid "The LXQT package to use."
  28962. msgstr ""
  28963. #. type: deffn
  28964. #: guix-git/doc/guix.texi:19399
  28965. #, no-wrap
  28966. msgid "{Scheme Variable} enlightenment-desktop-service-type"
  28967. msgstr ""
  28968. #. type: deffn
  28969. #: guix-git/doc/guix.texi:19402
  28970. msgid "Return a service that adds the @code{enlightenment} package to the system profile, and extends dbus with actions from @code{efl}."
  28971. msgstr ""
  28972. #. type: deftp
  28973. #: guix-git/doc/guix.texi:19404
  28974. #, no-wrap
  28975. msgid "{Data Type} enlightenment-desktop-service-configuration"
  28976. msgstr ""
  28977. #. type: item
  28978. #: guix-git/doc/guix.texi:19406
  28979. #, no-wrap
  28980. msgid "@code{enlightenment} (default: @code{enlightenment})"
  28981. msgstr ""
  28982. #. type: table
  28983. #: guix-git/doc/guix.texi:19408
  28984. msgid "The enlightenment package to use."
  28985. msgstr ""
  28986. #. type: Plain text
  28987. #: guix-git/doc/guix.texi:19416
  28988. 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}:"
  28989. msgstr ""
  28990. #. type: lisp
  28991. #: guix-git/doc/guix.texi:19427
  28992. #, no-wrap
  28993. msgid ""
  28994. "(use-modules (gnu))\n"
  28995. "(use-service-modules desktop)\n"
  28996. "(operating-system\n"
  28997. " ...\n"
  28998. " ;; cons* adds items to the list given as its last argument.\n"
  28999. " (services (cons* (service gnome-desktop-service-type)\n"
  29000. " (service xfce-desktop-service)\n"
  29001. " %desktop-services))\n"
  29002. " ...)\n"
  29003. msgstr ""
  29004. #. type: Plain text
  29005. #: guix-git/doc/guix.texi:19431
  29006. msgid "These desktop environments will then be available as options in the graphical login window."
  29007. msgstr ""
  29008. #. type: Plain text
  29009. #: guix-git/doc/guix.texi:19435
  29010. 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."
  29011. msgstr ""
  29012. #. type: deffn
  29013. #: guix-git/doc/guix.texi:19436
  29014. #, no-wrap
  29015. msgid "{Scheme Procedure} dbus-service [#:dbus @var{dbus}] [#:services '()]"
  29016. msgstr ""
  29017. #. type: deffn
  29018. #: guix-git/doc/guix.texi:19439
  29019. msgid "Return a service that runs the ``system bus'', using @var{dbus}, with support for @var{services}."
  29020. msgstr ""
  29021. #. type: deffn
  29022. #: guix-git/doc/guix.texi:19443
  29023. 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."
  29024. msgstr ""
  29025. #. type: deffn
  29026. #: guix-git/doc/guix.texi:19448
  29027. 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)}."
  29028. msgstr ""
  29029. #. type: deffn
  29030. #: guix-git/doc/guix.texi:19450
  29031. #, no-wrap
  29032. msgid "{Scheme Procedure} elogind-service [#:config @var{config}]"
  29033. msgstr ""
  29034. #. type: deffn
  29035. #: guix-git/doc/guix.texi:19456
  29036. 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."
  29037. msgstr ""
  29038. #. type: deffn
  29039. #: guix-git/doc/guix.texi:19460
  29040. 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."
  29041. msgstr ""
  29042. #. type: deffn
  29043. #: guix-git/doc/guix.texi:19465
  29044. 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:"
  29045. msgstr ""
  29046. #. type: item
  29047. #: guix-git/doc/guix.texi:19467
  29048. #, no-wrap
  29049. msgid "kill-user-processes?"
  29050. msgstr ""
  29051. #. type: code{#1}
  29052. #: guix-git/doc/guix.texi:19469 guix-git/doc/guix.texi:19489
  29053. #: guix-git/doc/guix.texi:19491 guix-git/doc/guix.texi:19493
  29054. #: guix-git/doc/guix.texi:19505
  29055. msgid "#f"
  29056. msgstr ""
  29057. #. type: item
  29058. #: guix-git/doc/guix.texi:19469
  29059. #, no-wrap
  29060. msgid "kill-only-users"
  29061. msgstr ""
  29062. #. type: code{#1}
  29063. #: guix-git/doc/guix.texi:19471 guix-git/doc/guix.texi:19511
  29064. msgid "()"
  29065. msgstr ""
  29066. #. type: item
  29067. #: guix-git/doc/guix.texi:19471
  29068. #, no-wrap
  29069. msgid "kill-exclude-users"
  29070. msgstr ""
  29071. #. type: code{#1}
  29072. #: guix-git/doc/guix.texi:19473
  29073. msgid "(\"root\")"
  29074. msgstr ""
  29075. #. type: item
  29076. #: guix-git/doc/guix.texi:19473
  29077. #, no-wrap
  29078. msgid "inhibit-delay-max-seconds"
  29079. msgstr ""
  29080. #. type: code{#1}
  29081. #: guix-git/doc/guix.texi:19475
  29082. msgid "5"
  29083. msgstr ""
  29084. #. type: item
  29085. #: guix-git/doc/guix.texi:19475
  29086. #, no-wrap
  29087. msgid "handle-power-key"
  29088. msgstr ""
  29089. #. type: code{#1}
  29090. #: guix-git/doc/guix.texi:19477
  29091. msgid "poweroff"
  29092. msgstr ""
  29093. #. type: item
  29094. #: guix-git/doc/guix.texi:19477
  29095. #, no-wrap
  29096. msgid "handle-suspend-key"
  29097. msgstr ""
  29098. #. type: code{#1}
  29099. #: guix-git/doc/guix.texi:19479 guix-git/doc/guix.texi:19483
  29100. msgid "suspend"
  29101. msgstr ""
  29102. #. type: item
  29103. #: guix-git/doc/guix.texi:19479
  29104. #, no-wrap
  29105. msgid "handle-hibernate-key"
  29106. msgstr ""
  29107. #. type: code{#1}
  29108. #: guix-git/doc/guix.texi:19481
  29109. msgid "hibernate"
  29110. msgstr ""
  29111. #. type: item
  29112. #: guix-git/doc/guix.texi:19481
  29113. #, no-wrap
  29114. msgid "handle-lid-switch"
  29115. msgstr ""
  29116. #. type: item
  29117. #: guix-git/doc/guix.texi:19483
  29118. #, no-wrap
  29119. msgid "handle-lid-switch-docked"
  29120. msgstr ""
  29121. #. type: code{#1}
  29122. #: guix-git/doc/guix.texi:19485 guix-git/doc/guix.texi:19487
  29123. #: guix-git/doc/guix.texi:19499
  29124. msgid "ignore"
  29125. msgstr ""
  29126. #. type: item
  29127. #: guix-git/doc/guix.texi:19485
  29128. #, no-wrap
  29129. msgid "handle-lid-switch-external-power"
  29130. msgstr ""
  29131. #. type: item
  29132. #: guix-git/doc/guix.texi:19487
  29133. #, no-wrap
  29134. msgid "power-key-ignore-inhibited?"
  29135. msgstr ""
  29136. #. type: item
  29137. #: guix-git/doc/guix.texi:19489
  29138. #, no-wrap
  29139. msgid "suspend-key-ignore-inhibited?"
  29140. msgstr ""
  29141. #. type: item
  29142. #: guix-git/doc/guix.texi:19491
  29143. #, no-wrap
  29144. msgid "hibernate-key-ignore-inhibited?"
  29145. msgstr ""
  29146. #. type: item
  29147. #: guix-git/doc/guix.texi:19493
  29148. #, no-wrap
  29149. msgid "lid-switch-ignore-inhibited?"
  29150. msgstr ""
  29151. #. type: code{#1}
  29152. #: guix-git/doc/guix.texi:19495 guix-git/doc/guix.texi:19507
  29153. msgid "#t"
  29154. msgstr ""
  29155. #. type: item
  29156. #: guix-git/doc/guix.texi:19495
  29157. #, no-wrap
  29158. msgid "holdoff-timeout-seconds"
  29159. msgstr ""
  29160. #. type: code{#1}
  29161. #: guix-git/doc/guix.texi:19497
  29162. msgid "30"
  29163. msgstr ""
  29164. #. type: item
  29165. #: guix-git/doc/guix.texi:19497
  29166. #, no-wrap
  29167. msgid "idle-action"
  29168. msgstr ""
  29169. #. type: item
  29170. #: guix-git/doc/guix.texi:19499
  29171. #, no-wrap
  29172. msgid "idle-action-seconds"
  29173. msgstr ""
  29174. #. type: code{#1}
  29175. #: guix-git/doc/guix.texi:19501
  29176. msgid "(* 30 60)"
  29177. msgstr ""
  29178. #. type: item
  29179. #: guix-git/doc/guix.texi:19501
  29180. #, no-wrap
  29181. msgid "runtime-directory-size-percent"
  29182. msgstr ""
  29183. #. type: code{#1}
  29184. #: guix-git/doc/guix.texi:19503
  29185. msgid "10"
  29186. msgstr ""
  29187. #. type: item
  29188. #: guix-git/doc/guix.texi:19503
  29189. #, no-wrap
  29190. msgid "runtime-directory-size"
  29191. msgstr ""
  29192. #. type: item
  29193. #: guix-git/doc/guix.texi:19505
  29194. #, no-wrap
  29195. msgid "remove-ipc?"
  29196. msgstr ""
  29197. #. type: item
  29198. #: guix-git/doc/guix.texi:19507
  29199. #, no-wrap
  29200. msgid "suspend-state"
  29201. msgstr ""
  29202. #. type: code{#1}
  29203. #: guix-git/doc/guix.texi:19509
  29204. msgid "(\"mem\" \"standby\" \"freeze\")"
  29205. msgstr ""
  29206. #. type: item
  29207. #: guix-git/doc/guix.texi:19509
  29208. #, no-wrap
  29209. msgid "suspend-mode"
  29210. msgstr ""
  29211. #. type: item
  29212. #: guix-git/doc/guix.texi:19511
  29213. #, no-wrap
  29214. msgid "hibernate-state"
  29215. msgstr ""
  29216. #. type: code{#1}
  29217. #: guix-git/doc/guix.texi:19513 guix-git/doc/guix.texi:19517
  29218. msgid "(\"disk\")"
  29219. msgstr ""
  29220. #. type: item
  29221. #: guix-git/doc/guix.texi:19513
  29222. #, no-wrap
  29223. msgid "hibernate-mode"
  29224. msgstr ""
  29225. #. type: code{#1}
  29226. #: guix-git/doc/guix.texi:19515
  29227. msgid "(\"platform\" \"shutdown\")"
  29228. msgstr ""
  29229. #. type: item
  29230. #: guix-git/doc/guix.texi:19515
  29231. #, no-wrap
  29232. msgid "hybrid-sleep-state"
  29233. msgstr ""
  29234. #. type: item
  29235. #: guix-git/doc/guix.texi:19517
  29236. #, no-wrap
  29237. msgid "hybrid-sleep-mode"
  29238. msgstr ""
  29239. #. type: code{#1}
  29240. #: guix-git/doc/guix.texi:19519
  29241. msgid "(\"suspend\" \"platform\" \"shutdown\")"
  29242. msgstr ""
  29243. #. type: deffn
  29244. #: guix-git/doc/guix.texi:19522
  29245. #, no-wrap
  29246. msgid "{Scheme Procedure} accountsservice-service @"
  29247. msgstr ""
  29248. #. type: deffn
  29249. #: guix-git/doc/guix.texi:19530
  29250. 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."
  29251. msgstr ""
  29252. #. type: deffn
  29253. #: guix-git/doc/guix.texi:19533
  29254. msgid "The @var{accountsservice} keyword argument is the @code{accountsservice} package to expose as a service."
  29255. msgstr ""
  29256. #. type: deffn
  29257. #: guix-git/doc/guix.texi:19535
  29258. #, no-wrap
  29259. msgid "{Scheme Procedure} polkit-service @"
  29260. msgstr ""
  29261. #. type: deffn
  29262. #: guix-git/doc/guix.texi:19544
  29263. 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."
  29264. msgstr ""
  29265. #. type: defvr
  29266. #: guix-git/doc/guix.texi:19546
  29267. #, no-wrap
  29268. msgid "{Scheme Variable} polkit-wheel-service"
  29269. msgstr ""
  29270. #. type: defvr
  29271. #: guix-git/doc/guix.texi:19551
  29272. 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}."
  29273. msgstr ""
  29274. #. type: defvr
  29275. #: guix-git/doc/guix.texi:19553
  29276. #, no-wrap
  29277. msgid "{Scheme Variable} upower-service-type"
  29278. msgstr ""
  29279. #. type: defvr
  29280. #: guix-git/doc/guix.texi:19557
  29281. 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."
  29282. msgstr ""
  29283. #. type: defvr
  29284. #: guix-git/doc/guix.texi:19560
  29285. msgid "It implements the @code{org.freedesktop.UPower} D-Bus interface, and is notably used by GNOME."
  29286. msgstr ""
  29287. #. type: deftp
  29288. #: guix-git/doc/guix.texi:19562
  29289. #, no-wrap
  29290. msgid "{Data Type} upower-configuration"
  29291. msgstr ""
  29292. #. type: deftp
  29293. #: guix-git/doc/guix.texi:19564
  29294. msgid "Data type representation the configuration for UPower."
  29295. msgstr ""
  29296. #. type: item
  29297. #: guix-git/doc/guix.texi:19567
  29298. #, no-wrap
  29299. msgid "@code{upower} (default: @var{upower})"
  29300. msgstr ""
  29301. #. type: table
  29302. #: guix-git/doc/guix.texi:19569
  29303. msgid "Package to use for @code{upower}."
  29304. msgstr ""
  29305. #. type: item
  29306. #: guix-git/doc/guix.texi:19570
  29307. #, no-wrap
  29308. msgid "@code{watts-up-pro?} (default: @code{#f})"
  29309. msgstr ""
  29310. #. type: table
  29311. #: guix-git/doc/guix.texi:19572
  29312. msgid "Enable the Watts Up Pro device."
  29313. msgstr ""
  29314. #. type: item
  29315. #: guix-git/doc/guix.texi:19573
  29316. #, no-wrap
  29317. msgid "@code{poll-batteries?} (default: @code{#t})"
  29318. msgstr ""
  29319. #. type: table
  29320. #: guix-git/doc/guix.texi:19575
  29321. msgid "Enable polling the kernel for battery level changes."
  29322. msgstr ""
  29323. #. type: item
  29324. #: guix-git/doc/guix.texi:19576
  29325. #, no-wrap
  29326. msgid "@code{ignore-lid?} (default: @code{#f})"
  29327. msgstr ""
  29328. #. type: table
  29329. #: guix-git/doc/guix.texi:19578
  29330. msgid "Ignore the lid state, this can be useful if it's incorrect on a device."
  29331. msgstr ""
  29332. #. type: item
  29333. #: guix-git/doc/guix.texi:19579
  29334. #, no-wrap
  29335. msgid "@code{use-percentage-for-policy?} (default: @code{#f})"
  29336. msgstr ""
  29337. #. type: table
  29338. #: guix-git/doc/guix.texi:19582
  29339. 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."
  29340. msgstr ""
  29341. #. type: item
  29342. #: guix-git/doc/guix.texi:19583
  29343. #, no-wrap
  29344. msgid "@code{percentage-low} (default: @code{10})"
  29345. msgstr ""
  29346. #. type: table
  29347. #: guix-git/doc/guix.texi:19586
  29348. msgid "When @code{use-percentage-for-policy?} is @code{#t}, this sets the percentage at which the battery is considered low."
  29349. msgstr ""
  29350. #. type: item
  29351. #: guix-git/doc/guix.texi:19587
  29352. #, no-wrap
  29353. msgid "@code{percentage-critical} (default: @code{3})"
  29354. msgstr ""
  29355. #. type: table
  29356. #: guix-git/doc/guix.texi:19590
  29357. msgid "When @code{use-percentage-for-policy?} is @code{#t}, this sets the percentage at which the battery is considered critical."
  29358. msgstr ""
  29359. #. type: item
  29360. #: guix-git/doc/guix.texi:19591
  29361. #, no-wrap
  29362. msgid "@code{percentage-action} (default: @code{2})"
  29363. msgstr ""
  29364. #. type: table
  29365. #: guix-git/doc/guix.texi:19594
  29366. msgid "When @code{use-percentage-for-policy?} is @code{#t}, this sets the percentage at which action will be taken."
  29367. msgstr ""
  29368. #. type: item
  29369. #: guix-git/doc/guix.texi:19595
  29370. #, no-wrap
  29371. msgid "@code{time-low} (default: @code{1200})"
  29372. msgstr ""
  29373. #. type: table
  29374. #: guix-git/doc/guix.texi:19598
  29375. msgid "When @code{use-time-for-policy?} is @code{#f}, this sets the time remaining in seconds at which the battery is considered low."
  29376. msgstr ""
  29377. #. type: item
  29378. #: guix-git/doc/guix.texi:19599
  29379. #, no-wrap
  29380. msgid "@code{time-critical} (default: @code{300})"
  29381. msgstr ""
  29382. #. type: table
  29383. #: guix-git/doc/guix.texi:19602
  29384. msgid "When @code{use-time-for-policy?} is @code{#f}, this sets the time remaining in seconds at which the battery is considered critical."
  29385. msgstr ""
  29386. #. type: item
  29387. #: guix-git/doc/guix.texi:19603
  29388. #, no-wrap
  29389. msgid "@code{time-action} (default: @code{120})"
  29390. msgstr ""
  29391. #. type: table
  29392. #: guix-git/doc/guix.texi:19606
  29393. msgid "When @code{use-time-for-policy?} is @code{#f}, this sets the time remaining in seconds at which action will be taken."
  29394. msgstr ""
  29395. #. type: item
  29396. #: guix-git/doc/guix.texi:19607
  29397. #, no-wrap
  29398. msgid "@code{critical-power-action} (default: @code{'hybrid-sleep})"
  29399. msgstr ""
  29400. #. type: table
  29401. #: guix-git/doc/guix.texi:19610
  29402. msgid "The action taken when @code{percentage-action} or @code{time-action} is reached (depending on the configuration of @code{use-percentage-for-policy?})."
  29403. msgstr ""
  29404. #. type: table
  29405. #: guix-git/doc/guix.texi:19612
  29406. msgid "Possible values are:"
  29407. msgstr ""
  29408. #. type: code{#1}
  29409. #: guix-git/doc/guix.texi:19616
  29410. msgid "'power-off"
  29411. msgstr ""
  29412. #. type: code{#1}
  29413. #: guix-git/doc/guix.texi:19619
  29414. msgid "'hibernate"
  29415. msgstr ""
  29416. #. type: itemize
  29417. #: guix-git/doc/guix.texi:19622
  29418. msgid "@code{'hybrid-sleep}."
  29419. msgstr ""
  29420. #. type: deffn
  29421. #: guix-git/doc/guix.texi:19627
  29422. #, no-wrap
  29423. msgid "{Scheme Procedure} udisks-service [#:udisks @var{udisks}]"
  29424. msgstr ""
  29425. #. type: deffn
  29426. #: guix-git/doc/guix.texi:19637
  29427. 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."
  29428. msgstr ""
  29429. #. type: deffn
  29430. #: guix-git/doc/guix.texi:19639
  29431. #, no-wrap
  29432. msgid "{Scheme Variable} colord-service-type"
  29433. msgstr ""
  29434. #. type: deffn
  29435. #: guix-git/doc/guix.texi:19646
  29436. 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."
  29437. msgstr ""
  29438. #. type: cindex
  29439. #: guix-git/doc/guix.texi:19648
  29440. #, no-wrap
  29441. msgid "scanner access"
  29442. msgstr ""
  29443. #. type: defvr
  29444. #: guix-git/doc/guix.texi:19649
  29445. #, no-wrap
  29446. msgid "{Scheme Variable} sane-service-type"
  29447. msgstr ""
  29448. #. type: defvr
  29449. #: guix-git/doc/guix.texi:19655
  29450. 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."
  29451. msgstr ""
  29452. #. type: defvr
  29453. #: guix-git/doc/guix.texi:19657
  29454. #, no-wrap
  29455. msgid "{Scheme Variable} sane-backends-minimal"
  29456. msgstr ""
  29457. #. type: defvr
  29458. #: guix-git/doc/guix.texi:19660
  29459. msgid "The default package which the @code{sane-service-type} installs. It supports many recent scanners."
  29460. msgstr ""
  29461. #. type: defvr
  29462. #: guix-git/doc/guix.texi:19662
  29463. #, no-wrap
  29464. msgid "{Scheme Variable} sane-backends"
  29465. msgstr ""
  29466. #. type: defvr
  29467. #: guix-git/doc/guix.texi:19669
  29468. 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:"
  29469. msgstr ""
  29470. #. type: lisp
  29471. #: guix-git/doc/guix.texi:19678
  29472. #, no-wrap
  29473. msgid ""
  29474. "(use-modules (gnu))\n"
  29475. "(use-service-modules\n"
  29476. " @dots{}\n"
  29477. " desktop)\n"
  29478. "(use-package-modules\n"
  29479. " @dots{}\n"
  29480. " scanner)\n"
  29481. "\n"
  29482. msgstr ""
  29483. #. type: lisp
  29484. #: guix-git/doc/guix.texi:19683
  29485. #, no-wrap
  29486. msgid ""
  29487. "(define %my-desktop-services\n"
  29488. " ;; List of desktop services that supports a broader range of scanners.\n"
  29489. " (modify-services %desktop-services\n"
  29490. " (sane-service-type _ => sane-backends)))\n"
  29491. "\n"
  29492. msgstr ""
  29493. #. type: lisp
  29494. #: guix-git/doc/guix.texi:19687
  29495. #, no-wrap
  29496. msgid ""
  29497. "(operating-system\n"
  29498. " @dots{}\n"
  29499. " (services %my-desktop-services)\n"
  29500. msgstr ""
  29501. #. type: deffn
  29502. #: guix-git/doc/guix.texi:19690
  29503. #, no-wrap
  29504. msgid "{Scheme Procedure} geoclue-application name [#:allowed? #t] [#:system? #f] [#:users '()]"
  29505. msgstr ""
  29506. #. type: deffn
  29507. #: guix-git/doc/guix.texi:19699
  29508. 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."
  29509. msgstr ""
  29510. #. type: defvr
  29511. #: guix-git/doc/guix.texi:19701
  29512. #, no-wrap
  29513. msgid "{Scheme Variable} %standard-geoclue-applications"
  29514. msgstr ""
  29515. #. type: defvr
  29516. #: guix-git/doc/guix.texi:19708
  29517. 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."
  29518. msgstr ""
  29519. #. type: deffn
  29520. #: guix-git/doc/guix.texi:19710
  29521. #, no-wrap
  29522. msgid "{Scheme Procedure} geoclue-service [#:colord @var{colord}] @"
  29523. msgstr ""
  29524. #. type: deffn
  29525. #: guix-git/doc/guix.texi:19723
  29526. 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."
  29527. msgstr ""
  29528. #. type: deffn
  29529. #: guix-git/doc/guix.texi:19725
  29530. #, no-wrap
  29531. msgid "{Scheme Procedure} bluetooth-service [#:bluez @var{bluez}] @"
  29532. msgstr ""
  29533. #. type: deffn
  29534. #: guix-git/doc/guix.texi:19732
  29535. 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."
  29536. msgstr ""
  29537. #. type: deffn
  29538. #: guix-git/doc/guix.texi:19734
  29539. msgid "Users need to be in the @code{lp} group to access the D-Bus service."
  29540. msgstr ""
  29541. #. type: defvr
  29542. #: guix-git/doc/guix.texi:19736
  29543. #, no-wrap
  29544. msgid "{Scheme Variable} gnome-keyring-service-type"
  29545. msgstr ""
  29546. #. type: defvr
  29547. #: guix-git/doc/guix.texi:19740
  29548. 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)."
  29549. msgstr ""
  29550. #. type: defvr
  29551. #: guix-git/doc/guix.texi:19744
  29552. 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."
  29553. msgstr ""
  29554. #. type: deftp
  29555. #: guix-git/doc/guix.texi:19746
  29556. #, no-wrap
  29557. msgid "{Data Type} gnome-keyring-configuration"
  29558. msgstr ""
  29559. #. type: deftp
  29560. #: guix-git/doc/guix.texi:19748
  29561. msgid "Configuration record for the GNOME Keyring service."
  29562. msgstr ""
  29563. #. type: item
  29564. #: guix-git/doc/guix.texi:19750
  29565. #, no-wrap
  29566. msgid "@code{keyring} (default: @code{gnome-keyring})"
  29567. msgstr ""
  29568. #. type: table
  29569. #: guix-git/doc/guix.texi:19752
  29570. msgid "The GNOME keyring package to use."
  29571. msgstr ""
  29572. #. type: code{#1}
  29573. #: guix-git/doc/guix.texi:19753
  29574. #, no-wrap
  29575. msgid "pam-services"
  29576. msgstr ""
  29577. #. type: table
  29578. #: guix-git/doc/guix.texi:19758
  29579. 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}."
  29580. msgstr ""
  29581. #. type: table
  29582. #: guix-git/doc/guix.texi:19764
  29583. 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."
  29584. msgstr ""
  29585. #. type: table
  29586. #: guix-git/doc/guix.texi:19767
  29587. msgid "By default, this field contains ``gdm-password'' with the value @code{login} and ``passwd'' is with the value @code{passwd}."
  29588. msgstr ""
  29589. #. type: cindex
  29590. #: guix-git/doc/guix.texi:19774
  29591. #, no-wrap
  29592. msgid "sound support"
  29593. msgstr ""
  29594. #. type: cindex
  29595. #: guix-git/doc/guix.texi:19775
  29596. #, no-wrap
  29597. msgid "ALSA"
  29598. msgstr ""
  29599. #. type: cindex
  29600. #: guix-git/doc/guix.texi:19776
  29601. #, no-wrap
  29602. msgid "PulseAudio, sound support"
  29603. msgstr ""
  29604. #. type: Plain text
  29605. #: guix-git/doc/guix.texi:19781
  29606. 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."
  29607. msgstr ""
  29608. #. type: deffn
  29609. #: guix-git/doc/guix.texi:19782
  29610. #, no-wrap
  29611. msgid "{Scheme Variable} alsa-service-type"
  29612. msgstr ""
  29613. #. type: deffn
  29614. #: guix-git/doc/guix.texi:19787
  29615. 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:"
  29616. msgstr ""
  29617. #. type: lisp
  29618. #: guix-git/doc/guix.texi:19790
  29619. #, no-wrap
  29620. msgid "(service alsa-service-type)\n"
  29621. msgstr ""
  29622. #. type: deffn
  29623. #: guix-git/doc/guix.texi:19793
  29624. msgid "See below for details about @code{alsa-configuration}."
  29625. msgstr ""
  29626. #. type: deftp
  29627. #: guix-git/doc/guix.texi:19795
  29628. #, no-wrap
  29629. msgid "{Data Type} alsa-configuration"
  29630. msgstr ""
  29631. #. type: deftp
  29632. #: guix-git/doc/guix.texi:19797
  29633. msgid "Data type representing the configuration for @code{alsa-service}."
  29634. msgstr ""
  29635. #. type: item
  29636. #: guix-git/doc/guix.texi:19799
  29637. #, no-wrap
  29638. msgid "@code{alsa-plugins} (default: @var{alsa-plugins})"
  29639. msgstr ""
  29640. #. type: table
  29641. #: guix-git/doc/guix.texi:19801
  29642. msgid "@code{alsa-plugins} package to use."
  29643. msgstr ""
  29644. #. type: item
  29645. #: guix-git/doc/guix.texi:19802
  29646. #, no-wrap
  29647. msgid "@code{pulseaudio?} (default: @var{#t})"
  29648. msgstr ""
  29649. #. type: table
  29650. #: guix-git/doc/guix.texi:19805
  29651. msgid "Whether ALSA applications should transparently be made to use the @uref{https://www.pulseaudio.org/, PulseAudio} sound server."
  29652. msgstr ""
  29653. #. type: table
  29654. #: guix-git/doc/guix.texi:19809
  29655. 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."
  29656. msgstr ""
  29657. #. type: item
  29658. #: guix-git/doc/guix.texi:19810
  29659. #, no-wrap
  29660. msgid "@code{extra-options} (default: @var{\"\"})"
  29661. msgstr ""
  29662. #. type: table
  29663. #: guix-git/doc/guix.texi:19812
  29664. msgid "String to append to the @file{/etc/asound.conf} file."
  29665. msgstr ""
  29666. #. type: Plain text
  29667. #: guix-git/doc/guix.texi:19818
  29668. msgid "Individual users who want to override the system configuration of ALSA can do it with the @file{~/.asoundrc} file:"
  29669. msgstr ""
  29670. #. type: example
  29671. #: guix-git/doc/guix.texi:19824
  29672. #, no-wrap
  29673. msgid ""
  29674. "# In guix, we have to specify the absolute path for plugins.\n"
  29675. "pcm_type.jack @{\n"
  29676. " lib \"/home/alice/.guix-profile/lib/alsa-lib/libasound_module_pcm_jack.so\"\n"
  29677. "@}\n"
  29678. "\n"
  29679. msgstr ""
  29680. #. type: example
  29681. #: guix-git/doc/guix.texi:19833
  29682. #, no-wrap
  29683. msgid ""
  29684. "# Routing ALSA to jack:\n"
  29685. "# <http://jackaudio.org/faq/routing_alsa.html>.\n"
  29686. "pcm.rawjack @{\n"
  29687. " type jack\n"
  29688. " playback_ports @{\n"
  29689. " 0 system:playback_1\n"
  29690. " 1 system:playback_2\n"
  29691. " @}\n"
  29692. "\n"
  29693. msgstr ""
  29694. #. type: example
  29695. #: guix-git/doc/guix.texi:19839
  29696. #, no-wrap
  29697. msgid ""
  29698. " capture_ports @{\n"
  29699. " 0 system:capture_1\n"
  29700. " 1 system:capture_2\n"
  29701. " @}\n"
  29702. "@}\n"
  29703. "\n"
  29704. msgstr ""
  29705. #. type: example
  29706. #: guix-git/doc/guix.texi:19846
  29707. #, no-wrap
  29708. msgid ""
  29709. "pcm.!default @{\n"
  29710. " type plug\n"
  29711. " slave @{\n"
  29712. " pcm \"rawjack\"\n"
  29713. " @}\n"
  29714. "@}\n"
  29715. msgstr ""
  29716. #. type: Plain text
  29717. #: guix-git/doc/guix.texi:19850
  29718. msgid "See @uref{https://www.alsa-project.org/main/index.php/Asoundrc} for the details."
  29719. msgstr ""
  29720. #. type: deffn
  29721. #: guix-git/doc/guix.texi:19851
  29722. #, no-wrap
  29723. msgid "{Scheme Variable} pulseaudio-service-type"
  29724. msgstr ""
  29725. #. type: deffn
  29726. #: guix-git/doc/guix.texi:19855
  29727. 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."
  29728. msgstr ""
  29729. #. type: quotation
  29730. #: guix-git/doc/guix.texi:19861
  29731. 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}."
  29732. msgstr ""
  29733. #. type: quotation
  29734. #: guix-git/doc/guix.texi:19869
  29735. 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."
  29736. msgstr ""
  29737. #. type: deftp
  29738. #: guix-git/doc/guix.texi:19872
  29739. #, no-wrap
  29740. msgid "{Data Type} pulseaudio-configuration"
  29741. msgstr ""
  29742. #. type: deftp
  29743. #: guix-git/doc/guix.texi:19874
  29744. msgid "Data type representing the configuration for @code{pulseaudio-service}."
  29745. msgstr ""
  29746. #. type: item
  29747. #: guix-git/doc/guix.texi:19876
  29748. #, no-wrap
  29749. msgid "@code{client-conf} (default: @code{'()})"
  29750. msgstr ""
  29751. #. type: table
  29752. #: guix-git/doc/guix.texi:19881
  29753. 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."
  29754. msgstr ""
  29755. #. type: item
  29756. #: guix-git/doc/guix.texi:19882
  29757. #, no-wrap
  29758. msgid "@code{daemon-conf} (default: @code{'((flat-volumes . no))})"
  29759. msgstr ""
  29760. #. type: table
  29761. #: guix-git/doc/guix.texi:19885
  29762. msgid "List of settings to set in @file{daemon.conf}, formatted just like @var{client-conf}."
  29763. msgstr ""
  29764. #. type: item
  29765. #: guix-git/doc/guix.texi:19886
  29766. #, no-wrap
  29767. msgid "@code{script-file} (default: @code{(file-append pulseaudio \"/etc/pulse/default.pa\")})"
  29768. msgstr ""
  29769. #. type: table
  29770. #: guix-git/doc/guix.texi:19888
  29771. msgid "Script file to use as @file{default.pa}."
  29772. msgstr ""
  29773. #. type: item
  29774. #: guix-git/doc/guix.texi:19889
  29775. #, no-wrap
  29776. msgid "@code{system-script-file} (default: @code{(file-append pulseaudio \"/etc/pulse/system.pa\")})"
  29777. msgstr ""
  29778. #. type: table
  29779. #: guix-git/doc/guix.texi:19891
  29780. msgid "Script file to use as @file{system.pa}."
  29781. msgstr ""
  29782. #. type: deffn
  29783. #: guix-git/doc/guix.texi:19894
  29784. #, no-wrap
  29785. msgid "{Scheme Variable} ladspa-service-type"
  29786. msgstr ""
  29787. #. type: deffn
  29788. #: guix-git/doc/guix.texi:19897
  29789. msgid "This service sets the @var{LADSPA_PATH} variable, so that programs, which respect it, e.g. PulseAudio, can load LADSPA plugins."
  29790. msgstr ""
  29791. #. type: deffn
  29792. #: guix-git/doc/guix.texi:19900
  29793. msgid "The following example will setup the service to enable modules from the @code{swh-plugins} package:"
  29794. msgstr ""
  29795. #. type: lisp
  29796. #: guix-git/doc/guix.texi:19904
  29797. #, no-wrap
  29798. msgid ""
  29799. "(service ladspa-service-type\n"
  29800. " (ladspa-configuration (plugins (list swh-plugins))))\n"
  29801. msgstr ""
  29802. #. type: deffn
  29803. #: guix-git/doc/guix.texi:19908
  29804. msgid "See @uref{http://plugin.org.uk/ladspa-swh/docs/ladspa-swh.html} for the details."
  29805. msgstr ""
  29806. #. type: cindex
  29807. #: guix-git/doc/guix.texi:19915
  29808. #, no-wrap
  29809. msgid "SQL"
  29810. msgstr ""
  29811. #. type: Plain text
  29812. #: guix-git/doc/guix.texi:19917
  29813. msgid "The @code{(gnu services databases)} module provides the following services."
  29814. msgstr ""
  29815. #. type: subsubheading
  29816. #: guix-git/doc/guix.texi:19918
  29817. #, no-wrap
  29818. msgid "PostgreSQL"
  29819. msgstr ""
  29820. #. type: Plain text
  29821. #: guix-git/doc/guix.texi:19922
  29822. msgid "The following example describes a PostgreSQL service with the default configuration."
  29823. msgstr ""
  29824. #. type: lisp
  29825. #: guix-git/doc/guix.texi:19927
  29826. #, no-wrap
  29827. msgid ""
  29828. "(service postgresql-service-type\n"
  29829. " (postgresql-configuration\n"
  29830. " (postgresql postgresql-10)))\n"
  29831. msgstr ""
  29832. #. type: Plain text
  29833. #: guix-git/doc/guix.texi:19933
  29834. 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."
  29835. msgstr ""
  29836. #. type: Plain text
  29837. #: guix-git/doc/guix.texi:19940
  29838. 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."
  29839. msgstr ""
  29840. #. type: example
  29841. #: guix-git/doc/guix.texi:19945
  29842. #, no-wrap
  29843. msgid ""
  29844. "sudo -u postgres -s /bin/sh\n"
  29845. "createuser --interactive\n"
  29846. "createdb $MY_USER_LOGIN # Replace appropriately.\n"
  29847. msgstr ""
  29848. #. type: deftp
  29849. #: guix-git/doc/guix.texi:19947
  29850. #, no-wrap
  29851. msgid "{Data Type} postgresql-configuration"
  29852. msgstr ""
  29853. #. type: deftp
  29854. #: guix-git/doc/guix.texi:19950
  29855. msgid "Data type representing the configuration for the @code{postgresql-service-type}."
  29856. msgstr ""
  29857. #. type: code{#1}
  29858. #: guix-git/doc/guix.texi:19952
  29859. #, no-wrap
  29860. msgid "postgresql"
  29861. msgstr ""
  29862. #. type: table
  29863. #: guix-git/doc/guix.texi:19954
  29864. msgid "PostgreSQL package to use for the service."
  29865. msgstr ""
  29866. #. type: item
  29867. #: guix-git/doc/guix.texi:19955
  29868. #, no-wrap
  29869. msgid "@code{port} (default: @code{5432})"
  29870. msgstr ""
  29871. #. type: table
  29872. #: guix-git/doc/guix.texi:19957
  29873. msgid "Port on which PostgreSQL should listen."
  29874. msgstr ""
  29875. #. type: table
  29876. #: guix-git/doc/guix.texi:19960
  29877. msgid "Locale to use as the default when creating the database cluster."
  29878. msgstr ""
  29879. #. type: item
  29880. #: guix-git/doc/guix.texi:19961
  29881. #, no-wrap
  29882. msgid "@code{config-file} (default: @code{(postgresql-config-file)})"
  29883. msgstr ""
  29884. #. type: table
  29885. #: guix-git/doc/guix.texi:19965
  29886. 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."
  29887. msgstr ""
  29888. #. type: item
  29889. #: guix-git/doc/guix.texi:19966
  29890. #, no-wrap
  29891. msgid "@code{log-directory} (default: @code{\"/var/log/postgresql\"})"
  29892. msgstr ""
  29893. #. type: table
  29894. #: guix-git/doc/guix.texi:19970
  29895. 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."
  29896. msgstr ""
  29897. #. type: item
  29898. #: guix-git/doc/guix.texi:19971
  29899. #, no-wrap
  29900. msgid "@code{data-directory} (default: @code{\"/var/lib/postgresql/data\"})"
  29901. msgstr ""
  29902. #. type: table
  29903. #: guix-git/doc/guix.texi:19973
  29904. msgid "Directory in which to store the data."
  29905. msgstr ""
  29906. #. type: item
  29907. #: guix-git/doc/guix.texi:19974
  29908. #, no-wrap
  29909. msgid "@code{extension-packages} (default: @code{'()})"
  29910. msgstr ""
  29911. #. type: cindex
  29912. #: guix-git/doc/guix.texi:19975
  29913. #, no-wrap
  29914. msgid "postgresql extension-packages"
  29915. msgstr ""
  29916. #. type: table
  29917. #: guix-git/doc/guix.texi:19980
  29918. 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:"
  29919. msgstr ""
  29920. #. type: cindex
  29921. #: guix-git/doc/guix.texi:19981
  29922. #, no-wrap
  29923. msgid "postgis"
  29924. msgstr ""
  29925. #. type: lisp
  29926. #: guix-git/doc/guix.texi:19984
  29927. #, no-wrap
  29928. msgid ""
  29929. "(use-package-modules databases geo)\n"
  29930. "\n"
  29931. msgstr ""
  29932. #. type: lisp
  29933. #: guix-git/doc/guix.texi:19997
  29934. #, no-wrap
  29935. msgid ""
  29936. "(operating-system\n"
  29937. " ...\n"
  29938. " ;; postgresql is required to run `psql' but postgis is not required for\n"
  29939. " ;; proper operation.\n"
  29940. " (packages (cons* postgresql %base-packages))\n"
  29941. " (services\n"
  29942. " (cons*\n"
  29943. " (service postgresql-service-type\n"
  29944. " (postgresql-configuration\n"
  29945. " (postgresql postgresql-10)\n"
  29946. " (extension-packages (list postgis))))\n"
  29947. " %base-services)))\n"
  29948. msgstr ""
  29949. #. type: table
  29950. #: guix-git/doc/guix.texi:20001
  29951. msgid "Then the extension becomes visible and you can initialise an empty geographic database in this way:"
  29952. msgstr ""
  29953. #. type: example
  29954. #: guix-git/doc/guix.texi:20008
  29955. #, no-wrap
  29956. msgid ""
  29957. "psql -U postgres\n"
  29958. "> create database postgistest;\n"
  29959. "> \\connect postgistest;\n"
  29960. "> create extension postgis;\n"
  29961. "> create extension postgis_topology;\n"
  29962. msgstr ""
  29963. #. type: table
  29964. #: guix-git/doc/guix.texi:20013
  29965. 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."
  29966. msgstr ""
  29967. #. type: deftp
  29968. #: guix-git/doc/guix.texi:20017
  29969. #, no-wrap
  29970. msgid "{Data Type} postgresql-config-file"
  29971. msgstr ""
  29972. #. type: deftp
  29973. #: guix-git/doc/guix.texi:20023
  29974. 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."
  29975. msgstr ""
  29976. #. type: lisp
  29977. #: guix-git/doc/guix.texi:20043
  29978. #, no-wrap
  29979. msgid ""
  29980. "(service postgresql-service-type\n"
  29981. " (postgresql-configuration\n"
  29982. " (config-file\n"
  29983. " (postgresql-config-file\n"
  29984. " (log-destination \"stderr\")\n"
  29985. " (hba-file\n"
  29986. " (plain-file \"pg_hba.conf\"\n"
  29987. " \"\n"
  29988. "local\tall\tall\t\t\ttrust\n"
  29989. "host\tall\tall\t127.0.0.1/32 \tmd5\n"
  29990. "host\tall\tall\t::1/128 \tmd5\"))\n"
  29991. " (extra-config\n"
  29992. " '((\"session_preload_libraries\" \"auto_explain\")\n"
  29993. " (\"random_page_cost\" 2)\n"
  29994. " (\"auto_explain.log_min_duration\" \"100 ms\")\n"
  29995. " (\"work_mem\" \"500 MB\")\n"
  29996. " (\"logging_collector\" #t)\n"
  29997. " (\"log_directory\" \"/var/log/postgresql\")))))))\n"
  29998. msgstr ""
  29999. #. type: item
  30000. #: guix-git/doc/guix.texi:20046
  30001. #, no-wrap
  30002. msgid "@code{log-destination} (default: @code{\"syslog\"})"
  30003. msgstr ""
  30004. #. type: table
  30005. #: guix-git/doc/guix.texi:20049
  30006. msgid "The logging method to use for PostgreSQL@. Multiple values are accepted, separated by commas."
  30007. msgstr ""
  30008. #. type: item
  30009. #: guix-git/doc/guix.texi:20050
  30010. #, no-wrap
  30011. msgid "@code{hba-file} (default: @code{%default-postgres-hba})"
  30012. msgstr ""
  30013. #. type: table
  30014. #: guix-git/doc/guix.texi:20053
  30015. msgid "Filename or G-expression for the host-based authentication configuration."
  30016. msgstr ""
  30017. #. type: item
  30018. #: guix-git/doc/guix.texi:20054
  30019. #, no-wrap
  30020. msgid "@code{ident-file} (default: @code{%default-postgres-ident})"
  30021. msgstr ""
  30022. #. type: table
  30023. #: guix-git/doc/guix.texi:20056
  30024. msgid "Filename or G-expression for the user name mapping configuration."
  30025. msgstr ""
  30026. #. type: item
  30027. #: guix-git/doc/guix.texi:20057
  30028. #, no-wrap
  30029. msgid "@code{socket-directory} (default: @code{#false})"
  30030. msgstr ""
  30031. #. type: table
  30032. #: guix-git/doc/guix.texi:20062
  30033. 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."
  30034. msgstr ""
  30035. #. type: table
  30036. #: guix-git/doc/guix.texi:20065
  30037. msgid "By default, the @code{#false} value means the PostgreSQL default value will be used, which is currently @samp{/tmp}."
  30038. msgstr ""
  30039. #. type: table
  30040. #: guix-git/doc/guix.texi:20070
  30041. 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."
  30042. msgstr ""
  30043. #. type: table
  30044. #: guix-git/doc/guix.texi:20076
  30045. 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}."
  30046. msgstr ""
  30047. #. type: deffn
  30048. #: guix-git/doc/guix.texi:20080
  30049. #, no-wrap
  30050. msgid "{Scheme Variable} postgresql-role-service-type"
  30051. msgstr ""
  30052. #. type: deffn
  30053. #: guix-git/doc/guix.texi:20083
  30054. msgid "This service allows to create PostgreSQL roles and databases after PostgreSQL service start. Here is an example of its use."
  30055. msgstr ""
  30056. #. type: lisp
  30057. #: guix-git/doc/guix.texi:20091
  30058. #, no-wrap
  30059. msgid ""
  30060. "(service postgresql-role-service-type\n"
  30061. " (postgresql-role-configuration\n"
  30062. " (roles\n"
  30063. " (list (postgresql-role\n"
  30064. " (name \"test\")\n"
  30065. " (create-database? #t))))))\n"
  30066. msgstr ""
  30067. #. type: deffn
  30068. #: guix-git/doc/guix.texi:20095
  30069. msgid "This service can be extended with extra roles, as in this example:"
  30070. msgstr ""
  30071. #. type: lisp
  30072. #: guix-git/doc/guix.texi:20101
  30073. #, no-wrap
  30074. msgid ""
  30075. "(service-extension postgresql-role-service-type\n"
  30076. " (const (postgresql-role\n"
  30077. " (name \"alice\")\n"
  30078. " (create-database? #t))))\n"
  30079. msgstr ""
  30080. #. type: deftp
  30081. #: guix-git/doc/guix.texi:20104
  30082. #, no-wrap
  30083. msgid "{Data Type} postgresql-role"
  30084. msgstr ""
  30085. #. type: deftp
  30086. #: guix-git/doc/guix.texi:20110
  30087. 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."
  30088. msgstr ""
  30089. #. type: table
  30090. #: guix-git/doc/guix.texi:20114
  30091. msgid "The role name."
  30092. msgstr ""
  30093. #. type: item
  30094. #: guix-git/doc/guix.texi:20115
  30095. #, no-wrap
  30096. msgid "@code{permissions} (default: @code{'(createdb login)})"
  30097. msgstr ""
  30098. #. type: table
  30099. #: guix-git/doc/guix.texi:20119
  30100. msgid "The role permissions list. Supported permissions are @code{bypassrls}, @code{createdb}, @code{createrole}, @code{login}, @code{replication} and @code{superuser}."
  30101. msgstr ""
  30102. #. type: item
  30103. #: guix-git/doc/guix.texi:20120
  30104. #, no-wrap
  30105. msgid "@code{create-database?} (default: @code{#f})"
  30106. msgstr ""
  30107. #. type: table
  30108. #: guix-git/doc/guix.texi:20122
  30109. msgid "Whether to create a database with the same name as the role."
  30110. msgstr ""
  30111. #. type: deftp
  30112. #: guix-git/doc/guix.texi:20126
  30113. #, no-wrap
  30114. msgid "{Data Type} postgresql-role-configuration"
  30115. msgstr ""
  30116. #. type: deftp
  30117. #: guix-git/doc/guix.texi:20129
  30118. msgid "Data type representing the configuration of @var{postgresql-role-service-type}."
  30119. msgstr ""
  30120. #. type: item
  30121. #: guix-git/doc/guix.texi:20131
  30122. #, no-wrap
  30123. msgid "@code{host} (default: @code{\"/var/run/postgresql\"})"
  30124. msgstr ""
  30125. #. type: table
  30126. #: guix-git/doc/guix.texi:20133
  30127. msgid "The PostgreSQL host to connect to."
  30128. msgstr ""
  30129. #. type: item
  30130. #: guix-git/doc/guix.texi:20134
  30131. #, no-wrap
  30132. msgid "@code{log} (default: @code{\"/var/log/postgresql_roles.log\"})"
  30133. msgstr ""
  30134. #. type: table
  30135. #: guix-git/doc/guix.texi:20136
  30136. msgid "File name of the log file."
  30137. msgstr ""
  30138. #. type: item
  30139. #: guix-git/doc/guix.texi:20137
  30140. #, no-wrap
  30141. msgid "@code{roles} (default: @code{'()})"
  30142. msgstr ""
  30143. #. type: table
  30144. #: guix-git/doc/guix.texi:20139
  30145. msgid "The initial PostgreSQL roles to create."
  30146. msgstr ""
  30147. #. type: subsubheading
  30148. #: guix-git/doc/guix.texi:20142
  30149. #, no-wrap
  30150. msgid "MariaDB/MySQL"
  30151. msgstr ""
  30152. #. type: defvr
  30153. #: guix-git/doc/guix.texi:20144
  30154. #, no-wrap
  30155. msgid "{Scheme Variable} mysql-service-type"
  30156. msgstr ""
  30157. #. type: defvr
  30158. #: guix-git/doc/guix.texi:20148
  30159. 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."
  30160. msgstr ""
  30161. #. type: deftp
  30162. #: guix-git/doc/guix.texi:20150
  30163. #, no-wrap
  30164. msgid "{Data Type} mysql-configuration"
  30165. msgstr ""
  30166. #. type: deftp
  30167. #: guix-git/doc/guix.texi:20152
  30168. msgid "Data type representing the configuration of @var{mysql-service-type}."
  30169. msgstr ""
  30170. #. type: item
  30171. #: guix-git/doc/guix.texi:20154
  30172. #, no-wrap
  30173. msgid "@code{mysql} (default: @var{mariadb})"
  30174. msgstr ""
  30175. #. type: table
  30176. #: guix-git/doc/guix.texi:20157
  30177. msgid "Package object of the MySQL database server, can be either @var{mariadb} or @var{mysql}."
  30178. msgstr ""
  30179. #. type: table
  30180. #: guix-git/doc/guix.texi:20160
  30181. msgid "For MySQL, a temporary root password will be displayed at activation time. For MariaDB, the root password is empty."
  30182. msgstr ""
  30183. #. type: item
  30184. #: guix-git/doc/guix.texi:20161 guix-git/doc/guix.texi:23981
  30185. #, no-wrap
  30186. msgid "@code{bind-address} (default: @code{\"127.0.0.1\"})"
  30187. msgstr ""
  30188. #. type: table
  30189. #: guix-git/doc/guix.texi:20164
  30190. msgid "The IP on which to listen for network connections. Use @code{\"0.0.0.0\"} to bind to all available network interfaces."
  30191. msgstr ""
  30192. #. type: item
  30193. #: guix-git/doc/guix.texi:20165
  30194. #, no-wrap
  30195. msgid "@code{port} (default: @code{3306})"
  30196. msgstr ""
  30197. #. type: table
  30198. #: guix-git/doc/guix.texi:20167
  30199. msgid "TCP port on which the database server listens for incoming connections."
  30200. msgstr ""
  30201. #. type: item
  30202. #: guix-git/doc/guix.texi:20168
  30203. #, no-wrap
  30204. msgid "@code{socket} (default: @code{\"/run/mysqld/mysqld.sock\"})"
  30205. msgstr ""
  30206. #. type: table
  30207. #: guix-git/doc/guix.texi:20170
  30208. msgid "Socket file to use for local (non-network) connections."
  30209. msgstr ""
  30210. #. type: table
  30211. #: guix-git/doc/guix.texi:20173
  30212. msgid "Additional settings for the @file{my.cnf} configuration file."
  30213. msgstr ""
  30214. #. type: item
  30215. #: guix-git/doc/guix.texi:20174
  30216. #, no-wrap
  30217. msgid "@code{extra-environment} (default: @code{#~'()})"
  30218. msgstr ""
  30219. #. type: table
  30220. #: guix-git/doc/guix.texi:20176
  30221. msgid "List of environment variables passed to the @command{mysqld} process."
  30222. msgstr ""
  30223. #. type: item
  30224. #: guix-git/doc/guix.texi:20177
  30225. #, no-wrap
  30226. msgid "@code{auto-upgrade?} (default: @code{#t})"
  30227. msgstr ""
  30228. #. type: table
  30229. #: guix-git/doc/guix.texi:20182
  30230. 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."
  30231. msgstr ""
  30232. #. type: subsubheading
  30233. #: guix-git/doc/guix.texi:20186
  30234. #, no-wrap
  30235. msgid "Memcached"
  30236. msgstr ""
  30237. #. type: defvr
  30238. #: guix-git/doc/guix.texi:20188
  30239. #, no-wrap
  30240. msgid "{Scheme Variable} memcached-service-type"
  30241. msgstr ""
  30242. #. type: defvr
  30243. #: guix-git/doc/guix.texi:20192
  30244. 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."
  30245. msgstr ""
  30246. #. type: lisp
  30247. #: guix-git/doc/guix.texi:20196
  30248. #, no-wrap
  30249. msgid "(service memcached-service-type)\n"
  30250. msgstr ""
  30251. #. type: deftp
  30252. #: guix-git/doc/guix.texi:20198
  30253. #, no-wrap
  30254. msgid "{Data Type} memcached-configuration"
  30255. msgstr ""
  30256. #. type: deftp
  30257. #: guix-git/doc/guix.texi:20200
  30258. msgid "Data type representing the configuration of memcached."
  30259. msgstr ""
  30260. #. type: item
  30261. #: guix-git/doc/guix.texi:20202
  30262. #, no-wrap
  30263. msgid "@code{memcached} (default: @code{memcached})"
  30264. msgstr ""
  30265. #. type: table
  30266. #: guix-git/doc/guix.texi:20204
  30267. msgid "The Memcached package to use."
  30268. msgstr ""
  30269. #. type: item
  30270. #: guix-git/doc/guix.texi:20205
  30271. #, no-wrap
  30272. msgid "@code{interfaces} (default: @code{'(\"0.0.0.0\")})"
  30273. msgstr ""
  30274. #. type: table
  30275. #: guix-git/doc/guix.texi:20207
  30276. msgid "Network interfaces on which to listen."
  30277. msgstr ""
  30278. #. type: item
  30279. #: guix-git/doc/guix.texi:20208
  30280. #, no-wrap
  30281. msgid "@code{tcp-port} (default: @code{11211})"
  30282. msgstr ""
  30283. #. type: table
  30284. #: guix-git/doc/guix.texi:20210
  30285. msgid "Port on which to accept connections."
  30286. msgstr ""
  30287. #. type: item
  30288. #: guix-git/doc/guix.texi:20211
  30289. #, no-wrap
  30290. msgid "@code{udp-port} (default: @code{11211})"
  30291. msgstr ""
  30292. #. type: table
  30293. #: guix-git/doc/guix.texi:20214
  30294. msgid "Port on which to accept UDP connections on, a value of 0 will disable listening on a UDP socket."
  30295. msgstr ""
  30296. #. type: item
  30297. #: guix-git/doc/guix.texi:20215
  30298. #, no-wrap
  30299. msgid "@code{additional-options} (default: @code{'()})"
  30300. msgstr ""
  30301. #. type: table
  30302. #: guix-git/doc/guix.texi:20217
  30303. msgid "Additional command line options to pass to @code{memcached}."
  30304. msgstr ""
  30305. #. type: subsubheading
  30306. #: guix-git/doc/guix.texi:20220
  30307. #, no-wrap
  30308. msgid "Redis"
  30309. msgstr ""
  30310. #. type: defvr
  30311. #: guix-git/doc/guix.texi:20222
  30312. #, no-wrap
  30313. msgid "{Scheme Variable} redis-service-type"
  30314. msgstr ""
  30315. #. type: defvr
  30316. #: guix-git/doc/guix.texi:20225
  30317. msgid "This is the service type for the @uref{https://redis.io/, Redis} key/value store, whose value is a @code{redis-configuration} object."
  30318. msgstr ""
  30319. #. type: deftp
  30320. #: guix-git/doc/guix.texi:20227
  30321. #, no-wrap
  30322. msgid "{Data Type} redis-configuration"
  30323. msgstr ""
  30324. #. type: deftp
  30325. #: guix-git/doc/guix.texi:20229
  30326. msgid "Data type representing the configuration of redis."
  30327. msgstr ""
  30328. #. type: item
  30329. #: guix-git/doc/guix.texi:20231
  30330. #, no-wrap
  30331. msgid "@code{redis} (default: @code{redis})"
  30332. msgstr ""
  30333. #. type: table
  30334. #: guix-git/doc/guix.texi:20233
  30335. msgid "The Redis package to use."
  30336. msgstr ""
  30337. #. type: item
  30338. #: guix-git/doc/guix.texi:20234
  30339. #, no-wrap
  30340. msgid "@code{bind} (default: @code{\"127.0.0.1\"})"
  30341. msgstr ""
  30342. #. type: table
  30343. #: guix-git/doc/guix.texi:20236
  30344. msgid "Network interface on which to listen."
  30345. msgstr ""
  30346. #. type: item
  30347. #: guix-git/doc/guix.texi:20237
  30348. #, no-wrap
  30349. msgid "@code{port} (default: @code{6379})"
  30350. msgstr ""
  30351. #. type: table
  30352. #: guix-git/doc/guix.texi:20240
  30353. msgid "Port on which to accept connections on, a value of 0 will disable listening on a TCP socket."
  30354. msgstr ""
  30355. #. type: item
  30356. #: guix-git/doc/guix.texi:20241
  30357. #, no-wrap
  30358. msgid "@code{working-directory} (default: @code{\"/var/lib/redis\"})"
  30359. msgstr ""
  30360. #. type: table
  30361. #: guix-git/doc/guix.texi:20243
  30362. msgid "Directory in which to store the database and related files."
  30363. msgstr ""
  30364. #. type: cindex
  30365. #: guix-git/doc/guix.texi:20249
  30366. #, no-wrap
  30367. msgid "mail"
  30368. msgstr ""
  30369. #. type: cindex
  30370. #: guix-git/doc/guix.texi:20250
  30371. #, no-wrap
  30372. msgid "email"
  30373. msgstr ""
  30374. #. type: Plain text
  30375. #: guix-git/doc/guix.texi:20255
  30376. 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."
  30377. msgstr ""
  30378. #. type: subsubheading
  30379. #: guix-git/doc/guix.texi:20256
  30380. #, no-wrap
  30381. msgid "Dovecot Service"
  30382. msgstr ""
  30383. #. type: deffn
  30384. #: guix-git/doc/guix.texi:20258
  30385. #, no-wrap
  30386. msgid "{Scheme Procedure} dovecot-service [#:config (dovecot-configuration)]"
  30387. msgstr ""
  30388. #. type: deffn
  30389. #: guix-git/doc/guix.texi:20260
  30390. msgid "Return a service that runs the Dovecot IMAP/POP3/LMTP mail server."
  30391. msgstr ""
  30392. #. type: Plain text
  30393. #: guix-git/doc/guix.texi:20270
  30394. 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."
  30395. msgstr ""
  30396. #. type: Plain text
  30397. #: guix-git/doc/guix.texi:20273
  30398. msgid "For example, to specify that mail is located at @code{maildir~/.mail}, one would instantiate the Dovecot service like this:"
  30399. msgstr ""
  30400. #. type: lisp
  30401. #: guix-git/doc/guix.texi:20278
  30402. #, no-wrap
  30403. msgid ""
  30404. "(dovecot-service #:config\n"
  30405. " (dovecot-configuration\n"
  30406. " (mail-location \"maildir:~/.mail\")))\n"
  30407. msgstr ""
  30408. #. type: Plain text
  30409. #: guix-git/doc/guix.texi:20286
  30410. 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."
  30411. msgstr ""
  30412. #. type: Plain text
  30413. #: guix-git/doc/guix.texi:20296
  30414. msgid "Available @code{dovecot-configuration} fields are:"
  30415. msgstr ""
  30416. #. type: deftypevr
  30417. #: guix-git/doc/guix.texi:20297
  30418. #, no-wrap
  30419. msgid "{@code{dovecot-configuration} parameter} package dovecot"
  30420. msgstr ""
  30421. #. type: deftypevr
  30422. #: guix-git/doc/guix.texi:20299 guix-git/doc/guix.texi:21648
  30423. msgid "The dovecot package."
  30424. msgstr ""
  30425. #. type: deftypevr
  30426. #: guix-git/doc/guix.texi:20301
  30427. #, no-wrap
  30428. msgid "{@code{dovecot-configuration} parameter} comma-separated-string-list listen"
  30429. msgstr ""
  30430. #. type: deftypevr
  30431. #: guix-git/doc/guix.texi:20307
  30432. 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."
  30433. msgstr ""
  30434. #. type: deftypevr
  30435. #: guix-git/doc/guix.texi:20309
  30436. #, no-wrap
  30437. msgid "{@code{dovecot-configuration} parameter} protocol-configuration-list protocols"
  30438. msgstr ""
  30439. #. type: deftypevr
  30440. #: guix-git/doc/guix.texi:20312
  30441. msgid "List of protocols we want to serve. Available protocols include @samp{imap}, @samp{pop3}, and @samp{lmtp}."
  30442. msgstr ""
  30443. #. type: deftypevr
  30444. #: guix-git/doc/guix.texi:20314
  30445. msgid "Available @code{protocol-configuration} fields are:"
  30446. msgstr ""
  30447. #. type: deftypevr
  30448. #: guix-git/doc/guix.texi:20315
  30449. #, no-wrap
  30450. msgid "{@code{protocol-configuration} parameter} string name"
  30451. msgstr ""
  30452. #. type: deftypevr
  30453. #: guix-git/doc/guix.texi:20317
  30454. msgid "The name of the protocol."
  30455. msgstr ""
  30456. #. type: deftypevr
  30457. #: guix-git/doc/guix.texi:20319
  30458. #, no-wrap
  30459. msgid "{@code{protocol-configuration} parameter} string auth-socket-path"
  30460. msgstr ""
  30461. #. type: deftypevr
  30462. #: guix-git/doc/guix.texi:20323
  30463. 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\"}."
  30464. msgstr ""
  30465. #. type: deftypevr
  30466. #: guix-git/doc/guix.texi:20325
  30467. #, no-wrap
  30468. msgid "{@code{protocol-configuration} parameter} boolean imap-metadata?"
  30469. msgstr ""
  30470. #. type: deftypevr
  30471. #: guix-git/doc/guix.texi:20330
  30472. msgid "Whether to enable the @code{IMAP METADATA} extension as defined in @uref{https://tools.ietf.org/html/rfc5464,RFC@tie{}5464}, which provides a means for clients to set and retrieve per-mailbox, per-user metadata and annotations over IMAP."
  30473. msgstr ""
  30474. #. type: deftypevr
  30475. #: guix-git/doc/guix.texi:20333
  30476. msgid "If this is @samp{#t}, you must also specify a dictionary @i{via} the @code{mail-attribute-dict} setting."
  30477. msgstr ""
  30478. #. type: deftypevr
  30479. #: guix-git/doc/guix.texi:20338
  30480. #, no-wrap
  30481. msgid "{@code{protocol-configuration} parameter} space-separated-string-list managesieve-notify-capabilities"
  30482. msgstr ""
  30483. #. type: deftypevr
  30484. #: guix-git/doc/guix.texi:20343
  30485. msgid "Which NOTIFY capabilities to report to clients that first connect to the ManageSieve service, before authentication. These may differ from the capabilities offered to authenticated users. If this field is left empty, report what the Sieve interpreter supports by default."
  30486. msgstr ""
  30487. #. type: deftypevr
  30488. #: guix-git/doc/guix.texi:20347
  30489. #, no-wrap
  30490. msgid "{@code{protocol-configuration} parameter} space-separated-string-list managesieve-sieve-capability"
  30491. msgstr ""
  30492. #. type: deftypevr
  30493. #: guix-git/doc/guix.texi:20352
  30494. msgid "Which SIEVE capabilities to report to clients that first connect to the ManageSieve service, before authentication. These may differ from the capabilities offered to authenticated users. If this field is left empty, report what the Sieve interpreter supports by default."
  30495. msgstr ""
  30496. #. type: deftypevr
  30497. #: guix-git/doc/guix.texi:20357
  30498. #, no-wrap
  30499. msgid "{@code{protocol-configuration} parameter} space-separated-string-list mail-plugins"
  30500. msgstr ""
  30501. #. type: deftypevr
  30502. #: guix-git/doc/guix.texi:20359
  30503. msgid "Space separated list of plugins to load."
  30504. msgstr ""
  30505. #. type: deftypevr
  30506. #: guix-git/doc/guix.texi:20361
  30507. #, no-wrap
  30508. msgid "{@code{protocol-configuration} parameter} non-negative-integer mail-max-userip-connections"
  30509. msgstr ""
  30510. #. type: deftypevr
  30511. #: guix-git/doc/guix.texi:20365
  30512. 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}."
  30513. msgstr ""
  30514. #. type: deftypevr
  30515. #: guix-git/doc/guix.texi:20369
  30516. #, no-wrap
  30517. msgid "{@code{dovecot-configuration} parameter} service-configuration-list services"
  30518. msgstr ""
  30519. #. type: deftypevr
  30520. #: guix-git/doc/guix.texi:20373
  30521. msgid "List of services to enable. Available services include @samp{imap}, @samp{imap-login}, @samp{pop3}, @samp{pop3-login}, @samp{auth}, and @samp{lmtp}."
  30522. msgstr ""
  30523. #. type: deftypevr
  30524. #: guix-git/doc/guix.texi:20375
  30525. msgid "Available @code{service-configuration} fields are:"
  30526. msgstr ""
  30527. #. type: deftypevr
  30528. #: guix-git/doc/guix.texi:20376
  30529. #, no-wrap
  30530. msgid "{@code{service-configuration} parameter} string kind"
  30531. msgstr ""
  30532. #. type: deftypevr
  30533. #: guix-git/doc/guix.texi:20381
  30534. 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."
  30535. msgstr ""
  30536. #. type: deftypevr
  30537. #: guix-git/doc/guix.texi:20383
  30538. #, no-wrap
  30539. msgid "{@code{service-configuration} parameter} listener-configuration-list listeners"
  30540. msgstr ""
  30541. #. type: deftypevr
  30542. #: guix-git/doc/guix.texi:20388
  30543. 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{()}."
  30544. msgstr ""
  30545. #. type: deftypevr
  30546. #: guix-git/doc/guix.texi:20390
  30547. msgid "Available @code{unix-listener-configuration} fields are:"
  30548. msgstr ""
  30549. #. type: deftypevr
  30550. #: guix-git/doc/guix.texi:20391
  30551. #, no-wrap
  30552. msgid "{@code{unix-listener-configuration} parameter} string path"
  30553. msgstr ""
  30554. #. type: deftypevr
  30555. #: guix-git/doc/guix.texi:20394 guix-git/doc/guix.texi:20417
  30556. msgid "Path to the file, relative to @code{base-dir} field. This is also used as the section name."
  30557. msgstr ""
  30558. #. type: deftypevr
  30559. #: guix-git/doc/guix.texi:20396
  30560. #, no-wrap
  30561. msgid "{@code{unix-listener-configuration} parameter} string mode"
  30562. msgstr ""
  30563. #. type: deftypevr
  30564. #: guix-git/doc/guix.texi:20399 guix-git/doc/guix.texi:20422
  30565. msgid "The access mode for the socket. Defaults to @samp{\"0600\"}."
  30566. msgstr ""
  30567. #. type: deftypevr
  30568. #: guix-git/doc/guix.texi:20401
  30569. #, no-wrap
  30570. msgid "{@code{unix-listener-configuration} parameter} string user"
  30571. msgstr ""
  30572. #. type: deftypevr
  30573. #: guix-git/doc/guix.texi:20404 guix-git/doc/guix.texi:20427
  30574. msgid "The user to own the socket. Defaults to @samp{\"\"}."
  30575. msgstr ""
  30576. #. type: deftypevr
  30577. #: guix-git/doc/guix.texi:20406
  30578. #, no-wrap
  30579. msgid "{@code{unix-listener-configuration} parameter} string group"
  30580. msgstr ""
  30581. #. type: deftypevr
  30582. #: guix-git/doc/guix.texi:20409 guix-git/doc/guix.texi:20432
  30583. msgid "The group to own the socket. Defaults to @samp{\"\"}."
  30584. msgstr ""
  30585. #. type: deftypevr
  30586. #: guix-git/doc/guix.texi:20413
  30587. msgid "Available @code{fifo-listener-configuration} fields are:"
  30588. msgstr ""
  30589. #. type: deftypevr
  30590. #: guix-git/doc/guix.texi:20414
  30591. #, no-wrap
  30592. msgid "{@code{fifo-listener-configuration} parameter} string path"
  30593. msgstr ""
  30594. #. type: deftypevr
  30595. #: guix-git/doc/guix.texi:20419
  30596. #, no-wrap
  30597. msgid "{@code{fifo-listener-configuration} parameter} string mode"
  30598. msgstr ""
  30599. #. type: deftypevr
  30600. #: guix-git/doc/guix.texi:20424
  30601. #, no-wrap
  30602. msgid "{@code{fifo-listener-configuration} parameter} string user"
  30603. msgstr ""
  30604. #. type: deftypevr
  30605. #: guix-git/doc/guix.texi:20429
  30606. #, no-wrap
  30607. msgid "{@code{fifo-listener-configuration} parameter} string group"
  30608. msgstr ""
  30609. #. type: deftypevr
  30610. #: guix-git/doc/guix.texi:20436
  30611. msgid "Available @code{inet-listener-configuration} fields are:"
  30612. msgstr ""
  30613. #. type: deftypevr
  30614. #: guix-git/doc/guix.texi:20437
  30615. #, no-wrap
  30616. msgid "{@code{inet-listener-configuration} parameter} string protocol"
  30617. msgstr ""
  30618. #. type: deftypevr
  30619. #: guix-git/doc/guix.texi:20439
  30620. msgid "The protocol to listen for."
  30621. msgstr ""
  30622. #. type: deftypevr
  30623. #: guix-git/doc/guix.texi:20441
  30624. #, no-wrap
  30625. msgid "{@code{inet-listener-configuration} parameter} string address"
  30626. msgstr ""
  30627. #. type: deftypevr
  30628. #: guix-git/doc/guix.texi:20444
  30629. msgid "The address on which to listen, or empty for all addresses. Defaults to @samp{\"\"}."
  30630. msgstr ""
  30631. #. type: deftypevr
  30632. #: guix-git/doc/guix.texi:20446
  30633. #, no-wrap
  30634. msgid "{@code{inet-listener-configuration} parameter} non-negative-integer port"
  30635. msgstr ""
  30636. #. type: deftypevr
  30637. #: guix-git/doc/guix.texi:20448
  30638. msgid "The port on which to listen."
  30639. msgstr ""
  30640. #. type: deftypevr
  30641. #: guix-git/doc/guix.texi:20450
  30642. #, no-wrap
  30643. msgid "{@code{inet-listener-configuration} parameter} boolean ssl?"
  30644. msgstr ""
  30645. #. type: deftypevr
  30646. #: guix-git/doc/guix.texi:20454
  30647. msgid "Whether to use SSL for this service; @samp{yes}, @samp{no}, or @samp{required}. Defaults to @samp{#t}."
  30648. msgstr ""
  30649. #. type: deftypevr
  30650. #: guix-git/doc/guix.texi:20458
  30651. #, no-wrap
  30652. msgid "{@code{service-configuration} parameter} non-negative-integer client-limit"
  30653. msgstr ""
  30654. #. type: deftypevr
  30655. #: guix-git/doc/guix.texi:20463
  30656. 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."
  30657. msgstr ""
  30658. #. type: deftypevr
  30659. #: guix-git/doc/guix.texi:20468
  30660. #, no-wrap
  30661. msgid "{@code{service-configuration} parameter} non-negative-integer service-count"
  30662. msgstr ""
  30663. #. type: deftypevr
  30664. #: guix-git/doc/guix.texi:20473
  30665. 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}."
  30666. msgstr ""
  30667. #. type: deftypevr
  30668. #: guix-git/doc/guix.texi:20476
  30669. #, no-wrap
  30670. msgid "{@code{service-configuration} parameter} non-negative-integer process-limit"
  30671. msgstr ""
  30672. #. type: deftypevr
  30673. #: guix-git/doc/guix.texi:20479
  30674. msgid "Maximum number of processes that can exist for this service. If set to 0, @code{default-process-limit} is used instead."
  30675. msgstr ""
  30676. #. type: deftypevr
  30677. #: guix-git/doc/guix.texi:20484
  30678. #, no-wrap
  30679. msgid "{@code{service-configuration} parameter} non-negative-integer process-min-avail"
  30680. msgstr ""
  30681. #. type: deftypevr
  30682. #: guix-git/doc/guix.texi:20487
  30683. msgid "Number of processes to always keep waiting for more connections. Defaults to @samp{0}."
  30684. msgstr ""
  30685. #. type: deftypevr
  30686. #: guix-git/doc/guix.texi:20489
  30687. #, no-wrap
  30688. msgid "{@code{service-configuration} parameter} non-negative-integer vsz-limit"
  30689. msgstr ""
  30690. #. type: deftypevr
  30691. #: guix-git/doc/guix.texi:20493
  30692. msgid "If you set @samp{service-count 0}, you probably need to grow this. Defaults to @samp{256000000}."
  30693. msgstr ""
  30694. #. type: deftypevr
  30695. #: guix-git/doc/guix.texi:20497
  30696. #, no-wrap
  30697. msgid "{@code{dovecot-configuration} parameter} dict-configuration dict"
  30698. msgstr ""
  30699. #. type: deftypevr
  30700. #: guix-git/doc/guix.texi:20500
  30701. msgid "Dict configuration, as created by the @code{dict-configuration} constructor."
  30702. msgstr ""
  30703. #. type: deftypevr
  30704. #: guix-git/doc/guix.texi:20502
  30705. msgid "Available @code{dict-configuration} fields are:"
  30706. msgstr ""
  30707. #. type: deftypevr
  30708. #: guix-git/doc/guix.texi:20503
  30709. #, no-wrap
  30710. msgid "{@code{dict-configuration} parameter} free-form-fields entries"
  30711. msgstr ""
  30712. #. type: deftypevr
  30713. #: guix-git/doc/guix.texi:20506
  30714. msgid "A list of key-value pairs that this dict should hold. Defaults to @samp{()}."
  30715. msgstr ""
  30716. #. type: deftypevr
  30717. #: guix-git/doc/guix.texi:20510
  30718. #, no-wrap
  30719. msgid "{@code{dovecot-configuration} parameter} passdb-configuration-list passdbs"
  30720. msgstr ""
  30721. #. type: deftypevr
  30722. #: guix-git/doc/guix.texi:20513
  30723. msgid "A list of passdb configurations, each one created by the @code{passdb-configuration} constructor."
  30724. msgstr ""
  30725. #. type: deftypevr
  30726. #: guix-git/doc/guix.texi:20515
  30727. msgid "Available @code{passdb-configuration} fields are:"
  30728. msgstr ""
  30729. #. type: deftypevr
  30730. #: guix-git/doc/guix.texi:20516
  30731. #, no-wrap
  30732. msgid "{@code{passdb-configuration} parameter} string driver"
  30733. msgstr ""
  30734. #. type: deftypevr
  30735. #: guix-git/doc/guix.texi:20521
  30736. 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\"}."
  30737. msgstr ""
  30738. #. type: deftypevr
  30739. #: guix-git/doc/guix.texi:20523
  30740. #, no-wrap
  30741. msgid "{@code{passdb-configuration} parameter} space-separated-string-list args"
  30742. msgstr ""
  30743. #. type: deftypevr
  30744. #: guix-git/doc/guix.texi:20526
  30745. msgid "Space separated list of arguments to the passdb driver. Defaults to @samp{\"\"}."
  30746. msgstr ""
  30747. #. type: deftypevr
  30748. #: guix-git/doc/guix.texi:20530
  30749. #, no-wrap
  30750. msgid "{@code{dovecot-configuration} parameter} userdb-configuration-list userdbs"
  30751. msgstr ""
  30752. #. type: deftypevr
  30753. #: guix-git/doc/guix.texi:20533
  30754. msgid "List of userdb configurations, each one created by the @code{userdb-configuration} constructor."
  30755. msgstr ""
  30756. #. type: deftypevr
  30757. #: guix-git/doc/guix.texi:20535
  30758. msgid "Available @code{userdb-configuration} fields are:"
  30759. msgstr ""
  30760. #. type: deftypevr
  30761. #: guix-git/doc/guix.texi:20536
  30762. #, no-wrap
  30763. msgid "{@code{userdb-configuration} parameter} string driver"
  30764. msgstr ""
  30765. #. type: deftypevr
  30766. #: guix-git/doc/guix.texi:20540
  30767. msgid "The driver that the userdb should use. Valid values include @samp{passwd} and @samp{static}. Defaults to @samp{\"passwd\"}."
  30768. msgstr ""
  30769. #. type: deftypevr
  30770. #: guix-git/doc/guix.texi:20542
  30771. #, no-wrap
  30772. msgid "{@code{userdb-configuration} parameter} space-separated-string-list args"
  30773. msgstr ""
  30774. #. type: deftypevr
  30775. #: guix-git/doc/guix.texi:20545
  30776. msgid "Space separated list of arguments to the userdb driver. Defaults to @samp{\"\"}."
  30777. msgstr ""
  30778. #. type: deftypevr
  30779. #: guix-git/doc/guix.texi:20547
  30780. #, no-wrap
  30781. msgid "{@code{userdb-configuration} parameter} free-form-args override-fields"
  30782. msgstr ""
  30783. #. type: deftypevr
  30784. #: guix-git/doc/guix.texi:20550
  30785. msgid "Override fields from passwd. Defaults to @samp{()}."
  30786. msgstr ""
  30787. #. type: deftypevr
  30788. #: guix-git/doc/guix.texi:20554
  30789. #, no-wrap
  30790. msgid "{@code{dovecot-configuration} parameter} plugin-configuration plugin-configuration"
  30791. msgstr ""
  30792. #. type: deftypevr
  30793. #: guix-git/doc/guix.texi:20557
  30794. msgid "Plug-in configuration, created by the @code{plugin-configuration} constructor."
  30795. msgstr ""
  30796. #. type: deftypevr
  30797. #: guix-git/doc/guix.texi:20559
  30798. #, no-wrap
  30799. msgid "{@code{dovecot-configuration} parameter} list-of-namespace-configuration namespaces"
  30800. msgstr ""
  30801. #. type: deftypevr
  30802. #: guix-git/doc/guix.texi:20562
  30803. msgid "List of namespaces. Each item in the list is created by the @code{namespace-configuration} constructor."
  30804. msgstr ""
  30805. #. type: deftypevr
  30806. #: guix-git/doc/guix.texi:20564
  30807. msgid "Available @code{namespace-configuration} fields are:"
  30808. msgstr ""
  30809. #. type: deftypevr
  30810. #: guix-git/doc/guix.texi:20565
  30811. #, no-wrap
  30812. msgid "{@code{namespace-configuration} parameter} string name"
  30813. msgstr ""
  30814. #. type: deftypevr
  30815. #: guix-git/doc/guix.texi:20567
  30816. msgid "Name for this namespace."
  30817. msgstr ""
  30818. #. type: deftypevr
  30819. #: guix-git/doc/guix.texi:20569
  30820. #, no-wrap
  30821. msgid "{@code{namespace-configuration} parameter} string type"
  30822. msgstr ""
  30823. #. type: deftypevr
  30824. #: guix-git/doc/guix.texi:20572
  30825. msgid "Namespace type: @samp{private}, @samp{shared} or @samp{public}. Defaults to @samp{\"private\"}."
  30826. msgstr ""
  30827. #. type: deftypevr
  30828. #: guix-git/doc/guix.texi:20574
  30829. #, no-wrap
  30830. msgid "{@code{namespace-configuration} parameter} string separator"
  30831. msgstr ""
  30832. #. type: deftypevr
  30833. #: guix-git/doc/guix.texi:20580
  30834. 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{\"\"}."
  30835. msgstr ""
  30836. #. type: deftypevr
  30837. #: guix-git/doc/guix.texi:20582
  30838. #, no-wrap
  30839. msgid "{@code{namespace-configuration} parameter} string prefix"
  30840. msgstr ""
  30841. #. type: deftypevr
  30842. #: guix-git/doc/guix.texi:20586
  30843. msgid "Prefix required to access this namespace. This needs to be different for all namespaces. For example @samp{Public/}. Defaults to @samp{\"\"}."
  30844. msgstr ""
  30845. #. type: deftypevr
  30846. #: guix-git/doc/guix.texi:20588
  30847. #, no-wrap
  30848. msgid "{@code{namespace-configuration} parameter} string location"
  30849. msgstr ""
  30850. #. type: deftypevr
  30851. #: guix-git/doc/guix.texi:20592
  30852. 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{\"\"}."
  30853. msgstr ""
  30854. #. type: deftypevr
  30855. #: guix-git/doc/guix.texi:20594
  30856. #, no-wrap
  30857. msgid "{@code{namespace-configuration} parameter} boolean inbox?"
  30858. msgstr ""
  30859. #. type: deftypevr
  30860. #: guix-git/doc/guix.texi:20598
  30861. msgid "There can be only one INBOX, and this setting defines which namespace has it. Defaults to @samp{#f}."
  30862. msgstr ""
  30863. #. type: deftypevr
  30864. #: guix-git/doc/guix.texi:20600
  30865. #, no-wrap
  30866. msgid "{@code{namespace-configuration} parameter} boolean hidden?"
  30867. msgstr ""
  30868. #. type: deftypevr
  30869. #: guix-git/doc/guix.texi:20608
  30870. 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}."
  30871. msgstr ""
  30872. #. type: deftypevr
  30873. #: guix-git/doc/guix.texi:20610
  30874. #, no-wrap
  30875. msgid "{@code{namespace-configuration} parameter} boolean list?"
  30876. msgstr ""
  30877. #. type: deftypevr
  30878. #: guix-git/doc/guix.texi:20616
  30879. 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}."
  30880. msgstr ""
  30881. #. type: deftypevr
  30882. #: guix-git/doc/guix.texi:20618
  30883. #, no-wrap
  30884. msgid "{@code{namespace-configuration} parameter} boolean subscriptions?"
  30885. msgstr ""
  30886. #. type: deftypevr
  30887. #: guix-git/doc/guix.texi:20623
  30888. 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}."
  30889. msgstr ""
  30890. #. type: deftypevr
  30891. #: guix-git/doc/guix.texi:20625
  30892. #, no-wrap
  30893. msgid "{@code{namespace-configuration} parameter} mailbox-configuration-list mailboxes"
  30894. msgstr ""
  30895. #. type: deftypevr
  30896. #: guix-git/doc/guix.texi:20628
  30897. msgid "List of predefined mailboxes in this namespace. Defaults to @samp{()}."
  30898. msgstr ""
  30899. #. type: deftypevr
  30900. #: guix-git/doc/guix.texi:20630
  30901. msgid "Available @code{mailbox-configuration} fields are:"
  30902. msgstr ""
  30903. #. type: deftypevr
  30904. #: guix-git/doc/guix.texi:20631
  30905. #, no-wrap
  30906. msgid "{@code{mailbox-configuration} parameter} string name"
  30907. msgstr ""
  30908. #. type: deftypevr
  30909. #: guix-git/doc/guix.texi:20633
  30910. msgid "Name for this mailbox."
  30911. msgstr ""
  30912. #. type: deftypevr
  30913. #: guix-git/doc/guix.texi:20635
  30914. #, no-wrap
  30915. msgid "{@code{mailbox-configuration} parameter} string auto"
  30916. msgstr ""
  30917. #. type: deftypevr
  30918. #: guix-git/doc/guix.texi:20639
  30919. msgid "@samp{create} will automatically create this mailbox. @samp{subscribe} will both create and subscribe to the mailbox. Defaults to @samp{\"no\"}."
  30920. msgstr ""
  30921. #. type: deftypevr
  30922. #: guix-git/doc/guix.texi:20641
  30923. #, no-wrap
  30924. msgid "{@code{mailbox-configuration} parameter} space-separated-string-list special-use"
  30925. msgstr ""
  30926. #. type: deftypevr
  30927. #: guix-git/doc/guix.texi:20646
  30928. 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{()}."
  30929. msgstr ""
  30930. #. type: deftypevr
  30931. #: guix-git/doc/guix.texi:20652
  30932. #, no-wrap
  30933. msgid "{@code{dovecot-configuration} parameter} file-name base-dir"
  30934. msgstr ""
  30935. #. type: deftypevr
  30936. #: guix-git/doc/guix.texi:20655
  30937. msgid "Base directory where to store runtime data. Defaults to @samp{\"/var/run/dovecot/\"}."
  30938. msgstr ""
  30939. #. type: deftypevr
  30940. #: guix-git/doc/guix.texi:20657
  30941. #, no-wrap
  30942. msgid "{@code{dovecot-configuration} parameter} string login-greeting"
  30943. msgstr ""
  30944. #. type: deftypevr
  30945. #: guix-git/doc/guix.texi:20660
  30946. msgid "Greeting message for clients. Defaults to @samp{\"Dovecot ready.\"}."
  30947. msgstr ""
  30948. #. type: deftypevr
  30949. #: guix-git/doc/guix.texi:20662
  30950. #, no-wrap
  30951. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list login-trusted-networks"
  30952. msgstr ""
  30953. #. type: deftypevr
  30954. #: guix-git/doc/guix.texi:20669
  30955. 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{()}."
  30956. msgstr ""
  30957. #. type: deftypevr
  30958. #: guix-git/doc/guix.texi:20671
  30959. #, no-wrap
  30960. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list login-access-sockets"
  30961. msgstr ""
  30962. #. type: deftypevr
  30963. #: guix-git/doc/guix.texi:20674
  30964. msgid "List of login access check sockets (e.g.@: tcpwrap). Defaults to @samp{()}."
  30965. msgstr ""
  30966. #. type: deftypevr
  30967. #: guix-git/doc/guix.texi:20676
  30968. #, no-wrap
  30969. msgid "{@code{dovecot-configuration} parameter} boolean verbose-proctitle?"
  30970. msgstr ""
  30971. #. type: deftypevr
  30972. #: guix-git/doc/guix.texi:20682
  30973. 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}."
  30974. msgstr ""
  30975. #. type: deftypevr
  30976. #: guix-git/doc/guix.texi:20684
  30977. #, no-wrap
  30978. msgid "{@code{dovecot-configuration} parameter} boolean shutdown-clients?"
  30979. msgstr ""
  30980. #. type: deftypevr
  30981. #: guix-git/doc/guix.texi:20690
  30982. 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}."
  30983. msgstr ""
  30984. #. type: deftypevr
  30985. #: guix-git/doc/guix.texi:20692
  30986. #, no-wrap
  30987. msgid "{@code{dovecot-configuration} parameter} non-negative-integer doveadm-worker-count"
  30988. msgstr ""
  30989. #. type: deftypevr
  30990. #: guix-git/doc/guix.texi:20696
  30991. 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}."
  30992. msgstr ""
  30993. #. type: deftypevr
  30994. #: guix-git/doc/guix.texi:20698
  30995. #, no-wrap
  30996. msgid "{@code{dovecot-configuration} parameter} string doveadm-socket-path"
  30997. msgstr ""
  30998. #. type: deftypevr
  30999. #: guix-git/doc/guix.texi:20701
  31000. msgid "UNIX socket or host:port used for connecting to doveadm server. Defaults to @samp{\"doveadm-server\"}."
  31001. msgstr ""
  31002. #. type: deftypevr
  31003. #: guix-git/doc/guix.texi:20703
  31004. #, no-wrap
  31005. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list import-environment"
  31006. msgstr ""
  31007. #. type: deftypevr
  31008. #: guix-git/doc/guix.texi:20707
  31009. 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."
  31010. msgstr ""
  31011. #. type: deftypevr
  31012. #: guix-git/doc/guix.texi:20709
  31013. #, no-wrap
  31014. msgid "{@code{dovecot-configuration} parameter} boolean disable-plaintext-auth?"
  31015. msgstr ""
  31016. #. type: deftypevr
  31017. #: guix-git/doc/guix.texi:20716
  31018. 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}."
  31019. msgstr ""
  31020. #. type: deftypevr
  31021. #: guix-git/doc/guix.texi:20718
  31022. #, no-wrap
  31023. msgid "{@code{dovecot-configuration} parameter} non-negative-integer auth-cache-size"
  31024. msgstr ""
  31025. #. type: deftypevr
  31026. #: guix-git/doc/guix.texi:20723
  31027. 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}."
  31028. msgstr ""
  31029. #. type: deftypevr
  31030. #: guix-git/doc/guix.texi:20725
  31031. #, no-wrap
  31032. msgid "{@code{dovecot-configuration} parameter} string auth-cache-ttl"
  31033. msgstr ""
  31034. #. type: deftypevr
  31035. #: guix-git/doc/guix.texi:20733
  31036. 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\"}."
  31037. msgstr ""
  31038. #. type: deftypevr
  31039. #: guix-git/doc/guix.texi:20735
  31040. #, no-wrap
  31041. msgid "{@code{dovecot-configuration} parameter} string auth-cache-negative-ttl"
  31042. msgstr ""
  31043. #. type: deftypevr
  31044. #: guix-git/doc/guix.texi:20739
  31045. msgid "TTL for negative hits (user not found, password mismatch). 0 disables caching them completely. Defaults to @samp{\"1 hour\"}."
  31046. msgstr ""
  31047. #. type: deftypevr
  31048. #: guix-git/doc/guix.texi:20741
  31049. #, no-wrap
  31050. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list auth-realms"
  31051. msgstr ""
  31052. #. type: deftypevr
  31053. #: guix-git/doc/guix.texi:20747
  31054. 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{()}."
  31055. msgstr ""
  31056. #. type: deftypevr
  31057. #: guix-git/doc/guix.texi:20749
  31058. #, no-wrap
  31059. msgid "{@code{dovecot-configuration} parameter} string auth-default-realm"
  31060. msgstr ""
  31061. #. type: deftypevr
  31062. #: guix-git/doc/guix.texi:20754
  31063. 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{\"\"}."
  31064. msgstr ""
  31065. #. type: deftypevr
  31066. #: guix-git/doc/guix.texi:20756
  31067. #, no-wrap
  31068. msgid "{@code{dovecot-configuration} parameter} string auth-username-chars"
  31069. msgstr ""
  31070. #. type: deftypevr
  31071. #: guix-git/doc/guix.texi:20763
  31072. 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.-_@@\"}."
  31073. msgstr ""
  31074. #. type: deftypevr
  31075. #: guix-git/doc/guix.texi:20765
  31076. #, no-wrap
  31077. msgid "{@code{dovecot-configuration} parameter} string auth-username-translation"
  31078. msgstr ""
  31079. #. type: deftypevr
  31080. #: guix-git/doc/guix.texi:20771
  31081. 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{\"\"}."
  31082. msgstr ""
  31083. #. type: deftypevr
  31084. #: guix-git/doc/guix.texi:20773
  31085. #, no-wrap
  31086. msgid "{@code{dovecot-configuration} parameter} string auth-username-format"
  31087. msgstr ""
  31088. #. type: deftypevr
  31089. #: guix-git/doc/guix.texi:20780
  31090. 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\"}."
  31091. msgstr ""
  31092. #. type: deftypevr
  31093. #: guix-git/doc/guix.texi:20782
  31094. #, no-wrap
  31095. msgid "{@code{dovecot-configuration} parameter} string auth-master-user-separator"
  31096. msgstr ""
  31097. #. type: deftypevr
  31098. #: guix-git/doc/guix.texi:20790
  31099. 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{\"\"}."
  31100. msgstr ""
  31101. #. type: deftypevr
  31102. #: guix-git/doc/guix.texi:20792
  31103. #, no-wrap
  31104. msgid "{@code{dovecot-configuration} parameter} string auth-anonymous-username"
  31105. msgstr ""
  31106. #. type: deftypevr
  31107. #: guix-git/doc/guix.texi:20796
  31108. msgid "Username to use for users logging in with ANONYMOUS SASL mechanism. Defaults to @samp{\"anonymous\"}."
  31109. msgstr ""
  31110. #. type: deftypevr
  31111. #: guix-git/doc/guix.texi:20798
  31112. #, no-wrap
  31113. msgid "{@code{dovecot-configuration} parameter} non-negative-integer auth-worker-max-count"
  31114. msgstr ""
  31115. #. type: deftypevr
  31116. #: guix-git/doc/guix.texi:20803
  31117. 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}."
  31118. msgstr ""
  31119. #. type: deftypevr
  31120. #: guix-git/doc/guix.texi:20805
  31121. #, no-wrap
  31122. msgid "{@code{dovecot-configuration} parameter} string auth-gssapi-hostname"
  31123. msgstr ""
  31124. #. type: deftypevr
  31125. #: guix-git/doc/guix.texi:20810
  31126. 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{\"\"}."
  31127. msgstr ""
  31128. #. type: deftypevr
  31129. #: guix-git/doc/guix.texi:20812
  31130. #, no-wrap
  31131. msgid "{@code{dovecot-configuration} parameter} string auth-krb5-keytab"
  31132. msgstr ""
  31133. #. type: deftypevr
  31134. #: guix-git/doc/guix.texi:20818
  31135. 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{\"\"}."
  31136. msgstr ""
  31137. #. type: deftypevr
  31138. #: guix-git/doc/guix.texi:20820
  31139. #, no-wrap
  31140. msgid "{@code{dovecot-configuration} parameter} boolean auth-use-winbind?"
  31141. msgstr ""
  31142. #. type: deftypevr
  31143. #: guix-git/doc/guix.texi:20825
  31144. 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}."
  31145. msgstr ""
  31146. #. type: deftypevr
  31147. #: guix-git/doc/guix.texi:20827
  31148. #, no-wrap
  31149. msgid "{@code{dovecot-configuration} parameter} file-name auth-winbind-helper-path"
  31150. msgstr ""
  31151. #. type: deftypevr
  31152. #: guix-git/doc/guix.texi:20830
  31153. msgid "Path for Samba's @samp{ntlm-auth} helper binary. Defaults to @samp{\"/usr/bin/ntlm_auth\"}."
  31154. msgstr ""
  31155. #. type: deftypevr
  31156. #: guix-git/doc/guix.texi:20832
  31157. #, no-wrap
  31158. msgid "{@code{dovecot-configuration} parameter} string auth-failure-delay"
  31159. msgstr ""
  31160. #. type: deftypevr
  31161. #: guix-git/doc/guix.texi:20835
  31162. msgid "Time to delay before replying to failed authentications. Defaults to @samp{\"2 secs\"}."
  31163. msgstr ""
  31164. #. type: deftypevr
  31165. #: guix-git/doc/guix.texi:20837
  31166. #, no-wrap
  31167. msgid "{@code{dovecot-configuration} parameter} boolean auth-ssl-require-client-cert?"
  31168. msgstr ""
  31169. #. type: deftypevr
  31170. #: guix-git/doc/guix.texi:20841
  31171. msgid "Require a valid SSL client certificate or the authentication fails. Defaults to @samp{#f}."
  31172. msgstr ""
  31173. #. type: deftypevr
  31174. #: guix-git/doc/guix.texi:20843
  31175. #, no-wrap
  31176. msgid "{@code{dovecot-configuration} parameter} boolean auth-ssl-username-from-cert?"
  31177. msgstr ""
  31178. #. type: deftypevr
  31179. #: guix-git/doc/guix.texi:20848
  31180. 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}."
  31181. msgstr ""
  31182. #. type: deftypevr
  31183. #: guix-git/doc/guix.texi:20850
  31184. #, no-wrap
  31185. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list auth-mechanisms"
  31186. msgstr ""
  31187. #. type: deftypevr
  31188. #: guix-git/doc/guix.texi:20856
  31189. 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."
  31190. msgstr ""
  31191. #. type: deftypevr
  31192. #: guix-git/doc/guix.texi:20858
  31193. #, no-wrap
  31194. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list director-servers"
  31195. msgstr ""
  31196. #. type: deftypevr
  31197. #: guix-git/doc/guix.texi:20863
  31198. 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{()}."
  31199. msgstr ""
  31200. #. type: deftypevr
  31201. #: guix-git/doc/guix.texi:20865
  31202. #, no-wrap
  31203. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list director-mail-servers"
  31204. msgstr ""
  31205. #. type: deftypevr
  31206. #: guix-git/doc/guix.texi:20869
  31207. 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{()}."
  31208. msgstr ""
  31209. #. type: deftypevr
  31210. #: guix-git/doc/guix.texi:20871
  31211. #, no-wrap
  31212. msgid "{@code{dovecot-configuration} parameter} string director-user-expire"
  31213. msgstr ""
  31214. #. type: deftypevr
  31215. #: guix-git/doc/guix.texi:20875
  31216. msgid "How long to redirect users to a specific server after it no longer has any connections. Defaults to @samp{\"15 min\"}."
  31217. msgstr ""
  31218. #. type: deftypevr
  31219. #: guix-git/doc/guix.texi:20877
  31220. #, no-wrap
  31221. msgid "{@code{dovecot-configuration} parameter} string director-username-hash"
  31222. msgstr ""
  31223. #. type: deftypevr
  31224. #: guix-git/doc/guix.texi:20882
  31225. 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\"}."
  31226. msgstr ""
  31227. #. type: deftypevr
  31228. #: guix-git/doc/guix.texi:20884
  31229. #, no-wrap
  31230. msgid "{@code{dovecot-configuration} parameter} string log-path"
  31231. msgstr ""
  31232. #. type: deftypevr
  31233. #: guix-git/doc/guix.texi:20888
  31234. msgid "Log file to use for error messages. @samp{syslog} logs to syslog, @samp{/dev/stderr} logs to stderr. Defaults to @samp{\"syslog\"}."
  31235. msgstr ""
  31236. #. type: deftypevr
  31237. #: guix-git/doc/guix.texi:20890
  31238. #, no-wrap
  31239. msgid "{@code{dovecot-configuration} parameter} string info-log-path"
  31240. msgstr ""
  31241. #. type: deftypevr
  31242. #: guix-git/doc/guix.texi:20894
  31243. msgid "Log file to use for informational messages. Defaults to @samp{log-path}. Defaults to @samp{\"\"}."
  31244. msgstr ""
  31245. #. type: deftypevr
  31246. #: guix-git/doc/guix.texi:20896
  31247. #, no-wrap
  31248. msgid "{@code{dovecot-configuration} parameter} string debug-log-path"
  31249. msgstr ""
  31250. #. type: deftypevr
  31251. #: guix-git/doc/guix.texi:20900
  31252. msgid "Log file to use for debug messages. Defaults to @samp{info-log-path}. Defaults to @samp{\"\"}."
  31253. msgstr ""
  31254. #. type: deftypevr
  31255. #: guix-git/doc/guix.texi:20902
  31256. #, no-wrap
  31257. msgid "{@code{dovecot-configuration} parameter} string syslog-facility"
  31258. msgstr ""
  31259. #. type: deftypevr
  31260. #: guix-git/doc/guix.texi:20907
  31261. 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\"}."
  31262. msgstr ""
  31263. #. type: deftypevr
  31264. #: guix-git/doc/guix.texi:20909
  31265. #, no-wrap
  31266. msgid "{@code{dovecot-configuration} parameter} boolean auth-verbose?"
  31267. msgstr ""
  31268. #. type: deftypevr
  31269. #: guix-git/doc/guix.texi:20913
  31270. msgid "Log unsuccessful authentication attempts and the reasons why they failed. Defaults to @samp{#f}."
  31271. msgstr ""
  31272. #. type: deftypevr
  31273. #: guix-git/doc/guix.texi:20915
  31274. #, no-wrap
  31275. msgid "{@code{dovecot-configuration} parameter} string auth-verbose-passwords"
  31276. msgstr ""
  31277. #. type: deftypevr
  31278. #: guix-git/doc/guix.texi:20922
  31279. 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\"}."
  31280. msgstr ""
  31281. #. type: deftypevr
  31282. #: guix-git/doc/guix.texi:20924
  31283. #, no-wrap
  31284. msgid "{@code{dovecot-configuration} parameter} boolean auth-debug?"
  31285. msgstr ""
  31286. #. type: deftypevr
  31287. #: guix-git/doc/guix.texi:20928
  31288. msgid "Even more verbose logging for debugging purposes. Shows for example SQL queries. Defaults to @samp{#f}."
  31289. msgstr ""
  31290. #. type: deftypevr
  31291. #: guix-git/doc/guix.texi:20930
  31292. #, no-wrap
  31293. msgid "{@code{dovecot-configuration} parameter} boolean auth-debug-passwords?"
  31294. msgstr ""
  31295. #. type: deftypevr
  31296. #: guix-git/doc/guix.texi:20935
  31297. 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}."
  31298. msgstr ""
  31299. #. type: deftypevr
  31300. #: guix-git/doc/guix.texi:20937
  31301. #, no-wrap
  31302. msgid "{@code{dovecot-configuration} parameter} boolean mail-debug?"
  31303. msgstr ""
  31304. #. type: deftypevr
  31305. #: guix-git/doc/guix.texi:20941
  31306. msgid "Enable mail process debugging. This can help you figure out why Dovecot isn't finding your mails. Defaults to @samp{#f}."
  31307. msgstr ""
  31308. #. type: deftypevr
  31309. #: guix-git/doc/guix.texi:20943
  31310. #, no-wrap
  31311. msgid "{@code{dovecot-configuration} parameter} boolean verbose-ssl?"
  31312. msgstr ""
  31313. #. type: deftypevr
  31314. #: guix-git/doc/guix.texi:20946
  31315. msgid "Show protocol level SSL errors. Defaults to @samp{#f}."
  31316. msgstr ""
  31317. #. type: deftypevr
  31318. #: guix-git/doc/guix.texi:20948
  31319. #, no-wrap
  31320. msgid "{@code{dovecot-configuration} parameter} string log-timestamp"
  31321. msgstr ""
  31322. #. type: deftypevr
  31323. #: guix-git/doc/guix.texi:20952
  31324. msgid "Prefix for each line written to log file. % codes are in strftime(3) format. Defaults to @samp{\"\\\"%b %d %H:%M:%S \\\"\"}."
  31325. msgstr ""
  31326. #. type: deftypevr
  31327. #: guix-git/doc/guix.texi:20954
  31328. #, no-wrap
  31329. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list login-log-format-elements"
  31330. msgstr ""
  31331. #. type: deftypevr
  31332. #: guix-git/doc/guix.texi:20958
  31333. 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."
  31334. msgstr ""
  31335. #. type: deftypevr
  31336. #: guix-git/doc/guix.texi:20960
  31337. #, no-wrap
  31338. msgid "{@code{dovecot-configuration} parameter} string login-log-format"
  31339. msgstr ""
  31340. #. type: deftypevr
  31341. #: guix-git/doc/guix.texi:20964
  31342. msgid "Login log format. %s contains @samp{login-log-format-elements} string, %$ contains the data we want to log. Defaults to @samp{\"%$: %s\"}."
  31343. msgstr ""
  31344. #. type: deftypevr
  31345. #: guix-git/doc/guix.texi:20966
  31346. #, no-wrap
  31347. msgid "{@code{dovecot-configuration} parameter} string mail-log-prefix"
  31348. msgstr ""
  31349. #. type: deftypevr
  31350. #: guix-git/doc/guix.texi:20970
  31351. 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@}>: \\\"\"}."
  31352. msgstr ""
  31353. #. type: deftypevr
  31354. #: guix-git/doc/guix.texi:20972
  31355. #, no-wrap
  31356. msgid "{@code{dovecot-configuration} parameter} string deliver-log-format"
  31357. msgstr ""
  31358. #. type: deftypevr
  31359. #: guix-git/doc/guix.texi:20974
  31360. msgid "Format to use for logging mail deliveries. You can use variables:"
  31361. msgstr ""
  31362. #. type: item
  31363. #: guix-git/doc/guix.texi:20975
  31364. #, no-wrap
  31365. msgid "%$"
  31366. msgstr ""
  31367. #. type: table
  31368. #: guix-git/doc/guix.texi:20977
  31369. msgid "Delivery status message (e.g.@: @samp{saved to INBOX})"
  31370. msgstr ""
  31371. #. type: item
  31372. #: guix-git/doc/guix.texi:20977
  31373. #, no-wrap
  31374. msgid "%m"
  31375. msgstr ""
  31376. #. type: table
  31377. #: guix-git/doc/guix.texi:20979
  31378. msgid "Message-ID"
  31379. msgstr ""
  31380. #. type: item
  31381. #: guix-git/doc/guix.texi:20979 guix-git/doc/guix.texi:21522
  31382. #, no-wrap
  31383. msgid "%s"
  31384. msgstr ""
  31385. #. type: table
  31386. #: guix-git/doc/guix.texi:20981
  31387. msgid "Subject"
  31388. msgstr ""
  31389. #. type: item
  31390. #: guix-git/doc/guix.texi:20981
  31391. #, no-wrap
  31392. msgid "%f"
  31393. msgstr ""
  31394. #. type: table
  31395. #: guix-git/doc/guix.texi:20983
  31396. msgid "From address"
  31397. msgstr ""
  31398. #. type: table
  31399. #: guix-git/doc/guix.texi:20985
  31400. msgid "Physical size"
  31401. msgstr ""
  31402. #. type: item
  31403. #: guix-git/doc/guix.texi:20985
  31404. #, no-wrap
  31405. msgid "%w"
  31406. msgstr ""
  31407. #. type: table
  31408. #: guix-git/doc/guix.texi:20987
  31409. msgid "Virtual size."
  31410. msgstr ""
  31411. #. type: deftypevr
  31412. #: guix-git/doc/guix.texi:20989
  31413. msgid "Defaults to @samp{\"msgid=%m: %$\"}."
  31414. msgstr ""
  31415. #. type: deftypevr
  31416. #: guix-git/doc/guix.texi:20991
  31417. #, no-wrap
  31418. msgid "{@code{dovecot-configuration} parameter} string mail-location"
  31419. msgstr ""
  31420. #. type: deftypevr
  31421. #: guix-git/doc/guix.texi:20996
  31422. 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."
  31423. msgstr ""
  31424. #. type: deftypevr
  31425. #: guix-git/doc/guix.texi:21002
  31426. 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."
  31427. msgstr ""
  31428. #. type: deftypevr
  31429. #: guix-git/doc/guix.texi:21004
  31430. msgid "There are a few special variables you can use, e.g.:"
  31431. msgstr ""
  31432. #. type: table
  31433. #: guix-git/doc/guix.texi:21008
  31434. msgid "username"
  31435. msgstr ""
  31436. #. type: item
  31437. #: guix-git/doc/guix.texi:21008 guix-git/doc/guix.texi:21518
  31438. #, no-wrap
  31439. msgid "%n"
  31440. msgstr ""
  31441. #. type: table
  31442. #: guix-git/doc/guix.texi:21010
  31443. msgid "user part in user@@domain, same as %u if there's no domain"
  31444. msgstr ""
  31445. #. type: item
  31446. #: guix-git/doc/guix.texi:21010
  31447. #, no-wrap
  31448. msgid "%d"
  31449. msgstr ""
  31450. #. type: table
  31451. #: guix-git/doc/guix.texi:21012
  31452. msgid "domain part in user@@domain, empty if there's no domain"
  31453. msgstr ""
  31454. #. type: item
  31455. #: guix-git/doc/guix.texi:21012
  31456. #, no-wrap
  31457. msgid "%h"
  31458. msgstr ""
  31459. #. type: table
  31460. #: guix-git/doc/guix.texi:21014
  31461. msgid "home director"
  31462. msgstr ""
  31463. #. type: deftypevr
  31464. #: guix-git/doc/guix.texi:21017
  31465. msgid "See doc/wiki/Variables.txt for full list. Some examples:"
  31466. msgstr ""
  31467. #. type: item
  31468. #: guix-git/doc/guix.texi:21018
  31469. #, no-wrap
  31470. msgid "maildir:~/Maildir"
  31471. msgstr ""
  31472. #. type: item
  31473. #: guix-git/doc/guix.texi:21019
  31474. #, no-wrap
  31475. msgid "mbox:~/mail:INBOX=/var/mail/%u"
  31476. msgstr ""
  31477. #. type: item
  31478. #: guix-git/doc/guix.texi:21020
  31479. #, no-wrap
  31480. msgid "mbox:/var/mail/%d/%1n/%n:INDEX=/var/indexes/%d/%1n/%"
  31481. msgstr ""
  31482. #. type: deftypevr
  31483. #: guix-git/doc/guix.texi:21025
  31484. #, no-wrap
  31485. msgid "{@code{dovecot-configuration} parameter} string mail-uid"
  31486. msgstr ""
  31487. #. type: deftypevr
  31488. #: guix-git/doc/guix.texi:21030
  31489. 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{\"\"}."
  31490. msgstr ""
  31491. #. type: deftypevr
  31492. #: guix-git/doc/guix.texi:21032
  31493. #, no-wrap
  31494. msgid "{@code{dovecot-configuration} parameter} string mail-gid"
  31495. msgstr ""
  31496. #. type: deftypevr
  31497. #: guix-git/doc/guix.texi:21037
  31498. #, no-wrap
  31499. msgid "{@code{dovecot-configuration} parameter} string mail-privileged-group"
  31500. msgstr ""
  31501. #. type: deftypevr
  31502. #: guix-git/doc/guix.texi:21043
  31503. 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{\"\"}."
  31504. msgstr ""
  31505. #. type: deftypevr
  31506. #: guix-git/doc/guix.texi:21045
  31507. #, no-wrap
  31508. msgid "{@code{dovecot-configuration} parameter} string mail-access-groups"
  31509. msgstr ""
  31510. #. type: deftypevr
  31511. #: guix-git/doc/guix.texi:21053
  31512. 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{\"\"}."
  31513. msgstr ""
  31514. #. type: deftypevr
  31515. #: guix-git/doc/guix.texi:21055
  31516. #, no-wrap
  31517. msgid "{@code{dovecot-configuration} parameter} string mail-attribute-dict"
  31518. msgstr ""
  31519. #. type: deftypevr
  31520. #: guix-git/doc/guix.texi:21058
  31521. msgid "The location of a dictionary used to store @code{IMAP METADATA} as defined by @uref{https://tools.ietf.org/html/rfc5464, RFC@tie{}5464}."
  31522. msgstr ""
  31523. #. type: deftypevr
  31524. #: guix-git/doc/guix.texi:21061
  31525. msgid "The IMAP METADATA commands are available only if the ``imap'' protocol configuration's @code{imap-metadata?} field is @samp{#t}."
  31526. msgstr ""
  31527. #. type: deftypevr
  31528. #: guix-git/doc/guix.texi:21066
  31529. #, no-wrap
  31530. msgid "{@code{dovecot-configuration} parameter} boolean mail-full-filesystem-access?"
  31531. msgstr ""
  31532. #. type: deftypevr
  31533. #: guix-git/doc/guix.texi:21072
  31534. 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}."
  31535. msgstr ""
  31536. #. type: deftypevr
  31537. #: guix-git/doc/guix.texi:21074
  31538. #, no-wrap
  31539. msgid "{@code{dovecot-configuration} parameter} boolean mmap-disable?"
  31540. msgstr ""
  31541. #. type: deftypevr
  31542. #: guix-git/doc/guix.texi:21078
  31543. 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}."
  31544. msgstr ""
  31545. #. type: deftypevr
  31546. #: guix-git/doc/guix.texi:21080
  31547. #, no-wrap
  31548. msgid "{@code{dovecot-configuration} parameter} boolean dotlock-use-excl?"
  31549. msgstr ""
  31550. #. type: deftypevr
  31551. #: guix-git/doc/guix.texi:21085
  31552. 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}."
  31553. msgstr ""
  31554. #. type: deftypevr
  31555. #: guix-git/doc/guix.texi:21087
  31556. #, no-wrap
  31557. msgid "{@code{dovecot-configuration} parameter} string mail-fsync"
  31558. msgstr ""
  31559. #. type: deftypevr
  31560. #: guix-git/doc/guix.texi:21089
  31561. msgid "When to use fsync() or fdatasync() calls:"
  31562. msgstr ""
  31563. #. type: item
  31564. #: guix-git/doc/guix.texi:21090
  31565. #, no-wrap
  31566. msgid "optimized"
  31567. msgstr ""
  31568. #. type: table
  31569. #: guix-git/doc/guix.texi:21092
  31570. msgid "Whenever necessary to avoid losing important data"
  31571. msgstr ""
  31572. #. type: table
  31573. #: guix-git/doc/guix.texi:21094
  31574. msgid "Useful with e.g.@: NFS when @code{write()}s are delayed"
  31575. msgstr ""
  31576. #. type: table
  31577. #: guix-git/doc/guix.texi:21096
  31578. msgid "Never use it (best performance, but crashes can lose data)."
  31579. msgstr ""
  31580. #. type: deftypevr
  31581. #: guix-git/doc/guix.texi:21098
  31582. msgid "Defaults to @samp{\"optimized\"}."
  31583. msgstr ""
  31584. #. type: deftypevr
  31585. #: guix-git/doc/guix.texi:21100
  31586. #, no-wrap
  31587. msgid "{@code{dovecot-configuration} parameter} boolean mail-nfs-storage?"
  31588. msgstr ""
  31589. #. type: deftypevr
  31590. #: guix-git/doc/guix.texi:21105
  31591. 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}."
  31592. msgstr ""
  31593. #. type: deftypevr
  31594. #: guix-git/doc/guix.texi:21107
  31595. #, no-wrap
  31596. msgid "{@code{dovecot-configuration} parameter} boolean mail-nfs-index?"
  31597. msgstr ""
  31598. #. type: deftypevr
  31599. #: guix-git/doc/guix.texi:21111
  31600. 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}."
  31601. msgstr ""
  31602. #. type: deftypevr
  31603. #: guix-git/doc/guix.texi:21113
  31604. #, no-wrap
  31605. msgid "{@code{dovecot-configuration} parameter} string lock-method"
  31606. msgstr ""
  31607. #. type: deftypevr
  31608. #: guix-git/doc/guix.texi:21119
  31609. 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\"}."
  31610. msgstr ""
  31611. #. type: deftypevr
  31612. #: guix-git/doc/guix.texi:21121
  31613. #, no-wrap
  31614. msgid "{@code{dovecot-configuration} parameter} file-name mail-temp-dir"
  31615. msgstr ""
  31616. #. type: deftypevr
  31617. #: guix-git/doc/guix.texi:21125
  31618. msgid "Directory in which LDA/LMTP temporarily stores incoming mails >128 kB. Defaults to @samp{\"/tmp\"}."
  31619. msgstr ""
  31620. #. type: deftypevr
  31621. #: guix-git/doc/guix.texi:21127
  31622. #, no-wrap
  31623. msgid "{@code{dovecot-configuration} parameter} non-negative-integer first-valid-uid"
  31624. msgstr ""
  31625. #. type: deftypevr
  31626. #: guix-git/doc/guix.texi:21133
  31627. 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}."
  31628. msgstr ""
  31629. #. type: deftypevr
  31630. #: guix-git/doc/guix.texi:21135
  31631. #, no-wrap
  31632. msgid "{@code{dovecot-configuration} parameter} non-negative-integer last-valid-uid"
  31633. msgstr ""
  31634. #. type: deftypevr
  31635. #: guix-git/doc/guix.texi:21140
  31636. #, no-wrap
  31637. msgid "{@code{dovecot-configuration} parameter} non-negative-integer first-valid-gid"
  31638. msgstr ""
  31639. #. type: deftypevr
  31640. #: guix-git/doc/guix.texi:21145
  31641. 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}."
  31642. msgstr ""
  31643. #. type: deftypevr
  31644. #: guix-git/doc/guix.texi:21147
  31645. #, no-wrap
  31646. msgid "{@code{dovecot-configuration} parameter} non-negative-integer last-valid-gid"
  31647. msgstr ""
  31648. #. type: deftypevr
  31649. #: guix-git/doc/guix.texi:21152
  31650. #, no-wrap
  31651. msgid "{@code{dovecot-configuration} parameter} non-negative-integer mail-max-keyword-length"
  31652. msgstr ""
  31653. #. type: deftypevr
  31654. #: guix-git/doc/guix.texi:21156
  31655. msgid "Maximum allowed length for mail keyword name. It's only forced when trying to create new keywords. Defaults to @samp{50}."
  31656. msgstr ""
  31657. #. type: deftypevr
  31658. #: guix-git/doc/guix.texi:21158
  31659. #, no-wrap
  31660. msgid "{@code{dovecot-configuration} parameter} colon-separated-file-name-list valid-chroot-dirs"
  31661. msgstr ""
  31662. #. type: deftypevr
  31663. #: guix-git/doc/guix.texi:21168
  31664. 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{()}."
  31665. msgstr ""
  31666. #. type: deftypevr
  31667. #: guix-git/doc/guix.texi:21170
  31668. #, no-wrap
  31669. msgid "{@code{dovecot-configuration} parameter} string mail-chroot"
  31670. msgstr ""
  31671. #. type: deftypevr
  31672. #: guix-git/doc/guix.texi:21179
  31673. 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{\"\"}."
  31674. msgstr ""
  31675. #. type: deftypevr
  31676. #: guix-git/doc/guix.texi:21181
  31677. #, no-wrap
  31678. msgid "{@code{dovecot-configuration} parameter} file-name auth-socket-path"
  31679. msgstr ""
  31680. #. type: deftypevr
  31681. #: guix-git/doc/guix.texi:21185
  31682. 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\"}."
  31683. msgstr ""
  31684. #. type: deftypevr
  31685. #: guix-git/doc/guix.texi:21187
  31686. #, no-wrap
  31687. msgid "{@code{dovecot-configuration} parameter} file-name mail-plugin-dir"
  31688. msgstr ""
  31689. #. type: deftypevr
  31690. #: guix-git/doc/guix.texi:21190
  31691. msgid "Directory where to look up mail plugins. Defaults to @samp{\"/usr/lib/dovecot\"}."
  31692. msgstr ""
  31693. #. type: deftypevr
  31694. #: guix-git/doc/guix.texi:21192
  31695. #, no-wrap
  31696. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list mail-plugins"
  31697. msgstr ""
  31698. #. type: deftypevr
  31699. #: guix-git/doc/guix.texi:21196
  31700. 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{()}."
  31701. msgstr ""
  31702. #. type: deftypevr
  31703. #: guix-git/doc/guix.texi:21198
  31704. #, no-wrap
  31705. msgid "{@code{dovecot-configuration} parameter} non-negative-integer mail-cache-min-mail-count"
  31706. msgstr ""
  31707. #. type: deftypevr
  31708. #: guix-git/doc/guix.texi:21203
  31709. 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}."
  31710. msgstr ""
  31711. #. type: deftypevr
  31712. #: guix-git/doc/guix.texi:21205
  31713. #, no-wrap
  31714. msgid "{@code{dovecot-configuration} parameter} string mailbox-idle-check-interval"
  31715. msgstr ""
  31716. #. type: deftypevr
  31717. #: guix-git/doc/guix.texi:21212
  31718. 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\"}."
  31719. msgstr ""
  31720. #. type: deftypevr
  31721. #: guix-git/doc/guix.texi:21214
  31722. #, no-wrap
  31723. msgid "{@code{dovecot-configuration} parameter} boolean mail-save-crlf?"
  31724. msgstr ""
  31725. #. type: deftypevr
  31726. #: guix-git/doc/guix.texi:21221
  31727. 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}."
  31728. msgstr ""
  31729. #. type: deftypevr
  31730. #: guix-git/doc/guix.texi:21223
  31731. #, no-wrap
  31732. msgid "{@code{dovecot-configuration} parameter} boolean maildir-stat-dirs?"
  31733. msgstr ""
  31734. #. type: deftypevr
  31735. #: guix-git/doc/guix.texi:21231
  31736. 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}."
  31737. msgstr ""
  31738. #. type: deftypevr
  31739. #: guix-git/doc/guix.texi:21233
  31740. #, no-wrap
  31741. msgid "{@code{dovecot-configuration} parameter} boolean maildir-copy-with-hardlinks?"
  31742. msgstr ""
  31743. #. type: deftypevr
  31744. #: guix-git/doc/guix.texi:21238
  31745. 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}."
  31746. msgstr ""
  31747. #. type: deftypevr
  31748. #: guix-git/doc/guix.texi:21240
  31749. #, no-wrap
  31750. msgid "{@code{dovecot-configuration} parameter} boolean maildir-very-dirty-syncs?"
  31751. msgstr ""
  31752. #. type: deftypevr
  31753. #: guix-git/doc/guix.texi:21245
  31754. 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}."
  31755. msgstr ""
  31756. #. type: deftypevr
  31757. #: guix-git/doc/guix.texi:21247
  31758. #, no-wrap
  31759. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list mbox-read-locks"
  31760. msgstr ""
  31761. #. type: deftypevr
  31762. #: guix-git/doc/guix.texi:21250
  31763. msgid "Which locking methods to use for locking mbox. There are four available:"
  31764. msgstr ""
  31765. #. type: item
  31766. #: guix-git/doc/guix.texi:21252
  31767. #, no-wrap
  31768. msgid "dotlock"
  31769. msgstr ""
  31770. #. type: table
  31771. #: guix-git/doc/guix.texi:21256
  31772. 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."
  31773. msgstr ""
  31774. #. type: item
  31775. #: guix-git/doc/guix.texi:21256
  31776. #, no-wrap
  31777. msgid "dotlock-try"
  31778. msgstr ""
  31779. #. type: table
  31780. #: guix-git/doc/guix.texi:21259
  31781. msgid "Same as dotlock, but if it fails because of permissions or because there isn't enough disk space, just skip it."
  31782. msgstr ""
  31783. #. type: item
  31784. #: guix-git/doc/guix.texi:21259
  31785. #, no-wrap
  31786. msgid "fcntl"
  31787. msgstr ""
  31788. #. type: table
  31789. #: guix-git/doc/guix.texi:21261
  31790. msgid "Use this if possible. Works with NFS too if lockd is used."
  31791. msgstr ""
  31792. #. type: item
  31793. #: guix-git/doc/guix.texi:21261
  31794. #, no-wrap
  31795. msgid "flock"
  31796. msgstr ""
  31797. #. type: table
  31798. #: guix-git/doc/guix.texi:21263 guix-git/doc/guix.texi:21265
  31799. msgid "May not exist in all systems. Doesn't work with NFS."
  31800. msgstr ""
  31801. #. type: item
  31802. #: guix-git/doc/guix.texi:21263
  31803. #, no-wrap
  31804. msgid "lockf"
  31805. msgstr ""
  31806. #. type: deftypevr
  31807. #: guix-git/doc/guix.texi:21271
  31808. 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."
  31809. msgstr ""
  31810. #. type: deftypevr
  31811. #: guix-git/doc/guix.texi:21273
  31812. #, no-wrap
  31813. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list mbox-write-locks"
  31814. msgstr ""
  31815. #. type: deftypevr
  31816. #: guix-git/doc/guix.texi:21277
  31817. #, no-wrap
  31818. msgid "{@code{dovecot-configuration} parameter} string mbox-lock-timeout"
  31819. msgstr ""
  31820. #. type: deftypevr
  31821. #: guix-git/doc/guix.texi:21280
  31822. msgid "Maximum time to wait for lock (all of them) before aborting. Defaults to @samp{\"5 mins\"}."
  31823. msgstr ""
  31824. #. type: deftypevr
  31825. #: guix-git/doc/guix.texi:21282
  31826. #, no-wrap
  31827. msgid "{@code{dovecot-configuration} parameter} string mbox-dotlock-change-timeout"
  31828. msgstr ""
  31829. #. type: deftypevr
  31830. #: guix-git/doc/guix.texi:21286
  31831. 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\"}."
  31832. msgstr ""
  31833. #. type: deftypevr
  31834. #: guix-git/doc/guix.texi:21288
  31835. #, no-wrap
  31836. msgid "{@code{dovecot-configuration} parameter} boolean mbox-dirty-syncs?"
  31837. msgstr ""
  31838. #. type: deftypevr
  31839. #: guix-git/doc/guix.texi:21299
  31840. 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}."
  31841. msgstr ""
  31842. #. type: deftypevr
  31843. #: guix-git/doc/guix.texi:21301
  31844. #, no-wrap
  31845. msgid "{@code{dovecot-configuration} parameter} boolean mbox-very-dirty-syncs?"
  31846. msgstr ""
  31847. #. type: deftypevr
  31848. #: guix-git/doc/guix.texi:21306
  31849. 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}."
  31850. msgstr ""
  31851. #. type: deftypevr
  31852. #: guix-git/doc/guix.texi:21308
  31853. #, no-wrap
  31854. msgid "{@code{dovecot-configuration} parameter} boolean mbox-lazy-writes?"
  31855. msgstr ""
  31856. #. type: deftypevr
  31857. #: guix-git/doc/guix.texi:21314
  31858. 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}."
  31859. msgstr ""
  31860. #. type: deftypevr
  31861. #: guix-git/doc/guix.texi:21316
  31862. #, no-wrap
  31863. msgid "{@code{dovecot-configuration} parameter} non-negative-integer mbox-min-index-size"
  31864. msgstr ""
  31865. #. type: deftypevr
  31866. #: guix-git/doc/guix.texi:21321
  31867. 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}."
  31868. msgstr ""
  31869. #. type: deftypevr
  31870. #: guix-git/doc/guix.texi:21323
  31871. #, no-wrap
  31872. msgid "{@code{dovecot-configuration} parameter} non-negative-integer mdbox-rotate-size"
  31873. msgstr ""
  31874. #. type: deftypevr
  31875. #: guix-git/doc/guix.texi:21326
  31876. msgid "Maximum dbox file size until it's rotated. Defaults to @samp{10000000}."
  31877. msgstr ""
  31878. #. type: deftypevr
  31879. #: guix-git/doc/guix.texi:21328
  31880. #, no-wrap
  31881. msgid "{@code{dovecot-configuration} parameter} string mdbox-rotate-interval"
  31882. msgstr ""
  31883. #. type: deftypevr
  31884. #: guix-git/doc/guix.texi:21333
  31885. 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\"}."
  31886. msgstr ""
  31887. #. type: deftypevr
  31888. #: guix-git/doc/guix.texi:21335
  31889. #, no-wrap
  31890. msgid "{@code{dovecot-configuration} parameter} boolean mdbox-preallocate-space?"
  31891. msgstr ""
  31892. #. type: deftypevr
  31893. #: guix-git/doc/guix.texi:21340
  31894. 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}."
  31895. msgstr ""
  31896. #. type: deftypevr
  31897. #: guix-git/doc/guix.texi:21342
  31898. #, no-wrap
  31899. msgid "{@code{dovecot-configuration} parameter} string mail-attachment-dir"
  31900. msgstr ""
  31901. #. type: deftypevr
  31902. #: guix-git/doc/guix.texi:21346
  31903. 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."
  31904. msgstr ""
  31905. #. type: deftypevr
  31906. #: guix-git/doc/guix.texi:21348
  31907. msgid "WARNING: This feature hasn't been tested much yet. Use at your own risk."
  31908. msgstr ""
  31909. #. type: deftypevr
  31910. #: guix-git/doc/guix.texi:21351
  31911. msgid "Directory root where to store mail attachments. Disabled, if empty. Defaults to @samp{\"\"}."
  31912. msgstr ""
  31913. #. type: deftypevr
  31914. #: guix-git/doc/guix.texi:21353
  31915. #, no-wrap
  31916. msgid "{@code{dovecot-configuration} parameter} non-negative-integer mail-attachment-min-size"
  31917. msgstr ""
  31918. #. type: deftypevr
  31919. #: guix-git/doc/guix.texi:21358
  31920. 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}."
  31921. msgstr ""
  31922. #. type: deftypevr
  31923. #: guix-git/doc/guix.texi:21360
  31924. #, no-wrap
  31925. msgid "{@code{dovecot-configuration} parameter} string mail-attachment-fs"
  31926. msgstr ""
  31927. #. type: deftypevr
  31928. #: guix-git/doc/guix.texi:21362
  31929. msgid "File system backend to use for saving attachments:"
  31930. msgstr ""
  31931. #. type: item
  31932. #: guix-git/doc/guix.texi:21363
  31933. #, no-wrap
  31934. msgid "posix"
  31935. msgstr ""
  31936. #. type: table
  31937. #: guix-git/doc/guix.texi:21365
  31938. msgid "No SiS done by Dovecot (but this might help FS's own deduplication)"
  31939. msgstr ""
  31940. #. type: item
  31941. #: guix-git/doc/guix.texi:21365
  31942. #, no-wrap
  31943. msgid "sis posix"
  31944. msgstr ""
  31945. #. type: table
  31946. #: guix-git/doc/guix.texi:21367
  31947. msgid "SiS with immediate byte-by-byte comparison during saving"
  31948. msgstr ""
  31949. #. type: item
  31950. #: guix-git/doc/guix.texi:21367
  31951. #, no-wrap
  31952. msgid "sis-queue posix"
  31953. msgstr ""
  31954. #. type: table
  31955. #: guix-git/doc/guix.texi:21369
  31956. msgid "SiS with delayed comparison and deduplication."
  31957. msgstr ""
  31958. #. type: deftypevr
  31959. #: guix-git/doc/guix.texi:21371
  31960. msgid "Defaults to @samp{\"sis posix\"}."
  31961. msgstr ""
  31962. #. type: deftypevr
  31963. #: guix-git/doc/guix.texi:21373
  31964. #, no-wrap
  31965. msgid "{@code{dovecot-configuration} parameter} string mail-attachment-hash"
  31966. msgstr ""
  31967. #. type: deftypevr
  31968. #: guix-git/doc/guix.texi:21379
  31969. 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@}\"}."
  31970. msgstr ""
  31971. #. type: deftypevr
  31972. #: guix-git/doc/guix.texi:21381
  31973. #, no-wrap
  31974. msgid "{@code{dovecot-configuration} parameter} non-negative-integer default-process-limit"
  31975. msgstr ""
  31976. #. type: deftypevr
  31977. #: guix-git/doc/guix.texi:21386
  31978. #, no-wrap
  31979. msgid "{@code{dovecot-configuration} parameter} non-negative-integer default-client-limit"
  31980. msgstr ""
  31981. #. type: deftypevr
  31982. #: guix-git/doc/guix.texi:21389 guix-git/doc/guix.texi:29004
  31983. msgid "Defaults to @samp{1000}."
  31984. msgstr ""
  31985. #. type: deftypevr
  31986. #: guix-git/doc/guix.texi:21391
  31987. #, no-wrap
  31988. msgid "{@code{dovecot-configuration} parameter} non-negative-integer default-vsz-limit"
  31989. msgstr ""
  31990. #. type: deftypevr
  31991. #: guix-git/doc/guix.texi:21396
  31992. 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}."
  31993. msgstr ""
  31994. #. type: deftypevr
  31995. #: guix-git/doc/guix.texi:21398
  31996. #, no-wrap
  31997. msgid "{@code{dovecot-configuration} parameter} string default-login-user"
  31998. msgstr ""
  31999. #. type: deftypevr
  32000. #: guix-git/doc/guix.texi:21403
  32001. 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\"}."
  32002. msgstr ""
  32003. #. type: deftypevr
  32004. #: guix-git/doc/guix.texi:21405
  32005. #, no-wrap
  32006. msgid "{@code{dovecot-configuration} parameter} string default-internal-user"
  32007. msgstr ""
  32008. #. type: deftypevr
  32009. #: guix-git/doc/guix.texi:21410
  32010. 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\"}."
  32011. msgstr ""
  32012. #. type: deftypevr
  32013. #: guix-git/doc/guix.texi:21412
  32014. #, no-wrap
  32015. msgid "{@code{dovecot-configuration} parameter} string ssl?"
  32016. msgstr ""
  32017. #. type: deftypevr
  32018. #: guix-git/doc/guix.texi:21415
  32019. msgid "SSL/TLS support: yes, no, required. <doc/wiki/SSL.txt>. Defaults to @samp{\"required\"}."
  32020. msgstr ""
  32021. #. type: deftypevr
  32022. #: guix-git/doc/guix.texi:21417
  32023. #, no-wrap
  32024. msgid "{@code{dovecot-configuration} parameter} string ssl-cert"
  32025. msgstr ""
  32026. #. type: deftypevr
  32027. #: guix-git/doc/guix.texi:21420
  32028. msgid "PEM encoded X.509 SSL/TLS certificate (public key). Defaults to @samp{\"</etc/dovecot/default.pem\"}."
  32029. msgstr ""
  32030. #. type: deftypevr
  32031. #: guix-git/doc/guix.texi:21422
  32032. #, no-wrap
  32033. msgid "{@code{dovecot-configuration} parameter} string ssl-key"
  32034. msgstr ""
  32035. #. type: deftypevr
  32036. #: guix-git/doc/guix.texi:21427
  32037. 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\"}."
  32038. msgstr ""
  32039. #. type: deftypevr
  32040. #: guix-git/doc/guix.texi:21429
  32041. #, no-wrap
  32042. msgid "{@code{dovecot-configuration} parameter} string ssl-key-password"
  32043. msgstr ""
  32044. #. type: deftypevr
  32045. #: guix-git/doc/guix.texi:21435
  32046. 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{\"\"}."
  32047. msgstr ""
  32048. #. type: deftypevr
  32049. #: guix-git/doc/guix.texi:21437
  32050. #, no-wrap
  32051. msgid "{@code{dovecot-configuration} parameter} string ssl-ca"
  32052. msgstr ""
  32053. #. type: deftypevr
  32054. #: guix-git/doc/guix.texi:21443
  32055. 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{\"\"}."
  32056. msgstr ""
  32057. #. type: deftypevr
  32058. #: guix-git/doc/guix.texi:21445
  32059. #, no-wrap
  32060. msgid "{@code{dovecot-configuration} parameter} boolean ssl-require-crl?"
  32061. msgstr ""
  32062. #. type: deftypevr
  32063. #: guix-git/doc/guix.texi:21448
  32064. msgid "Require that CRL check succeeds for client certificates. Defaults to @samp{#t}."
  32065. msgstr ""
  32066. #. type: deftypevr
  32067. #: guix-git/doc/guix.texi:21450
  32068. #, no-wrap
  32069. msgid "{@code{dovecot-configuration} parameter} boolean ssl-verify-client-cert?"
  32070. msgstr ""
  32071. #. type: deftypevr
  32072. #: guix-git/doc/guix.texi:21454
  32073. 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}."
  32074. msgstr ""
  32075. #. type: deftypevr
  32076. #: guix-git/doc/guix.texi:21456
  32077. #, no-wrap
  32078. msgid "{@code{dovecot-configuration} parameter} string ssl-cert-username-field"
  32079. msgstr ""
  32080. #. type: deftypevr
  32081. #: guix-git/doc/guix.texi:21461
  32082. 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\"}."
  32083. msgstr ""
  32084. #. type: deftypevr
  32085. #: guix-git/doc/guix.texi:21463
  32086. #, no-wrap
  32087. msgid "{@code{dovecot-configuration} parameter} string ssl-min-protocol"
  32088. msgstr ""
  32089. #. type: deftypevr
  32090. #: guix-git/doc/guix.texi:21466
  32091. msgid "Minimum SSL protocol version to accept. Defaults to @samp{\"TLSv1\"}."
  32092. msgstr ""
  32093. #. type: deftypevr
  32094. #: guix-git/doc/guix.texi:21468
  32095. #, no-wrap
  32096. msgid "{@code{dovecot-configuration} parameter} string ssl-cipher-list"
  32097. msgstr ""
  32098. #. type: deftypevr
  32099. #: guix-git/doc/guix.texi:21471
  32100. msgid "SSL ciphers to use. Defaults to @samp{\"ALL:!kRSA:!SRP:!kDHd:!DSS:!aNULL:!eNULL:!EXPORT:!DES:!3DES:!MD5:!PSK:!RC4:!ADH:!LOW@@STRENGTH\"}."
  32101. msgstr ""
  32102. #. type: deftypevr
  32103. #: guix-git/doc/guix.texi:21473
  32104. #, no-wrap
  32105. msgid "{@code{dovecot-configuration} parameter} string ssl-crypto-device"
  32106. msgstr ""
  32107. #. type: deftypevr
  32108. #: guix-git/doc/guix.texi:21476
  32109. msgid "SSL crypto device to use, for valid values run \"openssl engine\". Defaults to @samp{\"\"}."
  32110. msgstr ""
  32111. #. type: deftypevr
  32112. #: guix-git/doc/guix.texi:21478
  32113. #, no-wrap
  32114. msgid "{@code{dovecot-configuration} parameter} string postmaster-address"
  32115. msgstr ""
  32116. #. type: deftypevr
  32117. #: guix-git/doc/guix.texi:21482
  32118. msgid "Address to use when sending rejection mails. %d expands to recipient domain. Defaults to @samp{\"postmaster@@%d\"}."
  32119. msgstr ""
  32120. #. type: deftypevr
  32121. #: guix-git/doc/guix.texi:21484
  32122. #, no-wrap
  32123. msgid "{@code{dovecot-configuration} parameter} string hostname"
  32124. msgstr ""
  32125. #. type: deftypevr
  32126. #: guix-git/doc/guix.texi:21488
  32127. 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{\"\"}."
  32128. msgstr ""
  32129. #. type: deftypevr
  32130. #: guix-git/doc/guix.texi:21490
  32131. #, no-wrap
  32132. msgid "{@code{dovecot-configuration} parameter} boolean quota-full-tempfail?"
  32133. msgstr ""
  32134. #. type: deftypevr
  32135. #: guix-git/doc/guix.texi:21494
  32136. msgid "If user is over quota, return with temporary failure instead of bouncing the mail. Defaults to @samp{#f}."
  32137. msgstr ""
  32138. #. type: deftypevr
  32139. #: guix-git/doc/guix.texi:21496
  32140. #, no-wrap
  32141. msgid "{@code{dovecot-configuration} parameter} file-name sendmail-path"
  32142. msgstr ""
  32143. #. type: deftypevr
  32144. #: guix-git/doc/guix.texi:21499
  32145. msgid "Binary to use for sending mails. Defaults to @samp{\"/usr/sbin/sendmail\"}."
  32146. msgstr ""
  32147. #. type: deftypevr
  32148. #: guix-git/doc/guix.texi:21501
  32149. #, no-wrap
  32150. msgid "{@code{dovecot-configuration} parameter} string submission-host"
  32151. msgstr ""
  32152. #. type: deftypevr
  32153. #: guix-git/doc/guix.texi:21505
  32154. msgid "If non-empty, send mails via this SMTP host[:port] instead of sendmail. Defaults to @samp{\"\"}."
  32155. msgstr ""
  32156. #. type: deftypevr
  32157. #: guix-git/doc/guix.texi:21507
  32158. #, no-wrap
  32159. msgid "{@code{dovecot-configuration} parameter} string rejection-subject"
  32160. msgstr ""
  32161. #. type: deftypevr
  32162. #: guix-git/doc/guix.texi:21511
  32163. 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\"}."
  32164. msgstr ""
  32165. #. type: deftypevr
  32166. #: guix-git/doc/guix.texi:21513
  32167. #, no-wrap
  32168. msgid "{@code{dovecot-configuration} parameter} string rejection-reason"
  32169. msgstr ""
  32170. #. type: deftypevr
  32171. #: guix-git/doc/guix.texi:21516
  32172. msgid "Human readable error message for rejection mails. You can use variables:"
  32173. msgstr ""
  32174. #. type: table
  32175. #: guix-git/doc/guix.texi:21520
  32176. msgid "CRLF"
  32177. msgstr ""
  32178. #. type: item
  32179. #: guix-git/doc/guix.texi:21520
  32180. #, no-wrap
  32181. msgid "%r"
  32182. msgstr ""
  32183. #. type: table
  32184. #: guix-git/doc/guix.texi:21522
  32185. msgid "reason"
  32186. msgstr ""
  32187. #. type: table
  32188. #: guix-git/doc/guix.texi:21524
  32189. msgid "original subject"
  32190. msgstr ""
  32191. #. type: item
  32192. #: guix-git/doc/guix.texi:21524
  32193. #, no-wrap
  32194. msgid "%t"
  32195. msgstr ""
  32196. #. type: table
  32197. #: guix-git/doc/guix.texi:21526
  32198. msgid "recipient"
  32199. msgstr ""
  32200. #. type: deftypevr
  32201. #: guix-git/doc/guix.texi:21528
  32202. msgid "Defaults to @samp{\"Your message to <%t> was automatically rejected:%n%r\"}."
  32203. msgstr ""
  32204. #. type: deftypevr
  32205. #: guix-git/doc/guix.texi:21530
  32206. #, no-wrap
  32207. msgid "{@code{dovecot-configuration} parameter} string recipient-delimiter"
  32208. msgstr ""
  32209. #. type: deftypevr
  32210. #: guix-git/doc/guix.texi:21534
  32211. msgid "Delimiter character between local-part and detail in email address. Defaults to @samp{\"+\"}."
  32212. msgstr ""
  32213. #. type: deftypevr
  32214. #: guix-git/doc/guix.texi:21536
  32215. #, no-wrap
  32216. msgid "{@code{dovecot-configuration} parameter} string lda-original-recipient-header"
  32217. msgstr ""
  32218. #. type: deftypevr
  32219. #: guix-git/doc/guix.texi:21542
  32220. 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{\"\"}."
  32221. msgstr ""
  32222. #. type: deftypevr
  32223. #: guix-git/doc/guix.texi:21544
  32224. #, no-wrap
  32225. msgid "{@code{dovecot-configuration} parameter} boolean lda-mailbox-autocreate?"
  32226. msgstr ""
  32227. #. type: deftypevr
  32228. #: guix-git/doc/guix.texi:21548
  32229. msgid "Should saving a mail to a nonexistent mailbox automatically create it?. Defaults to @samp{#f}."
  32230. msgstr ""
  32231. #. type: deftypevr
  32232. #: guix-git/doc/guix.texi:21550
  32233. #, no-wrap
  32234. msgid "{@code{dovecot-configuration} parameter} boolean lda-mailbox-autosubscribe?"
  32235. msgstr ""
  32236. #. type: deftypevr
  32237. #: guix-git/doc/guix.texi:21554
  32238. msgid "Should automatically created mailboxes be also automatically subscribed?. Defaults to @samp{#f}."
  32239. msgstr ""
  32240. #. type: deftypevr
  32241. #: guix-git/doc/guix.texi:21556
  32242. #, no-wrap
  32243. msgid "{@code{dovecot-configuration} parameter} non-negative-integer imap-max-line-length"
  32244. msgstr ""
  32245. #. type: deftypevr
  32246. #: guix-git/doc/guix.texi:21562
  32247. 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}."
  32248. msgstr ""
  32249. #. type: deftypevr
  32250. #: guix-git/doc/guix.texi:21564
  32251. #, no-wrap
  32252. msgid "{@code{dovecot-configuration} parameter} string imap-logout-format"
  32253. msgstr ""
  32254. #. type: deftypevr
  32255. #: guix-git/doc/guix.texi:21566
  32256. msgid "IMAP logout format string:"
  32257. msgstr ""
  32258. #. type: item
  32259. #: guix-git/doc/guix.texi:21567
  32260. #, no-wrap
  32261. msgid "%i"
  32262. msgstr ""
  32263. #. type: table
  32264. #: guix-git/doc/guix.texi:21569
  32265. msgid "total number of bytes read from client"
  32266. msgstr ""
  32267. #. type: item
  32268. #: guix-git/doc/guix.texi:21569
  32269. #, no-wrap
  32270. msgid "%o"
  32271. msgstr ""
  32272. #. type: table
  32273. #: guix-git/doc/guix.texi:21571
  32274. msgid "total number of bytes sent to client."
  32275. msgstr ""
  32276. #. type: deftypevr
  32277. #: guix-git/doc/guix.texi:21574
  32278. 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@}\"}."
  32279. msgstr ""
  32280. #. type: deftypevr
  32281. #: guix-git/doc/guix.texi:21576
  32282. #, no-wrap
  32283. msgid "{@code{dovecot-configuration} parameter} string imap-capability"
  32284. msgstr ""
  32285. #. type: deftypevr
  32286. #: guix-git/doc/guix.texi:21580
  32287. 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{\"\"}."
  32288. msgstr ""
  32289. #. type: deftypevr
  32290. #: guix-git/doc/guix.texi:21582
  32291. #, no-wrap
  32292. msgid "{@code{dovecot-configuration} parameter} string imap-idle-notify-interval"
  32293. msgstr ""
  32294. #. type: deftypevr
  32295. #: guix-git/doc/guix.texi:21586
  32296. msgid "How long to wait between \"OK Still here\" notifications when client is IDLEing. Defaults to @samp{\"2 mins\"}."
  32297. msgstr ""
  32298. #. type: deftypevr
  32299. #: guix-git/doc/guix.texi:21588
  32300. #, no-wrap
  32301. msgid "{@code{dovecot-configuration} parameter} string imap-id-send"
  32302. msgstr ""
  32303. #. type: deftypevr
  32304. #: guix-git/doc/guix.texi:21594
  32305. 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{\"\"}."
  32306. msgstr ""
  32307. #. type: deftypevr
  32308. #: guix-git/doc/guix.texi:21596
  32309. #, no-wrap
  32310. msgid "{@code{dovecot-configuration} parameter} string imap-id-log"
  32311. msgstr ""
  32312. #. type: deftypevr
  32313. #: guix-git/doc/guix.texi:21599
  32314. msgid "ID fields sent by client to log. * means everything. Defaults to @samp{\"\"}."
  32315. msgstr ""
  32316. #. type: deftypevr
  32317. #: guix-git/doc/guix.texi:21601
  32318. #, no-wrap
  32319. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list imap-client-workarounds"
  32320. msgstr ""
  32321. #. type: deftypevr
  32322. #: guix-git/doc/guix.texi:21603
  32323. msgid "Workarounds for various client bugs:"
  32324. msgstr ""
  32325. #. type: item
  32326. #: guix-git/doc/guix.texi:21605
  32327. #, no-wrap
  32328. msgid "delay-newmail"
  32329. msgstr ""
  32330. #. type: table
  32331. #: guix-git/doc/guix.texi:21612
  32332. 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\"."
  32333. msgstr ""
  32334. #. type: item
  32335. #: guix-git/doc/guix.texi:21613
  32336. #, no-wrap
  32337. msgid "tb-extra-mailbox-sep"
  32338. msgstr ""
  32339. #. type: table
  32340. #: guix-git/doc/guix.texi:21617
  32341. 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."
  32342. msgstr ""
  32343. #. type: item
  32344. #: guix-git/doc/guix.texi:21618
  32345. #, no-wrap
  32346. msgid "tb-lsub-flags"
  32347. msgstr ""
  32348. #. type: table
  32349. #: guix-git/doc/guix.texi:21622
  32350. 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."
  32351. msgstr ""
  32352. #. type: deftypevr
  32353. #: guix-git/doc/guix.texi:21626
  32354. #, no-wrap
  32355. msgid "{@code{dovecot-configuration} parameter} string imap-urlauth-host"
  32356. msgstr ""
  32357. #. type: deftypevr
  32358. #: guix-git/doc/guix.texi:21629
  32359. msgid "Host allowed in URLAUTH URLs sent by client. \"*\" allows all. Defaults to @samp{\"\"}."
  32360. msgstr ""
  32361. #. type: Plain text
  32362. #: guix-git/doc/guix.texi:21637
  32363. 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."
  32364. msgstr ""
  32365. #. type: Plain text
  32366. #: guix-git/doc/guix.texi:21643
  32367. 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."
  32368. msgstr ""
  32369. #. type: Plain text
  32370. #: guix-git/doc/guix.texi:21645
  32371. msgid "Available @code{opaque-dovecot-configuration} fields are:"
  32372. msgstr ""
  32373. #. type: deftypevr
  32374. #: guix-git/doc/guix.texi:21646
  32375. #, no-wrap
  32376. msgid "{@code{opaque-dovecot-configuration} parameter} package dovecot"
  32377. msgstr ""
  32378. #. type: deftypevr
  32379. #: guix-git/doc/guix.texi:21650
  32380. #, no-wrap
  32381. msgid "{@code{opaque-dovecot-configuration} parameter} string string"
  32382. msgstr ""
  32383. #. type: deftypevr
  32384. #: guix-git/doc/guix.texi:21652
  32385. msgid "The contents of the @code{dovecot.conf}, as a string."
  32386. msgstr ""
  32387. #. type: Plain text
  32388. #: guix-git/doc/guix.texi:21656
  32389. msgid "For example, if your @code{dovecot.conf} is just the empty string, you could instantiate a dovecot service like this:"
  32390. msgstr ""
  32391. #. type: lisp
  32392. #: guix-git/doc/guix.texi:21661
  32393. #, no-wrap
  32394. msgid ""
  32395. "(dovecot-service #:config\n"
  32396. " (opaque-dovecot-configuration\n"
  32397. " (string \"\")))\n"
  32398. msgstr ""
  32399. #. type: subsubheading
  32400. #: guix-git/doc/guix.texi:21663
  32401. #, no-wrap
  32402. msgid "OpenSMTPD Service"
  32403. msgstr ""
  32404. #. type: deffn
  32405. #: guix-git/doc/guix.texi:21665
  32406. #, no-wrap
  32407. msgid "{Scheme Variable} opensmtpd-service-type"
  32408. msgstr ""
  32409. #. type: deffn
  32410. #: guix-git/doc/guix.texi:21669
  32411. 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:"
  32412. msgstr ""
  32413. #. type: lisp
  32414. #: guix-git/doc/guix.texi:21674
  32415. #, no-wrap
  32416. msgid ""
  32417. "(service opensmtpd-service-type\n"
  32418. " (opensmtpd-configuration\n"
  32419. " (config-file (local-file \"./my-smtpd.conf\"))))\n"
  32420. msgstr ""
  32421. #. type: deftp
  32422. #: guix-git/doc/guix.texi:21677
  32423. #, no-wrap
  32424. msgid "{Data Type} opensmtpd-configuration"
  32425. msgstr ""
  32426. #. type: deftp
  32427. #: guix-git/doc/guix.texi:21679
  32428. msgid "Data type representing the configuration of opensmtpd."
  32429. msgstr ""
  32430. #. type: item
  32431. #: guix-git/doc/guix.texi:21681
  32432. #, no-wrap
  32433. msgid "@code{package} (default: @var{opensmtpd})"
  32434. msgstr ""
  32435. #. type: table
  32436. #: guix-git/doc/guix.texi:21683
  32437. msgid "Package object of the OpenSMTPD SMTP server."
  32438. msgstr ""
  32439. #. type: item
  32440. #: guix-git/doc/guix.texi:21684
  32441. #, no-wrap
  32442. msgid "@code{config-file} (default: @code{%default-opensmtpd-file})"
  32443. msgstr ""
  32444. #. type: table
  32445. #: guix-git/doc/guix.texi:21689
  32446. 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."
  32447. msgstr ""
  32448. #. type: subsubheading
  32449. #: guix-git/doc/guix.texi:21693
  32450. #, no-wrap
  32451. msgid "Exim Service"
  32452. msgstr ""
  32453. #. type: cindex
  32454. #: guix-git/doc/guix.texi:21695
  32455. #, no-wrap
  32456. msgid "mail transfer agent (MTA)"
  32457. msgstr ""
  32458. #. type: cindex
  32459. #: guix-git/doc/guix.texi:21696
  32460. #, no-wrap
  32461. msgid "MTA (mail transfer agent)"
  32462. msgstr ""
  32463. #. type: cindex
  32464. #: guix-git/doc/guix.texi:21697
  32465. #, no-wrap
  32466. msgid "SMTP"
  32467. msgstr ""
  32468. #. type: deffn
  32469. #: guix-git/doc/guix.texi:21699
  32470. #, no-wrap
  32471. msgid "{Scheme Variable} exim-service-type"
  32472. msgstr ""
  32473. #. type: deffn
  32474. #: guix-git/doc/guix.texi:21703
  32475. 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:"
  32476. msgstr ""
  32477. #. type: lisp
  32478. #: guix-git/doc/guix.texi:21708
  32479. #, no-wrap
  32480. msgid ""
  32481. "(service exim-service-type\n"
  32482. " (exim-configuration\n"
  32483. " (config-file (local-file \"./my-exim.conf\"))))\n"
  32484. msgstr ""
  32485. #. type: Plain text
  32486. #: guix-git/doc/guix.texi:21714
  32487. 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)."
  32488. msgstr ""
  32489. #. type: deftp
  32490. #: guix-git/doc/guix.texi:21715
  32491. #, no-wrap
  32492. msgid "{Data Type} exim-configuration"
  32493. msgstr ""
  32494. #. type: deftp
  32495. #: guix-git/doc/guix.texi:21717
  32496. msgid "Data type representing the configuration of exim."
  32497. msgstr ""
  32498. #. type: item
  32499. #: guix-git/doc/guix.texi:21719
  32500. #, no-wrap
  32501. msgid "@code{package} (default: @var{exim})"
  32502. msgstr ""
  32503. #. type: table
  32504. #: guix-git/doc/guix.texi:21721
  32505. msgid "Package object of the Exim server."
  32506. msgstr ""
  32507. #. type: table
  32508. #: guix-git/doc/guix.texi:21728
  32509. 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."
  32510. msgstr ""
  32511. #. type: subsubheading
  32512. #: guix-git/doc/guix.texi:21732
  32513. #, no-wrap
  32514. msgid "Getmail service"
  32515. msgstr ""
  32516. #. type: cindex
  32517. #: guix-git/doc/guix.texi:21734
  32518. #, no-wrap
  32519. msgid "IMAP"
  32520. msgstr ""
  32521. #. type: cindex
  32522. #: guix-git/doc/guix.texi:21735
  32523. #, no-wrap
  32524. msgid "POP"
  32525. msgstr ""
  32526. #. type: deffn
  32527. #: guix-git/doc/guix.texi:21737
  32528. #, no-wrap
  32529. msgid "{Scheme Variable} getmail-service-type"
  32530. msgstr ""
  32531. #. type: deffn
  32532. #: guix-git/doc/guix.texi:21740
  32533. msgid "This is the type of the @uref{http://pyropus.ca/software/getmail/, Getmail} mail retriever, whose value should be an @code{getmail-configuration}."
  32534. msgstr ""
  32535. #. type: Plain text
  32536. #: guix-git/doc/guix.texi:21743
  32537. msgid "Available @code{getmail-configuration} fields are:"
  32538. msgstr ""
  32539. #. type: deftypevr
  32540. #: guix-git/doc/guix.texi:21744
  32541. #, no-wrap
  32542. msgid "{@code{getmail-configuration} parameter} symbol name"
  32543. msgstr ""
  32544. #. type: deftypevr
  32545. #: guix-git/doc/guix.texi:21746
  32546. msgid "A symbol to identify the getmail service."
  32547. msgstr ""
  32548. #. type: deftypevr
  32549. #: guix-git/doc/guix.texi:21748
  32550. msgid "Defaults to @samp{\"unset\"}."
  32551. msgstr ""
  32552. #. type: deftypevr
  32553. #: guix-git/doc/guix.texi:21751
  32554. #, no-wrap
  32555. msgid "{@code{getmail-configuration} parameter} package package"
  32556. msgstr ""
  32557. #. type: deftypevr
  32558. #: guix-git/doc/guix.texi:21753
  32559. msgid "The getmail package to use."
  32560. msgstr ""
  32561. #. type: deftypevr
  32562. #: guix-git/doc/guix.texi:21756
  32563. #, no-wrap
  32564. msgid "{@code{getmail-configuration} parameter} string user"
  32565. msgstr ""
  32566. #. type: deftypevr
  32567. #: guix-git/doc/guix.texi:21758
  32568. msgid "The user to run getmail as."
  32569. msgstr ""
  32570. #. type: deftypevr
  32571. #: guix-git/doc/guix.texi:21760 guix-git/doc/guix.texi:21767
  32572. msgid "Defaults to @samp{\"getmail\"}."
  32573. msgstr ""
  32574. #. type: deftypevr
  32575. #: guix-git/doc/guix.texi:21763
  32576. #, no-wrap
  32577. msgid "{@code{getmail-configuration} parameter} string group"
  32578. msgstr ""
  32579. #. type: deftypevr
  32580. #: guix-git/doc/guix.texi:21765
  32581. msgid "The group to run getmail as."
  32582. msgstr ""
  32583. #. type: deftypevr
  32584. #: guix-git/doc/guix.texi:21770
  32585. #, no-wrap
  32586. msgid "{@code{getmail-configuration} parameter} string directory"
  32587. msgstr ""
  32588. #. type: deftypevr
  32589. #: guix-git/doc/guix.texi:21772
  32590. msgid "The getmail directory to use."
  32591. msgstr ""
  32592. #. type: deftypevr
  32593. #: guix-git/doc/guix.texi:21774
  32594. msgid "Defaults to @samp{\"/var/lib/getmail/default\"}."
  32595. msgstr ""
  32596. #. type: deftypevr
  32597. #: guix-git/doc/guix.texi:21777
  32598. #, no-wrap
  32599. msgid "{@code{getmail-configuration} parameter} getmail-configuration-file rcfile"
  32600. msgstr ""
  32601. #. type: deftypevr
  32602. #: guix-git/doc/guix.texi:21779
  32603. msgid "The getmail configuration file to use."
  32604. msgstr ""
  32605. #. type: deftypevr
  32606. #: guix-git/doc/guix.texi:21781
  32607. msgid "Available @code{getmail-configuration-file} fields are:"
  32608. msgstr ""
  32609. #. type: deftypevr
  32610. #: guix-git/doc/guix.texi:21782
  32611. #, no-wrap
  32612. msgid "{@code{getmail-configuration-file} parameter} getmail-retriever-configuration retriever"
  32613. msgstr ""
  32614. #. type: deftypevr
  32615. #: guix-git/doc/guix.texi:21784
  32616. msgid "What mail account to retrieve mail from, and how to access that account."
  32617. msgstr ""
  32618. #. type: deftypevr
  32619. #: guix-git/doc/guix.texi:21786
  32620. msgid "Available @code{getmail-retriever-configuration} fields are:"
  32621. msgstr ""
  32622. #. type: deftypevr
  32623. #: guix-git/doc/guix.texi:21787
  32624. #, no-wrap
  32625. msgid "{@code{getmail-retriever-configuration} parameter} string type"
  32626. msgstr ""
  32627. #. type: deftypevr
  32628. #: guix-git/doc/guix.texi:21790
  32629. msgid "The type of mail retriever to use. Valid values include @samp{passwd} and @samp{static}."
  32630. msgstr ""
  32631. #. type: deftypevr
  32632. #: guix-git/doc/guix.texi:21792
  32633. msgid "Defaults to @samp{\"SimpleIMAPSSLRetriever\"}."
  32634. msgstr ""
  32635. #. type: deftypevr
  32636. #: guix-git/doc/guix.texi:21795
  32637. #, no-wrap
  32638. msgid "{@code{getmail-retriever-configuration} parameter} string server"
  32639. msgstr ""
  32640. #. type: deftypevr
  32641. #: guix-git/doc/guix.texi:21797 guix-git/doc/guix.texi:21804
  32642. msgid "Username to login to the mail server with."
  32643. msgstr ""
  32644. #. type: deftypevr
  32645. #: guix-git/doc/guix.texi:21799 guix-git/doc/guix.texi:21806
  32646. #: guix-git/doc/guix.texi:21870
  32647. msgid "Defaults to @samp{unset}."
  32648. msgstr ""
  32649. #. type: deftypevr
  32650. #: guix-git/doc/guix.texi:21802
  32651. #, no-wrap
  32652. msgid "{@code{getmail-retriever-configuration} parameter} string username"
  32653. msgstr ""
  32654. #. type: deftypevr
  32655. #: guix-git/doc/guix.texi:21809
  32656. #, no-wrap
  32657. msgid "{@code{getmail-retriever-configuration} parameter} non-negative-integer port"
  32658. msgstr ""
  32659. #. type: deftypevr
  32660. #: guix-git/doc/guix.texi:21811
  32661. msgid "Port number to connect to."
  32662. msgstr ""
  32663. #. type: deftypevr
  32664. #: guix-git/doc/guix.texi:21816
  32665. #, no-wrap
  32666. msgid "{@code{getmail-retriever-configuration} parameter} string password"
  32667. msgstr ""
  32668. #. type: deftypevr
  32669. #: guix-git/doc/guix.texi:21818 guix-git/doc/guix.texi:21825
  32670. msgid "Override fields from passwd."
  32671. msgstr ""
  32672. #. type: deftypevr
  32673. #: guix-git/doc/guix.texi:21823
  32674. #, no-wrap
  32675. msgid "{@code{getmail-retriever-configuration} parameter} list password-command"
  32676. msgstr ""
  32677. #. type: deftypevr
  32678. #: guix-git/doc/guix.texi:21830
  32679. #, no-wrap
  32680. msgid "{@code{getmail-retriever-configuration} parameter} string keyfile"
  32681. msgstr ""
  32682. #. type: deftypevr
  32683. #: guix-git/doc/guix.texi:21832
  32684. msgid "PEM-formatted key file to use for the TLS negotiation."
  32685. msgstr ""
  32686. #. type: deftypevr
  32687. #: guix-git/doc/guix.texi:21837
  32688. #, no-wrap
  32689. msgid "{@code{getmail-retriever-configuration} parameter} string certfile"
  32690. msgstr ""
  32691. #. type: deftypevr
  32692. #: guix-git/doc/guix.texi:21839
  32693. msgid "PEM-formatted certificate file to use for the TLS negotiation."
  32694. msgstr ""
  32695. #. type: deftypevr
  32696. #: guix-git/doc/guix.texi:21844
  32697. #, no-wrap
  32698. msgid "{@code{getmail-retriever-configuration} parameter} string ca-certs"
  32699. msgstr ""
  32700. #. type: deftypevr
  32701. #: guix-git/doc/guix.texi:21846
  32702. msgid "CA certificates to use."
  32703. msgstr ""
  32704. #. type: deftypevr
  32705. #: guix-git/doc/guix.texi:21851
  32706. #, no-wrap
  32707. msgid "{@code{getmail-retriever-configuration} parameter} parameter-alist extra-parameters"
  32708. msgstr ""
  32709. #. type: deftypevr
  32710. #: guix-git/doc/guix.texi:21853
  32711. msgid "Extra retriever parameters."
  32712. msgstr ""
  32713. #. type: deftypevr
  32714. #: guix-git/doc/guix.texi:21860
  32715. #, no-wrap
  32716. msgid "{@code{getmail-configuration-file} parameter} getmail-destination-configuration destination"
  32717. msgstr ""
  32718. #. type: deftypevr
  32719. #: guix-git/doc/guix.texi:21862
  32720. msgid "What to do with retrieved messages."
  32721. msgstr ""
  32722. #. type: deftypevr
  32723. #: guix-git/doc/guix.texi:21864
  32724. msgid "Available @code{getmail-destination-configuration} fields are:"
  32725. msgstr ""
  32726. #. type: deftypevr
  32727. #: guix-git/doc/guix.texi:21865
  32728. #, no-wrap
  32729. msgid "{@code{getmail-destination-configuration} parameter} string type"
  32730. msgstr ""
  32731. #. type: deftypevr
  32732. #: guix-git/doc/guix.texi:21868
  32733. msgid "The type of mail destination. Valid values include @samp{Maildir}, @samp{Mboxrd} and @samp{MDA_external}."
  32734. msgstr ""
  32735. #. type: deftypevr
  32736. #: guix-git/doc/guix.texi:21873
  32737. #, no-wrap
  32738. msgid "{@code{getmail-destination-configuration} parameter} string-or-filelike path"
  32739. msgstr ""
  32740. #. type: deftypevr
  32741. #: guix-git/doc/guix.texi:21876
  32742. msgid "The path option for the mail destination. The behaviour depends on the chosen type."
  32743. msgstr ""
  32744. #. type: deftypevr
  32745. #: guix-git/doc/guix.texi:21881
  32746. #, no-wrap
  32747. msgid "{@code{getmail-destination-configuration} parameter} parameter-alist extra-parameters"
  32748. msgstr ""
  32749. #. type: deftypevr
  32750. #: guix-git/doc/guix.texi:21883
  32751. msgid "Extra destination parameters"
  32752. msgstr ""
  32753. #. type: deftypevr
  32754. #: guix-git/doc/guix.texi:21890
  32755. #, no-wrap
  32756. msgid "{@code{getmail-configuration-file} parameter} getmail-options-configuration options"
  32757. msgstr ""
  32758. #. type: deftypevr
  32759. #: guix-git/doc/guix.texi:21892
  32760. msgid "Configure getmail."
  32761. msgstr ""
  32762. #. type: deftypevr
  32763. #: guix-git/doc/guix.texi:21894
  32764. msgid "Available @code{getmail-options-configuration} fields are:"
  32765. msgstr ""
  32766. #. type: deftypevr
  32767. #: guix-git/doc/guix.texi:21895
  32768. #, no-wrap
  32769. msgid "{@code{getmail-options-configuration} parameter} non-negative-integer verbose"
  32770. msgstr ""
  32771. #. type: deftypevr
  32772. #: guix-git/doc/guix.texi:21900
  32773. msgid "If set to @samp{0}, getmail will only print warnings and errors. A value of @samp{1} means that messages will be printed about retrieving and deleting messages. If set to @samp{2}, getmail will print messages about each of its actions."
  32774. msgstr ""
  32775. #. type: deftypevr
  32776. #: guix-git/doc/guix.texi:21902 guix-git/doc/guix.texi:28474
  32777. #: guix-git/doc/guix.texi:29062 guix-git/doc/guix.texi:29207
  32778. msgid "Defaults to @samp{1}."
  32779. msgstr ""
  32780. #. type: deftypevr
  32781. #: guix-git/doc/guix.texi:21905
  32782. #, no-wrap
  32783. msgid "{@code{getmail-options-configuration} parameter} boolean read-all"
  32784. msgstr ""
  32785. #. type: deftypevr
  32786. #: guix-git/doc/guix.texi:21908
  32787. msgid "If true, getmail will retrieve all available messages. Otherwise it will only retrieve messages it hasn't seen previously."
  32788. msgstr ""
  32789. #. type: deftypevr
  32790. #: guix-git/doc/guix.texi:21913
  32791. #, no-wrap
  32792. msgid "{@code{getmail-options-configuration} parameter} boolean delete"
  32793. msgstr ""
  32794. #. type: deftypevr
  32795. #: guix-git/doc/guix.texi:21917
  32796. 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."
  32797. msgstr ""
  32798. #. type: deftypevr
  32799. #: guix-git/doc/guix.texi:21922
  32800. #, no-wrap
  32801. msgid "{@code{getmail-options-configuration} parameter} non-negative-integer delete-after"
  32802. msgstr ""
  32803. #. type: deftypevr
  32804. #: guix-git/doc/guix.texi:21927
  32805. 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."
  32806. msgstr ""
  32807. #. type: deftypevr
  32808. #: guix-git/doc/guix.texi:21932
  32809. #, no-wrap
  32810. msgid "{@code{getmail-options-configuration} parameter} non-negative-integer delete-bigger-than"
  32811. msgstr ""
  32812. #. type: deftypevr
  32813. #: guix-git/doc/guix.texi:21936
  32814. 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."
  32815. msgstr ""
  32816. #. type: deftypevr
  32817. #: guix-git/doc/guix.texi:21941
  32818. #, no-wrap
  32819. msgid "{@code{getmail-options-configuration} parameter} non-negative-integer max-bytes-per-session"
  32820. msgstr ""
  32821. #. type: deftypevr
  32822. #: guix-git/doc/guix.texi:21944
  32823. 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."
  32824. msgstr ""
  32825. #. type: deftypevr
  32826. #: guix-git/doc/guix.texi:21949
  32827. #, no-wrap
  32828. msgid "{@code{getmail-options-configuration} parameter} non-negative-integer max-message-size"
  32829. msgstr ""
  32830. #. type: deftypevr
  32831. #: guix-git/doc/guix.texi:21952
  32832. msgid "Don't retrieve messages larger than this number of bytes. A value of @samp{0} disables this feature."
  32833. msgstr ""
  32834. #. type: deftypevr
  32835. #: guix-git/doc/guix.texi:21957
  32836. #, no-wrap
  32837. msgid "{@code{getmail-options-configuration} parameter} boolean delivered-to"
  32838. msgstr ""
  32839. #. type: deftypevr
  32840. #: guix-git/doc/guix.texi:21959
  32841. msgid "If true, getmail will add a Delivered-To header to messages."
  32842. msgstr ""
  32843. #. type: deftypevr
  32844. #: guix-git/doc/guix.texi:21964
  32845. #, no-wrap
  32846. msgid "{@code{getmail-options-configuration} parameter} boolean received"
  32847. msgstr ""
  32848. #. type: deftypevr
  32849. #: guix-git/doc/guix.texi:21966
  32850. msgid "If set, getmail adds a Received header to the messages."
  32851. msgstr ""
  32852. #. type: deftypevr
  32853. #: guix-git/doc/guix.texi:21971
  32854. #, no-wrap
  32855. msgid "{@code{getmail-options-configuration} parameter} string message-log"
  32856. msgstr ""
  32857. #. type: deftypevr
  32858. #: guix-git/doc/guix.texi:21974
  32859. msgid "Getmail will record a log of its actions to the named file. A value of @samp{\"\"} disables this feature."
  32860. msgstr ""
  32861. #. type: deftypevr
  32862. #: guix-git/doc/guix.texi:21979
  32863. #, no-wrap
  32864. msgid "{@code{getmail-options-configuration} parameter} boolean message-log-syslog"
  32865. msgstr ""
  32866. #. type: deftypevr
  32867. #: guix-git/doc/guix.texi:21982
  32868. msgid "If true, getmail will record a log of its actions using the system logger."
  32869. msgstr ""
  32870. #. type: deftypevr
  32871. #: guix-git/doc/guix.texi:21987
  32872. #, no-wrap
  32873. msgid "{@code{getmail-options-configuration} parameter} boolean message-log-verbose"
  32874. msgstr ""
  32875. #. type: deftypevr
  32876. #: guix-git/doc/guix.texi:21991
  32877. 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."
  32878. msgstr ""
  32879. #. type: deftypevr
  32880. #: guix-git/doc/guix.texi:21996
  32881. #, no-wrap
  32882. msgid "{@code{getmail-options-configuration} parameter} parameter-alist extra-parameters"
  32883. msgstr ""
  32884. #. type: deftypevr
  32885. #: guix-git/doc/guix.texi:21998
  32886. msgid "Extra options to include."
  32887. msgstr ""
  32888. #. type: deftypevr
  32889. #: guix-git/doc/guix.texi:22007
  32890. #, no-wrap
  32891. msgid "{@code{getmail-configuration} parameter} list idle"
  32892. msgstr ""
  32893. #. type: deftypevr
  32894. #: guix-git/doc/guix.texi:22011
  32895. 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."
  32896. msgstr ""
  32897. #. type: deftypevr
  32898. #: guix-git/doc/guix.texi:22016
  32899. #, no-wrap
  32900. msgid "{@code{getmail-configuration} parameter} list environment-variables"
  32901. msgstr ""
  32902. #. type: deftypevr
  32903. #: guix-git/doc/guix.texi:22018
  32904. msgid "Environment variables to set for getmail."
  32905. msgstr ""
  32906. #. type: subsubheading
  32907. #: guix-git/doc/guix.texi:22023
  32908. #, no-wrap
  32909. msgid "Mail Aliases Service"
  32910. msgstr ""
  32911. #. type: cindex
  32912. #: guix-git/doc/guix.texi:22025
  32913. #, no-wrap
  32914. msgid "email aliases"
  32915. msgstr ""
  32916. #. type: cindex
  32917. #: guix-git/doc/guix.texi:22026
  32918. #, no-wrap
  32919. msgid "aliases, for email addresses"
  32920. msgstr ""
  32921. #. type: deffn
  32922. #: guix-git/doc/guix.texi:22028
  32923. #, no-wrap
  32924. msgid "{Scheme Variable} mail-aliases-service-type"
  32925. msgstr ""
  32926. #. type: deffn
  32927. #: guix-git/doc/guix.texi:22031
  32928. msgid "This is the type of the service which provides @code{/etc/aliases}, specifying how to deliver mail to users on this system."
  32929. msgstr ""
  32930. #. type: lisp
  32931. #: guix-git/doc/guix.texi:22036
  32932. #, no-wrap
  32933. msgid ""
  32934. "(service mail-aliases-service-type\n"
  32935. " '((\"postmaster\" \"bob\")\n"
  32936. " (\"bob\" \"bob@@example.com\" \"bob@@example2.com\")))\n"
  32937. msgstr ""
  32938. #. type: Plain text
  32939. #: guix-git/doc/guix.texi:22044
  32940. 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."
  32941. msgstr ""
  32942. #. type: Plain text
  32943. #: guix-git/doc/guix.texi:22050
  32944. 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})."
  32945. msgstr ""
  32946. #. type: cindex
  32947. #: guix-git/doc/guix.texi:22051 guix-git/doc/guix.texi:22052
  32948. #, no-wrap
  32949. msgid "GNU Mailutils IMAP4 Daemon"
  32950. msgstr ""
  32951. #. type: deffn
  32952. #: guix-git/doc/guix.texi:22054
  32953. #, no-wrap
  32954. msgid "{Scheme Variable} imap4d-service-type"
  32955. msgstr ""
  32956. #. type: deffn
  32957. #: guix-git/doc/guix.texi:22058
  32958. 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:"
  32959. msgstr ""
  32960. #. type: lisp
  32961. #: guix-git/doc/guix.texi:22063
  32962. #, no-wrap
  32963. msgid ""
  32964. "(service imap4d-service-type\n"
  32965. " (imap4d-configuration\n"
  32966. " (config-file (local-file \"imap4d.conf\"))))\n"
  32967. msgstr ""
  32968. #. type: deftp
  32969. #: guix-git/doc/guix.texi:22066
  32970. #, no-wrap
  32971. msgid "{Data Type} imap4d-configuration"
  32972. msgstr ""
  32973. #. type: deftp
  32974. #: guix-git/doc/guix.texi:22068
  32975. msgid "Data type representing the configuration of @command{imap4d}."
  32976. msgstr ""
  32977. #. type: item
  32978. #: guix-git/doc/guix.texi:22070
  32979. #, no-wrap
  32980. msgid "@code{package} (default: @code{mailutils})"
  32981. msgstr ""
  32982. #. type: table
  32983. #: guix-git/doc/guix.texi:22072
  32984. msgid "The package that provides @command{imap4d}."
  32985. msgstr ""
  32986. #. type: item
  32987. #: guix-git/doc/guix.texi:22073
  32988. #, no-wrap
  32989. msgid "@code{config-file} (default: @code{%default-imap4d-config-file})"
  32990. msgstr ""
  32991. #. type: table
  32992. #: guix-git/doc/guix.texi:22077
  32993. 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."
  32994. msgstr ""
  32995. #. type: subsubheading
  32996. #: guix-git/doc/guix.texi:22081
  32997. #, no-wrap
  32998. msgid "Radicale Service"
  32999. msgstr ""
  33000. #. type: cindex
  33001. #: guix-git/doc/guix.texi:22082
  33002. #, no-wrap
  33003. msgid "CalDAV"
  33004. msgstr ""
  33005. #. type: cindex
  33006. #: guix-git/doc/guix.texi:22083
  33007. #, no-wrap
  33008. msgid "CardDAV"
  33009. msgstr ""
  33010. #. type: deffn
  33011. #: guix-git/doc/guix.texi:22085
  33012. #, no-wrap
  33013. msgid "{Scheme Variable} radicale-service-type"
  33014. msgstr ""
  33015. #. type: deffn
  33016. #: guix-git/doc/guix.texi:22088
  33017. msgid "This is the type of the @uref{https://radicale.org, Radicale} CalDAV/CardDAV server whose value should be a @code{radicale-configuration}."
  33018. msgstr ""
  33019. #. type: deftp
  33020. #: guix-git/doc/guix.texi:22090
  33021. #, no-wrap
  33022. msgid "{Data Type} radicale-configuration"
  33023. msgstr ""
  33024. #. type: deftp
  33025. #: guix-git/doc/guix.texi:22092
  33026. msgid "Data type representing the configuration of @command{radicale}."
  33027. msgstr ""
  33028. #. type: item
  33029. #: guix-git/doc/guix.texi:22094
  33030. #, no-wrap
  33031. msgid "@code{package} (default: @code{radicale})"
  33032. msgstr ""
  33033. #. type: table
  33034. #: guix-git/doc/guix.texi:22096
  33035. msgid "The package that provides @command{radicale}."
  33036. msgstr ""
  33037. #. type: item
  33038. #: guix-git/doc/guix.texi:22097
  33039. #, no-wrap
  33040. msgid "@code{config-file} (default: @code{%default-radicale-config-file})"
  33041. msgstr ""
  33042. #. type: table
  33043. #: guix-git/doc/guix.texi:22101
  33044. 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."
  33045. msgstr ""
  33046. #. type: cindex
  33047. #: guix-git/doc/guix.texi:22108
  33048. #, no-wrap
  33049. msgid "messaging"
  33050. msgstr ""
  33051. #. type: cindex
  33052. #: guix-git/doc/guix.texi:22109
  33053. #, no-wrap
  33054. msgid "jabber"
  33055. msgstr ""
  33056. #. type: cindex
  33057. #: guix-git/doc/guix.texi:22110
  33058. #, no-wrap
  33059. msgid "XMPP"
  33060. msgstr ""
  33061. #. type: Plain text
  33062. #: guix-git/doc/guix.texi:22114
  33063. msgid "The @code{(gnu services messaging)} module provides Guix service definitions for messaging services. Currently it provides the following services:"
  33064. msgstr ""
  33065. #. type: subsubheading
  33066. #: guix-git/doc/guix.texi:22115
  33067. #, no-wrap
  33068. msgid "Prosody Service"
  33069. msgstr ""
  33070. #. type: deffn
  33071. #: guix-git/doc/guix.texi:22117
  33072. #, no-wrap
  33073. msgid "{Scheme Variable} prosody-service-type"
  33074. msgstr ""
  33075. #. type: deffn
  33076. #: guix-git/doc/guix.texi:22121
  33077. 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:"
  33078. msgstr ""
  33079. #. type: lisp
  33080. #: guix-git/doc/guix.texi:22136
  33081. #, no-wrap
  33082. msgid ""
  33083. "(service prosody-service-type\n"
  33084. " (prosody-configuration\n"
  33085. " (modules-enabled (cons* \"groups\" \"mam\" %default-modules-enabled))\n"
  33086. " (int-components\n"
  33087. " (list\n"
  33088. " (int-component-configuration\n"
  33089. " (hostname \"conference.example.net\")\n"
  33090. " (plugin \"muc\")\n"
  33091. " (mod-muc (mod-muc-configuration)))))\n"
  33092. " (virtualhosts\n"
  33093. " (list\n"
  33094. " (virtualhost-configuration\n"
  33095. " (domain \"example.net\"))))))\n"
  33096. msgstr ""
  33097. #. type: deffn
  33098. #: guix-git/doc/guix.texi:22139
  33099. msgid "See below for details about @code{prosody-configuration}."
  33100. msgstr ""
  33101. #. type: Plain text
  33102. #: guix-git/doc/guix.texi:22145
  33103. 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."
  33104. msgstr ""
  33105. #. type: Plain text
  33106. #: guix-git/doc/guix.texi:22148
  33107. msgid "You can perform various sanity checks on the generated configuration with the @code{prosodyctl check} command."
  33108. msgstr ""
  33109. #. type: Plain text
  33110. #: guix-git/doc/guix.texi:22152
  33111. 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}."
  33112. msgstr ""
  33113. #. type: example
  33114. #: guix-git/doc/guix.texi:22155
  33115. #, no-wrap
  33116. msgid "prosodyctl --root cert import /etc/letsencrypt/live\n"
  33117. msgstr ""
  33118. #. type: Plain text
  33119. #: guix-git/doc/guix.texi:22162
  33120. 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}."
  33121. msgstr ""
  33122. #. type: Plain text
  33123. #: guix-git/doc/guix.texi:22166
  33124. 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."
  33125. msgstr ""
  33126. #. type: Plain text
  33127. #: guix-git/doc/guix.texi:22169
  33128. msgid "The @code{file-object} type designates either a file-like object (@pxref{G-Expressions, file-like objects}) or a file name."
  33129. msgstr ""
  33130. #. type: Plain text
  33131. #: guix-git/doc/guix.texi:22179
  33132. msgid "Available @code{prosody-configuration} fields are:"
  33133. msgstr ""
  33134. #. type: deftypevr
  33135. #: guix-git/doc/guix.texi:22180
  33136. #, no-wrap
  33137. msgid "{@code{prosody-configuration} parameter} package prosody"
  33138. msgstr ""
  33139. #. type: deftypevr
  33140. #: guix-git/doc/guix.texi:22182
  33141. msgid "The Prosody package."
  33142. msgstr ""
  33143. #. type: deftypevr
  33144. #: guix-git/doc/guix.texi:22184
  33145. #, no-wrap
  33146. msgid "{@code{prosody-configuration} parameter} file-name data-path"
  33147. msgstr ""
  33148. #. type: deftypevr
  33149. #: guix-git/doc/guix.texi:22188
  33150. msgid "Location of the Prosody data storage directory. See @url{https://prosody.im/doc/configure}. Defaults to @samp{\"/var/lib/prosody\"}."
  33151. msgstr ""
  33152. #. type: deftypevr
  33153. #: guix-git/doc/guix.texi:22190
  33154. #, no-wrap
  33155. msgid "{@code{prosody-configuration} parameter} file-object-list plugin-paths"
  33156. msgstr ""
  33157. #. type: deftypevr
  33158. #: guix-git/doc/guix.texi:22194
  33159. 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{()}."
  33160. msgstr ""
  33161. #. type: deftypevr
  33162. #: guix-git/doc/guix.texi:22196
  33163. #, no-wrap
  33164. msgid "{@code{prosody-configuration} parameter} file-name certificates"
  33165. msgstr ""
  33166. #. type: deftypevr
  33167. #: guix-git/doc/guix.texi:22201
  33168. 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\"}."
  33169. msgstr ""
  33170. #. type: deftypevr
  33171. #: guix-git/doc/guix.texi:22203
  33172. #, no-wrap
  33173. msgid "{@code{prosody-configuration} parameter} string-list admins"
  33174. msgstr ""
  33175. #. type: deftypevr
  33176. #: guix-git/doc/guix.texi:22209
  33177. 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{()}."
  33178. msgstr ""
  33179. #. type: deftypevr
  33180. #: guix-git/doc/guix.texi:22211
  33181. #, no-wrap
  33182. msgid "{@code{prosody-configuration} parameter} boolean use-libevent?"
  33183. msgstr ""
  33184. #. type: deftypevr
  33185. #: guix-git/doc/guix.texi:22215
  33186. msgid "Enable use of libevent for better performance under high load. See @url{https://prosody.im/doc/libevent}. Defaults to @samp{#f}."
  33187. msgstr ""
  33188. #. type: deftypevr
  33189. #: guix-git/doc/guix.texi:22217
  33190. #, no-wrap
  33191. msgid "{@code{prosody-configuration} parameter} module-list modules-enabled"
  33192. msgstr ""
  33193. #. type: deftypevr
  33194. #: guix-git/doc/guix.texi:22223
  33195. 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\")}."
  33196. msgstr ""
  33197. #. type: deftypevr
  33198. #: guix-git/doc/guix.texi:22225
  33199. #, no-wrap
  33200. msgid "{@code{prosody-configuration} parameter} string-list modules-disabled"
  33201. msgstr ""
  33202. #. type: deftypevr
  33203. #: guix-git/doc/guix.texi:22229
  33204. 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{()}."
  33205. msgstr ""
  33206. #. type: deftypevr
  33207. #: guix-git/doc/guix.texi:22231
  33208. #, no-wrap
  33209. msgid "{@code{prosody-configuration} parameter} file-object groups-file"
  33210. msgstr ""
  33211. #. type: deftypevr
  33212. #: guix-git/doc/guix.texi:22236
  33213. 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\"}."
  33214. msgstr ""
  33215. #. type: deftypevr
  33216. #: guix-git/doc/guix.texi:22238
  33217. #, no-wrap
  33218. msgid "{@code{prosody-configuration} parameter} boolean allow-registration?"
  33219. msgstr ""
  33220. #. type: deftypevr
  33221. #: guix-git/doc/guix.texi:22242
  33222. msgid "Disable account creation by default, for security. See @url{https://prosody.im/doc/creating_accounts}. Defaults to @samp{#f}."
  33223. msgstr ""
  33224. #. type: deftypevr
  33225. #: guix-git/doc/guix.texi:22244
  33226. #, no-wrap
  33227. msgid "{@code{prosody-configuration} parameter} maybe-ssl-configuration ssl"
  33228. msgstr ""
  33229. #. type: deftypevr
  33230. #: guix-git/doc/guix.texi:22249
  33231. 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}."
  33232. msgstr ""
  33233. #. type: deftypevr
  33234. #: guix-git/doc/guix.texi:22251
  33235. msgid "Available @code{ssl-configuration} fields are:"
  33236. msgstr ""
  33237. #. type: deftypevr
  33238. #: guix-git/doc/guix.texi:22252
  33239. #, no-wrap
  33240. msgid "{@code{ssl-configuration} parameter} maybe-string protocol"
  33241. msgstr ""
  33242. #. type: deftypevr
  33243. #: guix-git/doc/guix.texi:22254
  33244. msgid "This determines what handshake to use."
  33245. msgstr ""
  33246. #. type: deftypevr
  33247. #: guix-git/doc/guix.texi:22256
  33248. #, no-wrap
  33249. msgid "{@code{ssl-configuration} parameter} maybe-file-name key"
  33250. msgstr ""
  33251. #. type: deftypevr
  33252. #: guix-git/doc/guix.texi:22258
  33253. msgid "Path to your private key file."
  33254. msgstr ""
  33255. #. type: deftypevr
  33256. #: guix-git/doc/guix.texi:22260
  33257. #, no-wrap
  33258. msgid "{@code{ssl-configuration} parameter} maybe-file-name certificate"
  33259. msgstr ""
  33260. #. type: deftypevr
  33261. #: guix-git/doc/guix.texi:22262
  33262. msgid "Path to your certificate file."
  33263. msgstr ""
  33264. #. type: deftypevr
  33265. #: guix-git/doc/guix.texi:22264
  33266. #, no-wrap
  33267. msgid "{@code{ssl-configuration} parameter} file-object capath"
  33268. msgstr ""
  33269. #. type: deftypevr
  33270. #: guix-git/doc/guix.texi:22268
  33271. 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\"}."
  33272. msgstr ""
  33273. #. type: deftypevr
  33274. #: guix-git/doc/guix.texi:22270
  33275. #, no-wrap
  33276. msgid "{@code{ssl-configuration} parameter} maybe-file-object cafile"
  33277. msgstr ""
  33278. #. type: deftypevr
  33279. #: guix-git/doc/guix.texi:22273
  33280. msgid "Path to a file containing root certificates that you wish Prosody to trust. Similar to @code{capath} but with all certificates concatenated together."
  33281. msgstr ""
  33282. #. type: deftypevr
  33283. #: guix-git/doc/guix.texi:22275
  33284. #, no-wrap
  33285. msgid "{@code{ssl-configuration} parameter} maybe-string-list verify"
  33286. msgstr ""
  33287. #. type: deftypevr
  33288. #: guix-git/doc/guix.texi:22278
  33289. msgid "A list of verification options (these mostly map to OpenSSL's @code{set_verify()} flags)."
  33290. msgstr ""
  33291. #. type: deftypevr
  33292. #: guix-git/doc/guix.texi:22280
  33293. #, no-wrap
  33294. msgid "{@code{ssl-configuration} parameter} maybe-string-list options"
  33295. msgstr ""
  33296. #. type: deftypevr
  33297. #: guix-git/doc/guix.texi:22284
  33298. 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."
  33299. msgstr ""
  33300. #. type: deftypevr
  33301. #: guix-git/doc/guix.texi:22286
  33302. #, no-wrap
  33303. msgid "{@code{ssl-configuration} parameter} maybe-non-negative-integer depth"
  33304. msgstr ""
  33305. #. type: deftypevr
  33306. #: guix-git/doc/guix.texi:22289
  33307. msgid "How long a chain of certificate authorities to check when looking for a trusted root certificate."
  33308. msgstr ""
  33309. #. type: deftypevr
  33310. #: guix-git/doc/guix.texi:22291
  33311. #, no-wrap
  33312. msgid "{@code{ssl-configuration} parameter} maybe-string ciphers"
  33313. msgstr ""
  33314. #. type: deftypevr
  33315. #: guix-git/doc/guix.texi:22294
  33316. msgid "An OpenSSL cipher string. This selects what ciphers Prosody will offer to clients, and in what order."
  33317. msgstr ""
  33318. #. type: deftypevr
  33319. #: guix-git/doc/guix.texi:22296
  33320. #, no-wrap
  33321. msgid "{@code{ssl-configuration} parameter} maybe-file-name dhparam"
  33322. msgstr ""
  33323. #. type: deftypevr
  33324. #: guix-git/doc/guix.texi:22300
  33325. 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}"
  33326. msgstr ""
  33327. #. type: deftypevr
  33328. #: guix-git/doc/guix.texi:22302
  33329. #, no-wrap
  33330. msgid "{@code{ssl-configuration} parameter} maybe-string curve"
  33331. msgstr ""
  33332. #. type: deftypevr
  33333. #: guix-git/doc/guix.texi:22305
  33334. msgid "Curve for Elliptic curve Diffie-Hellman. Prosody's default is @samp{\"secp384r1\"}."
  33335. msgstr ""
  33336. #. type: deftypevr
  33337. #: guix-git/doc/guix.texi:22307
  33338. #, no-wrap
  33339. msgid "{@code{ssl-configuration} parameter} maybe-string-list verifyext"
  33340. msgstr ""
  33341. #. type: deftypevr
  33342. #: guix-git/doc/guix.texi:22309
  33343. msgid "A list of ``extra'' verification options."
  33344. msgstr ""
  33345. #. type: deftypevr
  33346. #: guix-git/doc/guix.texi:22311
  33347. #, no-wrap
  33348. msgid "{@code{ssl-configuration} parameter} maybe-string password"
  33349. msgstr ""
  33350. #. type: deftypevr
  33351. #: guix-git/doc/guix.texi:22313
  33352. msgid "Password for encrypted private keys."
  33353. msgstr ""
  33354. #. type: deftypevr
  33355. #: guix-git/doc/guix.texi:22317
  33356. #, no-wrap
  33357. msgid "{@code{prosody-configuration} parameter} boolean c2s-require-encryption?"
  33358. msgstr ""
  33359. #. type: deftypevr
  33360. #: guix-git/doc/guix.texi:22321
  33361. 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}."
  33362. msgstr ""
  33363. #. type: deftypevr
  33364. #: guix-git/doc/guix.texi:22323
  33365. #, no-wrap
  33366. msgid "{@code{prosody-configuration} parameter} string-list disable-sasl-mechanisms"
  33367. msgstr ""
  33368. #. type: deftypevr
  33369. #: guix-git/doc/guix.texi:22327
  33370. msgid "Set of mechanisms that will never be offered. See @url{https://prosody.im/doc/modules/mod_saslauth}. Defaults to @samp{(\"DIGEST-MD5\")}."
  33371. msgstr ""
  33372. #. type: deftypevr
  33373. #: guix-git/doc/guix.texi:22329
  33374. #, no-wrap
  33375. msgid "{@code{prosody-configuration} parameter} boolean s2s-require-encryption?"
  33376. msgstr ""
  33377. #. type: deftypevr
  33378. #: guix-git/doc/guix.texi:22333
  33379. 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}."
  33380. msgstr ""
  33381. #. type: deftypevr
  33382. #: guix-git/doc/guix.texi:22335
  33383. #, no-wrap
  33384. msgid "{@code{prosody-configuration} parameter} boolean s2s-secure-auth?"
  33385. msgstr ""
  33386. #. type: deftypevr
  33387. #: guix-git/doc/guix.texi:22341
  33388. 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}."
  33389. msgstr ""
  33390. #. type: deftypevr
  33391. #: guix-git/doc/guix.texi:22343
  33392. #, no-wrap
  33393. msgid "{@code{prosody-configuration} parameter} string-list s2s-insecure-domains"
  33394. msgstr ""
  33395. #. type: deftypevr
  33396. #: guix-git/doc/guix.texi:22349
  33397. 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{()}."
  33398. msgstr ""
  33399. #. type: deftypevr
  33400. #: guix-git/doc/guix.texi:22351
  33401. #, no-wrap
  33402. msgid "{@code{prosody-configuration} parameter} string-list s2s-secure-domains"
  33403. msgstr ""
  33404. #. type: deftypevr
  33405. #: guix-git/doc/guix.texi:22356
  33406. 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{()}."
  33407. msgstr ""
  33408. #. type: deftypevr
  33409. #: guix-git/doc/guix.texi:22358
  33410. #, no-wrap
  33411. msgid "{@code{prosody-configuration} parameter} string authentication"
  33412. msgstr ""
  33413. #. type: deftypevr
  33414. #: guix-git/doc/guix.texi:22366
  33415. 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\"}."
  33416. msgstr ""
  33417. #. type: deftypevr
  33418. #: guix-git/doc/guix.texi:22368
  33419. #, no-wrap
  33420. msgid "{@code{prosody-configuration} parameter} maybe-string log"
  33421. msgstr ""
  33422. #. type: deftypevr
  33423. #: guix-git/doc/guix.texi:22372
  33424. 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\"}."
  33425. msgstr ""
  33426. #. type: deftypevr
  33427. #: guix-git/doc/guix.texi:22374
  33428. #, no-wrap
  33429. msgid "{@code{prosody-configuration} parameter} file-name pidfile"
  33430. msgstr ""
  33431. #. type: deftypevr
  33432. #: guix-git/doc/guix.texi:22377
  33433. msgid "File to write pid in. See @url{https://prosody.im/doc/modules/mod_posix}. Defaults to @samp{\"/var/run/prosody/prosody.pid\"}."
  33434. msgstr ""
  33435. #. type: deftypevr
  33436. #: guix-git/doc/guix.texi:22379
  33437. #, no-wrap
  33438. msgid "{@code{prosody-configuration} parameter} maybe-non-negative-integer http-max-content-size"
  33439. msgstr ""
  33440. #. type: deftypevr
  33441. #: guix-git/doc/guix.texi:22381
  33442. msgid "Maximum allowed size of the HTTP body (in bytes)."
  33443. msgstr ""
  33444. #. type: deftypevr
  33445. #: guix-git/doc/guix.texi:22383
  33446. #, no-wrap
  33447. msgid "{@code{prosody-configuration} parameter} maybe-string http-external-url"
  33448. msgstr ""
  33449. #. type: deftypevr
  33450. #: guix-git/doc/guix.texi:22388
  33451. 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}."
  33452. msgstr ""
  33453. #. type: deftypevr
  33454. #: guix-git/doc/guix.texi:22390
  33455. #, no-wrap
  33456. msgid "{@code{prosody-configuration} parameter} virtualhost-configuration-list virtualhosts"
  33457. msgstr ""
  33458. #. type: deftypevr
  33459. #: guix-git/doc/guix.texi:22395
  33460. 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."
  33461. msgstr ""
  33462. #. type: deftypevr
  33463. #: guix-git/doc/guix.texi:22401
  33464. 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."
  33465. msgstr ""
  33466. #. type: deftypevr
  33467. #: guix-git/doc/guix.texi:22403
  33468. msgid "See @url{https://prosody.im/doc/configure#virtual_host_settings}."
  33469. msgstr ""
  33470. #. type: deftypevr
  33471. #: guix-git/doc/guix.texi:22405
  33472. msgid "Available @code{virtualhost-configuration} fields are:"
  33473. msgstr ""
  33474. #. type: deftypevr
  33475. #: guix-git/doc/guix.texi:22407 guix-git/doc/guix.texi:22429
  33476. #: guix-git/doc/guix.texi:22482
  33477. 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:"
  33478. msgstr ""
  33479. #. type: deftypevr
  33480. #: guix-git/doc/guix.texi:22407
  33481. #, no-wrap
  33482. msgid "{@code{virtualhost-configuration} parameter} string domain"
  33483. msgstr ""
  33484. #. type: deftypevr
  33485. #: guix-git/doc/guix.texi:22409
  33486. msgid "Domain you wish Prosody to serve."
  33487. msgstr ""
  33488. #. type: deftypevr
  33489. #: guix-git/doc/guix.texi:22413
  33490. #, no-wrap
  33491. msgid "{@code{prosody-configuration} parameter} int-component-configuration-list int-components"
  33492. msgstr ""
  33493. #. type: deftypevr
  33494. #: guix-git/doc/guix.texi:22418
  33495. 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."
  33496. msgstr ""
  33497. #. type: deftypevr
  33498. #: guix-git/doc/guix.texi:22422
  33499. 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."
  33500. msgstr ""
  33501. #. type: deftypevr
  33502. #: guix-git/doc/guix.texi:22425
  33503. msgid "See @url{https://prosody.im/doc/components}. Defaults to @samp{()}."
  33504. msgstr ""
  33505. #. type: deftypevr
  33506. #: guix-git/doc/guix.texi:22427
  33507. msgid "Available @code{int-component-configuration} fields are:"
  33508. msgstr ""
  33509. #. type: deftypevr
  33510. #: guix-git/doc/guix.texi:22429
  33511. #, no-wrap
  33512. msgid "{@code{int-component-configuration} parameter} string hostname"
  33513. msgstr ""
  33514. #. type: deftypevr
  33515. #: guix-git/doc/guix.texi:22431 guix-git/doc/guix.texi:22488
  33516. msgid "Hostname of the component."
  33517. msgstr ""
  33518. #. type: deftypevr
  33519. #: guix-git/doc/guix.texi:22433
  33520. #, no-wrap
  33521. msgid "{@code{int-component-configuration} parameter} string plugin"
  33522. msgstr ""
  33523. #. type: deftypevr
  33524. #: guix-git/doc/guix.texi:22435
  33525. msgid "Plugin you wish to use for the component."
  33526. msgstr ""
  33527. #. type: deftypevr
  33528. #: guix-git/doc/guix.texi:22437
  33529. #, no-wrap
  33530. msgid "{@code{int-component-configuration} parameter} maybe-mod-muc-configuration mod-muc"
  33531. msgstr ""
  33532. #. type: deftypevr
  33533. #: guix-git/doc/guix.texi:22440
  33534. msgid "Multi-user chat (MUC) is Prosody's module for allowing you to create hosted chatrooms/conferences for XMPP users."
  33535. msgstr ""
  33536. #. type: deftypevr
  33537. #: guix-git/doc/guix.texi:22444
  33538. 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."
  33539. msgstr ""
  33540. #. type: deftypevr
  33541. #: guix-git/doc/guix.texi:22446
  33542. msgid "See also @url{https://prosody.im/doc/modules/mod_muc}."
  33543. msgstr ""
  33544. #. type: deftypevr
  33545. #: guix-git/doc/guix.texi:22448
  33546. msgid "Available @code{mod-muc-configuration} fields are:"
  33547. msgstr ""
  33548. #. type: deftypevr
  33549. #: guix-git/doc/guix.texi:22449
  33550. #, no-wrap
  33551. msgid "{@code{mod-muc-configuration} parameter} string name"
  33552. msgstr ""
  33553. #. type: deftypevr
  33554. #: guix-git/doc/guix.texi:22452
  33555. msgid "The name to return in service discovery responses. Defaults to @samp{\"Prosody Chatrooms\"}."
  33556. msgstr ""
  33557. #. type: deftypevr
  33558. #: guix-git/doc/guix.texi:22454
  33559. #, no-wrap
  33560. msgid "{@code{mod-muc-configuration} parameter} string-or-boolean restrict-room-creation"
  33561. msgstr ""
  33562. #. type: deftypevr
  33563. #: guix-git/doc/guix.texi:22461
  33564. 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}."
  33565. msgstr ""
  33566. #. type: deftypevr
  33567. #: guix-git/doc/guix.texi:22463
  33568. #, no-wrap
  33569. msgid "{@code{mod-muc-configuration} parameter} non-negative-integer max-history-messages"
  33570. msgstr ""
  33571. #. type: deftypevr
  33572. #: guix-git/doc/guix.texi:22467
  33573. msgid "Maximum number of history messages that will be sent to the member that has just joined the room. Defaults to @samp{20}."
  33574. msgstr ""
  33575. #. type: deftypevr
  33576. #: guix-git/doc/guix.texi:22473
  33577. #, no-wrap
  33578. msgid "{@code{prosody-configuration} parameter} ext-component-configuration-list ext-components"
  33579. msgstr ""
  33580. #. type: deftypevr
  33581. #: guix-git/doc/guix.texi:22478
  33582. 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{()}."
  33583. msgstr ""
  33584. #. type: deftypevr
  33585. #: guix-git/doc/guix.texi:22480
  33586. msgid "Available @code{ext-component-configuration} fields are:"
  33587. msgstr ""
  33588. #. type: deftypevr
  33589. #: guix-git/doc/guix.texi:22482
  33590. #, no-wrap
  33591. msgid "{@code{ext-component-configuration} parameter} string component-secret"
  33592. msgstr ""
  33593. #. type: deftypevr
  33594. #: guix-git/doc/guix.texi:22484
  33595. msgid "Password which the component will use to log in."
  33596. msgstr ""
  33597. #. type: deftypevr
  33598. #: guix-git/doc/guix.texi:22486
  33599. #, no-wrap
  33600. msgid "{@code{ext-component-configuration} parameter} string hostname"
  33601. msgstr ""
  33602. #. type: deftypevr
  33603. #: guix-git/doc/guix.texi:22492
  33604. #, no-wrap
  33605. msgid "{@code{prosody-configuration} parameter} non-negative-integer-list component-ports"
  33606. msgstr ""
  33607. #. type: deftypevr
  33608. #: guix-git/doc/guix.texi:22495
  33609. msgid "Port(s) Prosody listens on for component connections. Defaults to @samp{(5347)}."
  33610. msgstr ""
  33611. #. type: deftypevr
  33612. #: guix-git/doc/guix.texi:22497
  33613. #, no-wrap
  33614. msgid "{@code{prosody-configuration} parameter} string component-interface"
  33615. msgstr ""
  33616. #. type: deftypevr
  33617. #: guix-git/doc/guix.texi:22500
  33618. msgid "Interface Prosody listens on for component connections. Defaults to @samp{\"127.0.0.1\"}."
  33619. msgstr ""
  33620. #. type: deftypevr
  33621. #: guix-git/doc/guix.texi:22502
  33622. #, no-wrap
  33623. msgid "{@code{prosody-configuration} parameter} maybe-raw-content raw-content"
  33624. msgstr ""
  33625. #. type: deftypevr
  33626. #: guix-git/doc/guix.texi:22504
  33627. msgid "Raw content that will be added to the configuration file."
  33628. msgstr ""
  33629. #. type: Plain text
  33630. #: guix-git/doc/guix.texi:22512
  33631. 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:"
  33632. msgstr ""
  33633. #. type: deftypevr
  33634. #: guix-git/doc/guix.texi:22513
  33635. #, no-wrap
  33636. msgid "{@code{opaque-prosody-configuration} parameter} package prosody"
  33637. msgstr ""
  33638. #. type: deftypevr
  33639. #: guix-git/doc/guix.texi:22515
  33640. msgid "The prosody package."
  33641. msgstr ""
  33642. #. type: deftypevr
  33643. #: guix-git/doc/guix.texi:22517
  33644. #, no-wrap
  33645. msgid "{@code{opaque-prosody-configuration} parameter} string prosody.cfg.lua"
  33646. msgstr ""
  33647. #. type: deftypevr
  33648. #: guix-git/doc/guix.texi:22519
  33649. msgid "The contents of the @code{prosody.cfg.lua} to use."
  33650. msgstr ""
  33651. #. type: Plain text
  33652. #: guix-git/doc/guix.texi:22523
  33653. msgid "For example, if your @code{prosody.cfg.lua} is just the empty string, you could instantiate a prosody service like this:"
  33654. msgstr ""
  33655. #. type: lisp
  33656. #: guix-git/doc/guix.texi:22528
  33657. #, no-wrap
  33658. msgid ""
  33659. "(service prosody-service-type\n"
  33660. " (opaque-prosody-configuration\n"
  33661. " (prosody.cfg.lua \"\")))\n"
  33662. msgstr ""
  33663. #. type: subsubheading
  33664. #: guix-git/doc/guix.texi:22532
  33665. #, no-wrap
  33666. msgid "BitlBee Service"
  33667. msgstr ""
  33668. #. type: cindex
  33669. #: guix-git/doc/guix.texi:22534 guix-git/doc/guix.texi:22578
  33670. #, no-wrap
  33671. msgid "IRC (Internet Relay Chat)"
  33672. msgstr ""
  33673. #. type: cindex
  33674. #: guix-git/doc/guix.texi:22535
  33675. #, no-wrap
  33676. msgid "IRC gateway"
  33677. msgstr ""
  33678. #. type: Plain text
  33679. #: guix-git/doc/guix.texi:22538
  33680. msgid "@url{https://bitlbee.org,BitlBee} is a gateway that provides an IRC interface to a variety of messaging protocols such as XMPP."
  33681. msgstr ""
  33682. #. type: defvr
  33683. #: guix-git/doc/guix.texi:22539
  33684. #, no-wrap
  33685. msgid "{Scheme Variable} bitlbee-service-type"
  33686. msgstr ""
  33687. #. type: defvr
  33688. #: guix-git/doc/guix.texi:22543
  33689. 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)."
  33690. msgstr ""
  33691. #. type: defvr
  33692. #: guix-git/doc/guix.texi:22546
  33693. msgid "To have BitlBee listen on port 6667 on localhost, add this line to your services:"
  33694. msgstr ""
  33695. #. type: lisp
  33696. #: guix-git/doc/guix.texi:22549
  33697. #, no-wrap
  33698. msgid "(service bitlbee-service-type)\n"
  33699. msgstr ""
  33700. #. type: deftp
  33701. #: guix-git/doc/guix.texi:22552
  33702. #, no-wrap
  33703. msgid "{Data Type} bitlbee-configuration"
  33704. msgstr ""
  33705. #. type: deftp
  33706. #: guix-git/doc/guix.texi:22554
  33707. msgid "This is the configuration for BitlBee, with the following fields:"
  33708. msgstr ""
  33709. #. type: item
  33710. #: guix-git/doc/guix.texi:22556
  33711. #, no-wrap
  33712. msgid "@code{interface} (default: @code{\"127.0.0.1\"})"
  33713. msgstr ""
  33714. #. type: itemx
  33715. #: guix-git/doc/guix.texi:22557
  33716. #, no-wrap
  33717. msgid "@code{port} (default: @code{6667})"
  33718. msgstr ""
  33719. #. type: table
  33720. #: guix-git/doc/guix.texi:22560
  33721. msgid "Listen on the network interface corresponding to the IP address specified in @var{interface}, on @var{port}."
  33722. msgstr ""
  33723. #. type: table
  33724. #: guix-git/doc/guix.texi:22564
  33725. 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."
  33726. msgstr ""
  33727. #. type: item
  33728. #: guix-git/doc/guix.texi:22565
  33729. #, no-wrap
  33730. msgid "@code{bitlbee} (default: @code{bitlbee})"
  33731. msgstr ""
  33732. #. type: table
  33733. #: guix-git/doc/guix.texi:22567
  33734. msgid "The BitlBee package to use."
  33735. msgstr ""
  33736. #. type: item
  33737. #: guix-git/doc/guix.texi:22568
  33738. #, no-wrap
  33739. msgid "@code{plugins} (default: @code{'()})"
  33740. msgstr ""
  33741. #. type: table
  33742. #: guix-git/doc/guix.texi:22570
  33743. msgid "List of plugin packages to use---e.g., @code{bitlbee-discord}."
  33744. msgstr ""
  33745. #. type: table
  33746. #: guix-git/doc/guix.texi:22573
  33747. msgid "Configuration snippet added as-is to the BitlBee configuration file."
  33748. msgstr ""
  33749. #. type: subsubheading
  33750. #: guix-git/doc/guix.texi:22576
  33751. #, no-wrap
  33752. msgid "Quassel Service"
  33753. msgstr ""
  33754. #. type: Plain text
  33755. #: guix-git/doc/guix.texi:22582
  33756. 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."
  33757. msgstr ""
  33758. #. type: defvr
  33759. #: guix-git/doc/guix.texi:22583
  33760. #, no-wrap
  33761. msgid "{Scheme Variable} quassel-service-type"
  33762. msgstr ""
  33763. #. type: defvr
  33764. #: guix-git/doc/guix.texi:22587
  33765. 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)."
  33766. msgstr ""
  33767. #. type: deftp
  33768. #: guix-git/doc/guix.texi:22589
  33769. #, no-wrap
  33770. msgid "{Data Type} quassel-configuration"
  33771. msgstr ""
  33772. #. type: deftp
  33773. #: guix-git/doc/guix.texi:22591
  33774. msgid "This is the configuration for Quassel, with the following fields:"
  33775. msgstr ""
  33776. #. type: item
  33777. #: guix-git/doc/guix.texi:22593
  33778. #, no-wrap
  33779. msgid "@code{quassel} (default: @code{quassel})"
  33780. msgstr ""
  33781. #. type: table
  33782. #: guix-git/doc/guix.texi:22595
  33783. msgid "The Quassel package to use."
  33784. msgstr ""
  33785. #. type: item
  33786. #: guix-git/doc/guix.texi:22596
  33787. #, no-wrap
  33788. msgid "@code{interface} (default: @code{\"::,0.0.0.0\"})"
  33789. msgstr ""
  33790. #. type: item
  33791. #: guix-git/doc/guix.texi:22597
  33792. #, no-wrap
  33793. msgid "@code{port} (default: @code{4242})"
  33794. msgstr ""
  33795. #. type: table
  33796. #: guix-git/doc/guix.texi:22601
  33797. msgid "Listen on the network interface(s) corresponding to the IPv4 or IPv6 interfaces specified in the comma delimited @var{interface}, on @var{port}."
  33798. msgstr ""
  33799. #. type: item
  33800. #: guix-git/doc/guix.texi:22602
  33801. #, no-wrap
  33802. msgid "@code{loglevel} (default: @code{\"Info\"})"
  33803. msgstr ""
  33804. #. type: table
  33805. #: guix-git/doc/guix.texi:22605
  33806. msgid "The level of logging desired. Accepted values are Debug, Info, Warning and Error."
  33807. msgstr ""
  33808. #. type: cindex
  33809. #: guix-git/doc/guix.texi:22611
  33810. #, no-wrap
  33811. msgid "telephony, services"
  33812. msgstr ""
  33813. #. type: Plain text
  33814. #: guix-git/doc/guix.texi:22615
  33815. msgid "The @code{(gnu services telephony)} module contains Guix service definitions for telephony services. Currently it provides the following services:"
  33816. msgstr ""
  33817. #. type: subsubheading
  33818. #: guix-git/doc/guix.texi:22616
  33819. #, no-wrap
  33820. msgid "Jami"
  33821. msgstr ""
  33822. #. type: cindex
  33823. #: guix-git/doc/guix.texi:22618
  33824. #, no-wrap
  33825. msgid "jami, service"
  33826. msgstr ""
  33827. #. type: Plain text
  33828. #: guix-git/doc/guix.texi:22624
  33829. msgid "This section describes how to configure a Jami server that can be used to host video (or audio) conferences, among other uses. The following example demonstrates how to specify Jami account archives (backups) to be provisioned automatically:"
  33830. msgstr ""
  33831. #. type: lisp
  33832. #: guix-git/doc/guix.texi:22633
  33833. #, no-wrap
  33834. msgid ""
  33835. "(service jami-service-type\n"
  33836. " (jami-configuration\n"
  33837. " (accounts\n"
  33838. " (list (jami-account\n"
  33839. " (archive \"/etc/jami/unencrypted-account-1.gz\"))\n"
  33840. " (jami-account\n"
  33841. " (archive \"/etc/jami/unencrypted-account-2.gz\"))))))\n"
  33842. msgstr ""
  33843. #. type: Plain text
  33844. #: guix-git/doc/guix.texi:22638
  33845. msgid "When the accounts field is specified, the Jami account files of the service found under @file{/var/lib/jami} are recreated every time the service starts."
  33846. msgstr ""
  33847. #. type: Plain text
  33848. #: guix-git/doc/guix.texi:22643
  33849. msgid "Jami accounts and their corresponding backup archives can be generated using either the @code{jami-qt} or @code{jami-gnome} Jami clients. The accounts should not be password-protected, but it is wise to ensure their files are only readable by @samp{root}."
  33850. msgstr ""
  33851. #. type: Plain text
  33852. #: guix-git/doc/guix.texi:22646
  33853. msgid "The next example shows how to declare that only some contacts should be allowed to communicate with a given account:"
  33854. msgstr ""
  33855. #. type: lisp
  33856. #: guix-git/doc/guix.texi:22658
  33857. #, no-wrap
  33858. msgid ""
  33859. "(service jami-service-type\n"
  33860. " (jami-configuration\n"
  33861. " (accounts\n"
  33862. " (list (jami-account\n"
  33863. " (archive \"/etc/jami/unencrypted-account-1.gz\")\n"
  33864. " (peer-discovery? #t)\n"
  33865. " (rendezvous-point? #t)\n"
  33866. " (allowed-contacts\n"
  33867. " '(\"1dbcb0f5f37324228235564b79f2b9737e9a008f\"\n"
  33868. " \"2dbcb0f5f37324228235564b79f2b9737e9a008f\")))))))\n"
  33869. msgstr ""
  33870. #. type: Plain text
  33871. #: guix-git/doc/guix.texi:22664
  33872. msgid "In this mode, only the declared @code{allowed-contacts} can initiate communication with the Jami account. This can be used, for example, with rendezvous point accounts to create a private video conferencing space."
  33873. msgstr ""
  33874. #. type: Plain text
  33875. #: guix-git/doc/guix.texi:22667
  33876. msgid "To put the system administrator in full control of the conferences hosted on their system, the Jami service supports the following actions:"
  33877. msgstr ""
  33878. #. type: example
  33879. #: guix-git/doc/guix.texi:22679
  33880. #, no-wrap
  33881. msgid ""
  33882. "# herd doc jami list-actions\n"
  33883. "(list-accounts\n"
  33884. " list-account-details\n"
  33885. " list-banned-contacts\n"
  33886. " list-contacts\n"
  33887. " list-moderators\n"
  33888. " add-moderator\n"
  33889. " ban-contact\n"
  33890. " enable-account\n"
  33891. " disable-account)\n"
  33892. msgstr ""
  33893. #. type: Plain text
  33894. #: guix-git/doc/guix.texi:22686
  33895. msgid "The above actions aim to provide the most valuable actions for moderation purposes, not to cover the whole Jami API. Users wanting to interact with the Jami daemon from Guile may be interested in experimenting with the @code{(gnu build jami-service)} module, which powers the above Shepherd actions."
  33896. msgstr ""
  33897. #. type: Plain text
  33898. #: guix-git/doc/guix.texi:22692
  33899. msgid "The @code{add-moderator} and @code{ban-contact} actions accept a contact @emph{fingerprint} (40 characters long hash) as first argument and an account fingerprint or username as second argument:"
  33900. msgstr ""
  33901. #. type: example
  33902. #: guix-git/doc/guix.texi:22696
  33903. #, no-wrap
  33904. msgid ""
  33905. "# herd add-moderator jami 1dbcb0f5f37324228235564b79f2b9737e9a008f \\\n"
  33906. " f3345f2775ddfe07a4b0d95daea111d15fbc1199\n"
  33907. "\n"
  33908. msgstr ""
  33909. #. type: example
  33910. #: guix-git/doc/guix.texi:22700
  33911. #, no-wrap
  33912. msgid ""
  33913. "# herd list-moderators jami\n"
  33914. "Moderators for account f3345f2775ddfe07a4b0d95daea111d15fbc1199:\n"
  33915. " - 1dbcb0f5f37324228235564b79f2b9737e9a008f\n"
  33916. "\n"
  33917. msgstr ""
  33918. #. type: Plain text
  33919. #: guix-git/doc/guix.texi:22705
  33920. msgid "In the case of @code{ban-contact}, the second username argument is optional; when omitted, the account is banned from all Jami accounts:"
  33921. msgstr ""
  33922. #. type: example
  33923. #: guix-git/doc/guix.texi:22708
  33924. #, no-wrap
  33925. msgid ""
  33926. "# herd ban-contact jami 1dbcb0f5f37324228235564b79f2b9737e9a008f\n"
  33927. "\n"
  33928. msgstr ""
  33929. #. type: example
  33930. #: guix-git/doc/guix.texi:22712
  33931. #, no-wrap
  33932. msgid ""
  33933. "# herd list-banned-contacts jami\n"
  33934. "Banned contacts for account f3345f2775ddfe07a4b0d95daea111d15fbc1199:\n"
  33935. " - 1dbcb0f5f37324228235564b79f2b9737e9a008f\n"
  33936. "\n"
  33937. msgstr ""
  33938. #. type: Plain text
  33939. #: guix-git/doc/guix.texi:22716
  33940. msgid "Banned contacts are also stripped from their moderation privileges."
  33941. msgstr ""
  33942. #. type: Plain text
  33943. #: guix-git/doc/guix.texi:22721
  33944. msgid "The @code{disable-account} action allows to completely disconnect an account from the network, making it unreachable, while @code{enable-account} does the inverse. They accept a single account username or fingerprint as first argument:"
  33945. msgstr ""
  33946. #. type: example
  33947. #: guix-git/doc/guix.texi:22724
  33948. #, no-wrap
  33949. msgid ""
  33950. "# herd disable-account jami f3345f2775ddfe07a4b0d95daea111d15fbc1199\n"
  33951. "\n"
  33952. msgstr ""
  33953. #. type: example
  33954. #: guix-git/doc/guix.texi:22728
  33955. #, no-wrap
  33956. msgid ""
  33957. "# herd list-accounts jami\n"
  33958. "The following Jami accounts are available:\n"
  33959. " - f3345f2775ddfe07a4b0d95daea111d15fbc1199 (dummy) [disabled]\n"
  33960. "\n"
  33961. msgstr ""
  33962. #. type: Plain text
  33963. #: guix-git/doc/guix.texi:22739
  33964. msgid "The @code{list-account-details} action prints the detailed parameters of each accounts in the Recutils format, which means the @command{recsel} command can be used to select accounts of interest (@pxref{Selection Expressions,,,recutils, GNU recutils manual}). Note that period characters (@samp{.}) found in the account parameter keys are mapped to underscores (@samp{_}) in the output, to meet the requirements of the Recutils format. The following example shows how to print the account fingerprints for all accounts operating in the rendezvous point mode:"
  33965. msgstr ""
  33966. #. type: example
  33967. #: guix-git/doc/guix.texi:22744
  33968. #, no-wrap
  33969. msgid ""
  33970. "# herd list-account-details jami | \\\n"
  33971. " recsel -p Account.username -e 'Account.rendezVous ~ \"true\"'\n"
  33972. "Account_username: f3345f2775ddfe07a4b0d95daea111d15fbc1199\n"
  33973. msgstr ""
  33974. #. type: Plain text
  33975. #: guix-git/doc/guix.texi:22747
  33976. msgid "The remaining actions should be self-explanatory."
  33977. msgstr ""
  33978. #. type: Plain text
  33979. #: guix-git/doc/guix.texi:22749
  33980. msgid "The complete set of available configuration options is detailed below."
  33981. msgstr ""
  33982. #. type: deftp
  33983. #: guix-git/doc/guix.texi:22753
  33984. #, fuzzy, no-wrap
  33985. #| msgid "System Configuration"
  33986. msgid "{Data Type} jami-configuration"
  33987. msgstr "Nastavenie systému"
  33988. #. type: deftp
  33989. #: guix-git/doc/guix.texi:22755
  33990. msgid "Available @code{jami-configuration} fields are:"
  33991. msgstr ""
  33992. #. type: item
  33993. #: guix-git/doc/guix.texi:22757
  33994. #, no-wrap
  33995. msgid "@code{jamid} (default: @code{libring}) (type: package)"
  33996. msgstr ""
  33997. #. type: table
  33998. #: guix-git/doc/guix.texi:22759
  33999. msgid "The Jami daemon package to use."
  34000. msgstr ""
  34001. #. type: item
  34002. #: guix-git/doc/guix.texi:22760
  34003. #, no-wrap
  34004. msgid "@code{dbus} (default: @code{dbus}) (type: package)"
  34005. msgstr ""
  34006. #. type: table
  34007. #: guix-git/doc/guix.texi:22762
  34008. msgid "The D-Bus package to use to start the required D-Bus session."
  34009. msgstr ""
  34010. #. type: item
  34011. #: guix-git/doc/guix.texi:22763
  34012. #, no-wrap
  34013. msgid "@code{nss-certs} (default: @code{nss-certs}) (type: package)"
  34014. msgstr ""
  34015. #. type: table
  34016. #: guix-git/doc/guix.texi:22765
  34017. msgid "The nss-certs package to use to provide TLS certificates."
  34018. msgstr ""
  34019. #. type: item
  34020. #: guix-git/doc/guix.texi:22766
  34021. #, no-wrap
  34022. msgid "@code{enable-logging?} (default: @code{#t}) (type: boolean)"
  34023. msgstr ""
  34024. #. type: table
  34025. #: guix-git/doc/guix.texi:22768
  34026. msgid "Whether to enable logging to syslog."
  34027. msgstr ""
  34028. #. type: item
  34029. #: guix-git/doc/guix.texi:22769
  34030. #, no-wrap
  34031. msgid "@code{debug?} (default: @code{#f}) (type: boolean)"
  34032. msgstr ""
  34033. #. type: table
  34034. #: guix-git/doc/guix.texi:22771
  34035. msgid "Whether to enable debug level messages."
  34036. msgstr ""
  34037. #. type: item
  34038. #: guix-git/doc/guix.texi:22772
  34039. #, no-wrap
  34040. msgid "@code{auto-answer?} (default: @code{#f}) (type: boolean)"
  34041. msgstr ""
  34042. #. type: table
  34043. #: guix-git/doc/guix.texi:22774
  34044. msgid "Whether to force automatic answer to incoming calls."
  34045. msgstr ""
  34046. #. type: item
  34047. #: guix-git/doc/guix.texi:22775
  34048. #, no-wrap
  34049. msgid "@code{accounts} (default: @code{disabled}) (type: maybe-jami-account-list)"
  34050. msgstr ""
  34051. #. type: table
  34052. #: guix-git/doc/guix.texi:22780
  34053. msgid "A list of Jami accounts to be (re-)provisioned every time the Jami daemon service starts. When providing this field, the account directories under @file{/var/lib/jami/} are recreated every time the service starts, ensuring a consistent state."
  34054. msgstr ""
  34055. #. type: deftp
  34056. #: guix-git/doc/guix.texi:22786
  34057. #, no-wrap
  34058. msgid "{Data Type} jami-account"
  34059. msgstr ""
  34060. #. type: deftp
  34061. #: guix-git/doc/guix.texi:22788
  34062. msgid "Available @code{jami-account} fields are:"
  34063. msgstr ""
  34064. #. type: item
  34065. #: guix-git/doc/guix.texi:22790
  34066. #, no-wrap
  34067. msgid "@code{archive} (type: string-or-computed-file)"
  34068. msgstr ""
  34069. #. type: table
  34070. #: guix-git/doc/guix.texi:22796
  34071. msgid "The account archive (backup) file name of the account. This is used to provision the account when the service starts. The account archive should @emph{not} be encrypted. It is highly recommended to make it readable only to the @samp{root} user (i.e., not in the store), to guard against leaking the secret key material of the Jami account it contains."
  34072. msgstr ""
  34073. #. type: item
  34074. #: guix-git/doc/guix.texi:22797
  34075. #, no-wrap
  34076. msgid "@code{allowed-contacts} (default: @code{disabled}) (type: maybe-account-fingerprint-list)"
  34077. msgstr ""
  34078. #. type: table
  34079. #: guix-git/doc/guix.texi:22804
  34080. msgid "The list of allowed contacts for the account, entered as their 40 characters long fingerprint. Messages or calls from accounts not in that list will be rejected. When unspecified, the configuration of the account archive is used as-is with respect to contacts and public inbound calls/messaging allowance, which typically defaults to allow any contact to communicate with the account."
  34081. msgstr ""
  34082. #. type: item
  34083. #: guix-git/doc/guix.texi:22805
  34084. #, no-wrap
  34085. msgid "@code{moderators} (default: @code{disabled}) (type: maybe-account-fingerprint-list)"
  34086. msgstr ""
  34087. #. type: table
  34088. #: guix-git/doc/guix.texi:22811
  34089. msgid "The list of contacts that should have moderation privileges (to ban, mute, etc. other users) in rendezvous conferences, entered as their 40 characters long fingerprint. When unspecified, the configuration of the account archive is used as-is with respect to moderation, which typically defaults to allow anyone to moderate."
  34090. msgstr ""
  34091. #. type: item
  34092. #: guix-git/doc/guix.texi:22812
  34093. #, no-wrap
  34094. msgid "@code{rendezvous-point?} (default: @code{disabled}) (type: maybe-boolean)"
  34095. msgstr ""
  34096. #. type: table
  34097. #: guix-git/doc/guix.texi:22816
  34098. msgid "Whether the account should operate in the rendezvous mode. In this mode, all the incoming audio/video calls are mixed into a conference. When left unspecified, the value from the account archive prevails."
  34099. msgstr ""
  34100. #. type: item
  34101. #: guix-git/doc/guix.texi:22817
  34102. #, no-wrap
  34103. msgid "@code{peer-discovery?} (default: @code{disabled}) (type: maybe-boolean)"
  34104. msgstr ""
  34105. #. type: table
  34106. #: guix-git/doc/guix.texi:22823
  34107. msgid "Whether peer discovery should be enabled. Peer discovery is used to discover other OpenDHT nodes on the local network, which can be useful to maintain communication between devices on such network even when the connection to the the Internet has been lost. When left unspecified, the value from the account archive prevails."
  34108. msgstr ""
  34109. #. type: item
  34110. #: guix-git/doc/guix.texi:22824
  34111. #, no-wrap
  34112. msgid "@code{bootstrap-hostnames} (default: @code{disabled}) (type: maybe-string-list)"
  34113. msgstr ""
  34114. #. type: table
  34115. #: guix-git/doc/guix.texi:22828
  34116. msgid "A list of hostnames or IPs pointing to OpenDHT nodes, that should be used to initially join the OpenDHT network. When left unspecified, the value from the account archive prevails."
  34117. msgstr ""
  34118. #. type: item
  34119. #: guix-git/doc/guix.texi:22829
  34120. #, no-wrap
  34121. msgid "@code{name-server-uri} (default: @code{disabled}) (type: maybe-string)"
  34122. msgstr ""
  34123. #. type: table
  34124. #: guix-git/doc/guix.texi:22832
  34125. msgid "The URI of the name server to use, that can be used to retrieve the account fingerprint for a registered username."
  34126. msgstr ""
  34127. #. type: cindex
  34128. #: guix-git/doc/guix.texi:22837 guix-git/doc/guix.texi:22839
  34129. #, no-wrap
  34130. msgid "Murmur (VoIP server)"
  34131. msgstr ""
  34132. #. type: cindex
  34133. #: guix-git/doc/guix.texi:22840
  34134. #, no-wrap
  34135. msgid "VoIP server"
  34136. msgstr ""
  34137. #. type: Plain text
  34138. #: guix-git/doc/guix.texi:22844
  34139. 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."
  34140. msgstr ""
  34141. #. type: deftp
  34142. #: guix-git/doc/guix.texi:22845
  34143. #, no-wrap
  34144. msgid "{Data Type} murmur-configuration"
  34145. msgstr ""
  34146. #. type: deftp
  34147. #: guix-git/doc/guix.texi:22848
  34148. msgid "The service type for the Murmur server. An example configuration can look like this:"
  34149. msgstr ""
  34150. #. type: lisp
  34151. #: guix-git/doc/guix.texi:22857
  34152. #, no-wrap
  34153. msgid ""
  34154. "(service murmur-service-type\n"
  34155. " (murmur-configuration\n"
  34156. " (welcome-text\n"
  34157. " \"Welcome to this Mumble server running on Guix!\")\n"
  34158. " (cert-required? #t) ;disallow text password logins\n"
  34159. " (ssl-cert \"/etc/letsencrypt/live/mumble.example.com/fullchain.pem\")\n"
  34160. " (ssl-key \"/etc/letsencrypt/live/mumble.example.com/privkey.pem\")))\n"
  34161. msgstr ""
  34162. #. type: deftp
  34163. #: guix-git/doc/guix.texi:22861
  34164. msgid "After reconfiguring your system, you can manually set the murmur @code{SuperUser} password with the command that is printed during the activation phase."
  34165. msgstr ""
  34166. #. type: deftp
  34167. #: guix-git/doc/guix.texi:22870
  34168. 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."
  34169. msgstr ""
  34170. #. type: deftp
  34171. #: guix-git/doc/guix.texi:22872
  34172. msgid "Available @code{murmur-configuration} fields are:"
  34173. msgstr ""
  34174. #. type: item
  34175. #: guix-git/doc/guix.texi:22874
  34176. #, no-wrap
  34177. msgid "@code{package} (default: @code{mumble})"
  34178. msgstr ""
  34179. #. type: table
  34180. #: guix-git/doc/guix.texi:22876
  34181. msgid "Package that contains @code{bin/murmurd}."
  34182. msgstr ""
  34183. #. type: item
  34184. #: guix-git/doc/guix.texi:22877
  34185. #, no-wrap
  34186. msgid "@code{user} (default: @code{\"murmur\"})"
  34187. msgstr ""
  34188. #. type: table
  34189. #: guix-git/doc/guix.texi:22879
  34190. msgid "User who will run the Murmur server."
  34191. msgstr ""
  34192. #. type: item
  34193. #: guix-git/doc/guix.texi:22880
  34194. #, no-wrap
  34195. msgid "@code{group} (default: @code{\"murmur\"})"
  34196. msgstr ""
  34197. #. type: table
  34198. #: guix-git/doc/guix.texi:22882
  34199. msgid "Group of the user who will run the murmur server."
  34200. msgstr ""
  34201. #. type: item
  34202. #: guix-git/doc/guix.texi:22883
  34203. #, no-wrap
  34204. msgid "@code{port} (default: @code{64738})"
  34205. msgstr ""
  34206. #. type: table
  34207. #: guix-git/doc/guix.texi:22885
  34208. msgid "Port on which the server will listen."
  34209. msgstr ""
  34210. #. type: item
  34211. #: guix-git/doc/guix.texi:22886
  34212. #, no-wrap
  34213. msgid "@code{welcome-text} (default: @code{\"\"})"
  34214. msgstr ""
  34215. #. type: table
  34216. #: guix-git/doc/guix.texi:22888
  34217. msgid "Welcome text sent to clients when they connect."
  34218. msgstr ""
  34219. #. type: item
  34220. #: guix-git/doc/guix.texi:22889
  34221. #, no-wrap
  34222. msgid "@code{server-password} (default: @code{\"\"})"
  34223. msgstr ""
  34224. #. type: table
  34225. #: guix-git/doc/guix.texi:22891
  34226. msgid "Password the clients have to enter in order to connect."
  34227. msgstr ""
  34228. #. type: item
  34229. #: guix-git/doc/guix.texi:22892
  34230. #, no-wrap
  34231. msgid "@code{max-users} (default: @code{100})"
  34232. msgstr ""
  34233. #. type: table
  34234. #: guix-git/doc/guix.texi:22894
  34235. msgid "Maximum of users that can be connected to the server at once."
  34236. msgstr ""
  34237. #. type: item
  34238. #: guix-git/doc/guix.texi:22895
  34239. #, no-wrap
  34240. msgid "@code{max-user-bandwidth} (default: @code{#f})"
  34241. msgstr ""
  34242. #. type: table
  34243. #: guix-git/doc/guix.texi:22897
  34244. msgid "Maximum voice traffic a user can send per second."
  34245. msgstr ""
  34246. #. type: item
  34247. #: guix-git/doc/guix.texi:22898
  34248. #, no-wrap
  34249. msgid "@code{database-file} (default: @code{\"/var/lib/murmur/db.sqlite\"})"
  34250. msgstr ""
  34251. #. type: table
  34252. #: guix-git/doc/guix.texi:22901
  34253. msgid "File name of the sqlite database. The service's user will become the owner of the directory."
  34254. msgstr ""
  34255. #. type: item
  34256. #: guix-git/doc/guix.texi:22902
  34257. #, no-wrap
  34258. msgid "@code{log-file} (default: @code{\"/var/log/murmur/murmur.log\"})"
  34259. msgstr ""
  34260. #. type: table
  34261. #: guix-git/doc/guix.texi:22905
  34262. msgid "File name of the log file. The service's user will become the owner of the directory."
  34263. msgstr ""
  34264. #. type: item
  34265. #: guix-git/doc/guix.texi:22906
  34266. #, no-wrap
  34267. msgid "@code{autoban-attempts} (default: @code{10})"
  34268. msgstr ""
  34269. #. type: table
  34270. #: guix-git/doc/guix.texi:22909
  34271. msgid "Maximum number of logins a user can make in @code{autoban-timeframe} without getting auto banned for @code{autoban-time}."
  34272. msgstr ""
  34273. #. type: item
  34274. #: guix-git/doc/guix.texi:22910
  34275. #, no-wrap
  34276. msgid "@code{autoban-timeframe} (default: @code{120})"
  34277. msgstr ""
  34278. #. type: table
  34279. #: guix-git/doc/guix.texi:22912
  34280. msgid "Timeframe for autoban in seconds."
  34281. msgstr ""
  34282. #. type: item
  34283. #: guix-git/doc/guix.texi:22913
  34284. #, no-wrap
  34285. msgid "@code{autoban-time} (default: @code{300})"
  34286. msgstr ""
  34287. #. type: table
  34288. #: guix-git/doc/guix.texi:22916
  34289. msgid "Amount of time in seconds for which a client gets banned when violating the autoban limits."
  34290. msgstr ""
  34291. #. type: item
  34292. #: guix-git/doc/guix.texi:22917
  34293. #, no-wrap
  34294. msgid "@code{opus-threshold} (default: @code{100})"
  34295. msgstr ""
  34296. #. type: table
  34297. #: guix-git/doc/guix.texi:22920
  34298. msgid "Percentage of clients that need to support opus before switching over to opus audio codec."
  34299. msgstr ""
  34300. #. type: item
  34301. #: guix-git/doc/guix.texi:22921
  34302. #, no-wrap
  34303. msgid "@code{channel-nesting-limit} (default: @code{10})"
  34304. msgstr ""
  34305. #. type: table
  34306. #: guix-git/doc/guix.texi:22923
  34307. msgid "How deep channels can be nested at maximum."
  34308. msgstr ""
  34309. #. type: item
  34310. #: guix-git/doc/guix.texi:22924
  34311. #, no-wrap
  34312. msgid "@code{channelname-regex} (default: @code{#f})"
  34313. msgstr ""
  34314. #. type: table
  34315. #: guix-git/doc/guix.texi:22926
  34316. msgid "A string in form of a Qt regular expression that channel names must conform to."
  34317. msgstr ""
  34318. #. type: item
  34319. #: guix-git/doc/guix.texi:22927
  34320. #, no-wrap
  34321. msgid "@code{username-regex} (default: @code{#f})"
  34322. msgstr ""
  34323. #. type: table
  34324. #: guix-git/doc/guix.texi:22929
  34325. msgid "A string in form of a Qt regular expression that user names must conform to."
  34326. msgstr ""
  34327. #. type: item
  34328. #: guix-git/doc/guix.texi:22930
  34329. #, no-wrap
  34330. msgid "@code{text-message-length} (default: @code{5000})"
  34331. msgstr ""
  34332. #. type: table
  34333. #: guix-git/doc/guix.texi:22932
  34334. msgid "Maximum size in bytes that a user can send in one text chat message."
  34335. msgstr ""
  34336. #. type: item
  34337. #: guix-git/doc/guix.texi:22933
  34338. #, no-wrap
  34339. msgid "@code{image-message-length} (default: @code{(* 128 1024)})"
  34340. msgstr ""
  34341. #. type: table
  34342. #: guix-git/doc/guix.texi:22935
  34343. msgid "Maximum size in bytes that a user can send in one image message."
  34344. msgstr ""
  34345. #. type: item
  34346. #: guix-git/doc/guix.texi:22936
  34347. #, no-wrap
  34348. msgid "@code{cert-required?} (default: @code{#f})"
  34349. msgstr ""
  34350. #. type: table
  34351. #: guix-git/doc/guix.texi:22939
  34352. 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."
  34353. msgstr ""
  34354. #. type: item
  34355. #: guix-git/doc/guix.texi:22940
  34356. #, no-wrap
  34357. msgid "@code{remember-channel?} (default: @code{#f})"
  34358. msgstr ""
  34359. #. type: table
  34360. #: guix-git/doc/guix.texi:22943
  34361. msgid "Should murmur remember the last channel each user was in when they disconnected and put them into the remembered channel when they rejoin."
  34362. msgstr ""
  34363. #. type: item
  34364. #: guix-git/doc/guix.texi:22944
  34365. #, no-wrap
  34366. msgid "@code{allow-html?} (default: @code{#f})"
  34367. msgstr ""
  34368. #. type: table
  34369. #: guix-git/doc/guix.texi:22946
  34370. msgid "Should html be allowed in text messages, user comments, and channel descriptions."
  34371. msgstr ""
  34372. #. type: item
  34373. #: guix-git/doc/guix.texi:22947
  34374. #, no-wrap
  34375. msgid "@code{allow-ping?} (default: @code{#f})"
  34376. msgstr ""
  34377. #. type: table
  34378. #: guix-git/doc/guix.texi:22951
  34379. 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."
  34380. msgstr ""
  34381. #. type: table
  34382. #: guix-git/doc/guix.texi:22953
  34383. msgid "Disabling this setting will prevent public listing of the server."
  34384. msgstr ""
  34385. #. type: item
  34386. #: guix-git/doc/guix.texi:22954
  34387. #, no-wrap
  34388. msgid "@code{bonjour?} (default: @code{#f})"
  34389. msgstr ""
  34390. #. type: table
  34391. #: guix-git/doc/guix.texi:22956
  34392. msgid "Should the server advertise itself in the local network through the bonjour protocol."
  34393. msgstr ""
  34394. #. type: item
  34395. #: guix-git/doc/guix.texi:22957
  34396. #, no-wrap
  34397. msgid "@code{send-version?} (default: @code{#f})"
  34398. msgstr ""
  34399. #. type: table
  34400. #: guix-git/doc/guix.texi:22959
  34401. msgid "Should the murmur server version be exposed in ping requests."
  34402. msgstr ""
  34403. #. type: item
  34404. #: guix-git/doc/guix.texi:22960
  34405. #, no-wrap
  34406. msgid "@code{log-days} (default: @code{31})"
  34407. msgstr ""
  34408. #. type: table
  34409. #: guix-git/doc/guix.texi:22964
  34410. 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."
  34411. msgstr ""
  34412. #. type: item
  34413. #: guix-git/doc/guix.texi:22965
  34414. #, no-wrap
  34415. msgid "@code{obfuscate-ips?} (default: @code{#t})"
  34416. msgstr ""
  34417. #. type: table
  34418. #: guix-git/doc/guix.texi:22967
  34419. msgid "Should logged ips be obfuscated to protect the privacy of users."
  34420. msgstr ""
  34421. #. type: item
  34422. #: guix-git/doc/guix.texi:22968
  34423. #, no-wrap
  34424. msgid "@code{ssl-cert} (default: @code{#f})"
  34425. msgstr ""
  34426. #. type: table
  34427. #: guix-git/doc/guix.texi:22970
  34428. msgid "File name of the SSL/TLS certificate used for encrypted connections."
  34429. msgstr ""
  34430. #. type: lisp
  34431. #: guix-git/doc/guix.texi:22973
  34432. #, no-wrap
  34433. msgid "(ssl-cert \"/etc/letsencrypt/live/example.com/fullchain.pem\")\n"
  34434. msgstr ""
  34435. #. type: item
  34436. #: guix-git/doc/guix.texi:22974
  34437. #, no-wrap
  34438. msgid "@code{ssl-key} (default: @code{#f})"
  34439. msgstr ""
  34440. #. type: table
  34441. #: guix-git/doc/guix.texi:22976
  34442. msgid "Filepath to the ssl private key used for encrypted connections."
  34443. msgstr ""
  34444. #. type: lisp
  34445. #: guix-git/doc/guix.texi:22978
  34446. #, no-wrap
  34447. msgid "(ssl-key \"/etc/letsencrypt/live/example.com/privkey.pem\")\n"
  34448. msgstr ""
  34449. #. type: item
  34450. #: guix-git/doc/guix.texi:22980
  34451. #, no-wrap
  34452. msgid "@code{ssl-dh-params} (default: @code{#f})"
  34453. msgstr ""
  34454. #. type: table
  34455. #: guix-git/doc/guix.texi:22985
  34456. 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."
  34457. msgstr ""
  34458. #. type: item
  34459. #: guix-git/doc/guix.texi:22986
  34460. #, no-wrap
  34461. msgid "@code{ssl-ciphers} (default: @code{#f})"
  34462. msgstr ""
  34463. #. type: table
  34464. #: guix-git/doc/guix.texi:22989
  34465. msgid "The @code{ssl-ciphers} option chooses the cipher suites to make available for use in SSL/TLS."
  34466. msgstr ""
  34467. #. type: table
  34468. #: guix-git/doc/guix.texi:22993
  34469. msgid "This option is specified using @uref{https://www.openssl.org/docs/apps/ciphers.html#CIPHER-LIST-FORMAT, OpenSSL cipher list notation}."
  34470. msgstr ""
  34471. #. type: table
  34472. #: guix-git/doc/guix.texi:22998
  34473. 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."
  34474. msgstr ""
  34475. #. type: table
  34476. #: guix-git/doc/guix.texi:23002
  34477. 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."
  34478. msgstr ""
  34479. #. type: item
  34480. #: guix-git/doc/guix.texi:23003
  34481. #, no-wrap
  34482. msgid "@code{public-registration} (default: @code{#f})"
  34483. msgstr ""
  34484. #. type: table
  34485. #: guix-git/doc/guix.texi:23005
  34486. msgid "Must be a @code{<murmur-public-registration-configuration>} record or @code{#f}."
  34487. msgstr ""
  34488. #. type: table
  34489. #: guix-git/doc/guix.texi:23010
  34490. 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}."
  34491. msgstr ""
  34492. #. type: table
  34493. #: guix-git/doc/guix.texi:23012
  34494. msgid "It might take a few hours until it shows up in the public list."
  34495. msgstr ""
  34496. #. type: item
  34497. #: guix-git/doc/guix.texi:23013 guix-git/doc/guix.texi:25249
  34498. #, no-wrap
  34499. msgid "@code{file} (default: @code{#f})"
  34500. msgstr ""
  34501. #. type: table
  34502. #: guix-git/doc/guix.texi:23015
  34503. msgid "Optional alternative override for this configuration."
  34504. msgstr ""
  34505. #. type: deftp
  34506. #: guix-git/doc/guix.texi:23018
  34507. #, no-wrap
  34508. msgid "{Data Type} murmur-public-registration-configuration"
  34509. msgstr ""
  34510. #. type: deftp
  34511. #: guix-git/doc/guix.texi:23020
  34512. msgid "Configuration for public registration of a murmur service."
  34513. msgstr ""
  34514. #. type: table
  34515. #: guix-git/doc/guix.texi:23024
  34516. msgid "This is a display name for your server. Not to be confused with the hostname."
  34517. msgstr ""
  34518. #. type: itemx
  34519. #: guix-git/doc/guix.texi:23025 guix-git/doc/guix.texi:31777
  34520. #: guix-git/doc/guix.texi:32925
  34521. #, no-wrap
  34522. msgid "password"
  34523. msgstr ""
  34524. #. type: table
  34525. #: guix-git/doc/guix.texi:23028
  34526. msgid "A password to identify your registration. Subsequent updates will need the same password. Don't lose your password."
  34527. msgstr ""
  34528. #. type: table
  34529. #: guix-git/doc/guix.texi:23032
  34530. msgid "This should be a @code{http://} or @code{https://} link to your web site."
  34531. msgstr ""
  34532. #. type: item
  34533. #: guix-git/doc/guix.texi:23033 guix-git/doc/guix.texi:26128
  34534. #, no-wrap
  34535. msgid "@code{hostname} (default: @code{#f})"
  34536. msgstr ""
  34537. #. type: table
  34538. #: guix-git/doc/guix.texi:23036
  34539. 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."
  34540. msgstr ""
  34541. #. type: Plain text
  34542. #: guix-git/doc/guix.texi:23046
  34543. msgid "The @code{(gnu services file-sharing)} module provides services that assist with transferring files over peer-to-peer file-sharing networks."
  34544. msgstr ""
  34545. #. type: subsubheading
  34546. #: guix-git/doc/guix.texi:23047
  34547. #, no-wrap
  34548. msgid "Transmission Daemon Service"
  34549. msgstr ""
  34550. #. type: Plain text
  34551. #: guix-git/doc/guix.texi:23055
  34552. 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."
  34553. msgstr ""
  34554. #. type: deffn
  34555. #: guix-git/doc/guix.texi:23056
  34556. #, no-wrap
  34557. msgid "{Scheme Variable} transmission-daemon-service-type"
  34558. msgstr ""
  34559. #. type: deffn
  34560. #: guix-git/doc/guix.texi:23060
  34561. msgid "The service type for the Transmission Daemon BitTorrent client. Its value must be a @code{transmission-daemon-configuration} object as in this example:"
  34562. msgstr ""
  34563. #. type: lisp
  34564. #: guix-git/doc/guix.texi:23071
  34565. #, no-wrap
  34566. msgid ""
  34567. "(service transmission-daemon-service-type\n"
  34568. " (transmission-daemon-configuration\n"
  34569. " ;; Restrict access to the RPC (\"control\") interface\n"
  34570. " (rpc-authentication-required? #t)\n"
  34571. " (rpc-username \"transmission\")\n"
  34572. " (rpc-password\n"
  34573. " (transmission-password-hash\n"
  34574. " \"transmission\" ; desired password\n"
  34575. " \"uKd1uMs9\")) ; arbitrary salt value\n"
  34576. "\n"
  34577. msgstr ""
  34578. #. type: lisp
  34579. #: guix-git/doc/guix.texi:23076
  34580. #, no-wrap
  34581. msgid ""
  34582. " ;; Accept requests from this and other hosts on the\n"
  34583. " ;; local network\n"
  34584. " (rpc-whitelist-enabled? #t)\n"
  34585. " (rpc-whitelist '(\"::1\" \"127.0.0.1\" \"192.168.0.*\"))\n"
  34586. "\n"
  34587. msgstr ""
  34588. #. type: lisp
  34589. #: guix-git/doc/guix.texi:23080
  34590. #, no-wrap
  34591. msgid ""
  34592. " ;; Limit bandwidth use during work hours\n"
  34593. " (alt-speed-down (* 1024 2)) ; 2 MB/s\n"
  34594. " (alt-speed-up 512) ; 512 kB/s\n"
  34595. "\n"
  34596. msgstr ""
  34597. #. type: lisp
  34598. #: guix-git/doc/guix.texi:23087
  34599. #, no-wrap
  34600. msgid ""
  34601. " (alt-speed-time-enabled? #t)\n"
  34602. " (alt-speed-time-day 'weekdays)\n"
  34603. " (alt-speed-time-begin\n"
  34604. " (+ (* 60 8) 30)) ; 8:30 am\n"
  34605. " (alt-speed-time-end\n"
  34606. " (+ (* 60 (+ 12 5)) 30)))) ; 5:30 pm\n"
  34607. msgstr ""
  34608. #. type: Plain text
  34609. #: guix-git/doc/guix.texi:23100
  34610. 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."
  34611. msgstr ""
  34612. #. type: Plain text
  34613. #: guix-git/doc/guix.texi:23108
  34614. 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."
  34615. msgstr ""
  34616. #. type: deffn
  34617. #: guix-git/doc/guix.texi:23109
  34618. #, no-wrap
  34619. msgid "{Scheme Procedure} transmission-password-hash @var{password} @var{salt}"
  34620. msgstr ""
  34621. #. type: deffn
  34622. #: guix-git/doc/guix.texi:23113
  34623. 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."
  34624. msgstr ""
  34625. #. type: deffn
  34626. #: guix-git/doc/guix.texi:23117
  34627. 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."
  34628. msgstr ""
  34629. #. type: deffn
  34630. #: guix-git/doc/guix.texi:23119
  34631. #, no-wrap
  34632. msgid "{Scheme Procedure} transmission-random-salt"
  34633. msgstr ""
  34634. #. type: deffn
  34635. #: guix-git/doc/guix.texi:23123
  34636. 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."
  34637. msgstr ""
  34638. #. type: Plain text
  34639. #: guix-git/doc/guix.texi:23129
  34640. 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:"
  34641. msgstr ""
  34642. #. type: example
  34643. #: guix-git/doc/guix.texi:23135
  34644. #, no-wrap
  34645. msgid ""
  34646. "$ guix repl\n"
  34647. "scheme@@(guix-user)> ,use (gnu services file-sharing)\n"
  34648. "scheme@@(guix-user)> (transmission-random-salt)\n"
  34649. "$1 = \"uKd1uMs9\"\n"
  34650. msgstr ""
  34651. #. type: Plain text
  34652. #: guix-git/doc/guix.texi:23138
  34653. msgid "Alternatively, a complete password hash can generated in a single step:"
  34654. msgstr ""
  34655. #. type: example
  34656. #: guix-git/doc/guix.texi:23143
  34657. #, no-wrap
  34658. msgid ""
  34659. "scheme@@(guix-user)> (transmission-password-hash \"transmission\"\n"
  34660. "(transmission-random-salt))\n"
  34661. "$2 = \"@{c8bbc6d1740cd8dc819a6e25563b67812c1c19c9VtFPfdsX\"\n"
  34662. msgstr ""
  34663. #. type: Plain text
  34664. #: guix-git/doc/guix.texi:23148
  34665. 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."
  34666. msgstr ""
  34667. #. type: Plain text
  34668. #: guix-git/doc/guix.texi:23157
  34669. 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."
  34670. msgstr ""
  34671. #. type: Plain text
  34672. #: guix-git/doc/guix.texi:23164
  34673. 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.)"
  34674. msgstr ""
  34675. #. type: Plain text
  34676. #: guix-git/doc/guix.texi:23169
  34677. 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:"
  34678. msgstr ""
  34679. #. type: example
  34680. #: guix-git/doc/guix.texi:23172
  34681. #, no-wrap
  34682. msgid "# herd reload transmission-daemon\n"
  34683. msgstr ""
  34684. #. type: Plain text
  34685. #: guix-git/doc/guix.texi:23176
  34686. msgid "The full set of available configuration settings is defined by the @code{transmission-daemon-configuration} data type."
  34687. msgstr ""
  34688. #. type: deftp
  34689. #: guix-git/doc/guix.texi:23177
  34690. #, no-wrap
  34691. msgid "{Data Type} transmission-daemon-configuration"
  34692. msgstr ""
  34693. #. type: deftp
  34694. #: guix-git/doc/guix.texi:23181
  34695. 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."
  34696. msgstr ""
  34697. #. type: Plain text
  34698. #: guix-git/doc/guix.texi:23195
  34699. msgid "Available @code{transmission-daemon-configuration} fields are:"
  34700. msgstr ""
  34701. #. type: deftypevr
  34702. #: guix-git/doc/guix.texi:23196
  34703. #, no-wrap
  34704. msgid "{@code{transmission-daemon-configuration} parameter} package transmission"
  34705. msgstr ""
  34706. #. type: deftypevr
  34707. #: guix-git/doc/guix.texi:23198
  34708. msgid "The Transmission package to use."
  34709. msgstr ""
  34710. #. type: deftypevr
  34711. #: guix-git/doc/guix.texi:23201
  34712. #, no-wrap
  34713. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer stop-wait-period"
  34714. msgstr ""
  34715. #. type: deftypevr
  34716. #: guix-git/doc/guix.texi:23207
  34717. 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."
  34718. msgstr ""
  34719. #. type: deftypevr
  34720. #: guix-git/doc/guix.texi:23209 guix-git/doc/guix.texi:23581
  34721. #: guix-git/doc/guix.texi:30881 guix-git/doc/guix.texi:31116
  34722. #: guix-git/doc/guix.texi:31124 guix-git/doc/guix.texi:31132
  34723. msgid "Defaults to @samp{10}."
  34724. msgstr ""
  34725. #. type: deftypevr
  34726. #: guix-git/doc/guix.texi:23212
  34727. #, no-wrap
  34728. msgid "{@code{transmission-daemon-configuration} parameter} string download-dir"
  34729. msgstr ""
  34730. #. type: deftypevr
  34731. #: guix-git/doc/guix.texi:23214
  34732. msgid "The directory to which torrent files are downloaded."
  34733. msgstr ""
  34734. #. type: deftypevr
  34735. #: guix-git/doc/guix.texi:23216
  34736. msgid "Defaults to @samp{\"/var/lib/transmission-daemon/downloads\"}."
  34737. msgstr ""
  34738. #. type: deftypevr
  34739. #: guix-git/doc/guix.texi:23219
  34740. #, no-wrap
  34741. msgid "{@code{transmission-daemon-configuration} parameter} boolean incomplete-dir-enabled?"
  34742. msgstr ""
  34743. #. type: deftypevr
  34744. #: guix-git/doc/guix.texi:23224
  34745. 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}."
  34746. msgstr ""
  34747. #. type: deftypevr
  34748. #: guix-git/doc/guix.texi:23229
  34749. #, no-wrap
  34750. msgid "{@code{transmission-daemon-configuration} parameter} maybe-string incomplete-dir"
  34751. msgstr ""
  34752. #. type: deftypevr
  34753. #: guix-git/doc/guix.texi:23232
  34754. msgid "The directory in which files from incompletely downloaded torrents will be held when @code{incomplete-dir-enabled?} is @code{#t}."
  34755. msgstr ""
  34756. #. type: deftypevr
  34757. #: guix-git/doc/guix.texi:23237
  34758. #, no-wrap
  34759. msgid "{@code{transmission-daemon-configuration} parameter} umask umask"
  34760. msgstr ""
  34761. #. type: deftypevr
  34762. #: guix-git/doc/guix.texi:23240
  34763. msgid "The file mode creation mask used for downloaded files. (See the @command{umask} man page for more information.)"
  34764. msgstr ""
  34765. #. type: deftypevr
  34766. #: guix-git/doc/guix.texi:23242
  34767. msgid "Defaults to @samp{18}."
  34768. msgstr ""
  34769. #. type: deftypevr
  34770. #: guix-git/doc/guix.texi:23245
  34771. #, no-wrap
  34772. msgid "{@code{transmission-daemon-configuration} parameter} boolean rename-partial-files?"
  34773. msgstr ""
  34774. #. type: deftypevr
  34775. #: guix-git/doc/guix.texi:23248
  34776. msgid "When @code{#t}, ``.part'' is appended to the name of partially downloaded files."
  34777. msgstr ""
  34778. #. type: deftypevr
  34779. #: guix-git/doc/guix.texi:23253
  34780. #, no-wrap
  34781. msgid "{@code{transmission-daemon-configuration} parameter} preallocation-mode preallocation"
  34782. msgstr ""
  34783. #. type: deftypevr
  34784. #: guix-git/doc/guix.texi:23258
  34785. 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."
  34786. msgstr ""
  34787. #. type: deftypevr
  34788. #: guix-git/doc/guix.texi:23260
  34789. msgid "Defaults to @samp{fast}."
  34790. msgstr ""
  34791. #. type: deftypevr
  34792. #: guix-git/doc/guix.texi:23263
  34793. #, no-wrap
  34794. msgid "{@code{transmission-daemon-configuration} parameter} boolean watch-dir-enabled?"
  34795. msgstr ""
  34796. #. type: deftypevr
  34797. #: guix-git/doc/guix.texi:23268
  34798. 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})."
  34799. msgstr ""
  34800. #. type: deftypevr
  34801. #: guix-git/doc/guix.texi:23273
  34802. #, no-wrap
  34803. msgid "{@code{transmission-daemon-configuration} parameter} maybe-string watch-dir"
  34804. msgstr ""
  34805. #. type: deftypevr
  34806. #: guix-git/doc/guix.texi:23276
  34807. msgid "The directory to be watched for @file{.torrent} files indicating new torrents to be added, when @code{watch-dir-enabled} is @code{#t}."
  34808. msgstr ""
  34809. #. type: deftypevr
  34810. #: guix-git/doc/guix.texi:23281
  34811. #, no-wrap
  34812. msgid "{@code{transmission-daemon-configuration} parameter} boolean trash-original-torrent-files?"
  34813. msgstr ""
  34814. #. type: deftypevr
  34815. #: guix-git/doc/guix.texi:23285
  34816. 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?})."
  34817. msgstr ""
  34818. #. type: deftypevr
  34819. #: guix-git/doc/guix.texi:23290
  34820. #, no-wrap
  34821. msgid "{@code{transmission-daemon-configuration} parameter} boolean speed-limit-down-enabled?"
  34822. msgstr ""
  34823. #. type: deftypevr
  34824. #: guix-git/doc/guix.texi:23293
  34825. msgid "When @code{#t}, the daemon's download speed will be limited to the rate specified by @code{speed-limit-down}."
  34826. msgstr ""
  34827. #. type: deftypevr
  34828. #: guix-git/doc/guix.texi:23298
  34829. #, no-wrap
  34830. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer speed-limit-down"
  34831. msgstr ""
  34832. #. type: deftypevr
  34833. #: guix-git/doc/guix.texi:23300
  34834. msgid "The default global-maximum download speed, in kilobytes per second."
  34835. msgstr ""
  34836. #. type: deftypevr
  34837. #: guix-git/doc/guix.texi:23305
  34838. #, no-wrap
  34839. msgid "{@code{transmission-daemon-configuration} parameter} boolean speed-limit-up-enabled?"
  34840. msgstr ""
  34841. #. type: deftypevr
  34842. #: guix-git/doc/guix.texi:23308
  34843. msgid "When @code{#t}, the daemon's upload speed will be limited to the rate specified by @code{speed-limit-up}."
  34844. msgstr ""
  34845. #. type: deftypevr
  34846. #: guix-git/doc/guix.texi:23313
  34847. #, no-wrap
  34848. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer speed-limit-up"
  34849. msgstr ""
  34850. #. type: deftypevr
  34851. #: guix-git/doc/guix.texi:23315
  34852. msgid "The default global-maximum upload speed, in kilobytes per second."
  34853. msgstr ""
  34854. #. type: deftypevr
  34855. #: guix-git/doc/guix.texi:23320
  34856. #, no-wrap
  34857. msgid "{@code{transmission-daemon-configuration} parameter} boolean alt-speed-enabled?"
  34858. msgstr ""
  34859. #. type: deftypevr
  34860. #: guix-git/doc/guix.texi:23326
  34861. 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?}."
  34862. msgstr ""
  34863. #. type: deftypevr
  34864. #: guix-git/doc/guix.texi:23331
  34865. #, no-wrap
  34866. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer alt-speed-down"
  34867. msgstr ""
  34868. #. type: deftypevr
  34869. #: guix-git/doc/guix.texi:23333
  34870. msgid "The alternate global-maximum download speed, in kilobytes per second."
  34871. msgstr ""
  34872. #. type: deftypevr
  34873. #: guix-git/doc/guix.texi:23335 guix-git/doc/guix.texi:23342
  34874. #: guix-git/doc/guix.texi:23514 guix-git/doc/guix.texi:30888
  34875. #: guix-git/doc/guix.texi:30903
  34876. msgid "Defaults to @samp{50}."
  34877. msgstr ""
  34878. #. type: deftypevr
  34879. #: guix-git/doc/guix.texi:23338
  34880. #, no-wrap
  34881. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer alt-speed-up"
  34882. msgstr ""
  34883. #. type: deftypevr
  34884. #: guix-git/doc/guix.texi:23340
  34885. msgid "The alternate global-maximum upload speed, in kilobytes per second."
  34886. msgstr ""
  34887. #. type: deftypevr
  34888. #: guix-git/doc/guix.texi:23345
  34889. #, no-wrap
  34890. msgid "{@code{transmission-daemon-configuration} parameter} boolean alt-speed-time-enabled?"
  34891. msgstr ""
  34892. #. type: deftypevr
  34893. #: guix-git/doc/guix.texi:23350
  34894. 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}."
  34895. msgstr ""
  34896. #. type: deftypevr
  34897. #: guix-git/doc/guix.texi:23355
  34898. #, no-wrap
  34899. msgid "{@code{transmission-daemon-configuration} parameter} day-list alt-speed-time-day"
  34900. msgstr ""
  34901. #. type: deftypevr
  34902. #: guix-git/doc/guix.texi:23360
  34903. 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}."
  34904. msgstr ""
  34905. #. type: deftypevr
  34906. #: guix-git/doc/guix.texi:23362
  34907. msgid "Defaults to @samp{all}."
  34908. msgstr ""
  34909. #. type: deftypevr
  34910. #: guix-git/doc/guix.texi:23365
  34911. #, no-wrap
  34912. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer alt-speed-time-begin"
  34913. msgstr ""
  34914. #. type: deftypevr
  34915. #: guix-git/doc/guix.texi:23368
  34916. msgid "The time of day at which to enable the alternate speed limits, expressed as a number of minutes since midnight."
  34917. msgstr ""
  34918. #. type: deftypevr
  34919. #: guix-git/doc/guix.texi:23370
  34920. msgid "Defaults to @samp{540}."
  34921. msgstr ""
  34922. #. type: deftypevr
  34923. #: guix-git/doc/guix.texi:23373
  34924. #, no-wrap
  34925. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer alt-speed-time-end"
  34926. msgstr ""
  34927. #. type: deftypevr
  34928. #: guix-git/doc/guix.texi:23376
  34929. msgid "The time of day at which to disable the alternate speed limits, expressed as a number of minutes since midnight."
  34930. msgstr ""
  34931. #. type: deftypevr
  34932. #: guix-git/doc/guix.texi:23378
  34933. msgid "Defaults to @samp{1020}."
  34934. msgstr ""
  34935. #. type: deftypevr
  34936. #: guix-git/doc/guix.texi:23381
  34937. #, no-wrap
  34938. msgid "{@code{transmission-daemon-configuration} parameter} string bind-address-ipv4"
  34939. msgstr ""
  34940. #. type: deftypevr
  34941. #: guix-git/doc/guix.texi:23384
  34942. msgid "The IP address at which to listen for peer connections, or ``0.0.0.0'' to listen at all available IP addresses."
  34943. msgstr ""
  34944. #. type: deftypevr
  34945. #: guix-git/doc/guix.texi:23386 guix-git/doc/guix.texi:23689
  34946. #: guix-git/doc/guix.texi:28802
  34947. msgid "Defaults to @samp{\"0.0.0.0\"}."
  34948. msgstr ""
  34949. #. type: deftypevr
  34950. #: guix-git/doc/guix.texi:23389
  34951. #, no-wrap
  34952. msgid "{@code{transmission-daemon-configuration} parameter} string bind-address-ipv6"
  34953. msgstr ""
  34954. #. type: deftypevr
  34955. #: guix-git/doc/guix.texi:23392
  34956. msgid "The IPv6 address at which to listen for peer connections, or ``::'' to listen at all available IPv6 addresses."
  34957. msgstr ""
  34958. #. type: deftypevr
  34959. #: guix-git/doc/guix.texi:23394
  34960. msgid "Defaults to @samp{\"::\"}."
  34961. msgstr ""
  34962. #. type: deftypevr
  34963. #: guix-git/doc/guix.texi:23397
  34964. #, no-wrap
  34965. msgid "{@code{transmission-daemon-configuration} parameter} boolean peer-port-random-on-start?"
  34966. msgstr ""
  34967. #. type: deftypevr
  34968. #: guix-git/doc/guix.texi:23403
  34969. 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}."
  34970. msgstr ""
  34971. #. type: deftypevr
  34972. #: guix-git/doc/guix.texi:23408
  34973. #, no-wrap
  34974. msgid "{@code{transmission-daemon-configuration} parameter} port-number peer-port-random-low"
  34975. msgstr ""
  34976. #. type: deftypevr
  34977. #: guix-git/doc/guix.texi:23411
  34978. msgid "The lowest selectable port number when @code{peer-port-random-on-start?} is @code{#t}."
  34979. msgstr ""
  34980. #. type: deftypevr
  34981. #: guix-git/doc/guix.texi:23413
  34982. msgid "Defaults to @samp{49152}."
  34983. msgstr ""
  34984. #. type: deftypevr
  34985. #: guix-git/doc/guix.texi:23416
  34986. #, no-wrap
  34987. msgid "{@code{transmission-daemon-configuration} parameter} port-number peer-port-random-high"
  34988. msgstr ""
  34989. #. type: deftypevr
  34990. #: guix-git/doc/guix.texi:23419
  34991. msgid "The highest selectable port number when @code{peer-port-random-on-start} is @code{#t}."
  34992. msgstr ""
  34993. #. type: deftypevr
  34994. #: guix-git/doc/guix.texi:23421
  34995. msgid "Defaults to @samp{65535}."
  34996. msgstr ""
  34997. #. type: deftypevr
  34998. #: guix-git/doc/guix.texi:23424
  34999. #, no-wrap
  35000. msgid "{@code{transmission-daemon-configuration} parameter} port-number peer-port"
  35001. msgstr ""
  35002. #. type: deftypevr
  35003. #: guix-git/doc/guix.texi:23427
  35004. msgid "The port on which to listen for peer connections when @code{peer-port-random-on-start?} is @code{#f}."
  35005. msgstr ""
  35006. #. type: deftypevr
  35007. #: guix-git/doc/guix.texi:23429
  35008. msgid "Defaults to @samp{51413}."
  35009. msgstr ""
  35010. #. type: deftypevr
  35011. #: guix-git/doc/guix.texi:23432
  35012. #, no-wrap
  35013. msgid "{@code{transmission-daemon-configuration} parameter} boolean port-forwarding-enabled?"
  35014. msgstr ""
  35015. #. type: deftypevr
  35016. #: guix-git/doc/guix.texi:23436
  35017. msgid "If @code{#t}, the daemon will attempt to configure port-forwarding on an upstream gateway automatically using @acronym{UPnP} and @acronym{NAT-PMP}."
  35018. msgstr ""
  35019. #. type: deftypevr
  35020. #: guix-git/doc/guix.texi:23441
  35021. #, no-wrap
  35022. msgid "{@code{transmission-daemon-configuration} parameter} encryption-mode encryption"
  35023. msgstr ""
  35024. #. type: deftypevr
  35025. #: guix-git/doc/guix.texi:23446
  35026. msgid "The encryption preference for peer connections, one of @code{prefer-unencrypted-connections}, @code{prefer-encrypted-connections} or @code{require-encrypted-connections}."
  35027. msgstr ""
  35028. #. type: deftypevr
  35029. #: guix-git/doc/guix.texi:23448
  35030. msgid "Defaults to @samp{prefer-encrypted-connections}."
  35031. msgstr ""
  35032. #. type: deftypevr
  35033. #: guix-git/doc/guix.texi:23451
  35034. #, no-wrap
  35035. msgid "{@code{transmission-daemon-configuration} parameter} maybe-string peer-congestion-algorithm"
  35036. msgstr ""
  35037. #. type: deftypevr
  35038. #: guix-git/doc/guix.texi:23456
  35039. 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)."
  35040. msgstr ""
  35041. #. type: deftypevr
  35042. #: guix-git/doc/guix.texi:23465
  35043. 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."
  35044. msgstr ""
  35045. #. type: deftypevr
  35046. #: guix-git/doc/guix.texi:23473
  35047. 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:"
  35048. msgstr ""
  35049. #. type: lisp
  35050. #: guix-git/doc/guix.texi:23480
  35051. #, no-wrap
  35052. msgid ""
  35053. "(service sysctl-service-type\n"
  35054. " (sysctl-configuration\n"
  35055. " (settings\n"
  35056. " (\"net.ipv4.tcp_allowed_congestion_control\" .\n"
  35057. " \"reno cubic lp\"))))\n"
  35058. msgstr ""
  35059. #. type: deftypevr
  35060. #: guix-git/doc/guix.texi:23483
  35061. msgid "The Transmission Daemon configuration can then be updated with"
  35062. msgstr ""
  35063. #. type: lisp
  35064. #: guix-git/doc/guix.texi:23486
  35065. #, no-wrap
  35066. msgid "(peer-congestion-algorithm \"lp\")\n"
  35067. msgstr ""
  35068. #. type: deftypevr
  35069. #: guix-git/doc/guix.texi:23489
  35070. msgid "and the system reconfigured to have the changes take effect."
  35071. msgstr ""
  35072. #. type: deftypevr
  35073. #: guix-git/doc/guix.texi:23494
  35074. #, no-wrap
  35075. msgid "{@code{transmission-daemon-configuration} parameter} tcp-type-of-service peer-socket-tos"
  35076. msgstr ""
  35077. #. type: deftypevr
  35078. #: guix-git/doc/guix.texi:23498
  35079. 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}."
  35080. msgstr ""
  35081. #. type: deftypevr
  35082. #: guix-git/doc/guix.texi:23500
  35083. msgid "Defaults to @samp{default}."
  35084. msgstr ""
  35085. #. type: deftypevr
  35086. #: guix-git/doc/guix.texi:23503
  35087. #, no-wrap
  35088. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer peer-limit-global"
  35089. msgstr ""
  35090. #. type: deftypevr
  35091. #: guix-git/doc/guix.texi:23505
  35092. msgid "The global limit on the number of connected peers."
  35093. msgstr ""
  35094. #. type: deftypevr
  35095. #: guix-git/doc/guix.texi:23507
  35096. msgid "Defaults to @samp{200}."
  35097. msgstr ""
  35098. #. type: deftypevr
  35099. #: guix-git/doc/guix.texi:23510
  35100. #, no-wrap
  35101. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer peer-limit-per-torrent"
  35102. msgstr ""
  35103. #. type: deftypevr
  35104. #: guix-git/doc/guix.texi:23512
  35105. msgid "The per-torrent limit on the number of connected peers."
  35106. msgstr ""
  35107. #. type: deftypevr
  35108. #: guix-git/doc/guix.texi:23517
  35109. #, no-wrap
  35110. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer upload-slots-per-torrent"
  35111. msgstr ""
  35112. #. type: deftypevr
  35113. #: guix-git/doc/guix.texi:23520
  35114. msgid "The maximum number of peers to which the daemon will upload data simultaneously for each torrent."
  35115. msgstr ""
  35116. #. type: deftypevr
  35117. #: guix-git/doc/guix.texi:23522
  35118. msgid "Defaults to @samp{14}."
  35119. msgstr ""
  35120. #. type: deftypevr
  35121. #: guix-git/doc/guix.texi:23525
  35122. #, no-wrap
  35123. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer peer-id-ttl-hours"
  35124. msgstr ""
  35125. #. type: deftypevr
  35126. #: guix-git/doc/guix.texi:23528
  35127. msgid "The maximum lifespan, in hours, of the peer ID associated with each public torrent before it is regenerated."
  35128. msgstr ""
  35129. #. type: deftypevr
  35130. #: guix-git/doc/guix.texi:23530
  35131. msgid "Defaults to @samp{6}."
  35132. msgstr ""
  35133. #. type: deftypevr
  35134. #: guix-git/doc/guix.texi:23533
  35135. #, no-wrap
  35136. msgid "{@code{transmission-daemon-configuration} parameter} boolean blocklist-enabled?"
  35137. msgstr ""
  35138. #. type: deftypevr
  35139. #: guix-git/doc/guix.texi:23536
  35140. msgid "When @code{#t}, the daemon will ignore peers mentioned in the blocklist it has most recently downloaded from @code{blocklist-url}."
  35141. msgstr ""
  35142. #. type: deftypevr
  35143. #: guix-git/doc/guix.texi:23541
  35144. #, no-wrap
  35145. msgid "{@code{transmission-daemon-configuration} parameter} maybe-string blocklist-url"
  35146. msgstr ""
  35147. #. type: deftypevr
  35148. #: guix-git/doc/guix.texi:23545
  35149. 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}."
  35150. msgstr ""
  35151. #. type: deftypevr
  35152. #: guix-git/doc/guix.texi:23550
  35153. #, no-wrap
  35154. msgid "{@code{transmission-daemon-configuration} parameter} boolean download-queue-enabled?"
  35155. msgstr ""
  35156. #. type: deftypevr
  35157. #: guix-git/doc/guix.texi:23553
  35158. msgid "If @code{#t}, the daemon will be limited to downloading at most @code{download-queue-size} non-stalled torrents simultaneously."
  35159. msgstr ""
  35160. #. type: deftypevr
  35161. #: guix-git/doc/guix.texi:23558
  35162. #, no-wrap
  35163. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer download-queue-size"
  35164. msgstr ""
  35165. #. type: deftypevr
  35166. #: guix-git/doc/guix.texi:23562
  35167. 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}."
  35168. msgstr ""
  35169. #. type: deftypevr
  35170. #: guix-git/doc/guix.texi:23567
  35171. #, no-wrap
  35172. msgid "{@code{transmission-daemon-configuration} parameter} boolean seed-queue-enabled?"
  35173. msgstr ""
  35174. #. type: deftypevr
  35175. #: guix-git/doc/guix.texi:23570
  35176. msgid "If @code{#t}, the daemon will be limited to seeding at most @code{seed-queue-size} non-stalled torrents simultaneously."
  35177. msgstr ""
  35178. #. type: deftypevr
  35179. #: guix-git/doc/guix.texi:23575
  35180. #, no-wrap
  35181. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer seed-queue-size"
  35182. msgstr ""
  35183. #. type: deftypevr
  35184. #: guix-git/doc/guix.texi:23579
  35185. 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}."
  35186. msgstr ""
  35187. #. type: deftypevr
  35188. #: guix-git/doc/guix.texi:23584
  35189. #, no-wrap
  35190. msgid "{@code{transmission-daemon-configuration} parameter} boolean queue-stalled-enabled?"
  35191. msgstr ""
  35192. #. type: deftypevr
  35193. #: guix-git/doc/guix.texi:23589
  35194. 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."
  35195. msgstr ""
  35196. #. type: deftypevr
  35197. #: guix-git/doc/guix.texi:23594
  35198. #, no-wrap
  35199. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer queue-stalled-minutes"
  35200. msgstr ""
  35201. #. type: deftypevr
  35202. #: guix-git/doc/guix.texi:23598
  35203. 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}."
  35204. msgstr ""
  35205. #. type: deftypevr
  35206. #: guix-git/doc/guix.texi:23603
  35207. #, no-wrap
  35208. msgid "{@code{transmission-daemon-configuration} parameter} boolean ratio-limit-enabled?"
  35209. msgstr ""
  35210. #. type: deftypevr
  35211. #: guix-git/doc/guix.texi:23606
  35212. msgid "When @code{#t}, a torrent being seeded will automatically be paused once it reaches the ratio specified by @code{ratio-limit}."
  35213. msgstr ""
  35214. #. type: deftypevr
  35215. #: guix-git/doc/guix.texi:23611
  35216. #, no-wrap
  35217. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-rational ratio-limit"
  35218. msgstr ""
  35219. #. type: deftypevr
  35220. #: guix-git/doc/guix.texi:23614
  35221. msgid "The ratio at which a torrent being seeded will be paused, when @code{ratio-limit-enabled?} is @code{#t}."
  35222. msgstr ""
  35223. #. type: deftypevr
  35224. #: guix-git/doc/guix.texi:23616
  35225. msgid "Defaults to @samp{2.0}."
  35226. msgstr ""
  35227. #. type: deftypevr
  35228. #: guix-git/doc/guix.texi:23619
  35229. #, no-wrap
  35230. msgid "{@code{transmission-daemon-configuration} parameter} boolean idle-seeding-limit-enabled?"
  35231. msgstr ""
  35232. #. type: deftypevr
  35233. #: guix-git/doc/guix.texi:23622
  35234. msgid "When @code{#t}, a torrent being seeded will automatically be paused once it has been idle for @code{idle-seeding-limit} minutes."
  35235. msgstr ""
  35236. #. type: deftypevr
  35237. #: guix-git/doc/guix.texi:23627
  35238. #, no-wrap
  35239. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer idle-seeding-limit"
  35240. msgstr ""
  35241. #. type: deftypevr
  35242. #: guix-git/doc/guix.texi:23631
  35243. 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}."
  35244. msgstr ""
  35245. #. type: deftypevr
  35246. #: guix-git/doc/guix.texi:23636
  35247. #, no-wrap
  35248. msgid "{@code{transmission-daemon-configuration} parameter} boolean dht-enabled?"
  35249. msgstr ""
  35250. #. type: deftypevr
  35251. #: guix-git/doc/guix.texi:23640
  35252. msgid "Enable @uref{http://bittorrent.org/beps/bep_0005.html,the distributed hash table (@acronym{DHT}) protocol}, which supports the use of trackerless torrents."
  35253. msgstr ""
  35254. #. type: deftypevr
  35255. #: guix-git/doc/guix.texi:23645
  35256. #, no-wrap
  35257. msgid "{@code{transmission-daemon-configuration} parameter} boolean lpd-enabled?"
  35258. msgstr ""
  35259. #. type: deftypevr
  35260. #: guix-git/doc/guix.texi:23650
  35261. 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."
  35262. msgstr ""
  35263. #. type: deftypevr
  35264. #: guix-git/doc/guix.texi:23655
  35265. #, no-wrap
  35266. msgid "{@code{transmission-daemon-configuration} parameter} boolean pex-enabled?"
  35267. msgstr ""
  35268. #. type: deftypevr
  35269. #: guix-git/doc/guix.texi:23659
  35270. 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."
  35271. msgstr ""
  35272. #. type: deftypevr
  35273. #: guix-git/doc/guix.texi:23664
  35274. #, no-wrap
  35275. msgid "{@code{transmission-daemon-configuration} parameter} boolean utp-enabled?"
  35276. msgstr ""
  35277. #. type: deftypevr
  35278. #: guix-git/doc/guix.texi:23669
  35279. 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."
  35280. msgstr ""
  35281. #. type: deftypevr
  35282. #: guix-git/doc/guix.texi:23674
  35283. #, no-wrap
  35284. msgid "{@code{transmission-daemon-configuration} parameter} boolean rpc-enabled?"
  35285. msgstr ""
  35286. #. type: deftypevr
  35287. #: guix-git/doc/guix.texi:23679
  35288. 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."
  35289. msgstr ""
  35290. #. type: deftypevr
  35291. #: guix-git/doc/guix.texi:23684
  35292. #, no-wrap
  35293. msgid "{@code{transmission-daemon-configuration} parameter} string rpc-bind-address"
  35294. msgstr ""
  35295. #. type: deftypevr
  35296. #: guix-git/doc/guix.texi:23687
  35297. msgid "The IP address at which to listen for @acronym{RPC} connections, or ``0.0.0.0'' to listen at all available IP addresses."
  35298. msgstr ""
  35299. #. type: deftypevr
  35300. #: guix-git/doc/guix.texi:23692
  35301. #, no-wrap
  35302. msgid "{@code{transmission-daemon-configuration} parameter} port-number rpc-port"
  35303. msgstr ""
  35304. #. type: deftypevr
  35305. #: guix-git/doc/guix.texi:23694
  35306. msgid "The port on which to listen for @acronym{RPC} connections."
  35307. msgstr ""
  35308. #. type: deftypevr
  35309. #: guix-git/doc/guix.texi:23696
  35310. msgid "Defaults to @samp{9091}."
  35311. msgstr ""
  35312. #. type: deftypevr
  35313. #: guix-git/doc/guix.texi:23699
  35314. #, no-wrap
  35315. msgid "{@code{transmission-daemon-configuration} parameter} string rpc-url"
  35316. msgstr ""
  35317. #. type: deftypevr
  35318. #: guix-git/doc/guix.texi:23701
  35319. msgid "The path prefix to use in the @acronym{RPC}-endpoint @acronym{URL}."
  35320. msgstr ""
  35321. #. type: deftypevr
  35322. #: guix-git/doc/guix.texi:23703
  35323. msgid "Defaults to @samp{\"/transmission/\"}."
  35324. msgstr ""
  35325. #. type: deftypevr
  35326. #: guix-git/doc/guix.texi:23706
  35327. #, no-wrap
  35328. msgid "{@code{transmission-daemon-configuration} parameter} boolean rpc-authentication-required?"
  35329. msgstr ""
  35330. #. type: deftypevr
  35331. #: guix-git/doc/guix.texi:23711
  35332. 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?}."
  35333. msgstr ""
  35334. #. type: deftypevr
  35335. #: guix-git/doc/guix.texi:23716
  35336. #, no-wrap
  35337. msgid "{@code{transmission-daemon-configuration} parameter} maybe-string rpc-username"
  35338. msgstr ""
  35339. #. type: deftypevr
  35340. #: guix-git/doc/guix.texi:23719
  35341. msgid "The username required by clients to access the @acronym{RPC} interface when @code{rpc-authentication-required?} is @code{#t}."
  35342. msgstr ""
  35343. #. type: deftypevr
  35344. #: guix-git/doc/guix.texi:23724
  35345. #, no-wrap
  35346. msgid "{@code{transmission-daemon-configuration} parameter} maybe-transmission-password-hash rpc-password"
  35347. msgstr ""
  35348. #. type: deftypevr
  35349. #: guix-git/doc/guix.texi:23730
  35350. 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."
  35351. msgstr ""
  35352. #. type: deftypevr
  35353. #: guix-git/doc/guix.texi:23735
  35354. #, no-wrap
  35355. msgid "{@code{transmission-daemon-configuration} parameter} boolean rpc-whitelist-enabled?"
  35356. msgstr ""
  35357. #. type: deftypevr
  35358. #: guix-git/doc/guix.texi:23738
  35359. msgid "When @code{#t}, @acronym{RPC} requests will be accepted only when they originate from an address specified in @code{rpc-whitelist}."
  35360. msgstr ""
  35361. #. type: deftypevr
  35362. #: guix-git/doc/guix.texi:23743
  35363. #, no-wrap
  35364. msgid "{@code{transmission-daemon-configuration} parameter} string-list rpc-whitelist"
  35365. msgstr ""
  35366. #. type: deftypevr
  35367. #: guix-git/doc/guix.texi:23747
  35368. 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{*}."
  35369. msgstr ""
  35370. #. type: deftypevr
  35371. #: guix-git/doc/guix.texi:23749
  35372. msgid "Defaults to @samp{(\"127.0.0.1\" \"::1\")}."
  35373. msgstr ""
  35374. #. type: deftypevr
  35375. #: guix-git/doc/guix.texi:23752
  35376. #, no-wrap
  35377. msgid "{@code{transmission-daemon-configuration} parameter} boolean rpc-host-whitelist-enabled?"
  35378. msgstr ""
  35379. #. type: deftypevr
  35380. #: guix-git/doc/guix.texi:23757
  35381. 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."
  35382. msgstr ""
  35383. #. type: deftypevr
  35384. #: guix-git/doc/guix.texi:23760
  35385. msgid "Note also this functionality is disabled when @code{rpc-authentication-required?} is @code{#t}."
  35386. msgstr ""
  35387. #. type: deftypevr
  35388. #: guix-git/doc/guix.texi:23765
  35389. #, no-wrap
  35390. msgid "{@code{transmission-daemon-configuration} parameter} string-list rpc-host-whitelist"
  35391. msgstr ""
  35392. #. type: deftypevr
  35393. #: guix-git/doc/guix.texi:23768
  35394. msgid "The list of host names recognized by the @acronym{RPC} server when @code{rpc-host-whitelist-enabled?} is @code{#t}."
  35395. msgstr ""
  35396. #. type: deftypevr
  35397. #: guix-git/doc/guix.texi:23773
  35398. #, no-wrap
  35399. msgid "{@code{transmission-daemon-configuration} parameter} message-level message-level"
  35400. msgstr ""
  35401. #. type: deftypevr
  35402. #: guix-git/doc/guix.texi:23777
  35403. 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}."
  35404. msgstr ""
  35405. #. type: deftypevr
  35406. #: guix-git/doc/guix.texi:23782
  35407. #, no-wrap
  35408. msgid "{@code{transmission-daemon-configuration} parameter} boolean start-added-torrents?"
  35409. msgstr ""
  35410. #. type: deftypevr
  35411. #: guix-git/doc/guix.texi:23785
  35412. msgid "When @code{#t}, torrents are started as soon as they are added; otherwise, they are added in ``paused'' state."
  35413. msgstr ""
  35414. #. type: deftypevr
  35415. #: guix-git/doc/guix.texi:23790
  35416. #, no-wrap
  35417. msgid "{@code{transmission-daemon-configuration} parameter} boolean script-torrent-done-enabled?"
  35418. msgstr ""
  35419. #. type: deftypevr
  35420. #: guix-git/doc/guix.texi:23794
  35421. msgid "When @code{#t}, the script specified by @code{script-torrent-done-filename} will be invoked each time a torrent completes."
  35422. msgstr ""
  35423. #. type: deftypevr
  35424. #: guix-git/doc/guix.texi:23799
  35425. #, no-wrap
  35426. msgid "{@code{transmission-daemon-configuration} parameter} maybe-file-object script-torrent-done-filename"
  35427. msgstr ""
  35428. #. type: deftypevr
  35429. #: guix-git/doc/guix.texi:23803
  35430. 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}."
  35431. msgstr ""
  35432. #. type: deftypevr
  35433. #: guix-git/doc/guix.texi:23808
  35434. #, no-wrap
  35435. msgid "{@code{transmission-daemon-configuration} parameter} boolean scrape-paused-torrents-enabled?"
  35436. msgstr ""
  35437. #. type: deftypevr
  35438. #: guix-git/doc/guix.texi:23811
  35439. msgid "When @code{#t}, the daemon will scrape trackers for a torrent even when the torrent is paused."
  35440. msgstr ""
  35441. #. type: deftypevr
  35442. #: guix-git/doc/guix.texi:23816
  35443. #, no-wrap
  35444. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer cache-size-mb"
  35445. msgstr ""
  35446. #. type: deftypevr
  35447. #: guix-git/doc/guix.texi:23820
  35448. 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."
  35449. msgstr ""
  35450. #. type: deftypevr
  35451. #: guix-git/doc/guix.texi:23822
  35452. msgid "Defaults to @samp{4}."
  35453. msgstr ""
  35454. #. type: deftypevr
  35455. #: guix-git/doc/guix.texi:23825
  35456. #, no-wrap
  35457. msgid "{@code{transmission-daemon-configuration} parameter} boolean prefetch-enabled?"
  35458. msgstr ""
  35459. #. type: deftypevr
  35460. #: guix-git/doc/guix.texi:23829
  35461. 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."
  35462. msgstr ""
  35463. #. type: subsubheading
  35464. #: guix-git/doc/guix.texi:23842
  35465. #, no-wrap
  35466. msgid "Tailon Service"
  35467. msgstr ""
  35468. #. type: Plain text
  35469. #: guix-git/doc/guix.texi:23846
  35470. msgid "@uref{https://tailon.readthedocs.io/, Tailon} is a web application for viewing and searching log files."
  35471. msgstr ""
  35472. #. type: Plain text
  35473. #: guix-git/doc/guix.texi:23849
  35474. msgid "The following example will configure the service with default values. By default, Tailon can be accessed on port 8080 (@code{http://localhost:8080})."
  35475. msgstr ""
  35476. #. type: lisp
  35477. #: guix-git/doc/guix.texi:23852
  35478. #, no-wrap
  35479. msgid "(service tailon-service-type)\n"
  35480. msgstr ""
  35481. #. type: Plain text
  35482. #: guix-git/doc/guix.texi:23856
  35483. msgid "The following example customises more of the Tailon configuration, adding @command{sed} to the list of allowed commands."
  35484. msgstr ""
  35485. #. type: lisp
  35486. #: guix-git/doc/guix.texi:23863
  35487. #, no-wrap
  35488. msgid ""
  35489. "(service tailon-service-type\n"
  35490. " (tailon-configuration\n"
  35491. " (config-file\n"
  35492. " (tailon-configuration-file\n"
  35493. " (allowed-commands '(\"tail\" \"grep\" \"awk\" \"sed\"))))))\n"
  35494. msgstr ""
  35495. #. type: deftp
  35496. #: guix-git/doc/guix.texi:23866
  35497. #, no-wrap
  35498. msgid "{Data Type} tailon-configuration"
  35499. msgstr ""
  35500. #. type: deftp
  35501. #: guix-git/doc/guix.texi:23869
  35502. msgid "Data type representing the configuration of Tailon. This type has the following parameters:"
  35503. msgstr ""
  35504. #. type: item
  35505. #: guix-git/doc/guix.texi:23871
  35506. #, no-wrap
  35507. msgid "@code{config-file} (default: @code{(tailon-configuration-file)})"
  35508. msgstr ""
  35509. #. type: table
  35510. #: guix-git/doc/guix.texi:23875
  35511. 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})."
  35512. msgstr ""
  35513. #. type: table
  35514. #: guix-git/doc/guix.texi:23878
  35515. msgid "For example, to instead use a local file, the @code{local-file} function can be used:"
  35516. msgstr ""
  35517. #. type: lisp
  35518. #: guix-git/doc/guix.texi:23883
  35519. #, no-wrap
  35520. msgid ""
  35521. "(service tailon-service-type\n"
  35522. " (tailon-configuration\n"
  35523. " (config-file (local-file \"./my-tailon.conf\"))))\n"
  35524. msgstr ""
  35525. #. type: item
  35526. #: guix-git/doc/guix.texi:23885
  35527. #, no-wrap
  35528. msgid "@code{package} (default: @code{tailon})"
  35529. msgstr ""
  35530. #. type: table
  35531. #: guix-git/doc/guix.texi:23887
  35532. msgid "The tailon package to use."
  35533. msgstr ""
  35534. #. type: deftp
  35535. #: guix-git/doc/guix.texi:23891
  35536. #, no-wrap
  35537. msgid "{Data Type} tailon-configuration-file"
  35538. msgstr ""
  35539. #. type: deftp
  35540. #: guix-git/doc/guix.texi:23894
  35541. msgid "Data type representing the configuration options for Tailon. This type has the following parameters:"
  35542. msgstr ""
  35543. #. type: item
  35544. #: guix-git/doc/guix.texi:23896
  35545. #, no-wrap
  35546. msgid "@code{files} (default: @code{(list \"/var/log\")})"
  35547. msgstr ""
  35548. #. type: table
  35549. #: guix-git/doc/guix.texi:23901
  35550. 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."
  35551. msgstr ""
  35552. #. type: item
  35553. #: guix-git/doc/guix.texi:23902
  35554. #, no-wrap
  35555. msgid "@code{bind} (default: @code{\"localhost:8080\"})"
  35556. msgstr ""
  35557. #. type: table
  35558. #: guix-git/doc/guix.texi:23904
  35559. msgid "Address and port to which Tailon should bind on."
  35560. msgstr ""
  35561. #. type: item
  35562. #: guix-git/doc/guix.texi:23905
  35563. #, no-wrap
  35564. msgid "@code{relative-root} (default: @code{#f})"
  35565. msgstr ""
  35566. #. type: table
  35567. #: guix-git/doc/guix.texi:23907
  35568. msgid "URL path to use for Tailon, set to @code{#f} to not use a path."
  35569. msgstr ""
  35570. #. type: item
  35571. #: guix-git/doc/guix.texi:23908
  35572. #, no-wrap
  35573. msgid "@code{allow-transfers?} (default: @code{#t})"
  35574. msgstr ""
  35575. #. type: table
  35576. #: guix-git/doc/guix.texi:23910
  35577. msgid "Allow downloading the log files in the web interface."
  35578. msgstr ""
  35579. #. type: item
  35580. #: guix-git/doc/guix.texi:23911
  35581. #, no-wrap
  35582. msgid "@code{follow-names?} (default: @code{#t})"
  35583. msgstr ""
  35584. #. type: table
  35585. #: guix-git/doc/guix.texi:23913
  35586. msgid "Allow tailing of not-yet existent files."
  35587. msgstr ""
  35588. #. type: item
  35589. #: guix-git/doc/guix.texi:23914
  35590. #, no-wrap
  35591. msgid "@code{tail-lines} (default: @code{200})"
  35592. msgstr ""
  35593. #. type: table
  35594. #: guix-git/doc/guix.texi:23916
  35595. msgid "Number of lines to read initially from each file."
  35596. msgstr ""
  35597. #. type: item
  35598. #: guix-git/doc/guix.texi:23917
  35599. #, no-wrap
  35600. msgid "@code{allowed-commands} (default: @code{(list \"tail\" \"grep\" \"awk\")})"
  35601. msgstr ""
  35602. #. type: table
  35603. #: guix-git/doc/guix.texi:23919
  35604. msgid "Commands to allow running. By default, @code{sed} is disabled."
  35605. msgstr ""
  35606. #. type: table
  35607. #: guix-git/doc/guix.texi:23922
  35608. msgid "Set @code{debug?} to @code{#t} to show debug messages."
  35609. msgstr ""
  35610. #. type: item
  35611. #: guix-git/doc/guix.texi:23923
  35612. #, no-wrap
  35613. msgid "@code{wrap-lines} (default: @code{#t})"
  35614. msgstr ""
  35615. #. type: table
  35616. #: guix-git/doc/guix.texi:23927
  35617. 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."
  35618. msgstr ""
  35619. #. type: item
  35620. #: guix-git/doc/guix.texi:23928
  35621. #, no-wrap
  35622. msgid "@code{http-auth} (default: @code{#f})"
  35623. msgstr ""
  35624. #. type: table
  35625. #: guix-git/doc/guix.texi:23932
  35626. msgid "HTTP authentication type to use. Set to @code{#f} to disable authentication (the default). Supported values are @code{\"digest\"} or @code{\"basic\"}."
  35627. msgstr ""
  35628. #. type: item
  35629. #: guix-git/doc/guix.texi:23933
  35630. #, no-wrap
  35631. msgid "@code{users} (default: @code{#f})"
  35632. msgstr ""
  35633. #. type: table
  35634. #: guix-git/doc/guix.texi:23938
  35635. 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."
  35636. msgstr ""
  35637. #. type: lisp
  35638. #: guix-git/doc/guix.texi:23944
  35639. #, no-wrap
  35640. msgid ""
  35641. "(tailon-configuration-file\n"
  35642. " (http-auth \"basic\")\n"
  35643. " (users '((\"user1\" . \"password1\")\n"
  35644. " (\"user2\" . \"password2\"))))\n"
  35645. msgstr ""
  35646. #. type: subsubheading
  35647. #: guix-git/doc/guix.texi:23950
  35648. #, no-wrap
  35649. msgid "Darkstat Service"
  35650. msgstr ""
  35651. #. type: cindex
  35652. #: guix-git/doc/guix.texi:23951
  35653. #, no-wrap
  35654. msgid "darkstat"
  35655. msgstr ""
  35656. #. type: Plain text
  35657. #: guix-git/doc/guix.texi:23954
  35658. msgid "Darkstat is a packet sniffer that captures network traffic, calculates statistics about usage, and serves reports over HTTP."
  35659. msgstr ""
  35660. #. type: defvar
  35661. #: guix-git/doc/guix.texi:23955
  35662. #, no-wrap
  35663. msgid "{Scheme Variable} darkstat-service-type"
  35664. msgstr ""
  35665. #. type: defvar
  35666. #: guix-git/doc/guix.texi:23960
  35667. 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:"
  35668. msgstr ""
  35669. #. type: lisp
  35670. #: guix-git/doc/guix.texi:23965
  35671. #, no-wrap
  35672. msgid ""
  35673. "(service darkstat-service-type\n"
  35674. " (darkstat-configuration\n"
  35675. " (interface \"eno1\")))\n"
  35676. msgstr ""
  35677. #. type: deftp
  35678. #: guix-git/doc/guix.texi:23968
  35679. #, no-wrap
  35680. msgid "{Data Type} darkstat-configuration"
  35681. msgstr ""
  35682. #. type: deftp
  35683. #: guix-git/doc/guix.texi:23970
  35684. msgid "Data type representing the configuration of @command{darkstat}."
  35685. msgstr ""
  35686. #. type: item
  35687. #: guix-git/doc/guix.texi:23972
  35688. #, no-wrap
  35689. msgid "@code{package} (default: @code{darkstat})"
  35690. msgstr ""
  35691. #. type: table
  35692. #: guix-git/doc/guix.texi:23974
  35693. msgid "The darkstat package to use."
  35694. msgstr ""
  35695. #. type: code{#1}
  35696. #: guix-git/doc/guix.texi:23975
  35697. #, no-wrap
  35698. msgid "interface"
  35699. msgstr ""
  35700. #. type: table
  35701. #: guix-git/doc/guix.texi:23977
  35702. msgid "Capture traffic on the specified network interface."
  35703. msgstr ""
  35704. #. type: item
  35705. #: guix-git/doc/guix.texi:23978
  35706. #, no-wrap
  35707. msgid "@code{port} (default: @code{\"667\"})"
  35708. msgstr ""
  35709. #. type: table
  35710. #: guix-git/doc/guix.texi:23980
  35711. msgid "Bind the web interface to the specified port."
  35712. msgstr ""
  35713. #. type: table
  35714. #: guix-git/doc/guix.texi:23983 guix-git/doc/guix.texi:24018
  35715. msgid "Bind the web interface to the specified address."
  35716. msgstr ""
  35717. #. type: item
  35718. #: guix-git/doc/guix.texi:23984
  35719. #, no-wrap
  35720. msgid "@code{base} (default: @code{\"/\"})"
  35721. msgstr ""
  35722. #. type: table
  35723. #: guix-git/doc/guix.texi:23987
  35724. msgid "Specify the path of the base URL@. This can be useful if @command{darkstat} is accessed via a reverse proxy."
  35725. msgstr ""
  35726. #. type: subsubheading
  35727. #: guix-git/doc/guix.texi:23991
  35728. #, no-wrap
  35729. msgid "Prometheus Node Exporter Service"
  35730. msgstr ""
  35731. #. type: cindex
  35732. #: guix-git/doc/guix.texi:23993
  35733. #, no-wrap
  35734. msgid "prometheus-node-exporter"
  35735. msgstr ""
  35736. #. type: Plain text
  35737. #: guix-git/doc/guix.texi:23998
  35738. 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."
  35739. msgstr ""
  35740. #. type: defvar
  35741. #: guix-git/doc/guix.texi:23999
  35742. #, no-wrap
  35743. msgid "{Scheme variable} prometheus-node-exporter-service-type"
  35744. msgstr ""
  35745. #. type: defvar
  35746. #: guix-git/doc/guix.texi:24003
  35747. 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}."
  35748. msgstr ""
  35749. #. type: lisp
  35750. #: guix-git/doc/guix.texi:24006
  35751. #, no-wrap
  35752. msgid "(service prometheus-node-exporter-service-type)\n"
  35753. msgstr ""
  35754. #. type: deftp
  35755. #: guix-git/doc/guix.texi:24009
  35756. #, no-wrap
  35757. msgid "{Data Type} prometheus-node-exporter-configuration"
  35758. msgstr ""
  35759. #. type: deftp
  35760. #: guix-git/doc/guix.texi:24011
  35761. msgid "Data type representing the configuration of @command{node_exporter}."
  35762. msgstr ""
  35763. #. type: item
  35764. #: guix-git/doc/guix.texi:24013
  35765. #, no-wrap
  35766. msgid "@code{package} (default: @code{go-github-com-prometheus-node-exporter})"
  35767. msgstr ""
  35768. #. type: table
  35769. #: guix-git/doc/guix.texi:24015
  35770. msgid "The prometheus-node-exporter package to use."
  35771. msgstr ""
  35772. #. type: item
  35773. #: guix-git/doc/guix.texi:24016
  35774. #, no-wrap
  35775. msgid "@code{web-listen-address} (default: @code{\":9100\"})"
  35776. msgstr ""
  35777. #. type: item
  35778. #: guix-git/doc/guix.texi:24019
  35779. #, no-wrap
  35780. msgid "@code{textfile-directory} (default: @code{\"/var/lib/prometheus/node-exporter\"})"
  35781. msgstr ""
  35782. #. type: table
  35783. #: guix-git/doc/guix.texi:24023
  35784. 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."
  35785. msgstr ""
  35786. #. type: table
  35787. #: guix-git/doc/guix.texi:24026
  35788. msgid "Extra options to pass to the Prometheus node exporter."
  35789. msgstr ""
  35790. #. type: subsubheading
  35791. #: guix-git/doc/guix.texi:24030
  35792. #, no-wrap
  35793. msgid "Zabbix server"
  35794. msgstr ""
  35795. #. type: cindex
  35796. #: guix-git/doc/guix.texi:24031
  35797. #, no-wrap
  35798. msgid "zabbix zabbix-server"
  35799. msgstr ""
  35800. #. type: Plain text
  35801. #: guix-git/doc/guix.texi:24034
  35802. msgid "Zabbix provides monitoring metrics, among others network utilization, CPU load and disk space consumption:"
  35803. msgstr ""
  35804. #. type: item
  35805. #: guix-git/doc/guix.texi:24036
  35806. #, no-wrap
  35807. msgid "High performance, high capacity (able to monitor hundreds of thousands of devices)."
  35808. msgstr ""
  35809. #. type: item
  35810. #: guix-git/doc/guix.texi:24037
  35811. #, no-wrap
  35812. msgid "Auto-discovery of servers and network devices and interfaces."
  35813. msgstr ""
  35814. #. type: item
  35815. #: guix-git/doc/guix.texi:24038
  35816. #, no-wrap
  35817. msgid "Low-level discovery, allows to automatically start monitoring new items, file systems or network interfaces among others."
  35818. msgstr ""
  35819. #. type: item
  35820. #: guix-git/doc/guix.texi:24039
  35821. #, no-wrap
  35822. msgid "Distributed monitoring with centralized web administration."
  35823. msgstr ""
  35824. #. type: item
  35825. #: guix-git/doc/guix.texi:24040
  35826. #, no-wrap
  35827. msgid "Native high performance agents."
  35828. msgstr ""
  35829. #. type: item
  35830. #: guix-git/doc/guix.texi:24041
  35831. #, no-wrap
  35832. msgid "SLA, and ITIL KPI metrics on reporting."
  35833. msgstr ""
  35834. #. type: item
  35835. #: guix-git/doc/guix.texi:24042
  35836. #, no-wrap
  35837. msgid "High-level (business) view of monitored resources through user-defined visual console screens and dashboards."
  35838. msgstr ""
  35839. #. type: item
  35840. #: guix-git/doc/guix.texi:24043
  35841. #, no-wrap
  35842. msgid "Remote command execution through Zabbix proxies."
  35843. msgstr ""
  35844. #. type: Plain text
  35845. #: guix-git/doc/guix.texi:24049
  35846. msgid "Available @code{zabbix-server-configuration} fields are:"
  35847. msgstr ""
  35848. #. type: deftypevr
  35849. #: guix-git/doc/guix.texi:24050
  35850. #, no-wrap
  35851. msgid "{@code{zabbix-server-configuration} parameter} package zabbix-server"
  35852. msgstr ""
  35853. #. type: deftypevr
  35854. #: guix-git/doc/guix.texi:24052
  35855. msgid "The zabbix-server package."
  35856. msgstr ""
  35857. #. type: deftypevr
  35858. #: guix-git/doc/guix.texi:24055
  35859. #, no-wrap
  35860. msgid "{@code{zabbix-server-configuration} parameter} string user"
  35861. msgstr ""
  35862. #. type: deftypevr
  35863. #: guix-git/doc/guix.texi:24057
  35864. msgid "User who will run the Zabbix server."
  35865. msgstr ""
  35866. #. type: deftypevr
  35867. #: guix-git/doc/guix.texi:24059 guix-git/doc/guix.texi:24066
  35868. #: guix-git/doc/guix.texi:24080 guix-git/doc/guix.texi:24087
  35869. #: guix-git/doc/guix.texi:24188 guix-git/doc/guix.texi:24195
  35870. #: guix-git/doc/guix.texi:24306 guix-git/doc/guix.texi:24313
  35871. msgid "Defaults to @samp{\"zabbix\"}."
  35872. msgstr ""
  35873. #. type: deftypevr
  35874. #: guix-git/doc/guix.texi:24062
  35875. #, no-wrap
  35876. msgid "{@code{zabbix-server-configuration} parameter} group group"
  35877. msgstr ""
  35878. #. type: deftypevr
  35879. #: guix-git/doc/guix.texi:24064
  35880. msgid "Group who will run the Zabbix server."
  35881. msgstr ""
  35882. #. type: deftypevr
  35883. #: guix-git/doc/guix.texi:24069
  35884. #, no-wrap
  35885. msgid "{@code{zabbix-server-configuration} parameter} string db-host"
  35886. msgstr ""
  35887. #. type: deftypevr
  35888. #: guix-git/doc/guix.texi:24071 guix-git/doc/guix.texi:24290
  35889. msgid "Database host name."
  35890. msgstr ""
  35891. #. type: deftypevr
  35892. #: guix-git/doc/guix.texi:24073
  35893. msgid "Defaults to @samp{\"127.0.0.1\"}."
  35894. msgstr ""
  35895. #. type: deftypevr
  35896. #: guix-git/doc/guix.texi:24076
  35897. #, no-wrap
  35898. msgid "{@code{zabbix-server-configuration} parameter} string db-name"
  35899. msgstr ""
  35900. #. type: deftypevr
  35901. #: guix-git/doc/guix.texi:24078 guix-git/doc/guix.texi:24304
  35902. msgid "Database name."
  35903. msgstr ""
  35904. #. type: deftypevr
  35905. #: guix-git/doc/guix.texi:24083
  35906. #, no-wrap
  35907. msgid "{@code{zabbix-server-configuration} parameter} string db-user"
  35908. msgstr ""
  35909. #. type: deftypevr
  35910. #: guix-git/doc/guix.texi:24085 guix-git/doc/guix.texi:24311
  35911. msgid "Database user."
  35912. msgstr ""
  35913. #. type: deftypevr
  35914. #: guix-git/doc/guix.texi:24090
  35915. #, no-wrap
  35916. msgid "{@code{zabbix-server-configuration} parameter} string db-password"
  35917. msgstr ""
  35918. #. type: deftypevr
  35919. #: guix-git/doc/guix.texi:24093
  35920. msgid "Database password. Please, use @code{include-files} with @code{DBPassword=SECRET} inside a specified file instead."
  35921. msgstr ""
  35922. #. type: deftypevr
  35923. #: guix-git/doc/guix.texi:24098
  35924. #, no-wrap
  35925. msgid "{@code{zabbix-server-configuration} parameter} number db-port"
  35926. msgstr ""
  35927. #. type: deftypevr
  35928. #: guix-git/doc/guix.texi:24100 guix-git/doc/guix.texi:24297
  35929. msgid "Database port."
  35930. msgstr ""
  35931. #. type: deftypevr
  35932. #: guix-git/doc/guix.texi:24102 guix-git/doc/guix.texi:24299
  35933. msgid "Defaults to @samp{5432}."
  35934. msgstr ""
  35935. #. type: deftypevr
  35936. #: guix-git/doc/guix.texi:24105
  35937. #, no-wrap
  35938. msgid "{@code{zabbix-server-configuration} parameter} string log-type"
  35939. msgstr ""
  35940. #. type: deftypevr
  35941. #: guix-git/doc/guix.texi:24107 guix-git/doc/guix.texi:24208
  35942. msgid "Specifies where log messages are written to:"
  35943. msgstr ""
  35944. #. type: itemize
  35945. #: guix-git/doc/guix.texi:24111 guix-git/doc/guix.texi:24212
  35946. msgid "@code{system} - syslog."
  35947. msgstr ""
  35948. #. type: itemize
  35949. #: guix-git/doc/guix.texi:24114 guix-git/doc/guix.texi:24215
  35950. msgid "@code{file} - file specified with @code{log-file} parameter."
  35951. msgstr ""
  35952. #. type: itemize
  35953. #: guix-git/doc/guix.texi:24117 guix-git/doc/guix.texi:24218
  35954. msgid "@code{console} - standard output."
  35955. msgstr ""
  35956. #. type: deftypevr
  35957. #: guix-git/doc/guix.texi:24124
  35958. #, no-wrap
  35959. msgid "{@code{zabbix-server-configuration} parameter} string log-file"
  35960. msgstr ""
  35961. #. type: deftypevr
  35962. #: guix-git/doc/guix.texi:24126 guix-git/doc/guix.texi:24227
  35963. msgid "Log file name for @code{log-type} @code{file} parameter."
  35964. msgstr ""
  35965. #. type: deftypevr
  35966. #: guix-git/doc/guix.texi:24128
  35967. msgid "Defaults to @samp{\"/var/log/zabbix/server.log\"}."
  35968. msgstr ""
  35969. #. type: deftypevr
  35970. #: guix-git/doc/guix.texi:24131
  35971. #, no-wrap
  35972. msgid "{@code{zabbix-server-configuration} parameter} string pid-file"
  35973. msgstr ""
  35974. #. type: deftypevr
  35975. #: guix-git/doc/guix.texi:24133 guix-git/doc/guix.texi:24234
  35976. msgid "Name of PID file."
  35977. msgstr ""
  35978. #. type: deftypevr
  35979. #: guix-git/doc/guix.texi:24135
  35980. msgid "Defaults to @samp{\"/var/run/zabbix/zabbix_server.pid\"}."
  35981. msgstr ""
  35982. #. type: deftypevr
  35983. #: guix-git/doc/guix.texi:24138
  35984. #, no-wrap
  35985. msgid "{@code{zabbix-server-configuration} parameter} string ssl-ca-location"
  35986. msgstr ""
  35987. #. type: deftypevr
  35988. #: guix-git/doc/guix.texi:24141
  35989. msgid "The location of certificate authority (CA) files for SSL server certificate verification."
  35990. msgstr ""
  35991. #. type: deftypevr
  35992. #: guix-git/doc/guix.texi:24143
  35993. msgid "Defaults to @samp{\"/etc/ssl/certs/ca-certificates.crt\"}."
  35994. msgstr ""
  35995. #. type: deftypevr
  35996. #: guix-git/doc/guix.texi:24146
  35997. #, no-wrap
  35998. msgid "{@code{zabbix-server-configuration} parameter} string ssl-cert-location"
  35999. msgstr ""
  36000. #. type: deftypevr
  36001. #: guix-git/doc/guix.texi:24148
  36002. msgid "Location of SSL client certificates."
  36003. msgstr ""
  36004. #. type: deftypevr
  36005. #: guix-git/doc/guix.texi:24150
  36006. msgid "Defaults to @samp{\"/etc/ssl/certs\"}."
  36007. msgstr ""
  36008. #. type: deftypevr
  36009. #: guix-git/doc/guix.texi:24153
  36010. #, no-wrap
  36011. msgid "{@code{zabbix-server-configuration} parameter} string extra-options"
  36012. msgstr ""
  36013. #. type: deftypevr
  36014. #: guix-git/doc/guix.texi:24155 guix-git/doc/guix.texi:24259
  36015. msgid "Extra options will be appended to Zabbix server configuration file."
  36016. msgstr ""
  36017. #. type: deftypevr
  36018. #: guix-git/doc/guix.texi:24160
  36019. #, no-wrap
  36020. msgid "{@code{zabbix-server-configuration} parameter} include-files include-files"
  36021. msgstr ""
  36022. #. type: deftypevr
  36023. #: guix-git/doc/guix.texi:24163 guix-git/doc/guix.texi:24267
  36024. msgid "You may include individual files or all files in a directory in the configuration file."
  36025. msgstr ""
  36026. #. type: subsubheading
  36027. #: guix-git/doc/guix.texi:24170
  36028. #, no-wrap
  36029. msgid "Zabbix agent"
  36030. msgstr ""
  36031. #. type: cindex
  36032. #: guix-git/doc/guix.texi:24171
  36033. #, no-wrap
  36034. msgid "zabbix zabbix-agent"
  36035. msgstr ""
  36036. #. type: Plain text
  36037. #: guix-git/doc/guix.texi:24174
  36038. msgid "Zabbix agent gathers information for Zabbix server."
  36039. msgstr ""
  36040. #. type: Plain text
  36041. #: guix-git/doc/guix.texi:24178
  36042. msgid "Available @code{zabbix-agent-configuration} fields are:"
  36043. msgstr ""
  36044. #. type: deftypevr
  36045. #: guix-git/doc/guix.texi:24179
  36046. #, no-wrap
  36047. msgid "{@code{zabbix-agent-configuration} parameter} package zabbix-agent"
  36048. msgstr ""
  36049. #. type: deftypevr
  36050. #: guix-git/doc/guix.texi:24181
  36051. msgid "The zabbix-agent package."
  36052. msgstr ""
  36053. #. type: deftypevr
  36054. #: guix-git/doc/guix.texi:24184
  36055. #, no-wrap
  36056. msgid "{@code{zabbix-agent-configuration} parameter} string user"
  36057. msgstr ""
  36058. #. type: deftypevr
  36059. #: guix-git/doc/guix.texi:24186
  36060. msgid "User who will run the Zabbix agent."
  36061. msgstr ""
  36062. #. type: deftypevr
  36063. #: guix-git/doc/guix.texi:24191
  36064. #, no-wrap
  36065. msgid "{@code{zabbix-agent-configuration} parameter} group group"
  36066. msgstr ""
  36067. #. type: deftypevr
  36068. #: guix-git/doc/guix.texi:24193
  36069. msgid "Group who will run the Zabbix agent."
  36070. msgstr ""
  36071. #. type: deftypevr
  36072. #: guix-git/doc/guix.texi:24198
  36073. #, no-wrap
  36074. msgid "{@code{zabbix-agent-configuration} parameter} string hostname"
  36075. msgstr ""
  36076. #. type: deftypevr
  36077. #: guix-git/doc/guix.texi:24201
  36078. msgid "Unique, case sensitive hostname which is required for active checks and must match hostname as configured on the server."
  36079. msgstr ""
  36080. #. type: deftypevr
  36081. #: guix-git/doc/guix.texi:24206
  36082. #, no-wrap
  36083. msgid "{@code{zabbix-agent-configuration} parameter} string log-type"
  36084. msgstr ""
  36085. #. type: deftypevr
  36086. #: guix-git/doc/guix.texi:24225
  36087. #, no-wrap
  36088. msgid "{@code{zabbix-agent-configuration} parameter} string log-file"
  36089. msgstr ""
  36090. #. type: deftypevr
  36091. #: guix-git/doc/guix.texi:24229
  36092. msgid "Defaults to @samp{\"/var/log/zabbix/agent.log\"}."
  36093. msgstr ""
  36094. #. type: deftypevr
  36095. #: guix-git/doc/guix.texi:24232
  36096. #, no-wrap
  36097. msgid "{@code{zabbix-agent-configuration} parameter} string pid-file"
  36098. msgstr ""
  36099. #. type: deftypevr
  36100. #: guix-git/doc/guix.texi:24236
  36101. msgid "Defaults to @samp{\"/var/run/zabbix/zabbix_agent.pid\"}."
  36102. msgstr ""
  36103. #. type: deftypevr
  36104. #: guix-git/doc/guix.texi:24239
  36105. #, no-wrap
  36106. msgid "{@code{zabbix-agent-configuration} parameter} list server"
  36107. msgstr ""
  36108. #. type: deftypevr
  36109. #: guix-git/doc/guix.texi:24243
  36110. 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."
  36111. msgstr ""
  36112. #. type: deftypevr
  36113. #: guix-git/doc/guix.texi:24245 guix-git/doc/guix.texi:24254
  36114. msgid "Defaults to @samp{(\"127.0.0.1\")}."
  36115. msgstr ""
  36116. #. type: deftypevr
  36117. #: guix-git/doc/guix.texi:24248
  36118. #, no-wrap
  36119. msgid "{@code{zabbix-agent-configuration} parameter} list server-active"
  36120. msgstr ""
  36121. #. type: deftypevr
  36122. #: guix-git/doc/guix.texi:24252
  36123. 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."
  36124. msgstr ""
  36125. #. type: deftypevr
  36126. #: guix-git/doc/guix.texi:24257
  36127. #, no-wrap
  36128. msgid "{@code{zabbix-agent-configuration} parameter} string extra-options"
  36129. msgstr ""
  36130. #. type: deftypevr
  36131. #: guix-git/doc/guix.texi:24264
  36132. #, no-wrap
  36133. msgid "{@code{zabbix-agent-configuration} parameter} include-files include-files"
  36134. msgstr ""
  36135. #. type: subsubheading
  36136. #: guix-git/doc/guix.texi:24274
  36137. #, no-wrap
  36138. msgid "Zabbix front-end"
  36139. msgstr ""
  36140. #. type: cindex
  36141. #: guix-git/doc/guix.texi:24275
  36142. #, no-wrap
  36143. msgid "zabbix zabbix-front-end"
  36144. msgstr ""
  36145. #. type: Plain text
  36146. #: guix-git/doc/guix.texi:24278
  36147. msgid "This service provides a WEB interface to Zabbix server."
  36148. msgstr ""
  36149. #. type: Plain text
  36150. #: guix-git/doc/guix.texi:24282
  36151. msgid "Available @code{zabbix-front-end-configuration} fields are:"
  36152. msgstr ""
  36153. #. type: deftypevr
  36154. #: guix-git/doc/guix.texi:24283
  36155. #, no-wrap
  36156. msgid "{@code{zabbix-front-end-configuration} parameter} nginx-server-configuration-list nginx"
  36157. msgstr ""
  36158. #. type: deftypevr
  36159. #: guix-git/doc/guix.texi:24285 guix-git/doc/guix.texi:30515
  36160. msgid "NGINX configuration."
  36161. msgstr ""
  36162. #. type: deftypevr
  36163. #: guix-git/doc/guix.texi:24288
  36164. #, no-wrap
  36165. msgid "{@code{zabbix-front-end-configuration} parameter} string db-host"
  36166. msgstr ""
  36167. #. type: deftypevr
  36168. #: guix-git/doc/guix.texi:24295
  36169. #, no-wrap
  36170. msgid "{@code{zabbix-front-end-configuration} parameter} number db-port"
  36171. msgstr ""
  36172. #. type: deftypevr
  36173. #: guix-git/doc/guix.texi:24302
  36174. #, no-wrap
  36175. msgid "{@code{zabbix-front-end-configuration} parameter} string db-name"
  36176. msgstr ""
  36177. #. type: deftypevr
  36178. #: guix-git/doc/guix.texi:24309
  36179. #, no-wrap
  36180. msgid "{@code{zabbix-front-end-configuration} parameter} string db-user"
  36181. msgstr ""
  36182. #. type: deftypevr
  36183. #: guix-git/doc/guix.texi:24316
  36184. #, no-wrap
  36185. msgid "{@code{zabbix-front-end-configuration} parameter} string db-password"
  36186. msgstr ""
  36187. #. type: deftypevr
  36188. #: guix-git/doc/guix.texi:24318
  36189. msgid "Database password. Please, use @code{db-secret-file} instead."
  36190. msgstr ""
  36191. #. type: deftypevr
  36192. #: guix-git/doc/guix.texi:24323
  36193. #, no-wrap
  36194. msgid "{@code{zabbix-front-end-configuration} parameter} string db-secret-file"
  36195. msgstr ""
  36196. #. type: deftypevr
  36197. #: guix-git/doc/guix.texi:24328
  36198. 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']}."
  36199. msgstr ""
  36200. #. type: deftypevr
  36201. #: guix-git/doc/guix.texi:24333
  36202. #, no-wrap
  36203. msgid "{@code{zabbix-front-end-configuration} parameter} string zabbix-host"
  36204. msgstr ""
  36205. #. type: deftypevr
  36206. #: guix-git/doc/guix.texi:24335
  36207. msgid "Zabbix server hostname."
  36208. msgstr ""
  36209. #. type: deftypevr
  36210. #: guix-git/doc/guix.texi:24340
  36211. #, no-wrap
  36212. msgid "{@code{zabbix-front-end-configuration} parameter} number zabbix-port"
  36213. msgstr ""
  36214. #. type: deftypevr
  36215. #: guix-git/doc/guix.texi:24342
  36216. msgid "Zabbix server port."
  36217. msgstr ""
  36218. #. type: deftypevr
  36219. #: guix-git/doc/guix.texi:24344
  36220. msgid "Defaults to @samp{10051}."
  36221. msgstr ""
  36222. #. type: cindex
  36223. #: guix-git/doc/guix.texi:24352
  36224. #, no-wrap
  36225. msgid "Kerberos"
  36226. msgstr ""
  36227. #. type: Plain text
  36228. #: guix-git/doc/guix.texi:24356
  36229. msgid "The @code{(gnu services kerberos)} module provides services relating to the authentication protocol @dfn{Kerberos}."
  36230. msgstr ""
  36231. #. type: subsubheading
  36232. #: guix-git/doc/guix.texi:24357
  36233. #, no-wrap
  36234. msgid "Krb5 Service"
  36235. msgstr ""
  36236. #. type: Plain text
  36237. #: guix-git/doc/guix.texi:24364
  36238. 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."
  36239. msgstr ""
  36240. #. type: Plain text
  36241. #: guix-git/doc/guix.texi:24368
  36242. 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."
  36243. msgstr ""
  36244. #. type: defvr
  36245. #: guix-git/doc/guix.texi:24369
  36246. #, no-wrap
  36247. msgid "{Scheme Variable} krb5-service-type"
  36248. msgstr ""
  36249. #. type: defvr
  36250. #: guix-git/doc/guix.texi:24371
  36251. msgid "A service type for Kerberos 5 clients."
  36252. msgstr ""
  36253. #. type: Plain text
  36254. #: guix-git/doc/guix.texi:24375
  36255. msgid "Here is an example of its use:"
  36256. msgstr ""
  36257. #. type: lisp
  36258. #: guix-git/doc/guix.texi:24389
  36259. #, no-wrap
  36260. msgid ""
  36261. "(service krb5-service-type\n"
  36262. " (krb5-configuration\n"
  36263. " (default-realm \"EXAMPLE.COM\")\n"
  36264. " (allow-weak-crypto? #t)\n"
  36265. " (realms (list\n"
  36266. " (krb5-realm\n"
  36267. " (name \"EXAMPLE.COM\")\n"
  36268. " (admin-server \"groucho.example.com\")\n"
  36269. " (kdc \"karl.example.com\"))\n"
  36270. " (krb5-realm\n"
  36271. " (name \"ARGRX.EDU\")\n"
  36272. " (admin-server \"kerb-admin.argrx.edu\")\n"
  36273. " (kdc \"keys.argrx.edu\"))))))\n"
  36274. msgstr ""
  36275. #. type: Plain text
  36276. #: guix-git/doc/guix.texi:24393
  36277. msgid "This example provides a Kerberos@tie{}5 client configuration which:"
  36278. msgstr ""
  36279. #. type: item
  36280. #: guix-git/doc/guix.texi:24394
  36281. #, no-wrap
  36282. msgid "Recognizes two realms, @i{viz:} ``EXAMPLE.COM'' and ``ARGRX.EDU'', both"
  36283. msgstr ""
  36284. #. type: itemize
  36285. #: guix-git/doc/guix.texi:24396
  36286. msgid "of which have distinct administration servers and key distribution centers;"
  36287. msgstr ""
  36288. #. type: item
  36289. #: guix-git/doc/guix.texi:24396
  36290. #, no-wrap
  36291. msgid "Will default to the realm ``EXAMPLE.COM'' if the realm is not explicitly"
  36292. msgstr ""
  36293. #. type: itemize
  36294. #: guix-git/doc/guix.texi:24398
  36295. msgid "specified by clients;"
  36296. msgstr ""
  36297. #. type: item
  36298. #: guix-git/doc/guix.texi:24398
  36299. #, no-wrap
  36300. msgid "Accepts services which only support encryption types known to be weak."
  36301. msgstr ""
  36302. #. type: Plain text
  36303. #: guix-git/doc/guix.texi:24406
  36304. 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."
  36305. msgstr ""
  36306. #. type: deftp
  36307. #: guix-git/doc/guix.texi:24408
  36308. #, no-wrap
  36309. msgid "{Data Type} krb5-realm"
  36310. msgstr ""
  36311. #. type: cindex
  36312. #: guix-git/doc/guix.texi:24409
  36313. #, no-wrap
  36314. msgid "realm, kerberos"
  36315. msgstr ""
  36316. #. type: table
  36317. #: guix-git/doc/guix.texi:24415
  36318. 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."
  36319. msgstr ""
  36320. #. type: code{#1}
  36321. #: guix-git/doc/guix.texi:24416
  36322. #, no-wrap
  36323. msgid "admin-server"
  36324. msgstr ""
  36325. #. type: table
  36326. #: guix-git/doc/guix.texi:24419
  36327. msgid "This field is a string identifying the host where the administration server is running."
  36328. msgstr ""
  36329. #. type: code{#1}
  36330. #: guix-git/doc/guix.texi:24420
  36331. #, no-wrap
  36332. msgid "kdc"
  36333. msgstr ""
  36334. #. type: table
  36335. #: guix-git/doc/guix.texi:24423
  36336. msgid "This field is a string identifying the key distribution center for the realm."
  36337. msgstr ""
  36338. #. type: deftp
  36339. #: guix-git/doc/guix.texi:24426
  36340. #, no-wrap
  36341. msgid "{Data Type} krb5-configuration"
  36342. msgstr ""
  36343. #. type: item
  36344. #: guix-git/doc/guix.texi:24429
  36345. #, no-wrap
  36346. msgid "@code{allow-weak-crypto?} (default: @code{#f})"
  36347. msgstr ""
  36348. #. type: table
  36349. #: guix-git/doc/guix.texi:24432
  36350. msgid "If this flag is @code{#t} then services which only offer encryption algorithms known to be weak will be accepted."
  36351. msgstr ""
  36352. #. type: item
  36353. #: guix-git/doc/guix.texi:24433
  36354. #, no-wrap
  36355. msgid "@code{default-realm} (default: @code{#f})"
  36356. msgstr ""
  36357. #. type: table
  36358. #: guix-git/doc/guix.texi:24440
  36359. 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}."
  36360. msgstr ""
  36361. #. type: code{#1}
  36362. #: guix-git/doc/guix.texi:24441
  36363. #, no-wrap
  36364. msgid "realms"
  36365. msgstr ""
  36366. #. type: table
  36367. #: guix-git/doc/guix.texi:24446
  36368. 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."
  36369. msgstr ""
  36370. #. type: subsubheading
  36371. #: guix-git/doc/guix.texi:24450
  36372. #, no-wrap
  36373. msgid "PAM krb5 Service"
  36374. msgstr ""
  36375. #. type: cindex
  36376. #: guix-git/doc/guix.texi:24451
  36377. #, no-wrap
  36378. msgid "pam-krb5"
  36379. msgstr ""
  36380. #. type: Plain text
  36381. #: guix-git/doc/guix.texi:24457
  36382. 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."
  36383. msgstr ""
  36384. #. type: defvr
  36385. #: guix-git/doc/guix.texi:24458
  36386. #, no-wrap
  36387. msgid "{Scheme Variable} pam-krb5-service-type"
  36388. msgstr ""
  36389. #. type: defvr
  36390. #: guix-git/doc/guix.texi:24460
  36391. msgid "A service type for the Kerberos 5 PAM module."
  36392. msgstr ""
  36393. #. type: deftp
  36394. #: guix-git/doc/guix.texi:24462
  36395. #, no-wrap
  36396. msgid "{Data Type} pam-krb5-configuration"
  36397. msgstr ""
  36398. #. type: deftp
  36399. #: guix-git/doc/guix.texi:24465
  36400. msgid "Data type representing the configuration of the Kerberos 5 PAM module. This type has the following parameters:"
  36401. msgstr ""
  36402. #. type: item
  36403. #: guix-git/doc/guix.texi:24466
  36404. #, no-wrap
  36405. msgid "@code{pam-krb5} (default: @code{pam-krb5})"
  36406. msgstr ""
  36407. #. type: table
  36408. #: guix-git/doc/guix.texi:24468
  36409. msgid "The pam-krb5 package to use."
  36410. msgstr ""
  36411. #. type: item
  36412. #: guix-git/doc/guix.texi:24469
  36413. #, no-wrap
  36414. msgid "@code{minimum-uid} (default: @code{1000})"
  36415. msgstr ""
  36416. #. type: table
  36417. #: guix-git/doc/guix.texi:24472
  36418. msgid "The smallest user ID for which Kerberos authentications should be attempted. Local accounts with lower values will silently fail to authenticate."
  36419. msgstr ""
  36420. #. type: cindex
  36421. #: guix-git/doc/guix.texi:24478
  36422. #, no-wrap
  36423. msgid "LDAP"
  36424. msgstr ""
  36425. #. type: cindex
  36426. #: guix-git/doc/guix.texi:24479
  36427. #, no-wrap
  36428. msgid "nslcd, LDAP service"
  36429. msgstr ""
  36430. #. type: Plain text
  36431. #: guix-git/doc/guix.texi:24486
  36432. 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."
  36433. msgstr ""
  36434. #. type: Plain text
  36435. #: guix-git/doc/guix.texi:24490
  36436. 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:"
  36437. msgstr ""
  36438. #. type: lisp
  36439. #: guix-git/doc/guix.texi:24513
  36440. #, no-wrap
  36441. msgid ""
  36442. "(use-service-modules authentication)\n"
  36443. "(use-modules (gnu system nss))\n"
  36444. "...\n"
  36445. "(operating-system\n"
  36446. " ...\n"
  36447. " (services\n"
  36448. " (cons*\n"
  36449. " (service nslcd-service-type)\n"
  36450. " (service dhcp-client-service-type)\n"
  36451. " %base-services))\n"
  36452. " (name-service-switch\n"
  36453. " (let ((services (list (name-service (name \"db\"))\n"
  36454. " (name-service (name \"files\"))\n"
  36455. " (name-service (name \"ldap\")))))\n"
  36456. " (name-service-switch\n"
  36457. " (inherit %mdns-host-lookup-nss)\n"
  36458. " (password services)\n"
  36459. " (shadow services)\n"
  36460. " (group services)\n"
  36461. " (netgroup services)\n"
  36462. " (gshadow services)))))\n"
  36463. msgstr ""
  36464. #. type: Plain text
  36465. #: guix-git/doc/guix.texi:24518
  36466. msgid "Available @code{nslcd-configuration} fields are:"
  36467. msgstr ""
  36468. #. type: deftypevr
  36469. #: guix-git/doc/guix.texi:24519
  36470. #, no-wrap
  36471. msgid "{@code{nslcd-configuration} parameter} package nss-pam-ldapd"
  36472. msgstr ""
  36473. #. type: deftypevr
  36474. #: guix-git/doc/guix.texi:24521
  36475. msgid "The @code{nss-pam-ldapd} package to use."
  36476. msgstr ""
  36477. #. type: deftypevr
  36478. #: guix-git/doc/guix.texi:24524
  36479. #, no-wrap
  36480. msgid "{@code{nslcd-configuration} parameter} maybe-number threads"
  36481. msgstr ""
  36482. #. type: deftypevr
  36483. #: guix-git/doc/guix.texi:24528
  36484. 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."
  36485. msgstr ""
  36486. #. type: deftypevr
  36487. #: guix-git/doc/guix.texi:24533
  36488. #, no-wrap
  36489. msgid "{@code{nslcd-configuration} parameter} string uid"
  36490. msgstr ""
  36491. #. type: deftypevr
  36492. #: guix-git/doc/guix.texi:24535
  36493. msgid "This specifies the user id with which the daemon should be run."
  36494. msgstr ""
  36495. #. type: deftypevr
  36496. #: guix-git/doc/guix.texi:24537 guix-git/doc/guix.texi:24544
  36497. msgid "Defaults to @samp{\"nslcd\"}."
  36498. msgstr ""
  36499. #. type: deftypevr
  36500. #: guix-git/doc/guix.texi:24540
  36501. #, no-wrap
  36502. msgid "{@code{nslcd-configuration} parameter} string gid"
  36503. msgstr ""
  36504. #. type: deftypevr
  36505. #: guix-git/doc/guix.texi:24542
  36506. msgid "This specifies the group id with which the daemon should be run."
  36507. msgstr ""
  36508. #. type: deftypevr
  36509. #: guix-git/doc/guix.texi:24547
  36510. #, no-wrap
  36511. msgid "{@code{nslcd-configuration} parameter} log-option log"
  36512. msgstr ""
  36513. #. type: deftypevr
  36514. #: guix-git/doc/guix.texi:24555
  36515. 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."
  36516. msgstr ""
  36517. #. type: deftypevr
  36518. #: guix-git/doc/guix.texi:24557
  36519. msgid "Defaults to @samp{(\"/var/log/nslcd\" info)}."
  36520. msgstr ""
  36521. #. type: deftypevr
  36522. #: guix-git/doc/guix.texi:24560
  36523. #, no-wrap
  36524. msgid "{@code{nslcd-configuration} parameter} list uri"
  36525. msgstr ""
  36526. #. type: deftypevr
  36527. #: guix-git/doc/guix.texi:24563
  36528. msgid "The list of LDAP server URIs. Normally, only the first server will be used with the following servers as fall-back."
  36529. msgstr ""
  36530. #. type: deftypevr
  36531. #: guix-git/doc/guix.texi:24565
  36532. msgid "Defaults to @samp{(\"ldap://localhost:389/\")}."
  36533. msgstr ""
  36534. #. type: deftypevr
  36535. #: guix-git/doc/guix.texi:24568
  36536. #, no-wrap
  36537. msgid "{@code{nslcd-configuration} parameter} maybe-string ldap-version"
  36538. msgstr ""
  36539. #. type: deftypevr
  36540. #: guix-git/doc/guix.texi:24571
  36541. msgid "The version of the LDAP protocol to use. The default is to use the maximum version supported by the LDAP library."
  36542. msgstr ""
  36543. #. type: deftypevr
  36544. #: guix-git/doc/guix.texi:24576
  36545. #, no-wrap
  36546. msgid "{@code{nslcd-configuration} parameter} maybe-string binddn"
  36547. msgstr ""
  36548. #. type: deftypevr
  36549. #: guix-git/doc/guix.texi:24579
  36550. msgid "Specifies the distinguished name with which to bind to the directory server for lookups. The default is to bind anonymously."
  36551. msgstr ""
  36552. #. type: deftypevr
  36553. #: guix-git/doc/guix.texi:24584
  36554. #, no-wrap
  36555. msgid "{@code{nslcd-configuration} parameter} maybe-string bindpw"
  36556. msgstr ""
  36557. #. type: deftypevr
  36558. #: guix-git/doc/guix.texi:24587
  36559. msgid "Specifies the credentials with which to bind. This option is only applicable when used with binddn."
  36560. msgstr ""
  36561. #. type: deftypevr
  36562. #: guix-git/doc/guix.texi:24592
  36563. #, no-wrap
  36564. msgid "{@code{nslcd-configuration} parameter} maybe-string rootpwmoddn"
  36565. msgstr ""
  36566. #. type: deftypevr
  36567. #: guix-git/doc/guix.texi:24595
  36568. msgid "Specifies the distinguished name to use when the root user tries to modify a user's password using the PAM module."
  36569. msgstr ""
  36570. #. type: deftypevr
  36571. #: guix-git/doc/guix.texi:24600
  36572. #, no-wrap
  36573. msgid "{@code{nslcd-configuration} parameter} maybe-string rootpwmodpw"
  36574. msgstr ""
  36575. #. type: deftypevr
  36576. #: guix-git/doc/guix.texi:24604
  36577. 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"
  36578. msgstr ""
  36579. #. type: deftypevr
  36580. #: guix-git/doc/guix.texi:24609
  36581. #, no-wrap
  36582. msgid "{@code{nslcd-configuration} parameter} maybe-string sasl-mech"
  36583. msgstr ""
  36584. #. type: deftypevr
  36585. #: guix-git/doc/guix.texi:24612
  36586. msgid "Specifies the SASL mechanism to be used when performing SASL authentication."
  36587. msgstr ""
  36588. #. type: deftypevr
  36589. #: guix-git/doc/guix.texi:24617
  36590. #, no-wrap
  36591. msgid "{@code{nslcd-configuration} parameter} maybe-string sasl-realm"
  36592. msgstr ""
  36593. #. type: deftypevr
  36594. #: guix-git/doc/guix.texi:24619
  36595. msgid "Specifies the SASL realm to be used when performing SASL authentication."
  36596. msgstr ""
  36597. #. type: deftypevr
  36598. #: guix-git/doc/guix.texi:24624
  36599. #, no-wrap
  36600. msgid "{@code{nslcd-configuration} parameter} maybe-string sasl-authcid"
  36601. msgstr ""
  36602. #. type: deftypevr
  36603. #: guix-git/doc/guix.texi:24627
  36604. msgid "Specifies the authentication identity to be used when performing SASL authentication."
  36605. msgstr ""
  36606. #. type: deftypevr
  36607. #: guix-git/doc/guix.texi:24632
  36608. #, no-wrap
  36609. msgid "{@code{nslcd-configuration} parameter} maybe-string sasl-authzid"
  36610. msgstr ""
  36611. #. type: deftypevr
  36612. #: guix-git/doc/guix.texi:24635
  36613. msgid "Specifies the authorization identity to be used when performing SASL authentication."
  36614. msgstr ""
  36615. #. type: deftypevr
  36616. #: guix-git/doc/guix.texi:24640
  36617. #, no-wrap
  36618. msgid "{@code{nslcd-configuration} parameter} maybe-boolean sasl-canonicalize?"
  36619. msgstr ""
  36620. #. type: deftypevr
  36621. #: guix-git/doc/guix.texi:24645
  36622. 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."
  36623. msgstr ""
  36624. #. type: deftypevr
  36625. #: guix-git/doc/guix.texi:24650
  36626. #, no-wrap
  36627. msgid "{@code{nslcd-configuration} parameter} maybe-string krb5-ccname"
  36628. msgstr ""
  36629. #. type: deftypevr
  36630. #: guix-git/doc/guix.texi:24652
  36631. msgid "Set the name for the GSS-API Kerberos credentials cache."
  36632. msgstr ""
  36633. #. type: deftypevr
  36634. #: guix-git/doc/guix.texi:24657
  36635. #, no-wrap
  36636. msgid "{@code{nslcd-configuration} parameter} string base"
  36637. msgstr ""
  36638. #. type: deftypevr
  36639. #: guix-git/doc/guix.texi:24659
  36640. msgid "The directory search base."
  36641. msgstr ""
  36642. #. type: deftypevr
  36643. #: guix-git/doc/guix.texi:24661
  36644. msgid "Defaults to @samp{\"dc=example,dc=com\"}."
  36645. msgstr ""
  36646. #. type: deftypevr
  36647. #: guix-git/doc/guix.texi:24664
  36648. #, no-wrap
  36649. msgid "{@code{nslcd-configuration} parameter} scope-option scope"
  36650. msgstr ""
  36651. #. type: deftypevr
  36652. #: guix-git/doc/guix.texi:24668
  36653. 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."
  36654. msgstr ""
  36655. #. type: deftypevr
  36656. #: guix-git/doc/guix.texi:24670
  36657. msgid "Defaults to @samp{(subtree)}."
  36658. msgstr ""
  36659. #. type: deftypevr
  36660. #: guix-git/doc/guix.texi:24673
  36661. #, no-wrap
  36662. msgid "{@code{nslcd-configuration} parameter} maybe-deref-option deref"
  36663. msgstr ""
  36664. #. type: deftypevr
  36665. #: guix-git/doc/guix.texi:24676
  36666. msgid "Specifies the policy for dereferencing aliases. The default policy is to never dereference aliases."
  36667. msgstr ""
  36668. #. type: deftypevr
  36669. #: guix-git/doc/guix.texi:24681
  36670. #, no-wrap
  36671. msgid "{@code{nslcd-configuration} parameter} maybe-boolean referrals"
  36672. msgstr ""
  36673. #. type: deftypevr
  36674. #: guix-git/doc/guix.texi:24684
  36675. msgid "Specifies whether automatic referral chasing should be enabled. The default behaviour is to chase referrals."
  36676. msgstr ""
  36677. #. type: deftypevr
  36678. #: guix-git/doc/guix.texi:24689
  36679. #, no-wrap
  36680. msgid "{@code{nslcd-configuration} parameter} list-of-map-entries maps"
  36681. msgstr ""
  36682. #. type: deftypevr
  36683. #: guix-git/doc/guix.texi:24694
  36684. 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."
  36685. msgstr ""
  36686. #. type: deftypevr
  36687. #: guix-git/doc/guix.texi:24699
  36688. #, no-wrap
  36689. msgid "{@code{nslcd-configuration} parameter} list-of-filter-entries filters"
  36690. msgstr ""
  36691. #. type: deftypevr
  36692. #: guix-git/doc/guix.texi:24702
  36693. msgid "A list of filters consisting of the name of a map to which the filter applies and an LDAP search filter expression."
  36694. msgstr ""
  36695. #. type: deftypevr
  36696. #: guix-git/doc/guix.texi:24707
  36697. #, no-wrap
  36698. msgid "{@code{nslcd-configuration} parameter} maybe-number bind-timelimit"
  36699. msgstr ""
  36700. #. type: deftypevr
  36701. #: guix-git/doc/guix.texi:24710
  36702. msgid "Specifies the time limit in seconds to use when connecting to the directory server. The default value is 10 seconds."
  36703. msgstr ""
  36704. #. type: deftypevr
  36705. #: guix-git/doc/guix.texi:24715
  36706. #, no-wrap
  36707. msgid "{@code{nslcd-configuration} parameter} maybe-number timelimit"
  36708. msgstr ""
  36709. #. type: deftypevr
  36710. #: guix-git/doc/guix.texi:24719
  36711. 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."
  36712. msgstr ""
  36713. #. type: deftypevr
  36714. #: guix-git/doc/guix.texi:24724
  36715. #, no-wrap
  36716. msgid "{@code{nslcd-configuration} parameter} maybe-number idle-timelimit"
  36717. msgstr ""
  36718. #. type: deftypevr
  36719. #: guix-git/doc/guix.texi:24728
  36720. 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."
  36721. msgstr ""
  36722. #. type: deftypevr
  36723. #: guix-git/doc/guix.texi:24733
  36724. #, no-wrap
  36725. msgid "{@code{nslcd-configuration} parameter} maybe-number reconnect-sleeptime"
  36726. msgstr ""
  36727. #. type: deftypevr
  36728. #: guix-git/doc/guix.texi:24737
  36729. 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."
  36730. msgstr ""
  36731. #. type: deftypevr
  36732. #: guix-git/doc/guix.texi:24742
  36733. #, no-wrap
  36734. msgid "{@code{nslcd-configuration} parameter} maybe-number reconnect-retrytime"
  36735. msgstr ""
  36736. #. type: deftypevr
  36737. #: guix-git/doc/guix.texi:24746
  36738. 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."
  36739. msgstr ""
  36740. #. type: deftypevr
  36741. #: guix-git/doc/guix.texi:24751
  36742. #, no-wrap
  36743. msgid "{@code{nslcd-configuration} parameter} maybe-ssl-option ssl"
  36744. msgstr ""
  36745. #. type: deftypevr
  36746. #: guix-git/doc/guix.texi:24755
  36747. 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."
  36748. msgstr ""
  36749. #. type: deftypevr
  36750. #: guix-git/doc/guix.texi:24760
  36751. #, no-wrap
  36752. msgid "{@code{nslcd-configuration} parameter} maybe-tls-reqcert-option tls-reqcert"
  36753. msgstr ""
  36754. #. type: deftypevr
  36755. #: guix-git/doc/guix.texi:24763
  36756. 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."
  36757. msgstr ""
  36758. #. type: deftypevr
  36759. #: guix-git/doc/guix.texi:24768
  36760. #, no-wrap
  36761. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-cacertdir"
  36762. msgstr ""
  36763. #. type: deftypevr
  36764. #: guix-git/doc/guix.texi:24771
  36765. msgid "Specifies the directory containing X.509 certificates for peer authen‐ tication. This parameter is ignored when using GnuTLS."
  36766. msgstr ""
  36767. #. type: deftypevr
  36768. #: guix-git/doc/guix.texi:24776
  36769. #, no-wrap
  36770. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-cacertfile"
  36771. msgstr ""
  36772. #. type: deftypevr
  36773. #: guix-git/doc/guix.texi:24778
  36774. msgid "Specifies the path to the X.509 certificate for peer authentication."
  36775. msgstr ""
  36776. #. type: deftypevr
  36777. #: guix-git/doc/guix.texi:24783
  36778. #, no-wrap
  36779. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-randfile"
  36780. msgstr ""
  36781. #. type: deftypevr
  36782. #: guix-git/doc/guix.texi:24786
  36783. msgid "Specifies the path to an entropy source. This parameter is ignored when using GnuTLS."
  36784. msgstr ""
  36785. #. type: deftypevr
  36786. #: guix-git/doc/guix.texi:24791
  36787. #, no-wrap
  36788. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-ciphers"
  36789. msgstr ""
  36790. #. type: deftypevr
  36791. #: guix-git/doc/guix.texi:24793
  36792. msgid "Specifies the ciphers to use for TLS as a string."
  36793. msgstr ""
  36794. #. type: deftypevr
  36795. #: guix-git/doc/guix.texi:24798
  36796. #, no-wrap
  36797. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-cert"
  36798. msgstr ""
  36799. #. type: deftypevr
  36800. #: guix-git/doc/guix.texi:24801
  36801. msgid "Specifies the path to the file containing the local certificate for client TLS authentication."
  36802. msgstr ""
  36803. #. type: deftypevr
  36804. #: guix-git/doc/guix.texi:24806
  36805. #, no-wrap
  36806. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-key"
  36807. msgstr ""
  36808. #. type: deftypevr
  36809. #: guix-git/doc/guix.texi:24809
  36810. msgid "Specifies the path to the file containing the private key for client TLS authentication."
  36811. msgstr ""
  36812. #. type: deftypevr
  36813. #: guix-git/doc/guix.texi:24814
  36814. #, no-wrap
  36815. msgid "{@code{nslcd-configuration} parameter} maybe-number pagesize"
  36816. msgstr ""
  36817. #. type: deftypevr
  36818. #: guix-git/doc/guix.texi:24818
  36819. 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."
  36820. msgstr ""
  36821. #. type: deftypevr
  36822. #: guix-git/doc/guix.texi:24823
  36823. #, no-wrap
  36824. msgid "{@code{nslcd-configuration} parameter} maybe-ignore-users-option nss-initgroups-ignoreusers"
  36825. msgstr ""
  36826. #. type: deftypevr
  36827. #: guix-git/doc/guix.texi:24827
  36828. 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."
  36829. msgstr ""
  36830. #. type: deftypevr
  36831. #: guix-git/doc/guix.texi:24832
  36832. #, no-wrap
  36833. msgid "{@code{nslcd-configuration} parameter} maybe-number nss-min-uid"
  36834. msgstr ""
  36835. #. type: deftypevr
  36836. #: guix-git/doc/guix.texi:24835
  36837. msgid "This option ensures that LDAP users with a numeric user id lower than the specified value are ignored."
  36838. msgstr ""
  36839. #. type: deftypevr
  36840. #: guix-git/doc/guix.texi:24840
  36841. #, no-wrap
  36842. msgid "{@code{nslcd-configuration} parameter} maybe-number nss-uid-offset"
  36843. msgstr ""
  36844. #. type: deftypevr
  36845. #: guix-git/doc/guix.texi:24843
  36846. 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."
  36847. msgstr ""
  36848. #. type: deftypevr
  36849. #: guix-git/doc/guix.texi:24848
  36850. #, no-wrap
  36851. msgid "{@code{nslcd-configuration} parameter} maybe-number nss-gid-offset"
  36852. msgstr ""
  36853. #. type: deftypevr
  36854. #: guix-git/doc/guix.texi:24851
  36855. 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."
  36856. msgstr ""
  36857. #. type: deftypevr
  36858. #: guix-git/doc/guix.texi:24856
  36859. #, no-wrap
  36860. msgid "{@code{nslcd-configuration} parameter} maybe-boolean nss-nested-groups"
  36861. msgstr ""
  36862. #. type: deftypevr
  36863. #: guix-git/doc/guix.texi:24862
  36864. 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."
  36865. msgstr ""
  36866. #. type: deftypevr
  36867. #: guix-git/doc/guix.texi:24867
  36868. #, no-wrap
  36869. msgid "{@code{nslcd-configuration} parameter} maybe-boolean nss-getgrent-skipmembers"
  36870. msgstr ""
  36871. #. type: deftypevr
  36872. #: guix-git/doc/guix.texi:24872
  36873. 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."
  36874. msgstr ""
  36875. #. type: deftypevr
  36876. #: guix-git/doc/guix.texi:24877
  36877. #, no-wrap
  36878. msgid "{@code{nslcd-configuration} parameter} maybe-boolean nss-disable-enumeration"
  36879. msgstr ""
  36880. #. type: deftypevr
  36881. #: guix-git/doc/guix.texi:24883
  36882. 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."
  36883. msgstr ""
  36884. #. type: deftypevr
  36885. #: guix-git/doc/guix.texi:24888
  36886. #, no-wrap
  36887. msgid "{@code{nslcd-configuration} parameter} maybe-string validnames"
  36888. msgstr ""
  36889. #. type: deftypevr
  36890. #: guix-git/doc/guix.texi:24892
  36891. 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."
  36892. msgstr ""
  36893. #. type: deftypevr
  36894. #: guix-git/doc/guix.texi:24897
  36895. #, no-wrap
  36896. msgid "{@code{nslcd-configuration} parameter} maybe-boolean ignorecase"
  36897. msgstr ""
  36898. #. type: deftypevr
  36899. #: guix-git/doc/guix.texi:24902
  36900. 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."
  36901. msgstr ""
  36902. #. type: deftypevr
  36903. #: guix-git/doc/guix.texi:24907
  36904. #, no-wrap
  36905. msgid "{@code{nslcd-configuration} parameter} maybe-boolean pam-authc-ppolicy"
  36906. msgstr ""
  36907. #. type: deftypevr
  36908. #: guix-git/doc/guix.texi:24910
  36909. msgid "This option specifies whether password policy controls are requested and handled from the LDAP server when performing user authentication."
  36910. msgstr ""
  36911. #. type: deftypevr
  36912. #: guix-git/doc/guix.texi:24915
  36913. #, no-wrap
  36914. msgid "{@code{nslcd-configuration} parameter} maybe-string pam-authc-search"
  36915. msgstr ""
  36916. #. type: deftypevr
  36917. #: guix-git/doc/guix.texi:24921
  36918. 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."
  36919. msgstr ""
  36920. #. type: deftypevr
  36921. #: guix-git/doc/guix.texi:24926
  36922. #, no-wrap
  36923. msgid "{@code{nslcd-configuration} parameter} maybe-string pam-authz-search"
  36924. msgstr ""
  36925. #. type: deftypevr
  36926. #: guix-git/doc/guix.texi:24930
  36927. 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."
  36928. msgstr ""
  36929. #. type: deftypevr
  36930. #: guix-git/doc/guix.texi:24935
  36931. #, no-wrap
  36932. msgid "{@code{nslcd-configuration} parameter} maybe-string pam-password-prohibit-message"
  36933. msgstr ""
  36934. #. type: deftypevr
  36935. #: guix-git/doc/guix.texi:24940
  36936. 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."
  36937. msgstr ""
  36938. #. type: deftypevr
  36939. #: guix-git/doc/guix.texi:24945
  36940. #, no-wrap
  36941. msgid "{@code{nslcd-configuration} parameter} list pam-services"
  36942. msgstr ""
  36943. #. type: deftypevr
  36944. #: guix-git/doc/guix.texi:24947
  36945. msgid "List of pam service names for which LDAP authentication should suffice."
  36946. msgstr ""
  36947. #. type: cindex
  36948. #: guix-git/doc/guix.texi:24958
  36949. #, no-wrap
  36950. msgid "web"
  36951. msgstr ""
  36952. #. type: cindex
  36953. #: guix-git/doc/guix.texi:24959
  36954. #, no-wrap
  36955. msgid "www"
  36956. msgstr ""
  36957. #. type: cindex
  36958. #: guix-git/doc/guix.texi:24960
  36959. #, no-wrap
  36960. msgid "HTTP"
  36961. msgstr ""
  36962. #. type: Plain text
  36963. #: guix-git/doc/guix.texi:24963
  36964. msgid "The @code{(gnu services web)} module provides the Apache HTTP Server, the nginx web server, and also a fastcgi wrapper daemon."
  36965. msgstr ""
  36966. #. type: subsubheading
  36967. #: guix-git/doc/guix.texi:24964
  36968. #, no-wrap
  36969. msgid "Apache HTTP Server"
  36970. msgstr ""
  36971. #. type: deffn
  36972. #: guix-git/doc/guix.texi:24966
  36973. #, no-wrap
  36974. msgid "{Scheme Variable} httpd-service-type"
  36975. msgstr ""
  36976. #. type: deffn
  36977. #: guix-git/doc/guix.texi:24970
  36978. 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."
  36979. msgstr ""
  36980. #. type: deffn
  36981. #: guix-git/doc/guix.texi:24972 guix-git/doc/guix.texi:25153
  36982. msgid "A simple example configuration is given below."
  36983. msgstr ""
  36984. #. type: lisp
  36985. #: guix-git/doc/guix.texi:24980
  36986. #, no-wrap
  36987. msgid ""
  36988. "(service httpd-service-type\n"
  36989. " (httpd-configuration\n"
  36990. " (config\n"
  36991. " (httpd-config-file\n"
  36992. " (server-name \"www.example.com\")\n"
  36993. " (document-root \"/srv/http/www.example.com\")))))\n"
  36994. msgstr ""
  36995. #. type: deffn
  36996. #: guix-git/doc/guix.texi:24984
  36997. msgid "Other services can also extend the @code{httpd-service-type} to add to the configuration."
  36998. msgstr ""
  36999. #. type: lisp
  37000. #: guix-git/doc/guix.texi:24993 guix-git/doc/guix.texi:25133
  37001. #, no-wrap
  37002. msgid ""
  37003. "(simple-service 'www.example.com-server httpd-service-type\n"
  37004. " (list\n"
  37005. " (httpd-virtualhost\n"
  37006. " \"*:80\"\n"
  37007. " (list (string-join '(\"ServerName www.example.com\"\n"
  37008. " \"DocumentRoot /srv/http/www.example.com\")\n"
  37009. " \"\\n\")))))\n"
  37010. msgstr ""
  37011. #. type: Plain text
  37012. #: guix-git/doc/guix.texi:24999
  37013. msgid "The details for the @code{httpd-configuration}, @code{httpd-module}, @code{httpd-config-file} and @code{httpd-virtualhost} record types are given below."
  37014. msgstr ""
  37015. #. type: deffn
  37016. #: guix-git/doc/guix.texi:25000
  37017. #, no-wrap
  37018. msgid "{Data Type} httpd-configuration"
  37019. msgstr ""
  37020. #. type: deffn
  37021. #: guix-git/doc/guix.texi:25002
  37022. msgid "This data type represents the configuration for the httpd service."
  37023. msgstr ""
  37024. #. type: item
  37025. #: guix-git/doc/guix.texi:25004
  37026. #, no-wrap
  37027. msgid "@code{package} (default: @code{httpd})"
  37028. msgstr ""
  37029. #. type: table
  37030. #: guix-git/doc/guix.texi:25006
  37031. msgid "The httpd package to use."
  37032. msgstr ""
  37033. #. type: item
  37034. #: guix-git/doc/guix.texi:25007 guix-git/doc/guix.texi:25096
  37035. #, no-wrap
  37036. msgid "@code{pid-file} (default: @code{\"/var/run/httpd\"})"
  37037. msgstr ""
  37038. #. type: table
  37039. #: guix-git/doc/guix.texi:25009
  37040. msgid "The pid file used by the shepherd-service."
  37041. msgstr ""
  37042. #. type: item
  37043. #: guix-git/doc/guix.texi:25010
  37044. #, no-wrap
  37045. msgid "@code{config} (default: @code{(httpd-config-file)})"
  37046. msgstr ""
  37047. #. type: table
  37048. #: guix-git/doc/guix.texi:25015
  37049. 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."
  37050. msgstr ""
  37051. #. type: deffn
  37052. #: guix-git/doc/guix.texi:25019
  37053. #, no-wrap
  37054. msgid "{Data Type} httpd-module"
  37055. msgstr ""
  37056. #. type: deffn
  37057. #: guix-git/doc/guix.texi:25021
  37058. msgid "This data type represents a module for the httpd service."
  37059. msgstr ""
  37060. #. type: table
  37061. #: guix-git/doc/guix.texi:25025
  37062. msgid "The name of the module."
  37063. msgstr ""
  37064. #. type: table
  37065. #: guix-git/doc/guix.texi:25031
  37066. 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\")}."
  37067. msgstr ""
  37068. #. type: defvr
  37069. #: guix-git/doc/guix.texi:25035
  37070. #, no-wrap
  37071. msgid "{Scheme Variable} %default-httpd-modules"
  37072. msgstr ""
  37073. #. type: defvr
  37074. #: guix-git/doc/guix.texi:25037
  37075. msgid "A default list of @code{httpd-module} objects."
  37076. msgstr ""
  37077. #. type: deffn
  37078. #: guix-git/doc/guix.texi:25039
  37079. #, no-wrap
  37080. msgid "{Data Type} httpd-config-file"
  37081. msgstr ""
  37082. #. type: deffn
  37083. #: guix-git/doc/guix.texi:25041
  37084. msgid "This data type represents a configuration file for the httpd service."
  37085. msgstr ""
  37086. #. type: item
  37087. #: guix-git/doc/guix.texi:25043
  37088. #, no-wrap
  37089. msgid "@code{modules} (default: @code{%default-httpd-modules})"
  37090. msgstr ""
  37091. #. type: table
  37092. #: guix-git/doc/guix.texi:25046
  37093. msgid "The modules to load. Additional modules can be added here, or loaded by additional configuration."
  37094. msgstr ""
  37095. #. type: table
  37096. #: guix-git/doc/guix.texi:25049
  37097. 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}:"
  37098. msgstr ""
  37099. #. type: lisp
  37100. #: guix-git/doc/guix.texi:25071
  37101. #, no-wrap
  37102. msgid ""
  37103. "(service httpd-service-type\n"
  37104. " (httpd-configuration\n"
  37105. " (config\n"
  37106. " (httpd-config-file\n"
  37107. " (modules (cons*\n"
  37108. " (httpd-module\n"
  37109. " (name \"proxy_module\")\n"
  37110. " (file \"modules/mod_proxy.so\"))\n"
  37111. " (httpd-module\n"
  37112. " (name \"proxy_fcgi_module\")\n"
  37113. " (file \"modules/mod_proxy_fcgi.so\"))\n"
  37114. " %default-httpd-modules))\n"
  37115. " (extra-config (list \"\\\n"
  37116. "<FilesMatch \\\\.php$>\n"
  37117. " SetHandler \\\"proxy:unix:/var/run/php-fpm.sock|fcgi://localhost/\\\"\n"
  37118. "</FilesMatch>\"))))))\n"
  37119. "(service php-fpm-service-type\n"
  37120. " (php-fpm-configuration\n"
  37121. " (socket \"/var/run/php-fpm.sock\")\n"
  37122. " (socket-group \"httpd\")))\n"
  37123. msgstr ""
  37124. #. type: item
  37125. #: guix-git/doc/guix.texi:25073
  37126. #, no-wrap
  37127. msgid "@code{server-root} (default: @code{httpd})"
  37128. msgstr ""
  37129. #. type: table
  37130. #: guix-git/doc/guix.texi:25077
  37131. 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."
  37132. msgstr ""
  37133. #. type: item
  37134. #: guix-git/doc/guix.texi:25078
  37135. #, no-wrap
  37136. msgid "@code{server-name} (default: @code{#f})"
  37137. msgstr ""
  37138. #. type: table
  37139. #: guix-git/doc/guix.texi:25082
  37140. msgid "The @code{ServerName} in the configuration file, used to specify the request scheme, hostname and port that the server uses to identify itself."
  37141. msgstr ""
  37142. #. type: table
  37143. #: guix-git/doc/guix.texi:25086
  37144. 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}."
  37145. msgstr ""
  37146. #. type: item
  37147. #: guix-git/doc/guix.texi:25087
  37148. #, no-wrap
  37149. msgid "@code{document-root} (default: @code{\"/srv/http\"})"
  37150. msgstr ""
  37151. #. type: table
  37152. #: guix-git/doc/guix.texi:25089
  37153. msgid "The @code{DocumentRoot} from which files will be served."
  37154. msgstr ""
  37155. #. type: item
  37156. #: guix-git/doc/guix.texi:25090
  37157. #, no-wrap
  37158. msgid "@code{listen} (default: @code{'(\"80\")})"
  37159. msgstr ""
  37160. #. type: table
  37161. #: guix-git/doc/guix.texi:25095
  37162. 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."
  37163. msgstr ""
  37164. #. type: table
  37165. #: guix-git/doc/guix.texi:25100
  37166. 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."
  37167. msgstr ""
  37168. #. type: item
  37169. #: guix-git/doc/guix.texi:25101
  37170. #, no-wrap
  37171. msgid "@code{error-log} (default: @code{\"/var/log/httpd/error_log\"})"
  37172. msgstr ""
  37173. #. type: table
  37174. #: guix-git/doc/guix.texi:25103
  37175. msgid "The @code{ErrorLog} to which the server will log errors."
  37176. msgstr ""
  37177. #. type: item
  37178. #: guix-git/doc/guix.texi:25104 guix-git/doc/guix.texi:25665
  37179. #, no-wrap
  37180. msgid "@code{user} (default: @code{\"httpd\"})"
  37181. msgstr ""
  37182. #. type: table
  37183. #: guix-git/doc/guix.texi:25106
  37184. msgid "The @code{User} which the server will answer requests as."
  37185. msgstr ""
  37186. #. type: item
  37187. #: guix-git/doc/guix.texi:25107
  37188. #, no-wrap
  37189. msgid "@code{group} (default: @code{\"httpd\"})"
  37190. msgstr ""
  37191. #. type: table
  37192. #: guix-git/doc/guix.texi:25109
  37193. msgid "The @code{Group} which the server will answer requests as."
  37194. msgstr ""
  37195. #. type: item
  37196. #: guix-git/doc/guix.texi:25110
  37197. #, no-wrap
  37198. msgid "@code{extra-config} (default: @code{(list \"TypesConfig etc/httpd/mime.types\")})"
  37199. msgstr ""
  37200. #. type: table
  37201. #: guix-git/doc/guix.texi:25113
  37202. msgid "A flat list of strings and G-expressions which will be added to the end of the configuration file."
  37203. msgstr ""
  37204. #. type: table
  37205. #: guix-git/doc/guix.texi:25116
  37206. msgid "Any values which the service is extended with will be appended to this list."
  37207. msgstr ""
  37208. #. type: deffn
  37209. #: guix-git/doc/guix.texi:25120
  37210. #, no-wrap
  37211. msgid "{Data Type} httpd-virtualhost"
  37212. msgstr ""
  37213. #. type: deffn
  37214. #: guix-git/doc/guix.texi:25122
  37215. msgid "This data type represents a virtualhost configuration block for the httpd service."
  37216. msgstr ""
  37217. #. type: deffn
  37218. #: guix-git/doc/guix.texi:25124
  37219. msgid "These should be added to the extra-config for the httpd-service."
  37220. msgstr ""
  37221. #. type: code{#1}
  37222. #: guix-git/doc/guix.texi:25136
  37223. #, no-wrap
  37224. msgid "addresses-and-ports"
  37225. msgstr ""
  37226. #. type: table
  37227. #: guix-git/doc/guix.texi:25138
  37228. msgid "The addresses and ports for the @code{VirtualHost} directive."
  37229. msgstr ""
  37230. #. type: code{#1}
  37231. #: guix-git/doc/guix.texi:25139
  37232. #, no-wrap
  37233. msgid "contents"
  37234. msgstr ""
  37235. #. type: table
  37236. #: guix-git/doc/guix.texi:25142
  37237. msgid "The contents of the @code{VirtualHost} directive, this should be a list of strings and G-expressions."
  37238. msgstr ""
  37239. #. type: subsubheading
  37240. #: guix-git/doc/guix.texi:25146
  37241. #, no-wrap
  37242. msgid "NGINX"
  37243. msgstr ""
  37244. #. type: deffn
  37245. #: guix-git/doc/guix.texi:25148
  37246. #, no-wrap
  37247. msgid "{Scheme Variable} nginx-service-type"
  37248. msgstr ""
  37249. #. type: deffn
  37250. #: guix-git/doc/guix.texi:25151
  37251. msgid "Service type for the @uref{https://nginx.org/,NGinx} web server. The value for this service type is a @code{<nginx-configuration>} record."
  37252. msgstr ""
  37253. #. type: lisp
  37254. #: guix-git/doc/guix.texi:25161 guix-git/doc/guix.texi:25215
  37255. #, no-wrap
  37256. msgid ""
  37257. "(service nginx-service-type\n"
  37258. " (nginx-configuration\n"
  37259. " (server-blocks\n"
  37260. " (list (nginx-server-configuration\n"
  37261. " (server-name '(\"www.example.com\"))\n"
  37262. " (root \"/srv/http/www.example.com\"))))))\n"
  37263. msgstr ""
  37264. #. type: deffn
  37265. #: guix-git/doc/guix.texi:25166
  37266. 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:"
  37267. msgstr ""
  37268. #. type: lisp
  37269. #: guix-git/doc/guix.texi:25172
  37270. #, no-wrap
  37271. msgid ""
  37272. "(simple-service 'my-extra-server nginx-service-type\n"
  37273. " (list (nginx-server-configuration\n"
  37274. " (root \"/srv/http/extra-website\")\n"
  37275. " (try-files (list \"$uri\" \"$uri/index.html\")))))\n"
  37276. msgstr ""
  37277. #. type: Plain text
  37278. #: guix-git/doc/guix.texi:25183
  37279. 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."
  37280. msgstr ""
  37281. #. type: deffn
  37282. #: guix-git/doc/guix.texi:25184
  37283. #, no-wrap
  37284. msgid "{Data Type} nginx-configuration"
  37285. msgstr ""
  37286. #. type: deffn
  37287. #: guix-git/doc/guix.texi:25188
  37288. 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."
  37289. msgstr ""
  37290. #. type: item
  37291. #: guix-git/doc/guix.texi:25190
  37292. #, no-wrap
  37293. msgid "@code{nginx} (default: @code{nginx})"
  37294. msgstr ""
  37295. #. type: table
  37296. #: guix-git/doc/guix.texi:25192
  37297. msgid "The nginx package to use."
  37298. msgstr ""
  37299. #. type: item
  37300. #: guix-git/doc/guix.texi:25193
  37301. #, no-wrap
  37302. msgid "@code{log-directory} (default: @code{\"/var/log/nginx\"})"
  37303. msgstr ""
  37304. #. type: table
  37305. #: guix-git/doc/guix.texi:25195
  37306. msgid "The directory to which NGinx will write log files."
  37307. msgstr ""
  37308. #. type: item
  37309. #: guix-git/doc/guix.texi:25196
  37310. #, no-wrap
  37311. msgid "@code{run-directory} (default: @code{\"/var/run/nginx\"})"
  37312. msgstr ""
  37313. #. type: table
  37314. #: guix-git/doc/guix.texi:25199
  37315. msgid "The directory in which NGinx will create a pid file, and write temporary files."
  37316. msgstr ""
  37317. #. type: item
  37318. #: guix-git/doc/guix.texi:25200
  37319. #, no-wrap
  37320. msgid "@code{server-blocks} (default: @code{'()})"
  37321. msgstr ""
  37322. #. type: table
  37323. #: guix-git/doc/guix.texi:25204
  37324. msgid "A list of @dfn{server blocks} to create in the generated configuration file, the elements should be of type @code{<nginx-server-configuration>}."
  37325. msgstr ""
  37326. #. type: table
  37327. #: guix-git/doc/guix.texi:25208
  37328. 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."
  37329. msgstr ""
  37330. #. type: item
  37331. #: guix-git/doc/guix.texi:25217
  37332. #, no-wrap
  37333. msgid "@code{upstream-blocks} (default: @code{'()})"
  37334. msgstr ""
  37335. #. type: table
  37336. #: guix-git/doc/guix.texi:25221
  37337. msgid "A list of @dfn{upstream blocks} to create in the generated configuration file, the elements should be of type @code{<nginx-upstream-configuration>}."
  37338. msgstr ""
  37339. #. type: table
  37340. #: guix-git/doc/guix.texi:25228
  37341. 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."
  37342. msgstr ""
  37343. #. type: lisp
  37344. #: guix-git/doc/guix.texi:25247
  37345. #, no-wrap
  37346. msgid ""
  37347. "(service\n"
  37348. " nginx-service-type\n"
  37349. " (nginx-configuration\n"
  37350. " (server-blocks\n"
  37351. " (list (nginx-server-configuration\n"
  37352. " (server-name '(\"www.example.com\"))\n"
  37353. " (root \"/srv/http/www.example.com\")\n"
  37354. " (locations\n"
  37355. " (list\n"
  37356. " (nginx-location-configuration\n"
  37357. " (uri \"/path1\")\n"
  37358. " (body '(\"proxy_pass http://server-proxy;\"))))))))\n"
  37359. " (upstream-blocks\n"
  37360. " (list (nginx-upstream-configuration\n"
  37361. " (name \"server-proxy\")\n"
  37362. " (servers (list \"server1.example.com\"\n"
  37363. " \"server2.example.com\")))))))\n"
  37364. msgstr ""
  37365. #. type: table
  37366. #: guix-git/doc/guix.texi:25255
  37367. 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."
  37368. msgstr ""
  37369. #. type: table
  37370. #: guix-git/doc/guix.texi:25259
  37371. 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."
  37372. msgstr ""
  37373. #. type: item
  37374. #: guix-git/doc/guix.texi:25260
  37375. #, no-wrap
  37376. msgid "@code{server-names-hash-bucket-size} (default: @code{#f})"
  37377. msgstr ""
  37378. #. type: table
  37379. #: guix-git/doc/guix.texi:25263
  37380. msgid "Bucket size for the server names hash tables, defaults to @code{#f} to use the size of the processors cache line."
  37381. msgstr ""
  37382. #. type: item
  37383. #: guix-git/doc/guix.texi:25264
  37384. #, no-wrap
  37385. msgid "@code{server-names-hash-bucket-max-size} (default: @code{#f})"
  37386. msgstr ""
  37387. #. type: table
  37388. #: guix-git/doc/guix.texi:25266
  37389. msgid "Maximum bucket size for the server names hash tables."
  37390. msgstr ""
  37391. #. type: table
  37392. #: guix-git/doc/guix.texi:25270
  37393. msgid "List of nginx dynamic modules to load. This should be a list of file names of loadable modules, as in this example:"
  37394. msgstr ""
  37395. #. type: lisp
  37396. #: guix-git/doc/guix.texi:25278
  37397. #, no-wrap
  37398. msgid ""
  37399. "(modules\n"
  37400. " (list\n"
  37401. " (file-append nginx-accept-language-module \"\\\n"
  37402. "/etc/nginx/modules/ngx_http_accept_language_module.so\")\n"
  37403. " (file-append nginx-lua-module \"\\\n"
  37404. "/etc/nginx/modules/ngx_http_lua_module.so\")))\n"
  37405. msgstr ""
  37406. #. type: item
  37407. #: guix-git/doc/guix.texi:25280
  37408. #, no-wrap
  37409. msgid "@code{lua-package-path} (default: @code{'()})"
  37410. msgstr ""
  37411. #. type: table
  37412. #: guix-git/doc/guix.texi:25283
  37413. msgid "List of nginx lua packages to load. This should be a list of package names of loadable lua modules, as in this example:"
  37414. msgstr ""
  37415. #. type: lisp
  37416. #: guix-git/doc/guix.texi:25290
  37417. #, no-wrap
  37418. msgid ""
  37419. "(lua-package-path (list lua-resty-core\n"
  37420. " lua-resty-lrucache\n"
  37421. " lua-resty-signal\n"
  37422. " lua-tablepool\n"
  37423. " lua-resty-shell))\n"
  37424. msgstr ""
  37425. #. type: item
  37426. #: guix-git/doc/guix.texi:25292
  37427. #, no-wrap
  37428. msgid "@code{lua-package-cpath} (default: @code{'()})"
  37429. msgstr ""
  37430. #. type: table
  37431. #: guix-git/doc/guix.texi:25295
  37432. 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:"
  37433. msgstr ""
  37434. #. type: lisp
  37435. #: guix-git/doc/guix.texi:25298
  37436. #, no-wrap
  37437. msgid "(lua-package-cpath (list lua-resty-signal))\n"
  37438. msgstr ""
  37439. #. type: item
  37440. #: guix-git/doc/guix.texi:25300
  37441. #, no-wrap
  37442. msgid "@code{global-directives} (default: @code{'((events . ()))})"
  37443. msgstr ""
  37444. #. type: table
  37445. #: guix-git/doc/guix.texi:25303
  37446. msgid "Association list of global directives for the top level of the nginx configuration. Values may themselves be association lists."
  37447. msgstr ""
  37448. #. type: lisp
  37449. #: guix-git/doc/guix.texi:25309
  37450. #, no-wrap
  37451. msgid ""
  37452. "(global-directives\n"
  37453. " `((worker_processes . 16)\n"
  37454. " (pcre_jit . on)\n"
  37455. " (events . ((worker_connections . 1024)))))\n"
  37456. msgstr ""
  37457. #. type: table
  37458. #: guix-git/doc/guix.texi:25314
  37459. msgid "Extra content for the @code{http} block. Should be string or a string valued G-expression."
  37460. msgstr ""
  37461. #. type: deftp
  37462. #: guix-git/doc/guix.texi:25318
  37463. #, no-wrap
  37464. msgid "{Data Type} nginx-server-configuration"
  37465. msgstr ""
  37466. #. type: deftp
  37467. #: guix-git/doc/guix.texi:25321
  37468. msgid "Data type representing the configuration of an nginx server block. This type has the following parameters:"
  37469. msgstr ""
  37470. #. type: item
  37471. #: guix-git/doc/guix.texi:25323
  37472. #, no-wrap
  37473. msgid "@code{listen} (default: @code{'(\"80\" \"443 ssl\")})"
  37474. msgstr ""
  37475. #. type: table
  37476. #: guix-git/doc/guix.texi:25328
  37477. 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:"
  37478. msgstr ""
  37479. #. type: lisp
  37480. #: guix-git/doc/guix.texi:25331
  37481. #, no-wrap
  37482. msgid "'(\"127.0.0.1:8000\" \"127.0.0.1\" \"8000\" \"*:8000\" \"localhost:8000\")\n"
  37483. msgstr ""
  37484. #. type: item
  37485. #: guix-git/doc/guix.texi:25333
  37486. #, no-wrap
  37487. msgid "@code{server-name} (default: @code{(list 'default)})"
  37488. msgstr ""
  37489. #. type: table
  37490. #: guix-git/doc/guix.texi:25336
  37491. msgid "A list of server names this server represents. @code{'default} represents the default server for connections matching no other server."
  37492. msgstr ""
  37493. #. type: item
  37494. #: guix-git/doc/guix.texi:25337
  37495. #, no-wrap
  37496. msgid "@code{root} (default: @code{\"/srv/http\"})"
  37497. msgstr ""
  37498. #. type: table
  37499. #: guix-git/doc/guix.texi:25339
  37500. msgid "Root of the website nginx will serve."
  37501. msgstr ""
  37502. #. type: item
  37503. #: guix-git/doc/guix.texi:25340
  37504. #, no-wrap
  37505. msgid "@code{locations} (default: @code{'()})"
  37506. msgstr ""
  37507. #. type: table
  37508. #: guix-git/doc/guix.texi:25344
  37509. msgid "A list of @dfn{nginx-location-configuration} or @dfn{nginx-named-location-configuration} records to use within this server block."
  37510. msgstr ""
  37511. #. type: item
  37512. #: guix-git/doc/guix.texi:25345
  37513. #, no-wrap
  37514. msgid "@code{index} (default: @code{(list \"index.html\")})"
  37515. msgstr ""
  37516. #. type: table
  37517. #: guix-git/doc/guix.texi:25348
  37518. 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."
  37519. msgstr ""
  37520. #. type: item
  37521. #: guix-git/doc/guix.texi:25349
  37522. #, no-wrap
  37523. msgid "@code{try-files} (default: @code{'()})"
  37524. msgstr ""
  37525. #. type: table
  37526. #: guix-git/doc/guix.texi:25352
  37527. 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."
  37528. msgstr ""
  37529. #. type: item
  37530. #: guix-git/doc/guix.texi:25353
  37531. #, no-wrap
  37532. msgid "@code{ssl-certificate} (default: @code{#f})"
  37533. msgstr ""
  37534. #. type: table
  37535. #: guix-git/doc/guix.texi:25356
  37536. 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."
  37537. msgstr ""
  37538. #. type: item
  37539. #: guix-git/doc/guix.texi:25357
  37540. #, no-wrap
  37541. msgid "@code{ssl-certificate-key} (default: @code{#f})"
  37542. msgstr ""
  37543. #. type: table
  37544. #: guix-git/doc/guix.texi:25360
  37545. 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."
  37546. msgstr ""
  37547. #. type: item
  37548. #: guix-git/doc/guix.texi:25361
  37549. #, no-wrap
  37550. msgid "@code{server-tokens?} (default: @code{#f})"
  37551. msgstr ""
  37552. #. type: table
  37553. #: guix-git/doc/guix.texi:25363
  37554. msgid "Whether the server should add its configuration to response."
  37555. msgstr ""
  37556. #. type: item
  37557. #: guix-git/doc/guix.texi:25364
  37558. #, no-wrap
  37559. msgid "@code{raw-content} (default: @code{'()})"
  37560. msgstr ""
  37561. #. type: table
  37562. #: guix-git/doc/guix.texi:25366
  37563. msgid "A list of raw lines added to the server block."
  37564. msgstr ""
  37565. #. type: deftp
  37566. #: guix-git/doc/guix.texi:25370
  37567. #, no-wrap
  37568. msgid "{Data Type} nginx-upstream-configuration"
  37569. msgstr ""
  37570. #. type: deftp
  37571. #: guix-git/doc/guix.texi:25373
  37572. msgid "Data type representing the configuration of an nginx @code{upstream} block. This type has the following parameters:"
  37573. msgstr ""
  37574. #. type: table
  37575. #: guix-git/doc/guix.texi:25377
  37576. msgid "Name for this group of servers."
  37577. msgstr ""
  37578. #. type: code{#1}
  37579. #: guix-git/doc/guix.texi:25378
  37580. #, no-wrap
  37581. msgid "servers"
  37582. msgstr ""
  37583. #. type: table
  37584. #: guix-git/doc/guix.texi:25385
  37585. 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."
  37586. msgstr ""
  37587. #. type: deftp
  37588. #: guix-git/doc/guix.texi:25389
  37589. #, no-wrap
  37590. msgid "{Data Type} nginx-location-configuration"
  37591. msgstr ""
  37592. #. type: deftp
  37593. #: guix-git/doc/guix.texi:25392
  37594. msgid "Data type representing the configuration of an nginx @code{location} block. This type has the following parameters:"
  37595. msgstr ""
  37596. #. type: table
  37597. #: guix-git/doc/guix.texi:25396
  37598. msgid "URI which this location block matches."
  37599. msgstr ""
  37600. #. type: anchor{#1}
  37601. #: guix-git/doc/guix.texi:25398
  37602. msgid "nginx-location-configuration body"
  37603. msgstr ""
  37604. #. type: code{#1}
  37605. #: guix-git/doc/guix.texi:25398 guix-git/doc/guix.texi:25419
  37606. #, no-wrap
  37607. msgid "body"
  37608. msgstr ""
  37609. #. type: table
  37610. #: guix-git/doc/guix.texi:25405
  37611. 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;\")}."
  37612. msgstr ""
  37613. #. type: deftp
  37614. #: guix-git/doc/guix.texi:25409
  37615. #, no-wrap
  37616. msgid "{Data Type} nginx-named-location-configuration"
  37617. msgstr ""
  37618. #. type: deftp
  37619. #: guix-git/doc/guix.texi:25414
  37620. 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:"
  37621. msgstr ""
  37622. #. type: table
  37623. #: guix-git/doc/guix.texi:25418
  37624. msgid "Name to identify this location block."
  37625. msgstr ""
  37626. #. type: table
  37627. #: guix-git/doc/guix.texi:25424
  37628. 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."
  37629. msgstr ""
  37630. #. type: subsubheading
  37631. #: guix-git/doc/guix.texi:25428
  37632. #, no-wrap
  37633. msgid "Varnish Cache"
  37634. msgstr ""
  37635. #. type: cindex
  37636. #: guix-git/doc/guix.texi:25429
  37637. #, no-wrap
  37638. msgid "Varnish"
  37639. msgstr ""
  37640. #. type: Plain text
  37641. #: guix-git/doc/guix.texi:25434
  37642. 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."
  37643. msgstr ""
  37644. #. type: defvr
  37645. #: guix-git/doc/guix.texi:25435
  37646. #, no-wrap
  37647. msgid "{Scheme Variable} varnish-service-type"
  37648. msgstr ""
  37649. #. type: defvr
  37650. #: guix-git/doc/guix.texi:25437
  37651. msgid "Service type for the Varnish daemon."
  37652. msgstr ""
  37653. #. type: deftp
  37654. #: guix-git/doc/guix.texi:25439
  37655. #, no-wrap
  37656. msgid "{Data Type} varnish-configuration"
  37657. msgstr ""
  37658. #. type: deftp
  37659. #: guix-git/doc/guix.texi:25442
  37660. msgid "Data type representing the @code{varnish} service configuration. This type has the following parameters:"
  37661. msgstr ""
  37662. #. type: item
  37663. #: guix-git/doc/guix.texi:25444
  37664. #, no-wrap
  37665. msgid "@code{package} (default: @code{varnish})"
  37666. msgstr ""
  37667. #. type: table
  37668. #: guix-git/doc/guix.texi:25446
  37669. msgid "The Varnish package to use."
  37670. msgstr ""
  37671. #. type: item
  37672. #: guix-git/doc/guix.texi:25447
  37673. #, no-wrap
  37674. msgid "@code{name} (default: @code{\"default\"})"
  37675. msgstr ""
  37676. #. type: table
  37677. #: guix-git/doc/guix.texi:25452
  37678. 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."
  37679. msgstr ""
  37680. #. type: table
  37681. #: guix-git/doc/guix.texi:25455
  37682. msgid "Pass the @code{-n} argument to other Varnish programs to connect to the named instance, e.g.@: @command{varnishncsa -n default}."
  37683. msgstr ""
  37684. #. type: item
  37685. #: guix-git/doc/guix.texi:25456
  37686. #, no-wrap
  37687. msgid "@code{backend} (default: @code{\"localhost:8080\"})"
  37688. msgstr ""
  37689. #. type: table
  37690. #: guix-git/doc/guix.texi:25458
  37691. msgid "The backend to use. This option has no effect if @code{vcl} is set."
  37692. msgstr ""
  37693. #. type: item
  37694. #: guix-git/doc/guix.texi:25459
  37695. #, no-wrap
  37696. msgid "@code{vcl} (default: #f)"
  37697. msgstr ""
  37698. #. type: table
  37699. #: guix-git/doc/guix.texi:25464
  37700. 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."
  37701. msgstr ""
  37702. #. type: table
  37703. #: guix-git/doc/guix.texi:25468
  37704. msgid "For example, to mirror @url{https://www.gnu.org,www.gnu.org} with VCL you can do something along these lines:"
  37705. msgstr ""
  37706. #. type: lisp
  37707. #: guix-git/doc/guix.texi:25474
  37708. #, no-wrap
  37709. msgid ""
  37710. "(define %gnu-mirror\n"
  37711. " (plain-file \"gnu.vcl\"\n"
  37712. " \"vcl 4.1;\n"
  37713. "backend gnu @{ .host = \\\"www.gnu.org\\\"; @}\"))\n"
  37714. "\n"
  37715. msgstr ""
  37716. #. type: lisp
  37717. #: guix-git/doc/guix.texi:25482
  37718. #, no-wrap
  37719. msgid ""
  37720. "(operating-system\n"
  37721. " ;; @dots{}\n"
  37722. " (services (cons (service varnish-service-type\n"
  37723. " (varnish-configuration\n"
  37724. " (listen '(\":80\"))\n"
  37725. " (vcl %gnu-mirror)))\n"
  37726. " %base-services)))\n"
  37727. msgstr ""
  37728. #. type: table
  37729. #: guix-git/doc/guix.texi:25486
  37730. msgid "The configuration of an already running Varnish instance can be inspected and changed using the @command{varnishadm} program."
  37731. msgstr ""
  37732. #. type: table
  37733. #: guix-git/doc/guix.texi:25490
  37734. 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."
  37735. msgstr ""
  37736. #. type: item
  37737. #: guix-git/doc/guix.texi:25491
  37738. #, no-wrap
  37739. msgid "@code{listen} (default: @code{'(\"localhost:80\")})"
  37740. msgstr ""
  37741. #. type: table
  37742. #: guix-git/doc/guix.texi:25493
  37743. msgid "List of addresses Varnish will listen on."
  37744. msgstr ""
  37745. #. type: item
  37746. #: guix-git/doc/guix.texi:25494
  37747. #, no-wrap
  37748. msgid "@code{storage} (default: @code{'(\"malloc,128m\")})"
  37749. msgstr ""
  37750. #. type: table
  37751. #: guix-git/doc/guix.texi:25496
  37752. msgid "List of storage backends that will be available in VCL."
  37753. msgstr ""
  37754. #. type: item
  37755. #: guix-git/doc/guix.texi:25497
  37756. #, no-wrap
  37757. msgid "@code{parameters} (default: @code{'()})"
  37758. msgstr ""
  37759. #. type: table
  37760. #: guix-git/doc/guix.texi:25499
  37761. msgid "List of run-time parameters in the form @code{'((\"parameter\" . \"value\"))}."
  37762. msgstr ""
  37763. #. type: table
  37764. #: guix-git/doc/guix.texi:25502
  37765. msgid "Additional arguments to pass to the @command{varnishd} process."
  37766. msgstr ""
  37767. #. type: cindex
  37768. #: guix-git/doc/guix.texi:25506 guix-git/doc/guix.texi:25507
  37769. #, no-wrap
  37770. msgid "Patchwork"
  37771. msgstr ""
  37772. #. type: Plain text
  37773. #: guix-git/doc/guix.texi:25510
  37774. msgid "Patchwork is a patch tracking system. It can collect patches sent to a mailing list, and display them in a web interface."
  37775. msgstr ""
  37776. #. type: defvr
  37777. #: guix-git/doc/guix.texi:25511
  37778. #, no-wrap
  37779. msgid "{Scheme Variable} patchwork-service-type"
  37780. msgstr ""
  37781. #. type: defvr
  37782. #: guix-git/doc/guix.texi:25513
  37783. msgid "Service type for Patchwork."
  37784. msgstr ""
  37785. #. type: Plain text
  37786. #: guix-git/doc/guix.texi:25517
  37787. msgid "The following example is an example of a minimal service for Patchwork, for the @code{patchwork.example.com} domain."
  37788. msgstr ""
  37789. #. type: lisp
  37790. #: guix-git/doc/guix.texi:25537
  37791. #, no-wrap
  37792. msgid ""
  37793. "(service patchwork-service-type\n"
  37794. " (patchwork-configuration\n"
  37795. " (domain \"patchwork.example.com\")\n"
  37796. " (settings-module\n"
  37797. " (patchwork-settings-module\n"
  37798. " (allowed-hosts (list domain))\n"
  37799. " (default-from-email \"patchwork@@patchwork.example.com\")))\n"
  37800. " (getmail-retriever-config\n"
  37801. " (getmail-retriever-configuration\n"
  37802. " (type \"SimpleIMAPSSLRetriever\")\n"
  37803. " (server \"imap.example.com\")\n"
  37804. " (port 993)\n"
  37805. " (username \"patchwork\")\n"
  37806. " (password-command\n"
  37807. " (list (file-append coreutils \"/bin/cat\")\n"
  37808. " \"/etc/getmail-patchwork-imap-password\"))\n"
  37809. " (extra-parameters\n"
  37810. " '((mailboxes . (\"Patches\"))))))))\n"
  37811. "\n"
  37812. msgstr ""
  37813. #. type: Plain text
  37814. #: guix-git/doc/guix.texi:25543
  37815. msgid "There are three records for configuring the Patchwork service. The @code{<patchwork-configuration>} relates to the configuration for Patchwork within the HTTPD service."
  37816. msgstr ""
  37817. #. type: Plain text
  37818. #: guix-git/doc/guix.texi:25547
  37819. 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."
  37820. msgstr ""
  37821. #. type: Plain text
  37822. #: guix-git/doc/guix.texi:25551
  37823. msgid "For the @code{database-configuration} field within the @code{<patchwork-settings-module>}, the @code{<patchwork-database-configuration>} must be used."
  37824. msgstr ""
  37825. #. type: deftp
  37826. #: guix-git/doc/guix.texi:25552
  37827. #, no-wrap
  37828. msgid "{Data Type} patchwork-configuration"
  37829. msgstr ""
  37830. #. type: deftp
  37831. #: guix-git/doc/guix.texi:25555
  37832. msgid "Data type representing the Patchwork service configuration. This type has the following parameters:"
  37833. msgstr ""
  37834. #. type: item
  37835. #: guix-git/doc/guix.texi:25557
  37836. #, no-wrap
  37837. msgid "@code{patchwork} (default: @code{patchwork})"
  37838. msgstr ""
  37839. #. type: table
  37840. #: guix-git/doc/guix.texi:25559
  37841. msgid "The Patchwork package to use."
  37842. msgstr ""
  37843. #. type: code{#1}
  37844. #: guix-git/doc/guix.texi:25560
  37845. #, no-wrap
  37846. msgid "domain"
  37847. msgstr ""
  37848. #. type: table
  37849. #: guix-git/doc/guix.texi:25563
  37850. msgid "The domain to use for Patchwork, this is used in the HTTPD service virtual host."
  37851. msgstr ""
  37852. #. type: code{#1}
  37853. #: guix-git/doc/guix.texi:25564
  37854. #, no-wrap
  37855. msgid "settings-module"
  37856. msgstr ""
  37857. #. type: table
  37858. #: guix-git/doc/guix.texi:25570
  37859. 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."
  37860. msgstr ""
  37861. #. type: item
  37862. #: guix-git/doc/guix.texi:25571
  37863. #, no-wrap
  37864. msgid "@code{static-path} (default: @code{\"/static/\"})"
  37865. msgstr ""
  37866. #. type: table
  37867. #: guix-git/doc/guix.texi:25573
  37868. msgid "The path under which the HTTPD service should serve the static files."
  37869. msgstr ""
  37870. #. type: code{#1}
  37871. #: guix-git/doc/guix.texi:25574
  37872. #, no-wrap
  37873. msgid "getmail-retriever-config"
  37874. msgstr ""
  37875. #. type: table
  37876. #: guix-git/doc/guix.texi:25578
  37877. 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."
  37878. msgstr ""
  37879. #. type: deftp
  37880. #: guix-git/doc/guix.texi:25582
  37881. #, no-wrap
  37882. msgid "{Data Type} patchwork-settings-module"
  37883. msgstr ""
  37884. #. type: deftp
  37885. #: guix-git/doc/guix.texi:25587
  37886. 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:"
  37887. msgstr ""
  37888. #. type: item
  37889. #: guix-git/doc/guix.texi:25589
  37890. #, no-wrap
  37891. msgid "@code{database-configuration} (default: @code{(patchwork-database-configuration)})"
  37892. msgstr ""
  37893. #. type: table
  37894. #: guix-git/doc/guix.texi:25592
  37895. msgid "The database connection settings used for Patchwork. See the @code{<patchwork-database-configuration>} record type for more information."
  37896. msgstr ""
  37897. #. type: item
  37898. #: guix-git/doc/guix.texi:25593
  37899. #, no-wrap
  37900. msgid "@code{secret-key-file} (default: @code{\"/etc/patchwork/django-secret-key\"})"
  37901. msgstr ""
  37902. #. type: table
  37903. #: guix-git/doc/guix.texi:25596
  37904. msgid "Patchwork, as a Django web application uses a secret key for cryptographically signing values. This file should contain a unique unpredictable value."
  37905. msgstr ""
  37906. #. type: table
  37907. #: guix-git/doc/guix.texi:25599
  37908. msgid "If this file does not exist, it will be created and populated with a random value by the patchwork-setup shepherd service."
  37909. msgstr ""
  37910. #. type: table
  37911. #: guix-git/doc/guix.texi:25601
  37912. msgid "This setting relates to Django."
  37913. msgstr ""
  37914. #. type: code{#1}
  37915. #: guix-git/doc/guix.texi:25602
  37916. #, no-wrap
  37917. msgid "allowed-hosts"
  37918. msgstr ""
  37919. #. type: table
  37920. #: guix-git/doc/guix.texi:25605
  37921. msgid "A list of valid hosts for this Patchwork service. This should at least include the domain specified in the @code{<patchwork-configuration>} record."
  37922. msgstr ""
  37923. #. type: table
  37924. #: guix-git/doc/guix.texi:25607 guix-git/doc/guix.texi:25621
  37925. #: guix-git/doc/guix.texi:25627 guix-git/doc/guix.texi:25633
  37926. msgid "This is a Django setting."
  37927. msgstr ""
  37928. #. type: code{#1}
  37929. #: guix-git/doc/guix.texi:25608
  37930. #, no-wrap
  37931. msgid "default-from-email"
  37932. msgstr ""
  37933. #. type: table
  37934. #: guix-git/doc/guix.texi:25610
  37935. msgid "The email address from which Patchwork should send email by default."
  37936. msgstr ""
  37937. #. type: table
  37938. #: guix-git/doc/guix.texi:25612 guix-git/doc/guix.texi:25638
  37939. #: guix-git/doc/guix.texi:25643 guix-git/doc/guix.texi:25648
  37940. msgid "This is a Patchwork setting."
  37941. msgstr ""
  37942. #. type: item
  37943. #: guix-git/doc/guix.texi:25613
  37944. #, no-wrap
  37945. msgid "@code{static-url} (default: @code{#f})"
  37946. msgstr ""
  37947. #. type: table
  37948. #: guix-git/doc/guix.texi:25616
  37949. 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{/}."
  37950. msgstr ""
  37951. #. type: table
  37952. #: guix-git/doc/guix.texi:25619
  37953. msgid "If the default value is used, the @code{static-path} value from the @code{<patchwork-configuration>} record will be used."
  37954. msgstr ""
  37955. #. type: item
  37956. #: guix-git/doc/guix.texi:25622
  37957. #, no-wrap
  37958. msgid "@code{admins} (default: @code{'()})"
  37959. msgstr ""
  37960. #. type: table
  37961. #: guix-git/doc/guix.texi:25625
  37962. 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."
  37963. msgstr ""
  37964. #. type: table
  37965. #: guix-git/doc/guix.texi:25631
  37966. msgid "Whether to run Patchwork in debug mode. If set to @code{#t}, detailed error messages will be shown."
  37967. msgstr ""
  37968. #. type: item
  37969. #: guix-git/doc/guix.texi:25634
  37970. #, no-wrap
  37971. msgid "@code{enable-rest-api?} (default: @code{#t})"
  37972. msgstr ""
  37973. #. type: table
  37974. #: guix-git/doc/guix.texi:25636
  37975. msgid "Whether to enable the Patchwork REST API."
  37976. msgstr ""
  37977. #. type: item
  37978. #: guix-git/doc/guix.texi:25639
  37979. #, no-wrap
  37980. msgid "@code{enable-xmlrpc?} (default: @code{#t})"
  37981. msgstr ""
  37982. #. type: table
  37983. #: guix-git/doc/guix.texi:25641
  37984. msgid "Whether to enable the XML RPC API."
  37985. msgstr ""
  37986. #. type: item
  37987. #: guix-git/doc/guix.texi:25644
  37988. #, no-wrap
  37989. msgid "@code{force-https-links?} (default: @code{#t})"
  37990. msgstr ""
  37991. #. type: table
  37992. #: guix-git/doc/guix.texi:25646
  37993. msgid "Whether to use HTTPS links on Patchwork pages."
  37994. msgstr ""
  37995. #. type: table
  37996. #: guix-git/doc/guix.texi:25651
  37997. msgid "Extra code to place at the end of the Patchwork settings module."
  37998. msgstr ""
  37999. #. type: deftp
  38000. #: guix-git/doc/guix.texi:25655
  38001. #, no-wrap
  38002. msgid "{Data Type} patchwork-database-configuration"
  38003. msgstr ""
  38004. #. type: deftp
  38005. #: guix-git/doc/guix.texi:25657
  38006. msgid "Data type representing the database configuration for Patchwork."
  38007. msgstr ""
  38008. #. type: item
  38009. #: guix-git/doc/guix.texi:25659
  38010. #, no-wrap
  38011. msgid "@code{engine} (default: @code{\"django.db.backends.postgresql_psycopg2\"})"
  38012. msgstr ""
  38013. #. type: table
  38014. #: guix-git/doc/guix.texi:25661
  38015. msgid "The database engine to use."
  38016. msgstr ""
  38017. #. type: item
  38018. #: guix-git/doc/guix.texi:25662
  38019. #, no-wrap
  38020. msgid "@code{name} (default: @code{\"patchwork\"})"
  38021. msgstr ""
  38022. #. type: table
  38023. #: guix-git/doc/guix.texi:25664
  38024. msgid "The name of the database to use."
  38025. msgstr ""
  38026. #. type: table
  38027. #: guix-git/doc/guix.texi:25667
  38028. msgid "The user to connect to the database as."
  38029. msgstr ""
  38030. #. type: item
  38031. #: guix-git/doc/guix.texi:25668
  38032. #, no-wrap
  38033. msgid "@code{password} (default: @code{\"\"})"
  38034. msgstr ""
  38035. #. type: table
  38036. #: guix-git/doc/guix.texi:25670
  38037. msgid "The password to use when connecting to the database."
  38038. msgstr ""
  38039. #. type: item
  38040. #: guix-git/doc/guix.texi:25671
  38041. #, no-wrap
  38042. msgid "@code{host} (default: @code{\"\"})"
  38043. msgstr ""
  38044. #. type: table
  38045. #: guix-git/doc/guix.texi:25673
  38046. msgid "The host to make the database connection to."
  38047. msgstr ""
  38048. #. type: item
  38049. #: guix-git/doc/guix.texi:25674
  38050. #, no-wrap
  38051. msgid "@code{port} (default: @code{\"\"})"
  38052. msgstr ""
  38053. #. type: table
  38054. #: guix-git/doc/guix.texi:25676
  38055. msgid "The port on which to connect to the database."
  38056. msgstr ""
  38057. #. type: subsubheading
  38058. #: guix-git/doc/guix.texi:25680
  38059. #, no-wrap
  38060. msgid "Mumi"
  38061. msgstr ""
  38062. #. type: cindex
  38063. #: guix-git/doc/guix.texi:25682
  38064. #, no-wrap
  38065. msgid "Mumi, Debbugs Web interface"
  38066. msgstr ""
  38067. #. type: cindex
  38068. #: guix-git/doc/guix.texi:25683
  38069. #, no-wrap
  38070. msgid "Debbugs, Mumi Web interface"
  38071. msgstr ""
  38072. #. type: Plain text
  38073. #: guix-git/doc/guix.texi:25688
  38074. 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."
  38075. msgstr ""
  38076. #. type: defvr
  38077. #: guix-git/doc/guix.texi:25689
  38078. #, no-wrap
  38079. msgid "{Scheme Variable} mumi-service-type"
  38080. msgstr ""
  38081. #. type: defvr
  38082. #: guix-git/doc/guix.texi:25691
  38083. msgid "This is the service type for Mumi."
  38084. msgstr ""
  38085. #. type: deftp
  38086. #: guix-git/doc/guix.texi:25693
  38087. #, no-wrap
  38088. msgid "{Data Type} mumi-configuration"
  38089. msgstr ""
  38090. #. type: deftp
  38091. #: guix-git/doc/guix.texi:25696
  38092. msgid "Data type representing the Mumi service configuration. This type has the following fields:"
  38093. msgstr ""
  38094. #. type: item
  38095. #: guix-git/doc/guix.texi:25698
  38096. #, no-wrap
  38097. msgid "@code{mumi} (default: @code{mumi})"
  38098. msgstr ""
  38099. #. type: table
  38100. #: guix-git/doc/guix.texi:25700
  38101. msgid "The Mumi package to use."
  38102. msgstr ""
  38103. #. type: item
  38104. #: guix-git/doc/guix.texi:25701
  38105. #, no-wrap
  38106. msgid "@code{mailer?} (default: @code{#true})"
  38107. msgstr ""
  38108. #. type: table
  38109. #: guix-git/doc/guix.texi:25703
  38110. msgid "Whether to enable or disable the mailer component."
  38111. msgstr ""
  38112. #. type: code{#1}
  38113. #: guix-git/doc/guix.texi:25704
  38114. #, no-wrap
  38115. msgid "mumi-configuration-sender"
  38116. msgstr ""
  38117. #. type: table
  38118. #: guix-git/doc/guix.texi:25706
  38119. msgid "The email address used as the sender for comments."
  38120. msgstr ""
  38121. #. type: code{#1}
  38122. #: guix-git/doc/guix.texi:25707
  38123. #, no-wrap
  38124. msgid "mumi-configuration-smtp"
  38125. msgstr ""
  38126. #. type: table
  38127. #: guix-git/doc/guix.texi:25712
  38128. 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}."
  38129. msgstr ""
  38130. #. type: subsubheading
  38131. #: guix-git/doc/guix.texi:25717
  38132. #, no-wrap
  38133. msgid "FastCGI"
  38134. msgstr ""
  38135. #. type: cindex
  38136. #: guix-git/doc/guix.texi:25718
  38137. #, no-wrap
  38138. msgid "fastcgi"
  38139. msgstr ""
  38140. #. type: cindex
  38141. #: guix-git/doc/guix.texi:25719
  38142. #, no-wrap
  38143. msgid "fcgiwrap"
  38144. msgstr ""
  38145. #. type: Plain text
  38146. #: guix-git/doc/guix.texi:25726
  38147. 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."
  38148. msgstr ""
  38149. #. type: Plain text
  38150. #: guix-git/doc/guix.texi:25733
  38151. 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."
  38152. msgstr ""
  38153. #. type: defvr
  38154. #: guix-git/doc/guix.texi:25734
  38155. #, no-wrap
  38156. msgid "{Scheme Variable} fcgiwrap-service-type"
  38157. msgstr ""
  38158. #. type: defvr
  38159. #: guix-git/doc/guix.texi:25736
  38160. msgid "A service type for the @code{fcgiwrap} FastCGI proxy."
  38161. msgstr ""
  38162. #. type: deftp
  38163. #: guix-git/doc/guix.texi:25738
  38164. #, no-wrap
  38165. msgid "{Data Type} fcgiwrap-configuration"
  38166. msgstr ""
  38167. #. type: deftp
  38168. #: guix-git/doc/guix.texi:25741
  38169. msgid "Data type representing the configuration of the @code{fcgiwrap} service. This type has the following parameters:"
  38170. msgstr ""
  38171. #. type: item
  38172. #: guix-git/doc/guix.texi:25742
  38173. #, no-wrap
  38174. msgid "@code{package} (default: @code{fcgiwrap})"
  38175. msgstr ""
  38176. #. type: table
  38177. #: guix-git/doc/guix.texi:25744
  38178. msgid "The fcgiwrap package to use."
  38179. msgstr ""
  38180. #. type: item
  38181. #: guix-git/doc/guix.texi:25745
  38182. #, no-wrap
  38183. msgid "@code{socket} (default: @code{tcp:127.0.0.1:9000})"
  38184. msgstr ""
  38185. #. type: table
  38186. #: guix-git/doc/guix.texi:25751
  38187. 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}."
  38188. msgstr ""
  38189. #. type: item
  38190. #: guix-git/doc/guix.texi:25752
  38191. #, no-wrap
  38192. msgid "@code{user} (default: @code{fcgiwrap})"
  38193. msgstr ""
  38194. #. type: itemx
  38195. #: guix-git/doc/guix.texi:25753
  38196. #, no-wrap
  38197. msgid "@code{group} (default: @code{fcgiwrap})"
  38198. msgstr ""
  38199. #. type: table
  38200. #: guix-git/doc/guix.texi:25758
  38201. 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."
  38202. msgstr ""
  38203. #. type: table
  38204. #: guix-git/doc/guix.texi:25765
  38205. 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."
  38206. msgstr ""
  38207. #. type: cindex
  38208. #: guix-git/doc/guix.texi:25768
  38209. #, no-wrap
  38210. msgid "php-fpm"
  38211. msgstr ""
  38212. #. type: Plain text
  38213. #: guix-git/doc/guix.texi:25771
  38214. msgid "PHP-FPM (FastCGI Process Manager) is an alternative PHP FastCGI implementation with some additional features useful for sites of any size."
  38215. msgstr ""
  38216. #. type: Plain text
  38217. #: guix-git/doc/guix.texi:25773
  38218. msgid "These features include:"
  38219. msgstr ""
  38220. #. type: item
  38221. #: guix-git/doc/guix.texi:25774
  38222. #, no-wrap
  38223. msgid "Adaptive process spawning"
  38224. msgstr ""
  38225. #. type: item
  38226. #: guix-git/doc/guix.texi:25775
  38227. #, no-wrap
  38228. msgid "Basic statistics (similar to Apache's mod_status)"
  38229. msgstr ""
  38230. #. type: item
  38231. #: guix-git/doc/guix.texi:25776
  38232. #, no-wrap
  38233. msgid "Advanced process management with graceful stop/start"
  38234. msgstr ""
  38235. #. type: item
  38236. #: guix-git/doc/guix.texi:25777
  38237. #, no-wrap
  38238. msgid "Ability to start workers with different uid/gid/chroot/environment"
  38239. msgstr ""
  38240. #. type: itemize
  38241. #: guix-git/doc/guix.texi:25779
  38242. msgid "and different php.ini (replaces safe_mode)"
  38243. msgstr ""
  38244. #. type: item
  38245. #: guix-git/doc/guix.texi:25779
  38246. #, no-wrap
  38247. msgid "Stdout & stderr logging"
  38248. msgstr ""
  38249. #. type: item
  38250. #: guix-git/doc/guix.texi:25780
  38251. #, no-wrap
  38252. msgid "Emergency restart in case of accidental opcode cache destruction"
  38253. msgstr ""
  38254. #. type: item
  38255. #: guix-git/doc/guix.texi:25781
  38256. #, no-wrap
  38257. msgid "Accelerated upload support"
  38258. msgstr ""
  38259. #. type: item
  38260. #: guix-git/doc/guix.texi:25782
  38261. #, no-wrap
  38262. msgid "Support for a \"slowlog\""
  38263. msgstr ""
  38264. #. type: item
  38265. #: guix-git/doc/guix.texi:25783
  38266. #, no-wrap
  38267. msgid "Enhancements to FastCGI, such as fastcgi_finish_request() -"
  38268. msgstr ""
  38269. #. type: itemize
  38270. #: guix-git/doc/guix.texi:25786
  38271. msgid "a special function to finish request & flush all data while continuing to do something time-consuming (video converting, stats processing, etc.)"
  38272. msgstr ""
  38273. #. type: Plain text
  38274. #: guix-git/doc/guix.texi:25788
  38275. msgid "...@: and much more."
  38276. msgstr ""
  38277. #. type: defvr
  38278. #: guix-git/doc/guix.texi:25789
  38279. #, no-wrap
  38280. msgid "{Scheme Variable} php-fpm-service-type"
  38281. msgstr ""
  38282. #. type: defvr
  38283. #: guix-git/doc/guix.texi:25791
  38284. msgid "A Service type for @code{php-fpm}."
  38285. msgstr ""
  38286. #. type: deftp
  38287. #: guix-git/doc/guix.texi:25793
  38288. #, no-wrap
  38289. msgid "{Data Type} php-fpm-configuration"
  38290. msgstr ""
  38291. #. type: deftp
  38292. #: guix-git/doc/guix.texi:25795
  38293. msgid "Data Type for php-fpm service configuration."
  38294. msgstr ""
  38295. #. type: item
  38296. #: guix-git/doc/guix.texi:25796
  38297. #, no-wrap
  38298. msgid "@code{php} (default: @code{php})"
  38299. msgstr ""
  38300. #. type: table
  38301. #: guix-git/doc/guix.texi:25798
  38302. msgid "The php package to use."
  38303. msgstr ""
  38304. #. type: item
  38305. #: guix-git/doc/guix.texi:25798
  38306. #, no-wrap
  38307. msgid "@code{socket} (default: @code{(string-append \"/var/run/php\" (version-major (package-version php)) \"-fpm.sock\")})"
  38308. msgstr ""
  38309. #. type: table
  38310. #: guix-git/doc/guix.texi:25800
  38311. msgid "The address on which to accept FastCGI requests. Valid syntaxes are:"
  38312. msgstr ""
  38313. #. type: code{#1}
  38314. #: guix-git/doc/guix.texi:25801
  38315. #, no-wrap
  38316. msgid "\"ip.add.re.ss:port\""
  38317. msgstr ""
  38318. #. type: table
  38319. #: guix-git/doc/guix.texi:25803
  38320. msgid "Listen on a TCP socket to a specific address on a specific port."
  38321. msgstr ""
  38322. #. type: code{#1}
  38323. #: guix-git/doc/guix.texi:25803
  38324. #, no-wrap
  38325. msgid "\"port\""
  38326. msgstr ""
  38327. #. type: table
  38328. #: guix-git/doc/guix.texi:25805
  38329. msgid "Listen on a TCP socket to all addresses on a specific port."
  38330. msgstr ""
  38331. #. type: code{#1}
  38332. #: guix-git/doc/guix.texi:25805
  38333. #, no-wrap
  38334. msgid "\"/path/to/unix/socket\""
  38335. msgstr ""
  38336. #. type: table
  38337. #: guix-git/doc/guix.texi:25807
  38338. msgid "Listen on a unix socket."
  38339. msgstr ""
  38340. #. type: item
  38341. #: guix-git/doc/guix.texi:25809
  38342. #, no-wrap
  38343. msgid "@code{user} (default: @code{php-fpm})"
  38344. msgstr ""
  38345. #. type: table
  38346. #: guix-git/doc/guix.texi:25811
  38347. msgid "User who will own the php worker processes."
  38348. msgstr ""
  38349. #. type: item
  38350. #: guix-git/doc/guix.texi:25811
  38351. #, no-wrap
  38352. msgid "@code{group} (default: @code{php-fpm})"
  38353. msgstr ""
  38354. #. type: table
  38355. #: guix-git/doc/guix.texi:25813
  38356. msgid "Group of the worker processes."
  38357. msgstr ""
  38358. #. type: item
  38359. #: guix-git/doc/guix.texi:25813
  38360. #, no-wrap
  38361. msgid "@code{socket-user} (default: @code{php-fpm})"
  38362. msgstr ""
  38363. #. type: table
  38364. #: guix-git/doc/guix.texi:25815
  38365. msgid "User who can speak to the php-fpm socket."
  38366. msgstr ""
  38367. #. type: item
  38368. #: guix-git/doc/guix.texi:25815
  38369. #, no-wrap
  38370. msgid "@code{socket-group} (default: @code{nginx})"
  38371. msgstr ""
  38372. #. type: table
  38373. #: guix-git/doc/guix.texi:25817
  38374. msgid "Group that can speak to the php-fpm socket."
  38375. msgstr ""
  38376. #. type: item
  38377. #: guix-git/doc/guix.texi:25817
  38378. #, no-wrap
  38379. msgid "@code{pid-file} (default: @code{(string-append \"/var/run/php\" (version-major (package-version php)) \"-fpm.pid\")})"
  38380. msgstr ""
  38381. #. type: table
  38382. #: guix-git/doc/guix.texi:25820
  38383. msgid "The process id of the php-fpm process is written to this file once the service has started."
  38384. msgstr ""
  38385. #. type: item
  38386. #: guix-git/doc/guix.texi:25820
  38387. #, no-wrap
  38388. msgid "@code{log-file} (default: @code{(string-append \"/var/log/php\" (version-major (package-version php)) \"-fpm.log\")})"
  38389. msgstr ""
  38390. #. type: table
  38391. #: guix-git/doc/guix.texi:25822
  38392. msgid "Log for the php-fpm master process."
  38393. msgstr ""
  38394. #. type: item
  38395. #: guix-git/doc/guix.texi:25822
  38396. #, no-wrap
  38397. msgid "@code{process-manager} (default: @code{(php-fpm-dynamic-process-manager-configuration)})"
  38398. msgstr ""
  38399. #. type: table
  38400. #: guix-git/doc/guix.texi:25825
  38401. msgid "Detailed settings for the php-fpm process manager. Must be one of:"
  38402. msgstr ""
  38403. #. type: code{#1}
  38404. #: guix-git/doc/guix.texi:25826
  38405. #, no-wrap
  38406. msgid "<php-fpm-dynamic-process-manager-configuration>"
  38407. msgstr ""
  38408. #. type: code{#1}
  38409. #: guix-git/doc/guix.texi:25827
  38410. #, no-wrap
  38411. msgid "<php-fpm-static-process-manager-configuration>"
  38412. msgstr ""
  38413. #. type: code{#1}
  38414. #: guix-git/doc/guix.texi:25828
  38415. #, no-wrap
  38416. msgid "<php-fpm-on-demand-process-manager-configuration>"
  38417. msgstr ""
  38418. #. type: item
  38419. #: guix-git/doc/guix.texi:25830
  38420. #, no-wrap
  38421. msgid "@code{display-errors} (default @code{#f})"
  38422. msgstr ""
  38423. #. type: table
  38424. #: guix-git/doc/guix.texi:25835
  38425. 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."
  38426. msgstr ""
  38427. #. type: item
  38428. #: guix-git/doc/guix.texi:25835
  38429. #, no-wrap
  38430. msgid "@code{timezone} (default @code{#f})"
  38431. msgstr ""
  38432. #. type: table
  38433. #: guix-git/doc/guix.texi:25837
  38434. msgid "Specifies @code{php_admin_value[date.timezone]} parameter."
  38435. msgstr ""
  38436. #. type: item
  38437. #: guix-git/doc/guix.texi:25837
  38438. #, no-wrap
  38439. msgid "@code{workers-logfile} (default @code{(string-append \"/var/log/php\" (version-major (package-version php)) \"-fpm.www.log\")})"
  38440. msgstr ""
  38441. #. type: table
  38442. #: guix-git/doc/guix.texi:25840
  38443. msgid "This file will log the @code{stderr} outputs of php worker processes. Can be set to @code{#f} to disable logging."
  38444. msgstr ""
  38445. #. type: item
  38446. #: guix-git/doc/guix.texi:25840
  38447. #, no-wrap
  38448. msgid "@code{file} (default @code{#f})"
  38449. msgstr ""
  38450. #. type: table
  38451. #: guix-git/doc/guix.texi:25843
  38452. msgid "An optional override of the whole configuration. You can use the @code{mixed-text-file} function or an absolute filepath for it."
  38453. msgstr ""
  38454. #. type: item
  38455. #: guix-git/doc/guix.texi:25843
  38456. #, no-wrap
  38457. msgid "@code{php-ini-file} (default @code{#f})"
  38458. msgstr ""
  38459. #. type: table
  38460. #: guix-git/doc/guix.texi:25847
  38461. 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."
  38462. msgstr ""
  38463. #. type: table
  38464. #: guix-git/doc/guix.texi:25851
  38465. 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:"
  38466. msgstr ""
  38467. #. type: lisp
  38468. #: guix-git/doc/guix.texi:25856
  38469. #, no-wrap
  38470. msgid ""
  38471. "(define %local-php-ini\n"
  38472. " (plain-file \"php.ini\"\n"
  38473. " \"memory_limit = 2G\n"
  38474. "max_execution_time = 1800\"))\n"
  38475. "\n"
  38476. msgstr ""
  38477. #. type: lisp
  38478. #: guix-git/doc/guix.texi:25863
  38479. #, no-wrap
  38480. msgid ""
  38481. "(operating-system\n"
  38482. " ;; @dots{}\n"
  38483. " (services (cons (service php-fpm-service-type\n"
  38484. " (php-fpm-configuration\n"
  38485. " (php-ini-file %local-php-ini)))\n"
  38486. " %base-services)))\n"
  38487. msgstr ""
  38488. #. type: table
  38489. #: guix-git/doc/guix.texi:25868
  38490. 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."
  38491. msgstr ""
  38492. #. type: deftp
  38493. #: guix-git/doc/guix.texi:25871
  38494. #, no-wrap
  38495. msgid "{Data type} php-fpm-dynamic-process-manager-configuration"
  38496. msgstr ""
  38497. #. type: deftp
  38498. #: guix-git/doc/guix.texi:25875
  38499. msgid "Data Type for the @code{dynamic} php-fpm process manager. With the @code{dynamic} process manager, spare worker processes are kept around based on its configured limits."
  38500. msgstr ""
  38501. #. type: item
  38502. #: guix-git/doc/guix.texi:25876 guix-git/doc/guix.texi:25892
  38503. #: guix-git/doc/guix.texi:25902
  38504. #, no-wrap
  38505. msgid "@code{max-children} (default: @code{5})"
  38506. msgstr ""
  38507. #. type: table
  38508. #: guix-git/doc/guix.texi:25878 guix-git/doc/guix.texi:25894
  38509. #: guix-git/doc/guix.texi:25904
  38510. msgid "Maximum of worker processes."
  38511. msgstr ""
  38512. #. type: item
  38513. #: guix-git/doc/guix.texi:25878
  38514. #, no-wrap
  38515. msgid "@code{start-servers} (default: @code{2})"
  38516. msgstr ""
  38517. #. type: table
  38518. #: guix-git/doc/guix.texi:25880
  38519. msgid "How many worker processes should be started on start-up."
  38520. msgstr ""
  38521. #. type: item
  38522. #: guix-git/doc/guix.texi:25880
  38523. #, no-wrap
  38524. msgid "@code{min-spare-servers} (default: @code{1})"
  38525. msgstr ""
  38526. #. type: table
  38527. #: guix-git/doc/guix.texi:25882
  38528. msgid "How many spare worker processes should be kept around at minimum."
  38529. msgstr ""
  38530. #. type: item
  38531. #: guix-git/doc/guix.texi:25882
  38532. #, no-wrap
  38533. msgid "@code{max-spare-servers} (default: @code{3})"
  38534. msgstr ""
  38535. #. type: table
  38536. #: guix-git/doc/guix.texi:25884
  38537. msgid "How many spare worker processes should be kept around at maximum."
  38538. msgstr ""
  38539. #. type: deftp
  38540. #: guix-git/doc/guix.texi:25887
  38541. #, no-wrap
  38542. msgid "{Data type} php-fpm-static-process-manager-configuration"
  38543. msgstr ""
  38544. #. type: deftp
  38545. #: guix-git/doc/guix.texi:25891
  38546. 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."
  38547. msgstr ""
  38548. #. type: deftp
  38549. #: guix-git/doc/guix.texi:25897
  38550. #, no-wrap
  38551. msgid "{Data type} php-fpm-on-demand-process-manager-configuration"
  38552. msgstr ""
  38553. #. type: deftp
  38554. #: guix-git/doc/guix.texi:25901
  38555. 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."
  38556. msgstr ""
  38557. #. type: item
  38558. #: guix-git/doc/guix.texi:25904
  38559. #, no-wrap
  38560. msgid "@code{process-idle-timeout} (default: @code{10})"
  38561. msgstr ""
  38562. #. type: table
  38563. #: guix-git/doc/guix.texi:25906
  38564. msgid "The time in seconds after which a process with no requests is killed."
  38565. msgstr ""
  38566. #. type: deffn
  38567. #: guix-git/doc/guix.texi:25910
  38568. #, no-wrap
  38569. msgid "{Scheme Procedure} nginx-php-location @"
  38570. msgstr ""
  38571. #. type: deffn
  38572. #: guix-git/doc/guix.texi:25916
  38573. 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}."
  38574. msgstr ""
  38575. #. type: Plain text
  38576. #: guix-git/doc/guix.texi:25919
  38577. msgid "A simple services setup for nginx with php can look like this:"
  38578. msgstr ""
  38579. #. type: lisp
  38580. #: guix-git/doc/guix.texi:25932
  38581. #, no-wrap
  38582. msgid ""
  38583. "(services (cons* (service dhcp-client-service-type)\n"
  38584. " (service php-fpm-service-type)\n"
  38585. " (service nginx-service-type\n"
  38586. " (nginx-server-configuration\n"
  38587. " (server-name '(\"example.com\"))\n"
  38588. " (root \"/srv/http/\")\n"
  38589. " (locations\n"
  38590. " (list (nginx-php-location)))\n"
  38591. " (listen '(\"80\"))\n"
  38592. " (ssl-certificate #f)\n"
  38593. " (ssl-certificate-key #f)))\n"
  38594. " %base-services))\n"
  38595. msgstr ""
  38596. #. type: cindex
  38597. #: guix-git/doc/guix.texi:25934
  38598. #, no-wrap
  38599. msgid "cat-avatar-generator"
  38600. msgstr ""
  38601. #. type: Plain text
  38602. #: guix-git/doc/guix.texi:25938
  38603. 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."
  38604. msgstr ""
  38605. #. type: deffn
  38606. #: guix-git/doc/guix.texi:25939
  38607. #, no-wrap
  38608. msgid "{Scheme Procedure} cat-avatar-generator-service @"
  38609. msgstr ""
  38610. #. type: deffn
  38611. #: guix-git/doc/guix.texi:25947
  38612. 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."
  38613. msgstr ""
  38614. #. type: Plain text
  38615. #: guix-git/doc/guix.texi:25950
  38616. msgid "A simple setup for cat-avatar-generator can look like this:"
  38617. msgstr ""
  38618. #. type: lisp
  38619. #: guix-git/doc/guix.texi:25957
  38620. #, no-wrap
  38621. msgid ""
  38622. "(services (cons* (cat-avatar-generator-service\n"
  38623. " #:configuration\n"
  38624. " (nginx-server-configuration\n"
  38625. " (server-name '(\"example.com\"))))\n"
  38626. " ...\n"
  38627. " %base-services))\n"
  38628. msgstr ""
  38629. #. type: subsubheading
  38630. #: guix-git/doc/guix.texi:25959
  38631. #, no-wrap
  38632. msgid "Hpcguix-web"
  38633. msgstr ""
  38634. #. type: cindex
  38635. #: guix-git/doc/guix.texi:25961
  38636. #, no-wrap
  38637. msgid "hpcguix-web"
  38638. msgstr ""
  38639. #. type: Plain text
  38640. #: guix-git/doc/guix.texi:25966
  38641. 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."
  38642. msgstr ""
  38643. #. type: defvr
  38644. #: guix-git/doc/guix.texi:25967
  38645. #, no-wrap
  38646. msgid "{Scheme Variable} hpcguix-web-service-type"
  38647. msgstr ""
  38648. #. type: defvr
  38649. #: guix-git/doc/guix.texi:25969
  38650. msgid "The service type for @code{hpcguix-web}."
  38651. msgstr ""
  38652. #. type: deftp
  38653. #: guix-git/doc/guix.texi:25971
  38654. #, no-wrap
  38655. msgid "{Data Type} hpcguix-web-configuration"
  38656. msgstr ""
  38657. #. type: deftp
  38658. #: guix-git/doc/guix.texi:25973
  38659. msgid "Data type for the hpcguix-web service configuration."
  38660. msgstr ""
  38661. #. type: code{#1}
  38662. #: guix-git/doc/guix.texi:25975
  38663. #, no-wrap
  38664. msgid "specs"
  38665. msgstr ""
  38666. #. type: table
  38667. #: guix-git/doc/guix.texi:25978
  38668. msgid "A gexp (@pxref{G-Expressions}) specifying the hpcguix-web service configuration. The main items available in this spec are:"
  38669. msgstr ""
  38670. #. type: item
  38671. #: guix-git/doc/guix.texi:25980
  38672. #, no-wrap
  38673. msgid "@code{title-prefix} (default: @code{\"hpcguix | \"})"
  38674. msgstr ""
  38675. #. type: table
  38676. #: guix-git/doc/guix.texi:25982
  38677. msgid "The page title prefix."
  38678. msgstr ""
  38679. #. type: item
  38680. #: guix-git/doc/guix.texi:25983
  38681. #, no-wrap
  38682. msgid "@code{guix-command} (default: @code{\"guix\"})"
  38683. msgstr ""
  38684. #. type: table
  38685. #: guix-git/doc/guix.texi:25985
  38686. msgid "The @command{guix} command."
  38687. msgstr ""
  38688. #. type: item
  38689. #: guix-git/doc/guix.texi:25986
  38690. #, no-wrap
  38691. msgid "@code{package-filter-proc} (default: @code{(const #t)})"
  38692. msgstr ""
  38693. #. type: table
  38694. #: guix-git/doc/guix.texi:25988
  38695. msgid "A procedure specifying how to filter packages that are displayed."
  38696. msgstr ""
  38697. #. type: item
  38698. #: guix-git/doc/guix.texi:25989
  38699. #, no-wrap
  38700. msgid "@code{package-page-extension-proc} (default: @code{(const '())})"
  38701. msgstr ""
  38702. #. type: table
  38703. #: guix-git/doc/guix.texi:25991
  38704. msgid "Extension package for @code{hpcguix-web}."
  38705. msgstr ""
  38706. #. type: item
  38707. #: guix-git/doc/guix.texi:25992
  38708. #, no-wrap
  38709. msgid "@code{menu} (default: @code{'()})"
  38710. msgstr ""
  38711. #. type: table
  38712. #: guix-git/doc/guix.texi:25994
  38713. msgid "Additional entry in page @code{menu}."
  38714. msgstr ""
  38715. #. type: item
  38716. #: guix-git/doc/guix.texi:25995
  38717. #, no-wrap
  38718. msgid "@code{channels} (default: @code{%default-channels})"
  38719. msgstr ""
  38720. #. type: table
  38721. #: guix-git/doc/guix.texi:25997
  38722. msgid "List of channels from which the package list is built (@pxref{Channels})."
  38723. msgstr ""
  38724. #. type: item
  38725. #: guix-git/doc/guix.texi:25998
  38726. #, no-wrap
  38727. msgid "@code{package-list-expiration} (default: @code{(* 12 3600)})"
  38728. msgstr ""
  38729. #. type: table
  38730. #: guix-git/doc/guix.texi:26001
  38731. msgid "The expiration time, in seconds, after which the package list is rebuilt from the latest instances of the given channels."
  38732. msgstr ""
  38733. #. type: table
  38734. #: guix-git/doc/guix.texi:26006
  38735. msgid "See the hpcguix-web repository for a @uref{https://github.com/UMCUGenetics/hpcguix-web/blob/master/hpcweb-configuration.scm, complete example}."
  38736. msgstr ""
  38737. #. type: item
  38738. #: guix-git/doc/guix.texi:26007
  38739. #, no-wrap
  38740. msgid "@code{package} (default: @code{hpcguix-web})"
  38741. msgstr ""
  38742. #. type: table
  38743. #: guix-git/doc/guix.texi:26009
  38744. msgid "The hpcguix-web package to use."
  38745. msgstr ""
  38746. #. type: Plain text
  38747. #: guix-git/doc/guix.texi:26013
  38748. msgid "A typical hpcguix-web service declaration looks like this:"
  38749. msgstr ""
  38750. #. type: lisp
  38751. #: guix-git/doc/guix.texi:26022
  38752. #, no-wrap
  38753. msgid ""
  38754. "(service hpcguix-web-service-type\n"
  38755. " (hpcguix-web-configuration\n"
  38756. " (specs\n"
  38757. " #~(define site-config\n"
  38758. " (hpcweb-configuration\n"
  38759. " (title-prefix \"Guix-HPC - \")\n"
  38760. " (menu '((\"/about\" \"ABOUT\"))))))))\n"
  38761. msgstr ""
  38762. #. type: quotation
  38763. #: guix-git/doc/guix.texi:26029
  38764. 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."
  38765. msgstr ""
  38766. #. type: quotation
  38767. #: guix-git/doc/guix.texi:26033
  38768. 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."
  38769. msgstr ""
  38770. #. type: cindex
  38771. #: guix-git/doc/guix.texi:26035 guix-git/doc/guix.texi:26037
  38772. #, no-wrap
  38773. msgid "gmnisrv"
  38774. msgstr ""
  38775. #. type: Plain text
  38776. #: guix-git/doc/guix.texi:26040
  38777. msgid "The @uref{https://git.sr.ht/~sircmpwn/gmnisrv, gmnisrv} program is a simple @uref{https://gemini.circumlunar.space/, Gemini} protocol server."
  38778. msgstr ""
  38779. #. type: deffn
  38780. #: guix-git/doc/guix.texi:26041
  38781. #, no-wrap
  38782. msgid "{Scheme Variable} gmnisrv-service-type"
  38783. msgstr ""
  38784. #. type: deffn
  38785. #: guix-git/doc/guix.texi:26044
  38786. msgid "This is the type of the gmnisrv service, whose value should be a @code{gmnisrv-configuration} object, as in this example:"
  38787. msgstr ""
  38788. #. type: lisp
  38789. #: guix-git/doc/guix.texi:26049
  38790. #, no-wrap
  38791. msgid ""
  38792. "(service gmnisrv-service-type\n"
  38793. " (gmnisrv-configuration\n"
  38794. " (config-file (local-file \"./my-gmnisrv.ini\"))))\n"
  38795. msgstr ""
  38796. #. type: deftp
  38797. #: guix-git/doc/guix.texi:26052
  38798. #, no-wrap
  38799. msgid "{Data Type} gmnisrv-configuration"
  38800. msgstr ""
  38801. #. type: deftp
  38802. #: guix-git/doc/guix.texi:26054
  38803. msgid "Data type representing the configuration of gmnisrv."
  38804. msgstr ""
  38805. #. type: item
  38806. #: guix-git/doc/guix.texi:26056
  38807. #, no-wrap
  38808. msgid "@code{package} (default: @var{gmnisrv})"
  38809. msgstr ""
  38810. #. type: table
  38811. #: guix-git/doc/guix.texi:26058
  38812. msgid "Package object of the gmnisrv server."
  38813. msgstr ""
  38814. #. type: item
  38815. #: guix-git/doc/guix.texi:26059
  38816. #, no-wrap
  38817. msgid "@code{config-file} (default: @code{%default-gmnisrv-config-file})"
  38818. msgstr ""
  38819. #. type: table
  38820. #: guix-git/doc/guix.texi:26065
  38821. 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}."
  38822. msgstr ""
  38823. #. type: subsubheading
  38824. #: guix-git/doc/guix.texi:26069
  38825. #, no-wrap
  38826. msgid "Agate"
  38827. msgstr ""
  38828. #. type: cindex
  38829. #: guix-git/doc/guix.texi:26071
  38830. #, no-wrap
  38831. msgid "agate"
  38832. msgstr ""
  38833. #. type: Plain text
  38834. #: guix-git/doc/guix.texi:26076
  38835. 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."
  38836. msgstr ""
  38837. #. type: deffn
  38838. #: guix-git/doc/guix.texi:26077
  38839. #, no-wrap
  38840. msgid "{Scheme Variable} agate-service-type"
  38841. msgstr ""
  38842. #. type: deffn
  38843. #: guix-git/doc/guix.texi:26080
  38844. msgid "This is the type of the agate service, whose value should be an @code{agate-service-type} object, as in this example:"
  38845. msgstr ""
  38846. #. type: lisp
  38847. #: guix-git/doc/guix.texi:26087
  38848. #, no-wrap
  38849. msgid ""
  38850. "(service agate-service-type\n"
  38851. "\t (agate-configuration\n"
  38852. "\t (content \"/srv/gemini\")\n"
  38853. "\t (cert \"/srv/cert.pem\")\n"
  38854. "\t (key \"/srv/key.rsa\")))\n"
  38855. msgstr ""
  38856. #. type: deffn
  38857. #: guix-git/doc/guix.texi:26092
  38858. 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."
  38859. msgstr ""
  38860. #. type: deffn
  38861. #: guix-git/doc/guix.texi:26095
  38862. msgid "To obtain a certificate and a key, you could, for example, use OpenSSL, running a command similar to the following example:"
  38863. msgstr ""
  38864. #. type: example
  38865. #: guix-git/doc/guix.texi:26099
  38866. #, no-wrap
  38867. msgid ""
  38868. "openssl req -x509 -newkey rsa:4096 -keyout key.rsa -out cert.pem \\\n"
  38869. " -days 3650 -nodes -subj \"/CN=example.com\"\n"
  38870. msgstr ""
  38871. #. type: deffn
  38872. #: guix-git/doc/guix.texi:26104
  38873. 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."
  38874. msgstr ""
  38875. #. type: deftp
  38876. #: guix-git/doc/guix.texi:26107
  38877. #, no-wrap
  38878. msgid "{Data Type} agate-configuration"
  38879. msgstr ""
  38880. #. type: deftp
  38881. #: guix-git/doc/guix.texi:26109
  38882. msgid "Data type representing the configuration of Agate."
  38883. msgstr ""
  38884. #. type: item
  38885. #: guix-git/doc/guix.texi:26111
  38886. #, no-wrap
  38887. msgid "@code{package} (default: @code{agate})"
  38888. msgstr ""
  38889. #. type: table
  38890. #: guix-git/doc/guix.texi:26113
  38891. msgid "The package object of the Agate server."
  38892. msgstr ""
  38893. #. type: item
  38894. #: guix-git/doc/guix.texi:26114
  38895. #, no-wrap
  38896. msgid "@code{content} (default: @file{\"/srv/gemini\"})"
  38897. msgstr ""
  38898. #. type: table
  38899. #: guix-git/doc/guix.texi:26116
  38900. msgid "The directory from which Agate will serve files."
  38901. msgstr ""
  38902. #. type: item
  38903. #: guix-git/doc/guix.texi:26117
  38904. #, no-wrap
  38905. msgid "@code{cert} (default: @code{#f})"
  38906. msgstr ""
  38907. #. type: table
  38908. #: guix-git/doc/guix.texi:26120
  38909. 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."
  38910. msgstr ""
  38911. #. type: item
  38912. #: guix-git/doc/guix.texi:26121 guix-git/doc/guix.texi:26557
  38913. #, no-wrap
  38914. msgid "@code{key} (default: @code{#f})"
  38915. msgstr ""
  38916. #. type: table
  38917. #: guix-git/doc/guix.texi:26124
  38918. 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."
  38919. msgstr ""
  38920. #. type: item
  38921. #: guix-git/doc/guix.texi:26125
  38922. #, no-wrap
  38923. msgid "@code{addr} (default: @code{'(\"0.0.0.0:1965\" \"[::]:1965\")})"
  38924. msgstr ""
  38925. #. type: table
  38926. #: guix-git/doc/guix.texi:26127
  38927. msgid "A list of the addresses to listen on."
  38928. msgstr ""
  38929. #. type: table
  38930. #: guix-git/doc/guix.texi:26130
  38931. msgid "The domain name of this Gemini server. Optional."
  38932. msgstr ""
  38933. #. type: item
  38934. #: guix-git/doc/guix.texi:26131
  38935. #, no-wrap
  38936. msgid "@code{lang} (default: @code{#f})"
  38937. msgstr ""
  38938. #. type: table
  38939. #: guix-git/doc/guix.texi:26133
  38940. msgid "RFC 4646 language code(s) for text/gemini documents. Optional."
  38941. msgstr ""
  38942. #. type: item
  38943. #: guix-git/doc/guix.texi:26134
  38944. #, no-wrap
  38945. msgid "@code{silent?} (default: @code{#f})"
  38946. msgstr ""
  38947. #. type: table
  38948. #: guix-git/doc/guix.texi:26136
  38949. msgid "Set to @code{#t} to disable logging output."
  38950. msgstr ""
  38951. #. type: item
  38952. #: guix-git/doc/guix.texi:26137
  38953. #, no-wrap
  38954. msgid "@code{serve-secret?} (default: @code{#f})"
  38955. msgstr ""
  38956. #. type: table
  38957. #: guix-git/doc/guix.texi:26140
  38958. msgid "Set to @code{#t} to serve secret files (files/directories starting with a dot)."
  38959. msgstr ""
  38960. #. type: item
  38961. #: guix-git/doc/guix.texi:26141
  38962. #, no-wrap
  38963. msgid "@code{log-ip?} (default: @code{#t})"
  38964. msgstr ""
  38965. #. type: table
  38966. #: guix-git/doc/guix.texi:26143
  38967. msgid "Whether or not to output IP addresses when logging."
  38968. msgstr ""
  38969. #. type: item
  38970. #: guix-git/doc/guix.texi:26144
  38971. #, no-wrap
  38972. msgid "@code{user} (default: @code{\"agate\"})"
  38973. msgstr ""
  38974. #. type: table
  38975. #: guix-git/doc/guix.texi:26146
  38976. msgid "Owner of the @code{agate} process."
  38977. msgstr ""
  38978. #. type: item
  38979. #: guix-git/doc/guix.texi:26147
  38980. #, no-wrap
  38981. msgid "@code{group} (default: @code{\"agate\"})"
  38982. msgstr ""
  38983. #. type: table
  38984. #: guix-git/doc/guix.texi:26149
  38985. msgid "Owner's group of the @code{agate} process."
  38986. msgstr ""
  38987. #. type: item
  38988. #: guix-git/doc/guix.texi:26150
  38989. #, no-wrap
  38990. msgid "@code{log-file} (default: @file{\"/var/log/agate.log\"})"
  38991. msgstr ""
  38992. #. type: table
  38993. #: guix-git/doc/guix.texi:26152
  38994. msgid "The file which should store the logging output of Agate."
  38995. msgstr ""
  38996. #. type: cindex
  38997. #: guix-git/doc/guix.texi:26159
  38998. #, no-wrap
  38999. msgid "Web"
  39000. msgstr ""
  39001. #. type: cindex
  39002. #: guix-git/doc/guix.texi:26160
  39003. #, no-wrap
  39004. msgid "HTTP, HTTPS"
  39005. msgstr ""
  39006. #. type: cindex
  39007. #: guix-git/doc/guix.texi:26161
  39008. #, no-wrap
  39009. msgid "Let's Encrypt"
  39010. msgstr ""
  39011. #. type: cindex
  39012. #: guix-git/doc/guix.texi:26162
  39013. #, no-wrap
  39014. msgid "TLS certificates"
  39015. msgstr ""
  39016. #. type: Plain text
  39017. #: guix-git/doc/guix.texi:26169
  39018. 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."
  39019. msgstr ""
  39020. #. type: Plain text
  39021. #: guix-git/doc/guix.texi:26181
  39022. 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."
  39023. msgstr ""
  39024. #. type: Plain text
  39025. #: guix-git/doc/guix.texi:26188
  39026. 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)."
  39027. msgstr ""
  39028. #. type: Plain text
  39029. #: guix-git/doc/guix.texi:26194
  39030. 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."
  39031. msgstr ""
  39032. #. type: Plain text
  39033. #: guix-git/doc/guix.texi:26198
  39034. 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}."
  39035. msgstr ""
  39036. #. type: defvr
  39037. #: guix-git/doc/guix.texi:26199
  39038. #, no-wrap
  39039. msgid "{Scheme Variable} certbot-service-type"
  39040. msgstr ""
  39041. #. type: defvr
  39042. #: guix-git/doc/guix.texi:26202
  39043. 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:"
  39044. msgstr ""
  39045. #. type: lisp
  39046. #: guix-git/doc/guix.texi:26209
  39047. #, no-wrap
  39048. msgid ""
  39049. "(define %nginx-deploy-hook\n"
  39050. " (program-file\n"
  39051. " \"nginx-deploy-hook\"\n"
  39052. " #~(let ((pid (call-with-input-file \"/var/run/nginx/pid\" read)))\n"
  39053. " (kill pid SIGHUP))))\n"
  39054. "\n"
  39055. msgstr ""
  39056. #. type: lisp
  39057. #: guix-git/doc/guix.texi:26220
  39058. #, no-wrap
  39059. msgid ""
  39060. "(service certbot-service-type\n"
  39061. " (certbot-configuration\n"
  39062. " (email \"foo@@example.net\")\n"
  39063. " (certificates\n"
  39064. " (list\n"
  39065. " (certificate-configuration\n"
  39066. " (domains '(\"example.net\" \"www.example.net\"))\n"
  39067. " (deploy-hook %nginx-deploy-hook))\n"
  39068. " (certificate-configuration\n"
  39069. " (domains '(\"bar.example.net\")))))))\n"
  39070. msgstr ""
  39071. #. type: defvr
  39072. #: guix-git/doc/guix.texi:26223
  39073. msgid "See below for details about @code{certbot-configuration}."
  39074. msgstr ""
  39075. #. type: deftp
  39076. #: guix-git/doc/guix.texi:26225
  39077. #, no-wrap
  39078. msgid "{Data Type} certbot-configuration"
  39079. msgstr ""
  39080. #. type: deftp
  39081. #: guix-git/doc/guix.texi:26228
  39082. msgid "Data type representing the configuration of the @code{certbot} service. This type has the following parameters:"
  39083. msgstr ""
  39084. #. type: item
  39085. #: guix-git/doc/guix.texi:26230
  39086. #, no-wrap
  39087. msgid "@code{package} (default: @code{certbot})"
  39088. msgstr ""
  39089. #. type: table
  39090. #: guix-git/doc/guix.texi:26232
  39091. msgid "The certbot package to use."
  39092. msgstr ""
  39093. #. type: item
  39094. #: guix-git/doc/guix.texi:26233
  39095. #, no-wrap
  39096. msgid "@code{webroot} (default: @code{/var/www})"
  39097. msgstr ""
  39098. #. type: table
  39099. #: guix-git/doc/guix.texi:26236
  39100. msgid "The directory from which to serve the Let's Encrypt challenge/response files."
  39101. msgstr ""
  39102. #. type: item
  39103. #: guix-git/doc/guix.texi:26237
  39104. #, no-wrap
  39105. msgid "@code{certificates} (default: @code{()})"
  39106. msgstr ""
  39107. #. type: table
  39108. #: guix-git/doc/guix.texi:26241
  39109. 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}."
  39110. msgstr ""
  39111. #. type: item
  39112. #: guix-git/doc/guix.texi:26242
  39113. #, no-wrap
  39114. msgid "@code{email} (default: @code{#f})"
  39115. msgstr ""
  39116. #. type: table
  39117. #: guix-git/doc/guix.texi:26246
  39118. 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."
  39119. msgstr ""
  39120. #. type: item
  39121. #: guix-git/doc/guix.texi:26247 guix-git/doc/guix.texi:27991
  39122. #, no-wrap
  39123. msgid "@code{server} (default: @code{#f})"
  39124. msgstr ""
  39125. #. type: table
  39126. #: guix-git/doc/guix.texi:26250
  39127. msgid "Optional URL of ACME server. Setting this overrides certbot's default, which is the Let's Encrypt server."
  39128. msgstr ""
  39129. #. type: item
  39130. #: guix-git/doc/guix.texi:26251
  39131. #, no-wrap
  39132. msgid "@code{rsa-key-size} (default: @code{2048})"
  39133. msgstr ""
  39134. #. type: table
  39135. #: guix-git/doc/guix.texi:26253
  39136. msgid "Size of the RSA key."
  39137. msgstr ""
  39138. #. type: item
  39139. #: guix-git/doc/guix.texi:26254
  39140. #, no-wrap
  39141. msgid "@code{default-location} (default: @i{see below})"
  39142. msgstr ""
  39143. #. type: table
  39144. #: guix-git/doc/guix.texi:26263
  39145. 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."
  39146. msgstr ""
  39147. #. type: table
  39148. #: guix-git/doc/guix.texi:26267
  39149. 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."
  39150. msgstr ""
  39151. #. type: table
  39152. #: guix-git/doc/guix.texi:26271
  39153. 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}."
  39154. msgstr ""
  39155. #. type: table
  39156. #: guix-git/doc/guix.texi:26273
  39157. msgid "Pass @code{#f} to not issue a default location."
  39158. msgstr ""
  39159. #. type: deftp
  39160. #: guix-git/doc/guix.texi:26276
  39161. #, no-wrap
  39162. msgid "{Data Type} certificate-configuration"
  39163. msgstr ""
  39164. #. type: deftp
  39165. #: guix-git/doc/guix.texi:26279
  39166. msgid "Data type representing the configuration of a certificate. This type has the following parameters:"
  39167. msgstr ""
  39168. #. type: item
  39169. #: guix-git/doc/guix.texi:26281
  39170. #, no-wrap
  39171. msgid "@code{name} (default: @i{see below})"
  39172. msgstr ""
  39173. #. type: table
  39174. #: guix-git/doc/guix.texi:26285
  39175. 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}."
  39176. msgstr ""
  39177. #. type: table
  39178. #: guix-git/doc/guix.texi:26287
  39179. msgid "Its default is the first provided domain."
  39180. msgstr ""
  39181. #. type: item
  39182. #: guix-git/doc/guix.texi:26288
  39183. #, no-wrap
  39184. msgid "@code{domains} (default: @code{()})"
  39185. msgstr ""
  39186. #. type: table
  39187. #: guix-git/doc/guix.texi:26291
  39188. msgid "The first domain provided will be the subject CN of the certificate, and all domains will be Subject Alternative Names on the certificate."
  39189. msgstr ""
  39190. #. type: item
  39191. #: guix-git/doc/guix.texi:26292
  39192. #, no-wrap
  39193. msgid "@code{challenge} (default: @code{#f})"
  39194. msgstr ""
  39195. #. type: table
  39196. #: guix-git/doc/guix.texi:26299
  39197. 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."
  39198. msgstr ""
  39199. #. type: item
  39200. #: guix-git/doc/guix.texi:26300
  39201. #, no-wrap
  39202. msgid "@code{csr} (default: @code{#f})"
  39203. msgstr ""
  39204. #. type: table
  39205. #: guix-git/doc/guix.texi:26307
  39206. msgid "File name of Certificate Signing Request (CSR) in DER or PEM format. If @code{#f} is specified, this argument will not be passed to certbot. If a value is specified, certbot will use it to obtain a certificate, instead of using a self-generated CSR. The domain-name(s) mentioned in @code{domains}, must be consistent with the domain-name(s) mentioned in CSR file."
  39207. msgstr ""
  39208. #. type: item
  39209. #: guix-git/doc/guix.texi:26308
  39210. #, no-wrap
  39211. msgid "@code{authentication-hook} (default: @code{#f})"
  39212. msgstr ""
  39213. #. type: table
  39214. #: guix-git/doc/guix.texi:26314
  39215. 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."
  39216. msgstr ""
  39217. #. type: item
  39218. #: guix-git/doc/guix.texi:26315
  39219. #, no-wrap
  39220. msgid "@code{cleanup-hook} (default: @code{#f})"
  39221. msgstr ""
  39222. #. type: table
  39223. #: guix-git/doc/guix.texi:26321
  39224. 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."
  39225. msgstr ""
  39226. #. type: item
  39227. #: guix-git/doc/guix.texi:26322
  39228. #, no-wrap
  39229. msgid "@code{deploy-hook} (default: @code{#f})"
  39230. msgstr ""
  39231. #. type: table
  39232. #: guix-git/doc/guix.texi:26330
  39233. 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\"}."
  39234. msgstr ""
  39235. #. type: Plain text
  39236. #: guix-git/doc/guix.texi:26337
  39237. 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}."
  39238. msgstr ""
  39239. #. type: cindex
  39240. #: guix-git/doc/guix.texi:26339
  39241. #, no-wrap
  39242. msgid "DNS (domain name system)"
  39243. msgstr ""
  39244. #. type: cindex
  39245. #: guix-git/doc/guix.texi:26340
  39246. #, no-wrap
  39247. msgid "domain name system (DNS)"
  39248. msgstr ""
  39249. #. type: Plain text
  39250. #: guix-git/doc/guix.texi:26348
  39251. 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}."
  39252. msgstr ""
  39253. #. type: subsubheading
  39254. #: guix-git/doc/guix.texi:26349
  39255. #, no-wrap
  39256. msgid "Knot Service"
  39257. msgstr ""
  39258. #. type: Plain text
  39259. #: guix-git/doc/guix.texi:26353
  39260. msgid "An example configuration of an authoritative server for two zones, one master and one slave, is:"
  39261. msgstr ""
  39262. #. type: lisp
  39263. #: guix-git/doc/guix.texi:26360
  39264. #, no-wrap
  39265. msgid ""
  39266. "(define-zone-entries example.org.zone\n"
  39267. ";; Name TTL Class Type Data\n"
  39268. " (\"@@\" \"\" \"IN\" \"A\" \"127.0.0.1\")\n"
  39269. " (\"@@\" \"\" \"IN\" \"NS\" \"ns\")\n"
  39270. " (\"ns\" \"\" \"IN\" \"A\" \"127.0.0.1\"))\n"
  39271. "\n"
  39272. msgstr ""
  39273. #. type: lisp
  39274. #: guix-git/doc/guix.texi:26367
  39275. #, no-wrap
  39276. msgid ""
  39277. "(define master-zone\n"
  39278. " (knot-zone-configuration\n"
  39279. " (domain \"example.org\")\n"
  39280. " (zone (zone-file\n"
  39281. " (origin \"example.org\")\n"
  39282. " (entries example.org.zone)))))\n"
  39283. "\n"
  39284. msgstr ""
  39285. #. type: lisp
  39286. #: guix-git/doc/guix.texi:26373
  39287. #, no-wrap
  39288. msgid ""
  39289. "(define slave-zone\n"
  39290. " (knot-zone-configuration\n"
  39291. " (domain \"plop.org\")\n"
  39292. " (dnssec-policy \"default\")\n"
  39293. " (master (list \"plop-master\"))))\n"
  39294. "\n"
  39295. msgstr ""
  39296. #. type: lisp
  39297. #: guix-git/doc/guix.texi:26378
  39298. #, no-wrap
  39299. msgid ""
  39300. "(define plop-master\n"
  39301. " (knot-remote-configuration\n"
  39302. " (id \"plop-master\")\n"
  39303. " (address (list \"208.76.58.171\"))))\n"
  39304. "\n"
  39305. msgstr ""
  39306. #. type: lisp
  39307. #: guix-git/doc/guix.texi:26387
  39308. #, no-wrap
  39309. msgid ""
  39310. "(operating-system\n"
  39311. " ;; ...\n"
  39312. " (services (cons* (service knot-service-type\n"
  39313. " (knot-configuration\n"
  39314. " (remotes (list plop-master))\n"
  39315. " (zones (list master-zone slave-zone))))\n"
  39316. " ;; ...\n"
  39317. " %base-services)))\n"
  39318. msgstr ""
  39319. #. type: deffn
  39320. #: guix-git/doc/guix.texi:26389
  39321. #, no-wrap
  39322. msgid "{Scheme Variable} knot-service-type"
  39323. msgstr ""
  39324. #. type: deffn
  39325. #: guix-git/doc/guix.texi:26391
  39326. msgid "This is the type for the Knot DNS server."
  39327. msgstr ""
  39328. #. type: deffn
  39329. #: guix-git/doc/guix.texi:26399
  39330. 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."
  39331. msgstr ""
  39332. #. type: deffn
  39333. #: guix-git/doc/guix.texi:26401
  39334. msgid "The following data types are used to configure the Knot DNS server:"
  39335. msgstr ""
  39336. #. type: deftp
  39337. #: guix-git/doc/guix.texi:26403
  39338. #, no-wrap
  39339. msgid "{Data Type} knot-key-configuration"
  39340. msgstr ""
  39341. #. type: deftp
  39342. #: guix-git/doc/guix.texi:26406
  39343. msgid "Data type representing a key. This type has the following parameters:"
  39344. msgstr ""
  39345. #. type: item
  39346. #: guix-git/doc/guix.texi:26408 guix-git/doc/guix.texi:26428
  39347. #: guix-git/doc/guix.texi:26543 guix-git/doc/guix.texi:26569
  39348. #: guix-git/doc/guix.texi:26604
  39349. #, no-wrap
  39350. msgid "@code{id} (default: @code{\"\"})"
  39351. msgstr ""
  39352. #. type: table
  39353. #: guix-git/doc/guix.texi:26411 guix-git/doc/guix.texi:26431
  39354. msgid "An identifier for other configuration fields to refer to this key. IDs must be unique and must not be empty."
  39355. msgstr ""
  39356. #. type: item
  39357. #: guix-git/doc/guix.texi:26412
  39358. #, no-wrap
  39359. msgid "@code{algorithm} (default: @code{#f})"
  39360. msgstr ""
  39361. #. type: table
  39362. #: guix-git/doc/guix.texi:26416
  39363. 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}."
  39364. msgstr ""
  39365. #. type: item
  39366. #: guix-git/doc/guix.texi:26417
  39367. #, no-wrap
  39368. msgid "@code{secret} (default: @code{\"\"})"
  39369. msgstr ""
  39370. #. type: table
  39371. #: guix-git/doc/guix.texi:26419
  39372. msgid "The secret key itself."
  39373. msgstr ""
  39374. #. type: deftp
  39375. #: guix-git/doc/guix.texi:26423
  39376. #, no-wrap
  39377. msgid "{Data Type} knot-acl-configuration"
  39378. msgstr ""
  39379. #. type: deftp
  39380. #: guix-git/doc/guix.texi:26426
  39381. msgid "Data type representing an Access Control List (ACL) configuration. This type has the following parameters:"
  39382. msgstr ""
  39383. #. type: item
  39384. #: guix-git/doc/guix.texi:26432 guix-git/doc/guix.texi:26547
  39385. #, no-wrap
  39386. msgid "@code{address} (default: @code{'()})"
  39387. msgstr ""
  39388. #. type: table
  39389. #: guix-git/doc/guix.texi:26436
  39390. 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."
  39391. msgstr ""
  39392. #. type: item
  39393. #: guix-git/doc/guix.texi:26437
  39394. #, no-wrap
  39395. msgid "@code{key} (default: @code{'()})"
  39396. msgstr ""
  39397. #. type: table
  39398. #: guix-git/doc/guix.texi:26441
  39399. 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."
  39400. msgstr ""
  39401. #. type: item
  39402. #: guix-git/doc/guix.texi:26442
  39403. #, no-wrap
  39404. msgid "@code{action} (default: @code{'()})"
  39405. msgstr ""
  39406. #. type: table
  39407. #: guix-git/doc/guix.texi:26446
  39408. 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}."
  39409. msgstr ""
  39410. #. type: item
  39411. #: guix-git/doc/guix.texi:26447
  39412. #, no-wrap
  39413. msgid "@code{deny?} (default: @code{#f})"
  39414. msgstr ""
  39415. #. type: table
  39416. #: guix-git/doc/guix.texi:26450
  39417. msgid "When true, the ACL defines restrictions. Listed actions are forbidden. When false, listed actions are allowed."
  39418. msgstr ""
  39419. #. type: deftp
  39420. #: guix-git/doc/guix.texi:26454
  39421. #, no-wrap
  39422. msgid "{Data Type} zone-entry"
  39423. msgstr ""
  39424. #. type: deftp
  39425. #: guix-git/doc/guix.texi:26457
  39426. msgid "Data type representing a record entry in a zone file. This type has the following parameters:"
  39427. msgstr ""
  39428. #. type: item
  39429. #: guix-git/doc/guix.texi:26459
  39430. #, no-wrap
  39431. msgid "@code{name} (default: @code{\"@@\"})"
  39432. msgstr ""
  39433. #. type: table
  39434. #: guix-git/doc/guix.texi:26465
  39435. 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}."
  39436. msgstr ""
  39437. #. type: item
  39438. #: guix-git/doc/guix.texi:26466
  39439. #, no-wrap
  39440. msgid "@code{ttl} (default: @code{\"\"})"
  39441. msgstr ""
  39442. #. type: table
  39443. #: guix-git/doc/guix.texi:26468
  39444. msgid "The Time-To-Live (TTL) of this record. If not set, the default TTL is used."
  39445. msgstr ""
  39446. #. type: item
  39447. #: guix-git/doc/guix.texi:26469
  39448. #, no-wrap
  39449. msgid "@code{class} (default: @code{\"IN\"})"
  39450. msgstr ""
  39451. #. type: table
  39452. #: guix-git/doc/guix.texi:26472
  39453. msgid "The class of the record. Knot currently supports only @code{\"IN\"} and partially @code{\"CH\"}."
  39454. msgstr ""
  39455. #. type: item
  39456. #: guix-git/doc/guix.texi:26473
  39457. #, no-wrap
  39458. msgid "@code{type} (default: @code{\"A\"})"
  39459. msgstr ""
  39460. #. type: table
  39461. #: guix-git/doc/guix.texi:26477
  39462. 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."
  39463. msgstr ""
  39464. #. type: item
  39465. #: guix-git/doc/guix.texi:26478
  39466. #, no-wrap
  39467. msgid "@code{data} (default: @code{\"\"})"
  39468. msgstr ""
  39469. #. type: table
  39470. #: guix-git/doc/guix.texi:26482
  39471. 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."
  39472. msgstr ""
  39473. #. type: deftp
  39474. #: guix-git/doc/guix.texi:26486
  39475. #, no-wrap
  39476. msgid "{Data Type} zone-file"
  39477. msgstr ""
  39478. #. type: deftp
  39479. #: guix-git/doc/guix.texi:26489
  39480. msgid "Data type representing the content of a zone file. This type has the following parameters:"
  39481. msgstr ""
  39482. #. type: table
  39483. #: guix-git/doc/guix.texi:26498
  39484. 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}."
  39485. msgstr ""
  39486. #. type: item
  39487. #: guix-git/doc/guix.texi:26499
  39488. #, no-wrap
  39489. msgid "@code{origin} (default: @code{\"\"})"
  39490. msgstr ""
  39491. #. type: table
  39492. #: guix-git/doc/guix.texi:26501
  39493. msgid "The name of your zone. This parameter cannot be empty."
  39494. msgstr ""
  39495. #. type: item
  39496. #: guix-git/doc/guix.texi:26502
  39497. #, no-wrap
  39498. msgid "@code{ns} (default: @code{\"ns\"})"
  39499. msgstr ""
  39500. #. type: table
  39501. #: guix-git/doc/guix.texi:26507
  39502. 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."
  39503. msgstr ""
  39504. #. type: item
  39505. #: guix-git/doc/guix.texi:26508
  39506. #, no-wrap
  39507. msgid "@code{mail} (default: @code{\"hostmaster\"})"
  39508. msgstr ""
  39509. #. type: table
  39510. #: guix-git/doc/guix.texi:26511
  39511. msgid "An email address people can contact you at, as the owner of the zone. This is translated as @code{<mail>@@<origin>}."
  39512. msgstr ""
  39513. #. type: item
  39514. #: guix-git/doc/guix.texi:26512
  39515. #, no-wrap
  39516. msgid "@code{serial} (default: @code{1})"
  39517. msgstr ""
  39518. #. type: table
  39519. #: guix-git/doc/guix.texi:26516
  39520. 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."
  39521. msgstr ""
  39522. #. type: item
  39523. #: guix-git/doc/guix.texi:26517
  39524. #, no-wrap
  39525. msgid "@code{refresh} (default: @code{(* 2 24 3600)})"
  39526. msgstr ""
  39527. #. type: table
  39528. #: guix-git/doc/guix.texi:26521
  39529. 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)}."
  39530. msgstr ""
  39531. #. type: item
  39532. #: guix-git/doc/guix.texi:26522
  39533. #, no-wrap
  39534. msgid "@code{retry} (default: @code{(* 15 60)})"
  39535. msgstr ""
  39536. #. type: table
  39537. #: guix-git/doc/guix.texi:26525
  39538. msgid "The period after which a slave will retry to contact its master when it fails to do so a first time."
  39539. msgstr ""
  39540. #. type: item
  39541. #: guix-git/doc/guix.texi:26526
  39542. #, no-wrap
  39543. msgid "@code{expiry} (default: @code{(* 14 24 3600)})"
  39544. msgstr ""
  39545. #. type: table
  39546. #: guix-git/doc/guix.texi:26530
  39547. 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."
  39548. msgstr ""
  39549. #. type: item
  39550. #: guix-git/doc/guix.texi:26531
  39551. #, no-wrap
  39552. msgid "@code{nx} (default: @code{3600})"
  39553. msgstr ""
  39554. #. type: table
  39555. #: guix-git/doc/guix.texi:26534
  39556. msgid "Default TTL of inexistent records. This delay is usually short because you want your new domains to reach everyone quickly."
  39557. msgstr ""
  39558. #. type: deftp
  39559. #: guix-git/doc/guix.texi:26538
  39560. #, no-wrap
  39561. msgid "{Data Type} knot-remote-configuration"
  39562. msgstr ""
  39563. #. type: deftp
  39564. #: guix-git/doc/guix.texi:26541
  39565. msgid "Data type representing a remote configuration. This type has the following parameters:"
  39566. msgstr ""
  39567. #. type: table
  39568. #: guix-git/doc/guix.texi:26546
  39569. msgid "An identifier for other configuration fields to refer to this remote. IDs must be unique and must not be empty."
  39570. msgstr ""
  39571. #. type: table
  39572. #: guix-git/doc/guix.texi:26551
  39573. 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."
  39574. msgstr ""
  39575. #. type: item
  39576. #: guix-git/doc/guix.texi:26552
  39577. #, no-wrap
  39578. msgid "@code{via} (default: @code{'()})"
  39579. msgstr ""
  39580. #. type: table
  39581. #: guix-git/doc/guix.texi:26556
  39582. 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."
  39583. msgstr ""
  39584. #. type: table
  39585. #: guix-git/doc/guix.texi:26560
  39586. msgid "A reference to a key, that is a string containing the identifier of a key defined in a @code{knot-key-configuration} field."
  39587. msgstr ""
  39588. #. type: deftp
  39589. #: guix-git/doc/guix.texi:26564
  39590. #, no-wrap
  39591. msgid "{Data Type} knot-keystore-configuration"
  39592. msgstr ""
  39593. #. type: deftp
  39594. #: guix-git/doc/guix.texi:26567
  39595. msgid "Data type representing a keystore to hold dnssec keys. This type has the following parameters:"
  39596. msgstr ""
  39597. #. type: table
  39598. #: guix-git/doc/guix.texi:26571
  39599. msgid "The id of the keystore. It must not be empty."
  39600. msgstr ""
  39601. #. type: item
  39602. #: guix-git/doc/guix.texi:26572
  39603. #, no-wrap
  39604. msgid "@code{backend} (default: @code{'pem})"
  39605. msgstr ""
  39606. #. type: table
  39607. #: guix-git/doc/guix.texi:26574
  39608. msgid "The backend to store the keys in. Can be @code{'pem} or @code{'pkcs11}."
  39609. msgstr ""
  39610. #. type: item
  39611. #: guix-git/doc/guix.texi:26575
  39612. #, no-wrap
  39613. msgid "@code{config} (default: @code{\"/var/lib/knot/keys/keys\"})"
  39614. msgstr ""
  39615. #. type: table
  39616. #: guix-git/doc/guix.texi:26579
  39617. 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."
  39618. msgstr ""
  39619. #. type: deftp
  39620. #: guix-git/doc/guix.texi:26583
  39621. #, no-wrap
  39622. msgid "{Data Type} knot-policy-configuration"
  39623. msgstr ""
  39624. #. type: deftp
  39625. #: guix-git/doc/guix.texi:26587
  39626. 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."
  39627. msgstr ""
  39628. #. type: deftp
  39629. #: guix-git/doc/guix.texi:26594
  39630. 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."
  39631. msgstr ""
  39632. #. type: deftp
  39633. #: guix-git/doc/guix.texi:26600
  39634. 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."
  39635. msgstr ""
  39636. #. type: deftp
  39637. #: guix-git/doc/guix.texi:26602
  39638. msgid "This type has the following parameters:"
  39639. msgstr ""
  39640. #. type: table
  39641. #: guix-git/doc/guix.texi:26606
  39642. msgid "The id of the policy. It must not be empty."
  39643. msgstr ""
  39644. #. type: item
  39645. #: guix-git/doc/guix.texi:26607
  39646. #, no-wrap
  39647. msgid "@code{keystore} (default: @code{\"default\"})"
  39648. msgstr ""
  39649. #. type: table
  39650. #: guix-git/doc/guix.texi:26612
  39651. 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)."
  39652. msgstr ""
  39653. #. type: item
  39654. #: guix-git/doc/guix.texi:26613
  39655. #, no-wrap
  39656. msgid "@code{manual?} (default: @code{#f})"
  39657. msgstr ""
  39658. #. type: table
  39659. #: guix-git/doc/guix.texi:26615
  39660. msgid "Whether the key management is manual or automatic."
  39661. msgstr ""
  39662. #. type: item
  39663. #: guix-git/doc/guix.texi:26616
  39664. #, no-wrap
  39665. msgid "@code{single-type-signing?} (default: @code{#f})"
  39666. msgstr ""
  39667. #. type: table
  39668. #: guix-git/doc/guix.texi:26618
  39669. msgid "When @code{#t}, use the Single-Type Signing Scheme."
  39670. msgstr ""
  39671. #. type: item
  39672. #: guix-git/doc/guix.texi:26619
  39673. #, no-wrap
  39674. msgid "@code{algorithm} (default: @code{\"ecdsap256sha256\"})"
  39675. msgstr ""
  39676. #. type: table
  39677. #: guix-git/doc/guix.texi:26621
  39678. msgid "An algorithm of signing keys and issued signatures."
  39679. msgstr ""
  39680. #. type: item
  39681. #: guix-git/doc/guix.texi:26622
  39682. #, no-wrap
  39683. msgid "@code{ksk-size} (default: @code{256})"
  39684. msgstr ""
  39685. #. type: table
  39686. #: guix-git/doc/guix.texi:26625
  39687. msgid "The length of the KSK@. Note that this value is correct for the default algorithm, but would be unsecure for other algorithms."
  39688. msgstr ""
  39689. #. type: item
  39690. #: guix-git/doc/guix.texi:26626
  39691. #, no-wrap
  39692. msgid "@code{zsk-size} (default: @code{256})"
  39693. msgstr ""
  39694. #. type: table
  39695. #: guix-git/doc/guix.texi:26629
  39696. msgid "The length of the ZSK@. Note that this value is correct for the default algorithm, but would be unsecure for other algorithms."
  39697. msgstr ""
  39698. #. type: item
  39699. #: guix-git/doc/guix.texi:26630
  39700. #, no-wrap
  39701. msgid "@code{dnskey-ttl} (default: @code{'default})"
  39702. msgstr ""
  39703. #. type: table
  39704. #: guix-git/doc/guix.texi:26633
  39705. msgid "The TTL value for DNSKEY records added into zone apex. The special @code{'default} value means same as the zone SOA TTL."
  39706. msgstr ""
  39707. #. type: item
  39708. #: guix-git/doc/guix.texi:26634
  39709. #, no-wrap
  39710. msgid "@code{zsk-lifetime} (default: @code{(* 30 24 3600)})"
  39711. msgstr ""
  39712. #. type: table
  39713. #: guix-git/doc/guix.texi:26636
  39714. msgid "The period between ZSK publication and the next rollover initiation."
  39715. msgstr ""
  39716. #. type: item
  39717. #: guix-git/doc/guix.texi:26637
  39718. #, no-wrap
  39719. msgid "@code{propagation-delay} (default: @code{(* 24 3600)})"
  39720. msgstr ""
  39721. #. type: table
  39722. #: guix-git/doc/guix.texi:26640
  39723. 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."
  39724. msgstr ""
  39725. #. type: item
  39726. #: guix-git/doc/guix.texi:26641
  39727. #, no-wrap
  39728. msgid "@code{rrsig-lifetime} (default: @code{(* 14 24 3600)})"
  39729. msgstr ""
  39730. #. type: table
  39731. #: guix-git/doc/guix.texi:26643
  39732. msgid "A validity period of newly issued signatures."
  39733. msgstr ""
  39734. #. type: item
  39735. #: guix-git/doc/guix.texi:26644
  39736. #, no-wrap
  39737. msgid "@code{rrsig-refresh} (default: @code{(* 7 24 3600)})"
  39738. msgstr ""
  39739. #. type: table
  39740. #: guix-git/doc/guix.texi:26646
  39741. msgid "A period how long before a signature expiration the signature will be refreshed."
  39742. msgstr ""
  39743. #. type: item
  39744. #: guix-git/doc/guix.texi:26647
  39745. #, no-wrap
  39746. msgid "@code{nsec3?} (default: @code{#f})"
  39747. msgstr ""
  39748. #. type: table
  39749. #: guix-git/doc/guix.texi:26649
  39750. msgid "When @code{#t}, NSEC3 will be used instead of NSEC."
  39751. msgstr ""
  39752. #. type: item
  39753. #: guix-git/doc/guix.texi:26650
  39754. #, no-wrap
  39755. msgid "@code{nsec3-iterations} (default: @code{5})"
  39756. msgstr ""
  39757. #. type: table
  39758. #: guix-git/doc/guix.texi:26652
  39759. msgid "The number of additional times the hashing is performed."
  39760. msgstr ""
  39761. #. type: item
  39762. #: guix-git/doc/guix.texi:26653
  39763. #, no-wrap
  39764. msgid "@code{nsec3-salt-length} (default: @code{8})"
  39765. msgstr ""
  39766. #. type: table
  39767. #: guix-git/doc/guix.texi:26656
  39768. msgid "The length of a salt field in octets, which is appended to the original owner name before hashing."
  39769. msgstr ""
  39770. #. type: item
  39771. #: guix-git/doc/guix.texi:26657
  39772. #, no-wrap
  39773. msgid "@code{nsec3-salt-lifetime} (default: @code{(* 30 24 3600)})"
  39774. msgstr ""
  39775. #. type: table
  39776. #: guix-git/doc/guix.texi:26659
  39777. msgid "The validity period of newly issued salt field."
  39778. msgstr ""
  39779. #. type: deftp
  39780. #: guix-git/doc/guix.texi:26663
  39781. #, no-wrap
  39782. msgid "{Data Type} knot-zone-configuration"
  39783. msgstr ""
  39784. #. type: deftp
  39785. #: guix-git/doc/guix.texi:26666
  39786. msgid "Data type representing a zone served by Knot. This type has the following parameters:"
  39787. msgstr ""
  39788. #. type: item
  39789. #: guix-git/doc/guix.texi:26668
  39790. #, no-wrap
  39791. msgid "@code{domain} (default: @code{\"\"})"
  39792. msgstr ""
  39793. #. type: table
  39794. #: guix-git/doc/guix.texi:26670
  39795. msgid "The domain served by this configuration. It must not be empty."
  39796. msgstr ""
  39797. #. type: item
  39798. #: guix-git/doc/guix.texi:26671
  39799. #, no-wrap
  39800. msgid "@code{file} (default: @code{\"\"})"
  39801. msgstr ""
  39802. #. type: table
  39803. #: guix-git/doc/guix.texi:26674
  39804. 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."
  39805. msgstr ""
  39806. #. type: item
  39807. #: guix-git/doc/guix.texi:26675
  39808. #, no-wrap
  39809. msgid "@code{zone} (default: @code{(zone-file)})"
  39810. msgstr ""
  39811. #. type: table
  39812. #: guix-git/doc/guix.texi:26678
  39813. msgid "The content of the zone file. This parameter is ignored by slave zones. It must contain a zone-file record."
  39814. msgstr ""
  39815. #. type: item
  39816. #: guix-git/doc/guix.texi:26679
  39817. #, no-wrap
  39818. msgid "@code{master} (default: @code{'()})"
  39819. msgstr ""
  39820. #. type: table
  39821. #: guix-git/doc/guix.texi:26682
  39822. 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."
  39823. msgstr ""
  39824. #. type: item
  39825. #: guix-git/doc/guix.texi:26683
  39826. #, no-wrap
  39827. msgid "@code{ddns-master} (default: @code{#f})"
  39828. msgstr ""
  39829. #. type: table
  39830. #: guix-git/doc/guix.texi:26686
  39831. msgid "The main master. When empty, it defaults to the first master in the list of masters."
  39832. msgstr ""
  39833. #. type: item
  39834. #: guix-git/doc/guix.texi:26687
  39835. #, no-wrap
  39836. msgid "@code{notify} (default: @code{'()})"
  39837. msgstr ""
  39838. #. type: table
  39839. #: guix-git/doc/guix.texi:26689
  39840. msgid "A list of slave remote identifiers."
  39841. msgstr ""
  39842. #. type: item
  39843. #: guix-git/doc/guix.texi:26690
  39844. #, no-wrap
  39845. msgid "@code{acl} (default: @code{'()})"
  39846. msgstr ""
  39847. #. type: table
  39848. #: guix-git/doc/guix.texi:26692
  39849. msgid "A list of acl identifiers."
  39850. msgstr ""
  39851. #. type: item
  39852. #: guix-git/doc/guix.texi:26693
  39853. #, no-wrap
  39854. msgid "@code{semantic-checks?} (default: @code{#f})"
  39855. msgstr ""
  39856. #. type: table
  39857. #: guix-git/doc/guix.texi:26695
  39858. msgid "When set, this adds more semantic checks to the zone."
  39859. msgstr ""
  39860. #. type: item
  39861. #: guix-git/doc/guix.texi:26696
  39862. #, no-wrap
  39863. msgid "@code{disable-any?} (default: @code{#f})"
  39864. msgstr ""
  39865. #. type: table
  39866. #: guix-git/doc/guix.texi:26698
  39867. msgid "When set, this forbids queries of the ANY type."
  39868. msgstr ""
  39869. #. type: item
  39870. #: guix-git/doc/guix.texi:26699
  39871. #, no-wrap
  39872. msgid "@code{zonefile-sync} (default: @code{0})"
  39873. msgstr ""
  39874. #. type: table
  39875. #: guix-git/doc/guix.texi:26702
  39876. msgid "The delay between a modification in memory and on disk. 0 means immediate synchronization."
  39877. msgstr ""
  39878. #. type: item
  39879. #: guix-git/doc/guix.texi:26703
  39880. #, no-wrap
  39881. msgid "@code{zonefile-load} (default: @code{#f})"
  39882. msgstr ""
  39883. #. type: table
  39884. #: guix-git/doc/guix.texi:26706
  39885. msgid "The way the zone file contents are applied during zone load. Possible values are:"
  39886. msgstr ""
  39887. #. type: item
  39888. #: guix-git/doc/guix.texi:26708
  39889. #, no-wrap
  39890. msgid "@code{#f} for using the default value from Knot,"
  39891. msgstr ""
  39892. #. type: item
  39893. #: guix-git/doc/guix.texi:26709
  39894. #, no-wrap
  39895. msgid "@code{'none} for not using the zone file at all,"
  39896. msgstr ""
  39897. #. type: item
  39898. #: guix-git/doc/guix.texi:26710
  39899. #, no-wrap
  39900. msgid "@code{'difference} for computing the difference between already available"
  39901. msgstr ""
  39902. #. type: itemize
  39903. #: guix-git/doc/guix.texi:26712
  39904. msgid "contents and zone contents and applying it to the current zone contents,"
  39905. msgstr ""
  39906. #. type: item
  39907. #: guix-git/doc/guix.texi:26712
  39908. #, no-wrap
  39909. msgid "@code{'difference-no-serial} for the same as @code{'difference}, but"
  39910. msgstr ""
  39911. #. type: itemize
  39912. #: guix-git/doc/guix.texi:26715
  39913. msgid "ignoring the SOA serial in the zone file, while the server takes care of it automatically."
  39914. msgstr ""
  39915. #. type: item
  39916. #: guix-git/doc/guix.texi:26715
  39917. #, no-wrap
  39918. msgid "@code{'whole} for loading zone contents from the zone file."
  39919. msgstr ""
  39920. #. type: item
  39921. #: guix-git/doc/guix.texi:26718
  39922. #, no-wrap
  39923. msgid "@code{journal-content} (default: @code{#f})"
  39924. msgstr ""
  39925. #. type: table
  39926. #: guix-git/doc/guix.texi:26723
  39927. 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."
  39928. msgstr ""
  39929. #. type: item
  39930. #: guix-git/doc/guix.texi:26724
  39931. #, no-wrap
  39932. msgid "@code{max-journal-usage} (default: @code{#f})"
  39933. msgstr ""
  39934. #. type: table
  39935. #: guix-git/doc/guix.texi:26727
  39936. msgid "The maximum size for the journal on disk. @code{#f} does not set this option, so the default value from Knot is used."
  39937. msgstr ""
  39938. #. type: item
  39939. #: guix-git/doc/guix.texi:26728
  39940. #, no-wrap
  39941. msgid "@code{max-journal-depth} (default: @code{#f})"
  39942. msgstr ""
  39943. #. type: table
  39944. #: guix-git/doc/guix.texi:26731
  39945. msgid "The maximum size of the history. @code{#f} does not set this option, so the default value from Knot is used."
  39946. msgstr ""
  39947. #. type: item
  39948. #: guix-git/doc/guix.texi:26732
  39949. #, no-wrap
  39950. msgid "@code{max-zone-size} (default: @code{#f})"
  39951. msgstr ""
  39952. #. type: table
  39953. #: guix-git/doc/guix.texi:26736
  39954. 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."
  39955. msgstr ""
  39956. #. type: item
  39957. #: guix-git/doc/guix.texi:26737
  39958. #, no-wrap
  39959. msgid "@code{dnssec-policy} (default: @code{#f})"
  39960. msgstr ""
  39961. #. type: table
  39962. #: guix-git/doc/guix.texi:26741
  39963. 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."
  39964. msgstr ""
  39965. #. type: item
  39966. #: guix-git/doc/guix.texi:26742
  39967. #, no-wrap
  39968. msgid "@code{serial-policy} (default: @code{'increment})"
  39969. msgstr ""
  39970. #. type: table
  39971. #: guix-git/doc/guix.texi:26744
  39972. msgid "A policy between @code{'increment} and @code{'unixtime}."
  39973. msgstr ""
  39974. #. type: deftp
  39975. #: guix-git/doc/guix.texi:26748
  39976. #, no-wrap
  39977. msgid "{Data Type} knot-configuration"
  39978. msgstr ""
  39979. #. type: deftp
  39980. #: guix-git/doc/guix.texi:26751
  39981. msgid "Data type representing the Knot configuration. This type has the following parameters:"
  39982. msgstr ""
  39983. #. type: item
  39984. #: guix-git/doc/guix.texi:26753
  39985. #, no-wrap
  39986. msgid "@code{knot} (default: @code{knot})"
  39987. msgstr ""
  39988. #. type: table
  39989. #: guix-git/doc/guix.texi:26755
  39990. msgid "The Knot package."
  39991. msgstr ""
  39992. #. type: item
  39993. #: guix-git/doc/guix.texi:26756
  39994. #, no-wrap
  39995. msgid "@code{run-directory} (default: @code{\"/var/run/knot\"})"
  39996. msgstr ""
  39997. #. type: table
  39998. #: guix-git/doc/guix.texi:26758
  39999. msgid "The run directory. This directory will be used for pid file and sockets."
  40000. msgstr ""
  40001. #. type: item
  40002. #: guix-git/doc/guix.texi:26759
  40003. #, no-wrap
  40004. msgid "@code{includes} (default: @code{'()})"
  40005. msgstr ""
  40006. #. type: table
  40007. #: guix-git/doc/guix.texi:26762
  40008. msgid "A list of strings or file-like objects denoting other files that must be included at the top of the configuration file."
  40009. msgstr ""
  40010. #. type: cindex
  40011. #: guix-git/doc/guix.texi:26763
  40012. #, no-wrap
  40013. msgid "secrets, Knot service"
  40014. msgstr ""
  40015. #. type: table
  40016. #: guix-git/doc/guix.texi:26769
  40017. 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."
  40018. msgstr ""
  40019. #. type: table
  40020. #: guix-git/doc/guix.texi:26774
  40021. 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:"
  40022. msgstr ""
  40023. #. type: example
  40024. #: guix-git/doc/guix.texi:26778
  40025. #, no-wrap
  40026. msgid ""
  40027. "keymgr -t mysecret > /etc/knot/secrets.conf\n"
  40028. "chmod 600 /etc/knot/secrets.conf\n"
  40029. msgstr ""
  40030. #. type: table
  40031. #: guix-git/doc/guix.texi:26784
  40032. 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."
  40033. msgstr ""
  40034. #. type: table
  40035. #: guix-git/doc/guix.texi:26786
  40036. msgid "It can also be used to add configuration not supported by this interface."
  40037. msgstr ""
  40038. #. type: item
  40039. #: guix-git/doc/guix.texi:26787
  40040. #, no-wrap
  40041. msgid "@code{listen-v4} (default: @code{\"0.0.0.0\"})"
  40042. msgstr ""
  40043. #. type: table
  40044. #: guix-git/doc/guix.texi:26789 guix-git/doc/guix.texi:26792
  40045. msgid "An ip address on which to listen."
  40046. msgstr ""
  40047. #. type: item
  40048. #: guix-git/doc/guix.texi:26790
  40049. #, no-wrap
  40050. msgid "@code{listen-v6} (default: @code{\"::\"})"
  40051. msgstr ""
  40052. #. type: item
  40053. #: guix-git/doc/guix.texi:26793
  40054. #, no-wrap
  40055. msgid "@code{listen-port} (default: @code{53})"
  40056. msgstr ""
  40057. #. type: table
  40058. #: guix-git/doc/guix.texi:26795
  40059. msgid "A port on which to listen."
  40060. msgstr ""
  40061. #. type: item
  40062. #: guix-git/doc/guix.texi:26796
  40063. #, no-wrap
  40064. msgid "@code{keys} (default: @code{'()})"
  40065. msgstr ""
  40066. #. type: table
  40067. #: guix-git/doc/guix.texi:26798
  40068. msgid "The list of knot-key-configuration used by this configuration."
  40069. msgstr ""
  40070. #. type: item
  40071. #: guix-git/doc/guix.texi:26799
  40072. #, no-wrap
  40073. msgid "@code{acls} (default: @code{'()})"
  40074. msgstr ""
  40075. #. type: table
  40076. #: guix-git/doc/guix.texi:26801
  40077. msgid "The list of knot-acl-configuration used by this configuration."
  40078. msgstr ""
  40079. #. type: item
  40080. #: guix-git/doc/guix.texi:26802
  40081. #, no-wrap
  40082. msgid "@code{remotes} (default: @code{'()})"
  40083. msgstr ""
  40084. #. type: table
  40085. #: guix-git/doc/guix.texi:26804
  40086. msgid "The list of knot-remote-configuration used by this configuration."
  40087. msgstr ""
  40088. #. type: item
  40089. #: guix-git/doc/guix.texi:26805
  40090. #, no-wrap
  40091. msgid "@code{zones} (default: @code{'()})"
  40092. msgstr ""
  40093. #. type: table
  40094. #: guix-git/doc/guix.texi:26807
  40095. msgid "The list of knot-zone-configuration used by this configuration."
  40096. msgstr ""
  40097. #. type: subsubheading
  40098. #: guix-git/doc/guix.texi:26811
  40099. #, no-wrap
  40100. msgid "Knot Resolver Service"
  40101. msgstr ""
  40102. #. type: deffn
  40103. #: guix-git/doc/guix.texi:26813
  40104. #, no-wrap
  40105. msgid "{Scheme Variable} knot-resolver-service-type"
  40106. msgstr ""
  40107. #. type: deffn
  40108. #: guix-git/doc/guix.texi:26816
  40109. msgid "This is the type of the knot resolver service, whose value should be an @code{knot-resolver-configuration} object as in this example:"
  40110. msgstr ""
  40111. #. type: lisp
  40112. #: guix-git/doc/guix.texi:26826
  40113. #, no-wrap
  40114. msgid ""
  40115. "(service knot-resolver-service-type\n"
  40116. " (knot-resolver-configuration\n"
  40117. " (kresd-config-file (plain-file \"kresd.conf\" \"\n"
  40118. "net.listen('192.168.0.1', 5353)\n"
  40119. "user('knot-resolver', 'knot-resolver')\n"
  40120. "modules = @{ 'hints > iterate', 'stats', 'predict' @}\n"
  40121. "cache.size = 100 * MB\n"
  40122. "\"))))\n"
  40123. msgstr ""
  40124. #. type: deffn
  40125. #: guix-git/doc/guix.texi:26829
  40126. msgid "For more information, refer its @url{https://knot-resolver.readthedocs.org/en/stable/daemon.html#configuration, manual}."
  40127. msgstr ""
  40128. #. type: deftp
  40129. #: guix-git/doc/guix.texi:26831
  40130. #, no-wrap
  40131. msgid "{Data Type} knot-resolver-configuration"
  40132. msgstr ""
  40133. #. type: deftp
  40134. #: guix-git/doc/guix.texi:26833
  40135. msgid "Data type representing the configuration of knot-resolver."
  40136. msgstr ""
  40137. #. type: item
  40138. #: guix-git/doc/guix.texi:26835
  40139. #, no-wrap
  40140. msgid "@code{package} (default: @var{knot-resolver})"
  40141. msgstr ""
  40142. #. type: table
  40143. #: guix-git/doc/guix.texi:26837
  40144. msgid "Package object of the knot DNS resolver."
  40145. msgstr ""
  40146. #. type: item
  40147. #: guix-git/doc/guix.texi:26838
  40148. #, no-wrap
  40149. msgid "@code{kresd-config-file} (default: %kresd.conf)"
  40150. msgstr ""
  40151. #. type: table
  40152. #: guix-git/doc/guix.texi:26841
  40153. 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}."
  40154. msgstr ""
  40155. #. type: item
  40156. #: guix-git/doc/guix.texi:26842
  40157. #, no-wrap
  40158. msgid "@code{garbage-collection-interval} (default: 1000)"
  40159. msgstr ""
  40160. #. type: table
  40161. #: guix-git/doc/guix.texi:26844
  40162. msgid "Number of milliseconds for @code{kres-cache-gc} to periodically trim the cache."
  40163. msgstr ""
  40164. #. type: subsubheading
  40165. #: guix-git/doc/guix.texi:26849
  40166. #, no-wrap
  40167. msgid "Dnsmasq Service"
  40168. msgstr ""
  40169. #. type: deffn
  40170. #: guix-git/doc/guix.texi:26851
  40171. #, no-wrap
  40172. msgid "{Scheme Variable} dnsmasq-service-type"
  40173. msgstr ""
  40174. #. type: deffn
  40175. #: guix-git/doc/guix.texi:26854
  40176. msgid "This is the type of the dnsmasq service, whose value should be an @code{dnsmasq-configuration} object as in this example:"
  40177. msgstr ""
  40178. #. type: lisp
  40179. #: guix-git/doc/guix.texi:26860
  40180. #, no-wrap
  40181. msgid ""
  40182. "(service dnsmasq-service-type\n"
  40183. " (dnsmasq-configuration\n"
  40184. " (no-resolv? #t)\n"
  40185. " (servers '(\"192.168.1.1\"))))\n"
  40186. msgstr ""
  40187. #. type: deftp
  40188. #: guix-git/doc/guix.texi:26863
  40189. #, no-wrap
  40190. msgid "{Data Type} dnsmasq-configuration"
  40191. msgstr ""
  40192. #. type: deftp
  40193. #: guix-git/doc/guix.texi:26865
  40194. msgid "Data type representing the configuration of dnsmasq."
  40195. msgstr ""
  40196. #. type: item
  40197. #: guix-git/doc/guix.texi:26867
  40198. #, no-wrap
  40199. msgid "@code{package} (default: @var{dnsmasq})"
  40200. msgstr ""
  40201. #. type: table
  40202. #: guix-git/doc/guix.texi:26869
  40203. msgid "Package object of the dnsmasq server."
  40204. msgstr ""
  40205. #. type: item
  40206. #: guix-git/doc/guix.texi:26870
  40207. #, no-wrap
  40208. msgid "@code{no-hosts?} (default: @code{#f})"
  40209. msgstr ""
  40210. #. type: table
  40211. #: guix-git/doc/guix.texi:26872
  40212. msgid "When true, don't read the hostnames in /etc/hosts."
  40213. msgstr ""
  40214. #. type: item
  40215. #: guix-git/doc/guix.texi:26873
  40216. #, no-wrap
  40217. msgid "@code{port} (default: @code{53})"
  40218. msgstr ""
  40219. #. type: table
  40220. #: guix-git/doc/guix.texi:26876
  40221. msgid "The port to listen on. Setting this to zero completely disables DNS responses, leaving only DHCP and/or TFTP functions."
  40222. msgstr ""
  40223. #. type: item
  40224. #: guix-git/doc/guix.texi:26877
  40225. #, no-wrap
  40226. msgid "@code{local-service?} (default: @code{#t})"
  40227. msgstr ""
  40228. #. type: table
  40229. #: guix-git/doc/guix.texi:26880
  40230. 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."
  40231. msgstr ""
  40232. #. type: item
  40233. #: guix-git/doc/guix.texi:26881
  40234. #, no-wrap
  40235. msgid "@code{listen-addresses} (default: @code{'()})"
  40236. msgstr ""
  40237. #. type: table
  40238. #: guix-git/doc/guix.texi:26883
  40239. msgid "Listen on the given IP addresses."
  40240. msgstr ""
  40241. #. type: item
  40242. #: guix-git/doc/guix.texi:26884
  40243. #, no-wrap
  40244. msgid "@code{resolv-file} (default: @code{\"/etc/resolv.conf\"})"
  40245. msgstr ""
  40246. #. type: table
  40247. #: guix-git/doc/guix.texi:26886
  40248. msgid "The file to read the IP address of the upstream nameservers from."
  40249. msgstr ""
  40250. #. type: item
  40251. #: guix-git/doc/guix.texi:26887
  40252. #, no-wrap
  40253. msgid "@code{no-resolv?} (default: @code{#f})"
  40254. msgstr ""
  40255. #. type: table
  40256. #: guix-git/doc/guix.texi:26889
  40257. msgid "When true, don't read @var{resolv-file}."
  40258. msgstr ""
  40259. #. type: item
  40260. #: guix-git/doc/guix.texi:26890
  40261. #, no-wrap
  40262. msgid "@code{servers} (default: @code{'()})"
  40263. msgstr ""
  40264. #. type: table
  40265. #: guix-git/doc/guix.texi:26892
  40266. msgid "Specify IP address of upstream servers directly."
  40267. msgstr ""
  40268. #. type: item
  40269. #: guix-git/doc/guix.texi:26893
  40270. #, no-wrap
  40271. msgid "@code{addresses} (default: @code{'()})"
  40272. msgstr ""
  40273. #. type: table
  40274. #: guix-git/doc/guix.texi:26897
  40275. 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."
  40276. msgstr ""
  40277. #. type: table
  40278. #: guix-git/doc/guix.texi:26899
  40279. msgid "This is useful for redirecting hosts locally, for example:"
  40280. msgstr ""
  40281. #. type: lisp
  40282. #: guix-git/doc/guix.texi:26908
  40283. #, no-wrap
  40284. msgid ""
  40285. "(service dnsmasq-service-type\n"
  40286. " (dnsmasq-configuration\n"
  40287. " (addresses\n"
  40288. " '(; Redirect to a local web-server.\n"
  40289. " \"/example.org/127.0.0.1\"\n"
  40290. " ; Redirect subdomain to a specific IP.\n"
  40291. " \"/subdomain.example.org/192.168.1.42\"))))\n"
  40292. msgstr ""
  40293. #. type: table
  40294. #: guix-git/doc/guix.texi:26911
  40295. msgid "Note that rules in @file{/etc/hosts} take precedence over this."
  40296. msgstr ""
  40297. #. type: item
  40298. #: guix-git/doc/guix.texi:26912
  40299. #, no-wrap
  40300. msgid "@code{cache-size} (default: @code{150})"
  40301. msgstr ""
  40302. #. type: table
  40303. #: guix-git/doc/guix.texi:26915
  40304. msgid "Set the size of dnsmasq's cache. Setting the cache size to zero disables caching."
  40305. msgstr ""
  40306. #. type: item
  40307. #: guix-git/doc/guix.texi:26916
  40308. #, no-wrap
  40309. msgid "@code{negative-cache?} (default: @code{#t})"
  40310. msgstr ""
  40311. #. type: table
  40312. #: guix-git/doc/guix.texi:26918
  40313. msgid "When false, disable negative caching."
  40314. msgstr ""
  40315. #. type: item
  40316. #: guix-git/doc/guix.texi:26919
  40317. #, no-wrap
  40318. msgid "@code{tftp-enable?} (default: @code{#f})"
  40319. msgstr ""
  40320. #. type: table
  40321. #: guix-git/doc/guix.texi:26921
  40322. msgid "Whether to enable the built-in TFTP server."
  40323. msgstr ""
  40324. #. type: item
  40325. #: guix-git/doc/guix.texi:26922
  40326. #, no-wrap
  40327. msgid "@code{tftp-no-fail?} (default: @code{#f})"
  40328. msgstr ""
  40329. #. type: table
  40330. #: guix-git/doc/guix.texi:26924
  40331. msgid "If true, does not fail dnsmasq if the TFTP server could not start up."
  40332. msgstr ""
  40333. #. type: item
  40334. #: guix-git/doc/guix.texi:26925
  40335. #, no-wrap
  40336. msgid "@code{tftp-single-port?} (default: @code{#f})"
  40337. msgstr ""
  40338. #. type: table
  40339. #: guix-git/doc/guix.texi:26927
  40340. msgid "Whether to use only one single port for TFTP."
  40341. msgstr ""
  40342. #. type: item
  40343. #: guix-git/doc/guix.texi:26928
  40344. #, no-wrap
  40345. msgid "@code{tftp-secure?} (default: @code{#f})"
  40346. msgstr ""
  40347. #. type: table
  40348. #: guix-git/doc/guix.texi:26930
  40349. msgid "If true, only files owned by the user running the dnsmasq process are accessible."
  40350. msgstr ""
  40351. #. type: table
  40352. #: guix-git/doc/guix.texi:26934
  40353. 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."
  40354. msgstr ""
  40355. #. type: item
  40356. #: guix-git/doc/guix.texi:26935
  40357. #, no-wrap
  40358. msgid "@code{tftp-max} (default: @code{#f})"
  40359. msgstr ""
  40360. #. type: table
  40361. #: guix-git/doc/guix.texi:26937
  40362. msgid "If set, sets the maximal number of concurrent connections allowed."
  40363. msgstr ""
  40364. #. type: item
  40365. #: guix-git/doc/guix.texi:26938
  40366. #, no-wrap
  40367. msgid "@code{tftp-mtu} (default: @code{#f})"
  40368. msgstr ""
  40369. #. type: table
  40370. #: guix-git/doc/guix.texi:26940
  40371. msgid "If set, sets the MTU for TFTP packets to that value."
  40372. msgstr ""
  40373. #. type: item
  40374. #: guix-git/doc/guix.texi:26941
  40375. #, no-wrap
  40376. msgid "@code{tftp-no-blocksize?} (default: @code{#f})"
  40377. msgstr ""
  40378. #. type: table
  40379. #: guix-git/doc/guix.texi:26943
  40380. msgid "If true, stops the TFTP server from negotiating the blocksize with a client."
  40381. msgstr ""
  40382. #. type: item
  40383. #: guix-git/doc/guix.texi:26944
  40384. #, no-wrap
  40385. msgid "@code{tftp-lowercase?} (default: @code{#f})"
  40386. msgstr ""
  40387. #. type: table
  40388. #: guix-git/doc/guix.texi:26946
  40389. msgid "Whether to convert all filenames in TFTP requests to lowercase."
  40390. msgstr ""
  40391. #. type: item
  40392. #: guix-git/doc/guix.texi:26947
  40393. #, no-wrap
  40394. msgid "@code{tftp-port-range} (default: @code{#f})"
  40395. msgstr ""
  40396. #. type: table
  40397. #: guix-git/doc/guix.texi:26950
  40398. msgid "If set, fixes the dynamical ports (one per client) to the given range (@code{\"<start>,<end>\"})."
  40399. msgstr ""
  40400. #. type: item
  40401. #: guix-git/doc/guix.texi:26951
  40402. #, no-wrap
  40403. msgid "@code{tftp-root} (default: @code{/var/empty,lo})"
  40404. msgstr ""
  40405. #. type: table
  40406. #: guix-git/doc/guix.texi:26958
  40407. 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."
  40408. msgstr ""
  40409. #. type: item
  40410. #: guix-git/doc/guix.texi:26959
  40411. #, no-wrap
  40412. msgid "@code{tftp-unique-root} (default: @code{#f})"
  40413. msgstr ""
  40414. #. type: table
  40415. #: guix-git/doc/guix.texi:26964
  40416. 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)."
  40417. msgstr ""
  40418. #. type: table
  40419. #: guix-git/doc/guix.texi:26973
  40420. 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."
  40421. msgstr ""
  40422. #. type: subsubheading
  40423. #: guix-git/doc/guix.texi:26977
  40424. #, no-wrap
  40425. msgid "ddclient Service"
  40426. msgstr ""
  40427. #. type: cindex
  40428. #: guix-git/doc/guix.texi:26979
  40429. #, no-wrap
  40430. msgid "ddclient"
  40431. msgstr ""
  40432. #. type: Plain text
  40433. #: guix-git/doc/guix.texi:26983
  40434. 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}."
  40435. msgstr ""
  40436. #. type: Plain text
  40437. #: guix-git/doc/guix.texi:26986
  40438. msgid "The following example show instantiates the service with its default configuration:"
  40439. msgstr ""
  40440. #. type: lisp
  40441. #: guix-git/doc/guix.texi:26989
  40442. #, no-wrap
  40443. msgid "(service ddclient-service-type)\n"
  40444. msgstr ""
  40445. #. type: Plain text
  40446. #: guix-git/doc/guix.texi:26998
  40447. 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."
  40448. msgstr ""
  40449. #. type: Plain text
  40450. #: guix-git/doc/guix.texi:27002
  40451. msgid "Available @code{ddclient-configuration} fields are:"
  40452. msgstr ""
  40453. #. type: deftypevr
  40454. #: guix-git/doc/guix.texi:27003
  40455. #, no-wrap
  40456. msgid "{@code{ddclient-configuration} parameter} package ddclient"
  40457. msgstr ""
  40458. #. type: deftypevr
  40459. #: guix-git/doc/guix.texi:27005
  40460. msgid "The ddclient package."
  40461. msgstr ""
  40462. #. type: deftypevr
  40463. #: guix-git/doc/guix.texi:27008
  40464. #, no-wrap
  40465. msgid "{@code{ddclient-configuration} parameter} integer daemon"
  40466. msgstr ""
  40467. #. type: deftypevr
  40468. #: guix-git/doc/guix.texi:27010
  40469. msgid "The period after which ddclient will retry to check IP and domain name."
  40470. msgstr ""
  40471. #. type: deftypevr
  40472. #: guix-git/doc/guix.texi:27015
  40473. #, no-wrap
  40474. msgid "{@code{ddclient-configuration} parameter} boolean syslog"
  40475. msgstr ""
  40476. #. type: deftypevr
  40477. #: guix-git/doc/guix.texi:27017
  40478. msgid "Use syslog for the output."
  40479. msgstr ""
  40480. #. type: deftypevr
  40481. #: guix-git/doc/guix.texi:27022
  40482. #, no-wrap
  40483. msgid "{@code{ddclient-configuration} parameter} string mail"
  40484. msgstr ""
  40485. #. type: deftypevr
  40486. #: guix-git/doc/guix.texi:27024
  40487. msgid "Mail to user."
  40488. msgstr ""
  40489. #. type: deftypevr
  40490. #: guix-git/doc/guix.texi:27026 guix-git/doc/guix.texi:27033
  40491. #: guix-git/doc/guix.texi:28829
  40492. msgid "Defaults to @samp{\"root\"}."
  40493. msgstr ""
  40494. #. type: deftypevr
  40495. #: guix-git/doc/guix.texi:27029
  40496. #, no-wrap
  40497. msgid "{@code{ddclient-configuration} parameter} string mail-failure"
  40498. msgstr ""
  40499. #. type: deftypevr
  40500. #: guix-git/doc/guix.texi:27031
  40501. msgid "Mail failed update to user."
  40502. msgstr ""
  40503. #. type: deftypevr
  40504. #: guix-git/doc/guix.texi:27036
  40505. #, no-wrap
  40506. msgid "{@code{ddclient-configuration} parameter} string pid"
  40507. msgstr ""
  40508. #. type: deftypevr
  40509. #: guix-git/doc/guix.texi:27038
  40510. msgid "The ddclient PID file."
  40511. msgstr ""
  40512. #. type: deftypevr
  40513. #: guix-git/doc/guix.texi:27040
  40514. msgid "Defaults to @samp{\"/var/run/ddclient/ddclient.pid\"}."
  40515. msgstr ""
  40516. #. type: deftypevr
  40517. #: guix-git/doc/guix.texi:27043
  40518. #, no-wrap
  40519. msgid "{@code{ddclient-configuration} parameter} boolean ssl"
  40520. msgstr ""
  40521. #. type: deftypevr
  40522. #: guix-git/doc/guix.texi:27045
  40523. msgid "Enable SSL support."
  40524. msgstr ""
  40525. #. type: deftypevr
  40526. #: guix-git/doc/guix.texi:27050
  40527. #, no-wrap
  40528. msgid "{@code{ddclient-configuration} parameter} string user"
  40529. msgstr ""
  40530. #. type: deftypevr
  40531. #: guix-git/doc/guix.texi:27053
  40532. msgid "Specifies the user name or ID that is used when running ddclient program."
  40533. msgstr ""
  40534. #. type: deftypevr
  40535. #: guix-git/doc/guix.texi:27055 guix-git/doc/guix.texi:27062
  40536. msgid "Defaults to @samp{\"ddclient\"}."
  40537. msgstr ""
  40538. #. type: deftypevr
  40539. #: guix-git/doc/guix.texi:27058
  40540. #, no-wrap
  40541. msgid "{@code{ddclient-configuration} parameter} string group"
  40542. msgstr ""
  40543. #. type: deftypevr
  40544. #: guix-git/doc/guix.texi:27060
  40545. msgid "Group of the user who will run the ddclient program."
  40546. msgstr ""
  40547. #. type: deftypevr
  40548. #: guix-git/doc/guix.texi:27065
  40549. #, no-wrap
  40550. msgid "{@code{ddclient-configuration} parameter} string secret-file"
  40551. msgstr ""
  40552. #. type: deftypevr
  40553. #: guix-git/doc/guix.texi:27069
  40554. 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."
  40555. msgstr ""
  40556. #. type: deftypevr
  40557. #: guix-git/doc/guix.texi:27071
  40558. msgid "Defaults to @samp{\"/etc/ddclient/secrets.conf\"}."
  40559. msgstr ""
  40560. #. type: deftypevr
  40561. #: guix-git/doc/guix.texi:27074
  40562. #, no-wrap
  40563. msgid "{@code{ddclient-configuration} parameter} list extra-options"
  40564. msgstr ""
  40565. #. type: deftypevr
  40566. #: guix-git/doc/guix.texi:27076
  40567. msgid "Extra options will be appended to @file{ddclient.conf} file."
  40568. msgstr ""
  40569. #. type: cindex
  40570. #: guix-git/doc/guix.texi:27087
  40571. #, no-wrap
  40572. msgid "VPN (virtual private network)"
  40573. msgstr ""
  40574. #. type: cindex
  40575. #: guix-git/doc/guix.texi:27088
  40576. #, no-wrap
  40577. msgid "virtual private network (VPN)"
  40578. msgstr ""
  40579. #. type: Plain text
  40580. #: guix-git/doc/guix.texi:27092
  40581. msgid "The @code{(gnu services vpn)} module provides services related to @dfn{virtual private networks} (VPNs)."
  40582. msgstr ""
  40583. #. type: subsubheading
  40584. #: guix-git/doc/guix.texi:27093
  40585. #, no-wrap
  40586. msgid "Bitmask"
  40587. msgstr ""
  40588. #. type: defvr
  40589. #: guix-git/doc/guix.texi:27095
  40590. #, no-wrap
  40591. msgid "{Scheme Variable} bitmask-service-type"
  40592. msgstr ""
  40593. #. type: defvr
  40594. #: guix-git/doc/guix.texi:27100
  40595. msgid "A service type for the @uref{https://bitmask.net, Bitmask} VPN client. It makes the client available in the system and loads its polkit policy. Please note that the client expects an active polkit-agent, which is either run by your desktop-environment or should be run manually."
  40596. msgstr ""
  40597. #. type: subsubheading
  40598. #: guix-git/doc/guix.texi:27102
  40599. #, no-wrap
  40600. msgid "OpenVPN"
  40601. msgstr ""
  40602. #. type: Plain text
  40603. #: guix-git/doc/guix.texi:27106
  40604. 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@."
  40605. msgstr ""
  40606. #. type: deffn
  40607. #: guix-git/doc/guix.texi:27107
  40608. #, no-wrap
  40609. msgid "{Scheme Procedure} openvpn-client-service @"
  40610. msgstr ""
  40611. #. type: deffn
  40612. #: guix-git/doc/guix.texi:27109
  40613. msgid "[#:config (openvpn-client-configuration)]"
  40614. msgstr ""
  40615. #. type: deffn
  40616. #: guix-git/doc/guix.texi:27111
  40617. msgid "Return a service that runs @command{openvpn}, a VPN daemon, as a client."
  40618. msgstr ""
  40619. #. type: deffn
  40620. #: guix-git/doc/guix.texi:27113
  40621. #, no-wrap
  40622. msgid "{Scheme Procedure} openvpn-server-service @"
  40623. msgstr ""
  40624. #. type: deffn
  40625. #: guix-git/doc/guix.texi:27115
  40626. msgid "[#:config (openvpn-server-configuration)]"
  40627. msgstr ""
  40628. #. type: deffn
  40629. #: guix-git/doc/guix.texi:27117
  40630. msgid "Return a service that runs @command{openvpn}, a VPN daemon, as a server."
  40631. msgstr ""
  40632. #. type: deffn
  40633. #: guix-git/doc/guix.texi:27119
  40634. msgid "Both can be run simultaneously."
  40635. msgstr ""
  40636. #. type: Plain text
  40637. #: guix-git/doc/guix.texi:27124
  40638. msgid "Available @code{openvpn-client-configuration} fields are:"
  40639. msgstr ""
  40640. #. type: deftypevr
  40641. #: guix-git/doc/guix.texi:27125
  40642. #, no-wrap
  40643. msgid "{@code{openvpn-client-configuration} parameter} package openvpn"
  40644. msgstr ""
  40645. #. type: deftypevr
  40646. #: guix-git/doc/guix.texi:27127 guix-git/doc/guix.texi:27282
  40647. msgid "The OpenVPN package."
  40648. msgstr ""
  40649. #. type: deftypevr
  40650. #: guix-git/doc/guix.texi:27130
  40651. #, no-wrap
  40652. msgid "{@code{openvpn-client-configuration} parameter} string pid-file"
  40653. msgstr ""
  40654. #. type: deftypevr
  40655. #: guix-git/doc/guix.texi:27132 guix-git/doc/guix.texi:27287
  40656. msgid "The OpenVPN pid file."
  40657. msgstr ""
  40658. #. type: deftypevr
  40659. #: guix-git/doc/guix.texi:27134 guix-git/doc/guix.texi:27289
  40660. msgid "Defaults to @samp{\"/var/run/openvpn/openvpn.pid\"}."
  40661. msgstr ""
  40662. #. type: deftypevr
  40663. #: guix-git/doc/guix.texi:27137
  40664. #, no-wrap
  40665. msgid "{@code{openvpn-client-configuration} parameter} proto proto"
  40666. msgstr ""
  40667. #. type: deftypevr
  40668. #: guix-git/doc/guix.texi:27140 guix-git/doc/guix.texi:27295
  40669. msgid "The protocol (UDP or TCP) used to open a channel between clients and servers."
  40670. msgstr ""
  40671. #. type: deftypevr
  40672. #: guix-git/doc/guix.texi:27142 guix-git/doc/guix.texi:27297
  40673. msgid "Defaults to @samp{udp}."
  40674. msgstr ""
  40675. #. type: deftypevr
  40676. #: guix-git/doc/guix.texi:27145
  40677. #, no-wrap
  40678. msgid "{@code{openvpn-client-configuration} parameter} dev dev"
  40679. msgstr ""
  40680. #. type: deftypevr
  40681. #: guix-git/doc/guix.texi:27147 guix-git/doc/guix.texi:27302
  40682. msgid "The device type used to represent the VPN connection."
  40683. msgstr ""
  40684. #. type: deftypevr
  40685. #: guix-git/doc/guix.texi:27149 guix-git/doc/guix.texi:27304
  40686. msgid "Defaults to @samp{tun}."
  40687. msgstr ""
  40688. #. type: Plain text
  40689. #: guix-git/doc/guix.texi:27155 guix-git/doc/guix.texi:27310
  40690. 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}."
  40691. msgstr ""
  40692. #. type: deftypevr
  40693. #: guix-git/doc/guix.texi:27156
  40694. #, no-wrap
  40695. msgid "{@code{openvpn-client-configuration} parameter} maybe-string ca"
  40696. msgstr ""
  40697. #. type: deftypevr
  40698. #: guix-git/doc/guix.texi:27158 guix-git/doc/guix.texi:27313
  40699. msgid "The certificate authority to check connections against."
  40700. msgstr ""
  40701. #. type: deftypevr
  40702. #: guix-git/doc/guix.texi:27160 guix-git/doc/guix.texi:27315
  40703. msgid "Defaults to @samp{\"/etc/openvpn/ca.crt\"}."
  40704. msgstr ""
  40705. #. type: deftypevr
  40706. #: guix-git/doc/guix.texi:27163
  40707. #, no-wrap
  40708. msgid "{@code{openvpn-client-configuration} parameter} maybe-string cert"
  40709. msgstr ""
  40710. #. type: deftypevr
  40711. #: guix-git/doc/guix.texi:27166 guix-git/doc/guix.texi:27321
  40712. msgid "The certificate of the machine the daemon is running on. It should be signed by the authority given in @code{ca}."
  40713. msgstr ""
  40714. #. type: deftypevr
  40715. #: guix-git/doc/guix.texi:27168 guix-git/doc/guix.texi:27323
  40716. msgid "Defaults to @samp{\"/etc/openvpn/client.crt\"}."
  40717. msgstr ""
  40718. #. type: deftypevr
  40719. #: guix-git/doc/guix.texi:27171
  40720. #, no-wrap
  40721. msgid "{@code{openvpn-client-configuration} parameter} maybe-string key"
  40722. msgstr ""
  40723. #. type: deftypevr
  40724. #: guix-git/doc/guix.texi:27174 guix-git/doc/guix.texi:27329
  40725. msgid "The key of the machine the daemon is running on. It must be the key whose certificate is @code{cert}."
  40726. msgstr ""
  40727. #. type: deftypevr
  40728. #: guix-git/doc/guix.texi:27176 guix-git/doc/guix.texi:27331
  40729. msgid "Defaults to @samp{\"/etc/openvpn/client.key\"}."
  40730. msgstr ""
  40731. #. type: deftypevr
  40732. #: guix-git/doc/guix.texi:27179
  40733. #, no-wrap
  40734. msgid "{@code{openvpn-client-configuration} parameter} boolean comp-lzo?"
  40735. msgstr ""
  40736. #. type: deftypevr
  40737. #: guix-git/doc/guix.texi:27181 guix-git/doc/guix.texi:27336
  40738. msgid "Whether to use the lzo compression algorithm."
  40739. msgstr ""
  40740. #. type: deftypevr
  40741. #: guix-git/doc/guix.texi:27186
  40742. #, no-wrap
  40743. msgid "{@code{openvpn-client-configuration} parameter} boolean persist-key?"
  40744. msgstr ""
  40745. #. type: deftypevr
  40746. #: guix-git/doc/guix.texi:27188 guix-git/doc/guix.texi:27343
  40747. msgid "Don't re-read key files across SIGUSR1 or --ping-restart."
  40748. msgstr ""
  40749. #. type: deftypevr
  40750. #: guix-git/doc/guix.texi:27193
  40751. #, no-wrap
  40752. msgid "{@code{openvpn-client-configuration} parameter} boolean persist-tun?"
  40753. msgstr ""
  40754. #. type: deftypevr
  40755. #: guix-git/doc/guix.texi:27196 guix-git/doc/guix.texi:27351
  40756. msgid "Don't close and reopen TUN/TAP device or run up/down scripts across SIGUSR1 or --ping-restart restarts."
  40757. msgstr ""
  40758. #. type: deftypevr
  40759. #: guix-git/doc/guix.texi:27201
  40760. #, no-wrap
  40761. msgid "{@code{openvpn-client-configuration} parameter} boolean fast-io?"
  40762. msgstr ""
  40763. #. type: deftypevr
  40764. #: guix-git/doc/guix.texi:27204 guix-git/doc/guix.texi:27359
  40765. msgid "(Experimental) Optimize TUN/TAP/UDP I/O writes by avoiding a call to poll/epoll/select prior to the write operation."
  40766. msgstr ""
  40767. #. type: deftypevr
  40768. #: guix-git/doc/guix.texi:27208
  40769. #, no-wrap
  40770. msgid "{@code{openvpn-client-configuration} parameter} number verbosity"
  40771. msgstr ""
  40772. #. type: deftypevr
  40773. #: guix-git/doc/guix.texi:27210 guix-git/doc/guix.texi:27365
  40774. msgid "Verbosity level."
  40775. msgstr ""
  40776. #. type: deftypevr
  40777. #: guix-git/doc/guix.texi:27212 guix-git/doc/guix.texi:27367
  40778. #: guix-git/doc/guix.texi:29097 guix-git/doc/guix.texi:29321
  40779. msgid "Defaults to @samp{3}."
  40780. msgstr ""
  40781. #. type: deftypevr
  40782. #: guix-git/doc/guix.texi:27215
  40783. #, no-wrap
  40784. msgid "{@code{openvpn-client-configuration} parameter} tls-auth-client tls-auth"
  40785. msgstr ""
  40786. #. type: deftypevr
  40787. #: guix-git/doc/guix.texi:27218 guix-git/doc/guix.texi:27373
  40788. msgid "Add an additional layer of HMAC authentication on top of the TLS control channel to protect against DoS attacks."
  40789. msgstr ""
  40790. #. type: deftypevr
  40791. #: guix-git/doc/guix.texi:27223
  40792. #, no-wrap
  40793. msgid "{@code{openvpn-client-configuration} parameter} maybe-string auth-user-pass"
  40794. msgstr ""
  40795. #. type: deftypevr
  40796. #: guix-git/doc/guix.texi:27227
  40797. 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."
  40798. msgstr ""
  40799. #. type: deftypevr
  40800. #: guix-git/doc/guix.texi:27229
  40801. msgid "Defaults to @samp{'disabled}."
  40802. msgstr ""
  40803. #. type: deftypevr
  40804. #: guix-git/doc/guix.texi:27231
  40805. #, no-wrap
  40806. msgid "{@code{openvpn-client-configuration} parameter} key-usage verify-key-usage?"
  40807. msgstr ""
  40808. #. type: deftypevr
  40809. #: guix-git/doc/guix.texi:27233
  40810. msgid "Whether to check the server certificate has server usage extension."
  40811. msgstr ""
  40812. #. type: deftypevr
  40813. #: guix-git/doc/guix.texi:27238
  40814. #, no-wrap
  40815. msgid "{@code{openvpn-client-configuration} parameter} bind bind?"
  40816. msgstr ""
  40817. #. type: deftypevr
  40818. #: guix-git/doc/guix.texi:27240
  40819. msgid "Bind to a specific local port number."
  40820. msgstr ""
  40821. #. type: deftypevr
  40822. #: guix-git/doc/guix.texi:27245
  40823. #, no-wrap
  40824. msgid "{@code{openvpn-client-configuration} parameter} resolv-retry resolv-retry?"
  40825. msgstr ""
  40826. #. type: deftypevr
  40827. #: guix-git/doc/guix.texi:27247
  40828. msgid "Retry resolving server address."
  40829. msgstr ""
  40830. #. type: deftypevr
  40831. #: guix-git/doc/guix.texi:27252
  40832. #, no-wrap
  40833. msgid "{@code{openvpn-client-configuration} parameter} openvpn-remote-list remote"
  40834. msgstr ""
  40835. #. type: deftypevr
  40836. #: guix-git/doc/guix.texi:27254
  40837. msgid "A list of remote servers to connect to."
  40838. msgstr ""
  40839. #. type: deftypevr
  40840. #: guix-git/doc/guix.texi:27258
  40841. msgid "Available @code{openvpn-remote-configuration} fields are:"
  40842. msgstr ""
  40843. #. type: deftypevr
  40844. #: guix-git/doc/guix.texi:27259
  40845. #, no-wrap
  40846. msgid "{@code{openvpn-remote-configuration} parameter} string name"
  40847. msgstr ""
  40848. #. type: deftypevr
  40849. #: guix-git/doc/guix.texi:27261
  40850. msgid "Server name."
  40851. msgstr ""
  40852. #. type: deftypevr
  40853. #: guix-git/doc/guix.texi:27263
  40854. msgid "Defaults to @samp{\"my-server\"}."
  40855. msgstr ""
  40856. #. type: deftypevr
  40857. #: guix-git/doc/guix.texi:27266
  40858. #, no-wrap
  40859. msgid "{@code{openvpn-remote-configuration} parameter} number port"
  40860. msgstr ""
  40861. #. type: deftypevr
  40862. #: guix-git/doc/guix.texi:27268
  40863. msgid "Port number the server listens to."
  40864. msgstr ""
  40865. #. type: deftypevr
  40866. #: guix-git/doc/guix.texi:27270 guix-git/doc/guix.texi:27382
  40867. msgid "Defaults to @samp{1194}."
  40868. msgstr ""
  40869. #. type: Plain text
  40870. #: guix-git/doc/guix.texi:27279
  40871. msgid "Available @code{openvpn-server-configuration} fields are:"
  40872. msgstr ""
  40873. #. type: deftypevr
  40874. #: guix-git/doc/guix.texi:27280
  40875. #, no-wrap
  40876. msgid "{@code{openvpn-server-configuration} parameter} package openvpn"
  40877. msgstr ""
  40878. #. type: deftypevr
  40879. #: guix-git/doc/guix.texi:27285
  40880. #, no-wrap
  40881. msgid "{@code{openvpn-server-configuration} parameter} string pid-file"
  40882. msgstr ""
  40883. #. type: deftypevr
  40884. #: guix-git/doc/guix.texi:27292
  40885. #, no-wrap
  40886. msgid "{@code{openvpn-server-configuration} parameter} proto proto"
  40887. msgstr ""
  40888. #. type: deftypevr
  40889. #: guix-git/doc/guix.texi:27300
  40890. #, no-wrap
  40891. msgid "{@code{openvpn-server-configuration} parameter} dev dev"
  40892. msgstr ""
  40893. #. type: deftypevr
  40894. #: guix-git/doc/guix.texi:27311
  40895. #, no-wrap
  40896. msgid "{@code{openvpn-server-configuration} parameter} maybe-string ca"
  40897. msgstr ""
  40898. #. type: deftypevr
  40899. #: guix-git/doc/guix.texi:27318
  40900. #, no-wrap
  40901. msgid "{@code{openvpn-server-configuration} parameter} maybe-string cert"
  40902. msgstr ""
  40903. #. type: deftypevr
  40904. #: guix-git/doc/guix.texi:27326
  40905. #, no-wrap
  40906. msgid "{@code{openvpn-server-configuration} parameter} maybe-string key"
  40907. msgstr ""
  40908. #. type: deftypevr
  40909. #: guix-git/doc/guix.texi:27334
  40910. #, no-wrap
  40911. msgid "{@code{openvpn-server-configuration} parameter} boolean comp-lzo?"
  40912. msgstr ""
  40913. #. type: deftypevr
  40914. #: guix-git/doc/guix.texi:27341
  40915. #, no-wrap
  40916. msgid "{@code{openvpn-server-configuration} parameter} boolean persist-key?"
  40917. msgstr ""
  40918. #. type: deftypevr
  40919. #: guix-git/doc/guix.texi:27348
  40920. #, no-wrap
  40921. msgid "{@code{openvpn-server-configuration} parameter} boolean persist-tun?"
  40922. msgstr ""
  40923. #. type: deftypevr
  40924. #: guix-git/doc/guix.texi:27356
  40925. #, no-wrap
  40926. msgid "{@code{openvpn-server-configuration} parameter} boolean fast-io?"
  40927. msgstr ""
  40928. #. type: deftypevr
  40929. #: guix-git/doc/guix.texi:27363
  40930. #, no-wrap
  40931. msgid "{@code{openvpn-server-configuration} parameter} number verbosity"
  40932. msgstr ""
  40933. #. type: deftypevr
  40934. #: guix-git/doc/guix.texi:27370
  40935. #, no-wrap
  40936. msgid "{@code{openvpn-server-configuration} parameter} tls-auth-server tls-auth"
  40937. msgstr ""
  40938. #. type: deftypevr
  40939. #: guix-git/doc/guix.texi:27378
  40940. #, no-wrap
  40941. msgid "{@code{openvpn-server-configuration} parameter} number port"
  40942. msgstr ""
  40943. #. type: deftypevr
  40944. #: guix-git/doc/guix.texi:27380
  40945. msgid "Specifies the port number on which the server listens."
  40946. msgstr ""
  40947. #. type: deftypevr
  40948. #: guix-git/doc/guix.texi:27385
  40949. #, no-wrap
  40950. msgid "{@code{openvpn-server-configuration} parameter} ip-mask server"
  40951. msgstr ""
  40952. #. type: deftypevr
  40953. #: guix-git/doc/guix.texi:27387
  40954. msgid "An ip and mask specifying the subnet inside the virtual network."
  40955. msgstr ""
  40956. #. type: deftypevr
  40957. #: guix-git/doc/guix.texi:27389
  40958. msgid "Defaults to @samp{\"10.8.0.0 255.255.255.0\"}."
  40959. msgstr ""
  40960. #. type: deftypevr
  40961. #: guix-git/doc/guix.texi:27392
  40962. #, no-wrap
  40963. msgid "{@code{openvpn-server-configuration} parameter} cidr6 server-ipv6"
  40964. msgstr ""
  40965. #. type: deftypevr
  40966. #: guix-git/doc/guix.texi:27394
  40967. msgid "A CIDR notation specifying the IPv6 subnet inside the virtual network."
  40968. msgstr ""
  40969. #. type: deftypevr
  40970. #: guix-git/doc/guix.texi:27399
  40971. #, no-wrap
  40972. msgid "{@code{openvpn-server-configuration} parameter} string dh"
  40973. msgstr ""
  40974. #. type: deftypevr
  40975. #: guix-git/doc/guix.texi:27401
  40976. msgid "The Diffie-Hellman parameters file."
  40977. msgstr ""
  40978. #. type: deftypevr
  40979. #: guix-git/doc/guix.texi:27403
  40980. msgid "Defaults to @samp{\"/etc/openvpn/dh2048.pem\"}."
  40981. msgstr ""
  40982. #. type: deftypevr
  40983. #: guix-git/doc/guix.texi:27406
  40984. #, no-wrap
  40985. msgid "{@code{openvpn-server-configuration} parameter} string ifconfig-pool-persist"
  40986. msgstr ""
  40987. #. type: deftypevr
  40988. #: guix-git/doc/guix.texi:27408
  40989. msgid "The file that records client IPs."
  40990. msgstr ""
  40991. #. type: deftypevr
  40992. #: guix-git/doc/guix.texi:27410
  40993. msgid "Defaults to @samp{\"/etc/openvpn/ipp.txt\"}."
  40994. msgstr ""
  40995. #. type: deftypevr
  40996. #: guix-git/doc/guix.texi:27413
  40997. #, no-wrap
  40998. msgid "{@code{openvpn-server-configuration} parameter} gateway redirect-gateway?"
  40999. msgstr ""
  41000. #. type: deftypevr
  41001. #: guix-git/doc/guix.texi:27415
  41002. msgid "When true, the server will act as a gateway for its clients."
  41003. msgstr ""
  41004. #. type: deftypevr
  41005. #: guix-git/doc/guix.texi:27420
  41006. #, no-wrap
  41007. msgid "{@code{openvpn-server-configuration} parameter} boolean client-to-client?"
  41008. msgstr ""
  41009. #. type: deftypevr
  41010. #: guix-git/doc/guix.texi:27422
  41011. msgid "When true, clients are allowed to talk to each other inside the VPN."
  41012. msgstr ""
  41013. #. type: deftypevr
  41014. #: guix-git/doc/guix.texi:27427
  41015. #, no-wrap
  41016. msgid "{@code{openvpn-server-configuration} parameter} keepalive keepalive"
  41017. msgstr ""
  41018. #. type: deftypevr
  41019. #: guix-git/doc/guix.texi:27433
  41020. 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."
  41021. msgstr ""
  41022. #. type: deftypevr
  41023. #: guix-git/doc/guix.texi:27436
  41024. #, no-wrap
  41025. msgid "{@code{openvpn-server-configuration} parameter} number max-clients"
  41026. msgstr ""
  41027. #. type: deftypevr
  41028. #: guix-git/doc/guix.texi:27438
  41029. msgid "The maximum number of clients."
  41030. msgstr ""
  41031. #. type: deftypevr
  41032. #: guix-git/doc/guix.texi:27443
  41033. #, no-wrap
  41034. msgid "{@code{openvpn-server-configuration} parameter} string status"
  41035. msgstr ""
  41036. #. type: deftypevr
  41037. #: guix-git/doc/guix.texi:27446
  41038. msgid "The status file. This file shows a small report on current connection. It is truncated and rewritten every minute."
  41039. msgstr ""
  41040. #. type: deftypevr
  41041. #: guix-git/doc/guix.texi:27448
  41042. msgid "Defaults to @samp{\"/var/run/openvpn/status\"}."
  41043. msgstr ""
  41044. #. type: deftypevr
  41045. #: guix-git/doc/guix.texi:27451
  41046. #, no-wrap
  41047. msgid "{@code{openvpn-server-configuration} parameter} openvpn-ccd-list client-config-dir"
  41048. msgstr ""
  41049. #. type: deftypevr
  41050. #: guix-git/doc/guix.texi:27453
  41051. msgid "The list of configuration for some clients."
  41052. msgstr ""
  41053. #. type: deftypevr
  41054. #: guix-git/doc/guix.texi:27457
  41055. msgid "Available @code{openvpn-ccd-configuration} fields are:"
  41056. msgstr ""
  41057. #. type: deftypevr
  41058. #: guix-git/doc/guix.texi:27458
  41059. #, no-wrap
  41060. msgid "{@code{openvpn-ccd-configuration} parameter} string name"
  41061. msgstr ""
  41062. #. type: deftypevr
  41063. #: guix-git/doc/guix.texi:27460
  41064. msgid "Client name."
  41065. msgstr ""
  41066. #. type: deftypevr
  41067. #: guix-git/doc/guix.texi:27462
  41068. msgid "Defaults to @samp{\"client\"}."
  41069. msgstr ""
  41070. #. type: deftypevr
  41071. #: guix-git/doc/guix.texi:27465
  41072. #, no-wrap
  41073. msgid "{@code{openvpn-ccd-configuration} parameter} ip-mask iroute"
  41074. msgstr ""
  41075. #. type: deftypevr
  41076. #: guix-git/doc/guix.texi:27467
  41077. msgid "Client own network"
  41078. msgstr ""
  41079. #. type: deftypevr
  41080. #: guix-git/doc/guix.texi:27472
  41081. #, no-wrap
  41082. msgid "{@code{openvpn-ccd-configuration} parameter} ip-mask ifconfig-push"
  41083. msgstr ""
  41084. #. type: deftypevr
  41085. #: guix-git/doc/guix.texi:27474
  41086. msgid "Client VPN IP."
  41087. msgstr ""
  41088. #. type: subheading
  41089. #: guix-git/doc/guix.texi:27483
  41090. #, no-wrap
  41091. msgid "strongSwan"
  41092. msgstr ""
  41093. #. type: Plain text
  41094. #: guix-git/doc/guix.texi:27487
  41095. msgid "Currently, the strongSwan service only provides legacy-style configuration with @file{ipsec.conf} and @file{ipsec.secrets} files."
  41096. msgstr ""
  41097. #. type: defvr
  41098. #: guix-git/doc/guix.texi:27488
  41099. #, no-wrap
  41100. msgid "{Scheme Variable} strongswan-service-type"
  41101. msgstr ""
  41102. #. type: defvr
  41103. #: guix-git/doc/guix.texi:27492
  41104. msgid "A service type for configuring strongSwan for IPsec @acronym{VPN, Virtual Private Networking}. Its value must be a @code{strongswan-configuration} record as in this example:"
  41105. msgstr ""
  41106. #. type: lisp
  41107. #: guix-git/doc/guix.texi:27498
  41108. #, no-wrap
  41109. msgid ""
  41110. "(service strongswan-service-type\n"
  41111. " (strongswan-configuration\n"
  41112. " (ipsec-conf \"/etc/ipsec.conf\")\n"
  41113. " (ipsec-secrets \"/etc/ipsec.secrets\")))\n"
  41114. msgstr ""
  41115. #. type: deftp
  41116. #: guix-git/doc/guix.texi:27502
  41117. #, no-wrap
  41118. msgid "{Data Type} strongswan-configuration"
  41119. msgstr ""
  41120. #. type: deftp
  41121. #: guix-git/doc/guix.texi:27504
  41122. msgid "Data type representing the configuration of the StrongSwan service."
  41123. msgstr ""
  41124. #. type: code{#1}
  41125. #: guix-git/doc/guix.texi:27506
  41126. #, no-wrap
  41127. msgid "strongswan"
  41128. msgstr ""
  41129. #. type: table
  41130. #: guix-git/doc/guix.texi:27508
  41131. msgid "The strongSwan package to use for this service."
  41132. msgstr ""
  41133. #. type: item
  41134. #: guix-git/doc/guix.texi:27509
  41135. #, no-wrap
  41136. msgid "@code{ipsec-conf} (default: @code{#f})"
  41137. msgstr ""
  41138. #. type: table
  41139. #: guix-git/doc/guix.texi:27512
  41140. msgid "The file name of your @file{ipsec.conf}. If not @code{#f}, then this and @code{ipsec-secrets} must both be strings."
  41141. msgstr ""
  41142. #. type: item
  41143. #: guix-git/doc/guix.texi:27513
  41144. #, no-wrap
  41145. msgid "@code{ipsec-secrets} (default @code{#f})"
  41146. msgstr ""
  41147. #. type: table
  41148. #: guix-git/doc/guix.texi:27516
  41149. msgid "The file name of your @file{ipsec.secrets}. If not @code{#f}, then this and @code{ipsec-conf} must both be strings."
  41150. msgstr ""
  41151. #. type: subsubheading
  41152. #: guix-git/doc/guix.texi:27520
  41153. #, no-wrap
  41154. msgid "Wireguard"
  41155. msgstr ""
  41156. #. type: defvr
  41157. #: guix-git/doc/guix.texi:27522
  41158. #, no-wrap
  41159. msgid "{Scheme Variable} wireguard-service-type"
  41160. msgstr ""
  41161. #. type: defvr
  41162. #: guix-git/doc/guix.texi:27525
  41163. msgid "A service type for a Wireguard tunnel interface. Its value must be a @code{wireguard-configuration} record as in this example:"
  41164. msgstr ""
  41165. #. type: lisp
  41166. #: guix-git/doc/guix.texi:27536
  41167. #, no-wrap
  41168. msgid ""
  41169. "(service wireguard-service-type\n"
  41170. " (wireguard-configuration\n"
  41171. " (peers\n"
  41172. " (list\n"
  41173. " (wireguard-peer\n"
  41174. " (name \"my-peer\")\n"
  41175. " (endpoint \"my.wireguard.com:51820\")\n"
  41176. " (public-key \"hzpKg9X1yqu1axN6iJp0mWf6BZGo8m1wteKwtTmDGF4=\")\n"
  41177. " (allowed-ips '(\"10.0.0.2/32\")))))))\n"
  41178. msgstr ""
  41179. #. type: deftp
  41180. #: guix-git/doc/guix.texi:27540
  41181. #, no-wrap
  41182. msgid "{Data Type} wireguard-configuration"
  41183. msgstr ""
  41184. #. type: deftp
  41185. #: guix-git/doc/guix.texi:27542
  41186. msgid "Data type representing the configuration of the Wireguard service."
  41187. msgstr ""
  41188. #. type: code{#1}
  41189. #: guix-git/doc/guix.texi:27544
  41190. #, no-wrap
  41191. msgid "wireguard"
  41192. msgstr ""
  41193. #. type: table
  41194. #: guix-git/doc/guix.texi:27546
  41195. msgid "The wireguard package to use for this service."
  41196. msgstr ""
  41197. #. type: item
  41198. #: guix-git/doc/guix.texi:27547
  41199. #, no-wrap
  41200. msgid "@code{interface} (default: @code{\"wg0\"})"
  41201. msgstr ""
  41202. #. type: table
  41203. #: guix-git/doc/guix.texi:27549
  41204. msgid "The interface name for the VPN."
  41205. msgstr ""
  41206. #. type: item
  41207. #: guix-git/doc/guix.texi:27550
  41208. #, no-wrap
  41209. msgid "@code{addresses} (default: @code{'(\"10.0.0.1/32\")})"
  41210. msgstr ""
  41211. #. type: table
  41212. #: guix-git/doc/guix.texi:27552
  41213. msgid "The IP addresses to be assigned to the above interface."
  41214. msgstr ""
  41215. #. type: item
  41216. #: guix-git/doc/guix.texi:27553
  41217. #, no-wrap
  41218. msgid "@code{private-key} (default: @code{\"/etc/wireguard/private.key\"})"
  41219. msgstr ""
  41220. #. type: table
  41221. #: guix-git/doc/guix.texi:27556
  41222. msgid "The private key file for the interface. It is automatically generated if the file does not exist."
  41223. msgstr ""
  41224. #. type: item
  41225. #: guix-git/doc/guix.texi:27557
  41226. #, no-wrap
  41227. msgid "@code{peers} (default: @code{'()})"
  41228. msgstr ""
  41229. #. type: table
  41230. #: guix-git/doc/guix.texi:27560
  41231. msgid "The authorized peers on this interface. This is a list of @var{wireguard-peer} records."
  41232. msgstr ""
  41233. #. type: deftp
  41234. #: guix-git/doc/guix.texi:27564
  41235. #, no-wrap
  41236. msgid "{Data Type} wireguard-peer"
  41237. msgstr ""
  41238. #. type: deftp
  41239. #: guix-git/doc/guix.texi:27566
  41240. msgid "Data type representing a Wireguard peer attached to a given interface."
  41241. msgstr ""
  41242. #. type: table
  41243. #: guix-git/doc/guix.texi:27570
  41244. msgid "The peer name."
  41245. msgstr ""
  41246. #. type: item
  41247. #: guix-git/doc/guix.texi:27571
  41248. #, no-wrap
  41249. msgid "@code{endpoint} (default: @code{#f})"
  41250. msgstr ""
  41251. #. type: table
  41252. #: guix-git/doc/guix.texi:27574
  41253. msgid "The optional endpoint for the peer, such as @code{\"demo.wireguard.com:51820\"}."
  41254. msgstr ""
  41255. #. type: itemx
  41256. #: guix-git/doc/guix.texi:27575 guix-git/doc/guix.texi:27970
  41257. #: guix-git/doc/guix.texi:28007 guix-git/doc/guix.texi:32926
  41258. #, no-wrap
  41259. msgid "public-key"
  41260. msgstr ""
  41261. #. type: table
  41262. #: guix-git/doc/guix.texi:27577
  41263. msgid "The peer public-key represented as a base64 string."
  41264. msgstr ""
  41265. #. type: code{#1}
  41266. #: guix-git/doc/guix.texi:27578
  41267. #, no-wrap
  41268. msgid "allowed-ips"
  41269. msgstr ""
  41270. #. type: table
  41271. #: guix-git/doc/guix.texi:27581
  41272. 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."
  41273. msgstr ""
  41274. #. type: item
  41275. #: guix-git/doc/guix.texi:27582
  41276. #, no-wrap
  41277. msgid "@code{keep-alive} (default: @code{#f})"
  41278. msgstr ""
  41279. #. type: table
  41280. #: guix-git/doc/guix.texi:27587
  41281. msgid "An optional time interval in seconds. A packet will be sent to the server endpoint once per time interval. This helps receiving incoming connections from this peer when you are behind a NAT or a firewall."
  41282. msgstr ""
  41283. #. type: cindex
  41284. #: guix-git/doc/guix.texi:27593
  41285. #, no-wrap
  41286. msgid "NFS"
  41287. msgstr ""
  41288. #. type: Plain text
  41289. #: guix-git/doc/guix.texi:27598
  41290. 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)."
  41291. msgstr ""
  41292. #. type: Plain text
  41293. #: guix-git/doc/guix.texi:27602
  41294. 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}."
  41295. msgstr ""
  41296. #. type: subsubheading
  41297. #: guix-git/doc/guix.texi:27603
  41298. #, no-wrap
  41299. msgid "NFS Service"
  41300. msgstr ""
  41301. #. type: cindex
  41302. #: guix-git/doc/guix.texi:27604
  41303. #, no-wrap
  41304. msgid "NFS, server"
  41305. msgstr ""
  41306. #. type: Plain text
  41307. #: guix-git/doc/guix.texi:27609
  41308. 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."
  41309. msgstr ""
  41310. #. type: defvr
  41311. #: guix-git/doc/guix.texi:27610
  41312. #, no-wrap
  41313. msgid "{Scheme Variable} nfs-service-type"
  41314. msgstr ""
  41315. #. type: defvr
  41316. #: guix-git/doc/guix.texi:27612
  41317. msgid "A service type for a complete NFS server."
  41318. msgstr ""
  41319. #. type: deftp
  41320. #: guix-git/doc/guix.texi:27614
  41321. #, no-wrap
  41322. msgid "{Data Type} nfs-configuration"
  41323. msgstr ""
  41324. #. type: deftp
  41325. #: guix-git/doc/guix.texi:27617
  41326. msgid "This data type represents the configuration of the NFS service and all of its subsystems."
  41327. msgstr ""
  41328. #. type: deftp
  41329. #: guix-git/doc/guix.texi:27619
  41330. msgid "It has the following parameters:"
  41331. msgstr ""
  41332. #. type: item
  41333. #: guix-git/doc/guix.texi:27620 guix-git/doc/guix.texi:27745
  41334. #: guix-git/doc/guix.texi:27770
  41335. #, no-wrap
  41336. msgid "@code{nfs-utils} (default: @code{nfs-utils})"
  41337. msgstr ""
  41338. #. type: table
  41339. #: guix-git/doc/guix.texi:27622
  41340. msgid "The nfs-utils package to use."
  41341. msgstr ""
  41342. #. type: item
  41343. #: guix-git/doc/guix.texi:27623
  41344. #, no-wrap
  41345. msgid "@code{nfs-versions} (default: @code{'(\"4.2\" \"4.1\" \"4.0\")})"
  41346. msgstr ""
  41347. #. type: table
  41348. #: guix-git/doc/guix.texi:27626
  41349. 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."
  41350. msgstr ""
  41351. #. type: item
  41352. #: guix-git/doc/guix.texi:27627
  41353. #, no-wrap
  41354. msgid "@code{exports} (default: @code{'()})"
  41355. msgstr ""
  41356. #. type: table
  41357. #: guix-git/doc/guix.texi:27632
  41358. 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:"
  41359. msgstr ""
  41360. #. type: lisp
  41361. #: guix-git/doc/guix.texi:27638
  41362. #, no-wrap
  41363. msgid ""
  41364. "(nfs-configuration\n"
  41365. " (exports\n"
  41366. " '((\"/export\"\n"
  41367. " \"*(ro,insecure,no_subtree_check,crossmnt,fsid=0)\"))))\n"
  41368. msgstr ""
  41369. #. type: item
  41370. #: guix-git/doc/guix.texi:27640
  41371. #, no-wrap
  41372. msgid "@code{rpcmountd-port} (default: @code{#f})"
  41373. msgstr ""
  41374. #. type: table
  41375. #: guix-git/doc/guix.texi:27642
  41376. msgid "The network port that the @command{rpc.mountd} daemon should use."
  41377. msgstr ""
  41378. #. type: item
  41379. #: guix-git/doc/guix.texi:27643
  41380. #, no-wrap
  41381. msgid "@code{rpcstatd-port} (default: @code{#f})"
  41382. msgstr ""
  41383. #. type: table
  41384. #: guix-git/doc/guix.texi:27645
  41385. msgid "The network port that the @command{rpc.statd} daemon should use."
  41386. msgstr ""
  41387. #. type: item
  41388. #: guix-git/doc/guix.texi:27646 guix-git/doc/guix.texi:27694
  41389. #, no-wrap
  41390. msgid "@code{rpcbind} (default: @code{rpcbind})"
  41391. msgstr ""
  41392. #. type: table
  41393. #: guix-git/doc/guix.texi:27648 guix-git/doc/guix.texi:27696
  41394. msgid "The rpcbind package to use."
  41395. msgstr ""
  41396. #. type: item
  41397. #: guix-git/doc/guix.texi:27649
  41398. #, no-wrap
  41399. msgid "@code{idmap-domain} (default: @code{\"localdomain\"})"
  41400. msgstr ""
  41401. #. type: table
  41402. #: guix-git/doc/guix.texi:27651
  41403. msgid "The local NFSv4 domain name."
  41404. msgstr ""
  41405. #. type: item
  41406. #: guix-git/doc/guix.texi:27652
  41407. #, no-wrap
  41408. msgid "@code{nfsd-port} (default: @code{2049})"
  41409. msgstr ""
  41410. #. type: table
  41411. #: guix-git/doc/guix.texi:27654
  41412. msgid "The network port that the @command{nfsd} daemon should use."
  41413. msgstr ""
  41414. #. type: item
  41415. #: guix-git/doc/guix.texi:27655
  41416. #, no-wrap
  41417. msgid "@code{nfsd-threads} (default: @code{8})"
  41418. msgstr ""
  41419. #. type: table
  41420. #: guix-git/doc/guix.texi:27657
  41421. msgid "The number of threads used by the @command{nfsd} daemon."
  41422. msgstr ""
  41423. #. type: item
  41424. #: guix-git/doc/guix.texi:27658
  41425. #, no-wrap
  41426. msgid "@code{nfsd-tcp?} (default: @code{#t})"
  41427. msgstr ""
  41428. #. type: table
  41429. #: guix-git/doc/guix.texi:27660
  41430. msgid "Whether the @command{nfsd} daemon should listen on a TCP socket."
  41431. msgstr ""
  41432. #. type: item
  41433. #: guix-git/doc/guix.texi:27661
  41434. #, no-wrap
  41435. msgid "@code{nfsd-udp?} (default: @code{#f})"
  41436. msgstr ""
  41437. #. type: table
  41438. #: guix-git/doc/guix.texi:27663
  41439. msgid "Whether the @command{nfsd} daemon should listen on a UDP socket."
  41440. msgstr ""
  41441. #. type: item
  41442. #: guix-git/doc/guix.texi:27664 guix-git/doc/guix.texi:27748
  41443. #: guix-git/doc/guix.texi:27773
  41444. #, no-wrap
  41445. msgid "@code{pipefs-directory} (default: @code{\"/var/lib/nfs/rpc_pipefs\"})"
  41446. msgstr ""
  41447. #. type: table
  41448. #: guix-git/doc/guix.texi:27666 guix-git/doc/guix.texi:27750
  41449. #: guix-git/doc/guix.texi:27775
  41450. msgid "The directory where the pipefs file system is mounted."
  41451. msgstr ""
  41452. #. type: item
  41453. #: guix-git/doc/guix.texi:27667
  41454. #, no-wrap
  41455. msgid "@code{debug} (default: @code{'()\"})"
  41456. msgstr ""
  41457. #. type: table
  41458. #: guix-git/doc/guix.texi:27671
  41459. 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}."
  41460. msgstr ""
  41461. #. type: Plain text
  41462. #: guix-git/doc/guix.texi:27676
  41463. 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."
  41464. msgstr ""
  41465. #. type: subsubheading
  41466. #: guix-git/doc/guix.texi:27677
  41467. #, no-wrap
  41468. msgid "RPC Bind Service"
  41469. msgstr ""
  41470. #. type: cindex
  41471. #: guix-git/doc/guix.texi:27678
  41472. #, no-wrap
  41473. msgid "rpcbind"
  41474. msgstr ""
  41475. #. type: Plain text
  41476. #: guix-git/doc/guix.texi:27684
  41477. 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."
  41478. msgstr ""
  41479. #. type: defvr
  41480. #: guix-git/doc/guix.texi:27685
  41481. #, no-wrap
  41482. msgid "{Scheme Variable} rpcbind-service-type"
  41483. msgstr ""
  41484. #. type: defvr
  41485. #: guix-git/doc/guix.texi:27687
  41486. msgid "A service type for the RPC portmapper daemon."
  41487. msgstr ""
  41488. #. type: deftp
  41489. #: guix-git/doc/guix.texi:27690
  41490. #, no-wrap
  41491. msgid "{Data Type} rpcbind-configuration"
  41492. msgstr ""
  41493. #. type: deftp
  41494. #: guix-git/doc/guix.texi:27693
  41495. msgid "Data type representing the configuration of the RPC Bind Service. This type has the following parameters:"
  41496. msgstr ""
  41497. #. type: item
  41498. #: guix-git/doc/guix.texi:27697
  41499. #, no-wrap
  41500. msgid "@code{warm-start?} (default: @code{#t})"
  41501. msgstr ""
  41502. #. type: table
  41503. #: guix-git/doc/guix.texi:27701
  41504. 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."
  41505. msgstr ""
  41506. #. type: subsubheading
  41507. #: guix-git/doc/guix.texi:27705
  41508. #, no-wrap
  41509. msgid "Pipefs Pseudo File System"
  41510. msgstr ""
  41511. #. type: cindex
  41512. #: guix-git/doc/guix.texi:27706
  41513. #, no-wrap
  41514. msgid "pipefs"
  41515. msgstr ""
  41516. #. type: cindex
  41517. #: guix-git/doc/guix.texi:27707
  41518. #, no-wrap
  41519. msgid "rpc_pipefs"
  41520. msgstr ""
  41521. #. type: Plain text
  41522. #: guix-git/doc/guix.texi:27711
  41523. msgid "The pipefs file system is used to transfer NFS related data between the kernel and user space programs."
  41524. msgstr ""
  41525. #. type: defvr
  41526. #: guix-git/doc/guix.texi:27712
  41527. #, no-wrap
  41528. msgid "{Scheme Variable} pipefs-service-type"
  41529. msgstr ""
  41530. #. type: defvr
  41531. #: guix-git/doc/guix.texi:27714
  41532. msgid "A service type for the pipefs pseudo file system."
  41533. msgstr ""
  41534. #. type: deftp
  41535. #: guix-git/doc/guix.texi:27716
  41536. #, no-wrap
  41537. msgid "{Data Type} pipefs-configuration"
  41538. msgstr ""
  41539. #. type: deftp
  41540. #: guix-git/doc/guix.texi:27719
  41541. msgid "Data type representing the configuration of the pipefs pseudo file system service. This type has the following parameters:"
  41542. msgstr ""
  41543. #. type: item
  41544. #: guix-git/doc/guix.texi:27720
  41545. #, no-wrap
  41546. msgid "@code{mount-point} (default: @code{\"/var/lib/nfs/rpc_pipefs\"})"
  41547. msgstr ""
  41548. #. type: table
  41549. #: guix-git/doc/guix.texi:27722
  41550. msgid "The directory to which the file system is to be attached."
  41551. msgstr ""
  41552. #. type: subsubheading
  41553. #: guix-git/doc/guix.texi:27726
  41554. #, no-wrap
  41555. msgid "GSS Daemon Service"
  41556. msgstr ""
  41557. #. type: cindex
  41558. #: guix-git/doc/guix.texi:27727
  41559. #, no-wrap
  41560. msgid "GSSD"
  41561. msgstr ""
  41562. #. type: cindex
  41563. #: guix-git/doc/guix.texi:27728
  41564. #, no-wrap
  41565. msgid "GSS"
  41566. msgstr ""
  41567. #. type: cindex
  41568. #: guix-git/doc/guix.texi:27729
  41569. #, no-wrap
  41570. msgid "global security system"
  41571. msgstr ""
  41572. #. type: Plain text
  41573. #: guix-git/doc/guix.texi:27736
  41574. 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})."
  41575. msgstr ""
  41576. #. type: defvr
  41577. #: guix-git/doc/guix.texi:27737
  41578. #, no-wrap
  41579. msgid "{Scheme Variable} gss-service-type"
  41580. msgstr ""
  41581. #. type: defvr
  41582. #: guix-git/doc/guix.texi:27739
  41583. msgid "A service type for the Global Security System (GSS) daemon."
  41584. msgstr ""
  41585. #. type: deftp
  41586. #: guix-git/doc/guix.texi:27741
  41587. #, no-wrap
  41588. msgid "{Data Type} gss-configuration"
  41589. msgstr ""
  41590. #. type: deftp
  41591. #: guix-git/doc/guix.texi:27744
  41592. msgid "Data type representing the configuration of the GSS daemon service. This type has the following parameters:"
  41593. msgstr ""
  41594. #. type: table
  41595. #: guix-git/doc/guix.texi:27747
  41596. msgid "The package in which the @command{rpc.gssd} command is to be found."
  41597. msgstr ""
  41598. #. type: subsubheading
  41599. #: guix-git/doc/guix.texi:27755
  41600. #, no-wrap
  41601. msgid "IDMAP Daemon Service"
  41602. msgstr ""
  41603. #. type: cindex
  41604. #: guix-git/doc/guix.texi:27756
  41605. #, no-wrap
  41606. msgid "idmapd"
  41607. msgstr ""
  41608. #. type: cindex
  41609. #: guix-git/doc/guix.texi:27757
  41610. #, no-wrap
  41611. msgid "name mapper"
  41612. msgstr ""
  41613. #. type: Plain text
  41614. #: guix-git/doc/guix.texi:27761
  41615. 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."
  41616. msgstr ""
  41617. #. type: defvr
  41618. #: guix-git/doc/guix.texi:27762
  41619. #, no-wrap
  41620. msgid "{Scheme Variable} idmap-service-type"
  41621. msgstr ""
  41622. #. type: defvr
  41623. #: guix-git/doc/guix.texi:27764
  41624. msgid "A service type for the Identity Mapper (IDMAP) daemon."
  41625. msgstr ""
  41626. #. type: deftp
  41627. #: guix-git/doc/guix.texi:27766
  41628. #, no-wrap
  41629. msgid "{Data Type} idmap-configuration"
  41630. msgstr ""
  41631. #. type: deftp
  41632. #: guix-git/doc/guix.texi:27769
  41633. msgid "Data type representing the configuration of the IDMAP daemon service. This type has the following parameters:"
  41634. msgstr ""
  41635. #. type: table
  41636. #: guix-git/doc/guix.texi:27772
  41637. msgid "The package in which the @command{rpc.idmapd} command is to be found."
  41638. msgstr ""
  41639. #. type: item
  41640. #: guix-git/doc/guix.texi:27776
  41641. #, no-wrap
  41642. msgid "@code{domain} (default: @code{#f})"
  41643. msgstr ""
  41644. #. type: table
  41645. #: guix-git/doc/guix.texi:27780
  41646. 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."
  41647. msgstr ""
  41648. #. type: item
  41649. #: guix-git/doc/guix.texi:27781
  41650. #, no-wrap
  41651. msgid "@code{verbosity} (default: @code{0})"
  41652. msgstr ""
  41653. #. type: table
  41654. #: guix-git/doc/guix.texi:27783
  41655. msgid "The verbosity level of the daemon."
  41656. msgstr ""
  41657. #. type: Plain text
  41658. #: guix-git/doc/guix.texi:27794
  41659. 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})."
  41660. msgstr ""
  41661. #. type: Plain text
  41662. #: guix-git/doc/guix.texi:27796
  41663. msgid "The @code{(gnu services cuirass)} module provides the following service."
  41664. msgstr ""
  41665. #. type: defvr
  41666. #: guix-git/doc/guix.texi:27797
  41667. #, no-wrap
  41668. msgid "{Scheme Procedure} cuirass-service-type"
  41669. msgstr ""
  41670. #. type: defvr
  41671. #: guix-git/doc/guix.texi:27800
  41672. msgid "The type of the Cuirass service. Its value must be a @code{cuirass-configuration} object, as described below."
  41673. msgstr ""
  41674. #. type: Plain text
  41675. #: guix-git/doc/guix.texi:27805
  41676. 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."
  41677. msgstr ""
  41678. #. type: lisp
  41679. #: guix-git/doc/guix.texi:27816
  41680. #, no-wrap
  41681. msgid ""
  41682. "(define %cuirass-specs\n"
  41683. " #~(list (specification\n"
  41684. " (name \"my-channel\")\n"
  41685. " (build '(channels my-channel))\n"
  41686. " (channels\n"
  41687. " (cons (channel\n"
  41688. " (name 'my-channel)\n"
  41689. " (url \"https://my-channel.git\"))\n"
  41690. " %default-channels)))))\n"
  41691. "\n"
  41692. msgstr ""
  41693. #. type: lisp
  41694. #: guix-git/doc/guix.texi:27820 guix-git/doc/guix.texi:27834
  41695. #, no-wrap
  41696. msgid ""
  41697. "(service cuirass-service-type\n"
  41698. " (cuirass-configuration\n"
  41699. " (specifications %cuirass-specs)))\n"
  41700. msgstr ""
  41701. #. type: Plain text
  41702. #: guix-git/doc/guix.texi:27824
  41703. msgid "To build the @code{linux-libre} package defined by the default Guix channel, one can use the following configuration."
  41704. msgstr ""
  41705. #. type: lisp
  41706. #: guix-git/doc/guix.texi:27830
  41707. #, no-wrap
  41708. msgid ""
  41709. "(define %cuirass-specs\n"
  41710. " #~(list (specification\n"
  41711. " (name \"my-linux\")\n"
  41712. " (build '(packages \"linux-libre\")))))\n"
  41713. "\n"
  41714. msgstr ""
  41715. #. type: Plain text
  41716. #: guix-git/doc/guix.texi:27839
  41717. msgid "The other configuration possibilities, as well as the specification record itself are described in the Cuirass manual (@pxref{Specifications,,, cuirass, Cuirass})."
  41718. msgstr ""
  41719. #. type: Plain text
  41720. #: guix-git/doc/guix.texi:27843
  41721. 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."
  41722. msgstr ""
  41723. #. type: deftp
  41724. #: guix-git/doc/guix.texi:27844
  41725. #, no-wrap
  41726. msgid "{Data Type} cuirass-configuration"
  41727. msgstr ""
  41728. #. type: deftp
  41729. #: guix-git/doc/guix.texi:27846
  41730. msgid "Data type representing the configuration of Cuirass."
  41731. msgstr ""
  41732. #. type: item
  41733. #: guix-git/doc/guix.texi:27848 guix-git/doc/guix.texi:27985
  41734. #, no-wrap
  41735. msgid "@code{cuirass} (default: @code{cuirass})"
  41736. msgstr ""
  41737. #. type: table
  41738. #: guix-git/doc/guix.texi:27850 guix-git/doc/guix.texi:27987
  41739. msgid "The Cuirass package to use."
  41740. msgstr ""
  41741. #. type: item
  41742. #: guix-git/doc/guix.texi:27851
  41743. #, no-wrap
  41744. msgid "@code{log-file} (default: @code{\"/var/log/cuirass.log\"})"
  41745. msgstr ""
  41746. #. type: table
  41747. #: guix-git/doc/guix.texi:27853 guix-git/doc/guix.texi:27957
  41748. #: guix-git/doc/guix.texi:28000
  41749. msgid "Location of the log file."
  41750. msgstr ""
  41751. #. type: item
  41752. #: guix-git/doc/guix.texi:27854
  41753. #, no-wrap
  41754. msgid "@code{web-log-file} (default: @code{\"/var/log/cuirass-web.log\"})"
  41755. msgstr ""
  41756. #. type: table
  41757. #: guix-git/doc/guix.texi:27856
  41758. msgid "Location of the log file used by the web interface."
  41759. msgstr ""
  41760. #. type: item
  41761. #: guix-git/doc/guix.texi:27857
  41762. #, no-wrap
  41763. msgid "@code{cache-directory} (default: @code{\"/var/cache/cuirass\"})"
  41764. msgstr ""
  41765. #. type: table
  41766. #: guix-git/doc/guix.texi:27859
  41767. msgid "Location of the repository cache."
  41768. msgstr ""
  41769. #. type: item
  41770. #: guix-git/doc/guix.texi:27860
  41771. #, no-wrap
  41772. msgid "@code{user} (default: @code{\"cuirass\"})"
  41773. msgstr ""
  41774. #. type: table
  41775. #: guix-git/doc/guix.texi:27862
  41776. msgid "Owner of the @code{cuirass} process."
  41777. msgstr ""
  41778. #. type: item
  41779. #: guix-git/doc/guix.texi:27863
  41780. #, no-wrap
  41781. msgid "@code{group} (default: @code{\"cuirass\"})"
  41782. msgstr ""
  41783. #. type: table
  41784. #: guix-git/doc/guix.texi:27865
  41785. msgid "Owner's group of the @code{cuirass} process."
  41786. msgstr ""
  41787. #. type: item
  41788. #: guix-git/doc/guix.texi:27866
  41789. #, no-wrap
  41790. msgid "@code{interval} (default: @code{60})"
  41791. msgstr ""
  41792. #. type: table
  41793. #: guix-git/doc/guix.texi:27869
  41794. msgid "Number of seconds between the poll of the repositories followed by the Cuirass jobs."
  41795. msgstr ""
  41796. #. type: item
  41797. #: guix-git/doc/guix.texi:27870
  41798. #, no-wrap
  41799. msgid "@code{parameters} (default: @code{#f})"
  41800. msgstr ""
  41801. #. type: table
  41802. #: guix-git/doc/guix.texi:27873
  41803. msgid "Read parameters from the given @var{parameters} file. The supported parameters are described here (@pxref{Parameters,,, cuirass, Cuirass})."
  41804. msgstr ""
  41805. #. type: item
  41806. #: guix-git/doc/guix.texi:27874
  41807. #, no-wrap
  41808. msgid "@code{remote-server} (default: @code{#f})"
  41809. msgstr ""
  41810. #. type: table
  41811. #: guix-git/doc/guix.texi:27877
  41812. msgid "A @code{cuirass-remote-server-configuration} record to use the build remote mechanism or @code{#f} to use the default build mechanism."
  41813. msgstr ""
  41814. #. type: item
  41815. #: guix-git/doc/guix.texi:27878
  41816. #, no-wrap
  41817. msgid "@code{database} (default: @code{\"dbname=cuirass host=/var/run/postgresql\"})"
  41818. msgstr ""
  41819. #. type: table
  41820. #: guix-git/doc/guix.texi:27883
  41821. 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\"}."
  41822. msgstr ""
  41823. #. type: item
  41824. #: guix-git/doc/guix.texi:27884
  41825. #, no-wrap
  41826. msgid "@code{port} (default: @code{8081})"
  41827. msgstr ""
  41828. #. type: table
  41829. #: guix-git/doc/guix.texi:27886
  41830. msgid "Port number used by the HTTP server."
  41831. msgstr ""
  41832. #. type: table
  41833. #: guix-git/doc/guix.texi:27890
  41834. msgid "Listen on the network interface for @var{host}. The default is to accept connections from localhost."
  41835. msgstr ""
  41836. #. type: item
  41837. #: guix-git/doc/guix.texi:27891
  41838. #, no-wrap
  41839. msgid "@code{specifications} (default: @code{#~'()})"
  41840. msgstr ""
  41841. #. type: table
  41842. #: guix-git/doc/guix.texi:27895
  41843. 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})."
  41844. msgstr ""
  41845. #. type: item
  41846. #: guix-git/doc/guix.texi:27896
  41847. #, no-wrap
  41848. msgid "@code{use-substitutes?} (default: @code{#f})"
  41849. msgstr ""
  41850. #. type: table
  41851. #: guix-git/doc/guix.texi:27899
  41852. msgid "This allows using substitutes to avoid building every dependencies of a job from source."
  41853. msgstr ""
  41854. #. type: item
  41855. #: guix-git/doc/guix.texi:27900 guix-git/doc/guix.texi:34918
  41856. #, no-wrap
  41857. msgid "@code{one-shot?} (default: @code{#f})"
  41858. msgstr ""
  41859. #. type: table
  41860. #: guix-git/doc/guix.texi:27902
  41861. msgid "Only evaluate specifications and build derivations once."
  41862. msgstr ""
  41863. #. type: item
  41864. #: guix-git/doc/guix.texi:27903
  41865. #, no-wrap
  41866. msgid "@code{fallback?} (default: @code{#f})"
  41867. msgstr ""
  41868. #. type: table
  41869. #: guix-git/doc/guix.texi:27906
  41870. msgid "When substituting a pre-built binary fails, fall back to building packages locally."
  41871. msgstr ""
  41872. #. type: table
  41873. #: guix-git/doc/guix.texi:27909
  41874. msgid "Extra options to pass when running the Cuirass processes."
  41875. msgstr ""
  41876. #. type: cindex
  41877. #: guix-git/doc/guix.texi:27913
  41878. #, no-wrap
  41879. msgid "remote build"
  41880. msgstr ""
  41881. #. type: subsubheading
  41882. #: guix-git/doc/guix.texi:27914
  41883. #, no-wrap
  41884. msgid "Cuirass remote building"
  41885. msgstr ""
  41886. #. type: Plain text
  41887. #: guix-git/doc/guix.texi:27917
  41888. msgid "Cuirass supports two mechanisms to build derivations."
  41889. msgstr ""
  41890. #. type: item
  41891. #: guix-git/doc/guix.texi:27919
  41892. #, no-wrap
  41893. msgid "Using the local Guix daemon."
  41894. msgstr ""
  41895. #. type: itemize
  41896. #: guix-git/doc/guix.texi:27923
  41897. 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."
  41898. msgstr ""
  41899. #. type: item
  41900. #: guix-git/doc/guix.texi:27924
  41901. #, no-wrap
  41902. msgid "Using the remote build mechanism."
  41903. msgstr ""
  41904. #. type: itemize
  41905. #: guix-git/doc/guix.texi:27928
  41906. 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."
  41907. msgstr ""
  41908. #. type: Plain text
  41909. #: guix-git/doc/guix.texi:27935
  41910. 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."
  41911. msgstr ""
  41912. #. type: Plain text
  41913. #: guix-git/doc/guix.texi:27940
  41914. 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."
  41915. msgstr ""
  41916. #. type: deftp
  41917. #: guix-git/doc/guix.texi:27941
  41918. #, no-wrap
  41919. msgid "{Data Type} cuirass-remote-server-configuration"
  41920. msgstr ""
  41921. #. type: deftp
  41922. #: guix-git/doc/guix.texi:27943
  41923. msgid "Data type representing the configuration of the Cuirass remote-server."
  41924. msgstr ""
  41925. #. type: item
  41926. #: guix-git/doc/guix.texi:27945
  41927. #, no-wrap
  41928. msgid "@code{backend-port} (default: @code{5555})"
  41929. msgstr ""
  41930. #. type: table
  41931. #: guix-git/doc/guix.texi:27948
  41932. msgid "The TCP port for communicating with @code{remote-worker} processes using ZMQ. It defaults to @code{5555}."
  41933. msgstr ""
  41934. #. type: item
  41935. #: guix-git/doc/guix.texi:27949
  41936. #, no-wrap
  41937. msgid "@code{log-port} (default: @code{5556})"
  41938. msgstr ""
  41939. #. type: table
  41940. #: guix-git/doc/guix.texi:27951
  41941. msgid "The TCP port of the log server. It defaults to @code{5556}."
  41942. msgstr ""
  41943. #. type: item
  41944. #: guix-git/doc/guix.texi:27952
  41945. #, no-wrap
  41946. msgid "@code{publish-port} (default: @code{5557})"
  41947. msgstr ""
  41948. #. type: table
  41949. #: guix-git/doc/guix.texi:27954
  41950. msgid "The TCP port of the publish server. It defaults to @code{5557}."
  41951. msgstr ""
  41952. #. type: item
  41953. #: guix-git/doc/guix.texi:27955
  41954. #, no-wrap
  41955. msgid "@code{log-file} (default: @code{\"/var/log/cuirass-remote-server.log\"})"
  41956. msgstr ""
  41957. #. type: item
  41958. #: guix-git/doc/guix.texi:27958
  41959. #, no-wrap
  41960. msgid "@code{cache} (default: @code{\"/var/cache/cuirass/remote\"})"
  41961. msgstr ""
  41962. #. type: table
  41963. #: guix-git/doc/guix.texi:27960
  41964. msgid "Use @var{cache} directory to cache build log files."
  41965. msgstr ""
  41966. #. type: item
  41967. #: guix-git/doc/guix.texi:27961
  41968. #, no-wrap
  41969. msgid "@code{trigger-url} (default: @code{#f})"
  41970. msgstr ""
  41971. #. type: table
  41972. #: guix-git/doc/guix.texi:27964
  41973. msgid "Once a substitute is successfully fetched, trigger substitute baking at @var{trigger-url}."
  41974. msgstr ""
  41975. #. type: table
  41976. #: guix-git/doc/guix.texi:27969
  41977. msgid "If set to false, do not start a publish server and ignore the @code{publish-port} argument. This can be useful if there is already a standalone publish server standing next to the remote server."
  41978. msgstr ""
  41979. #. type: code{#1}
  41980. #: guix-git/doc/guix.texi:27971 guix-git/doc/guix.texi:28008
  41981. #, no-wrap
  41982. msgid "private-key"
  41983. msgstr ""
  41984. #. type: Plain text
  41985. #: guix-git/doc/guix.texi:27980
  41986. 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."
  41987. msgstr ""
  41988. #. type: deftp
  41989. #: guix-git/doc/guix.texi:27981
  41990. #, no-wrap
  41991. msgid "{Data Type} cuirass-remote-worker-configuration"
  41992. msgstr ""
  41993. #. type: deftp
  41994. #: guix-git/doc/guix.texi:27983
  41995. msgid "Data type representing the configuration of the Cuirass remote-worker."
  41996. msgstr ""
  41997. #. type: item
  41998. #: guix-git/doc/guix.texi:27988
  41999. #, no-wrap
  42000. msgid "@code{workers} (default: @code{1})"
  42001. msgstr ""
  42002. #. type: table
  42003. #: guix-git/doc/guix.texi:27990
  42004. msgid "Start @var{workers} parallel workers."
  42005. msgstr ""
  42006. #. type: table
  42007. #: guix-git/doc/guix.texi:27994
  42008. msgid "Do not use Avahi discovery and connect to the given @code{server} IP address instead."
  42009. msgstr ""
  42010. #. type: item
  42011. #: guix-git/doc/guix.texi:27995
  42012. #, no-wrap
  42013. msgid "@code{systems} (default: @code{(list (%current-system))})"
  42014. msgstr ""
  42015. #. type: table
  42016. #: guix-git/doc/guix.texi:27997
  42017. msgid "Only request builds for the given @var{systems}."
  42018. msgstr ""
  42019. #. type: item
  42020. #: guix-git/doc/guix.texi:27998
  42021. #, no-wrap
  42022. msgid "@code{log-file} (default: @code{\"/var/log/cuirass-remote-worker.log\"})"
  42023. msgstr ""
  42024. #. type: item
  42025. #: guix-git/doc/guix.texi:28001
  42026. #, no-wrap
  42027. msgid "@code{publish-port} (default: @code{5558})"
  42028. msgstr ""
  42029. #. type: table
  42030. #: guix-git/doc/guix.texi:28003
  42031. msgid "The TCP port of the publish server. It defaults to @code{5558}."
  42032. msgstr ""
  42033. #. type: subsubheading
  42034. #: guix-git/doc/guix.texi:28015
  42035. #, no-wrap
  42036. msgid "Laminar"
  42037. msgstr ""
  42038. #. type: Plain text
  42039. #: guix-git/doc/guix.texi:28020
  42040. 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."
  42041. msgstr ""
  42042. #. type: Plain text
  42043. #: guix-git/doc/guix.texi:28023
  42044. msgid "Laminar encourages the use of existing tools such as bash and cron instead of reinventing them."
  42045. msgstr ""
  42046. #. type: defvr
  42047. #: guix-git/doc/guix.texi:28024
  42048. #, no-wrap
  42049. msgid "{Scheme Procedure} laminar-service-type"
  42050. msgstr ""
  42051. #. type: defvr
  42052. #: guix-git/doc/guix.texi:28027
  42053. msgid "The type of the Laminar service. Its value must be a @code{laminar-configuration} object, as described below."
  42054. msgstr ""
  42055. #. type: defvr
  42056. #: guix-git/doc/guix.texi:28031
  42057. 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."
  42058. msgstr ""
  42059. #. type: lisp
  42060. #: guix-git/doc/guix.texi:28034
  42061. #, no-wrap
  42062. msgid "(service laminar-service-type)\n"
  42063. msgstr ""
  42064. #. type: deftp
  42065. #: guix-git/doc/guix.texi:28037
  42066. #, no-wrap
  42067. msgid "{Data Type} laminar-configuration"
  42068. msgstr ""
  42069. #. type: deftp
  42070. #: guix-git/doc/guix.texi:28039
  42071. msgid "Data type representing the configuration of Laminar."
  42072. msgstr ""
  42073. #. type: item
  42074. #: guix-git/doc/guix.texi:28041
  42075. #, no-wrap
  42076. msgid "@code{laminar} (default: @code{laminar})"
  42077. msgstr ""
  42078. #. type: table
  42079. #: guix-git/doc/guix.texi:28043
  42080. msgid "The Laminar package to use."
  42081. msgstr ""
  42082. #. type: item
  42083. #: guix-git/doc/guix.texi:28044
  42084. #, no-wrap
  42085. msgid "@code{home-directory} (default: @code{\"/var/lib/laminar\"})"
  42086. msgstr ""
  42087. #. type: table
  42088. #: guix-git/doc/guix.texi:28046
  42089. msgid "The directory for job configurations and run directories."
  42090. msgstr ""
  42091. #. type: item
  42092. #: guix-git/doc/guix.texi:28047
  42093. #, no-wrap
  42094. msgid "@code{bind-http} (default: @code{\"*:8080\"})"
  42095. msgstr ""
  42096. #. type: table
  42097. #: guix-git/doc/guix.texi:28050
  42098. msgid "The interface/port or unix socket on which laminard should listen for incoming connections to the web frontend."
  42099. msgstr ""
  42100. #. type: item
  42101. #: guix-git/doc/guix.texi:28051
  42102. #, no-wrap
  42103. msgid "@code{bind-rpc} (default: @code{\"unix-abstract:laminar\"})"
  42104. msgstr ""
  42105. #. type: table
  42106. #: guix-git/doc/guix.texi:28054
  42107. msgid "The interface/port or unix socket on which laminard should listen for incoming commands such as build triggers."
  42108. msgstr ""
  42109. #. type: item
  42110. #: guix-git/doc/guix.texi:28055
  42111. #, no-wrap
  42112. msgid "@code{title} (default: @code{\"Laminar\"})"
  42113. msgstr ""
  42114. #. type: table
  42115. #: guix-git/doc/guix.texi:28057
  42116. msgid "The page title to show in the web frontend."
  42117. msgstr ""
  42118. #. type: item
  42119. #: guix-git/doc/guix.texi:28058
  42120. #, no-wrap
  42121. msgid "@code{keep-rundirs} (default: @code{0})"
  42122. msgstr ""
  42123. #. type: table
  42124. #: guix-git/doc/guix.texi:28062
  42125. 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."
  42126. msgstr ""
  42127. #. type: item
  42128. #: guix-git/doc/guix.texi:28063
  42129. #, no-wrap
  42130. msgid "@code{archive-url} (default: @code{#f})"
  42131. msgstr ""
  42132. #. type: table
  42133. #: guix-git/doc/guix.texi:28066
  42134. msgid "The web frontend served by laminard will use this URL to form links to artefacts archived jobs."
  42135. msgstr ""
  42136. #. type: item
  42137. #: guix-git/doc/guix.texi:28067
  42138. #, no-wrap
  42139. msgid "@code{base-url} (default: @code{#f})"
  42140. msgstr ""
  42141. #. type: table
  42142. #: guix-git/doc/guix.texi:28069
  42143. msgid "Base URL to use for links to laminar itself."
  42144. msgstr ""
  42145. #. type: cindex
  42146. #: guix-git/doc/guix.texi:28076
  42147. #, no-wrap
  42148. msgid "tlp"
  42149. msgstr ""
  42150. #. type: cindex
  42151. #: guix-git/doc/guix.texi:28077
  42152. #, no-wrap
  42153. msgid "power management with TLP"
  42154. msgstr ""
  42155. #. type: subsubheading
  42156. #: guix-git/doc/guix.texi:28078
  42157. #, no-wrap
  42158. msgid "TLP daemon"
  42159. msgstr ""
  42160. #. type: Plain text
  42161. #: guix-git/doc/guix.texi:28082
  42162. msgid "The @code{(gnu services pm)} module provides a Guix service definition for the Linux power management tool TLP."
  42163. msgstr ""
  42164. #. type: Plain text
  42165. #: guix-git/doc/guix.texi:28088
  42166. 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}."
  42167. msgstr ""
  42168. #. type: deffn
  42169. #: guix-git/doc/guix.texi:28089
  42170. #, no-wrap
  42171. msgid "{Scheme Variable} tlp-service-type"
  42172. msgstr ""
  42173. #. type: deffn
  42174. #: guix-git/doc/guix.texi:28093
  42175. 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}:"
  42176. msgstr ""
  42177. #. type: lisp
  42178. #: guix-git/doc/guix.texi:28098
  42179. #, no-wrap
  42180. msgid ""
  42181. "(service tlp-service-type\n"
  42182. " (tlp-configuration\n"
  42183. " (cpu-scaling-governor-on-ac (list \"performance\"))\n"
  42184. " (sched-powersave-on-bat? #t)))\n"
  42185. msgstr ""
  42186. #. type: Plain text
  42187. #: guix-git/doc/guix.texi:28106
  42188. 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}."
  42189. msgstr ""
  42190. #. type: Plain text
  42191. #: guix-git/doc/guix.texi:28116
  42192. msgid "Available @code{tlp-configuration} fields are:"
  42193. msgstr ""
  42194. #. type: deftypevr
  42195. #: guix-git/doc/guix.texi:28117
  42196. #, no-wrap
  42197. msgid "{@code{tlp-configuration} parameter} package tlp"
  42198. msgstr ""
  42199. #. type: deftypevr
  42200. #: guix-git/doc/guix.texi:28119
  42201. msgid "The TLP package."
  42202. msgstr ""
  42203. #. type: deftypevr
  42204. #: guix-git/doc/guix.texi:28122
  42205. #, no-wrap
  42206. msgid "{@code{tlp-configuration} parameter} boolean tlp-enable?"
  42207. msgstr ""
  42208. #. type: deftypevr
  42209. #: guix-git/doc/guix.texi:28124
  42210. msgid "Set to true if you wish to enable TLP."
  42211. msgstr ""
  42212. #. type: deftypevr
  42213. #: guix-git/doc/guix.texi:28129
  42214. #, no-wrap
  42215. msgid "{@code{tlp-configuration} parameter} string tlp-default-mode"
  42216. msgstr ""
  42217. #. type: deftypevr
  42218. #: guix-git/doc/guix.texi:28132
  42219. msgid "Default mode when no power supply can be detected. Alternatives are AC and BAT."
  42220. msgstr ""
  42221. #. type: deftypevr
  42222. #: guix-git/doc/guix.texi:28134
  42223. msgid "Defaults to @samp{\"AC\"}."
  42224. msgstr ""
  42225. #. type: deftypevr
  42226. #: guix-git/doc/guix.texi:28137
  42227. #, no-wrap
  42228. msgid "{@code{tlp-configuration} parameter} non-negative-integer disk-idle-secs-on-ac"
  42229. msgstr ""
  42230. #. type: deftypevr
  42231. #: guix-git/doc/guix.texi:28140
  42232. msgid "Number of seconds Linux kernel has to wait after the disk goes idle, before syncing on AC."
  42233. msgstr ""
  42234. #. type: deftypevr
  42235. #: guix-git/doc/guix.texi:28145
  42236. #, no-wrap
  42237. msgid "{@code{tlp-configuration} parameter} non-negative-integer disk-idle-secs-on-bat"
  42238. msgstr ""
  42239. #. type: deftypevr
  42240. #: guix-git/doc/guix.texi:28147
  42241. msgid "Same as @code{disk-idle-ac} but on BAT mode."
  42242. msgstr ""
  42243. #. type: deftypevr
  42244. #: guix-git/doc/guix.texi:28149
  42245. msgid "Defaults to @samp{2}."
  42246. msgstr ""
  42247. #. type: deftypevr
  42248. #: guix-git/doc/guix.texi:28152
  42249. #, no-wrap
  42250. msgid "{@code{tlp-configuration} parameter} non-negative-integer max-lost-work-secs-on-ac"
  42251. msgstr ""
  42252. #. type: deftypevr
  42253. #: guix-git/doc/guix.texi:28154
  42254. msgid "Dirty pages flushing periodicity, expressed in seconds."
  42255. msgstr ""
  42256. #. type: deftypevr
  42257. #: guix-git/doc/guix.texi:28156 guix-git/doc/guix.texi:28379
  42258. #: guix-git/doc/guix.texi:30594 guix-git/doc/guix.texi:30602
  42259. msgid "Defaults to @samp{15}."
  42260. msgstr ""
  42261. #. type: deftypevr
  42262. #: guix-git/doc/guix.texi:28159
  42263. #, no-wrap
  42264. msgid "{@code{tlp-configuration} parameter} non-negative-integer max-lost-work-secs-on-bat"
  42265. msgstr ""
  42266. #. type: deftypevr
  42267. #: guix-git/doc/guix.texi:28161
  42268. msgid "Same as @code{max-lost-work-secs-on-ac} but on BAT mode."
  42269. msgstr ""
  42270. #. type: deftypevr
  42271. #: guix-git/doc/guix.texi:28163
  42272. msgid "Defaults to @samp{60}."
  42273. msgstr ""
  42274. #. type: deftypevr
  42275. #: guix-git/doc/guix.texi:28166
  42276. #, no-wrap
  42277. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list cpu-scaling-governor-on-ac"
  42278. msgstr ""
  42279. #. type: deftypevr
  42280. #: guix-git/doc/guix.texi:28170
  42281. 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."
  42282. msgstr ""
  42283. #. type: deftypevr
  42284. #: guix-git/doc/guix.texi:28175
  42285. #, no-wrap
  42286. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list cpu-scaling-governor-on-bat"
  42287. msgstr ""
  42288. #. type: deftypevr
  42289. #: guix-git/doc/guix.texi:28177
  42290. msgid "Same as @code{cpu-scaling-governor-on-ac} but on BAT mode."
  42291. msgstr ""
  42292. #. type: deftypevr
  42293. #: guix-git/doc/guix.texi:28182
  42294. #, no-wrap
  42295. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-scaling-min-freq-on-ac"
  42296. msgstr ""
  42297. #. type: deftypevr
  42298. #: guix-git/doc/guix.texi:28184
  42299. msgid "Set the min available frequency for the scaling governor on AC."
  42300. msgstr ""
  42301. #. type: deftypevr
  42302. #: guix-git/doc/guix.texi:28189
  42303. #, no-wrap
  42304. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-scaling-max-freq-on-ac"
  42305. msgstr ""
  42306. #. type: deftypevr
  42307. #: guix-git/doc/guix.texi:28191
  42308. msgid "Set the max available frequency for the scaling governor on AC."
  42309. msgstr ""
  42310. #. type: deftypevr
  42311. #: guix-git/doc/guix.texi:28196
  42312. #, no-wrap
  42313. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-scaling-min-freq-on-bat"
  42314. msgstr ""
  42315. #. type: deftypevr
  42316. #: guix-git/doc/guix.texi:28198
  42317. msgid "Set the min available frequency for the scaling governor on BAT."
  42318. msgstr ""
  42319. #. type: deftypevr
  42320. #: guix-git/doc/guix.texi:28203
  42321. #, no-wrap
  42322. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-scaling-max-freq-on-bat"
  42323. msgstr ""
  42324. #. type: deftypevr
  42325. #: guix-git/doc/guix.texi:28205
  42326. msgid "Set the max available frequency for the scaling governor on BAT."
  42327. msgstr ""
  42328. #. type: deftypevr
  42329. #: guix-git/doc/guix.texi:28210
  42330. #, no-wrap
  42331. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-min-perf-on-ac"
  42332. msgstr ""
  42333. #. type: deftypevr
  42334. #: guix-git/doc/guix.texi:28213
  42335. 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."
  42336. msgstr ""
  42337. #. type: deftypevr
  42338. #: guix-git/doc/guix.texi:28218
  42339. #, no-wrap
  42340. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-max-perf-on-ac"
  42341. msgstr ""
  42342. #. type: deftypevr
  42343. #: guix-git/doc/guix.texi:28221
  42344. 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."
  42345. msgstr ""
  42346. #. type: deftypevr
  42347. #: guix-git/doc/guix.texi:28226
  42348. #, no-wrap
  42349. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-min-perf-on-bat"
  42350. msgstr ""
  42351. #. type: deftypevr
  42352. #: guix-git/doc/guix.texi:28228
  42353. msgid "Same as @code{cpu-min-perf-on-ac} on BAT mode."
  42354. msgstr ""
  42355. #. type: deftypevr
  42356. #: guix-git/doc/guix.texi:28233
  42357. #, no-wrap
  42358. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-max-perf-on-bat"
  42359. msgstr ""
  42360. #. type: deftypevr
  42361. #: guix-git/doc/guix.texi:28235
  42362. msgid "Same as @code{cpu-max-perf-on-ac} on BAT mode."
  42363. msgstr ""
  42364. #. type: deftypevr
  42365. #: guix-git/doc/guix.texi:28240
  42366. #, no-wrap
  42367. msgid "{@code{tlp-configuration} parameter} maybe-boolean cpu-boost-on-ac?"
  42368. msgstr ""
  42369. #. type: deftypevr
  42370. #: guix-git/doc/guix.texi:28242
  42371. msgid "Enable CPU turbo boost feature on AC mode."
  42372. msgstr ""
  42373. #. type: deftypevr
  42374. #: guix-git/doc/guix.texi:28247
  42375. #, no-wrap
  42376. msgid "{@code{tlp-configuration} parameter} maybe-boolean cpu-boost-on-bat?"
  42377. msgstr ""
  42378. #. type: deftypevr
  42379. #: guix-git/doc/guix.texi:28249
  42380. msgid "Same as @code{cpu-boost-on-ac?} on BAT mode."
  42381. msgstr ""
  42382. #. type: deftypevr
  42383. #: guix-git/doc/guix.texi:28254
  42384. #, no-wrap
  42385. msgid "{@code{tlp-configuration} parameter} boolean sched-powersave-on-ac?"
  42386. msgstr ""
  42387. #. type: deftypevr
  42388. #: guix-git/doc/guix.texi:28257
  42389. msgid "Allow Linux kernel to minimize the number of CPU cores/hyper-threads used under light load conditions."
  42390. msgstr ""
  42391. #. type: deftypevr
  42392. #: guix-git/doc/guix.texi:28262
  42393. #, no-wrap
  42394. msgid "{@code{tlp-configuration} parameter} boolean sched-powersave-on-bat?"
  42395. msgstr ""
  42396. #. type: deftypevr
  42397. #: guix-git/doc/guix.texi:28264
  42398. msgid "Same as @code{sched-powersave-on-ac?} but on BAT mode."
  42399. msgstr ""
  42400. #. type: deftypevr
  42401. #: guix-git/doc/guix.texi:28269
  42402. #, no-wrap
  42403. msgid "{@code{tlp-configuration} parameter} boolean nmi-watchdog?"
  42404. msgstr ""
  42405. #. type: deftypevr
  42406. #: guix-git/doc/guix.texi:28271
  42407. msgid "Enable Linux kernel NMI watchdog."
  42408. msgstr ""
  42409. #. type: deftypevr
  42410. #: guix-git/doc/guix.texi:28276
  42411. #, no-wrap
  42412. msgid "{@code{tlp-configuration} parameter} maybe-string phc-controls"
  42413. msgstr ""
  42414. #. type: deftypevr
  42415. #: guix-git/doc/guix.texi:28279
  42416. 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\"}."
  42417. msgstr ""
  42418. #. type: deftypevr
  42419. #: guix-git/doc/guix.texi:28284
  42420. #, no-wrap
  42421. msgid "{@code{tlp-configuration} parameter} string energy-perf-policy-on-ac"
  42422. msgstr ""
  42423. #. type: deftypevr
  42424. #: guix-git/doc/guix.texi:28287
  42425. msgid "Set CPU performance versus energy saving policy on AC@. Alternatives are performance, normal, powersave."
  42426. msgstr ""
  42427. #. type: deftypevr
  42428. #: guix-git/doc/guix.texi:28289 guix-git/doc/guix.texi:28387
  42429. #: guix-git/doc/guix.texi:28417
  42430. msgid "Defaults to @samp{\"performance\"}."
  42431. msgstr ""
  42432. #. type: deftypevr
  42433. #: guix-git/doc/guix.texi:28292
  42434. #, no-wrap
  42435. msgid "{@code{tlp-configuration} parameter} string energy-perf-policy-on-bat"
  42436. msgstr ""
  42437. #. type: deftypevr
  42438. #: guix-git/doc/guix.texi:28294
  42439. msgid "Same as @code{energy-perf-policy-ac} but on BAT mode."
  42440. msgstr ""
  42441. #. type: deftypevr
  42442. #: guix-git/doc/guix.texi:28296 guix-git/doc/guix.texi:28394
  42443. msgid "Defaults to @samp{\"powersave\"}."
  42444. msgstr ""
  42445. #. type: deftypevr
  42446. #: guix-git/doc/guix.texi:28299
  42447. #, no-wrap
  42448. msgid "{@code{tlp-configuration} parameter} space-separated-string-list disks-devices"
  42449. msgstr ""
  42450. #. type: deftypevr
  42451. #: guix-git/doc/guix.texi:28301
  42452. msgid "Hard disk devices."
  42453. msgstr ""
  42454. #. type: deftypevr
  42455. #: guix-git/doc/guix.texi:28304
  42456. #, no-wrap
  42457. msgid "{@code{tlp-configuration} parameter} space-separated-string-list disk-apm-level-on-ac"
  42458. msgstr ""
  42459. #. type: deftypevr
  42460. #: guix-git/doc/guix.texi:28306
  42461. msgid "Hard disk advanced power management level."
  42462. msgstr ""
  42463. #. type: deftypevr
  42464. #: guix-git/doc/guix.texi:28309
  42465. #, no-wrap
  42466. msgid "{@code{tlp-configuration} parameter} space-separated-string-list disk-apm-level-on-bat"
  42467. msgstr ""
  42468. #. type: deftypevr
  42469. #: guix-git/doc/guix.texi:28311
  42470. msgid "Same as @code{disk-apm-bat} but on BAT mode."
  42471. msgstr ""
  42472. #. type: deftypevr
  42473. #: guix-git/doc/guix.texi:28314
  42474. #, no-wrap
  42475. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list disk-spindown-timeout-on-ac"
  42476. msgstr ""
  42477. #. type: deftypevr
  42478. #: guix-git/doc/guix.texi:28317
  42479. msgid "Hard disk spin down timeout. One value has to be specified for each declared hard disk."
  42480. msgstr ""
  42481. #. type: deftypevr
  42482. #: guix-git/doc/guix.texi:28322
  42483. #, no-wrap
  42484. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list disk-spindown-timeout-on-bat"
  42485. msgstr ""
  42486. #. type: deftypevr
  42487. #: guix-git/doc/guix.texi:28324
  42488. msgid "Same as @code{disk-spindown-timeout-on-ac} but on BAT mode."
  42489. msgstr ""
  42490. #. type: deftypevr
  42491. #: guix-git/doc/guix.texi:28329
  42492. #, no-wrap
  42493. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list disk-iosched"
  42494. msgstr ""
  42495. #. type: deftypevr
  42496. #: guix-git/doc/guix.texi:28333
  42497. 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."
  42498. msgstr ""
  42499. #. type: deftypevr
  42500. #: guix-git/doc/guix.texi:28338
  42501. #, no-wrap
  42502. msgid "{@code{tlp-configuration} parameter} string sata-linkpwr-on-ac"
  42503. msgstr ""
  42504. #. type: deftypevr
  42505. #: guix-git/doc/guix.texi:28341
  42506. msgid "SATA aggressive link power management (ALPM) level. Alternatives are min_power, medium_power, max_performance."
  42507. msgstr ""
  42508. #. type: deftypevr
  42509. #: guix-git/doc/guix.texi:28343
  42510. msgid "Defaults to @samp{\"max_performance\"}."
  42511. msgstr ""
  42512. #. type: deftypevr
  42513. #: guix-git/doc/guix.texi:28346
  42514. #, no-wrap
  42515. msgid "{@code{tlp-configuration} parameter} string sata-linkpwr-on-bat"
  42516. msgstr ""
  42517. #. type: deftypevr
  42518. #: guix-git/doc/guix.texi:28348
  42519. msgid "Same as @code{sata-linkpwr-ac} but on BAT mode."
  42520. msgstr ""
  42521. #. type: deftypevr
  42522. #: guix-git/doc/guix.texi:28350
  42523. msgid "Defaults to @samp{\"min_power\"}."
  42524. msgstr ""
  42525. #. type: deftypevr
  42526. #: guix-git/doc/guix.texi:28353
  42527. #, no-wrap
  42528. msgid "{@code{tlp-configuration} parameter} maybe-string sata-linkpwr-blacklist"
  42529. msgstr ""
  42530. #. type: deftypevr
  42531. #: guix-git/doc/guix.texi:28355
  42532. msgid "Exclude specified SATA host devices for link power management."
  42533. msgstr ""
  42534. #. type: deftypevr
  42535. #: guix-git/doc/guix.texi:28360
  42536. #, no-wrap
  42537. msgid "{@code{tlp-configuration} parameter} maybe-on-off-boolean ahci-runtime-pm-on-ac?"
  42538. msgstr ""
  42539. #. type: deftypevr
  42540. #: guix-git/doc/guix.texi:28363
  42541. msgid "Enable Runtime Power Management for AHCI controller and disks on AC mode."
  42542. msgstr ""
  42543. #. type: deftypevr
  42544. #: guix-git/doc/guix.texi:28368
  42545. #, no-wrap
  42546. msgid "{@code{tlp-configuration} parameter} maybe-on-off-boolean ahci-runtime-pm-on-bat?"
  42547. msgstr ""
  42548. #. type: deftypevr
  42549. #: guix-git/doc/guix.texi:28370
  42550. msgid "Same as @code{ahci-runtime-pm-on-ac} on BAT mode."
  42551. msgstr ""
  42552. #. type: deftypevr
  42553. #: guix-git/doc/guix.texi:28375
  42554. #, no-wrap
  42555. msgid "{@code{tlp-configuration} parameter} non-negative-integer ahci-runtime-pm-timeout"
  42556. msgstr ""
  42557. #. type: deftypevr
  42558. #: guix-git/doc/guix.texi:28377
  42559. msgid "Seconds of inactivity before disk is suspended."
  42560. msgstr ""
  42561. #. type: deftypevr
  42562. #: guix-git/doc/guix.texi:28382
  42563. #, no-wrap
  42564. msgid "{@code{tlp-configuration} parameter} string pcie-aspm-on-ac"
  42565. msgstr ""
  42566. #. type: deftypevr
  42567. #: guix-git/doc/guix.texi:28385
  42568. msgid "PCI Express Active State Power Management level. Alternatives are default, performance, powersave."
  42569. msgstr ""
  42570. #. type: deftypevr
  42571. #: guix-git/doc/guix.texi:28390
  42572. #, no-wrap
  42573. msgid "{@code{tlp-configuration} parameter} string pcie-aspm-on-bat"
  42574. msgstr ""
  42575. #. type: deftypevr
  42576. #: guix-git/doc/guix.texi:28392
  42577. msgid "Same as @code{pcie-aspm-ac} but on BAT mode."
  42578. msgstr ""
  42579. #. type: deftypevr
  42580. #: guix-git/doc/guix.texi:28397
  42581. #, no-wrap
  42582. msgid "{@code{tlp-configuration} parameter} string radeon-power-profile-on-ac"
  42583. msgstr ""
  42584. #. type: deftypevr
  42585. #: guix-git/doc/guix.texi:28400
  42586. msgid "Radeon graphics clock speed level. Alternatives are low, mid, high, auto, default."
  42587. msgstr ""
  42588. #. type: deftypevr
  42589. #: guix-git/doc/guix.texi:28402
  42590. msgid "Defaults to @samp{\"high\"}."
  42591. msgstr ""
  42592. #. type: deftypevr
  42593. #: guix-git/doc/guix.texi:28405
  42594. #, no-wrap
  42595. msgid "{@code{tlp-configuration} parameter} string radeon-power-profile-on-bat"
  42596. msgstr ""
  42597. #. type: deftypevr
  42598. #: guix-git/doc/guix.texi:28407
  42599. msgid "Same as @code{radeon-power-ac} but on BAT mode."
  42600. msgstr ""
  42601. #. type: deftypevr
  42602. #: guix-git/doc/guix.texi:28409
  42603. msgid "Defaults to @samp{\"low\"}."
  42604. msgstr ""
  42605. #. type: deftypevr
  42606. #: guix-git/doc/guix.texi:28412
  42607. #, no-wrap
  42608. msgid "{@code{tlp-configuration} parameter} string radeon-dpm-state-on-ac"
  42609. msgstr ""
  42610. #. type: deftypevr
  42611. #: guix-git/doc/guix.texi:28415
  42612. msgid "Radeon dynamic power management method (DPM). Alternatives are battery, performance."
  42613. msgstr ""
  42614. #. type: deftypevr
  42615. #: guix-git/doc/guix.texi:28420
  42616. #, no-wrap
  42617. msgid "{@code{tlp-configuration} parameter} string radeon-dpm-state-on-bat"
  42618. msgstr ""
  42619. #. type: deftypevr
  42620. #: guix-git/doc/guix.texi:28422
  42621. msgid "Same as @code{radeon-dpm-state-ac} but on BAT mode."
  42622. msgstr ""
  42623. #. type: deftypevr
  42624. #: guix-git/doc/guix.texi:28424
  42625. msgid "Defaults to @samp{\"battery\"}."
  42626. msgstr ""
  42627. #. type: deftypevr
  42628. #: guix-git/doc/guix.texi:28427
  42629. #, no-wrap
  42630. msgid "{@code{tlp-configuration} parameter} string radeon-dpm-perf-level-on-ac"
  42631. msgstr ""
  42632. #. type: deftypevr
  42633. #: guix-git/doc/guix.texi:28429
  42634. msgid "Radeon DPM performance level. Alternatives are auto, low, high."
  42635. msgstr ""
  42636. #. type: deftypevr
  42637. #: guix-git/doc/guix.texi:28431 guix-git/doc/guix.texi:28438
  42638. #: guix-git/doc/guix.texi:28512
  42639. msgid "Defaults to @samp{\"auto\"}."
  42640. msgstr ""
  42641. #. type: deftypevr
  42642. #: guix-git/doc/guix.texi:28434
  42643. #, no-wrap
  42644. msgid "{@code{tlp-configuration} parameter} string radeon-dpm-perf-level-on-bat"
  42645. msgstr ""
  42646. #. type: deftypevr
  42647. #: guix-git/doc/guix.texi:28436
  42648. msgid "Same as @code{radeon-dpm-perf-ac} but on BAT mode."
  42649. msgstr ""
  42650. #. type: deftypevr
  42651. #: guix-git/doc/guix.texi:28441
  42652. #, no-wrap
  42653. msgid "{@code{tlp-configuration} parameter} on-off-boolean wifi-pwr-on-ac?"
  42654. msgstr ""
  42655. #. type: deftypevr
  42656. #: guix-git/doc/guix.texi:28443
  42657. msgid "Wifi power saving mode."
  42658. msgstr ""
  42659. #. type: deftypevr
  42660. #: guix-git/doc/guix.texi:28448
  42661. #, no-wrap
  42662. msgid "{@code{tlp-configuration} parameter} on-off-boolean wifi-pwr-on-bat?"
  42663. msgstr ""
  42664. #. type: deftypevr
  42665. #: guix-git/doc/guix.texi:28450
  42666. msgid "Same as @code{wifi-power-ac?} but on BAT mode."
  42667. msgstr ""
  42668. #. type: deftypevr
  42669. #: guix-git/doc/guix.texi:28455
  42670. #, no-wrap
  42671. msgid "{@code{tlp-configuration} parameter} y-n-boolean wol-disable?"
  42672. msgstr ""
  42673. #. type: deftypevr
  42674. #: guix-git/doc/guix.texi:28457
  42675. msgid "Disable wake on LAN."
  42676. msgstr ""
  42677. #. type: deftypevr
  42678. #: guix-git/doc/guix.texi:28462
  42679. #, no-wrap
  42680. msgid "{@code{tlp-configuration} parameter} non-negative-integer sound-power-save-on-ac"
  42681. msgstr ""
  42682. #. type: deftypevr
  42683. #: guix-git/doc/guix.texi:28465
  42684. msgid "Timeout duration in seconds before activating audio power saving on Intel HDA and AC97 devices. A value of 0 disables power saving."
  42685. msgstr ""
  42686. #. type: deftypevr
  42687. #: guix-git/doc/guix.texi:28470
  42688. #, no-wrap
  42689. msgid "{@code{tlp-configuration} parameter} non-negative-integer sound-power-save-on-bat"
  42690. msgstr ""
  42691. #. type: deftypevr
  42692. #: guix-git/doc/guix.texi:28472
  42693. msgid "Same as @code{sound-powersave-ac} but on BAT mode."
  42694. msgstr ""
  42695. #. type: deftypevr
  42696. #: guix-git/doc/guix.texi:28477
  42697. #, no-wrap
  42698. msgid "{@code{tlp-configuration} parameter} y-n-boolean sound-power-save-controller?"
  42699. msgstr ""
  42700. #. type: deftypevr
  42701. #: guix-git/doc/guix.texi:28479
  42702. msgid "Disable controller in powersaving mode on Intel HDA devices."
  42703. msgstr ""
  42704. #. type: deftypevr
  42705. #: guix-git/doc/guix.texi:28484
  42706. #, no-wrap
  42707. msgid "{@code{tlp-configuration} parameter} boolean bay-poweroff-on-bat?"
  42708. msgstr ""
  42709. #. type: deftypevr
  42710. #: guix-git/doc/guix.texi:28488
  42711. 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."
  42712. msgstr ""
  42713. #. type: deftypevr
  42714. #: guix-git/doc/guix.texi:28493
  42715. #, no-wrap
  42716. msgid "{@code{tlp-configuration} parameter} string bay-device"
  42717. msgstr ""
  42718. #. type: deftypevr
  42719. #: guix-git/doc/guix.texi:28495
  42720. msgid "Name of the optical drive device to power off."
  42721. msgstr ""
  42722. #. type: deftypevr
  42723. #: guix-git/doc/guix.texi:28497
  42724. msgid "Defaults to @samp{\"sr0\"}."
  42725. msgstr ""
  42726. #. type: deftypevr
  42727. #: guix-git/doc/guix.texi:28500
  42728. #, no-wrap
  42729. msgid "{@code{tlp-configuration} parameter} string runtime-pm-on-ac"
  42730. msgstr ""
  42731. #. type: deftypevr
  42732. #: guix-git/doc/guix.texi:28503
  42733. msgid "Runtime Power Management for PCI(e) bus devices. Alternatives are on and auto."
  42734. msgstr ""
  42735. #. type: deftypevr
  42736. #: guix-git/doc/guix.texi:28505
  42737. msgid "Defaults to @samp{\"on\"}."
  42738. msgstr ""
  42739. #. type: deftypevr
  42740. #: guix-git/doc/guix.texi:28508
  42741. #, no-wrap
  42742. msgid "{@code{tlp-configuration} parameter} string runtime-pm-on-bat"
  42743. msgstr ""
  42744. #. type: deftypevr
  42745. #: guix-git/doc/guix.texi:28510
  42746. msgid "Same as @code{runtime-pm-ac} but on BAT mode."
  42747. msgstr ""
  42748. #. type: deftypevr
  42749. #: guix-git/doc/guix.texi:28515
  42750. #, no-wrap
  42751. msgid "{@code{tlp-configuration} parameter} boolean runtime-pm-all?"
  42752. msgstr ""
  42753. #. type: deftypevr
  42754. #: guix-git/doc/guix.texi:28518
  42755. msgid "Runtime Power Management for all PCI(e) bus devices, except blacklisted ones."
  42756. msgstr ""
  42757. #. type: deftypevr
  42758. #: guix-git/doc/guix.texi:28523
  42759. #, no-wrap
  42760. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list runtime-pm-blacklist"
  42761. msgstr ""
  42762. #. type: deftypevr
  42763. #: guix-git/doc/guix.texi:28525
  42764. msgid "Exclude specified PCI(e) device addresses from Runtime Power Management."
  42765. msgstr ""
  42766. #. type: deftypevr
  42767. #: guix-git/doc/guix.texi:28530
  42768. #, no-wrap
  42769. msgid "{@code{tlp-configuration} parameter} space-separated-string-list runtime-pm-driver-blacklist"
  42770. msgstr ""
  42771. #. type: deftypevr
  42772. #: guix-git/doc/guix.texi:28533
  42773. msgid "Exclude PCI(e) devices assigned to the specified drivers from Runtime Power Management."
  42774. msgstr ""
  42775. #. type: deftypevr
  42776. #: guix-git/doc/guix.texi:28536
  42777. #, no-wrap
  42778. msgid "{@code{tlp-configuration} parameter} boolean usb-autosuspend?"
  42779. msgstr ""
  42780. #. type: deftypevr
  42781. #: guix-git/doc/guix.texi:28538
  42782. msgid "Enable USB autosuspend feature."
  42783. msgstr ""
  42784. #. type: deftypevr
  42785. #: guix-git/doc/guix.texi:28543
  42786. #, no-wrap
  42787. msgid "{@code{tlp-configuration} parameter} maybe-string usb-blacklist"
  42788. msgstr ""
  42789. #. type: deftypevr
  42790. #: guix-git/doc/guix.texi:28545
  42791. msgid "Exclude specified devices from USB autosuspend."
  42792. msgstr ""
  42793. #. type: deftypevr
  42794. #: guix-git/doc/guix.texi:28550
  42795. #, no-wrap
  42796. msgid "{@code{tlp-configuration} parameter} boolean usb-blacklist-wwan?"
  42797. msgstr ""
  42798. #. type: deftypevr
  42799. #: guix-git/doc/guix.texi:28552
  42800. msgid "Exclude WWAN devices from USB autosuspend."
  42801. msgstr ""
  42802. #. type: deftypevr
  42803. #: guix-git/doc/guix.texi:28557
  42804. #, no-wrap
  42805. msgid "{@code{tlp-configuration} parameter} maybe-string usb-whitelist"
  42806. msgstr ""
  42807. #. type: deftypevr
  42808. #: guix-git/doc/guix.texi:28560
  42809. msgid "Include specified devices into USB autosuspend, even if they are already excluded by the driver or via @code{usb-blacklist-wwan?}."
  42810. msgstr ""
  42811. #. type: deftypevr
  42812. #: guix-git/doc/guix.texi:28565
  42813. #, no-wrap
  42814. msgid "{@code{tlp-configuration} parameter} maybe-boolean usb-autosuspend-disable-on-shutdown?"
  42815. msgstr ""
  42816. #. type: deftypevr
  42817. #: guix-git/doc/guix.texi:28567
  42818. msgid "Enable USB autosuspend before shutdown."
  42819. msgstr ""
  42820. #. type: deftypevr
  42821. #: guix-git/doc/guix.texi:28572
  42822. #, no-wrap
  42823. msgid "{@code{tlp-configuration} parameter} boolean restore-device-state-on-startup?"
  42824. msgstr ""
  42825. #. type: deftypevr
  42826. #: guix-git/doc/guix.texi:28575
  42827. msgid "Restore radio device state (bluetooth, wifi, wwan) from previous shutdown on system startup."
  42828. msgstr ""
  42829. #. type: cindex
  42830. #: guix-git/doc/guix.texi:28580
  42831. #, no-wrap
  42832. msgid "thermald"
  42833. msgstr ""
  42834. #. type: cindex
  42835. #: guix-git/doc/guix.texi:28581
  42836. #, no-wrap
  42837. msgid "CPU frequency scaling with thermald"
  42838. msgstr ""
  42839. #. type: subsubheading
  42840. #: guix-git/doc/guix.texi:28582
  42841. #, no-wrap
  42842. msgid "Thermald daemon"
  42843. msgstr ""
  42844. #. type: Plain text
  42845. #: guix-git/doc/guix.texi:28586
  42846. msgid "The @code{(gnu services pm)} module provides an interface to thermald, a CPU frequency scaling service which helps prevent overheating."
  42847. msgstr ""
  42848. #. type: defvr
  42849. #: guix-git/doc/guix.texi:28587
  42850. #, no-wrap
  42851. msgid "{Scheme Variable} thermald-service-type"
  42852. msgstr ""
  42853. #. type: defvr
  42854. #: guix-git/doc/guix.texi:28592
  42855. 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."
  42856. msgstr ""
  42857. #. type: deftp
  42858. #: guix-git/doc/guix.texi:28594
  42859. #, no-wrap
  42860. msgid "{Data Type} thermald-configuration"
  42861. msgstr ""
  42862. #. type: deftp
  42863. #: guix-git/doc/guix.texi:28596
  42864. msgid "Data type representing the configuration of @code{thermald-service-type}."
  42865. msgstr ""
  42866. #. type: item
  42867. #: guix-git/doc/guix.texi:28598
  42868. #, no-wrap
  42869. msgid "@code{ignore-cpuid-check?} (default: @code{#f})"
  42870. msgstr ""
  42871. #. type: table
  42872. #: guix-git/doc/guix.texi:28600
  42873. msgid "Ignore cpuid check for supported CPU models."
  42874. msgstr ""
  42875. #. type: item
  42876. #: guix-git/doc/guix.texi:28601
  42877. #, no-wrap
  42878. msgid "@code{thermald} (default: @var{thermald})"
  42879. msgstr ""
  42880. #. type: table
  42881. #: guix-git/doc/guix.texi:28603
  42882. msgid "Package object of thermald."
  42883. msgstr ""
  42884. #. type: Plain text
  42885. #: guix-git/doc/guix.texi:28612
  42886. msgid "The @code{(gnu services audio)} module provides a service to start MPD (the Music Player Daemon)."
  42887. msgstr ""
  42888. #. type: cindex
  42889. #: guix-git/doc/guix.texi:28613
  42890. #, no-wrap
  42891. msgid "mpd"
  42892. msgstr ""
  42893. #. type: subsubheading
  42894. #: guix-git/doc/guix.texi:28614
  42895. #, no-wrap
  42896. msgid "Music Player Daemon"
  42897. msgstr ""
  42898. #. type: Plain text
  42899. #: guix-git/doc/guix.texi:28619
  42900. 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."
  42901. msgstr ""
  42902. #. type: Plain text
  42903. #: guix-git/doc/guix.texi:28622
  42904. msgid "The following example shows how one might run @code{mpd} as user @code{\"bob\"} on port @code{6666}. It uses pulseaudio for output."
  42905. msgstr ""
  42906. #. type: lisp
  42907. #: guix-git/doc/guix.texi:28628
  42908. #, no-wrap
  42909. msgid ""
  42910. "(service mpd-service-type\n"
  42911. " (mpd-configuration\n"
  42912. " (user \"bob\")\n"
  42913. " (port \"6666\")))\n"
  42914. msgstr ""
  42915. #. type: defvr
  42916. #: guix-git/doc/guix.texi:28630
  42917. #, no-wrap
  42918. msgid "{Scheme Variable} mpd-service-type"
  42919. msgstr ""
  42920. #. type: defvr
  42921. #: guix-git/doc/guix.texi:28632
  42922. msgid "The service type for @command{mpd}"
  42923. msgstr ""
  42924. #. type: deftp
  42925. #: guix-git/doc/guix.texi:28634
  42926. #, no-wrap
  42927. msgid "{Data Type} mpd-configuration"
  42928. msgstr ""
  42929. #. type: deftp
  42930. #: guix-git/doc/guix.texi:28636
  42931. msgid "Data type representing the configuration of @command{mpd}."
  42932. msgstr ""
  42933. #. type: item
  42934. #: guix-git/doc/guix.texi:28638
  42935. #, no-wrap
  42936. msgid "@code{user} (default: @code{\"mpd\"})"
  42937. msgstr ""
  42938. #. type: table
  42939. #: guix-git/doc/guix.texi:28640
  42940. msgid "The user to run mpd as."
  42941. msgstr ""
  42942. #. type: item
  42943. #: guix-git/doc/guix.texi:28641
  42944. #, no-wrap
  42945. msgid "@code{music-dir} (default: @code{\"~/Music\"})"
  42946. msgstr ""
  42947. #. type: table
  42948. #: guix-git/doc/guix.texi:28643
  42949. msgid "The directory to scan for music files."
  42950. msgstr ""
  42951. #. type: item
  42952. #: guix-git/doc/guix.texi:28644
  42953. #, no-wrap
  42954. msgid "@code{playlist-dir} (default: @code{\"~/.mpd/playlists\"})"
  42955. msgstr ""
  42956. #. type: table
  42957. #: guix-git/doc/guix.texi:28646
  42958. msgid "The directory to store playlists."
  42959. msgstr ""
  42960. #. type: item
  42961. #: guix-git/doc/guix.texi:28647
  42962. #, no-wrap
  42963. msgid "@code{db-file} (default: @code{\"~/.mpd/tag_cache\"})"
  42964. msgstr ""
  42965. #. type: table
  42966. #: guix-git/doc/guix.texi:28649
  42967. msgid "The location of the music database."
  42968. msgstr ""
  42969. #. type: item
  42970. #: guix-git/doc/guix.texi:28650
  42971. #, no-wrap
  42972. msgid "@code{state-file} (default: @code{\"~/.mpd/state\"})"
  42973. msgstr ""
  42974. #. type: table
  42975. #: guix-git/doc/guix.texi:28652
  42976. msgid "The location of the file that stores current MPD's state."
  42977. msgstr ""
  42978. #. type: item
  42979. #: guix-git/doc/guix.texi:28653
  42980. #, no-wrap
  42981. msgid "@code{sticker-file} (default: @code{\"~/.mpd/sticker.sql\"})"
  42982. msgstr ""
  42983. #. type: table
  42984. #: guix-git/doc/guix.texi:28655
  42985. msgid "The location of the sticker database."
  42986. msgstr ""
  42987. #. type: item
  42988. #: guix-git/doc/guix.texi:28656
  42989. #, no-wrap
  42990. msgid "@code{port} (default: @code{\"6600\"})"
  42991. msgstr ""
  42992. #. type: table
  42993. #: guix-git/doc/guix.texi:28658
  42994. msgid "The port to run mpd on."
  42995. msgstr ""
  42996. #. type: item
  42997. #: guix-git/doc/guix.texi:28659
  42998. #, no-wrap
  42999. msgid "@code{address} (default: @code{\"any\"})"
  43000. msgstr ""
  43001. #. type: table
  43002. #: guix-git/doc/guix.texi:28662
  43003. msgid "The address that mpd will bind to. To use a Unix domain socket, an absolute path can be specified here."
  43004. msgstr ""
  43005. #. type: item
  43006. #: guix-git/doc/guix.texi:28663
  43007. #, no-wrap
  43008. msgid "@code{outputs} (default: @code{\"(list (mpd-output))\"})"
  43009. msgstr ""
  43010. #. type: table
  43011. #: guix-git/doc/guix.texi:28665
  43012. msgid "The audio outputs that MPD can use. By default this is a single output using pulseaudio."
  43013. msgstr ""
  43014. #. type: deftp
  43015. #: guix-git/doc/guix.texi:28669
  43016. #, no-wrap
  43017. msgid "{Data Type} mpd-output"
  43018. msgstr ""
  43019. #. type: deftp
  43020. #: guix-git/doc/guix.texi:28671
  43021. msgid "Data type representing an @command{mpd} audio output."
  43022. msgstr ""
  43023. #. type: item
  43024. #: guix-git/doc/guix.texi:28673
  43025. #, no-wrap
  43026. msgid "@code{name} (default: @code{\"MPD\"})"
  43027. msgstr ""
  43028. #. type: table
  43029. #: guix-git/doc/guix.texi:28675
  43030. msgid "The name of the audio output."
  43031. msgstr ""
  43032. #. type: item
  43033. #: guix-git/doc/guix.texi:28676
  43034. #, no-wrap
  43035. msgid "@code{type} (default: @code{\"pulse\"})"
  43036. msgstr ""
  43037. #. type: table
  43038. #: guix-git/doc/guix.texi:28678
  43039. msgid "The type of audio output."
  43040. msgstr ""
  43041. #. type: item
  43042. #: guix-git/doc/guix.texi:28679
  43043. #, no-wrap
  43044. msgid "@code{enabled?} (default: @code{#t})"
  43045. msgstr ""
  43046. #. type: table
  43047. #: guix-git/doc/guix.texi:28684
  43048. 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."
  43049. msgstr ""
  43050. #. type: item
  43051. #: guix-git/doc/guix.texi:28685
  43052. #, no-wrap
  43053. msgid "@code{tags?} (default: @code{#t})"
  43054. msgstr ""
  43055. #. type: table
  43056. #: guix-git/doc/guix.texi:28689
  43057. 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."
  43058. msgstr ""
  43059. #. type: item
  43060. #: guix-git/doc/guix.texi:28690
  43061. #, no-wrap
  43062. msgid "@code{always-on?} (default: @code{#f})"
  43063. msgstr ""
  43064. #. type: table
  43065. #: guix-git/doc/guix.texi:28694
  43066. 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."
  43067. msgstr ""
  43068. #. type: code{#1}
  43069. #: guix-git/doc/guix.texi:28695
  43070. #, no-wrap
  43071. msgid "mixer-type"
  43072. msgstr ""
  43073. #. type: table
  43074. #: guix-git/doc/guix.texi:28701
  43075. 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})."
  43076. msgstr ""
  43077. #. type: table
  43078. #: guix-git/doc/guix.texi:28705
  43079. msgid "An association list of option symbols to string values to be appended to the audio output configuration."
  43080. msgstr ""
  43081. #. type: Plain text
  43082. #: guix-git/doc/guix.texi:28711
  43083. msgid "The following example shows a configuration of @code{mpd} that provides an HTTP audio streaming output."
  43084. msgstr ""
  43085. #. type: lisp
  43086. #: guix-git/doc/guix.texi:28723
  43087. #, no-wrap
  43088. msgid ""
  43089. "(service mpd-service-type\n"
  43090. " (mpd-configuration\n"
  43091. " (outputs\n"
  43092. " (list (mpd-output\n"
  43093. " (name \"streaming\")\n"
  43094. " (type \"httpd\")\n"
  43095. " (mixer-type 'null)\n"
  43096. " (extra-options\n"
  43097. " `((encoder . \"vorbis\")\n"
  43098. " (port . \"8080\"))))))))\n"
  43099. msgstr ""
  43100. #. type: Plain text
  43101. #: guix-git/doc/guix.texi:28732
  43102. msgid "The @code{(gnu services virtualization)} module provides services for the libvirt and virtlog daemons, as well as other virtualization-related services."
  43103. msgstr ""
  43104. #. type: subsubheading
  43105. #: guix-git/doc/guix.texi:28733
  43106. #, no-wrap
  43107. msgid "Libvirt daemon"
  43108. msgstr ""
  43109. #. type: Plain text
  43110. #: guix-git/doc/guix.texi:28738
  43111. 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."
  43112. msgstr ""
  43113. #. type: deffn
  43114. #: guix-git/doc/guix.texi:28739
  43115. #, no-wrap
  43116. msgid "{Scheme Variable} libvirt-service-type"
  43117. msgstr ""
  43118. #. type: deffn
  43119. #: guix-git/doc/guix.texi:28742
  43120. msgid "This is the type of the @uref{https://libvirt.org, libvirt daemon}. Its value must be a @code{libvirt-configuration}."
  43121. msgstr ""
  43122. #. type: lisp
  43123. #: guix-git/doc/guix.texi:28748
  43124. #, no-wrap
  43125. msgid ""
  43126. "(service libvirt-service-type\n"
  43127. " (libvirt-configuration\n"
  43128. " (unix-sock-group \"libvirt\")\n"
  43129. " (tls-port \"16555\")))\n"
  43130. msgstr ""
  43131. #. type: Plain text
  43132. #: guix-git/doc/guix.texi:28753
  43133. msgid "Available @code{libvirt-configuration} fields are:"
  43134. msgstr ""
  43135. #. type: deftypevr
  43136. #: guix-git/doc/guix.texi:28754
  43137. #, no-wrap
  43138. msgid "{@code{libvirt-configuration} parameter} package libvirt"
  43139. msgstr ""
  43140. #. type: deftypevr
  43141. #: guix-git/doc/guix.texi:28756
  43142. msgid "Libvirt package."
  43143. msgstr ""
  43144. #. type: deftypevr
  43145. #: guix-git/doc/guix.texi:28759
  43146. #, no-wrap
  43147. msgid "{@code{libvirt-configuration} parameter} boolean listen-tls?"
  43148. msgstr ""
  43149. #. type: deftypevr
  43150. #: guix-git/doc/guix.texi:28762
  43151. msgid "Flag listening for secure TLS connections on the public TCP/IP port. You must set @code{listen} for this to have any effect."
  43152. msgstr ""
  43153. #. type: deftypevr
  43154. #: guix-git/doc/guix.texi:28765
  43155. msgid "It is necessary to setup a CA and issue server certificates before using this capability."
  43156. msgstr ""
  43157. #. type: deftypevr
  43158. #: guix-git/doc/guix.texi:28770
  43159. #, no-wrap
  43160. msgid "{@code{libvirt-configuration} parameter} boolean listen-tcp?"
  43161. msgstr ""
  43162. #. type: deftypevr
  43163. #: guix-git/doc/guix.texi:28773
  43164. msgid "Listen for unencrypted TCP connections on the public TCP/IP port. You must set @code{listen} for this to have any effect."
  43165. msgstr ""
  43166. #. type: deftypevr
  43167. #: guix-git/doc/guix.texi:28777
  43168. 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)."
  43169. msgstr ""
  43170. #. type: deftypevr
  43171. #: guix-git/doc/guix.texi:28782
  43172. #, no-wrap
  43173. msgid "{@code{libvirt-configuration} parameter} string tls-port"
  43174. msgstr ""
  43175. #. type: deftypevr
  43176. #: guix-git/doc/guix.texi:28785
  43177. msgid "Port for accepting secure TLS connections. This can be a port number, or service name."
  43178. msgstr ""
  43179. #. type: deftypevr
  43180. #: guix-git/doc/guix.texi:28787
  43181. msgid "Defaults to @samp{\"16514\"}."
  43182. msgstr ""
  43183. #. type: deftypevr
  43184. #: guix-git/doc/guix.texi:28790
  43185. #, no-wrap
  43186. msgid "{@code{libvirt-configuration} parameter} string tcp-port"
  43187. msgstr ""
  43188. #. type: deftypevr
  43189. #: guix-git/doc/guix.texi:28793
  43190. msgid "Port for accepting insecure TCP connections. This can be a port number, or service name."
  43191. msgstr ""
  43192. #. type: deftypevr
  43193. #: guix-git/doc/guix.texi:28795
  43194. msgid "Defaults to @samp{\"16509\"}."
  43195. msgstr ""
  43196. #. type: deftypevr
  43197. #: guix-git/doc/guix.texi:28798
  43198. #, no-wrap
  43199. msgid "{@code{libvirt-configuration} parameter} string listen-addr"
  43200. msgstr ""
  43201. #. type: deftypevr
  43202. #: guix-git/doc/guix.texi:28800
  43203. msgid "IP address or hostname used for client connections."
  43204. msgstr ""
  43205. #. type: deftypevr
  43206. #: guix-git/doc/guix.texi:28805
  43207. #, no-wrap
  43208. msgid "{@code{libvirt-configuration} parameter} boolean mdns-adv?"
  43209. msgstr ""
  43210. #. type: deftypevr
  43211. #: guix-git/doc/guix.texi:28807
  43212. msgid "Flag toggling mDNS advertisement of the libvirt service."
  43213. msgstr ""
  43214. #. type: deftypevr
  43215. #: guix-git/doc/guix.texi:28810
  43216. msgid "Alternatively can disable for all services on a host by stopping the Avahi daemon."
  43217. msgstr ""
  43218. #. type: deftypevr
  43219. #: guix-git/doc/guix.texi:28815
  43220. #, no-wrap
  43221. msgid "{@code{libvirt-configuration} parameter} string mdns-name"
  43222. msgstr ""
  43223. #. type: deftypevr
  43224. #: guix-git/doc/guix.texi:28818
  43225. msgid "Default mDNS advertisement name. This must be unique on the immediate broadcast network."
  43226. msgstr ""
  43227. #. type: deftypevr
  43228. #: guix-git/doc/guix.texi:28820
  43229. msgid "Defaults to @samp{\"Virtualization Host <hostname>\"}."
  43230. msgstr ""
  43231. #. type: deftypevr
  43232. #: guix-git/doc/guix.texi:28823
  43233. #, no-wrap
  43234. msgid "{@code{libvirt-configuration} parameter} string unix-sock-group"
  43235. msgstr ""
  43236. #. type: deftypevr
  43237. #: guix-git/doc/guix.texi:28827
  43238. msgid "UNIX domain socket group ownership. This can be used to allow a 'trusted' set of users access to management capabilities without becoming root."
  43239. msgstr ""
  43240. #. type: deftypevr
  43241. #: guix-git/doc/guix.texi:28832
  43242. #, no-wrap
  43243. msgid "{@code{libvirt-configuration} parameter} string unix-sock-ro-perms"
  43244. msgstr ""
  43245. #. type: deftypevr
  43246. #: guix-git/doc/guix.texi:28835
  43247. msgid "UNIX socket permissions for the R/O socket. This is used for monitoring VM status only."
  43248. msgstr ""
  43249. #. type: deftypevr
  43250. #: guix-git/doc/guix.texi:28837 guix-git/doc/guix.texi:28855
  43251. msgid "Defaults to @samp{\"0777\"}."
  43252. msgstr ""
  43253. #. type: deftypevr
  43254. #: guix-git/doc/guix.texi:28840
  43255. #, no-wrap
  43256. msgid "{@code{libvirt-configuration} parameter} string unix-sock-rw-perms"
  43257. msgstr ""
  43258. #. type: deftypevr
  43259. #: guix-git/doc/guix.texi:28844
  43260. 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)"
  43261. msgstr ""
  43262. #. type: deftypevr
  43263. #: guix-git/doc/guix.texi:28846
  43264. msgid "Defaults to @samp{\"0770\"}."
  43265. msgstr ""
  43266. #. type: deftypevr
  43267. #: guix-git/doc/guix.texi:28849
  43268. #, no-wrap
  43269. msgid "{@code{libvirt-configuration} parameter} string unix-sock-admin-perms"
  43270. msgstr ""
  43271. #. type: deftypevr
  43272. #: guix-git/doc/guix.texi:28853
  43273. 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."
  43274. msgstr ""
  43275. #. type: deftypevr
  43276. #: guix-git/doc/guix.texi:28858
  43277. #, no-wrap
  43278. msgid "{@code{libvirt-configuration} parameter} string unix-sock-dir"
  43279. msgstr ""
  43280. #. type: deftypevr
  43281. #: guix-git/doc/guix.texi:28860
  43282. msgid "The directory in which sockets will be found/created."
  43283. msgstr ""
  43284. #. type: deftypevr
  43285. #: guix-git/doc/guix.texi:28862
  43286. msgid "Defaults to @samp{\"/var/run/libvirt\"}."
  43287. msgstr ""
  43288. #. type: deftypevr
  43289. #: guix-git/doc/guix.texi:28865
  43290. #, no-wrap
  43291. msgid "{@code{libvirt-configuration} parameter} string auth-unix-ro"
  43292. msgstr ""
  43293. #. type: deftypevr
  43294. #: guix-git/doc/guix.texi:28868
  43295. msgid "Authentication scheme for UNIX read-only sockets. By default socket permissions allow anyone to connect"
  43296. msgstr ""
  43297. #. type: deftypevr
  43298. #: guix-git/doc/guix.texi:28870 guix-git/doc/guix.texi:28879
  43299. msgid "Defaults to @samp{\"polkit\"}."
  43300. msgstr ""
  43301. #. type: deftypevr
  43302. #: guix-git/doc/guix.texi:28873
  43303. #, no-wrap
  43304. msgid "{@code{libvirt-configuration} parameter} string auth-unix-rw"
  43305. msgstr ""
  43306. #. type: deftypevr
  43307. #: guix-git/doc/guix.texi:28877
  43308. 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."
  43309. msgstr ""
  43310. #. type: deftypevr
  43311. #: guix-git/doc/guix.texi:28882
  43312. #, no-wrap
  43313. msgid "{@code{libvirt-configuration} parameter} string auth-tcp"
  43314. msgstr ""
  43315. #. type: deftypevr
  43316. #: guix-git/doc/guix.texi:28886
  43317. 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."
  43318. msgstr ""
  43319. #. type: deftypevr
  43320. #: guix-git/doc/guix.texi:28888
  43321. msgid "Defaults to @samp{\"sasl\"}."
  43322. msgstr ""
  43323. #. type: deftypevr
  43324. #: guix-git/doc/guix.texi:28891
  43325. #, no-wrap
  43326. msgid "{@code{libvirt-configuration} parameter} string auth-tls"
  43327. msgstr ""
  43328. #. type: deftypevr
  43329. #: guix-git/doc/guix.texi:28895
  43330. msgid "Authentication scheme for TLS sockets. TLS sockets already have encryption provided by the TLS layer, and limited authentication is done by certificates."
  43331. msgstr ""
  43332. #. type: deftypevr
  43333. #: guix-git/doc/guix.texi:28898
  43334. msgid "It is possible to make use of any SASL authentication mechanism as well, by using 'sasl' for this option"
  43335. msgstr ""
  43336. #. type: deftypevr
  43337. #: guix-git/doc/guix.texi:28900
  43338. msgid "Defaults to @samp{\"none\"}."
  43339. msgstr ""
  43340. #. type: deftypevr
  43341. #: guix-git/doc/guix.texi:28903
  43342. #, no-wrap
  43343. msgid "{@code{libvirt-configuration} parameter} optional-list access-drivers"
  43344. msgstr ""
  43345. #. type: deftypevr
  43346. #: guix-git/doc/guix.texi:28905
  43347. msgid "API access control scheme."
  43348. msgstr ""
  43349. #. type: deftypevr
  43350. #: guix-git/doc/guix.texi:28908
  43351. msgid "By default an authenticated user is allowed access to all APIs. Access drivers can place restrictions on this."
  43352. msgstr ""
  43353. #. type: deftypevr
  43354. #: guix-git/doc/guix.texi:28913
  43355. #, no-wrap
  43356. msgid "{@code{libvirt-configuration} parameter} string key-file"
  43357. msgstr ""
  43358. #. type: deftypevr
  43359. #: guix-git/doc/guix.texi:28916
  43360. msgid "Server key file path. If set to an empty string, then no private key is loaded."
  43361. msgstr ""
  43362. #. type: deftypevr
  43363. #: guix-git/doc/guix.texi:28921
  43364. #, no-wrap
  43365. msgid "{@code{libvirt-configuration} parameter} string cert-file"
  43366. msgstr ""
  43367. #. type: deftypevr
  43368. #: guix-git/doc/guix.texi:28924
  43369. msgid "Server key file path. If set to an empty string, then no certificate is loaded."
  43370. msgstr ""
  43371. #. type: deftypevr
  43372. #: guix-git/doc/guix.texi:28929
  43373. #, no-wrap
  43374. msgid "{@code{libvirt-configuration} parameter} string ca-file"
  43375. msgstr ""
  43376. #. type: deftypevr
  43377. #: guix-git/doc/guix.texi:28932
  43378. msgid "Server key file path. If set to an empty string, then no CA certificate is loaded."
  43379. msgstr ""
  43380. #. type: deftypevr
  43381. #: guix-git/doc/guix.texi:28937
  43382. #, no-wrap
  43383. msgid "{@code{libvirt-configuration} parameter} string crl-file"
  43384. msgstr ""
  43385. #. type: deftypevr
  43386. #: guix-git/doc/guix.texi:28940
  43387. msgid "Certificate revocation list path. If set to an empty string, then no CRL is loaded."
  43388. msgstr ""
  43389. #. type: deftypevr
  43390. #: guix-git/doc/guix.texi:28945
  43391. #, no-wrap
  43392. msgid "{@code{libvirt-configuration} parameter} boolean tls-no-sanity-cert"
  43393. msgstr ""
  43394. #. type: deftypevr
  43395. #: guix-git/doc/guix.texi:28947
  43396. msgid "Disable verification of our own server certificates."
  43397. msgstr ""
  43398. #. type: deftypevr
  43399. #: guix-git/doc/guix.texi:28950
  43400. msgid "When libvirtd starts it performs some sanity checks against its own certificates."
  43401. msgstr ""
  43402. #. type: deftypevr
  43403. #: guix-git/doc/guix.texi:28955
  43404. #, no-wrap
  43405. msgid "{@code{libvirt-configuration} parameter} boolean tls-no-verify-cert"
  43406. msgstr ""
  43407. #. type: deftypevr
  43408. #: guix-git/doc/guix.texi:28957
  43409. msgid "Disable verification of client certificates."
  43410. msgstr ""
  43411. #. type: deftypevr
  43412. #: guix-git/doc/guix.texi:28961
  43413. msgid "Client certificate verification is the primary authentication mechanism. Any client which does not present a certificate signed by the CA will be rejected."
  43414. msgstr ""
  43415. #. type: deftypevr
  43416. #: guix-git/doc/guix.texi:28966
  43417. #, no-wrap
  43418. msgid "{@code{libvirt-configuration} parameter} optional-list tls-allowed-dn-list"
  43419. msgstr ""
  43420. #. type: deftypevr
  43421. #: guix-git/doc/guix.texi:28968
  43422. msgid "Whitelist of allowed x509 Distinguished Name."
  43423. msgstr ""
  43424. #. type: deftypevr
  43425. #: guix-git/doc/guix.texi:28973
  43426. #, no-wrap
  43427. msgid "{@code{libvirt-configuration} parameter} optional-list sasl-allowed-usernames"
  43428. msgstr ""
  43429. #. type: deftypevr
  43430. #: guix-git/doc/guix.texi:28976
  43431. msgid "Whitelist of allowed SASL usernames. The format for username depends on the SASL authentication mechanism."
  43432. msgstr ""
  43433. #. type: deftypevr
  43434. #: guix-git/doc/guix.texi:28981
  43435. #, no-wrap
  43436. msgid "{@code{libvirt-configuration} parameter} string tls-priority"
  43437. msgstr ""
  43438. #. type: deftypevr
  43439. #: guix-git/doc/guix.texi:28985
  43440. 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."
  43441. msgstr ""
  43442. #. type: deftypevr
  43443. #: guix-git/doc/guix.texi:28987
  43444. msgid "Defaults to @samp{\"NORMAL\"}."
  43445. msgstr ""
  43446. #. type: deftypevr
  43447. #: guix-git/doc/guix.texi:28990
  43448. #, no-wrap
  43449. msgid "{@code{libvirt-configuration} parameter} integer max-clients"
  43450. msgstr ""
  43451. #. type: deftypevr
  43452. #: guix-git/doc/guix.texi:28993 guix-git/doc/guix.texi:29417
  43453. msgid "Maximum number of concurrent client connections to allow over all sockets combined."
  43454. msgstr ""
  43455. #. type: deftypevr
  43456. #: guix-git/doc/guix.texi:28995
  43457. msgid "Defaults to @samp{5000}."
  43458. msgstr ""
  43459. #. type: deftypevr
  43460. #: guix-git/doc/guix.texi:28998
  43461. #, no-wrap
  43462. msgid "{@code{libvirt-configuration} parameter} integer max-queued-clients"
  43463. msgstr ""
  43464. #. type: deftypevr
  43465. #: guix-git/doc/guix.texi:29002
  43466. 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."
  43467. msgstr ""
  43468. #. type: deftypevr
  43469. #: guix-git/doc/guix.texi:29007
  43470. #, no-wrap
  43471. msgid "{@code{libvirt-configuration} parameter} integer max-anonymous-clients"
  43472. msgstr ""
  43473. #. type: deftypevr
  43474. #: guix-git/doc/guix.texi:29010
  43475. msgid "Maximum length of queue of accepted but not yet authenticated clients. Set this to zero to turn this feature off"
  43476. msgstr ""
  43477. #. type: deftypevr
  43478. #: guix-git/doc/guix.texi:29012 guix-git/doc/guix.texi:29030
  43479. #: guix-git/doc/guix.texi:29046
  43480. msgid "Defaults to @samp{20}."
  43481. msgstr ""
  43482. #. type: deftypevr
  43483. #: guix-git/doc/guix.texi:29015
  43484. #, no-wrap
  43485. msgid "{@code{libvirt-configuration} parameter} integer min-workers"
  43486. msgstr ""
  43487. #. type: deftypevr
  43488. #: guix-git/doc/guix.texi:29017
  43489. msgid "Number of workers to start up initially."
  43490. msgstr ""
  43491. #. type: deftypevr
  43492. #: guix-git/doc/guix.texi:29022
  43493. #, no-wrap
  43494. msgid "{@code{libvirt-configuration} parameter} integer max-workers"
  43495. msgstr ""
  43496. #. type: deftypevr
  43497. #: guix-git/doc/guix.texi:29024
  43498. msgid "Maximum number of worker threads."
  43499. msgstr ""
  43500. #. type: deftypevr
  43501. #: guix-git/doc/guix.texi:29028
  43502. 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."
  43503. msgstr ""
  43504. #. type: deftypevr
  43505. #: guix-git/doc/guix.texi:29033
  43506. #, no-wrap
  43507. msgid "{@code{libvirt-configuration} parameter} integer prio-workers"
  43508. msgstr ""
  43509. #. type: deftypevr
  43510. #: guix-git/doc/guix.texi:29037
  43511. 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."
  43512. msgstr ""
  43513. #. type: deftypevr
  43514. #: guix-git/doc/guix.texi:29042
  43515. #, no-wrap
  43516. msgid "{@code{libvirt-configuration} parameter} integer max-requests"
  43517. msgstr ""
  43518. #. type: deftypevr
  43519. #: guix-git/doc/guix.texi:29044
  43520. msgid "Total global limit on concurrent RPC calls."
  43521. msgstr ""
  43522. #. type: deftypevr
  43523. #: guix-git/doc/guix.texi:29049
  43524. #, no-wrap
  43525. msgid "{@code{libvirt-configuration} parameter} integer max-client-requests"
  43526. msgstr ""
  43527. #. type: deftypevr
  43528. #: guix-git/doc/guix.texi:29053
  43529. 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."
  43530. msgstr ""
  43531. #. type: deftypevr
  43532. #: guix-git/doc/guix.texi:29058
  43533. #, no-wrap
  43534. msgid "{@code{libvirt-configuration} parameter} integer admin-min-workers"
  43535. msgstr ""
  43536. #. type: deftypevr
  43537. #: guix-git/doc/guix.texi:29060
  43538. msgid "Same as @code{min-workers} but for the admin interface."
  43539. msgstr ""
  43540. #. type: deftypevr
  43541. #: guix-git/doc/guix.texi:29065
  43542. #, no-wrap
  43543. msgid "{@code{libvirt-configuration} parameter} integer admin-max-workers"
  43544. msgstr ""
  43545. #. type: deftypevr
  43546. #: guix-git/doc/guix.texi:29067
  43547. msgid "Same as @code{max-workers} but for the admin interface."
  43548. msgstr ""
  43549. #. type: deftypevr
  43550. #: guix-git/doc/guix.texi:29072
  43551. #, no-wrap
  43552. msgid "{@code{libvirt-configuration} parameter} integer admin-max-clients"
  43553. msgstr ""
  43554. #. type: deftypevr
  43555. #: guix-git/doc/guix.texi:29074
  43556. msgid "Same as @code{max-clients} but for the admin interface."
  43557. msgstr ""
  43558. #. type: deftypevr
  43559. #: guix-git/doc/guix.texi:29079
  43560. #, no-wrap
  43561. msgid "{@code{libvirt-configuration} parameter} integer admin-max-queued-clients"
  43562. msgstr ""
  43563. #. type: deftypevr
  43564. #: guix-git/doc/guix.texi:29081
  43565. msgid "Same as @code{max-queued-clients} but for the admin interface."
  43566. msgstr ""
  43567. #. type: deftypevr
  43568. #: guix-git/doc/guix.texi:29086
  43569. #, no-wrap
  43570. msgid "{@code{libvirt-configuration} parameter} integer admin-max-client-requests"
  43571. msgstr ""
  43572. #. type: deftypevr
  43573. #: guix-git/doc/guix.texi:29088
  43574. msgid "Same as @code{max-client-requests} but for the admin interface."
  43575. msgstr ""
  43576. #. type: deftypevr
  43577. #: guix-git/doc/guix.texi:29093
  43578. #, no-wrap
  43579. msgid "{@code{libvirt-configuration} parameter} integer log-level"
  43580. msgstr ""
  43581. #. type: deftypevr
  43582. #: guix-git/doc/guix.texi:29095 guix-git/doc/guix.texi:29319
  43583. msgid "Logging level. 4 errors, 3 warnings, 2 information, 1 debug."
  43584. msgstr ""
  43585. #. type: deftypevr
  43586. #: guix-git/doc/guix.texi:29100
  43587. #, no-wrap
  43588. msgid "{@code{libvirt-configuration} parameter} string log-filters"
  43589. msgstr ""
  43590. #. type: deftypevr
  43591. #: guix-git/doc/guix.texi:29102 guix-git/doc/guix.texi:29326
  43592. msgid "Logging filters."
  43593. msgstr ""
  43594. #. type: deftypevr
  43595. #: guix-git/doc/guix.texi:29105
  43596. msgid "A filter allows to select a different logging level for a given category of logs. The format for a filter is one of:"
  43597. msgstr ""
  43598. #. type: itemize
  43599. #: guix-git/doc/guix.texi:29109 guix-git/doc/guix.texi:29333
  43600. msgid "x:name"
  43601. msgstr ""
  43602. #. type: itemize
  43603. #: guix-git/doc/guix.texi:29112 guix-git/doc/guix.texi:29336
  43604. msgid "x:+name"
  43605. msgstr ""
  43606. #. type: deftypevr
  43607. #: guix-git/doc/guix.texi:29123
  43608. 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:"
  43609. msgstr ""
  43610. #. type: itemize
  43611. #: guix-git/doc/guix.texi:29127 guix-git/doc/guix.texi:29172
  43612. #: guix-git/doc/guix.texi:29350 guix-git/doc/guix.texi:29395
  43613. msgid "1: DEBUG"
  43614. msgstr ""
  43615. #. type: itemize
  43616. #: guix-git/doc/guix.texi:29130 guix-git/doc/guix.texi:29175
  43617. #: guix-git/doc/guix.texi:29353 guix-git/doc/guix.texi:29398
  43618. msgid "2: INFO"
  43619. msgstr ""
  43620. #. type: itemize
  43621. #: guix-git/doc/guix.texi:29133 guix-git/doc/guix.texi:29178
  43622. #: guix-git/doc/guix.texi:29356 guix-git/doc/guix.texi:29401
  43623. msgid "3: WARNING"
  43624. msgstr ""
  43625. #. type: itemize
  43626. #: guix-git/doc/guix.texi:29136 guix-git/doc/guix.texi:29181
  43627. #: guix-git/doc/guix.texi:29359 guix-git/doc/guix.texi:29404
  43628. msgid "4: ERROR"
  43629. msgstr ""
  43630. #. type: deftypevr
  43631. #: guix-git/doc/guix.texi:29141 guix-git/doc/guix.texi:29364
  43632. msgid "Multiple filters can be defined in a single filters statement, they just need to be separated by spaces."
  43633. msgstr ""
  43634. #. type: deftypevr
  43635. #: guix-git/doc/guix.texi:29143 guix-git/doc/guix.texi:29366
  43636. msgid "Defaults to @samp{\"3:remote 4:event\"}."
  43637. msgstr ""
  43638. #. type: deftypevr
  43639. #: guix-git/doc/guix.texi:29146
  43640. #, no-wrap
  43641. msgid "{@code{libvirt-configuration} parameter} string log-outputs"
  43642. msgstr ""
  43643. #. type: deftypevr
  43644. #: guix-git/doc/guix.texi:29148 guix-git/doc/guix.texi:29371
  43645. msgid "Logging outputs."
  43646. msgstr ""
  43647. #. type: deftypevr
  43648. #: guix-git/doc/guix.texi:29151
  43649. msgid "An output is one of the places to save logging information. The format for an output can be:"
  43650. msgstr ""
  43651. #. type: item
  43652. #: guix-git/doc/guix.texi:29153 guix-git/doc/guix.texi:29376
  43653. #, no-wrap
  43654. msgid "x:stderr"
  43655. msgstr ""
  43656. #. type: table
  43657. #: guix-git/doc/guix.texi:29155 guix-git/doc/guix.texi:29378
  43658. msgid "output goes to stderr"
  43659. msgstr ""
  43660. #. type: item
  43661. #: guix-git/doc/guix.texi:29156 guix-git/doc/guix.texi:29379
  43662. #, no-wrap
  43663. msgid "x:syslog:name"
  43664. msgstr ""
  43665. #. type: table
  43666. #: guix-git/doc/guix.texi:29158 guix-git/doc/guix.texi:29381
  43667. msgid "use syslog for the output and use the given name as the ident"
  43668. msgstr ""
  43669. #. type: item
  43670. #: guix-git/doc/guix.texi:29159 guix-git/doc/guix.texi:29382
  43671. #, no-wrap
  43672. msgid "x:file:file_path"
  43673. msgstr ""
  43674. #. type: table
  43675. #: guix-git/doc/guix.texi:29161 guix-git/doc/guix.texi:29384
  43676. msgid "output to a file, with the given filepath"
  43677. msgstr ""
  43678. #. type: item
  43679. #: guix-git/doc/guix.texi:29162 guix-git/doc/guix.texi:29385
  43680. #, no-wrap
  43681. msgid "x:journald"
  43682. msgstr ""
  43683. #. type: table
  43684. #: guix-git/doc/guix.texi:29164 guix-git/doc/guix.texi:29387
  43685. msgid "output to journald logging system"
  43686. msgstr ""
  43687. #. type: deftypevr
  43688. #: guix-git/doc/guix.texi:29168 guix-git/doc/guix.texi:29391
  43689. msgid "In all case the x prefix is the minimal level, acting as a filter"
  43690. msgstr ""
  43691. #. type: deftypevr
  43692. #: guix-git/doc/guix.texi:29186 guix-git/doc/guix.texi:29409
  43693. msgid "Multiple outputs can be defined, they just need to be separated by spaces."
  43694. msgstr ""
  43695. #. type: deftypevr
  43696. #: guix-git/doc/guix.texi:29188 guix-git/doc/guix.texi:29411
  43697. msgid "Defaults to @samp{\"3:stderr\"}."
  43698. msgstr ""
  43699. #. type: deftypevr
  43700. #: guix-git/doc/guix.texi:29191
  43701. #, no-wrap
  43702. msgid "{@code{libvirt-configuration} parameter} integer audit-level"
  43703. msgstr ""
  43704. #. type: deftypevr
  43705. #: guix-git/doc/guix.texi:29193
  43706. msgid "Allows usage of the auditing subsystem to be altered"
  43707. msgstr ""
  43708. #. type: itemize
  43709. #: guix-git/doc/guix.texi:29197
  43710. msgid "0: disable all auditing"
  43711. msgstr ""
  43712. #. type: itemize
  43713. #: guix-git/doc/guix.texi:29200
  43714. msgid "1: enable auditing, only if enabled on host"
  43715. msgstr ""
  43716. #. type: itemize
  43717. #: guix-git/doc/guix.texi:29203
  43718. msgid "2: enable auditing, and exit if disabled on host."
  43719. msgstr ""
  43720. #. type: deftypevr
  43721. #: guix-git/doc/guix.texi:29210
  43722. #, no-wrap
  43723. msgid "{@code{libvirt-configuration} parameter} boolean audit-logging"
  43724. msgstr ""
  43725. #. type: deftypevr
  43726. #: guix-git/doc/guix.texi:29212
  43727. msgid "Send audit messages via libvirt logging infrastructure."
  43728. msgstr ""
  43729. #. type: deftypevr
  43730. #: guix-git/doc/guix.texi:29217
  43731. #, no-wrap
  43732. msgid "{@code{libvirt-configuration} parameter} optional-string host-uuid"
  43733. msgstr ""
  43734. #. type: deftypevr
  43735. #: guix-git/doc/guix.texi:29219
  43736. msgid "Host UUID@. UUID must not have all digits be the same."
  43737. msgstr ""
  43738. #. type: deftypevr
  43739. #: guix-git/doc/guix.texi:29224
  43740. #, no-wrap
  43741. msgid "{@code{libvirt-configuration} parameter} string host-uuid-source"
  43742. msgstr ""
  43743. #. type: deftypevr
  43744. #: guix-git/doc/guix.texi:29226
  43745. msgid "Source to read host UUID."
  43746. msgstr ""
  43747. #. type: itemize
  43748. #: guix-git/doc/guix.texi:29230
  43749. msgid "@code{smbios}: fetch the UUID from @code{dmidecode -s system-uuid}"
  43750. msgstr ""
  43751. #. type: itemize
  43752. #: guix-git/doc/guix.texi:29233
  43753. msgid "@code{machine-id}: fetch the UUID from @code{/etc/machine-id}"
  43754. msgstr ""
  43755. #. type: deftypevr
  43756. #: guix-git/doc/guix.texi:29238
  43757. msgid "If @code{dmidecode} does not provide a valid UUID a temporary UUID will be generated."
  43758. msgstr ""
  43759. #. type: deftypevr
  43760. #: guix-git/doc/guix.texi:29240
  43761. msgid "Defaults to @samp{\"smbios\"}."
  43762. msgstr ""
  43763. #. type: deftypevr
  43764. #: guix-git/doc/guix.texi:29243
  43765. #, no-wrap
  43766. msgid "{@code{libvirt-configuration} parameter} integer keepalive-interval"
  43767. msgstr ""
  43768. #. type: deftypevr
  43769. #: guix-git/doc/guix.texi:29248
  43770. 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."
  43771. msgstr ""
  43772. #. type: deftypevr
  43773. #: guix-git/doc/guix.texi:29253
  43774. #, no-wrap
  43775. msgid "{@code{libvirt-configuration} parameter} integer keepalive-count"
  43776. msgstr ""
  43777. #. type: deftypevr
  43778. #: guix-git/doc/guix.texi:29257
  43779. 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."
  43780. msgstr ""
  43781. #. type: deftypevr
  43782. #: guix-git/doc/guix.texi:29264
  43783. 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."
  43784. msgstr ""
  43785. #. type: deftypevr
  43786. #: guix-git/doc/guix.texi:29269
  43787. #, no-wrap
  43788. msgid "{@code{libvirt-configuration} parameter} integer admin-keepalive-interval"
  43789. msgstr ""
  43790. #. type: deftypevr
  43791. #: guix-git/doc/guix.texi:29271 guix-git/doc/guix.texi:29278
  43792. msgid "Same as above but for admin interface."
  43793. msgstr ""
  43794. #. type: deftypevr
  43795. #: guix-git/doc/guix.texi:29276
  43796. #, no-wrap
  43797. msgid "{@code{libvirt-configuration} parameter} integer admin-keepalive-count"
  43798. msgstr ""
  43799. #. type: deftypevr
  43800. #: guix-git/doc/guix.texi:29283
  43801. #, no-wrap
  43802. msgid "{@code{libvirt-configuration} parameter} integer ovs-timeout"
  43803. msgstr ""
  43804. #. type: deftypevr
  43805. #: guix-git/doc/guix.texi:29285
  43806. msgid "Timeout for Open vSwitch calls."
  43807. msgstr ""
  43808. #. type: deftypevr
  43809. #: guix-git/doc/guix.texi:29289
  43810. 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."
  43811. msgstr ""
  43812. #. type: subsubheading
  43813. #: guix-git/doc/guix.texi:29296
  43814. #, no-wrap
  43815. msgid "Virtlog daemon"
  43816. msgstr ""
  43817. #. type: Plain text
  43818. #: guix-git/doc/guix.texi:29299
  43819. msgid "The virtlogd service is a server side daemon component of libvirt that is used to manage logs from virtual machine consoles."
  43820. msgstr ""
  43821. #. type: Plain text
  43822. #: guix-git/doc/guix.texi:29305
  43823. 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."
  43824. msgstr ""
  43825. #. type: deffn
  43826. #: guix-git/doc/guix.texi:29306
  43827. #, no-wrap
  43828. msgid "{Scheme Variable} virtlog-service-type"
  43829. msgstr ""
  43830. #. type: deffn
  43831. #: guix-git/doc/guix.texi:29309
  43832. msgid "This is the type of the virtlog daemon. Its value must be a @code{virtlog-configuration}."
  43833. msgstr ""
  43834. #. type: lisp
  43835. #: guix-git/doc/guix.texi:29314
  43836. #, no-wrap
  43837. msgid ""
  43838. "(service virtlog-service-type\n"
  43839. " (virtlog-configuration\n"
  43840. " (max-clients 1000)))\n"
  43841. msgstr ""
  43842. #. type: deftypevr
  43843. #: guix-git/doc/guix.texi:29317
  43844. #, no-wrap
  43845. msgid "{@code{virtlog-configuration} parameter} integer log-level"
  43846. msgstr ""
  43847. #. type: deftypevr
  43848. #: guix-git/doc/guix.texi:29324
  43849. #, no-wrap
  43850. msgid "{@code{virtlog-configuration} parameter} string log-filters"
  43851. msgstr ""
  43852. #. type: deftypevr
  43853. #: guix-git/doc/guix.texi:29329
  43854. msgid "A filter allows to select a different logging level for a given category of logs The format for a filter is one of:"
  43855. msgstr ""
  43856. #. type: deftypevr
  43857. #: guix-git/doc/guix.texi:29346
  43858. 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:"
  43859. msgstr ""
  43860. #. type: deftypevr
  43861. #: guix-git/doc/guix.texi:29369
  43862. #, no-wrap
  43863. msgid "{@code{virtlog-configuration} parameter} string log-outputs"
  43864. msgstr ""
  43865. #. type: deftypevr
  43866. #: guix-git/doc/guix.texi:29374
  43867. msgid "An output is one of the places to save logging information The format for an output can be:"
  43868. msgstr ""
  43869. #. type: deftypevr
  43870. #: guix-git/doc/guix.texi:29414
  43871. #, no-wrap
  43872. msgid "{@code{virtlog-configuration} parameter} integer max-clients"
  43873. msgstr ""
  43874. #. type: deftypevr
  43875. #: guix-git/doc/guix.texi:29419
  43876. msgid "Defaults to @samp{1024}."
  43877. msgstr ""
  43878. #. type: deftypevr
  43879. #: guix-git/doc/guix.texi:29422
  43880. #, no-wrap
  43881. msgid "{@code{virtlog-configuration} parameter} integer max-size"
  43882. msgstr ""
  43883. #. type: deftypevr
  43884. #: guix-git/doc/guix.texi:29424
  43885. msgid "Maximum file size before rolling over."
  43886. msgstr ""
  43887. #. type: deftypevr
  43888. #: guix-git/doc/guix.texi:29426
  43889. msgid "Defaults to @samp{2MB}"
  43890. msgstr ""
  43891. #. type: deftypevr
  43892. #: guix-git/doc/guix.texi:29429
  43893. #, no-wrap
  43894. msgid "{@code{virtlog-configuration} parameter} integer max-backups"
  43895. msgstr ""
  43896. #. type: deftypevr
  43897. #: guix-git/doc/guix.texi:29431
  43898. msgid "Maximum number of backup files to keep."
  43899. msgstr ""
  43900. #. type: deftypevr
  43901. #: guix-git/doc/guix.texi:29433
  43902. msgid "Defaults to @samp{3}"
  43903. msgstr ""
  43904. #. type: anchor{#1}
  43905. #: guix-git/doc/guix.texi:29437
  43906. msgid "transparent-emulation-qemu"
  43907. msgstr ""
  43908. #. type: subsubheading
  43909. #: guix-git/doc/guix.texi:29437
  43910. #, no-wrap
  43911. msgid "Transparent Emulation with QEMU"
  43912. msgstr ""
  43913. #. type: cindex
  43914. #: guix-git/doc/guix.texi:29439
  43915. #, no-wrap
  43916. msgid "emulation"
  43917. msgstr ""
  43918. #. type: code{#1}
  43919. #: guix-git/doc/guix.texi:29440
  43920. #, no-wrap
  43921. msgid "binfmt_misc"
  43922. msgstr ""
  43923. #. type: Plain text
  43924. #: guix-git/doc/guix.texi:29448
  43925. 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."
  43926. msgstr ""
  43927. #. type: defvr
  43928. #: guix-git/doc/guix.texi:29449
  43929. #, no-wrap
  43930. msgid "{Scheme Variable} qemu-binfmt-service-type"
  43931. msgstr ""
  43932. #. type: defvr
  43933. #: guix-git/doc/guix.texi:29454
  43934. 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:"
  43935. msgstr ""
  43936. #. type: lisp
  43937. #: guix-git/doc/guix.texi:29459
  43938. #, no-wrap
  43939. msgid ""
  43940. "(service qemu-binfmt-service-type\n"
  43941. " (qemu-binfmt-configuration\n"
  43942. " (platforms (lookup-qemu-platforms \"arm\" \"aarch64\"))))\n"
  43943. msgstr ""
  43944. #. type: defvr
  43945. #: guix-git/doc/guix.texi:29465
  43946. 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})."
  43947. msgstr ""
  43948. #. type: deftp
  43949. #: guix-git/doc/guix.texi:29467
  43950. #, no-wrap
  43951. msgid "{Data Type} qemu-binfmt-configuration"
  43952. msgstr ""
  43953. #. type: deftp
  43954. #: guix-git/doc/guix.texi:29469
  43955. msgid "This is the configuration for the @code{qemu-binfmt} service."
  43956. msgstr ""
  43957. #. type: item
  43958. #: guix-git/doc/guix.texi:29471
  43959. #, no-wrap
  43960. msgid "@code{platforms} (default: @code{'()})"
  43961. msgstr ""
  43962. #. type: table
  43963. #: guix-git/doc/guix.texi:29474
  43964. msgid "The list of emulated QEMU platforms. Each item must be a @dfn{platform object} as returned by @code{lookup-qemu-platforms} (see below)."
  43965. msgstr ""
  43966. #. type: table
  43967. #: guix-git/doc/guix.texi:29477
  43968. msgid "For example, let's suppose you're on an x86_64 machine and you have this service:"
  43969. msgstr ""
  43970. #. type: lisp
  43971. #: guix-git/doc/guix.texi:29482
  43972. #, no-wrap
  43973. msgid ""
  43974. "(service qemu-binfmt-service-type\n"
  43975. " (qemu-binfmt-configuration\n"
  43976. " (platforms (lookup-qemu-platforms \"arm\"))))\n"
  43977. msgstr ""
  43978. #. type: table
  43979. #: guix-git/doc/guix.texi:29485
  43980. msgid "You can run:"
  43981. msgstr ""
  43982. #. type: example
  43983. #: guix-git/doc/guix.texi:29488
  43984. #, no-wrap
  43985. msgid "guix build -s armhf-linux inkscape\n"
  43986. msgstr ""
  43987. #. type: table
  43988. #: guix-git/doc/guix.texi:29495
  43989. 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!"
  43990. msgstr ""
  43991. #. type: item
  43992. #: guix-git/doc/guix.texi:29496
  43993. #, no-wrap
  43994. msgid "@code{qemu} (default: @code{qemu})"
  43995. msgstr ""
  43996. #. type: table
  43997. #: guix-git/doc/guix.texi:29498 guix-git/doc/guix.texi:29592
  43998. msgid "The QEMU package to use."
  43999. msgstr ""
  44000. #. type: deffn
  44001. #: guix-git/doc/guix.texi:29501
  44002. #, no-wrap
  44003. msgid "{Scheme Procedure} lookup-qemu-platforms @var{platforms}@dots{}"
  44004. msgstr ""
  44005. #. type: deffn
  44006. #: guix-git/doc/guix.texi:29506
  44007. 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."
  44008. msgstr ""
  44009. #. type: deffn
  44010. #: guix-git/doc/guix.texi:29508
  44011. #, no-wrap
  44012. msgid "{Scheme Procedure} qemu-platform? @var{obj}"
  44013. msgstr ""
  44014. #. type: deffn
  44015. #: guix-git/doc/guix.texi:29510
  44016. msgid "Return true if @var{obj} is a platform object."
  44017. msgstr ""
  44018. #. type: deffn
  44019. #: guix-git/doc/guix.texi:29512
  44020. #, no-wrap
  44021. msgid "{Scheme Procedure} qemu-platform-name @var{platform}"
  44022. msgstr ""
  44023. #. type: deffn
  44024. #: guix-git/doc/guix.texi:29514
  44025. msgid "Return the name of @var{platform}---a string such as @code{\"arm\"}."
  44026. msgstr ""
  44027. #. type: subsubheading
  44028. #: guix-git/doc/guix.texi:29517
  44029. #, no-wrap
  44030. msgid "The Hurd in a Virtual Machine"
  44031. msgstr ""
  44032. #. type: cindex
  44033. #: guix-git/doc/guix.texi:29520
  44034. #, no-wrap
  44035. msgid "the Hurd"
  44036. msgstr ""
  44037. #. type: cindex
  44038. #: guix-git/doc/guix.texi:29521
  44039. #, no-wrap
  44040. msgid "childhurd"
  44041. msgstr ""
  44042. #. type: Plain text
  44043. #: guix-git/doc/guix.texi:29529
  44044. 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:"
  44045. msgstr ""
  44046. #. type: example
  44047. #: guix-git/doc/guix.texi:29533
  44048. #, no-wrap
  44049. msgid ""
  44050. "herd start hurd-vm\n"
  44051. "herd stop childhurd\n"
  44052. msgstr ""
  44053. #. type: Plain text
  44054. #: guix-git/doc/guix.texi:29537
  44055. msgid "When the service is running, you can view its console by connecting to it with a VNC client, for example with:"
  44056. msgstr ""
  44057. #. type: example
  44058. #: guix-git/doc/guix.texi:29541
  44059. #, no-wrap
  44060. msgid ""
  44061. "guix environment --ad-hoc tigervnc-client -- \\\n"
  44062. " vncviewer localhost:5900\n"
  44063. msgstr ""
  44064. #. type: Plain text
  44065. #: guix-git/doc/guix.texi:29547
  44066. 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:"
  44067. msgstr ""
  44068. #. type: example
  44069. #: guix-git/doc/guix.texi:29550
  44070. #, no-wrap
  44071. msgid "ssh root@@localhost -p 10022\n"
  44072. msgstr ""
  44073. #. type: Plain text
  44074. #: guix-git/doc/guix.texi:29559
  44075. 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."
  44076. msgstr ""
  44077. #. type: defvr
  44078. #: guix-git/doc/guix.texi:29560
  44079. #, no-wrap
  44080. msgid "{Scheme Variable} hurd-vm-service-type"
  44081. msgstr ""
  44082. #. type: defvr
  44083. #: guix-git/doc/guix.texi:29566
  44084. 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."
  44085. msgstr ""
  44086. #. type: lisp
  44087. #: guix-git/doc/guix.texi:29574
  44088. #, no-wrap
  44089. msgid ""
  44090. "(service hurd-vm-service-type\n"
  44091. " (hurd-vm-configuration\n"
  44092. " (disk-size (* 5000 (expt 2 20))) ;5G\n"
  44093. " (memory-size 1024))) ;1024MiB\n"
  44094. msgstr ""
  44095. #. type: defvr
  44096. #: guix-git/doc/guix.texi:29578
  44097. msgid "would create a disk image big enough to build GNU@tie{}Hello, with some extra memory."
  44098. msgstr ""
  44099. #. type: deftp
  44100. #: guix-git/doc/guix.texi:29580
  44101. #, no-wrap
  44102. msgid "{Data Type} hurd-vm-configuration"
  44103. msgstr ""
  44104. #. type: deftp
  44105. #: guix-git/doc/guix.texi:29583
  44106. msgid "The data type representing the configuration for @code{hurd-vm-service-type}."
  44107. msgstr ""
  44108. #. type: item
  44109. #: guix-git/doc/guix.texi:29585
  44110. #, no-wrap
  44111. msgid "@code{os} (default: @var{%hurd-vm-operating-system})"
  44112. msgstr ""
  44113. #. type: table
  44114. #: guix-git/doc/guix.texi:29589
  44115. 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}})."
  44116. msgstr ""
  44117. #. type: item
  44118. #: guix-git/doc/guix.texi:29590
  44119. #, no-wrap
  44120. msgid "@code{qemu} (default: @code{qemu-minimal})"
  44121. msgstr ""
  44122. #. type: item
  44123. #: guix-git/doc/guix.texi:29593
  44124. #, no-wrap
  44125. msgid "@code{image} (default: @var{hurd-vm-disk-image})"
  44126. msgstr ""
  44127. #. type: table
  44128. #: guix-git/doc/guix.texi:29596
  44129. msgid "The procedure used to build the disk-image built from this configuration."
  44130. msgstr ""
  44131. #. type: item
  44132. #: guix-git/doc/guix.texi:29597
  44133. #, no-wrap
  44134. msgid "@code{disk-size} (default: @code{'guess})"
  44135. msgstr ""
  44136. #. type: table
  44137. #: guix-git/doc/guix.texi:29599
  44138. msgid "The size of the disk image."
  44139. msgstr ""
  44140. #. type: item
  44141. #: guix-git/doc/guix.texi:29600
  44142. #, no-wrap
  44143. msgid "@code{memory-size} (default: @code{512})"
  44144. msgstr ""
  44145. #. type: table
  44146. #: guix-git/doc/guix.texi:29602
  44147. msgid "The memory size of the Virtual Machine in mebibytes."
  44148. msgstr ""
  44149. #. type: item
  44150. #: guix-git/doc/guix.texi:29603
  44151. #, no-wrap
  44152. msgid "@code{options} (default: @code{'(\"--snapshot\")})"
  44153. msgstr ""
  44154. #. type: table
  44155. #: guix-git/doc/guix.texi:29605
  44156. msgid "The extra options for running QEMU."
  44157. msgstr ""
  44158. #. type: table
  44159. #: guix-git/doc/guix.texi:29610
  44160. 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}."
  44161. msgstr ""
  44162. #. type: item
  44163. #: guix-git/doc/guix.texi:29611
  44164. #, no-wrap
  44165. msgid "@code{net-options} (default: @var{hurd-vm-net-options})"
  44166. msgstr ""
  44167. #. type: table
  44168. #: guix-git/doc/guix.texi:29613
  44169. msgid "The procedure used to produce the list of QEMU networking options."
  44170. msgstr ""
  44171. #. type: table
  44172. #: guix-git/doc/guix.texi:29615
  44173. msgid "By default, it produces"
  44174. msgstr ""
  44175. #. type: lisp
  44176. #: guix-git/doc/guix.texi:29623
  44177. #, no-wrap
  44178. msgid ""
  44179. "'(\"--device\" \"rtl8139,netdev=net0\"\n"
  44180. " \"--netdev\" (string-append\n"
  44181. " \"user,id=net0,\"\n"
  44182. " \"hostfwd=tcp:127.0.0.1:@var{secrets-port}-:1004,\"\n"
  44183. " \"hostfwd=tcp:127.0.0.1:@var{ssh-port}-:2222,\"\n"
  44184. " \"hostfwd=tcp:127.0.0.1:@var{vnc-port}-:5900\"))\n"
  44185. msgstr ""
  44186. #. type: table
  44187. #: guix-git/doc/guix.texi:29626
  44188. msgid "with forwarded ports:"
  44189. msgstr ""
  44190. #. type: example
  44191. #: guix-git/doc/guix.texi:29631
  44192. #, no-wrap
  44193. msgid ""
  44194. "@var{secrets-port}: @code{(+ 11004 (* 1000 @var{ID}))}\n"
  44195. "@var{ssh-port}: @code{(+ 10022 (* 1000 @var{ID}))}\n"
  44196. "@var{vnc-port}: @code{(+ 15900 (* 1000 @var{ID}))}\n"
  44197. msgstr ""
  44198. #. type: item
  44199. #: guix-git/doc/guix.texi:29633
  44200. #, no-wrap
  44201. msgid "@code{secret-root} (default: @file{/etc/childhurd})"
  44202. msgstr ""
  44203. #. type: table
  44204. #: guix-git/doc/guix.texi:29638
  44205. 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."
  44206. msgstr ""
  44207. #. type: table
  44208. #: guix-git/doc/guix.texi:29642
  44209. 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."
  44210. msgstr ""
  44211. #. type: table
  44212. #: guix-git/doc/guix.texi:29645
  44213. msgid "By default, the service automatically populates @file{/etc/childhurd} with the following non-volatile secrets, unless they already exist:"
  44214. msgstr ""
  44215. #. type: example
  44216. #: guix-git/doc/guix.texi:29654
  44217. #, no-wrap
  44218. msgid ""
  44219. "/etc/childhurd/etc/guix/acl\n"
  44220. "/etc/childhurd/etc/guix/signing-key.pub\n"
  44221. "/etc/childhurd/etc/guix/signing-key.sec\n"
  44222. "/etc/childhurd/etc/ssh/ssh_host_ed25519_key\n"
  44223. "/etc/childhurd/etc/ssh/ssh_host_ecdsa_key\n"
  44224. "/etc/childhurd/etc/ssh/ssh_host_ed25519_key.pub\n"
  44225. "/etc/childhurd/etc/ssh/ssh_host_ecdsa_key.pub\n"
  44226. msgstr ""
  44227. #. type: table
  44228. #: guix-git/doc/guix.texi:29658
  44229. msgid "These files are automatically sent to the guest Hurd VM when it boots, including permissions."
  44230. msgstr ""
  44231. #. type: cindex
  44232. #: guix-git/doc/guix.texi:29659
  44233. #, no-wrap
  44234. msgid "childhurd, offloading"
  44235. msgstr ""
  44236. #. type: cindex
  44237. #: guix-git/doc/guix.texi:29660
  44238. #, no-wrap
  44239. msgid "Hurd, offloading"
  44240. msgstr ""
  44241. #. type: table
  44242. #: guix-git/doc/guix.texi:29664
  44243. 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:"
  44244. msgstr ""
  44245. #. type: enumerate
  44246. #: guix-git/doc/guix.texi:29669
  44247. 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:"
  44248. msgstr ""
  44249. #. type: example
  44250. #: guix-git/doc/guix.texi:29673
  44251. #, no-wrap
  44252. msgid ""
  44253. "guix archive --authorize < \\\n"
  44254. " /etc/childhurd/etc/guix/signing-key.pub\n"
  44255. msgstr ""
  44256. #. type: enumerate
  44257. #: guix-git/doc/guix.texi:29678
  44258. msgid "Adding the childhurd to @file{/etc/guix/machines.scm} (@pxref{Daemon Offload Setup})."
  44259. msgstr ""
  44260. #. type: table
  44261. #: guix-git/doc/guix.texi:29682
  44262. msgid "We're working towards making that happen automatically---get in touch with us at @email{guix-devel@@gnu.org} to discuss it!"
  44263. msgstr ""
  44264. #. type: Plain text
  44265. #: guix-git/doc/guix.texi:29689
  44266. 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:"
  44267. msgstr ""
  44268. #. type: lisp
  44269. #: guix-git/doc/guix.texi:29695
  44270. #, no-wrap
  44271. msgid ""
  44272. "(service hurd-vm-service-type\n"
  44273. " (hurd-vm-configuration\n"
  44274. " (image (const \"/out/of/store/writable/hurd.img\"))\n"
  44275. " (options '())))\n"
  44276. msgstr ""
  44277. #. type: subsubheading
  44278. #: guix-git/doc/guix.texi:29697
  44279. #, no-wrap
  44280. msgid "Ganeti"
  44281. msgstr ""
  44282. #. type: cindex
  44283. #: guix-git/doc/guix.texi:29699
  44284. #, no-wrap
  44285. msgid "ganeti"
  44286. msgstr ""
  44287. #. type: quotation
  44288. #: guix-git/doc/guix.texi:29706
  44289. 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}."
  44290. msgstr ""
  44291. #. type: Plain text
  44292. #: guix-git/doc/guix.texi:29716
  44293. 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)."
  44294. msgstr ""
  44295. #. type: Plain text
  44296. #: guix-git/doc/guix.texi:29721
  44297. 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}:"
  44298. msgstr ""
  44299. #. type: lisp
  44300. #: guix-git/doc/guix.texi:29731
  44301. #, no-wrap
  44302. msgid ""
  44303. "(use-package-modules virtualization)\n"
  44304. "(use-service-modules base ganeti networking ssh)\n"
  44305. "(operating-system\n"
  44306. " ;; @dots{}\n"
  44307. " (host-name \"node1\")\n"
  44308. " (hosts-file (plain-file \"hosts\" (format #f \"\n"
  44309. "127.0.0.1 localhost\n"
  44310. "::1 localhost\n"
  44311. "\n"
  44312. msgstr ""
  44313. #. type: lisp
  44314. #: guix-git/doc/guix.texi:29736
  44315. #, no-wrap
  44316. msgid ""
  44317. "192.168.1.200 ganeti.example.com\n"
  44318. "192.168.1.201 node1.example.com node1\n"
  44319. "192.168.1.202 node2.example.com node2\n"
  44320. "\")))\n"
  44321. "\n"
  44322. msgstr ""
  44323. #. type: lisp
  44324. #: guix-git/doc/guix.texi:29750
  44325. #, no-wrap
  44326. msgid ""
  44327. " ;; Install QEMU so we can use KVM-based instances, and LVM, DRBD and Ceph\n"
  44328. " ;; in order to use the \"plain\", \"drbd\" and \"rbd\" storage backends.\n"
  44329. " (packages (append (map specification->package\n"
  44330. " '(\"qemu\" \"lvm2\" \"drbd-utils\" \"ceph\"\n"
  44331. " ;; Add the debootstrap and guix OS providers.\n"
  44332. " \"ganeti-instance-guix\" \"ganeti-instance-debootstrap\"))\n"
  44333. " %base-packages))\n"
  44334. " (services\n"
  44335. " (append (list (static-networking-service \"eth0\" \"192.168.1.201\"\n"
  44336. " #:netmask \"255.255.255.0\"\n"
  44337. " #:gateway \"192.168.1.254\"\n"
  44338. " #:name-servers '(\"192.168.1.252\"\n"
  44339. " \"192.168.1.253\"))\n"
  44340. "\n"
  44341. msgstr ""
  44342. #. type: lisp
  44343. #: guix-git/doc/guix.texi:29755
  44344. #, no-wrap
  44345. msgid ""
  44346. " ;; Ganeti uses SSH to communicate between nodes.\n"
  44347. " (service openssh-service-type\n"
  44348. " (openssh-configuration\n"
  44349. " (permit-root-login 'prohibit-password)))\n"
  44350. "\n"
  44351. msgstr ""
  44352. #. type: lisp
  44353. #: guix-git/doc/guix.texi:29765
  44354. #, no-wrap
  44355. msgid ""
  44356. " (service ganeti-service-type\n"
  44357. " (ganeti-configuration\n"
  44358. " ;; This list specifies allowed file system paths\n"
  44359. " ;; for storing virtual machine images.\n"
  44360. " (file-storage-paths '(\"/srv/ganeti/file-storage\"))\n"
  44361. " ;; This variable configures a single \"variant\" for\n"
  44362. " ;; both Debootstrap and Guix that works with KVM.\n"
  44363. " (os %default-ganeti-os))))\n"
  44364. " %base-services)))\n"
  44365. msgstr ""
  44366. #. type: Plain text
  44367. #: guix-git/doc/guix.texi:29773
  44368. 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."
  44369. msgstr ""
  44370. #. type: defvr
  44371. #: guix-git/doc/guix.texi:29774
  44372. #, no-wrap
  44373. msgid "{Scheme Variable} ganeti-service-type"
  44374. msgstr ""
  44375. #. type: defvr
  44376. #: guix-git/doc/guix.texi:29777
  44377. msgid "This is a service type that includes all the various services that Ganeti nodes should run."
  44378. msgstr ""
  44379. #. type: defvr
  44380. #: guix-git/doc/guix.texi:29782
  44381. 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."
  44382. msgstr ""
  44383. #. type: deftp
  44384. #: guix-git/doc/guix.texi:29784
  44385. #, no-wrap
  44386. msgid "{Data Type} ganeti-configuration"
  44387. msgstr ""
  44388. #. type: deftp
  44389. #: guix-git/doc/guix.texi:29786
  44390. msgid "The @code{ganeti} service takes the following configuration options:"
  44391. msgstr ""
  44392. #. type: item
  44393. #: guix-git/doc/guix.texi:29788 guix-git/doc/guix.texi:30016
  44394. #: guix-git/doc/guix.texi:30066 guix-git/doc/guix.texi:30096
  44395. #: guix-git/doc/guix.texi:30123 guix-git/doc/guix.texi:30155
  44396. #: guix-git/doc/guix.texi:30208 guix-git/doc/guix.texi:30228
  44397. #: guix-git/doc/guix.texi:30254 guix-git/doc/guix.texi:30287
  44398. #: guix-git/doc/guix.texi:30327
  44399. #, no-wrap
  44400. msgid "@code{ganeti} (default: @code{ganeti})"
  44401. msgstr ""
  44402. #. type: table
  44403. #: guix-git/doc/guix.texi:29793
  44404. 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)."
  44405. msgstr ""
  44406. #. type: item
  44407. #: guix-git/doc/guix.texi:29794
  44408. #, no-wrap
  44409. msgid "@code{noded-configuration} (default: @code{(ganeti-noded-configuration)})"
  44410. msgstr ""
  44411. #. type: itemx
  44412. #: guix-git/doc/guix.texi:29795
  44413. #, no-wrap
  44414. msgid "@code{confd-configuration} (default: @code{(ganeti-confd-configuration)})"
  44415. msgstr ""
  44416. #. type: itemx
  44417. #: guix-git/doc/guix.texi:29796
  44418. #, no-wrap
  44419. msgid "@code{wconfd-configuration} (default: @code{(ganeti-wconfd-configuration)})"
  44420. msgstr ""
  44421. #. type: itemx
  44422. #: guix-git/doc/guix.texi:29797
  44423. #, no-wrap
  44424. msgid "@code{luxid-configuration} (default: @code{(ganeti-luxid-configuration)})"
  44425. msgstr ""
  44426. #. type: itemx
  44427. #: guix-git/doc/guix.texi:29798
  44428. #, no-wrap
  44429. msgid "@code{rapi-configuration} (default: @code{(ganeti-rapi-configuration)})"
  44430. msgstr ""
  44431. #. type: itemx
  44432. #: guix-git/doc/guix.texi:29799
  44433. #, no-wrap
  44434. msgid "@code{kvmd-configuration} (default: @code{(ganeti-kvmd-configuration)})"
  44435. msgstr ""
  44436. #. type: itemx
  44437. #: guix-git/doc/guix.texi:29800
  44438. #, no-wrap
  44439. msgid "@code{mond-configuration} (default: @code{(ganeti-mond-configuration)})"
  44440. msgstr ""
  44441. #. type: itemx
  44442. #: guix-git/doc/guix.texi:29801
  44443. #, no-wrap
  44444. msgid "@code{metad-configuration} (default: @code{(ganeti-metad-configuration)})"
  44445. msgstr ""
  44446. #. type: itemx
  44447. #: guix-git/doc/guix.texi:29802
  44448. #, no-wrap
  44449. msgid "@code{watcher-configuration} (default: @code{(ganeti-watcher-configuration)})"
  44450. msgstr ""
  44451. #. type: itemx
  44452. #: guix-git/doc/guix.texi:29803
  44453. #, no-wrap
  44454. msgid "@code{cleaner-configuration} (default: @code{(ganeti-cleaner-configuration)})"
  44455. msgstr ""
  44456. #. type: table
  44457. #: guix-git/doc/guix.texi:29808
  44458. 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:"
  44459. msgstr ""
  44460. #. type: lisp
  44461. #: guix-git/doc/guix.texi:29818
  44462. #, no-wrap
  44463. msgid ""
  44464. "(service ganeti-service-type\n"
  44465. " (ganeti-configuration\n"
  44466. " (rapi-configuration\n"
  44467. " (ganeti-rapi-configuration\n"
  44468. " (interface \"eth1\"))))\n"
  44469. " (watcher-configuration\n"
  44470. " (ganeti-watcher-configuration\n"
  44471. " (rapi-ip \"10.0.0.1\"))))\n"
  44472. msgstr ""
  44473. #. type: item
  44474. #: guix-git/doc/guix.texi:29820
  44475. #, no-wrap
  44476. msgid "@code{file-storage-paths} (default: @code{'()})"
  44477. msgstr ""
  44478. #. type: table
  44479. #: guix-git/doc/guix.texi:29822
  44480. msgid "List of allowed directories for file storage backend."
  44481. msgstr ""
  44482. #. type: item
  44483. #: guix-git/doc/guix.texi:29823
  44484. #, no-wrap
  44485. msgid "@code{os} (default: @code{%default-ganeti-os})"
  44486. msgstr ""
  44487. #. type: table
  44488. #: guix-git/doc/guix.texi:29825
  44489. msgid "List of @code{<ganeti-os>} records."
  44490. msgstr ""
  44491. #. type: deftp
  44492. #: guix-git/doc/guix.texi:29829
  44493. msgid "In essence @code{ganeti-service-type} is shorthand for declaring each service individually:"
  44494. msgstr ""
  44495. #. type: lisp
  44496. #: guix-git/doc/guix.texi:29840
  44497. #, no-wrap
  44498. msgid ""
  44499. "(service ganeti-noded-service-type)\n"
  44500. "(service ganeti-confd-service-type)\n"
  44501. "(service ganeti-wconfd-service-type)\n"
  44502. "(service ganeti-luxid-service-type)\n"
  44503. "(service ganeti-kvmd-service-type)\n"
  44504. "(service ganeti-mond-service-type)\n"
  44505. "(service ganeti-metad-service-type)\n"
  44506. "(service ganeti-watcher-service-type)\n"
  44507. "(service ganeti-cleaner-service-type)\n"
  44508. msgstr ""
  44509. #. type: deftp
  44510. #: guix-git/doc/guix.texi:29844
  44511. msgid "Plus a service extension for @code{etc-service-type} that configures the file storage backend and OS variants."
  44512. msgstr ""
  44513. #. type: deftp
  44514. #: guix-git/doc/guix.texi:29847
  44515. #, no-wrap
  44516. msgid "{Data Type} ganeti-os"
  44517. msgstr ""
  44518. #. type: deftp
  44519. #: guix-git/doc/guix.texi:29850
  44520. msgid "This data type is suitable for passing to the @code{os} parameter of @code{ganeti-configuration}. It takes the following parameters:"
  44521. msgstr ""
  44522. #. type: table
  44523. #: guix-git/doc/guix.texi:29856
  44524. 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}."
  44525. msgstr ""
  44526. #. type: code{#1}
  44527. #: guix-git/doc/guix.texi:29857
  44528. #, no-wrap
  44529. msgid "extension"
  44530. msgstr ""
  44531. #. type: table
  44532. #: guix-git/doc/guix.texi:29860
  44533. msgid "The file extension for variants of this OS type. For example @file{.conf} or @file{.scm}."
  44534. msgstr ""
  44535. #. type: item
  44536. #: guix-git/doc/guix.texi:29861
  44537. #, no-wrap
  44538. msgid "@code{variants} (default: @code{'()})"
  44539. msgstr ""
  44540. #. type: table
  44541. #: guix-git/doc/guix.texi:29863
  44542. msgid "List of @code{ganeti-os-variant} objects for this OS."
  44543. msgstr ""
  44544. #. type: deftp
  44545. #: guix-git/doc/guix.texi:29867
  44546. #, no-wrap
  44547. msgid "{Data Type} ganeti-os-variant"
  44548. msgstr ""
  44549. #. type: deftp
  44550. #: guix-git/doc/guix.texi:29870
  44551. msgid "This is the data type for a Ganeti OS variant. It takes the following parameters:"
  44552. msgstr ""
  44553. #. type: table
  44554. #: guix-git/doc/guix.texi:29874
  44555. msgid "The name of this variant."
  44556. msgstr ""
  44557. #. type: code{#1}
  44558. #: guix-git/doc/guix.texi:29875
  44559. #, no-wrap
  44560. msgid "configuration"
  44561. msgstr ""
  44562. #. type: table
  44563. #: guix-git/doc/guix.texi:29877
  44564. msgid "A configuration file for this variant."
  44565. msgstr ""
  44566. #. type: defvr
  44567. #: guix-git/doc/guix.texi:29880
  44568. #, no-wrap
  44569. msgid "{Scheme Variable} %default-debootstrap-hooks"
  44570. msgstr ""
  44571. #. type: defvr
  44572. #: guix-git/doc/guix.texi:29882
  44573. msgid "This variable contains hooks to configure networking and the GRUB bootloader."
  44574. msgstr ""
  44575. #. type: defvr
  44576. #: guix-git/doc/guix.texi:29884
  44577. #, no-wrap
  44578. msgid "{Scheme Variable} %default-debootstrap-extra-pkgs"
  44579. msgstr ""
  44580. #. type: defvr
  44581. #: guix-git/doc/guix.texi:29886
  44582. msgid "This variable contains a list of packages suitable for a fully-virtualized guest."
  44583. msgstr ""
  44584. #. type: deftp
  44585. #: guix-git/doc/guix.texi:29888
  44586. #, no-wrap
  44587. msgid "{Data Type} debootstrap-configuration"
  44588. msgstr ""
  44589. #. type: deftp
  44590. #: guix-git/doc/guix.texi:29891
  44591. msgid "This data type creates configuration files suitable for the debootstrap OS provider."
  44592. msgstr ""
  44593. #. type: item
  44594. #: guix-git/doc/guix.texi:29893
  44595. #, no-wrap
  44596. msgid "@code{hooks} (default: @code{%default-debootstrap-hooks})"
  44597. msgstr ""
  44598. #. type: table
  44599. #: guix-git/doc/guix.texi:29897
  44600. 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:"
  44601. msgstr ""
  44602. #. type: lisp
  44603. #: guix-git/doc/guix.texi:29900
  44604. #, no-wrap
  44605. msgid "`((99-hello-world . ,(plain-file \"#!/bin/sh\\necho Hello, World\")))\n"
  44606. msgstr ""
  44607. #. type: table
  44608. #: guix-git/doc/guix.texi:29905
  44609. 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."
  44610. msgstr ""
  44611. #. type: item
  44612. #: guix-git/doc/guix.texi:29905
  44613. #, no-wrap
  44614. msgid "@code{proxy} (default: @code{#f})"
  44615. msgstr ""
  44616. #. type: table
  44617. #: guix-git/doc/guix.texi:29907
  44618. msgid "Optional HTTP proxy to use."
  44619. msgstr ""
  44620. #. type: item
  44621. #: guix-git/doc/guix.texi:29907
  44622. #, no-wrap
  44623. msgid "@code{mirror} (default: @code{#f})"
  44624. msgstr ""
  44625. #. type: table
  44626. #: guix-git/doc/guix.texi:29910
  44627. msgid "The Debian mirror. Typically something like @code{http://ftp.no.debian.org/debian}. The default varies depending on the distribution."
  44628. msgstr ""
  44629. #. type: item
  44630. #: guix-git/doc/guix.texi:29910
  44631. #, no-wrap
  44632. msgid "@code{arch} (default: @code{#f})"
  44633. msgstr ""
  44634. #. type: table
  44635. #: guix-git/doc/guix.texi:29913
  44636. 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."
  44637. msgstr ""
  44638. #. type: item
  44639. #: guix-git/doc/guix.texi:29913
  44640. #, no-wrap
  44641. msgid "@code{suite} (default: @code{\"stable\"})"
  44642. msgstr ""
  44643. #. type: table
  44644. #: guix-git/doc/guix.texi:29916
  44645. 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."
  44646. msgstr ""
  44647. #. type: item
  44648. #: guix-git/doc/guix.texi:29916
  44649. #, no-wrap
  44650. msgid "@code{extra-pkgs} (default: @code{%default-debootstrap-extra-pkgs})"
  44651. msgstr ""
  44652. #. type: table
  44653. #: guix-git/doc/guix.texi:29919
  44654. msgid "List of extra packages that will get installed by dpkg in addition to the minimal system."
  44655. msgstr ""
  44656. #. type: item
  44657. #: guix-git/doc/guix.texi:29919
  44658. #, no-wrap
  44659. msgid "@code{components} (default: @code{#f})"
  44660. msgstr ""
  44661. #. type: table
  44662. #: guix-git/doc/guix.texi:29922
  44663. msgid "When set, must be a list of Debian repository ``components''. For example @code{'(\"main\" \"contrib\")}."
  44664. msgstr ""
  44665. #. type: item
  44666. #: guix-git/doc/guix.texi:29922
  44667. #, no-wrap
  44668. msgid "@code{generate-cache?} (default: @code{#t})"
  44669. msgstr ""
  44670. #. type: table
  44671. #: guix-git/doc/guix.texi:29924
  44672. msgid "Whether to automatically cache the generated debootstrap archive."
  44673. msgstr ""
  44674. #. type: item
  44675. #: guix-git/doc/guix.texi:29924
  44676. #, no-wrap
  44677. msgid "@code{clean-cache} (default: @code{14})"
  44678. msgstr ""
  44679. #. type: table
  44680. #: guix-git/doc/guix.texi:29927
  44681. msgid "Discard the cache after this amount of days. Use @code{#f} to never clear the cache."
  44682. msgstr ""
  44683. #. type: item
  44684. #: guix-git/doc/guix.texi:29927
  44685. #, no-wrap
  44686. msgid "@code{partition-style} (default: @code{'msdos})"
  44687. msgstr ""
  44688. #. type: table
  44689. #: guix-git/doc/guix.texi:29930
  44690. msgid "The type of partition to create. When set, it must be one of @code{'msdos}, @code{'none} or a string."
  44691. msgstr ""
  44692. #. type: item
  44693. #: guix-git/doc/guix.texi:29930
  44694. #, no-wrap
  44695. msgid "@code{partition-alignment} (default: @code{2048})"
  44696. msgstr ""
  44697. #. type: table
  44698. #: guix-git/doc/guix.texi:29932
  44699. msgid "Alignment of the partition in sectors."
  44700. msgstr ""
  44701. #. type: deffn
  44702. #: guix-git/doc/guix.texi:29935
  44703. #, no-wrap
  44704. msgid "{Scheme Procedure} debootstrap-variant @var{name} @var{configuration}"
  44705. msgstr ""
  44706. #. type: deffn
  44707. #: guix-git/doc/guix.texi:29938
  44708. 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."
  44709. msgstr ""
  44710. #. type: deffn
  44711. #: guix-git/doc/guix.texi:29940
  44712. #, no-wrap
  44713. msgid "{Scheme Procedure} debootstrap-os @var{variants}@dots{}"
  44714. msgstr ""
  44715. #. type: deffn
  44716. #: guix-git/doc/guix.texi:29943
  44717. msgid "This is a helper procedure that creates a @code{ganeti-os} record. It takes a list of variants created with @code{debootstrap-variant}."
  44718. msgstr ""
  44719. #. type: deffn
  44720. #: guix-git/doc/guix.texi:29945
  44721. #, no-wrap
  44722. msgid "{Scheme Procedure} guix-variant @var{name} @var{configuration}"
  44723. msgstr ""
  44724. #. type: deffn
  44725. #: guix-git/doc/guix.texi:29950
  44726. 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."
  44727. msgstr ""
  44728. #. type: deffn
  44729. #: guix-git/doc/guix.texi:29952
  44730. #, no-wrap
  44731. msgid "{Scheme Procedure} guix-os @var{variants}@dots{}"
  44732. msgstr ""
  44733. #. type: deffn
  44734. #: guix-git/doc/guix.texi:29955
  44735. msgid "This is a helper procedure that creates a @code{ganeti-os} record. It takes a list of variants produced by @code{guix-variant}."
  44736. msgstr ""
  44737. #. type: defvr
  44738. #: guix-git/doc/guix.texi:29957
  44739. #, no-wrap
  44740. msgid "{Scheme Variable} %default-debootstrap-variants"
  44741. msgstr ""
  44742. #. type: defvr
  44743. #: guix-git/doc/guix.texi:29961
  44744. 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:"
  44745. msgstr ""
  44746. #. type: lisp
  44747. #: guix-git/doc/guix.texi:29966
  44748. #, no-wrap
  44749. msgid ""
  44750. "(list (debootstrap-variant\n"
  44751. " \"default\"\n"
  44752. " (debootstrap-configuration)))\n"
  44753. msgstr ""
  44754. #. type: defvr
  44755. #: guix-git/doc/guix.texi:29969
  44756. #, no-wrap
  44757. msgid "{Scheme Variable} %default-guix-variants"
  44758. msgstr ""
  44759. #. type: defvr
  44760. #: guix-git/doc/guix.texi:29973
  44761. 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."
  44762. msgstr ""
  44763. #. type: lisp
  44764. #: guix-git/doc/guix.texi:29979
  44765. #, no-wrap
  44766. msgid ""
  44767. "(list (guix-variant\n"
  44768. " \"default\"\n"
  44769. " (file-append ganeti-instance-guix\n"
  44770. " \"/share/doc/ganeti-instance-guix/examples/dynamic.scm\")))\n"
  44771. msgstr ""
  44772. #. type: Plain text
  44773. #: guix-git/doc/guix.texi:29985
  44774. 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:"
  44775. msgstr ""
  44776. #. type: lisp
  44777. #: guix-git/doc/guix.texi:29994
  44778. #, no-wrap
  44779. msgid ""
  44780. "(ganeti-os\n"
  44781. " (name \"custom\")\n"
  44782. " (extension \".conf\")\n"
  44783. " (variants\n"
  44784. " (list (ganeti-os-variant\n"
  44785. " (name \"foo\")\n"
  44786. " (configuration (plain-file \"bar\" \"this is fine\"))))))\n"
  44787. msgstr ""
  44788. #. type: Plain text
  44789. #: guix-git/doc/guix.texi:29999
  44790. 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}."
  44791. msgstr ""
  44792. #. type: Plain text
  44793. #: guix-git/doc/guix.texi:30002
  44794. 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}."
  44795. msgstr ""
  44796. #. type: Plain text
  44797. #: guix-git/doc/guix.texi:30005
  44798. msgid "The rest of this section documents the various services that are included by @code{ganeti-service-type}."
  44799. msgstr ""
  44800. #. type: defvr
  44801. #: guix-git/doc/guix.texi:30006
  44802. #, no-wrap
  44803. msgid "{Scheme Variable} ganeti-noded-service-type"
  44804. msgstr ""
  44805. #. type: defvr
  44806. #: guix-git/doc/guix.texi:30010
  44807. 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."
  44808. msgstr ""
  44809. #. type: deftp
  44810. #: guix-git/doc/guix.texi:30012
  44811. #, no-wrap
  44812. msgid "{Data Type} ganeti-noded-configuration"
  44813. msgstr ""
  44814. #. type: deftp
  44815. #: guix-git/doc/guix.texi:30014
  44816. msgid "This is the configuration for the @code{ganeti-noded} service."
  44817. msgstr ""
  44818. #. type: table
  44819. #: guix-git/doc/guix.texi:30018 guix-git/doc/guix.texi:30068
  44820. #: guix-git/doc/guix.texi:30098 guix-git/doc/guix.texi:30125
  44821. #: guix-git/doc/guix.texi:30157 guix-git/doc/guix.texi:30210
  44822. #: guix-git/doc/guix.texi:30230 guix-git/doc/guix.texi:30256
  44823. #: guix-git/doc/guix.texi:30289
  44824. msgid "The @code{ganeti} package to use for this service."
  44825. msgstr ""
  44826. #. type: item
  44827. #: guix-git/doc/guix.texi:30019
  44828. #, no-wrap
  44829. msgid "@code{port} (default: @code{1811})"
  44830. msgstr ""
  44831. #. type: table
  44832. #: guix-git/doc/guix.texi:30021
  44833. msgid "The TCP port on which the node daemon listens for network requests."
  44834. msgstr ""
  44835. #. type: item
  44836. #: guix-git/doc/guix.texi:30022 guix-git/doc/guix.texi:30072
  44837. #: guix-git/doc/guix.texi:30164 guix-git/doc/guix.texi:30234
  44838. #, no-wrap
  44839. msgid "@code{address} (default: @code{\"0.0.0.0\"})"
  44840. msgstr ""
  44841. #. type: table
  44842. #: guix-git/doc/guix.texi:30025
  44843. msgid "The network address that the daemon will bind to. The default address means bind to all available addresses."
  44844. msgstr ""
  44845. #. type: table
  44846. #: guix-git/doc/guix.texi:30029
  44847. msgid "When this is set, it must be a specific network interface (e.g.@: @code{eth0}) that the daemon will bind to."
  44848. msgstr ""
  44849. #. type: item
  44850. #: guix-git/doc/guix.texi:30030 guix-git/doc/guix.texi:30172
  44851. #, no-wrap
  44852. msgid "@code{max-clients} (default: @code{20})"
  44853. msgstr ""
  44854. #. type: table
  44855. #: guix-git/doc/guix.texi:30034
  44856. 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."
  44857. msgstr ""
  44858. #. type: item
  44859. #: guix-git/doc/guix.texi:30035 guix-git/doc/guix.texi:30177
  44860. #, no-wrap
  44861. msgid "@code{ssl?} (default: @code{#t})"
  44862. msgstr ""
  44863. #. type: table
  44864. #: guix-git/doc/guix.texi:30039
  44865. 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}."
  44866. msgstr ""
  44867. #. type: item
  44868. #: guix-git/doc/guix.texi:30040 guix-git/doc/guix.texi:30180
  44869. #, no-wrap
  44870. msgid "@code{ssl-key} (default: @file{\"/var/lib/ganeti/server.pem\"})"
  44871. msgstr ""
  44872. #. type: table
  44873. #: guix-git/doc/guix.texi:30042 guix-git/doc/guix.texi:30182
  44874. msgid "This can be used to provide a specific encryption key for TLS communications."
  44875. msgstr ""
  44876. #. type: item
  44877. #: guix-git/doc/guix.texi:30043 guix-git/doc/guix.texi:30183
  44878. #, no-wrap
  44879. msgid "@code{ssl-cert} (default: @file{\"/var/lib/ganeti/server.pem\"})"
  44880. msgstr ""
  44881. #. type: table
  44882. #: guix-git/doc/guix.texi:30045 guix-git/doc/guix.texi:30185
  44883. msgid "This can be used to provide a specific certificate for TLS communications."
  44884. msgstr ""
  44885. #. type: table
  44886. #: guix-git/doc/guix.texi:30049 guix-git/doc/guix.texi:30189
  44887. 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."
  44888. msgstr ""
  44889. #. type: defvr
  44890. #: guix-git/doc/guix.texi:30053
  44891. #, no-wrap
  44892. msgid "{Scheme Variable} ganeti-confd-service-type"
  44893. msgstr ""
  44894. #. type: defvr
  44895. #: guix-git/doc/guix.texi:30059
  44896. 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."
  44897. msgstr ""
  44898. #. type: deftp
  44899. #: guix-git/doc/guix.texi:30062
  44900. #, no-wrap
  44901. msgid "{Data Type} ganeti-confd-configuration"
  44902. msgstr ""
  44903. #. type: deftp
  44904. #: guix-git/doc/guix.texi:30064
  44905. msgid "This is the configuration for the @code{ganeti-confd} service."
  44906. msgstr ""
  44907. #. type: item
  44908. #: guix-git/doc/guix.texi:30069
  44909. #, no-wrap
  44910. msgid "@code{port} (default: @code{1814})"
  44911. msgstr ""
  44912. #. type: table
  44913. #: guix-git/doc/guix.texi:30071
  44914. msgid "The UDP port on which to listen for network requests."
  44915. msgstr ""
  44916. #. type: table
  44917. #: guix-git/doc/guix.texi:30074
  44918. msgid "Network address that the daemon will bind to."
  44919. msgstr ""
  44920. #. type: table
  44921. #: guix-git/doc/guix.texi:30077 guix-git/doc/guix.texi:30106
  44922. #: guix-git/doc/guix.texi:30133 guix-git/doc/guix.texi:30213
  44923. #: guix-git/doc/guix.texi:30240 guix-git/doc/guix.texi:30266
  44924. msgid "When true, the daemon performs additional logging for debugging purposes."
  44925. msgstr ""
  44926. #. type: defvr
  44927. #: guix-git/doc/guix.texi:30081
  44928. #, no-wrap
  44929. msgid "{Scheme Variable} ganeti-wconfd-service-type"
  44930. msgstr ""
  44931. #. type: defvr
  44932. #: guix-git/doc/guix.texi:30087
  44933. 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."
  44934. msgstr ""
  44935. #. type: defvr
  44936. #: guix-git/doc/guix.texi:30090
  44937. msgid "The value of this service must be a @code{ganeti-wconfd-configuration} object."
  44938. msgstr ""
  44939. #. type: deftp
  44940. #: guix-git/doc/guix.texi:30092
  44941. #, no-wrap
  44942. msgid "{Data Type} ganeti-wconfd-configuration"
  44943. msgstr ""
  44944. #. type: deftp
  44945. #: guix-git/doc/guix.texi:30094 guix-git/doc/guix.texi:30121
  44946. msgid "This is the configuration for the @code{ganeti-wconfd} service."
  44947. msgstr ""
  44948. #. type: item
  44949. #: guix-git/doc/guix.texi:30099 guix-git/doc/guix.texi:30126
  44950. #, no-wrap
  44951. msgid "@code{no-voting?} (default: @code{#f})"
  44952. msgstr ""
  44953. #. type: table
  44954. #: guix-git/doc/guix.texi:30103
  44955. 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)."
  44956. msgstr ""
  44957. #. type: defvr
  44958. #: guix-git/doc/guix.texi:30110
  44959. #, no-wrap
  44960. msgid "{Scheme Variable} ganeti-luxid-service-type"
  44961. msgstr ""
  44962. #. type: defvr
  44963. #: guix-git/doc/guix.texi:30115
  44964. 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."
  44965. msgstr ""
  44966. #. type: defvr
  44967. #: guix-git/doc/guix.texi:30117
  44968. msgid "It takes a @code{ganeti-luxid-configuration} object."
  44969. msgstr ""
  44970. #. type: deftp
  44971. #: guix-git/doc/guix.texi:30119
  44972. #, no-wrap
  44973. msgid "{Data Type} ganeti-luxid-configuration"
  44974. msgstr ""
  44975. #. type: table
  44976. #: guix-git/doc/guix.texi:30130
  44977. 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)."
  44978. msgstr ""
  44979. #. type: defvr
  44980. #: guix-git/doc/guix.texi:30137
  44981. #, no-wrap
  44982. msgid "{Scheme Variable} ganeti-rapi-service-type"
  44983. msgstr ""
  44984. #. type: defvr
  44985. #: guix-git/doc/guix.texi:30141
  44986. 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."
  44987. msgstr ""
  44988. #. type: defvr
  44989. #: guix-git/doc/guix.texi:30147
  44990. 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."
  44991. msgstr ""
  44992. #. type: defvr
  44993. #: guix-git/doc/guix.texi:30149
  44994. msgid "The value of this service must be a @code{ganeti-rapi-configuration} object."
  44995. msgstr ""
  44996. #. type: deftp
  44997. #: guix-git/doc/guix.texi:30151
  44998. #, no-wrap
  44999. msgid "{Data Type} ganeti-rapi-configuration"
  45000. msgstr ""
  45001. #. type: deftp
  45002. #: guix-git/doc/guix.texi:30153
  45003. msgid "This is the configuration for the @code{ganeti-rapi} service."
  45004. msgstr ""
  45005. #. type: item
  45006. #: guix-git/doc/guix.texi:30158
  45007. #, no-wrap
  45008. msgid "@code{require-authentication?} (default: @code{#f})"
  45009. msgstr ""
  45010. #. type: table
  45011. #: guix-git/doc/guix.texi:30160
  45012. msgid "Whether to require authentication even for read-only operations."
  45013. msgstr ""
  45014. #. type: item
  45015. #: guix-git/doc/guix.texi:30161
  45016. #, no-wrap
  45017. msgid "@code{port} (default: @code{5080})"
  45018. msgstr ""
  45019. #. type: table
  45020. #: guix-git/doc/guix.texi:30163
  45021. msgid "The TCP port on which to listen to API requests."
  45022. msgstr ""
  45023. #. type: table
  45024. #: guix-git/doc/guix.texi:30167
  45025. msgid "The network address that the service will bind to. By default it listens on all configured addresses."
  45026. msgstr ""
  45027. #. type: table
  45028. #: guix-git/doc/guix.texi:30171
  45029. msgid "When set, it must specify a specific network interface such as @code{eth0} that the daemon will bind to."
  45030. msgstr ""
  45031. #. type: table
  45032. #: guix-git/doc/guix.texi:30176
  45033. msgid "The maximum number of simultaneous client requests to handle. Further connections are allowed, but no responses are sent until enough connections have closed."
  45034. msgstr ""
  45035. #. type: table
  45036. #: guix-git/doc/guix.texi:30179
  45037. msgid "Whether to use SSL/TLS encryption on the RAPI port."
  45038. msgstr ""
  45039. #. type: defvr
  45040. #: guix-git/doc/guix.texi:30193
  45041. #, no-wrap
  45042. msgid "{Scheme Variable} ganeti-kvmd-service-type"
  45043. msgstr ""
  45044. #. type: defvr
  45045. #: guix-git/doc/guix.texi:30201
  45046. 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."
  45047. msgstr ""
  45048. #. type: defvr
  45049. #: guix-git/doc/guix.texi:30203
  45050. msgid "It takes a @code{ganeti-kvmd-configuration} object."
  45051. msgstr ""
  45052. #. type: deftp
  45053. #: guix-git/doc/guix.texi:30205
  45054. #, no-wrap
  45055. msgid "{Data Type} ganeti-kvmd-configuration"
  45056. msgstr ""
  45057. #. type: defvr
  45058. #: guix-git/doc/guix.texi:30217
  45059. #, no-wrap
  45060. msgid "{Scheme Variable} ganeti-mond-service-type"
  45061. msgstr ""
  45062. #. type: defvr
  45063. #: guix-git/doc/guix.texi:30221
  45064. 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."
  45065. msgstr ""
  45066. #. type: defvr
  45067. #: guix-git/doc/guix.texi:30223
  45068. msgid "It takes a @code{ganeti-mond-configuration} object."
  45069. msgstr ""
  45070. #. type: deftp
  45071. #: guix-git/doc/guix.texi:30225
  45072. #, no-wrap
  45073. msgid "{Data Type} ganeti-mond-configuration"
  45074. msgstr ""
  45075. #. type: item
  45076. #: guix-git/doc/guix.texi:30231
  45077. #, no-wrap
  45078. msgid "@code{port} (default: @code{1815})"
  45079. msgstr ""
  45080. #. type: table
  45081. #: guix-git/doc/guix.texi:30233 guix-git/doc/guix.texi:30259
  45082. msgid "The port on which the daemon will listen."
  45083. msgstr ""
  45084. #. type: table
  45085. #: guix-git/doc/guix.texi:30237
  45086. msgid "The network address that the daemon will bind to. By default it binds to all available interfaces."
  45087. msgstr ""
  45088. #. type: defvr
  45089. #: guix-git/doc/guix.texi:30244
  45090. #, no-wrap
  45091. msgid "{Scheme Variable} ganeti-metad-service-type"
  45092. msgstr ""
  45093. #. type: defvr
  45094. #: guix-git/doc/guix.texi:30247
  45095. msgid "@command{ganeti-metad} is an optional daemon that can be used to provide information about the cluster to instances or OS install scripts."
  45096. msgstr ""
  45097. #. type: defvr
  45098. #: guix-git/doc/guix.texi:30249
  45099. msgid "It takes a @code{ganeti-metad-configuration} object."
  45100. msgstr ""
  45101. #. type: deftp
  45102. #: guix-git/doc/guix.texi:30251
  45103. #, no-wrap
  45104. msgid "{Data Type} ganeti-metad-configuration"
  45105. msgstr ""
  45106. #. type: item
  45107. #: guix-git/doc/guix.texi:30260
  45108. #, no-wrap
  45109. msgid "@code{address} (default: @code{#f})"
  45110. msgstr ""
  45111. #. type: table
  45112. #: guix-git/doc/guix.texi:30263
  45113. msgid "If set, the daemon will bind to this address only. If left unset, the behavior depends on the cluster configuration."
  45114. msgstr ""
  45115. #. type: defvr
  45116. #: guix-git/doc/guix.texi:30270
  45117. #, no-wrap
  45118. msgid "{Scheme Variable} ganeti-watcher-service-type"
  45119. msgstr ""
  45120. #. type: defvr
  45121. #: guix-git/doc/guix.texi:30278
  45122. 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."
  45123. msgstr ""
  45124. #. type: defvr
  45125. #: guix-git/doc/guix.texi:30280
  45126. msgid "It can be paused on all nodes with @command{gnt-cluster watcher pause}."
  45127. msgstr ""
  45128. #. type: defvr
  45129. #: guix-git/doc/guix.texi:30282
  45130. msgid "The service takes a @code{ganeti-watcher-configuration} object."
  45131. msgstr ""
  45132. #. type: deftp
  45133. #: guix-git/doc/guix.texi:30284
  45134. #, no-wrap
  45135. msgid "{Data Type} ganeti-watcher-configuration"
  45136. msgstr ""
  45137. #. type: item
  45138. #: guix-git/doc/guix.texi:30290
  45139. #, no-wrap
  45140. msgid "@code{schedule} (default: @code{'(next-second-from (next-minute (range 0 60 5)))})"
  45141. msgstr ""
  45142. #. type: table
  45143. #: guix-git/doc/guix.texi:30292
  45144. msgid "How often to run the script. The default is every five minutes."
  45145. msgstr ""
  45146. #. type: item
  45147. #: guix-git/doc/guix.texi:30293
  45148. #, no-wrap
  45149. msgid "@code{rapi-ip} (default: @code{#f})"
  45150. msgstr ""
  45151. #. type: table
  45152. #: guix-git/doc/guix.texi:30296
  45153. 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."
  45154. msgstr ""
  45155. #. type: item
  45156. #: guix-git/doc/guix.texi:30297
  45157. #, no-wrap
  45158. msgid "@code{job-age} (default: @code{(* 6 3600)})"
  45159. msgstr ""
  45160. #. type: table
  45161. #: guix-git/doc/guix.texi:30300
  45162. msgid "Archive cluster jobs older than this age, specified in seconds. The default is 6 hours. This keeps @command{gnt-job list} manageable."
  45163. msgstr ""
  45164. #. type: item
  45165. #: guix-git/doc/guix.texi:30301
  45166. #, no-wrap
  45167. msgid "@code{verify-disks?} (default: @code{#t})"
  45168. msgstr ""
  45169. #. type: table
  45170. #: guix-git/doc/guix.texi:30305
  45171. 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."
  45172. msgstr ""
  45173. #. type: table
  45174. #: guix-git/doc/guix.texi:30308
  45175. msgid "When @code{#t}, the script performs additional logging for debugging purposes."
  45176. msgstr ""
  45177. #. type: defvr
  45178. #: guix-git/doc/guix.texi:30312
  45179. #, no-wrap
  45180. msgid "{Scheme Variable} ganeti-cleaner-service-type"
  45181. msgstr ""
  45182. #. type: defvr
  45183. #: guix-git/doc/guix.texi:30320
  45184. 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."
  45185. msgstr ""
  45186. #. type: defvr
  45187. #: guix-git/doc/guix.texi:30322
  45188. msgid "It takes a @code{ganeti-cleaner-configuration} object."
  45189. msgstr ""
  45190. #. type: deftp
  45191. #: guix-git/doc/guix.texi:30324
  45192. #, no-wrap
  45193. msgid "{Data Type} ganeti-cleaner-configuration"
  45194. msgstr ""
  45195. #. type: table
  45196. #: guix-git/doc/guix.texi:30329
  45197. msgid "The @code{ganeti} package to use for the @command{gnt-cleaner} command."
  45198. msgstr ""
  45199. #. type: item
  45200. #: guix-git/doc/guix.texi:30330
  45201. #, no-wrap
  45202. msgid "@code{master-schedule} (default: @code{\"45 1 * * *\"})"
  45203. msgstr ""
  45204. #. type: table
  45205. #: guix-git/doc/guix.texi:30333
  45206. msgid "How often to run the master cleaning job. The default is once per day, at 01:45:00."
  45207. msgstr ""
  45208. #. type: item
  45209. #: guix-git/doc/guix.texi:30334
  45210. #, no-wrap
  45211. msgid "@code{node-schedule} (default: @code{\"45 2 * * *\"})"
  45212. msgstr ""
  45213. #. type: table
  45214. #: guix-git/doc/guix.texi:30337
  45215. msgid "How often to run the node cleaning job. The default is once per day, at 02:45:00."
  45216. msgstr ""
  45217. #. type: Plain text
  45218. #: guix-git/doc/guix.texi:30351
  45219. 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}."
  45220. msgstr ""
  45221. #. type: deffn
  45222. #: guix-git/doc/guix.texi:30352
  45223. #, no-wrap
  45224. msgid "{Scheme Procedure} git-daemon-service [#:config (git-daemon-configuration)]"
  45225. msgstr ""
  45226. #. type: deffn
  45227. #: guix-git/doc/guix.texi:30356
  45228. msgid "Return a service that runs @command{git daemon}, a simple TCP server to expose repositories over the Git protocol for anonymous access."
  45229. msgstr ""
  45230. #. type: deffn
  45231. #: guix-git/doc/guix.texi:30362
  45232. 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}."
  45233. msgstr ""
  45234. #. type: deftp
  45235. #: guix-git/doc/guix.texi:30365
  45236. #, no-wrap
  45237. msgid "{Data Type} git-daemon-configuration"
  45238. msgstr ""
  45239. #. type: deftp
  45240. #: guix-git/doc/guix.texi:30367
  45241. msgid "Data type representing the configuration for @code{git-daemon-service}."
  45242. msgstr ""
  45243. #. type: item
  45244. #: guix-git/doc/guix.texi:30369
  45245. #, no-wrap
  45246. msgid "@code{package} (default: @code{git})"
  45247. msgstr ""
  45248. #. type: table
  45249. #: guix-git/doc/guix.texi:30371 guix-git/doc/guix.texi:30431
  45250. msgid "Package object of the Git distributed version control system."
  45251. msgstr ""
  45252. #. type: item
  45253. #: guix-git/doc/guix.texi:30372 guix-git/doc/guix.texi:30435
  45254. #, no-wrap
  45255. msgid "@code{export-all?} (default: @code{#f})"
  45256. msgstr ""
  45257. #. type: table
  45258. #: guix-git/doc/guix.texi:30375
  45259. msgid "Whether to allow access for all Git repositories, even if they do not have the @file{git-daemon-export-ok} file."
  45260. msgstr ""
  45261. #. type: item
  45262. #: guix-git/doc/guix.texi:30376
  45263. #, no-wrap
  45264. msgid "@code{base-path} (default: @file{/srv/git})"
  45265. msgstr ""
  45266. #. type: table
  45267. #: guix-git/doc/guix.texi:30382
  45268. 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}."
  45269. msgstr ""
  45270. #. type: item
  45271. #: guix-git/doc/guix.texi:30383
  45272. #, no-wrap
  45273. msgid "@code{user-path} (default: @code{#f})"
  45274. msgstr ""
  45275. #. type: table
  45276. #: guix-git/doc/guix.texi:30391
  45277. 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}."
  45278. msgstr ""
  45279. #. type: item
  45280. #: guix-git/doc/guix.texi:30392
  45281. #, no-wrap
  45282. msgid "@code{listen} (default: @code{'()})"
  45283. msgstr ""
  45284. #. type: table
  45285. #: guix-git/doc/guix.texi:30395
  45286. msgid "Whether to listen on specific IP addresses or hostnames, defaults to all."
  45287. msgstr ""
  45288. #. type: item
  45289. #: guix-git/doc/guix.texi:30396
  45290. #, no-wrap
  45291. msgid "@code{port} (default: @code{#f})"
  45292. msgstr ""
  45293. #. type: table
  45294. #: guix-git/doc/guix.texi:30398
  45295. msgid "Whether to listen on an alternative port, which defaults to 9418."
  45296. msgstr ""
  45297. #. type: item
  45298. #: guix-git/doc/guix.texi:30399
  45299. #, no-wrap
  45300. msgid "@code{whitelist} (default: @code{'()})"
  45301. msgstr ""
  45302. #. type: table
  45303. #: guix-git/doc/guix.texi:30401
  45304. msgid "If not empty, only allow access to this list of directories."
  45305. msgstr ""
  45306. #. type: table
  45307. #: guix-git/doc/guix.texi:30405
  45308. msgid "Extra options will be passed to @command{git daemon}, please run @command{man git-daemon} for more information."
  45309. msgstr ""
  45310. #. type: Plain text
  45311. #: guix-git/doc/guix.texi:30419
  45312. 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."
  45313. msgstr ""
  45314. #. type: Plain text
  45315. #: guix-git/doc/guix.texi:30422
  45316. msgid "Guix has a separate configuration data type for serving Git repositories over HTTP."
  45317. msgstr ""
  45318. #. type: deftp
  45319. #: guix-git/doc/guix.texi:30423
  45320. #, no-wrap
  45321. msgid "{Data Type} git-http-configuration"
  45322. msgstr ""
  45323. #. type: deftp
  45324. #: guix-git/doc/guix.texi:30427
  45325. 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}."
  45326. msgstr ""
  45327. #. type: item
  45328. #: guix-git/doc/guix.texi:30429
  45329. #, no-wrap
  45330. msgid "@code{package} (default: @var{git})"
  45331. msgstr ""
  45332. #. type: item
  45333. #: guix-git/doc/guix.texi:30432
  45334. #, no-wrap
  45335. msgid "@code{git-root} (default: @file{/srv/git})"
  45336. msgstr ""
  45337. #. type: table
  45338. #: guix-git/doc/guix.texi:30434
  45339. msgid "Directory containing the Git repositories to expose to the world."
  45340. msgstr ""
  45341. #. type: table
  45342. #: guix-git/doc/guix.texi:30438
  45343. 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."
  45344. msgstr ""
  45345. #. type: item
  45346. #: guix-git/doc/guix.texi:30439
  45347. #, no-wrap
  45348. msgid "@code{uri-path} (default: @samp{/git/})"
  45349. msgstr ""
  45350. #. type: table
  45351. #: guix-git/doc/guix.texi:30444
  45352. 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."
  45353. msgstr ""
  45354. #. type: item
  45355. #: guix-git/doc/guix.texi:30445
  45356. #, no-wrap
  45357. msgid "@code{fcgiwrap-socket} (default: @code{127.0.0.1:9000})"
  45358. msgstr ""
  45359. #. type: table
  45360. #: guix-git/doc/guix.texi:30448
  45361. msgid "The socket on which the @code{fcgiwrap} daemon is listening. @xref{Web Services}."
  45362. msgstr ""
  45363. #. type: Plain text
  45364. #: guix-git/doc/guix.texi:30455
  45365. 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."
  45366. msgstr ""
  45367. #. type: deffn
  45368. #: guix-git/doc/guix.texi:30456
  45369. #, no-wrap
  45370. msgid "{Scheme Procedure} git-http-nginx-location-configuration @"
  45371. msgstr ""
  45372. #. type: deffn
  45373. #: guix-git/doc/guix.texi:30461
  45374. 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:"
  45375. msgstr ""
  45376. #. type: lisp
  45377. #: guix-git/doc/guix.texi:30478
  45378. #, no-wrap
  45379. msgid ""
  45380. "(service nginx-service-type\n"
  45381. " (nginx-configuration\n"
  45382. " (server-blocks\n"
  45383. " (list\n"
  45384. " (nginx-server-configuration\n"
  45385. " (listen '(\"443 ssl\"))\n"
  45386. " (server-name \"git.my-host.org\")\n"
  45387. " (ssl-certificate\n"
  45388. " \"/etc/letsencrypt/live/git.my-host.org/fullchain.pem\")\n"
  45389. " (ssl-certificate-key\n"
  45390. " \"/etc/letsencrypt/live/git.my-host.org/privkey.pem\")\n"
  45391. " (locations\n"
  45392. " (list\n"
  45393. " (git-http-nginx-location-configuration\n"
  45394. " (git-http-configuration (uri-path \"/\"))))))))))\n"
  45395. msgstr ""
  45396. #. type: deffn
  45397. #: guix-git/doc/guix.texi:30485
  45398. 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}."
  45399. msgstr ""
  45400. #. type: subsubheading
  45401. #: guix-git/doc/guix.texi:30487
  45402. #, no-wrap
  45403. msgid "Cgit Service"
  45404. msgstr ""
  45405. #. type: cindex
  45406. #: guix-git/doc/guix.texi:30489
  45407. #, no-wrap
  45408. msgid "Cgit service"
  45409. msgstr ""
  45410. #. type: cindex
  45411. #: guix-git/doc/guix.texi:30490
  45412. #, no-wrap
  45413. msgid "Git, web interface"
  45414. msgstr ""
  45415. #. type: Plain text
  45416. #: guix-git/doc/guix.texi:30493
  45417. msgid "@uref{https://git.zx2c4.com/cgit/, Cgit} is a web frontend for Git repositories written in C."
  45418. msgstr ""
  45419. #. type: Plain text
  45420. #: guix-git/doc/guix.texi:30496
  45421. msgid "The following example will configure the service with default values. By default, Cgit can be accessed on port 80 (@code{http://localhost:80})."
  45422. msgstr ""
  45423. #. type: lisp
  45424. #: guix-git/doc/guix.texi:30499
  45425. #, no-wrap
  45426. msgid "(service cgit-service-type)\n"
  45427. msgstr ""
  45428. #. type: Plain text
  45429. #: guix-git/doc/guix.texi:30503
  45430. msgid "The @code{file-object} type designates either a file-like object (@pxref{G-Expressions, file-like objects}) or a string."
  45431. msgstr ""
  45432. #. type: Plain text
  45433. #: guix-git/doc/guix.texi:30507
  45434. msgid "Available @code{cgit-configuration} fields are:"
  45435. msgstr ""
  45436. #. type: deftypevr
  45437. #: guix-git/doc/guix.texi:30508
  45438. #, no-wrap
  45439. msgid "{@code{cgit-configuration} parameter} package package"
  45440. msgstr ""
  45441. #. type: deftypevr
  45442. #: guix-git/doc/guix.texi:30510
  45443. msgid "The CGIT package."
  45444. msgstr ""
  45445. #. type: deftypevr
  45446. #: guix-git/doc/guix.texi:30513
  45447. #, no-wrap
  45448. msgid "{@code{cgit-configuration} parameter} nginx-server-configuration-list nginx"
  45449. msgstr ""
  45450. #. type: deftypevr
  45451. #: guix-git/doc/guix.texi:30518
  45452. #, no-wrap
  45453. msgid "{@code{cgit-configuration} parameter} file-object about-filter"
  45454. msgstr ""
  45455. #. type: deftypevr
  45456. #: guix-git/doc/guix.texi:30521
  45457. msgid "Specifies a command which will be invoked to format the content of about pages (both top-level and for each repository)."
  45458. msgstr ""
  45459. #. type: deftypevr
  45460. #: guix-git/doc/guix.texi:30526
  45461. #, no-wrap
  45462. msgid "{@code{cgit-configuration} parameter} string agefile"
  45463. msgstr ""
  45464. #. type: deftypevr
  45465. #: guix-git/doc/guix.texi:30529
  45466. 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."
  45467. msgstr ""
  45468. #. type: deftypevr
  45469. #: guix-git/doc/guix.texi:30534
  45470. #, no-wrap
  45471. msgid "{@code{cgit-configuration} parameter} file-object auth-filter"
  45472. msgstr ""
  45473. #. type: deftypevr
  45474. #: guix-git/doc/guix.texi:30537
  45475. msgid "Specifies a command that will be invoked for authenticating repository access."
  45476. msgstr ""
  45477. #. type: deftypevr
  45478. #: guix-git/doc/guix.texi:30542
  45479. #, no-wrap
  45480. msgid "{@code{cgit-configuration} parameter} string branch-sort"
  45481. msgstr ""
  45482. #. type: deftypevr
  45483. #: guix-git/doc/guix.texi:30545
  45484. 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."
  45485. msgstr ""
  45486. #. type: deftypevr
  45487. #: guix-git/doc/guix.texi:30547
  45488. msgid "Defaults to @samp{\"name\"}."
  45489. msgstr ""
  45490. #. type: deftypevr
  45491. #: guix-git/doc/guix.texi:30550
  45492. #, no-wrap
  45493. msgid "{@code{cgit-configuration} parameter} string cache-root"
  45494. msgstr ""
  45495. #. type: deftypevr
  45496. #: guix-git/doc/guix.texi:30552
  45497. msgid "Path used to store the cgit cache entries."
  45498. msgstr ""
  45499. #. type: deftypevr
  45500. #: guix-git/doc/guix.texi:30554
  45501. msgid "Defaults to @samp{\"/var/cache/cgit\"}."
  45502. msgstr ""
  45503. #. type: deftypevr
  45504. #: guix-git/doc/guix.texi:30557
  45505. #, no-wrap
  45506. msgid "{@code{cgit-configuration} parameter} integer cache-static-ttl"
  45507. msgstr ""
  45508. #. type: deftypevr
  45509. #: guix-git/doc/guix.texi:30560
  45510. msgid "Number which specifies the time-to-live, in minutes, for the cached version of repository pages accessed with a fixed SHA1."
  45511. msgstr ""
  45512. #. type: deftypevr
  45513. #: guix-git/doc/guix.texi:30562 guix-git/doc/guix.texi:31005
  45514. msgid "Defaults to @samp{-1}."
  45515. msgstr ""
  45516. #. type: deftypevr
  45517. #: guix-git/doc/guix.texi:30565
  45518. #, no-wrap
  45519. msgid "{@code{cgit-configuration} parameter} integer cache-dynamic-ttl"
  45520. msgstr ""
  45521. #. type: deftypevr
  45522. #: guix-git/doc/guix.texi:30568
  45523. msgid "Number which specifies the time-to-live, in minutes, for the cached version of repository pages accessed without a fixed SHA1."
  45524. msgstr ""
  45525. #. type: deftypevr
  45526. #: guix-git/doc/guix.texi:30573
  45527. #, no-wrap
  45528. msgid "{@code{cgit-configuration} parameter} integer cache-repo-ttl"
  45529. msgstr ""
  45530. #. type: deftypevr
  45531. #: guix-git/doc/guix.texi:30576
  45532. msgid "Number which specifies the time-to-live, in minutes, for the cached version of the repository summary page."
  45533. msgstr ""
  45534. #. type: deftypevr
  45535. #: guix-git/doc/guix.texi:30581
  45536. #, no-wrap
  45537. msgid "{@code{cgit-configuration} parameter} integer cache-root-ttl"
  45538. msgstr ""
  45539. #. type: deftypevr
  45540. #: guix-git/doc/guix.texi:30584
  45541. msgid "Number which specifies the time-to-live, in minutes, for the cached version of the repository index page."
  45542. msgstr ""
  45543. #. type: deftypevr
  45544. #: guix-git/doc/guix.texi:30589
  45545. #, no-wrap
  45546. msgid "{@code{cgit-configuration} parameter} integer cache-scanrc-ttl"
  45547. msgstr ""
  45548. #. type: deftypevr
  45549. #: guix-git/doc/guix.texi:30592
  45550. msgid "Number which specifies the time-to-live, in minutes, for the result of scanning a path for Git repositories."
  45551. msgstr ""
  45552. #. type: deftypevr
  45553. #: guix-git/doc/guix.texi:30597
  45554. #, no-wrap
  45555. msgid "{@code{cgit-configuration} parameter} integer cache-about-ttl"
  45556. msgstr ""
  45557. #. type: deftypevr
  45558. #: guix-git/doc/guix.texi:30600
  45559. msgid "Number which specifies the time-to-live, in minutes, for the cached version of the repository about page."
  45560. msgstr ""
  45561. #. type: deftypevr
  45562. #: guix-git/doc/guix.texi:30605
  45563. #, no-wrap
  45564. msgid "{@code{cgit-configuration} parameter} integer cache-snapshot-ttl"
  45565. msgstr ""
  45566. #. type: deftypevr
  45567. #: guix-git/doc/guix.texi:30608
  45568. msgid "Number which specifies the time-to-live, in minutes, for the cached version of snapshots."
  45569. msgstr ""
  45570. #. type: deftypevr
  45571. #: guix-git/doc/guix.texi:30613
  45572. #, no-wrap
  45573. msgid "{@code{cgit-configuration} parameter} integer cache-size"
  45574. msgstr ""
  45575. #. type: deftypevr
  45576. #: guix-git/doc/guix.texi:30616
  45577. msgid "The maximum number of entries in the cgit cache. When set to @samp{0}, caching is disabled."
  45578. msgstr ""
  45579. #. type: deftypevr
  45580. #: guix-git/doc/guix.texi:30621
  45581. #, no-wrap
  45582. msgid "{@code{cgit-configuration} parameter} boolean case-sensitive-sort?"
  45583. msgstr ""
  45584. #. type: deftypevr
  45585. #: guix-git/doc/guix.texi:30623
  45586. msgid "Sort items in the repo list case sensitively."
  45587. msgstr ""
  45588. #. type: deftypevr
  45589. #: guix-git/doc/guix.texi:30628
  45590. #, no-wrap
  45591. msgid "{@code{cgit-configuration} parameter} list clone-prefix"
  45592. msgstr ""
  45593. #. type: deftypevr
  45594. #: guix-git/doc/guix.texi:30631
  45595. msgid "List of common prefixes which, when combined with a repository URL, generates valid clone URLs for the repository."
  45596. msgstr ""
  45597. #. type: deftypevr
  45598. #: guix-git/doc/guix.texi:30636
  45599. #, no-wrap
  45600. msgid "{@code{cgit-configuration} parameter} list clone-url"
  45601. msgstr ""
  45602. #. type: deftypevr
  45603. #: guix-git/doc/guix.texi:30638
  45604. msgid "List of @code{clone-url} templates."
  45605. msgstr ""
  45606. #. type: deftypevr
  45607. #: guix-git/doc/guix.texi:30643
  45608. #, no-wrap
  45609. msgid "{@code{cgit-configuration} parameter} file-object commit-filter"
  45610. msgstr ""
  45611. #. type: deftypevr
  45612. #: guix-git/doc/guix.texi:30645
  45613. msgid "Command which will be invoked to format commit messages."
  45614. msgstr ""
  45615. #. type: deftypevr
  45616. #: guix-git/doc/guix.texi:30650
  45617. #, no-wrap
  45618. msgid "{@code{cgit-configuration} parameter} string commit-sort"
  45619. msgstr ""
  45620. #. type: deftypevr
  45621. #: guix-git/doc/guix.texi:30654 guix-git/doc/guix.texi:31212
  45622. 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."
  45623. msgstr ""
  45624. #. type: deftypevr
  45625. #: guix-git/doc/guix.texi:30656
  45626. msgid "Defaults to @samp{\"git log\"}."
  45627. msgstr ""
  45628. #. type: deftypevr
  45629. #: guix-git/doc/guix.texi:30659
  45630. #, no-wrap
  45631. msgid "{@code{cgit-configuration} parameter} file-object css"
  45632. msgstr ""
  45633. #. type: deftypevr
  45634. #: guix-git/doc/guix.texi:30661
  45635. msgid "URL which specifies the css document to include in all cgit pages."
  45636. msgstr ""
  45637. #. type: deftypevr
  45638. #: guix-git/doc/guix.texi:30663
  45639. msgid "Defaults to @samp{\"/share/cgit/cgit.css\"}."
  45640. msgstr ""
  45641. #. type: deftypevr
  45642. #: guix-git/doc/guix.texi:30666
  45643. #, no-wrap
  45644. msgid "{@code{cgit-configuration} parameter} file-object email-filter"
  45645. msgstr ""
  45646. #. type: deftypevr
  45647. #: guix-git/doc/guix.texi:30670
  45648. 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."
  45649. msgstr ""
  45650. #. type: deftypevr
  45651. #: guix-git/doc/guix.texi:30675
  45652. #, no-wrap
  45653. msgid "{@code{cgit-configuration} parameter} boolean embedded?"
  45654. msgstr ""
  45655. #. type: deftypevr
  45656. #: guix-git/doc/guix.texi:30678
  45657. msgid "Flag which, when set to @samp{#t}, will make cgit generate a HTML fragment suitable for embedding in other HTML pages."
  45658. msgstr ""
  45659. #. type: deftypevr
  45660. #: guix-git/doc/guix.texi:30683
  45661. #, no-wrap
  45662. msgid "{@code{cgit-configuration} parameter} boolean enable-commit-graph?"
  45663. msgstr ""
  45664. #. type: deftypevr
  45665. #: guix-git/doc/guix.texi:30687
  45666. 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."
  45667. msgstr ""
  45668. #. type: deftypevr
  45669. #: guix-git/doc/guix.texi:30692
  45670. #, no-wrap
  45671. msgid "{@code{cgit-configuration} parameter} boolean enable-filter-overrides?"
  45672. msgstr ""
  45673. #. type: deftypevr
  45674. #: guix-git/doc/guix.texi:30695
  45675. msgid "Flag which, when set to @samp{#t}, allows all filter settings to be overridden in repository-specific cgitrc files."
  45676. msgstr ""
  45677. #. type: deftypevr
  45678. #: guix-git/doc/guix.texi:30700
  45679. #, no-wrap
  45680. msgid "{@code{cgit-configuration} parameter} boolean enable-follow-links?"
  45681. msgstr ""
  45682. #. type: deftypevr
  45683. #: guix-git/doc/guix.texi:30703
  45684. msgid "Flag which, when set to @samp{#t}, allows users to follow a file in the log view."
  45685. msgstr ""
  45686. #. type: deftypevr
  45687. #: guix-git/doc/guix.texi:30708
  45688. #, no-wrap
  45689. msgid "{@code{cgit-configuration} parameter} boolean enable-http-clone?"
  45690. msgstr ""
  45691. #. type: deftypevr
  45692. #: guix-git/doc/guix.texi:30711
  45693. msgid "If set to @samp{#t}, cgit will act as an dumb HTTP endpoint for Git clones."
  45694. msgstr ""
  45695. #. type: deftypevr
  45696. #: guix-git/doc/guix.texi:30716
  45697. #, no-wrap
  45698. msgid "{@code{cgit-configuration} parameter} boolean enable-index-links?"
  45699. msgstr ""
  45700. #. type: deftypevr
  45701. #: guix-git/doc/guix.texi:30719
  45702. msgid "Flag which, when set to @samp{#t}, will make cgit generate extra links \"summary\", \"commit\", \"tree\" for each repo in the repository index."
  45703. msgstr ""
  45704. #. type: deftypevr
  45705. #: guix-git/doc/guix.texi:30724
  45706. #, no-wrap
  45707. msgid "{@code{cgit-configuration} parameter} boolean enable-index-owner?"
  45708. msgstr ""
  45709. #. type: deftypevr
  45710. #: guix-git/doc/guix.texi:30727
  45711. msgid "Flag which, when set to @samp{#t}, will make cgit display the owner of each repo in the repository index."
  45712. msgstr ""
  45713. #. type: deftypevr
  45714. #: guix-git/doc/guix.texi:30732
  45715. #, no-wrap
  45716. msgid "{@code{cgit-configuration} parameter} boolean enable-log-filecount?"
  45717. msgstr ""
  45718. #. type: deftypevr
  45719. #: guix-git/doc/guix.texi:30735
  45720. 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."
  45721. msgstr ""
  45722. #. type: deftypevr
  45723. #: guix-git/doc/guix.texi:30740
  45724. #, no-wrap
  45725. msgid "{@code{cgit-configuration} parameter} boolean enable-log-linecount?"
  45726. msgstr ""
  45727. #. type: deftypevr
  45728. #: guix-git/doc/guix.texi:30743
  45729. 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."
  45730. msgstr ""
  45731. #. type: deftypevr
  45732. #: guix-git/doc/guix.texi:30748
  45733. #, no-wrap
  45734. msgid "{@code{cgit-configuration} parameter} boolean enable-remote-branches?"
  45735. msgstr ""
  45736. #. type: deftypevr
  45737. #: guix-git/doc/guix.texi:30751 guix-git/doc/guix.texi:31275
  45738. msgid "Flag which, when set to @code{#t}, will make cgit display remote branches in the summary and refs views."
  45739. msgstr ""
  45740. #. type: deftypevr
  45741. #: guix-git/doc/guix.texi:30756
  45742. #, no-wrap
  45743. msgid "{@code{cgit-configuration} parameter} boolean enable-subject-links?"
  45744. msgstr ""
  45745. #. type: deftypevr
  45746. #: guix-git/doc/guix.texi:30760
  45747. 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."
  45748. msgstr ""
  45749. #. type: deftypevr
  45750. #: guix-git/doc/guix.texi:30765
  45751. #, no-wrap
  45752. msgid "{@code{cgit-configuration} parameter} boolean enable-html-serving?"
  45753. msgstr ""
  45754. #. type: deftypevr
  45755. #: guix-git/doc/guix.texi:30769
  45756. 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."
  45757. msgstr ""
  45758. #. type: deftypevr
  45759. #: guix-git/doc/guix.texi:30774
  45760. #, no-wrap
  45761. msgid "{@code{cgit-configuration} parameter} boolean enable-tree-linenumbers?"
  45762. msgstr ""
  45763. #. type: deftypevr
  45764. #: guix-git/doc/guix.texi:30777
  45765. msgid "Flag which, when set to @samp{#t}, will make cgit generate linenumber links for plaintext blobs printed in the tree view."
  45766. msgstr ""
  45767. #. type: deftypevr
  45768. #: guix-git/doc/guix.texi:30782
  45769. #, no-wrap
  45770. msgid "{@code{cgit-configuration} parameter} boolean enable-git-config?"
  45771. msgstr ""
  45772. #. type: deftypevr
  45773. #: guix-git/doc/guix.texi:30785
  45774. msgid "Flag which, when set to @samp{#f}, will allow cgit to use Git config to set any repo specific settings."
  45775. msgstr ""
  45776. #. type: deftypevr
  45777. #: guix-git/doc/guix.texi:30790
  45778. #, no-wrap
  45779. msgid "{@code{cgit-configuration} parameter} file-object favicon"
  45780. msgstr ""
  45781. #. type: deftypevr
  45782. #: guix-git/doc/guix.texi:30792
  45783. msgid "URL used as link to a shortcut icon for cgit."
  45784. msgstr ""
  45785. #. type: deftypevr
  45786. #: guix-git/doc/guix.texi:30794
  45787. msgid "Defaults to @samp{\"/favicon.ico\"}."
  45788. msgstr ""
  45789. #. type: deftypevr
  45790. #: guix-git/doc/guix.texi:30797
  45791. #, no-wrap
  45792. msgid "{@code{cgit-configuration} parameter} string footer"
  45793. msgstr ""
  45794. #. type: deftypevr
  45795. #: guix-git/doc/guix.texi:30801
  45796. 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)."
  45797. msgstr ""
  45798. #. type: deftypevr
  45799. #: guix-git/doc/guix.texi:30806
  45800. #, no-wrap
  45801. msgid "{@code{cgit-configuration} parameter} string head-include"
  45802. msgstr ""
  45803. #. type: deftypevr
  45804. #: guix-git/doc/guix.texi:30809
  45805. msgid "The content of the file specified with this option will be included verbatim in the HTML HEAD section on all pages."
  45806. msgstr ""
  45807. #. type: deftypevr
  45808. #: guix-git/doc/guix.texi:30814
  45809. #, no-wrap
  45810. msgid "{@code{cgit-configuration} parameter} string header"
  45811. msgstr ""
  45812. #. type: deftypevr
  45813. #: guix-git/doc/guix.texi:30817
  45814. msgid "The content of the file specified with this option will be included verbatim at the top of all pages."
  45815. msgstr ""
  45816. #. type: deftypevr
  45817. #: guix-git/doc/guix.texi:30822
  45818. #, no-wrap
  45819. msgid "{@code{cgit-configuration} parameter} file-object include"
  45820. msgstr ""
  45821. #. type: deftypevr
  45822. #: guix-git/doc/guix.texi:30825
  45823. msgid "Name of a configfile to include before the rest of the current config- file is parsed."
  45824. msgstr ""
  45825. #. type: deftypevr
  45826. #: guix-git/doc/guix.texi:30830
  45827. #, no-wrap
  45828. msgid "{@code{cgit-configuration} parameter} string index-header"
  45829. msgstr ""
  45830. #. type: deftypevr
  45831. #: guix-git/doc/guix.texi:30833
  45832. msgid "The content of the file specified with this option will be included verbatim above the repository index."
  45833. msgstr ""
  45834. #. type: deftypevr
  45835. #: guix-git/doc/guix.texi:30838
  45836. #, no-wrap
  45837. msgid "{@code{cgit-configuration} parameter} string index-info"
  45838. msgstr ""
  45839. #. type: deftypevr
  45840. #: guix-git/doc/guix.texi:30841
  45841. msgid "The content of the file specified with this option will be included verbatim below the heading on the repository index page."
  45842. msgstr ""
  45843. #. type: deftypevr
  45844. #: guix-git/doc/guix.texi:30846
  45845. #, no-wrap
  45846. msgid "{@code{cgit-configuration} parameter} boolean local-time?"
  45847. msgstr ""
  45848. #. type: deftypevr
  45849. #: guix-git/doc/guix.texi:30849
  45850. msgid "Flag which, if set to @samp{#t}, makes cgit print commit and tag times in the servers timezone."
  45851. msgstr ""
  45852. #. type: deftypevr
  45853. #: guix-git/doc/guix.texi:30854
  45854. #, no-wrap
  45855. msgid "{@code{cgit-configuration} parameter} file-object logo"
  45856. msgstr ""
  45857. #. type: deftypevr
  45858. #: guix-git/doc/guix.texi:30857
  45859. msgid "URL which specifies the source of an image which will be used as a logo on all cgit pages."
  45860. msgstr ""
  45861. #. type: deftypevr
  45862. #: guix-git/doc/guix.texi:30859
  45863. msgid "Defaults to @samp{\"/share/cgit/cgit.png\"}."
  45864. msgstr ""
  45865. #. type: deftypevr
  45866. #: guix-git/doc/guix.texi:30862
  45867. #, no-wrap
  45868. msgid "{@code{cgit-configuration} parameter} string logo-link"
  45869. msgstr ""
  45870. #. type: deftypevr
  45871. #: guix-git/doc/guix.texi:30864 guix-git/doc/guix.texi:31321
  45872. msgid "URL loaded when clicking on the cgit logo image."
  45873. msgstr ""
  45874. #. type: deftypevr
  45875. #: guix-git/doc/guix.texi:30869
  45876. #, no-wrap
  45877. msgid "{@code{cgit-configuration} parameter} file-object owner-filter"
  45878. msgstr ""
  45879. #. type: deftypevr
  45880. #: guix-git/doc/guix.texi:30872
  45881. msgid "Command which will be invoked to format the Owner column of the main page."
  45882. msgstr ""
  45883. #. type: deftypevr
  45884. #: guix-git/doc/guix.texi:30877
  45885. #, no-wrap
  45886. msgid "{@code{cgit-configuration} parameter} integer max-atom-items"
  45887. msgstr ""
  45888. #. type: deftypevr
  45889. #: guix-git/doc/guix.texi:30879
  45890. msgid "Number of items to display in atom feeds view."
  45891. msgstr ""
  45892. #. type: deftypevr
  45893. #: guix-git/doc/guix.texi:30884
  45894. #, no-wrap
  45895. msgid "{@code{cgit-configuration} parameter} integer max-commit-count"
  45896. msgstr ""
  45897. #. type: deftypevr
  45898. #: guix-git/doc/guix.texi:30886
  45899. msgid "Number of entries to list per page in \"log\" view."
  45900. msgstr ""
  45901. #. type: deftypevr
  45902. #: guix-git/doc/guix.texi:30891
  45903. #, no-wrap
  45904. msgid "{@code{cgit-configuration} parameter} integer max-message-length"
  45905. msgstr ""
  45906. #. type: deftypevr
  45907. #: guix-git/doc/guix.texi:30893
  45908. msgid "Number of commit message characters to display in \"log\" view."
  45909. msgstr ""
  45910. #. type: deftypevr
  45911. #: guix-git/doc/guix.texi:30895 guix-git/doc/guix.texi:30911
  45912. msgid "Defaults to @samp{80}."
  45913. msgstr ""
  45914. #. type: deftypevr
  45915. #: guix-git/doc/guix.texi:30898
  45916. #, no-wrap
  45917. msgid "{@code{cgit-configuration} parameter} integer max-repo-count"
  45918. msgstr ""
  45919. #. type: deftypevr
  45920. #: guix-git/doc/guix.texi:30901
  45921. msgid "Specifies the number of entries to list per page on the repository index page."
  45922. msgstr ""
  45923. #. type: deftypevr
  45924. #: guix-git/doc/guix.texi:30906
  45925. #, no-wrap
  45926. msgid "{@code{cgit-configuration} parameter} integer max-repodesc-length"
  45927. msgstr ""
  45928. #. type: deftypevr
  45929. #: guix-git/doc/guix.texi:30909
  45930. msgid "Specifies the maximum number of repo description characters to display on the repository index page."
  45931. msgstr ""
  45932. #. type: deftypevr
  45933. #: guix-git/doc/guix.texi:30914
  45934. #, no-wrap
  45935. msgid "{@code{cgit-configuration} parameter} integer max-blob-size"
  45936. msgstr ""
  45937. #. type: deftypevr
  45938. #: guix-git/doc/guix.texi:30916
  45939. msgid "Specifies the maximum size of a blob to display HTML for in KBytes."
  45940. msgstr ""
  45941. #. type: deftypevr
  45942. #: guix-git/doc/guix.texi:30921
  45943. #, no-wrap
  45944. msgid "{@code{cgit-configuration} parameter} string max-stats"
  45945. msgstr ""
  45946. #. type: deftypevr
  45947. #: guix-git/doc/guix.texi:30924
  45948. msgid "Maximum statistics period. Valid values are @samp{week},@samp{month}, @samp{quarter} and @samp{year}."
  45949. msgstr ""
  45950. #. type: deftypevr
  45951. #: guix-git/doc/guix.texi:30929
  45952. #, no-wrap
  45953. msgid "{@code{cgit-configuration} parameter} mimetype-alist mimetype"
  45954. msgstr ""
  45955. #. type: deftypevr
  45956. #: guix-git/doc/guix.texi:30931
  45957. msgid "Mimetype for the specified filename extension."
  45958. msgstr ""
  45959. #. type: deftypevr
  45960. #: guix-git/doc/guix.texi:30935
  45961. 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\"))}."
  45962. msgstr ""
  45963. #. type: deftypevr
  45964. #: guix-git/doc/guix.texi:30938
  45965. #, no-wrap
  45966. msgid "{@code{cgit-configuration} parameter} file-object mimetype-file"
  45967. msgstr ""
  45968. #. type: deftypevr
  45969. #: guix-git/doc/guix.texi:30940
  45970. msgid "Specifies the file to use for automatic mimetype lookup."
  45971. msgstr ""
  45972. #. type: deftypevr
  45973. #: guix-git/doc/guix.texi:30945
  45974. #, no-wrap
  45975. msgid "{@code{cgit-configuration} parameter} string module-link"
  45976. msgstr ""
  45977. #. type: deftypevr
  45978. #: guix-git/doc/guix.texi:30948
  45979. msgid "Text which will be used as the formatstring for a hyperlink when a submodule is printed in a directory listing."
  45980. msgstr ""
  45981. #. type: deftypevr
  45982. #: guix-git/doc/guix.texi:30953
  45983. #, no-wrap
  45984. msgid "{@code{cgit-configuration} parameter} boolean nocache?"
  45985. msgstr ""
  45986. #. type: deftypevr
  45987. #: guix-git/doc/guix.texi:30955
  45988. msgid "If set to the value @samp{#t} caching will be disabled."
  45989. msgstr ""
  45990. #. type: deftypevr
  45991. #: guix-git/doc/guix.texi:30960
  45992. #, no-wrap
  45993. msgid "{@code{cgit-configuration} parameter} boolean noplainemail?"
  45994. msgstr ""
  45995. #. type: deftypevr
  45996. #: guix-git/doc/guix.texi:30963
  45997. msgid "If set to @samp{#t} showing full author email addresses will be disabled."
  45998. msgstr ""
  45999. #. type: deftypevr
  46000. #: guix-git/doc/guix.texi:30968
  46001. #, no-wrap
  46002. msgid "{@code{cgit-configuration} parameter} boolean noheader?"
  46003. msgstr ""
  46004. #. type: deftypevr
  46005. #: guix-git/doc/guix.texi:30971
  46006. msgid "Flag which, when set to @samp{#t}, will make cgit omit the standard header on all pages."
  46007. msgstr ""
  46008. #. type: deftypevr
  46009. #: guix-git/doc/guix.texi:30976
  46010. #, no-wrap
  46011. msgid "{@code{cgit-configuration} parameter} project-list project-list"
  46012. msgstr ""
  46013. #. type: deftypevr
  46014. #: guix-git/doc/guix.texi:30980
  46015. 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."
  46016. msgstr ""
  46017. #. type: deftypevr
  46018. #: guix-git/doc/guix.texi:30985
  46019. #, no-wrap
  46020. msgid "{@code{cgit-configuration} parameter} file-object readme"
  46021. msgstr ""
  46022. #. type: deftypevr
  46023. #: guix-git/doc/guix.texi:30987
  46024. msgid "Text which will be used as default value for @code{cgit-repo-readme}."
  46025. msgstr ""
  46026. #. type: deftypevr
  46027. #: guix-git/doc/guix.texi:30992
  46028. #, no-wrap
  46029. msgid "{@code{cgit-configuration} parameter} boolean remove-suffix?"
  46030. msgstr ""
  46031. #. type: deftypevr
  46032. #: guix-git/doc/guix.texi:30996
  46033. 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."
  46034. msgstr ""
  46035. #. type: deftypevr
  46036. #: guix-git/doc/guix.texi:31001
  46037. #, no-wrap
  46038. msgid "{@code{cgit-configuration} parameter} integer renamelimit"
  46039. msgstr ""
  46040. #. type: deftypevr
  46041. #: guix-git/doc/guix.texi:31003
  46042. msgid "Maximum number of files to consider when detecting renames."
  46043. msgstr ""
  46044. #. type: deftypevr
  46045. #: guix-git/doc/guix.texi:31008
  46046. #, no-wrap
  46047. msgid "{@code{cgit-configuration} parameter} string repository-sort"
  46048. msgstr ""
  46049. #. type: deftypevr
  46050. #: guix-git/doc/guix.texi:31010
  46051. msgid "The way in which repositories in each section are sorted."
  46052. msgstr ""
  46053. #. type: deftypevr
  46054. #: guix-git/doc/guix.texi:31015
  46055. #, no-wrap
  46056. msgid "{@code{cgit-configuration} parameter} robots-list robots"
  46057. msgstr ""
  46058. #. type: deftypevr
  46059. #: guix-git/doc/guix.texi:31017
  46060. msgid "Text used as content for the @code{robots} meta-tag."
  46061. msgstr ""
  46062. #. type: deftypevr
  46063. #: guix-git/doc/guix.texi:31019
  46064. msgid "Defaults to @samp{(\"noindex\" \"nofollow\")}."
  46065. msgstr ""
  46066. #. type: deftypevr
  46067. #: guix-git/doc/guix.texi:31022
  46068. #, no-wrap
  46069. msgid "{@code{cgit-configuration} parameter} string root-desc"
  46070. msgstr ""
  46071. #. type: deftypevr
  46072. #: guix-git/doc/guix.texi:31024
  46073. msgid "Text printed below the heading on the repository index page."
  46074. msgstr ""
  46075. #. type: deftypevr
  46076. #: guix-git/doc/guix.texi:31026
  46077. msgid "Defaults to @samp{\"a fast webinterface for the git dscm\"}."
  46078. msgstr ""
  46079. #. type: deftypevr
  46080. #: guix-git/doc/guix.texi:31029
  46081. #, no-wrap
  46082. msgid "{@code{cgit-configuration} parameter} string root-readme"
  46083. msgstr ""
  46084. #. type: deftypevr
  46085. #: guix-git/doc/guix.texi:31032
  46086. msgid "The content of the file specified with this option will be included verbatim below the ``about'' link on the repository index page."
  46087. msgstr ""
  46088. #. type: deftypevr
  46089. #: guix-git/doc/guix.texi:31037
  46090. #, no-wrap
  46091. msgid "{@code{cgit-configuration} parameter} string root-title"
  46092. msgstr ""
  46093. #. type: deftypevr
  46094. #: guix-git/doc/guix.texi:31039
  46095. msgid "Text printed as heading on the repository index page."
  46096. msgstr ""
  46097. #. type: deftypevr
  46098. #: guix-git/doc/guix.texi:31044
  46099. #, no-wrap
  46100. msgid "{@code{cgit-configuration} parameter} boolean scan-hidden-path"
  46101. msgstr ""
  46102. #. type: deftypevr
  46103. #: guix-git/doc/guix.texi:31050
  46104. 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."
  46105. msgstr ""
  46106. #. type: deftypevr
  46107. #: guix-git/doc/guix.texi:31055
  46108. #, no-wrap
  46109. msgid "{@code{cgit-configuration} parameter} list snapshots"
  46110. msgstr ""
  46111. #. type: deftypevr
  46112. #: guix-git/doc/guix.texi:31058
  46113. msgid "Text which specifies the default set of snapshot formats that cgit generates links for."
  46114. msgstr ""
  46115. #. type: deftypevr
  46116. #: guix-git/doc/guix.texi:31063
  46117. #, no-wrap
  46118. msgid "{@code{cgit-configuration} parameter} repository-directory repository-directory"
  46119. msgstr ""
  46120. #. type: deftypevr
  46121. #: guix-git/doc/guix.texi:31066
  46122. msgid "Name of the directory to scan for repositories (represents @code{scan-path})."
  46123. msgstr ""
  46124. #. type: deftypevr
  46125. #: guix-git/doc/guix.texi:31068
  46126. msgid "Defaults to @samp{\"/srv/git\"}."
  46127. msgstr ""
  46128. #. type: deftypevr
  46129. #: guix-git/doc/guix.texi:31071
  46130. #, no-wrap
  46131. msgid "{@code{cgit-configuration} parameter} string section"
  46132. msgstr ""
  46133. #. type: deftypevr
  46134. #: guix-git/doc/guix.texi:31074 guix-git/doc/guix.texi:31390
  46135. msgid "The name of the current repository section - all repositories defined after this option will inherit the current section name."
  46136. msgstr ""
  46137. #. type: deftypevr
  46138. #: guix-git/doc/guix.texi:31079
  46139. #, no-wrap
  46140. msgid "{@code{cgit-configuration} parameter} string section-sort"
  46141. msgstr ""
  46142. #. type: deftypevr
  46143. #: guix-git/doc/guix.texi:31082
  46144. msgid "Flag which, when set to @samp{1}, will sort the sections on the repository listing by name."
  46145. msgstr ""
  46146. #. type: deftypevr
  46147. #: guix-git/doc/guix.texi:31087
  46148. #, no-wrap
  46149. msgid "{@code{cgit-configuration} parameter} integer section-from-path"
  46150. msgstr ""
  46151. #. type: deftypevr
  46152. #: guix-git/doc/guix.texi:31090
  46153. 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."
  46154. msgstr ""
  46155. #. type: deftypevr
  46156. #: guix-git/doc/guix.texi:31095
  46157. #, no-wrap
  46158. msgid "{@code{cgit-configuration} parameter} boolean side-by-side-diffs?"
  46159. msgstr ""
  46160. #. type: deftypevr
  46161. #: guix-git/doc/guix.texi:31098
  46162. msgid "If set to @samp{#t} shows side-by-side diffs instead of unidiffs per default."
  46163. msgstr ""
  46164. #. type: deftypevr
  46165. #: guix-git/doc/guix.texi:31103
  46166. #, no-wrap
  46167. msgid "{@code{cgit-configuration} parameter} file-object source-filter"
  46168. msgstr ""
  46169. #. type: deftypevr
  46170. #: guix-git/doc/guix.texi:31106
  46171. msgid "Specifies a command which will be invoked to format plaintext blobs in the tree view."
  46172. msgstr ""
  46173. #. type: deftypevr
  46174. #: guix-git/doc/guix.texi:31111
  46175. #, no-wrap
  46176. msgid "{@code{cgit-configuration} parameter} integer summary-branches"
  46177. msgstr ""
  46178. #. type: deftypevr
  46179. #: guix-git/doc/guix.texi:31114
  46180. msgid "Specifies the number of branches to display in the repository ``summary'' view."
  46181. msgstr ""
  46182. #. type: deftypevr
  46183. #: guix-git/doc/guix.texi:31119
  46184. #, no-wrap
  46185. msgid "{@code{cgit-configuration} parameter} integer summary-log"
  46186. msgstr ""
  46187. #. type: deftypevr
  46188. #: guix-git/doc/guix.texi:31122
  46189. msgid "Specifies the number of log entries to display in the repository ``summary'' view."
  46190. msgstr ""
  46191. #. type: deftypevr
  46192. #: guix-git/doc/guix.texi:31127
  46193. #, no-wrap
  46194. msgid "{@code{cgit-configuration} parameter} integer summary-tags"
  46195. msgstr ""
  46196. #. type: deftypevr
  46197. #: guix-git/doc/guix.texi:31130
  46198. msgid "Specifies the number of tags to display in the repository ``summary'' view."
  46199. msgstr ""
  46200. #. type: deftypevr
  46201. #: guix-git/doc/guix.texi:31135
  46202. #, no-wrap
  46203. msgid "{@code{cgit-configuration} parameter} string strict-export"
  46204. msgstr ""
  46205. #. type: deftypevr
  46206. #: guix-git/doc/guix.texi:31138
  46207. msgid "Filename which, if specified, needs to be present within the repository for cgit to allow access to that repository."
  46208. msgstr ""
  46209. #. type: deftypevr
  46210. #: guix-git/doc/guix.texi:31143
  46211. #, no-wrap
  46212. msgid "{@code{cgit-configuration} parameter} string virtual-root"
  46213. msgstr ""
  46214. #. type: deftypevr
  46215. #: guix-git/doc/guix.texi:31145
  46216. msgid "URL which, if specified, will be used as root for all cgit links."
  46217. msgstr ""
  46218. #. type: deftypevr
  46219. #: guix-git/doc/guix.texi:31147
  46220. msgid "Defaults to @samp{\"/\"}."
  46221. msgstr ""
  46222. #. type: deftypevr
  46223. #: guix-git/doc/guix.texi:31150
  46224. #, no-wrap
  46225. msgid "{@code{cgit-configuration} parameter} repository-cgit-configuration-list repositories"
  46226. msgstr ""
  46227. #. type: deftypevr
  46228. #: guix-git/doc/guix.texi:31152
  46229. msgid "A list of @dfn{cgit-repo} records to use with config."
  46230. msgstr ""
  46231. #. type: deftypevr
  46232. #: guix-git/doc/guix.texi:31156
  46233. msgid "Available @code{repository-cgit-configuration} fields are:"
  46234. msgstr ""
  46235. #. type: deftypevr
  46236. #: guix-git/doc/guix.texi:31157
  46237. #, no-wrap
  46238. msgid "{@code{repository-cgit-configuration} parameter} repo-list snapshots"
  46239. msgstr ""
  46240. #. type: deftypevr
  46241. #: guix-git/doc/guix.texi:31160
  46242. msgid "A mask of snapshot formats for this repo that cgit generates links for, restricted by the global @code{snapshots} setting."
  46243. msgstr ""
  46244. #. type: deftypevr
  46245. #: guix-git/doc/guix.texi:31165
  46246. #, no-wrap
  46247. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object source-filter"
  46248. msgstr ""
  46249. #. type: deftypevr
  46250. #: guix-git/doc/guix.texi:31167
  46251. msgid "Override the default @code{source-filter}."
  46252. msgstr ""
  46253. #. type: deftypevr
  46254. #: guix-git/doc/guix.texi:31172
  46255. #, no-wrap
  46256. msgid "{@code{repository-cgit-configuration} parameter} repo-string url"
  46257. msgstr ""
  46258. #. type: deftypevr
  46259. #: guix-git/doc/guix.texi:31174
  46260. msgid "The relative URL used to access the repository."
  46261. msgstr ""
  46262. #. type: deftypevr
  46263. #: guix-git/doc/guix.texi:31179
  46264. #, no-wrap
  46265. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object about-filter"
  46266. msgstr ""
  46267. #. type: deftypevr
  46268. #: guix-git/doc/guix.texi:31181
  46269. msgid "Override the default @code{about-filter}."
  46270. msgstr ""
  46271. #. type: deftypevr
  46272. #: guix-git/doc/guix.texi:31186
  46273. #, no-wrap
  46274. msgid "{@code{repository-cgit-configuration} parameter} repo-string branch-sort"
  46275. msgstr ""
  46276. #. type: deftypevr
  46277. #: guix-git/doc/guix.texi:31189
  46278. 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."
  46279. msgstr ""
  46280. #. type: deftypevr
  46281. #: guix-git/doc/guix.texi:31194
  46282. #, no-wrap
  46283. msgid "{@code{repository-cgit-configuration} parameter} repo-list clone-url"
  46284. msgstr ""
  46285. #. type: deftypevr
  46286. #: guix-git/doc/guix.texi:31196
  46287. msgid "A list of URLs which can be used to clone repo."
  46288. msgstr ""
  46289. #. type: deftypevr
  46290. #: guix-git/doc/guix.texi:31201
  46291. #, no-wrap
  46292. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object commit-filter"
  46293. msgstr ""
  46294. #. type: deftypevr
  46295. #: guix-git/doc/guix.texi:31203
  46296. msgid "Override the default @code{commit-filter}."
  46297. msgstr ""
  46298. #. type: deftypevr
  46299. #: guix-git/doc/guix.texi:31208
  46300. #, no-wrap
  46301. msgid "{@code{repository-cgit-configuration} parameter} repo-string commit-sort"
  46302. msgstr ""
  46303. #. type: deftypevr
  46304. #: guix-git/doc/guix.texi:31217
  46305. #, no-wrap
  46306. msgid "{@code{repository-cgit-configuration} parameter} repo-string defbranch"
  46307. msgstr ""
  46308. #. type: deftypevr
  46309. #: guix-git/doc/guix.texi:31222
  46310. 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."
  46311. msgstr ""
  46312. #. type: deftypevr
  46313. #: guix-git/doc/guix.texi:31227
  46314. #, no-wrap
  46315. msgid "{@code{repository-cgit-configuration} parameter} repo-string desc"
  46316. msgstr ""
  46317. #. type: deftypevr
  46318. #: guix-git/doc/guix.texi:31229
  46319. msgid "The value to show as repository description."
  46320. msgstr ""
  46321. #. type: deftypevr
  46322. #: guix-git/doc/guix.texi:31234
  46323. #, no-wrap
  46324. msgid "{@code{repository-cgit-configuration} parameter} repo-string homepage"
  46325. msgstr ""
  46326. #. type: deftypevr
  46327. #: guix-git/doc/guix.texi:31236
  46328. msgid "The value to show as repository homepage."
  46329. msgstr ""
  46330. #. type: deftypevr
  46331. #: guix-git/doc/guix.texi:31241
  46332. #, no-wrap
  46333. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object email-filter"
  46334. msgstr ""
  46335. #. type: deftypevr
  46336. #: guix-git/doc/guix.texi:31243
  46337. msgid "Override the default @code{email-filter}."
  46338. msgstr ""
  46339. #. type: deftypevr
  46340. #: guix-git/doc/guix.texi:31248
  46341. #, no-wrap
  46342. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-commit-graph?"
  46343. msgstr ""
  46344. #. type: deftypevr
  46345. #: guix-git/doc/guix.texi:31251
  46346. msgid "A flag which can be used to disable the global setting @code{enable-commit-graph?}."
  46347. msgstr ""
  46348. #. type: deftypevr
  46349. #: guix-git/doc/guix.texi:31256
  46350. #, no-wrap
  46351. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-log-filecount?"
  46352. msgstr ""
  46353. #. type: deftypevr
  46354. #: guix-git/doc/guix.texi:31259
  46355. msgid "A flag which can be used to disable the global setting @code{enable-log-filecount?}."
  46356. msgstr ""
  46357. #. type: deftypevr
  46358. #: guix-git/doc/guix.texi:31264
  46359. #, no-wrap
  46360. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-log-linecount?"
  46361. msgstr ""
  46362. #. type: deftypevr
  46363. #: guix-git/doc/guix.texi:31267
  46364. msgid "A flag which can be used to disable the global setting @code{enable-log-linecount?}."
  46365. msgstr ""
  46366. #. type: deftypevr
  46367. #: guix-git/doc/guix.texi:31272
  46368. #, no-wrap
  46369. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-remote-branches?"
  46370. msgstr ""
  46371. #. type: deftypevr
  46372. #: guix-git/doc/guix.texi:31280
  46373. #, no-wrap
  46374. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-subject-links?"
  46375. msgstr ""
  46376. #. type: deftypevr
  46377. #: guix-git/doc/guix.texi:31283
  46378. msgid "A flag which can be used to override the global setting @code{enable-subject-links?}."
  46379. msgstr ""
  46380. #. type: deftypevr
  46381. #: guix-git/doc/guix.texi:31288
  46382. #, no-wrap
  46383. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-html-serving?"
  46384. msgstr ""
  46385. #. type: deftypevr
  46386. #: guix-git/doc/guix.texi:31291
  46387. msgid "A flag which can be used to override the global setting @code{enable-html-serving?}."
  46388. msgstr ""
  46389. #. type: deftypevr
  46390. #: guix-git/doc/guix.texi:31296
  46391. #, no-wrap
  46392. msgid "{@code{repository-cgit-configuration} parameter} repo-boolean hide?"
  46393. msgstr ""
  46394. #. type: deftypevr
  46395. #: guix-git/doc/guix.texi:31299
  46396. msgid "Flag which, when set to @code{#t}, hides the repository from the repository index."
  46397. msgstr ""
  46398. #. type: deftypevr
  46399. #: guix-git/doc/guix.texi:31304
  46400. #, no-wrap
  46401. msgid "{@code{repository-cgit-configuration} parameter} repo-boolean ignore?"
  46402. msgstr ""
  46403. #. type: deftypevr
  46404. #: guix-git/doc/guix.texi:31306
  46405. msgid "Flag which, when set to @samp{#t}, ignores the repository."
  46406. msgstr ""
  46407. #. type: deftypevr
  46408. #: guix-git/doc/guix.texi:31311
  46409. #, no-wrap
  46410. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object logo"
  46411. msgstr ""
  46412. #. type: deftypevr
  46413. #: guix-git/doc/guix.texi:31314
  46414. msgid "URL which specifies the source of an image which will be used as a logo on this repo’s pages."
  46415. msgstr ""
  46416. #. type: deftypevr
  46417. #: guix-git/doc/guix.texi:31319
  46418. #, no-wrap
  46419. msgid "{@code{repository-cgit-configuration} parameter} repo-string logo-link"
  46420. msgstr ""
  46421. #. type: deftypevr
  46422. #: guix-git/doc/guix.texi:31326
  46423. #, no-wrap
  46424. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object owner-filter"
  46425. msgstr ""
  46426. #. type: deftypevr
  46427. #: guix-git/doc/guix.texi:31328
  46428. msgid "Override the default @code{owner-filter}."
  46429. msgstr ""
  46430. #. type: deftypevr
  46431. #: guix-git/doc/guix.texi:31333
  46432. #, no-wrap
  46433. msgid "{@code{repository-cgit-configuration} parameter} repo-string module-link"
  46434. msgstr ""
  46435. #. type: deftypevr
  46436. #: guix-git/doc/guix.texi:31337
  46437. 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."
  46438. msgstr ""
  46439. #. type: deftypevr
  46440. #: guix-git/doc/guix.texi:31342
  46441. #, no-wrap
  46442. msgid "{@code{repository-cgit-configuration} parameter} module-link-path module-link-path"
  46443. msgstr ""
  46444. #. type: deftypevr
  46445. #: guix-git/doc/guix.texi:31346
  46446. 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."
  46447. msgstr ""
  46448. #. type: deftypevr
  46449. #: guix-git/doc/guix.texi:31351
  46450. #, no-wrap
  46451. msgid "{@code{repository-cgit-configuration} parameter} repo-string max-stats"
  46452. msgstr ""
  46453. #. type: deftypevr
  46454. #: guix-git/doc/guix.texi:31353
  46455. msgid "Override the default maximum statistics period."
  46456. msgstr ""
  46457. #. type: deftypevr
  46458. #: guix-git/doc/guix.texi:31358
  46459. #, no-wrap
  46460. msgid "{@code{repository-cgit-configuration} parameter} repo-string name"
  46461. msgstr ""
  46462. #. type: deftypevr
  46463. #: guix-git/doc/guix.texi:31360
  46464. msgid "The value to show as repository name."
  46465. msgstr ""
  46466. #. type: deftypevr
  46467. #: guix-git/doc/guix.texi:31365
  46468. #, no-wrap
  46469. msgid "{@code{repository-cgit-configuration} parameter} repo-string owner"
  46470. msgstr ""
  46471. #. type: deftypevr
  46472. #: guix-git/doc/guix.texi:31367
  46473. msgid "A value used to identify the owner of the repository."
  46474. msgstr ""
  46475. #. type: deftypevr
  46476. #: guix-git/doc/guix.texi:31372
  46477. #, no-wrap
  46478. msgid "{@code{repository-cgit-configuration} parameter} repo-string path"
  46479. msgstr ""
  46480. #. type: deftypevr
  46481. #: guix-git/doc/guix.texi:31374
  46482. msgid "An absolute path to the repository directory."
  46483. msgstr ""
  46484. #. type: deftypevr
  46485. #: guix-git/doc/guix.texi:31379
  46486. #, no-wrap
  46487. msgid "{@code{repository-cgit-configuration} parameter} repo-string readme"
  46488. msgstr ""
  46489. #. type: deftypevr
  46490. #: guix-git/doc/guix.texi:31382
  46491. msgid "A path (relative to repo) which specifies a file to include verbatim as the ``About'' page for this repo."
  46492. msgstr ""
  46493. #. type: deftypevr
  46494. #: guix-git/doc/guix.texi:31387
  46495. #, no-wrap
  46496. msgid "{@code{repository-cgit-configuration} parameter} repo-string section"
  46497. msgstr ""
  46498. #. type: deftypevr
  46499. #: guix-git/doc/guix.texi:31395
  46500. #, no-wrap
  46501. msgid "{@code{repository-cgit-configuration} parameter} repo-list extra-options"
  46502. msgstr ""
  46503. #. type: deftypevr
  46504. #: guix-git/doc/guix.texi:31397 guix-git/doc/guix.texi:31406
  46505. msgid "Extra options will be appended to cgitrc file."
  46506. msgstr ""
  46507. #. type: deftypevr
  46508. #: guix-git/doc/guix.texi:31404
  46509. #, no-wrap
  46510. msgid "{@code{cgit-configuration} parameter} list extra-options"
  46511. msgstr ""
  46512. #. type: Plain text
  46513. #: guix-git/doc/guix.texi:31418
  46514. 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."
  46515. msgstr ""
  46516. #. type: Plain text
  46517. #: guix-git/doc/guix.texi:31420
  46518. msgid "Available @code{opaque-cgit-configuration} fields are:"
  46519. msgstr ""
  46520. #. type: deftypevr
  46521. #: guix-git/doc/guix.texi:31421
  46522. #, no-wrap
  46523. msgid "{@code{opaque-cgit-configuration} parameter} package cgit"
  46524. msgstr ""
  46525. #. type: deftypevr
  46526. #: guix-git/doc/guix.texi:31423
  46527. msgid "The cgit package."
  46528. msgstr ""
  46529. #. type: deftypevr
  46530. #: guix-git/doc/guix.texi:31425
  46531. #, no-wrap
  46532. msgid "{@code{opaque-cgit-configuration} parameter} string string"
  46533. msgstr ""
  46534. #. type: deftypevr
  46535. #: guix-git/doc/guix.texi:31427
  46536. msgid "The contents of the @code{cgitrc}, as a string."
  46537. msgstr ""
  46538. #. type: Plain text
  46539. #: guix-git/doc/guix.texi:31431
  46540. msgid "For example, if your @code{cgitrc} is just the empty string, you could instantiate a cgit service like this:"
  46541. msgstr ""
  46542. #. type: lisp
  46543. #: guix-git/doc/guix.texi:31436
  46544. #, no-wrap
  46545. msgid ""
  46546. "(service cgit-service-type\n"
  46547. " (opaque-cgit-configuration\n"
  46548. " (cgitrc \"\")))\n"
  46549. msgstr ""
  46550. #. type: subsubheading
  46551. #: guix-git/doc/guix.texi:31438
  46552. #, no-wrap
  46553. msgid "Gitolite Service"
  46554. msgstr ""
  46555. #. type: cindex
  46556. #: guix-git/doc/guix.texi:31440
  46557. #, no-wrap
  46558. msgid "Gitolite service"
  46559. msgstr ""
  46560. #. type: cindex
  46561. #: guix-git/doc/guix.texi:31441
  46562. #, no-wrap
  46563. msgid "Git, hosting"
  46564. msgstr ""
  46565. #. type: Plain text
  46566. #: guix-git/doc/guix.texi:31444
  46567. msgid "@uref{https://gitolite.com/gitolite/, Gitolite} is a tool for hosting Git repositories on a central server."
  46568. msgstr ""
  46569. #. type: Plain text
  46570. #: guix-git/doc/guix.texi:31447
  46571. msgid "Gitolite can handle multiple repositories and users, and supports flexible configuration of the permissions for the users on the repositories."
  46572. msgstr ""
  46573. #. type: Plain text
  46574. #: guix-git/doc/guix.texi:31450
  46575. msgid "The following example will configure Gitolite using the default @code{git} user, and the provided SSH public key."
  46576. msgstr ""
  46577. #. type: lisp
  46578. #: guix-git/doc/guix.texi:31457
  46579. #, no-wrap
  46580. msgid ""
  46581. "(service gitolite-service-type\n"
  46582. " (gitolite-configuration\n"
  46583. " (admin-pubkey (plain-file\n"
  46584. " \"yourname.pub\"\n"
  46585. " \"ssh-rsa AAAA... guix@@example.com\"))))\n"
  46586. msgstr ""
  46587. #. type: Plain text
  46588. #: guix-git/doc/guix.texi:31462
  46589. 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."
  46590. msgstr ""
  46591. #. type: example
  46592. #: guix-git/doc/guix.texi:31465
  46593. #, no-wrap
  46594. msgid "git clone git@@example.com:gitolite-admin\n"
  46595. msgstr ""
  46596. #. type: Plain text
  46597. #: guix-git/doc/guix.texi:31471
  46598. 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''."
  46599. msgstr ""
  46600. #. type: deftp
  46601. #: guix-git/doc/guix.texi:31472
  46602. #, no-wrap
  46603. msgid "{Data Type} gitolite-configuration"
  46604. msgstr ""
  46605. #. type: deftp
  46606. #: guix-git/doc/guix.texi:31474
  46607. msgid "Data type representing the configuration for @code{gitolite-service-type}."
  46608. msgstr ""
  46609. #. type: item
  46610. #: guix-git/doc/guix.texi:31476
  46611. #, no-wrap
  46612. msgid "@code{package} (default: @var{gitolite})"
  46613. msgstr ""
  46614. #. type: table
  46615. #: guix-git/doc/guix.texi:31478
  46616. msgid "Gitolite package to use."
  46617. msgstr ""
  46618. #. type: item
  46619. #: guix-git/doc/guix.texi:31479
  46620. #, no-wrap
  46621. msgid "@code{user} (default: @var{git})"
  46622. msgstr ""
  46623. #. type: table
  46624. #: guix-git/doc/guix.texi:31482
  46625. msgid "User to use for Gitolite. This will be user that you use when accessing Gitolite over SSH."
  46626. msgstr ""
  46627. #. type: item
  46628. #: guix-git/doc/guix.texi:31483
  46629. #, no-wrap
  46630. msgid "@code{group} (default: @var{git})"
  46631. msgstr ""
  46632. #. type: table
  46633. #: guix-git/doc/guix.texi:31485
  46634. msgid "Group to use for Gitolite."
  46635. msgstr ""
  46636. #. type: item
  46637. #: guix-git/doc/guix.texi:31486
  46638. #, no-wrap
  46639. msgid "@code{home-directory} (default: @var{\"/var/lib/gitolite\"})"
  46640. msgstr ""
  46641. #. type: table
  46642. #: guix-git/doc/guix.texi:31488
  46643. msgid "Directory in which to store the Gitolite configuration and repositories."
  46644. msgstr ""
  46645. #. type: item
  46646. #: guix-git/doc/guix.texi:31489
  46647. #, no-wrap
  46648. msgid "@code{rc-file} (default: @var{(gitolite-rc-file)})"
  46649. msgstr ""
  46650. #. type: table
  46651. #: guix-git/doc/guix.texi:31492
  46652. msgid "A ``file-like'' object (@pxref{G-Expressions, file-like objects}), representing the configuration for Gitolite."
  46653. msgstr ""
  46654. #. type: item
  46655. #: guix-git/doc/guix.texi:31493
  46656. #, no-wrap
  46657. msgid "@code{admin-pubkey} (default: @var{#f})"
  46658. msgstr ""
  46659. #. type: table
  46660. #: guix-git/doc/guix.texi:31497
  46661. 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."
  46662. msgstr ""
  46663. #. type: table
  46664. #: guix-git/doc/guix.texi:31499
  46665. msgid "To specify the SSH key as a string, use the @code{plain-file} function."
  46666. msgstr ""
  46667. #. type: lisp
  46668. #: guix-git/doc/guix.texi:31502
  46669. #, no-wrap
  46670. msgid "(plain-file \"yourname.pub\" \"ssh-rsa AAAA... guix@@example.com\")\n"
  46671. msgstr ""
  46672. #. type: deftp
  46673. #: guix-git/doc/guix.texi:31507
  46674. #, no-wrap
  46675. msgid "{Data Type} gitolite-rc-file"
  46676. msgstr ""
  46677. #. type: deftp
  46678. #: guix-git/doc/guix.texi:31509
  46679. msgid "Data type representing the Gitolite RC file."
  46680. msgstr ""
  46681. #. type: item
  46682. #: guix-git/doc/guix.texi:31511
  46683. #, no-wrap
  46684. msgid "@code{umask} (default: @code{#o0077})"
  46685. msgstr ""
  46686. #. type: table
  46687. #: guix-git/doc/guix.texi:31514
  46688. msgid "This controls the permissions Gitolite sets on the repositories and their contents."
  46689. msgstr ""
  46690. #. type: table
  46691. #: guix-git/doc/guix.texi:31518
  46692. 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."
  46693. msgstr ""
  46694. #. type: item
  46695. #: guix-git/doc/guix.texi:31519
  46696. #, no-wrap
  46697. msgid "@code{git-config-keys} (default: @code{\"\"})"
  46698. msgstr ""
  46699. #. type: table
  46700. #: guix-git/doc/guix.texi:31522
  46701. msgid "Gitolite allows you to set git config values using the @samp{config} keyword. This setting allows control over the config keys to accept."
  46702. msgstr ""
  46703. #. type: item
  46704. #: guix-git/doc/guix.texi:31523
  46705. #, no-wrap
  46706. msgid "@code{roles} (default: @code{'((\"READERS\" . 1) (\"WRITERS\" . ))})"
  46707. msgstr ""
  46708. #. type: table
  46709. #: guix-git/doc/guix.texi:31525
  46710. msgid "Set the role names allowed to be used by users running the perms command."
  46711. msgstr ""
  46712. #. type: item
  46713. #: guix-git/doc/guix.texi:31526
  46714. #, no-wrap
  46715. msgid "@code{enable} (default: @code{'(\"help\" \"desc\" \"info\" \"perms\" \"writable\" \"ssh-authkeys\" \"git-config\" \"daemon\" \"gitweb\")})"
  46716. msgstr ""
  46717. #. type: table
  46718. #: guix-git/doc/guix.texi:31528
  46719. msgid "This setting controls the commands and features to enable within Gitolite."
  46720. msgstr ""
  46721. #. type: subsubheading
  46722. #: guix-git/doc/guix.texi:31536
  46723. #, no-wrap
  46724. msgid "The Battle for Wesnoth Service"
  46725. msgstr ""
  46726. #. type: cindex
  46727. #: guix-git/doc/guix.texi:31537
  46728. #, no-wrap
  46729. msgid "wesnothd"
  46730. msgstr ""
  46731. #. type: Plain text
  46732. #: guix-git/doc/guix.texi:31541
  46733. 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)."
  46734. msgstr ""
  46735. #. type: defvar
  46736. #: guix-git/doc/guix.texi:31542
  46737. #, no-wrap
  46738. msgid "{Scheme Variable} wesnothd-service-type"
  46739. msgstr ""
  46740. #. type: defvar
  46741. #: guix-git/doc/guix.texi:31546
  46742. 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:"
  46743. msgstr ""
  46744. #. type: lisp
  46745. #: guix-git/doc/guix.texi:31549
  46746. #, no-wrap
  46747. msgid "(service wesnothd-service-type)\n"
  46748. msgstr ""
  46749. #. type: deftp
  46750. #: guix-git/doc/guix.texi:31552
  46751. #, no-wrap
  46752. msgid "{Data Type} wesnothd-configuration"
  46753. msgstr ""
  46754. #. type: deftp
  46755. #: guix-git/doc/guix.texi:31554
  46756. msgid "Data type representing the configuration of @command{wesnothd}."
  46757. msgstr ""
  46758. #. type: item
  46759. #: guix-git/doc/guix.texi:31556
  46760. #, no-wrap
  46761. msgid "@code{package} (default: @code{wesnoth-server})"
  46762. msgstr ""
  46763. #. type: table
  46764. #: guix-git/doc/guix.texi:31558
  46765. msgid "The wesnoth server package to use."
  46766. msgstr ""
  46767. #. type: item
  46768. #: guix-git/doc/guix.texi:31559
  46769. #, no-wrap
  46770. msgid "@code{port} (default: @code{15000})"
  46771. msgstr ""
  46772. #. type: table
  46773. #: guix-git/doc/guix.texi:31561
  46774. msgid "The port to bind the server to."
  46775. msgstr ""
  46776. #. type: cindex
  46777. #: guix-git/doc/guix.texi:31567
  46778. #, no-wrap
  46779. msgid "pam-mount"
  46780. msgstr ""
  46781. #. type: Plain text
  46782. #: guix-git/doc/guix.texi:31572
  46783. 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."
  46784. msgstr ""
  46785. #. type: defvar
  46786. #: guix-git/doc/guix.texi:31573
  46787. #, no-wrap
  46788. msgid "{Scheme Variable} pam-mount-service-type"
  46789. msgstr ""
  46790. #. type: defvar
  46791. #: guix-git/doc/guix.texi:31575
  46792. msgid "Service type for PAM Mount support."
  46793. msgstr ""
  46794. #. type: deftp
  46795. #: guix-git/doc/guix.texi:31577
  46796. #, no-wrap
  46797. msgid "{Data Type} pam-mount-configuration"
  46798. msgstr ""
  46799. #. type: deftp
  46800. #: guix-git/doc/guix.texi:31579
  46801. msgid "Data type representing the configuration of PAM Mount."
  46802. msgstr ""
  46803. #. type: code{#1}
  46804. #: guix-git/doc/guix.texi:31583
  46805. #, no-wrap
  46806. msgid "rules"
  46807. msgstr ""
  46808. #. type: table
  46809. #: guix-git/doc/guix.texi:31586
  46810. msgid "The configuration rules that will be used to generate @file{/etc/security/pam_mount.conf.xml}."
  46811. msgstr ""
  46812. #. type: table
  46813. #: guix-git/doc/guix.texi:31590
  46814. 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:"
  46815. msgstr ""
  46816. #. type: lisp
  46817. #: guix-git/doc/guix.texi:31605
  46818. #, no-wrap
  46819. msgid ""
  46820. "`((debug (@@ (enable \"0\")))\n"
  46821. " (mntoptions (@@ (allow ,(string-join\n"
  46822. " '(\"nosuid\" \"nodev\" \"loop\"\n"
  46823. " \"encryption\" \"fsck\" \"nonempty\"\n"
  46824. " \"allow_root\" \"allow_other\")\n"
  46825. " \",\"))))\n"
  46826. " (mntoptions (@@ (require \"nosuid,nodev\")))\n"
  46827. " (logout (@@ (wait \"0\")\n"
  46828. " (hup \"0\")\n"
  46829. " (term \"no\")\n"
  46830. " (kill \"no\")))\n"
  46831. " (mkmountpoint (@@ (enable \"1\")\n"
  46832. " (remove \"true\"))))\n"
  46833. msgstr ""
  46834. #. type: table
  46835. #: guix-git/doc/guix.texi:31611
  46836. 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:"
  46837. msgstr ""
  46838. #. type: lisp
  46839. #: guix-git/doc/guix.texi:31636
  46840. #, no-wrap
  46841. msgid ""
  46842. "(define pam-mount-rules\n"
  46843. "`((debug (@@ (enable \"0\")))\n"
  46844. " (volume (@@ (user \"alice\")\n"
  46845. " (fstype \"crypt\")\n"
  46846. " (path \"/dev/sda2\")\n"
  46847. " (mountpoint \"/home/alice\")))\n"
  46848. " (volume (@@ (user \"bob\")\n"
  46849. " (fstype \"auto\")\n"
  46850. " (path \"/dev/sdb3\")\n"
  46851. " (mountpoint \"/home/bob/data\")\n"
  46852. " (options \"defaults,autodefrag,compress\")))\n"
  46853. " (mntoptions (@@ (allow ,(string-join\n"
  46854. " '(\"nosuid\" \"nodev\" \"loop\"\n"
  46855. " \"encryption\" \"fsck\" \"nonempty\"\n"
  46856. " \"allow_root\" \"allow_other\")\n"
  46857. " \",\"))))\n"
  46858. " (mntoptions (@@ (require \"nosuid,nodev\")))\n"
  46859. " (logout (@@ (wait \"0\")\n"
  46860. " (hup \"0\")\n"
  46861. " (term \"no\")\n"
  46862. " (kill \"no\")))\n"
  46863. " (mkmountpoint (@@ (enable \"1\")\n"
  46864. " (remove \"true\")))))\n"
  46865. "\n"
  46866. msgstr ""
  46867. #. type: lisp
  46868. #: guix-git/doc/guix.texi:31640
  46869. #, no-wrap
  46870. msgid ""
  46871. "(service pam-mount-service-type\n"
  46872. " (pam-mount-configuration\n"
  46873. " (rules pam-mount-rules)))\n"
  46874. msgstr ""
  46875. #. type: table
  46876. #: guix-git/doc/guix.texi:31644
  46877. 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}."
  46878. msgstr ""
  46879. #. type: subsubheading
  46880. #: guix-git/doc/guix.texi:31651
  46881. #, no-wrap
  46882. msgid "Guix Build Coordinator"
  46883. msgstr ""
  46884. #. type: Plain text
  46885. #: guix-git/doc/guix.texi:31657
  46886. 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."
  46887. msgstr ""
  46888. #. type: quotation
  46889. #: guix-git/doc/guix.texi:31662
  46890. msgid "This service is considered experimental. Configuration options may be changed in a backwards-incompatible manner, and not all features have been thorougly tested."
  46891. msgstr ""
  46892. #. type: Plain text
  46893. #: guix-git/doc/guix.texi:31669
  46894. 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."
  46895. msgstr ""
  46896. #. type: Plain text
  46897. #: guix-git/doc/guix.texi:31673
  46898. 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."
  46899. msgstr ""
  46900. #. type: defvar
  46901. #: guix-git/doc/guix.texi:31674
  46902. #, no-wrap
  46903. msgid "{Scheme Variable} guix-build-coordinator-service-type"
  46904. msgstr ""
  46905. #. type: defvar
  46906. #: guix-git/doc/guix.texi:31677
  46907. msgid "Service type for the Guix Build Coordinator. Its value must be a @code{guix-build-coordinator-configuration} object."
  46908. msgstr ""
  46909. #. type: deftp
  46910. #: guix-git/doc/guix.texi:31679
  46911. #, no-wrap
  46912. msgid "{Data Type} guix-build-coordinator-configuration"
  46913. msgstr ""
  46914. #. type: deftp
  46915. #: guix-git/doc/guix.texi:31681
  46916. msgid "Data type representing the configuration of the Guix Build Coordinator."
  46917. msgstr ""
  46918. #. type: item
  46919. #: guix-git/doc/guix.texi:31683 guix-git/doc/guix.texi:31727
  46920. #: guix-git/doc/guix.texi:31853
  46921. #, no-wrap
  46922. msgid "@code{package} (default: @code{guix-build-coordinator})"
  46923. msgstr ""
  46924. #. type: table
  46925. #: guix-git/doc/guix.texi:31685 guix-git/doc/guix.texi:31729
  46926. #: guix-git/doc/guix.texi:31855
  46927. msgid "The Guix Build Coordinator package to use."
  46928. msgstr ""
  46929. #. type: item
  46930. #: guix-git/doc/guix.texi:31686
  46931. #, no-wrap
  46932. msgid "@code{user} (default: @code{\"guix-build-coordinator\"})"
  46933. msgstr ""
  46934. #. type: table
  46935. #: guix-git/doc/guix.texi:31688 guix-git/doc/guix.texi:31732
  46936. #: guix-git/doc/guix.texi:31858 guix-git/doc/guix.texi:31904
  46937. msgid "The system user to run the service as."
  46938. msgstr ""
  46939. #. type: item
  46940. #: guix-git/doc/guix.texi:31689
  46941. #, no-wrap
  46942. msgid "@code{group} (default: @code{\"guix-build-coordinator\"})"
  46943. msgstr ""
  46944. #. type: table
  46945. #: guix-git/doc/guix.texi:31691 guix-git/doc/guix.texi:31907
  46946. msgid "The system group to run the service as."
  46947. msgstr ""
  46948. #. type: item
  46949. #: guix-git/doc/guix.texi:31692
  46950. #, no-wrap
  46951. msgid "@code{database-uri-string} (default: @code{\"sqlite:///var/lib/guix-build-coordinator/guix_build_coordinator.db\"})"
  46952. msgstr ""
  46953. #. type: table
  46954. #: guix-git/doc/guix.texi:31694
  46955. msgid "The URI to use for the database."
  46956. msgstr ""
  46957. #. type: item
  46958. #: guix-git/doc/guix.texi:31695
  46959. #, no-wrap
  46960. msgid "@code{agent-communication-uri} (default: @code{\"http://0.0.0.0:8745\"})"
  46961. msgstr ""
  46962. #. type: table
  46963. #: guix-git/doc/guix.texi:31697
  46964. msgid "The URI describing how to listen to requests from agent processes."
  46965. msgstr ""
  46966. #. type: item
  46967. #: guix-git/doc/guix.texi:31698
  46968. #, no-wrap
  46969. msgid "@code{client-communication-uri} (default: @code{\"http://127.0.0.1:8746\"})"
  46970. msgstr ""
  46971. #. type: table
  46972. #: guix-git/doc/guix.texi:31702
  46973. 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."
  46974. msgstr ""
  46975. #. type: item
  46976. #: guix-git/doc/guix.texi:31703
  46977. #, no-wrap
  46978. msgid "@code{allocation-strategy} (default: @code{#~basic-build-allocation-strategy})"
  46979. msgstr ""
  46980. #. type: table
  46981. #: guix-git/doc/guix.texi:31707
  46982. 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."
  46983. msgstr ""
  46984. #. type: item
  46985. #: guix-git/doc/guix.texi:31708
  46986. #, no-wrap
  46987. msgid "@code{hooks} (default: @var{'()})"
  46988. msgstr ""
  46989. #. type: table
  46990. #: guix-git/doc/guix.texi:31711
  46991. msgid "An association list of hooks. These provide a way to execute arbitrary code upon certain events, like a build result being processed."
  46992. msgstr ""
  46993. #. type: item
  46994. #: guix-git/doc/guix.texi:31712
  46995. #, no-wrap
  46996. msgid "@code{guile} (default: @code{guile-3.0-latest})"
  46997. msgstr ""
  46998. #. type: table
  46999. #: guix-git/doc/guix.texi:31714
  47000. msgid "The Guile package with which to run the Guix Build Coordinator."
  47001. msgstr ""
  47002. #. type: defvar
  47003. #: guix-git/doc/guix.texi:31718
  47004. #, no-wrap
  47005. msgid "{Scheme Variable} guix-build-coordinator-agent-service-type"
  47006. msgstr ""
  47007. #. type: defvar
  47008. #: guix-git/doc/guix.texi:31721
  47009. msgid "Service type for a Guix Build Coordinator agent. Its value must be a @code{guix-build-coordinator-agent-configuration} object."
  47010. msgstr ""
  47011. #. type: deftp
  47012. #: guix-git/doc/guix.texi:31723
  47013. #, no-wrap
  47014. msgid "{Data Type} guix-build-coordinator-agent-configuration"
  47015. msgstr ""
  47016. #. type: deftp
  47017. #: guix-git/doc/guix.texi:31725
  47018. msgid "Data type representing the configuration a Guix Build Coordinator agent."
  47019. msgstr ""
  47020. #. type: item
  47021. #: guix-git/doc/guix.texi:31730
  47022. #, no-wrap
  47023. msgid "@code{user} (default: @code{\"guix-build-coordinator-agent\"})"
  47024. msgstr ""
  47025. #. type: item
  47026. #: guix-git/doc/guix.texi:31733
  47027. #, no-wrap
  47028. msgid "@code{coordinator} (default: @code{\"http://localhost:8745\"})"
  47029. msgstr ""
  47030. #. type: table
  47031. #: guix-git/doc/guix.texi:31735 guix-git/doc/guix.texi:31861
  47032. msgid "The URI to use when connecting to the coordinator."
  47033. msgstr ""
  47034. #. type: code{#1}
  47035. #: guix-git/doc/guix.texi:31736
  47036. #, no-wrap
  47037. msgid "authentication"
  47038. msgstr ""
  47039. #. type: table
  47040. #: guix-git/doc/guix.texi:31739
  47041. msgid "Record describing how this agent should authenticate with the coordinator. Possible record types are described below."
  47042. msgstr ""
  47043. #. type: item
  47044. #: guix-git/doc/guix.texi:31740 guix-git/doc/guix.texi:31862
  47045. #, no-wrap
  47046. msgid "@code{systems} (default: @code{#f})"
  47047. msgstr ""
  47048. #. type: table
  47049. #: guix-git/doc/guix.texi:31743
  47050. 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."
  47051. msgstr ""
  47052. #. type: item
  47053. #: guix-git/doc/guix.texi:31744
  47054. #, no-wrap
  47055. msgid "@code{max-parallel-builds} (default: @code{1})"
  47056. msgstr ""
  47057. #. type: table
  47058. #: guix-git/doc/guix.texi:31746
  47059. msgid "The number of builds to perform in parallel."
  47060. msgstr ""
  47061. #. type: item
  47062. #: guix-git/doc/guix.texi:31747
  47063. #, no-wrap
  47064. msgid "@code{max-1min-load-average} (default: @code{#f})"
  47065. msgstr ""
  47066. #. type: table
  47067. #: guix-git/doc/guix.texi:31751
  47068. msgid "Load average value to look at when considering starting new builds, if the 1 minute load average exceeds this value, the agent will wait before starting new builds."
  47069. msgstr ""
  47070. #. type: table
  47071. #: guix-git/doc/guix.texi:31755
  47072. msgid "This will be unspecified if the value is @code{#f}, and the agent will use the number of cores reported by the system as the max 1 minute load average."
  47073. msgstr ""
  47074. #. type: item
  47075. #: guix-git/doc/guix.texi:31756
  47076. #, no-wrap
  47077. msgid "@code{derivation-substitute-urls} (default: @code{#f})"
  47078. msgstr ""
  47079. #. type: table
  47080. #: guix-git/doc/guix.texi:31759
  47081. msgid "URLs from which to attempt to fetch substitutes for derivations, if the derivations aren't already available."
  47082. msgstr ""
  47083. #. type: item
  47084. #: guix-git/doc/guix.texi:31760
  47085. #, no-wrap
  47086. msgid "@code{non-derivation-substitute-urls} (default: @code{#f})"
  47087. msgstr ""
  47088. #. type: table
  47089. #: guix-git/doc/guix.texi:31763
  47090. msgid "URLs from which to attempt to fetch substitutes for build inputs, if the input store items aren't already available."
  47091. msgstr ""
  47092. #. type: deftp
  47093. #: guix-git/doc/guix.texi:31767
  47094. #, no-wrap
  47095. msgid "{Data Type} guix-build-coordinator-agent-password-auth"
  47096. msgstr ""
  47097. #. type: deftp
  47098. #: guix-git/doc/guix.texi:31770
  47099. msgid "Data type representing an agent authenticating with a coordinator via a UUID and password."
  47100. msgstr ""
  47101. #. type: table
  47102. #: guix-git/doc/guix.texi:31776 guix-git/doc/guix.texi:31792
  47103. 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."
  47104. msgstr ""
  47105. #. type: table
  47106. #: guix-git/doc/guix.texi:31779
  47107. msgid "The password to use when connecting to the coordinator."
  47108. msgstr ""
  47109. #. type: deftp
  47110. #: guix-git/doc/guix.texi:31783
  47111. #, no-wrap
  47112. msgid "{Data Type} guix-build-coordinator-agent-password-file-auth"
  47113. msgstr ""
  47114. #. type: deftp
  47115. #: guix-git/doc/guix.texi:31786
  47116. msgid "Data type representing an agent authenticating with a coordinator via a UUID and password read from a file."
  47117. msgstr ""
  47118. #. type: code{#1}
  47119. #: guix-git/doc/guix.texi:31793
  47120. #, no-wrap
  47121. msgid "password-file"
  47122. msgstr ""
  47123. #. type: table
  47124. #: guix-git/doc/guix.texi:31796
  47125. msgid "A file containing the password to use when connecting to the coordinator."
  47126. msgstr ""
  47127. #. type: deftp
  47128. #: guix-git/doc/guix.texi:31800
  47129. #, no-wrap
  47130. msgid "{Data Type} guix-build-coordinator-agent-dynamic-auth"
  47131. msgstr ""
  47132. #. type: deftp
  47133. #: guix-git/doc/guix.texi:31803
  47134. msgid "Data type representing an agent authenticating with a coordinator via a dynamic auth token and agent name."
  47135. msgstr ""
  47136. #. type: code{#1}
  47137. #: guix-git/doc/guix.texi:31805 guix-git/doc/guix.texi:31822
  47138. #, no-wrap
  47139. msgid "agent-name"
  47140. msgstr ""
  47141. #. type: table
  47142. #: guix-git/doc/guix.texi:31809 guix-git/doc/guix.texi:31826
  47143. 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."
  47144. msgstr ""
  47145. #. type: code{#1}
  47146. #: guix-git/doc/guix.texi:31810
  47147. #, no-wrap
  47148. msgid "token"
  47149. msgstr ""
  47150. #. type: table
  47151. #: guix-git/doc/guix.texi:31813
  47152. msgid "Dynamic auth token, this is created and stored in the coordinator database, and is used by the agent to authenticate."
  47153. msgstr ""
  47154. #. type: deftp
  47155. #: guix-git/doc/guix.texi:31817
  47156. #, no-wrap
  47157. msgid "{Data Type} guix-build-coordinator-agent-dynamic-auth-with-file"
  47158. msgstr ""
  47159. #. type: deftp
  47160. #: guix-git/doc/guix.texi:31820
  47161. msgid "Data type representing an agent authenticating with a coordinator via a dynamic auth token read from a file and agent name."
  47162. msgstr ""
  47163. #. type: code{#1}
  47164. #: guix-git/doc/guix.texi:31827
  47165. #, no-wrap
  47166. msgid "token-file"
  47167. msgstr ""
  47168. #. type: table
  47169. #: guix-git/doc/guix.texi:31830
  47170. msgid "File containing the dynamic auth token, this is created and stored in the coordinator database, and is used by the agent to authenticate."
  47171. msgstr ""
  47172. #. type: Plain text
  47173. #: guix-git/doc/guix.texi:31840
  47174. 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."
  47175. msgstr ""
  47176. #. type: defvar
  47177. #: guix-git/doc/guix.texi:31841
  47178. #, no-wrap
  47179. msgid "{Scheme Variable} guix-build-coordinator-queue-builds-service-type"
  47180. msgstr ""
  47181. #. type: defvar
  47182. #: guix-git/doc/guix.texi:31846
  47183. 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."
  47184. msgstr ""
  47185. #. type: deftp
  47186. #: guix-git/doc/guix.texi:31848
  47187. #, no-wrap
  47188. msgid "{Data Type} guix-build-coordinator-queue-builds-configuration"
  47189. msgstr ""
  47190. #. type: deftp
  47191. #: guix-git/doc/guix.texi:31851
  47192. msgid "Data type representing the options to the queue builds from guix data service script."
  47193. msgstr ""
  47194. #. type: item
  47195. #: guix-git/doc/guix.texi:31856
  47196. #, no-wrap
  47197. msgid "@code{user} (default: @code{\"guix-build-coordinator-queue-builds\"})"
  47198. msgstr ""
  47199. #. type: item
  47200. #: guix-git/doc/guix.texi:31859
  47201. #, no-wrap
  47202. msgid "@code{coordinator} (default: @code{\"http://localhost:8746\"})"
  47203. msgstr ""
  47204. #. type: table
  47205. #: guix-git/doc/guix.texi:31864
  47206. msgid "The systems for which to fetch derivations to build."
  47207. msgstr ""
  47208. #. type: item
  47209. #: guix-git/doc/guix.texi:31865
  47210. #, no-wrap
  47211. msgid "@code{systems-and-targets} (default: @code{#f})"
  47212. msgstr ""
  47213. #. type: table
  47214. #: guix-git/doc/guix.texi:31868
  47215. msgid "An association list of system and target pairs for which to fetch derivations to build."
  47216. msgstr ""
  47217. #. type: item
  47218. #: guix-git/doc/guix.texi:31869
  47219. #, no-wrap
  47220. msgid "@code{guix-data-service} (default: @code{\"https://data.guix.gnu.org\"})"
  47221. msgstr ""
  47222. #. type: table
  47223. #: guix-git/doc/guix.texi:31872
  47224. msgid "The Guix Data Service instance from which to query to find out about derivations to build."
  47225. msgstr ""
  47226. #. type: item
  47227. #: guix-git/doc/guix.texi:31873
  47228. #, no-wrap
  47229. msgid "@code{processed-commits-file} (default: @code{\"/var/cache/guix-build-coordinator-queue-builds/processed-commits\"})"
  47230. msgstr ""
  47231. #. type: table
  47232. #: guix-git/doc/guix.texi:31876
  47233. msgid "A file to record which commits have been processed, to avoid needlessly processing them again if the service is restarted."
  47234. msgstr ""
  47235. #. type: subsubheading
  47236. #: guix-git/doc/guix.texi:31880
  47237. #, no-wrap
  47238. msgid "Guix Data Service"
  47239. msgstr ""
  47240. #. type: Plain text
  47241. #: guix-git/doc/guix.texi:31884
  47242. 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."
  47243. msgstr ""
  47244. #. type: Plain text
  47245. #: guix-git/doc/guix.texi:31887
  47246. msgid "The data is stored in a PostgreSQL database, and available through a web interface."
  47247. msgstr ""
  47248. #. type: defvar
  47249. #: guix-git/doc/guix.texi:31888
  47250. #, no-wrap
  47251. msgid "{Scheme Variable} guix-data-service-type"
  47252. msgstr ""
  47253. #. type: defvar
  47254. #: guix-git/doc/guix.texi:31893
  47255. 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."
  47256. msgstr ""
  47257. #. type: deftp
  47258. #: guix-git/doc/guix.texi:31895
  47259. #, no-wrap
  47260. msgid "{Data Type} guix-data-service-configuration"
  47261. msgstr ""
  47262. #. type: deftp
  47263. #: guix-git/doc/guix.texi:31897
  47264. msgid "Data type representing the configuration of the Guix Data Service."
  47265. msgstr ""
  47266. #. type: item
  47267. #: guix-git/doc/guix.texi:31899
  47268. #, no-wrap
  47269. msgid "@code{package} (default: @code{guix-data-service})"
  47270. msgstr ""
  47271. #. type: table
  47272. #: guix-git/doc/guix.texi:31901
  47273. msgid "The Guix Data Service package to use."
  47274. msgstr ""
  47275. #. type: item
  47276. #: guix-git/doc/guix.texi:31902
  47277. #, no-wrap
  47278. msgid "@code{user} (default: @code{\"guix-data-service\"})"
  47279. msgstr ""
  47280. #. type: item
  47281. #: guix-git/doc/guix.texi:31905
  47282. #, no-wrap
  47283. msgid "@code{group} (default: @code{\"guix-data-service\"})"
  47284. msgstr ""
  47285. #. type: item
  47286. #: guix-git/doc/guix.texi:31908
  47287. #, no-wrap
  47288. msgid "@code{port} (default: @code{8765})"
  47289. msgstr ""
  47290. #. type: table
  47291. #: guix-git/doc/guix.texi:31910
  47292. msgid "The port to bind the web service to."
  47293. msgstr ""
  47294. #. type: item
  47295. #: guix-git/doc/guix.texi:31911
  47296. #, no-wrap
  47297. msgid "@code{host} (default: @code{\"127.0.0.1\"})"
  47298. msgstr ""
  47299. #. type: table
  47300. #: guix-git/doc/guix.texi:31913
  47301. msgid "The host to bind the web service to."
  47302. msgstr ""
  47303. #. type: item
  47304. #: guix-git/doc/guix.texi:31914
  47305. #, no-wrap
  47306. msgid "@code{getmail-idle-mailboxes} (default: @code{#f})"
  47307. msgstr ""
  47308. #. type: table
  47309. #: guix-git/doc/guix.texi:31917
  47310. msgid "If set, this is the list of mailboxes that the getmail service will be configured to listen to."
  47311. msgstr ""
  47312. #. type: item
  47313. #: guix-git/doc/guix.texi:31918
  47314. #, no-wrap
  47315. msgid "@code{commits-getmail-retriever-configuration} (default: @code{#f})"
  47316. msgstr ""
  47317. #. type: table
  47318. #: guix-git/doc/guix.texi:31922
  47319. 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."
  47320. msgstr ""
  47321. #. type: item
  47322. #: guix-git/doc/guix.texi:31923
  47323. #, no-wrap
  47324. msgid "@code{extra-options} (default: @var{'()})"
  47325. msgstr ""
  47326. #. type: table
  47327. #: guix-git/doc/guix.texi:31925
  47328. msgid "Extra command line options for @code{guix-data-service}."
  47329. msgstr ""
  47330. #. type: item
  47331. #: guix-git/doc/guix.texi:31926
  47332. #, no-wrap
  47333. msgid "@code{extra-process-jobs-options} (default: @var{'()})"
  47334. msgstr ""
  47335. #. type: table
  47336. #: guix-git/doc/guix.texi:31928
  47337. msgid "Extra command line options for @code{guix-data-service-process-jobs}."
  47338. msgstr ""
  47339. #. type: cindex
  47340. #: guix-git/doc/guix.texi:31935
  47341. #, no-wrap
  47342. msgid "oom"
  47343. msgstr ""
  47344. #. type: cindex
  47345. #: guix-git/doc/guix.texi:31936
  47346. #, no-wrap
  47347. msgid "out of memory killer"
  47348. msgstr ""
  47349. #. type: cindex
  47350. #: guix-git/doc/guix.texi:31937
  47351. #, no-wrap
  47352. msgid "earlyoom"
  47353. msgstr ""
  47354. #. type: cindex
  47355. #: guix-git/doc/guix.texi:31938
  47356. #, no-wrap
  47357. msgid "early out of memory daemon"
  47358. msgstr ""
  47359. #. type: subsubheading
  47360. #: guix-git/doc/guix.texi:31939
  47361. #, no-wrap
  47362. msgid "Early OOM Service"
  47363. msgstr ""
  47364. #. type: Plain text
  47365. #: guix-git/doc/guix.texi:31946
  47366. 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."
  47367. msgstr ""
  47368. #. type: deffn
  47369. #: guix-git/doc/guix.texi:31947
  47370. #, no-wrap
  47371. msgid "{Scheme Variable} earlyoom-service-type"
  47372. msgstr ""
  47373. #. type: deffn
  47374. #: guix-git/doc/guix.texi:31952
  47375. 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:"
  47376. msgstr ""
  47377. #. type: lisp
  47378. #: guix-git/doc/guix.texi:31955
  47379. #, no-wrap
  47380. msgid "(service earlyoom-service-type)\n"
  47381. msgstr ""
  47382. #. type: deftp
  47383. #: guix-git/doc/guix.texi:31958
  47384. #, no-wrap
  47385. msgid "{Data Type} earlyoom-configuration"
  47386. msgstr ""
  47387. #. type: deftp
  47388. #: guix-git/doc/guix.texi:31960
  47389. msgid "This is the configuration record for the @code{earlyoom-service-type}."
  47390. msgstr ""
  47391. #. type: item
  47392. #: guix-git/doc/guix.texi:31962
  47393. #, no-wrap
  47394. msgid "@code{earlyoom} (default: @var{earlyoom})"
  47395. msgstr ""
  47396. #. type: table
  47397. #: guix-git/doc/guix.texi:31964
  47398. msgid "The Earlyoom package to use."
  47399. msgstr ""
  47400. #. type: item
  47401. #: guix-git/doc/guix.texi:31965
  47402. #, no-wrap
  47403. msgid "@code{minimum-available-memory} (default: @code{10})"
  47404. msgstr ""
  47405. #. type: table
  47406. #: guix-git/doc/guix.texi:31967
  47407. msgid "The threshold for the minimum @emph{available} memory, in percentages."
  47408. msgstr ""
  47409. #. type: item
  47410. #: guix-git/doc/guix.texi:31968
  47411. #, no-wrap
  47412. msgid "@code{minimum-free-swap} (default: @code{10})"
  47413. msgstr ""
  47414. #. type: table
  47415. #: guix-git/doc/guix.texi:31970
  47416. msgid "The threshold for the minimum free swap memory, in percentages."
  47417. msgstr ""
  47418. #. type: item
  47419. #: guix-git/doc/guix.texi:31971
  47420. #, no-wrap
  47421. msgid "@code{prefer-regexp} (default: @code{#f})"
  47422. msgstr ""
  47423. #. type: table
  47424. #: guix-git/doc/guix.texi:31974
  47425. msgid "A regular expression (as a string) to match the names of the processes that should be preferably killed."
  47426. msgstr ""
  47427. #. type: item
  47428. #: guix-git/doc/guix.texi:31975
  47429. #, no-wrap
  47430. msgid "@code{avoid-regexp} (default: @code{#f})"
  47431. msgstr ""
  47432. #. type: table
  47433. #: guix-git/doc/guix.texi:31978
  47434. msgid "A regular expression (as a string) to match the names of the processes that should @emph{not} be killed."
  47435. msgstr ""
  47436. #. type: item
  47437. #: guix-git/doc/guix.texi:31979
  47438. #, no-wrap
  47439. msgid "@code{memory-report-interval} (default: @code{0})"
  47440. msgstr ""
  47441. #. type: table
  47442. #: guix-git/doc/guix.texi:31982
  47443. msgid "The interval in seconds at which a memory report is printed. It is disabled by default."
  47444. msgstr ""
  47445. #. type: item
  47446. #: guix-git/doc/guix.texi:31983
  47447. #, no-wrap
  47448. msgid "@code{ignore-positive-oom-score-adj?} (default: @code{#f})"
  47449. msgstr ""
  47450. #. type: table
  47451. #: guix-git/doc/guix.texi:31986
  47452. msgid "A boolean indicating whether the positive adjustments set in @file{/proc/*/oom_score_adj} should be ignored."
  47453. msgstr ""
  47454. #. type: item
  47455. #: guix-git/doc/guix.texi:31987
  47456. #, no-wrap
  47457. msgid "@code{show-debug-messages?} (default: @code{#f})"
  47458. msgstr ""
  47459. #. type: table
  47460. #: guix-git/doc/guix.texi:31990
  47461. msgid "A boolean indicating whether debug messages should be printed. The logs are saved at @file{/var/log/earlyoom.log}."
  47462. msgstr ""
  47463. #. type: item
  47464. #: guix-git/doc/guix.texi:31991
  47465. #, no-wrap
  47466. msgid "@code{send-notification-command} (default: @code{#f})"
  47467. msgstr ""
  47468. #. type: table
  47469. #: guix-git/doc/guix.texi:31994
  47470. msgid "This can be used to provide a custom command used for sending notifications."
  47471. msgstr ""
  47472. #. type: cindex
  47473. #: guix-git/doc/guix.texi:31997
  47474. #, no-wrap
  47475. msgid "modprobe"
  47476. msgstr ""
  47477. #. type: cindex
  47478. #: guix-git/doc/guix.texi:31998
  47479. #, no-wrap
  47480. msgid "kernel module loader"
  47481. msgstr ""
  47482. #. type: subsubheading
  47483. #: guix-git/doc/guix.texi:31999
  47484. #, no-wrap
  47485. msgid "Kernel Module Loader Service"
  47486. msgstr ""
  47487. #. type: Plain text
  47488. #: guix-git/doc/guix.texi:32005
  47489. msgid "The kernel module loader service allows one to load loadable kernel modules at boot. This is especially useful for modules that don't autoload and need to be manually loaded, as is the case with @code{ddcci}."
  47490. msgstr ""
  47491. #. type: deffn
  47492. #: guix-git/doc/guix.texi:32006
  47493. #, no-wrap
  47494. msgid "{Scheme Variable} kernel-module-loader-service-type"
  47495. msgstr ""
  47496. #. type: deffn
  47497. #: guix-git/doc/guix.texi:32012
  47498. 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:"
  47499. msgstr ""
  47500. #. type: lisp
  47501. #: guix-git/doc/guix.texi:32017
  47502. #, no-wrap
  47503. msgid ""
  47504. "(use-modules (gnu) (gnu services))\n"
  47505. "(use-package-modules linux)\n"
  47506. "(use-service-modules linux)\n"
  47507. "\n"
  47508. msgstr ""
  47509. #. type: lisp
  47510. #: guix-git/doc/guix.texi:32021
  47511. #, no-wrap
  47512. msgid ""
  47513. "(define ddcci-config\n"
  47514. " (plain-file \"ddcci.conf\"\n"
  47515. " \"options ddcci dyndbg delay=120\"))\n"
  47516. "\n"
  47517. msgstr ""
  47518. #. type: lisp
  47519. #: guix-git/doc/guix.texi:32031
  47520. #, no-wrap
  47521. msgid ""
  47522. "(operating-system\n"
  47523. " ...\n"
  47524. " (services (cons* (service kernel-module-loader-service-type\n"
  47525. " '(\"ddcci\" \"ddcci_backlight\"))\n"
  47526. " (simple-service 'ddcci-config etc-service-type\n"
  47527. " (list `(\"modprobe.d/ddcci.conf\"\n"
  47528. " ,ddcci-config)))\n"
  47529. " %base-services))\n"
  47530. " (kernel-loadable-modules (list ddcci-driver-linux)))\n"
  47531. msgstr ""
  47532. #. type: cindex
  47533. #: guix-git/doc/guix.texi:32034
  47534. #, no-wrap
  47535. msgid "rasdaemon"
  47536. msgstr ""
  47537. #. type: cindex
  47538. #: guix-git/doc/guix.texi:32035
  47539. #, no-wrap
  47540. msgid "Platform Reliability, Availability and Serviceability daemon"
  47541. msgstr ""
  47542. #. type: subsubheading
  47543. #: guix-git/doc/guix.texi:32036
  47544. #, no-wrap
  47545. msgid "Rasdaemon Service"
  47546. msgstr ""
  47547. #. type: Plain text
  47548. #: guix-git/doc/guix.texi:32041
  47549. msgid "The Rasdaemon service provides a daemon which monitors platform @acronym{RAS, Reliability@comma{} Availability@comma{} and Serviceability} reports from Linux kernel trace events, logging them to syslogd."
  47550. msgstr ""
  47551. #. type: Plain text
  47552. #: guix-git/doc/guix.texi:32044
  47553. msgid "Reliability, Availability and Serviceability is a concept used on servers meant to measure their robustness."
  47554. msgstr ""
  47555. #. type: Plain text
  47556. #: guix-git/doc/guix.texi:32047
  47557. msgid "@strong{Relability} is the probability that a system will produce correct outputs:"
  47558. msgstr ""
  47559. #. type: item
  47560. #: guix-git/doc/guix.texi:32049
  47561. #, no-wrap
  47562. msgid "Generally measured as Mean Time Between Failures (MTBF), and"
  47563. msgstr ""
  47564. #. type: item
  47565. #: guix-git/doc/guix.texi:32050
  47566. #, no-wrap
  47567. msgid "Enhanced by features that help to avoid, detect and repair hardware"
  47568. msgstr ""
  47569. #. type: itemize
  47570. #: guix-git/doc/guix.texi:32052
  47571. msgid "faults"
  47572. msgstr ""
  47573. #. type: Plain text
  47574. #: guix-git/doc/guix.texi:32056
  47575. msgid "@strong{Availability} is the probability that a system is operational at a given time:"
  47576. msgstr ""
  47577. #. type: item
  47578. #: guix-git/doc/guix.texi:32058
  47579. #, no-wrap
  47580. msgid "Generally measured as a percentage of downtime per a period of time, and"
  47581. msgstr ""
  47582. #. type: item
  47583. #: guix-git/doc/guix.texi:32059
  47584. #, no-wrap
  47585. msgid "Often uses mechanisms to detect and correct hardware faults in runtime."
  47586. msgstr ""
  47587. #. type: Plain text
  47588. #: guix-git/doc/guix.texi:32064
  47589. msgid "@strong{Serviceability} is the simplicity and speed with which a system can be repaired or maintained:"
  47590. msgstr ""
  47591. #. type: item
  47592. #: guix-git/doc/guix.texi:32066
  47593. #, no-wrap
  47594. msgid "Generally measured on Mean Time Between Repair (MTBR)."
  47595. msgstr ""
  47596. #. type: Plain text
  47597. #: guix-git/doc/guix.texi:32071
  47598. msgid "Among the monitoring measures, the most usual ones include:"
  47599. msgstr ""
  47600. #. type: item
  47601. #: guix-git/doc/guix.texi:32073
  47602. #, no-wrap
  47603. msgid "CPU – detect errors at instruction execution and at L1/L2/L3 caches;"
  47604. msgstr ""
  47605. #. type: item
  47606. #: guix-git/doc/guix.texi:32074
  47607. #, no-wrap
  47608. msgid "Memory – add error correction logic (ECC) to detect and correct errors;"
  47609. msgstr ""
  47610. #. type: item
  47611. #: guix-git/doc/guix.texi:32075
  47612. #, no-wrap
  47613. msgid "I/O – add CRC checksums for transferred data;"
  47614. msgstr ""
  47615. #. type: item
  47616. #: guix-git/doc/guix.texi:32076
  47617. #, no-wrap
  47618. msgid "Storage – RAID, journal file systems, checksums, Self-Monitoring,"
  47619. msgstr ""
  47620. #. type: itemize
  47621. #: guix-git/doc/guix.texi:32078
  47622. msgid "Analysis and Reporting Technology (SMART)."
  47623. msgstr ""
  47624. #. type: Plain text
  47625. #: guix-git/doc/guix.texi:32084
  47626. msgid "By monitoring the number of occurrences of error detections, it is possible to identify if the probability of hardware errors is increasing, and, on such case, do a preventive maintenance to replace a degraded component while those errors are correctable."
  47627. msgstr ""
  47628. #. type: Plain text
  47629. #: guix-git/doc/guix.texi:32088
  47630. msgid "For detailed information about the types of error events gathered and how to make sense of them, see the kernel administrator's guide at @url{https://www.kernel.org/doc/html/latest/admin-guide/ras.html}."
  47631. msgstr ""
  47632. #. type: defvr
  47633. #: guix-git/doc/guix.texi:32089
  47634. #, no-wrap
  47635. msgid "{Scheme Variable} rasdaemon-service-type"
  47636. msgstr ""
  47637. #. type: defvr
  47638. #: guix-git/doc/guix.texi:32092
  47639. msgid "Service type for the @command{rasdaemon} service. It accepts a @code{rasdaemon-configuration} object. Instantiating like"
  47640. msgstr ""
  47641. #. type: lisp
  47642. #: guix-git/doc/guix.texi:32095
  47643. #, no-wrap
  47644. msgid "(service rasdaemon-service-type)\n"
  47645. msgstr ""
  47646. #. type: defvr
  47647. #: guix-git/doc/guix.texi:32099
  47648. msgid "will load with a default configuration, which monitors all events and logs to syslogd."
  47649. msgstr ""
  47650. #. type: deftp
  47651. #: guix-git/doc/guix.texi:32101
  47652. #, no-wrap
  47653. msgid "{Data Type} rasdaemon-configuration"
  47654. msgstr ""
  47655. #. type: deftp
  47656. #: guix-git/doc/guix.texi:32103
  47657. msgid "The data type representing the configuration of @command{rasdaemon}."
  47658. msgstr ""
  47659. #. type: item
  47660. #: guix-git/doc/guix.texi:32105
  47661. #, no-wrap
  47662. msgid "@code{record?} (default: @code{#f})"
  47663. msgstr ""
  47664. #. type: table
  47665. #: guix-git/doc/guix.texi:32110
  47666. msgid "A boolean indicating whether to record the events in an SQLite database. This provides a more structured access to the information contained in the log file. The database location is hard-coded to @file{/var/lib/rasdaemon/ras-mc_event.db}."
  47667. msgstr ""
  47668. #. type: cindex
  47669. #: guix-git/doc/guix.texi:32114
  47670. #, no-wrap
  47671. msgid "zram"
  47672. msgstr ""
  47673. #. type: cindex
  47674. #: guix-git/doc/guix.texi:32115
  47675. #, no-wrap
  47676. msgid "compressed swap"
  47677. msgstr ""
  47678. #. type: cindex
  47679. #: guix-git/doc/guix.texi:32116
  47680. #, no-wrap
  47681. msgid "Compressed RAM-based block devices"
  47682. msgstr ""
  47683. #. type: subsubheading
  47684. #: guix-git/doc/guix.texi:32117
  47685. #, no-wrap
  47686. msgid "Zram Device Service"
  47687. msgstr ""
  47688. #. type: Plain text
  47689. #: guix-git/doc/guix.texi:32123
  47690. 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."
  47691. msgstr ""
  47692. #. type: deffn
  47693. #: guix-git/doc/guix.texi:32124
  47694. #, no-wrap
  47695. msgid "{Scheme Variable} zram-device-service-type"
  47696. msgstr ""
  47697. #. type: deffn
  47698. #: guix-git/doc/guix.texi:32128
  47699. 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."
  47700. msgstr ""
  47701. #. type: deftp
  47702. #: guix-git/doc/guix.texi:32129
  47703. #, no-wrap
  47704. msgid "{Data Type} zram-device-configuration"
  47705. msgstr ""
  47706. #. type: deftp
  47707. #: guix-git/doc/guix.texi:32132
  47708. msgid "This is the data type representing the configuration for the zram-device service."
  47709. msgstr ""
  47710. #. type: item
  47711. #: guix-git/doc/guix.texi:32134
  47712. #, no-wrap
  47713. msgid "@code{size} (default @code{\"1G\"})"
  47714. msgstr ""
  47715. #. type: table
  47716. #: guix-git/doc/guix.texi:32138
  47717. 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}."
  47718. msgstr ""
  47719. #. type: item
  47720. #: guix-git/doc/guix.texi:32138
  47721. #, no-wrap
  47722. msgid "@code{compression-algorithm} (default @code{'lzo})"
  47723. msgstr ""
  47724. #. type: table
  47725. #: guix-git/doc/guix.texi:32142
  47726. 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}."
  47727. msgstr ""
  47728. #. type: item
  47729. #: guix-git/doc/guix.texi:32142
  47730. #, no-wrap
  47731. msgid "@code{memory-limit} (default @code{0})"
  47732. msgstr ""
  47733. #. type: table
  47734. #: guix-git/doc/guix.texi:32149
  47735. 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\"}."
  47736. msgstr ""
  47737. #. type: item
  47738. #: guix-git/doc/guix.texi:32149
  47739. #, no-wrap
  47740. msgid "@code{priority} (default @code{-1})"
  47741. msgstr ""
  47742. #. type: table
  47743. #: guix-git/doc/guix.texi:32154
  47744. 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."
  47745. msgstr ""
  47746. #. type: defvr
  47747. #: guix-git/doc/guix.texi:32162
  47748. #, no-wrap
  47749. msgid "{Scheme Variable} hurd-console-service-type"
  47750. msgstr ""
  47751. #. type: defvr
  47752. #: guix-git/doc/guix.texi:32164
  47753. msgid "This service starts the fancy @code{VGA} console client on the Hurd."
  47754. msgstr ""
  47755. #. type: defvr
  47756. #: guix-git/doc/guix.texi:32166
  47757. msgid "The service's value is a @code{hurd-console-configuration} record."
  47758. msgstr ""
  47759. #. type: deftp
  47760. #: guix-git/doc/guix.texi:32168
  47761. #, no-wrap
  47762. msgid "{Data Type} hurd-console-configuration"
  47763. msgstr ""
  47764. #. type: deftp
  47765. #: guix-git/doc/guix.texi:32171
  47766. msgid "This is the data type representing the configuration for the hurd-console-service."
  47767. msgstr ""
  47768. #. type: item
  47769. #: guix-git/doc/guix.texi:32173 guix-git/doc/guix.texi:32189
  47770. #, no-wrap
  47771. msgid "@code{hurd} (default: @var{hurd})"
  47772. msgstr ""
  47773. #. type: table
  47774. #: guix-git/doc/guix.texi:32175 guix-git/doc/guix.texi:32191
  47775. msgid "The Hurd package to use."
  47776. msgstr ""
  47777. #. type: defvr
  47778. #: guix-git/doc/guix.texi:32178
  47779. #, no-wrap
  47780. msgid "{Scheme Variable} hurd-getty-service-type"
  47781. msgstr ""
  47782. #. type: defvr
  47783. #: guix-git/doc/guix.texi:32180
  47784. msgid "This service starts a tty using the Hurd @code{getty} program."
  47785. msgstr ""
  47786. #. type: defvr
  47787. #: guix-git/doc/guix.texi:32182
  47788. msgid "The service's value is a @code{hurd-getty-configuration} record."
  47789. msgstr ""
  47790. #. type: deftp
  47791. #: guix-git/doc/guix.texi:32184
  47792. #, no-wrap
  47793. msgid "{Data Type} hurd-getty-configuration"
  47794. msgstr ""
  47795. #. type: deftp
  47796. #: guix-git/doc/guix.texi:32187
  47797. msgid "This is the data type representing the configuration for the hurd-getty-service."
  47798. msgstr ""
  47799. #. type: table
  47800. #: guix-git/doc/guix.texi:32194
  47801. msgid "The name of the console this Getty runs on---e.g., @code{\"tty1\"}."
  47802. msgstr ""
  47803. #. type: item
  47804. #: guix-git/doc/guix.texi:32195
  47805. #, no-wrap
  47806. msgid "@code{baud-rate} (default: @code{38400})"
  47807. msgstr ""
  47808. #. type: table
  47809. #: guix-git/doc/guix.texi:32197
  47810. msgid "An integer specifying the baud rate of the tty."
  47811. msgstr ""
  47812. #. type: cindex
  47813. #: guix-git/doc/guix.texi:32204
  47814. #, no-wrap
  47815. msgid "fingerprint"
  47816. msgstr ""
  47817. #. type: subsubheading
  47818. #: guix-git/doc/guix.texi:32205
  47819. #, no-wrap
  47820. msgid "Fingerprint Service"
  47821. msgstr ""
  47822. #. type: Plain text
  47823. #: guix-git/doc/guix.texi:32209
  47824. msgid "The @code{(gnu services authentication)} module provides a DBus service to read and identify fingerprints via a fingerprint sensor."
  47825. msgstr ""
  47826. #. type: defvr
  47827. #: guix-git/doc/guix.texi:32210
  47828. #, no-wrap
  47829. msgid "{Scheme Variable} fprintd-service-type"
  47830. msgstr ""
  47831. #. type: defvr
  47832. #: guix-git/doc/guix.texi:32213
  47833. msgid "The service type for @command{fprintd}, which provides the fingerprint reading capability."
  47834. msgstr ""
  47835. #. type: lisp
  47836. #: guix-git/doc/guix.texi:32216
  47837. #, no-wrap
  47838. msgid "(service fprintd-service-type)\n"
  47839. msgstr ""
  47840. #. type: cindex
  47841. #: guix-git/doc/guix.texi:32219
  47842. #, no-wrap
  47843. msgid "sysctl"
  47844. msgstr ""
  47845. #. type: subsubheading
  47846. #: guix-git/doc/guix.texi:32220
  47847. #, no-wrap
  47848. msgid "System Control Service"
  47849. msgstr ""
  47850. #. type: Plain text
  47851. #: guix-git/doc/guix.texi:32224
  47852. msgid "The @code{(gnu services sysctl)} provides a service to configure kernel parameters at boot."
  47853. msgstr ""
  47854. #. type: defvr
  47855. #: guix-git/doc/guix.texi:32225
  47856. #, no-wrap
  47857. msgid "{Scheme Variable} sysctl-service-type"
  47858. msgstr ""
  47859. #. type: defvr
  47860. #: guix-git/doc/guix.texi:32229
  47861. msgid "The service type for @command{sysctl}, which modifies kernel parameters under @file{/proc/sys/}. To enable IPv4 forwarding, it can be instantiated as:"
  47862. msgstr ""
  47863. #. type: lisp
  47864. #: guix-git/doc/guix.texi:32234
  47865. #, no-wrap
  47866. msgid ""
  47867. "(service sysctl-service-type\n"
  47868. " (sysctl-configuration\n"
  47869. " (settings '((\"net.ipv4.ip_forward\" . \"1\")))))\n"
  47870. msgstr ""
  47871. #. type: defvr
  47872. #: guix-git/doc/guix.texi:32241
  47873. 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}})."
  47874. msgstr ""
  47875. #. type: lisp
  47876. #: guix-git/doc/guix.texi:32248
  47877. #, no-wrap
  47878. msgid ""
  47879. "(modify-services %base-services\n"
  47880. " (sysctl-service-type config =>\n"
  47881. " (sysctl-configuration\n"
  47882. " (settings (append '((\"net.ipv4.ip_forward\" . \"1\"))\n"
  47883. " %default-sysctl-settings)))))\n"
  47884. msgstr ""
  47885. #. type: deftp
  47886. #: guix-git/doc/guix.texi:32252
  47887. #, no-wrap
  47888. msgid "{Data Type} sysctl-configuration"
  47889. msgstr ""
  47890. #. type: deftp
  47891. #: guix-git/doc/guix.texi:32254
  47892. msgid "The data type representing the configuration of @command{sysctl}."
  47893. msgstr ""
  47894. #. type: item
  47895. #: guix-git/doc/guix.texi:32256
  47896. #, no-wrap
  47897. msgid "@code{sysctl} (default: @code{(file-append procps \"/sbin/sysctl\"})"
  47898. msgstr ""
  47899. #. type: table
  47900. #: guix-git/doc/guix.texi:32258
  47901. msgid "The @command{sysctl} executable to use."
  47902. msgstr ""
  47903. #. type: item
  47904. #: guix-git/doc/guix.texi:32259
  47905. #, no-wrap
  47906. msgid "@code{settings} (default: @code{%default-sysctl-settings})"
  47907. msgstr ""
  47908. #. type: table
  47909. #: guix-git/doc/guix.texi:32261
  47910. msgid "An association list specifies kernel parameters and their values."
  47911. msgstr ""
  47912. #. type: defvr
  47913. #: guix-git/doc/guix.texi:32264
  47914. #, no-wrap
  47915. msgid "{Scheme Variable} %default-sysctl-settings"
  47916. msgstr ""
  47917. #. type: defvr
  47918. #: guix-git/doc/guix.texi:32267
  47919. msgid "An association list specifying the default @command{sysctl} parameters on Guix System."
  47920. msgstr ""
  47921. #. type: cindex
  47922. #: guix-git/doc/guix.texi:32269
  47923. #, no-wrap
  47924. msgid "pcscd"
  47925. msgstr ""
  47926. #. type: subsubheading
  47927. #: guix-git/doc/guix.texi:32270
  47928. #, no-wrap
  47929. msgid "PC/SC Smart Card Daemon Service"
  47930. msgstr ""
  47931. #. type: Plain text
  47932. #: guix-git/doc/guix.texi:32277
  47933. 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."
  47934. msgstr ""
  47935. #. type: defvr
  47936. #: guix-git/doc/guix.texi:32278
  47937. #, no-wrap
  47938. msgid "{Scheme Variable} pcscd-service-type"
  47939. msgstr ""
  47940. #. type: defvr
  47941. #: guix-git/doc/guix.texi:32282
  47942. 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:"
  47943. msgstr ""
  47944. #. type: lisp
  47945. #: guix-git/doc/guix.texi:32285
  47946. #, no-wrap
  47947. msgid "(service pcscd-service-type)\n"
  47948. msgstr ""
  47949. #. type: deftp
  47950. #: guix-git/doc/guix.texi:32288
  47951. #, no-wrap
  47952. msgid "{Data Type} pcscd-configuration"
  47953. msgstr ""
  47954. #. type: deftp
  47955. #: guix-git/doc/guix.texi:32290
  47956. msgid "The data type representing the configuration of @command{pcscd}."
  47957. msgstr ""
  47958. #. type: item
  47959. #: guix-git/doc/guix.texi:32292
  47960. #, no-wrap
  47961. msgid "@code{pcsc-lite} (default: @code{pcsc-lite})"
  47962. msgstr ""
  47963. #. type: table
  47964. #: guix-git/doc/guix.texi:32294
  47965. msgid "The pcsc-lite package that provides pcscd."
  47966. msgstr ""
  47967. #. type: item
  47968. #: guix-git/doc/guix.texi:32294
  47969. #, no-wrap
  47970. msgid "@code{usb-drivers} (default: @code{(list ccid)})"
  47971. msgstr ""
  47972. #. type: table
  47973. #: guix-git/doc/guix.texi:32297
  47974. 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."
  47975. msgstr ""
  47976. #. type: cindex
  47977. #: guix-git/doc/guix.texi:32300
  47978. #, no-wrap
  47979. msgid "lirc"
  47980. msgstr ""
  47981. #. type: subsubheading
  47982. #: guix-git/doc/guix.texi:32301
  47983. #, no-wrap
  47984. msgid "Lirc Service"
  47985. msgstr ""
  47986. #. type: Plain text
  47987. #: guix-git/doc/guix.texi:32304
  47988. msgid "The @code{(gnu services lirc)} module provides the following service."
  47989. msgstr ""
  47990. #. type: deffn
  47991. #: guix-git/doc/guix.texi:32305
  47992. #, no-wrap
  47993. msgid "{Scheme Procedure} lirc-service [#:lirc lirc] @"
  47994. msgstr ""
  47995. #. type: deffn
  47996. #: guix-git/doc/guix.texi:32310
  47997. 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."
  47998. msgstr ""
  47999. #. type: deffn
  48000. #: guix-git/doc/guix.texi:32314
  48001. msgid "Optionally, @var{device}, @var{driver} and @var{config-file} (configuration file name) may be specified. See @command{lircd} manual for details."
  48002. msgstr ""
  48003. #. type: deffn
  48004. #: guix-git/doc/guix.texi:32317
  48005. msgid "Finally, @var{extra-options} is a list of additional command-line options passed to @command{lircd}."
  48006. msgstr ""
  48007. #. type: cindex
  48008. #: guix-git/doc/guix.texi:32319
  48009. #, no-wrap
  48010. msgid "spice"
  48011. msgstr ""
  48012. #. type: subsubheading
  48013. #: guix-git/doc/guix.texi:32320
  48014. #, no-wrap
  48015. msgid "Spice Service"
  48016. msgstr ""
  48017. #. type: Plain text
  48018. #: guix-git/doc/guix.texi:32323
  48019. msgid "The @code{(gnu services spice)} module provides the following service."
  48020. msgstr ""
  48021. #. type: deffn
  48022. #: guix-git/doc/guix.texi:32324
  48023. #, no-wrap
  48024. msgid "{Scheme Procedure} spice-vdagent-service [#:spice-vdagent]"
  48025. msgstr ""
  48026. #. type: deffn
  48027. #: guix-git/doc/guix.texi:32328
  48028. 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."
  48029. msgstr ""
  48030. #. type: cindex
  48031. #: guix-git/doc/guix.texi:32330
  48032. #, no-wrap
  48033. msgid "inputattach"
  48034. msgstr ""
  48035. #. type: subsubheading
  48036. #: guix-git/doc/guix.texi:32331
  48037. #, no-wrap
  48038. msgid "inputattach Service"
  48039. msgstr ""
  48040. #. type: cindex
  48041. #: guix-git/doc/guix.texi:32333
  48042. #, no-wrap
  48043. msgid "tablet input, for Xorg"
  48044. msgstr ""
  48045. #. type: cindex
  48046. #: guix-git/doc/guix.texi:32334
  48047. #, no-wrap
  48048. msgid "touchscreen input, for Xorg"
  48049. msgstr ""
  48050. #. type: Plain text
  48051. #: guix-git/doc/guix.texi:32338
  48052. 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."
  48053. msgstr ""
  48054. #. type: deffn
  48055. #: guix-git/doc/guix.texi:32339
  48056. #, no-wrap
  48057. msgid "{Scheme Variable} inputattach-service-type"
  48058. msgstr ""
  48059. #. type: deffn
  48060. #: guix-git/doc/guix.texi:32342
  48061. msgid "Type of a service that runs @command{inputattach} on a device and dispatches events from it."
  48062. msgstr ""
  48063. #. type: deftp
  48064. #: guix-git/doc/guix.texi:32344
  48065. #, no-wrap
  48066. msgid "{Data Type} inputattach-configuration"
  48067. msgstr ""
  48068. #. type: item
  48069. #: guix-git/doc/guix.texi:32346
  48070. #, no-wrap
  48071. msgid "@code{device-type} (default: @code{\"wacom\"})"
  48072. msgstr ""
  48073. #. type: table
  48074. #: guix-git/doc/guix.texi:32349
  48075. 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."
  48076. msgstr ""
  48077. #. type: item
  48078. #: guix-git/doc/guix.texi:32350
  48079. #, no-wrap
  48080. msgid "@code{device} (default: @code{\"/dev/ttyS0\"})"
  48081. msgstr ""
  48082. #. type: table
  48083. #: guix-git/doc/guix.texi:32352
  48084. msgid "The device file to connect to the device."
  48085. msgstr ""
  48086. #. type: table
  48087. #: guix-git/doc/guix.texi:32356
  48088. msgid "Baud rate to use for the serial connection. Should be a number or @code{#f}."
  48089. msgstr ""
  48090. #. type: item
  48091. #: guix-git/doc/guix.texi:32357
  48092. #, no-wrap
  48093. msgid "@code{log-file} (default: @code{#f})"
  48094. msgstr ""
  48095. #. type: table
  48096. #: guix-git/doc/guix.texi:32359
  48097. msgid "If true, this must be the name of a file to log messages to."
  48098. msgstr ""
  48099. #. type: subsubheading
  48100. #: guix-git/doc/guix.texi:32362
  48101. #, no-wrap
  48102. msgid "Dictionary Service"
  48103. msgstr ""
  48104. #. type: cindex
  48105. #: guix-git/doc/guix.texi:32363
  48106. #, no-wrap
  48107. msgid "dictionary"
  48108. msgstr ""
  48109. #. type: Plain text
  48110. #: guix-git/doc/guix.texi:32365
  48111. msgid "The @code{(gnu services dict)} module provides the following service:"
  48112. msgstr ""
  48113. #. type: defvr
  48114. #: guix-git/doc/guix.texi:32366
  48115. #, no-wrap
  48116. msgid "{Scheme Variable} dicod-service-type"
  48117. msgstr ""
  48118. #. type: defvr
  48119. #: guix-git/doc/guix.texi:32369
  48120. 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})."
  48121. msgstr ""
  48122. #. type: deffn
  48123. #: guix-git/doc/guix.texi:32371
  48124. #, no-wrap
  48125. msgid "{Scheme Procedure} dicod-service [#:config (dicod-configuration)]"
  48126. msgstr ""
  48127. #. type: deffn
  48128. #: guix-git/doc/guix.texi:32374
  48129. msgid "Return a service that runs the @command{dicod} daemon, an implementation of DICT server (@pxref{Dicod,,, dico, GNU Dico Manual})."
  48130. msgstr ""
  48131. #. type: deffn
  48132. #: guix-git/doc/guix.texi:32378
  48133. 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."
  48134. msgstr ""
  48135. #. type: deffn
  48136. #: guix-git/doc/guix.texi:32382
  48137. 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})."
  48138. msgstr ""
  48139. #. type: deftp
  48140. #: guix-git/doc/guix.texi:32384
  48141. #, no-wrap
  48142. msgid "{Data Type} dicod-configuration"
  48143. msgstr ""
  48144. #. type: deftp
  48145. #: guix-git/doc/guix.texi:32386
  48146. msgid "Data type representing the configuration of dicod."
  48147. msgstr ""
  48148. #. type: item
  48149. #: guix-git/doc/guix.texi:32388
  48150. #, no-wrap
  48151. msgid "@code{dico} (default: @var{dico})"
  48152. msgstr ""
  48153. #. type: table
  48154. #: guix-git/doc/guix.texi:32390
  48155. msgid "Package object of the GNU Dico dictionary server."
  48156. msgstr ""
  48157. #. type: item
  48158. #: guix-git/doc/guix.texi:32391
  48159. #, no-wrap
  48160. msgid "@code{interfaces} (default: @var{'(\"localhost\")})"
  48161. msgstr ""
  48162. #. type: table
  48163. #: guix-git/doc/guix.texi:32395
  48164. 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})."
  48165. msgstr ""
  48166. #. type: item
  48167. #: guix-git/doc/guix.texi:32396
  48168. #, no-wrap
  48169. msgid "@code{handlers} (default: @var{'()})"
  48170. msgstr ""
  48171. #. type: table
  48172. #: guix-git/doc/guix.texi:32398
  48173. msgid "List of @code{<dicod-handler>} objects denoting handlers (module instances)."
  48174. msgstr ""
  48175. #. type: item
  48176. #: guix-git/doc/guix.texi:32399
  48177. #, no-wrap
  48178. msgid "@code{databases} (default: @var{(list %dicod-database:gcide)})"
  48179. msgstr ""
  48180. #. type: table
  48181. #: guix-git/doc/guix.texi:32401
  48182. msgid "List of @code{<dicod-database>} objects denoting dictionaries to be served."
  48183. msgstr ""
  48184. #. type: deftp
  48185. #: guix-git/doc/guix.texi:32404
  48186. #, no-wrap
  48187. msgid "{Data Type} dicod-handler"
  48188. msgstr ""
  48189. #. type: deftp
  48190. #: guix-git/doc/guix.texi:32406
  48191. msgid "Data type representing a dictionary handler (module instance)."
  48192. msgstr ""
  48193. #. type: table
  48194. #: guix-git/doc/guix.texi:32410
  48195. msgid "Name of the handler (module instance)."
  48196. msgstr ""
  48197. #. type: item
  48198. #: guix-git/doc/guix.texi:32411
  48199. #, no-wrap
  48200. msgid "@code{module} (default: @var{#f})"
  48201. msgstr ""
  48202. #. type: table
  48203. #: guix-git/doc/guix.texi:32415
  48204. 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})."
  48205. msgstr ""
  48206. #. type: table
  48207. #: guix-git/doc/guix.texi:32418
  48208. msgid "List of strings or gexps representing the arguments for the module handler"
  48209. msgstr ""
  48210. #. type: deftp
  48211. #: guix-git/doc/guix.texi:32421
  48212. #, no-wrap
  48213. msgid "{Data Type} dicod-database"
  48214. msgstr ""
  48215. #. type: deftp
  48216. #: guix-git/doc/guix.texi:32423
  48217. msgid "Data type representing a dictionary database."
  48218. msgstr ""
  48219. #. type: table
  48220. #: guix-git/doc/guix.texi:32427
  48221. msgid "Name of the database, will be used in DICT commands."
  48222. msgstr ""
  48223. #. type: code{#1}
  48224. #: guix-git/doc/guix.texi:32428
  48225. #, no-wrap
  48226. msgid "handler"
  48227. msgstr ""
  48228. #. type: table
  48229. #: guix-git/doc/guix.texi:32431
  48230. msgid "Name of the dicod handler (module instance) used by this database (@pxref{Handlers,,, dico, GNU Dico Manual})."
  48231. msgstr ""
  48232. #. type: item
  48233. #: guix-git/doc/guix.texi:32432
  48234. #, no-wrap
  48235. msgid "@code{complex?} (default: @var{#f})"
  48236. msgstr ""
  48237. #. type: table
  48238. #: guix-git/doc/guix.texi:32435
  48239. msgid "Whether the database configuration complex. The complex configuration will need a corresponding @code{<dicod-handler>} object, otherwise not."
  48240. msgstr ""
  48241. #. type: table
  48242. #: guix-git/doc/guix.texi:32439
  48243. msgid "List of strings or gexps representing the arguments for the database (@pxref{Databases,,, dico, GNU Dico Manual})."
  48244. msgstr ""
  48245. #. type: defvr
  48246. #: guix-git/doc/guix.texi:32442
  48247. #, no-wrap
  48248. msgid "{Scheme Variable} %dicod-database:gcide"
  48249. msgstr ""
  48250. #. type: defvr
  48251. #: guix-git/doc/guix.texi:32445
  48252. msgid "A @code{<dicod-database>} object serving the GNU Collaborative International Dictionary of English using the @code{gcide} package."
  48253. msgstr ""
  48254. #. type: Plain text
  48255. #: guix-git/doc/guix.texi:32448
  48256. msgid "The following is an example @code{dicod-service} configuration."
  48257. msgstr ""
  48258. #. type: lisp
  48259. #: guix-git/doc/guix.texi:32463
  48260. #, no-wrap
  48261. msgid ""
  48262. "(dicod-service #:config\n"
  48263. " (dicod-configuration\n"
  48264. " (handlers (list (dicod-handler\n"
  48265. " (name \"wordnet\")\n"
  48266. " (module \"dictorg\")\n"
  48267. " (options\n"
  48268. " (list #~(string-append \"dbdir=\" #$wordnet))))))\n"
  48269. " (databases (list (dicod-database\n"
  48270. " (name \"wordnet\")\n"
  48271. " (complex? #t)\n"
  48272. " (handler \"wordnet\")\n"
  48273. " (options '(\"database=wn\")))\n"
  48274. " %dicod-database:gcide))))\n"
  48275. msgstr ""
  48276. #. type: cindex
  48277. #: guix-git/doc/guix.texi:32465
  48278. #, no-wrap
  48279. msgid "Docker"
  48280. msgstr ""
  48281. #. type: subsubheading
  48282. #: guix-git/doc/guix.texi:32466
  48283. #, no-wrap
  48284. msgid "Docker Service"
  48285. msgstr ""
  48286. #. type: Plain text
  48287. #: guix-git/doc/guix.texi:32469
  48288. msgid "The @code{(gnu services docker)} module provides the following services."
  48289. msgstr ""
  48290. #. type: defvr
  48291. #: guix-git/doc/guix.texi:32470
  48292. #, no-wrap
  48293. msgid "{Scheme Variable} docker-service-type"
  48294. msgstr ""
  48295. #. type: defvr
  48296. #: guix-git/doc/guix.texi:32475
  48297. 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."
  48298. msgstr ""
  48299. #. type: deftp
  48300. #: guix-git/doc/guix.texi:32478
  48301. #, no-wrap
  48302. msgid "{Data Type} docker-configuration"
  48303. msgstr ""
  48304. #. type: deftp
  48305. #: guix-git/doc/guix.texi:32480
  48306. msgid "This is the data type representing the configuration of Docker and Containerd."
  48307. msgstr ""
  48308. #. type: item
  48309. #: guix-git/doc/guix.texi:32483
  48310. #, no-wrap
  48311. msgid "@code{docker} (default: @code{docker})"
  48312. msgstr ""
  48313. #. type: table
  48314. #: guix-git/doc/guix.texi:32485
  48315. msgid "The Docker daemon package to use."
  48316. msgstr ""
  48317. #. type: item
  48318. #: guix-git/doc/guix.texi:32486
  48319. #, no-wrap
  48320. msgid "@code{docker-cli} (default: @code{docker-cli})"
  48321. msgstr ""
  48322. #. type: table
  48323. #: guix-git/doc/guix.texi:32488
  48324. msgid "The Docker client package to use."
  48325. msgstr ""
  48326. #. type: item
  48327. #: guix-git/doc/guix.texi:32489
  48328. #, no-wrap
  48329. msgid "@code{containerd} (default: @var{containerd})"
  48330. msgstr ""
  48331. #. type: table
  48332. #: guix-git/doc/guix.texi:32491
  48333. msgid "The Containerd package to use."
  48334. msgstr ""
  48335. #. type: item
  48336. #: guix-git/doc/guix.texi:32492
  48337. #, no-wrap
  48338. msgid "@code{proxy} (default @var{docker-libnetwork-cmd-proxy})"
  48339. msgstr ""
  48340. #. type: table
  48341. #: guix-git/doc/guix.texi:32494
  48342. msgid "The Docker user-land networking proxy package to use."
  48343. msgstr ""
  48344. #. type: item
  48345. #: guix-git/doc/guix.texi:32495
  48346. #, no-wrap
  48347. msgid "@code{enable-proxy?} (default @code{#t})"
  48348. msgstr ""
  48349. #. type: table
  48350. #: guix-git/doc/guix.texi:32497
  48351. msgid "Enable or disable the use of the Docker user-land networking proxy."
  48352. msgstr ""
  48353. #. type: item
  48354. #: guix-git/doc/guix.texi:32498
  48355. #, no-wrap
  48356. msgid "@code{debug?} (default @code{#f})"
  48357. msgstr ""
  48358. #. type: table
  48359. #: guix-git/doc/guix.texi:32500
  48360. msgid "Enable or disable debug output."
  48361. msgstr ""
  48362. #. type: item
  48363. #: guix-git/doc/guix.texi:32501
  48364. #, no-wrap
  48365. msgid "@code{enable-iptables?} (default @code{#t})"
  48366. msgstr ""
  48367. #. type: table
  48368. #: guix-git/doc/guix.texi:32503
  48369. msgid "Enable or disable the addition of iptables rules."
  48370. msgstr ""
  48371. #. type: cindex
  48372. #: guix-git/doc/guix.texi:32507
  48373. #, no-wrap
  48374. msgid "Singularity, container service"
  48375. msgstr ""
  48376. #. type: defvr
  48377. #: guix-git/doc/guix.texi:32508
  48378. #, no-wrap
  48379. msgid "{Scheme Variable} singularity-service-type"
  48380. msgstr ""
  48381. #. type: defvr
  48382. #: guix-git/doc/guix.texi:32513
  48383. 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."
  48384. msgstr ""
  48385. #. type: defvr
  48386. #: guix-git/doc/guix.texi:32517
  48387. 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."
  48388. msgstr ""
  48389. #. type: cindex
  48390. #: guix-git/doc/guix.texi:32519
  48391. #, no-wrap
  48392. msgid "Audit"
  48393. msgstr ""
  48394. #. type: subsubheading
  48395. #: guix-git/doc/guix.texi:32520
  48396. #, no-wrap
  48397. msgid "Auditd Service"
  48398. msgstr ""
  48399. #. type: Plain text
  48400. #: guix-git/doc/guix.texi:32523
  48401. msgid "The @code{(gnu services auditd)} module provides the following service."
  48402. msgstr ""
  48403. #. type: defvr
  48404. #: guix-git/doc/guix.texi:32524
  48405. #, no-wrap
  48406. msgid "{Scheme Variable} auditd-service-type"
  48407. msgstr ""
  48408. #. type: defvr
  48409. #: guix-git/doc/guix.texi:32529
  48410. 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."
  48411. msgstr ""
  48412. #. type: defvr
  48413. #: guix-git/doc/guix.texi:32531
  48414. msgid "Examples of things that can be tracked:"
  48415. msgstr ""
  48416. #. type: enumerate
  48417. #: guix-git/doc/guix.texi:32535
  48418. msgid "File accesses"
  48419. msgstr ""
  48420. #. type: enumerate
  48421. #: guix-git/doc/guix.texi:32537
  48422. msgid "System calls"
  48423. msgstr ""
  48424. #. type: enumerate
  48425. #: guix-git/doc/guix.texi:32539
  48426. msgid "Invoked commands"
  48427. msgstr ""
  48428. #. type: enumerate
  48429. #: guix-git/doc/guix.texi:32541
  48430. msgid "Failed login attempts"
  48431. msgstr ""
  48432. #. type: enumerate
  48433. #: guix-git/doc/guix.texi:32543
  48434. msgid "Firewall filtering"
  48435. msgstr ""
  48436. #. type: enumerate
  48437. #: guix-git/doc/guix.texi:32545
  48438. msgid "Network access"
  48439. msgstr ""
  48440. #. type: defvr
  48441. #: guix-git/doc/guix.texi:32556
  48442. 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}."
  48443. msgstr ""
  48444. #. type: deftp
  48445. #: guix-git/doc/guix.texi:32559
  48446. #, no-wrap
  48447. msgid "{Data Type} auditd-configuration"
  48448. msgstr ""
  48449. #. type: deftp
  48450. #: guix-git/doc/guix.texi:32561
  48451. msgid "This is the data type representing the configuration of auditd."
  48452. msgstr ""
  48453. #. type: item
  48454. #: guix-git/doc/guix.texi:32564
  48455. #, no-wrap
  48456. msgid "@code{audit} (default: @code{audit})"
  48457. msgstr ""
  48458. #. type: table
  48459. #: guix-git/doc/guix.texi:32566
  48460. msgid "The audit package to use."
  48461. msgstr ""
  48462. #. type: item
  48463. #: guix-git/doc/guix.texi:32567
  48464. #, no-wrap
  48465. msgid "@code{configuration-directory} (default: @code{%default-auditd-configuration-directory})"
  48466. msgstr ""
  48467. #. type: table
  48468. #: guix-git/doc/guix.texi:32571
  48469. 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."
  48470. msgstr ""
  48471. #. type: cindex
  48472. #: guix-git/doc/guix.texi:32575
  48473. #, no-wrap
  48474. msgid "rshiny"
  48475. msgstr ""
  48476. #. type: subsubheading
  48477. #: guix-git/doc/guix.texi:32576
  48478. #, no-wrap
  48479. msgid "R-Shiny service"
  48480. msgstr ""
  48481. #. type: Plain text
  48482. #: guix-git/doc/guix.texi:32579
  48483. msgid "The @code{(gnu services science)} module provides the following service."
  48484. msgstr ""
  48485. #. type: defvr
  48486. #: guix-git/doc/guix.texi:32580
  48487. #, no-wrap
  48488. msgid "{Scheme Variable} rshiny-service-type"
  48489. msgstr ""
  48490. #. type: defvr
  48491. #: guix-git/doc/guix.texi:32585
  48492. 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}."
  48493. msgstr ""
  48494. #. type: deftp
  48495. #: guix-git/doc/guix.texi:32586
  48496. #, no-wrap
  48497. msgid "{Data Type} rshiny-configuration"
  48498. msgstr ""
  48499. #. type: deftp
  48500. #: guix-git/doc/guix.texi:32588
  48501. msgid "This is the data type representing the configuration of rshiny."
  48502. msgstr ""
  48503. #. type: item
  48504. #: guix-git/doc/guix.texi:32591
  48505. #, no-wrap
  48506. msgid "@code{package} (default: @code{r-shiny})"
  48507. msgstr ""
  48508. #. type: table
  48509. #: guix-git/doc/guix.texi:32593
  48510. msgid "The package to use."
  48511. msgstr ""
  48512. #. type: item
  48513. #: guix-git/doc/guix.texi:32594
  48514. #, no-wrap
  48515. msgid "@code{binary} (defaunlt @code{\"rshiny\"})"
  48516. msgstr ""
  48517. #. type: table
  48518. #: guix-git/doc/guix.texi:32597
  48519. msgid "The name of the binary or shell script located at @code{package/bin/} to run when the service is run."
  48520. msgstr ""
  48521. #. type: table
  48522. #: guix-git/doc/guix.texi:32599
  48523. msgid "The common way to create this file is as follows:"
  48524. msgstr ""
  48525. #. type: lisp
  48526. #: guix-git/doc/guix.texi:32617
  48527. #, no-wrap
  48528. msgid ""
  48529. "@dots{}\n"
  48530. "(let* ((out (assoc-ref %outputs \"out\"))\n"
  48531. " (targetdir (string-append out \"/share/\" ,name))\n"
  48532. " (app (string-append out \"/bin/\" ,name))\n"
  48533. " (Rbin (string-append (assoc-ref %build-inputs \"r-min\")\n"
  48534. " \"/bin/Rscript\")))\n"
  48535. " ;; @dots{}\n"
  48536. " (mkdir-p (string-append out \"/bin\"))\n"
  48537. " (call-with-output-file app\n"
  48538. " (lambda (port)\n"
  48539. " (format port\n"
  48540. "\"#!~a\n"
  48541. "library(shiny)\n"
  48542. "setwd(\\\"~a\\\")\n"
  48543. "runApp(launch.browser=0, port=4202)~%\\n\"\n"
  48544. " Rbin targetdir))))\n"
  48545. msgstr ""
  48546. #. type: cindex
  48547. #: guix-git/doc/guix.texi:32623
  48548. #, no-wrap
  48549. msgid "Nix"
  48550. msgstr ""
  48551. #. type: subsubheading
  48552. #: guix-git/doc/guix.texi:32624
  48553. #, no-wrap
  48554. msgid "Nix service"
  48555. msgstr ""
  48556. #. type: Plain text
  48557. #: guix-git/doc/guix.texi:32627
  48558. msgid "The @code{(gnu services nix)} module provides the following service."
  48559. msgstr ""
  48560. #. type: defvr
  48561. #: guix-git/doc/guix.texi:32628
  48562. #, no-wrap
  48563. msgid "{Scheme Variable} nix-service-type"
  48564. msgstr ""
  48565. #. type: defvr
  48566. #: guix-git/doc/guix.texi:32633
  48567. 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:"
  48568. msgstr ""
  48569. #. type: lisp
  48570. #: guix-git/doc/guix.texi:32638
  48571. #, no-wrap
  48572. msgid ""
  48573. "(use-modules (gnu))\n"
  48574. "(use-service-modules nix)\n"
  48575. "(use-package-modules package-management)\n"
  48576. "\n"
  48577. msgstr ""
  48578. #. type: lisp
  48579. #: guix-git/doc/guix.texi:32643
  48580. #, no-wrap
  48581. msgid ""
  48582. "(operating-system\n"
  48583. " ;; @dots{}\n"
  48584. " (packages (append (list nix)\n"
  48585. " %base-packages))\n"
  48586. "\n"
  48587. msgstr ""
  48588. #. type: lisp
  48589. #: guix-git/doc/guix.texi:32646
  48590. #, no-wrap
  48591. msgid ""
  48592. " (services (append (list (service nix-service-type))\n"
  48593. " %base-services)))\n"
  48594. msgstr ""
  48595. #. type: defvr
  48596. #: guix-git/doc/guix.texi:32649
  48597. msgid "After @command{guix system reconfigure} configure Nix for your user:"
  48598. msgstr ""
  48599. #. type: item
  48600. #: guix-git/doc/guix.texi:32651
  48601. #, no-wrap
  48602. msgid "Add a Nix channel and update it. See"
  48603. msgstr ""
  48604. #. type: itemize
  48605. #: guix-git/doc/guix.texi:32653
  48606. msgid "@url{https://nixos.org/nix/manual/, Nix Package Manager Guide}."
  48607. msgstr ""
  48608. #. type: item
  48609. #: guix-git/doc/guix.texi:32654
  48610. #, no-wrap
  48611. msgid "Create a symlink to your profile and activate Nix profile:"
  48612. msgstr ""
  48613. #. type: example
  48614. #: guix-git/doc/guix.texi:32660
  48615. #, no-wrap
  48616. msgid ""
  48617. "$ ln -s \"/nix/var/nix/profiles/per-user/$USER/profile\" ~/.nix-profile\n"
  48618. "$ source /run/current-system/profile/etc/profile.d/nix.sh\n"
  48619. msgstr ""
  48620. #. type: deftp
  48621. #: guix-git/doc/guix.texi:32664
  48622. #, no-wrap
  48623. msgid "{Data Type} nix-configuration"
  48624. msgstr ""
  48625. #. type: deftp
  48626. #: guix-git/doc/guix.texi:32666
  48627. msgid "This data type represents the configuration of the Nix daemon."
  48628. msgstr ""
  48629. #. type: item
  48630. #: guix-git/doc/guix.texi:32668
  48631. #, no-wrap
  48632. msgid "@code{nix} (default: @code{nix})"
  48633. msgstr ""
  48634. #. type: table
  48635. #: guix-git/doc/guix.texi:32670
  48636. msgid "The Nix package to use."
  48637. msgstr ""
  48638. #. type: item
  48639. #: guix-git/doc/guix.texi:32671
  48640. #, no-wrap
  48641. msgid "@code{sandbox} (default: @code{#t})"
  48642. msgstr ""
  48643. #. type: table
  48644. #: guix-git/doc/guix.texi:32673
  48645. msgid "Specifies whether builds are sandboxed by default."
  48646. msgstr ""
  48647. #. type: item
  48648. #: guix-git/doc/guix.texi:32674
  48649. #, no-wrap
  48650. msgid "@code{build-sandbox-items} (default: @code{'()})"
  48651. msgstr ""
  48652. #. type: table
  48653. #: guix-git/doc/guix.texi:32677
  48654. msgid "This is a list of strings or objects appended to the @code{build-sandbox-items} field of the configuration file."
  48655. msgstr ""
  48656. #. type: table
  48657. #: guix-git/doc/guix.texi:32685
  48658. msgid "Extra command line options for @code{nix-service-type}."
  48659. msgstr ""
  48660. #. type: cindex
  48661. #: guix-git/doc/guix.texi:32691
  48662. #, no-wrap
  48663. msgid "setuid programs"
  48664. msgstr ""
  48665. #. type: Plain text
  48666. #: guix-git/doc/guix.texi:32701
  48667. 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)."
  48668. msgstr ""
  48669. #. type: Plain text
  48670. #: guix-git/doc/guix.texi:32708
  48671. 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."
  48672. msgstr ""
  48673. #. type: Plain text
  48674. #: guix-git/doc/guix.texi:32715
  48675. msgid "The @code{setuid-programs} field of an @code{operating-system} declaration contains a list of @code{<setuid-program>} denoting the names of programs to have a setuid or setgid bit set (@pxref{Using the Configuration System}). For instance, the @command{passwd} program, which is part of the Shadow package, with a setuid root can be designated like this:"
  48676. msgstr ""
  48677. #. type: example
  48678. #: guix-git/doc/guix.texi:32719
  48679. #, no-wrap
  48680. msgid ""
  48681. "(setuid-program\n"
  48682. " (program (file-append #$shadow \"/bin/passwd\")))\n"
  48683. msgstr ""
  48684. #. type: deftp
  48685. #: guix-git/doc/guix.texi:32721
  48686. #, no-wrap
  48687. msgid "{Data Type} setuid-program"
  48688. msgstr ""
  48689. #. type: deftp
  48690. #: guix-git/doc/guix.texi:32723
  48691. msgid "This data type represents a program with a setuid or setgid bit set."
  48692. msgstr ""
  48693. #. type: code{#1}
  48694. #: guix-git/doc/guix.texi:32725
  48695. #, no-wrap
  48696. msgid "program"
  48697. msgstr ""
  48698. #. type: table
  48699. #: guix-git/doc/guix.texi:32727
  48700. msgid "A file-like object having its setuid and/or setgid bit set."
  48701. msgstr ""
  48702. #. type: item
  48703. #: guix-git/doc/guix.texi:32728
  48704. #, no-wrap
  48705. msgid "@code{setuid?} (default: @code{#t})"
  48706. msgstr ""
  48707. #. type: table
  48708. #: guix-git/doc/guix.texi:32730
  48709. msgid "Whether to set user setuid bit."
  48710. msgstr ""
  48711. #. type: item
  48712. #: guix-git/doc/guix.texi:32731
  48713. #, no-wrap
  48714. msgid "@code{setgid?} (default: @code{#f})"
  48715. msgstr ""
  48716. #. type: table
  48717. #: guix-git/doc/guix.texi:32733
  48718. msgid "Whether to set group setgid bit."
  48719. msgstr ""
  48720. #. type: item
  48721. #: guix-git/doc/guix.texi:32734
  48722. #, no-wrap
  48723. msgid "@code{user} (default: @code{0})"
  48724. msgstr ""
  48725. #. type: table
  48726. #: guix-git/doc/guix.texi:32737
  48727. msgid "UID (integer) or user name (string) for the user owner of the program, defaults to root."
  48728. msgstr ""
  48729. #. type: item
  48730. #: guix-git/doc/guix.texi:32738
  48731. #, no-wrap
  48732. msgid "@code{group} (default: @code{0})"
  48733. msgstr ""
  48734. #. type: table
  48735. #: guix-git/doc/guix.texi:32741
  48736. msgid "GID (integer) goup name (string) for the group owner of the program, defaults to root."
  48737. msgstr ""
  48738. #. type: Plain text
  48739. #: guix-git/doc/guix.texi:32747
  48740. msgid "A default set of setuid programs is defined by the @code{%setuid-programs} variable of the @code{(gnu system)} module."
  48741. msgstr ""
  48742. #. type: defvr
  48743. #: guix-git/doc/guix.texi:32748
  48744. #, no-wrap
  48745. msgid "{Scheme Variable} %setuid-programs"
  48746. msgstr ""
  48747. #. type: defvr
  48748. #: guix-git/doc/guix.texi:32751
  48749. msgid "A list of @code{<setuid-program>} denoting common programs that are setuid-root."
  48750. msgstr ""
  48751. #. type: defvr
  48752. #: guix-git/doc/guix.texi:32754
  48753. msgid "The list includes commands such as @command{passwd}, @command{ping}, @command{su}, and @command{sudo}."
  48754. msgstr ""
  48755. #. type: Plain text
  48756. #: guix-git/doc/guix.texi:32760
  48757. 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."
  48758. msgstr ""
  48759. #. type: cindex
  48760. #: guix-git/doc/guix.texi:32764
  48761. #, no-wrap
  48762. msgid "HTTPS, certificates"
  48763. msgstr ""
  48764. #. type: cindex
  48765. #: guix-git/doc/guix.texi:32765
  48766. #, no-wrap
  48767. msgid "X.509 certificates"
  48768. msgstr ""
  48769. #. type: cindex
  48770. #: guix-git/doc/guix.texi:32766
  48771. #, no-wrap
  48772. msgid "TLS"
  48773. msgstr ""
  48774. #. type: Plain text
  48775. #: guix-git/doc/guix.texi:32773
  48776. 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."
  48777. msgstr ""
  48778. #. type: Plain text
  48779. #: guix-git/doc/guix.texi:32777
  48780. 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."
  48781. msgstr ""
  48782. #. type: Plain text
  48783. #: guix-git/doc/guix.texi:32781
  48784. 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."
  48785. msgstr ""
  48786. #. type: Plain text
  48787. #: guix-git/doc/guix.texi:32788
  48788. 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."
  48789. msgstr ""
  48790. #. type: Plain text
  48791. #: guix-git/doc/guix.texi:32793
  48792. 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."
  48793. msgstr ""
  48794. #. type: Plain text
  48795. #: guix-git/doc/guix.texi:32803
  48796. 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:"
  48797. msgstr ""
  48798. #. type: example
  48799. #: guix-git/doc/guix.texi:32809
  48800. #, no-wrap
  48801. msgid ""
  48802. "guix install nss-certs\n"
  48803. "export SSL_CERT_DIR=\"$HOME/.guix-profile/etc/ssl/certs\"\n"
  48804. "export SSL_CERT_FILE=\"$HOME/.guix-profile/etc/ssl/certs/ca-certificates.crt\"\n"
  48805. "export GIT_SSL_CAINFO=\"$SSL_CERT_FILE\"\n"
  48806. msgstr ""
  48807. #. type: Plain text
  48808. #: guix-git/doc/guix.texi:32814
  48809. 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:"
  48810. msgstr ""
  48811. #. type: example
  48812. #: guix-git/doc/guix.texi:32818
  48813. #, no-wrap
  48814. msgid ""
  48815. "guix install nss-certs\n"
  48816. "export CURL_CA_BUNDLE=\"$HOME/.guix-profile/etc/ssl/certs/ca-certificates.crt\"\n"
  48817. msgstr ""
  48818. #. type: Plain text
  48819. #: guix-git/doc/guix.texi:32822
  48820. msgid "For other applications you may want to look up the required environment variable in the relevant documentation."
  48821. msgstr ""
  48822. #. type: cindex
  48823. #: guix-git/doc/guix.texi:32827
  48824. #, no-wrap
  48825. msgid "name service switch"
  48826. msgstr ""
  48827. #. type: cindex
  48828. #: guix-git/doc/guix.texi:32828
  48829. #, no-wrap
  48830. msgid "NSS"
  48831. msgstr ""
  48832. #. type: Plain text
  48833. #: guix-git/doc/guix.texi:32837
  48834. 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})."
  48835. msgstr ""
  48836. #. type: Plain text
  48837. #: guix-git/doc/guix.texi:32844
  48838. 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}})."
  48839. msgstr ""
  48840. #. type: cindex
  48841. #: guix-git/doc/guix.texi:32845
  48842. #, no-wrap
  48843. msgid "nss-mdns"
  48844. msgstr ""
  48845. #. type: cindex
  48846. #: guix-git/doc/guix.texi:32846
  48847. #, no-wrap
  48848. msgid ".local, host name lookup"
  48849. msgstr ""
  48850. #. type: Plain text
  48851. #: guix-git/doc/guix.texi:32851
  48852. 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}:"
  48853. msgstr ""
  48854. #. type: lisp
  48855. #: guix-git/doc/guix.texi:32855
  48856. #, no-wrap
  48857. msgid ""
  48858. "(name-service-switch\n"
  48859. " (hosts (list %files ;first, check /etc/hosts\n"
  48860. "\n"
  48861. msgstr ""
  48862. #. type: lisp
  48863. #: guix-git/doc/guix.texi:32860
  48864. #, no-wrap
  48865. msgid ""
  48866. " ;; If the above did not succeed, try\n"
  48867. " ;; with 'mdns_minimal'.\n"
  48868. " (name-service\n"
  48869. " (name \"mdns_minimal\")\n"
  48870. "\n"
  48871. msgstr ""
  48872. #. type: lisp
  48873. #: guix-git/doc/guix.texi:32866
  48874. #, no-wrap
  48875. msgid ""
  48876. " ;; 'mdns_minimal' is authoritative for\n"
  48877. " ;; '.local'. When it returns \"not found\",\n"
  48878. " ;; no need to try the next methods.\n"
  48879. " (reaction (lookup-specification\n"
  48880. " (not-found => return))))\n"
  48881. "\n"
  48882. msgstr ""
  48883. #. type: lisp
  48884. #: guix-git/doc/guix.texi:32870
  48885. #, no-wrap
  48886. msgid ""
  48887. " ;; Then fall back to DNS.\n"
  48888. " (name-service\n"
  48889. " (name \"dns\"))\n"
  48890. "\n"
  48891. msgstr ""
  48892. #. type: lisp
  48893. #: guix-git/doc/guix.texi:32874
  48894. #, no-wrap
  48895. msgid ""
  48896. " ;; Finally, try with the \"full\" 'mdns'.\n"
  48897. " (name-service\n"
  48898. " (name \"mdns\")))))\n"
  48899. msgstr ""
  48900. #. type: Plain text
  48901. #: guix-git/doc/guix.texi:32879
  48902. 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."
  48903. msgstr ""
  48904. #. type: Plain text
  48905. #: guix-git/doc/guix.texi:32887
  48906. 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}})."
  48907. msgstr ""
  48908. #. type: Plain text
  48909. #: guix-git/doc/guix.texi:32890
  48910. msgid "For convenience, the following variables provide typical NSS configurations."
  48911. msgstr ""
  48912. #. type: defvr
  48913. #: guix-git/doc/guix.texi:32891
  48914. #, no-wrap
  48915. msgid "{Scheme Variable} %default-nss"
  48916. msgstr ""
  48917. #. type: defvr
  48918. #: guix-git/doc/guix.texi:32894
  48919. msgid "This is the default name service switch configuration, a @code{name-service-switch} object."
  48920. msgstr ""
  48921. #. type: defvr
  48922. #: guix-git/doc/guix.texi:32896
  48923. #, no-wrap
  48924. msgid "{Scheme Variable} %mdns-host-lookup-nss"
  48925. msgstr ""
  48926. #. type: defvr
  48927. #: guix-git/doc/guix.texi:32899
  48928. 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}."
  48929. msgstr ""
  48930. #. type: Plain text
  48931. #: guix-git/doc/guix.texi:32909
  48932. 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}."
  48933. msgstr ""
  48934. #. type: deftp
  48935. #: guix-git/doc/guix.texi:32910
  48936. #, no-wrap
  48937. msgid "{Data Type} name-service-switch"
  48938. msgstr ""
  48939. #. type: deftp
  48940. #: guix-git/doc/guix.texi:32915
  48941. 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."
  48942. msgstr ""
  48943. #. type: item
  48944. #: guix-git/doc/guix.texi:32917
  48945. #, no-wrap
  48946. msgid "aliases"
  48947. msgstr ""
  48948. #. type: itemx
  48949. #: guix-git/doc/guix.texi:32918
  48950. #, no-wrap
  48951. msgid "ethers"
  48952. msgstr ""
  48953. #. type: itemx
  48954. #: guix-git/doc/guix.texi:32920
  48955. #, no-wrap
  48956. msgid "gshadow"
  48957. msgstr ""
  48958. #. type: itemx
  48959. #: guix-git/doc/guix.texi:32921
  48960. #, no-wrap
  48961. msgid "hosts"
  48962. msgstr ""
  48963. #. type: itemx
  48964. #: guix-git/doc/guix.texi:32922
  48965. #, no-wrap
  48966. msgid "initgroups"
  48967. msgstr ""
  48968. #. type: itemx
  48969. #: guix-git/doc/guix.texi:32923
  48970. #, no-wrap
  48971. msgid "netgroup"
  48972. msgstr ""
  48973. #. type: itemx
  48974. #: guix-git/doc/guix.texi:32924
  48975. #, no-wrap
  48976. msgid "networks"
  48977. msgstr ""
  48978. #. type: itemx
  48979. #: guix-git/doc/guix.texi:32927
  48980. #, no-wrap
  48981. msgid "rpc"
  48982. msgstr ""
  48983. #. type: itemx
  48984. #: guix-git/doc/guix.texi:32929
  48985. #, no-wrap
  48986. msgid "shadow"
  48987. msgstr ""
  48988. #. type: table
  48989. #: guix-git/doc/guix.texi:32932
  48990. msgid "The system databases handled by the NSS@. Each of these fields must be a list of @code{<name-service>} objects (see below)."
  48991. msgstr ""
  48992. #. type: deftp
  48993. #: guix-git/doc/guix.texi:32935
  48994. #, no-wrap
  48995. msgid "{Data Type} name-service"
  48996. msgstr ""
  48997. #. type: deftp
  48998. #: guix-git/doc/guix.texi:32939
  48999. msgid "This is the data type representing an actual name service and the associated lookup action."
  49000. msgstr ""
  49001. #. type: table
  49002. #: guix-git/doc/guix.texi:32944
  49003. msgid "A string denoting the name service (@pxref{Services in the NSS configuration,,, libc, The GNU C Library Reference Manual})."
  49004. msgstr ""
  49005. #. type: table
  49006. #: guix-git/doc/guix.texi:32949
  49007. 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}})."
  49008. msgstr ""
  49009. #. type: item
  49010. #: guix-git/doc/guix.texi:32950
  49011. #, no-wrap
  49012. msgid "reaction"
  49013. msgstr ""
  49014. #. type: table
  49015. #: guix-git/doc/guix.texi:32954
  49016. 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:"
  49017. msgstr ""
  49018. #. type: lisp
  49019. #: guix-git/doc/guix.texi:32958
  49020. #, no-wrap
  49021. msgid ""
  49022. "(lookup-specification (unavailable => continue)\n"
  49023. " (success => return))\n"
  49024. msgstr ""
  49025. #. type: Plain text
  49026. #: guix-git/doc/guix.texi:32972
  49027. 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."
  49028. msgstr ""
  49029. #. type: Plain text
  49030. #: guix-git/doc/guix.texi:32981
  49031. 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:"
  49032. msgstr ""
  49033. #. type: lisp
  49034. #: guix-git/doc/guix.texi:32986
  49035. #, no-wrap
  49036. msgid ""
  49037. "(operating-system\n"
  49038. " ;; @dots{}\n"
  49039. " (initrd-modules (cons \"megaraid_sas\" %base-initrd-modules)))\n"
  49040. msgstr ""
  49041. #. type: defvr
  49042. #: guix-git/doc/guix.texi:32988
  49043. #, no-wrap
  49044. msgid "{Scheme Variable} %base-initrd-modules"
  49045. msgstr ""
  49046. #. type: defvr
  49047. #: guix-git/doc/guix.texi:32990
  49048. msgid "This is the list of kernel modules included in the initrd by default."
  49049. msgstr ""
  49050. #. type: Plain text
  49051. #: guix-git/doc/guix.texi:32998
  49052. 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."
  49053. msgstr ""
  49054. #. type: Plain text
  49055. #: guix-git/doc/guix.texi:33003
  49056. 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:"
  49057. msgstr ""
  49058. #. type: lisp
  49059. #: guix-git/doc/guix.texi:33011
  49060. #, no-wrap
  49061. msgid ""
  49062. "(initrd (lambda (file-systems . rest)\n"
  49063. " ;; Create a standard initrd but set up networking\n"
  49064. " ;; with the parameters QEMU expects by default.\n"
  49065. " (apply base-initrd file-systems\n"
  49066. " #:qemu-networking? #t\n"
  49067. " rest)))\n"
  49068. msgstr ""
  49069. #. type: Plain text
  49070. #: guix-git/doc/guix.texi:33016
  49071. 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."
  49072. msgstr ""
  49073. #. type: Plain text
  49074. #: guix-git/doc/guix.texi:33023
  49075. 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."
  49076. msgstr ""
  49077. #. type: Plain text
  49078. #: guix-git/doc/guix.texi:33028
  49079. 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:"
  49080. msgstr ""
  49081. #. type: item
  49082. #: guix-git/doc/guix.texi:33030
  49083. #, no-wrap
  49084. msgid "--load=@var{boot}"
  49085. msgstr ""
  49086. #. type: table
  49087. #: guix-git/doc/guix.texi:33033
  49088. msgid "Tell the initial RAM disk to load @var{boot}, a file containing a Scheme program, once it has mounted the root file system."
  49089. msgstr ""
  49090. #. type: table
  49091. #: guix-git/doc/guix.texi:33037
  49092. 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."
  49093. msgstr ""
  49094. #. type: item
  49095. #: guix-git/doc/guix.texi:33038
  49096. #, no-wrap
  49097. msgid "--root=@var{root}"
  49098. msgstr ""
  49099. #. type: table
  49100. #: guix-git/doc/guix.texi:33043
  49101. 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."
  49102. msgstr ""
  49103. #. type: table
  49104. #: guix-git/doc/guix.texi:33047
  49105. msgid "Have @file{/run/booted-system} and @file{/run/current-system} point to @var{system}."
  49106. msgstr ""
  49107. #. type: item
  49108. #: guix-git/doc/guix.texi:33048
  49109. #, no-wrap
  49110. msgid "modprobe.blacklist=@var{modules}@dots{}"
  49111. msgstr ""
  49112. #. type: cindex
  49113. #: guix-git/doc/guix.texi:33049
  49114. #, no-wrap
  49115. msgid "module, black-listing"
  49116. msgstr ""
  49117. #. type: cindex
  49118. #: guix-git/doc/guix.texi:33050
  49119. #, no-wrap
  49120. msgid "black list, of kernel modules"
  49121. msgstr ""
  49122. #. type: table
  49123. #: guix-git/doc/guix.texi:33055
  49124. 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}."
  49125. msgstr ""
  49126. #. type: item
  49127. #: guix-git/doc/guix.texi:33056
  49128. #, no-wrap
  49129. msgid "--repl"
  49130. msgstr ""
  49131. #. type: table
  49132. #: guix-git/doc/guix.texi:33062
  49133. 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."
  49134. msgstr ""
  49135. #. type: Plain text
  49136. #: guix-git/doc/guix.texi:33068
  49137. 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."
  49138. msgstr ""
  49139. #. type: deffn
  49140. #: guix-git/doc/guix.texi:33071
  49141. #, no-wrap
  49142. msgid "{Scheme Procedure} raw-initrd @var{file-systems} @"
  49143. msgstr ""
  49144. #. type: deffn
  49145. #: guix-git/doc/guix.texi:33085
  49146. 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."
  49147. msgstr ""
  49148. #. type: deffn
  49149. #: guix-git/doc/guix.texi:33091 guix-git/doc/guix.texi:33115
  49150. 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."
  49151. msgstr ""
  49152. #. type: deffn
  49153. #: guix-git/doc/guix.texi:33095
  49154. 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."
  49155. msgstr ""
  49156. #. type: deffn
  49157. #: guix-git/doc/guix.texi:33098
  49158. msgid "When @var{volatile-root?} is true, the root file system is writable but any changes to it are lost."
  49159. msgstr ""
  49160. #. type: deffn
  49161. #: guix-git/doc/guix.texi:33100
  49162. #, no-wrap
  49163. msgid "{Scheme Procedure} base-initrd @var{file-systems} @"
  49164. msgstr ""
  49165. #. type: deffn
  49166. #: guix-git/doc/guix.texi:33109
  49167. 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."
  49168. msgstr ""
  49169. #. type: deffn
  49170. #: guix-git/doc/guix.texi:33117
  49171. msgid "@var{qemu-networking?} and @var{volatile-root?} behaves as in @code{raw-initrd}."
  49172. msgstr ""
  49173. #. type: deffn
  49174. #: guix-git/doc/guix.texi:33122
  49175. 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."
  49176. msgstr ""
  49177. #. type: Plain text
  49178. #: guix-git/doc/guix.texi:33129
  49179. 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."
  49180. msgstr ""
  49181. #. type: deffn
  49182. #: guix-git/doc/guix.texi:33130
  49183. #, no-wrap
  49184. msgid "{Scheme Procedure} expression->initrd @var{exp} @"
  49185. msgstr ""
  49186. #. type: deffn
  49187. #: guix-git/doc/guix.texi:33136
  49188. msgid "[#:guile %guile-static-stripped] [#:name \"guile-initrd\"] Return as a file-like object a Linux initrd (a gzipped cpio archive) containing @var{guile} and that evaluates @var{exp}, a G-expression, upon booting. All the derivations referenced by @var{exp} are automatically copied to the initrd."
  49189. msgstr ""
  49190. #. type: cindex
  49191. #: guix-git/doc/guix.texi:33142
  49192. #, no-wrap
  49193. msgid "boot loader"
  49194. msgstr ""
  49195. #. type: Plain text
  49196. #: guix-git/doc/guix.texi:33149
  49197. 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."
  49198. msgstr ""
  49199. #. type: Plain text
  49200. #: guix-git/doc/guix.texi:33154
  49201. 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."
  49202. msgstr ""
  49203. #. type: deftp
  49204. #: guix-git/doc/guix.texi:33155
  49205. #, no-wrap
  49206. msgid "{Data Type} bootloader-configuration"
  49207. msgstr ""
  49208. #. type: deftp
  49209. #: guix-git/doc/guix.texi:33157
  49210. msgid "The type of a bootloader configuration declaration."
  49211. msgstr ""
  49212. #. type: cindex
  49213. #: guix-git/doc/guix.texi:33161
  49214. #, no-wrap
  49215. msgid "EFI, bootloader"
  49216. msgstr ""
  49217. #. type: cindex
  49218. #: guix-git/doc/guix.texi:33162
  49219. #, no-wrap
  49220. msgid "UEFI, bootloader"
  49221. msgstr ""
  49222. #. type: cindex
  49223. #: guix-git/doc/guix.texi:33163
  49224. #, no-wrap
  49225. msgid "BIOS, bootloader"
  49226. msgstr ""
  49227. #. type: table
  49228. #: guix-git/doc/guix.texi:33168
  49229. 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."
  49230. msgstr ""
  49231. #. type: cindex
  49232. #: guix-git/doc/guix.texi:33169
  49233. #, no-wrap
  49234. msgid "ARM, bootloaders"
  49235. msgstr ""
  49236. #. type: cindex
  49237. #: guix-git/doc/guix.texi:33170
  49238. #, no-wrap
  49239. msgid "AArch64, bootloaders"
  49240. msgstr ""
  49241. #. type: table
  49242. #: guix-git/doc/guix.texi:33175
  49243. 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}."
  49244. msgstr ""
  49245. #. type: table
  49246. #: guix-git/doc/guix.texi:33181
  49247. 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."
  49248. msgstr ""
  49249. #. type: table
  49250. #: guix-git/doc/guix.texi:33185
  49251. msgid "@code{grub-bootloader} allows you to boot in particular Intel-based machines in ``legacy'' BIOS mode."
  49252. msgstr ""
  49253. #. type: vindex
  49254. #: guix-git/doc/guix.texi:33186
  49255. #, no-wrap
  49256. msgid "grub-efi-netboot-bootloader"
  49257. msgstr ""
  49258. #. type: table
  49259. #: guix-git/doc/guix.texi:33190
  49260. 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."
  49261. msgstr ""
  49262. #. type: table
  49263. #: guix-git/doc/guix.texi:33196
  49264. 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."
  49265. msgstr ""
  49266. #. type: table
  49267. #: guix-git/doc/guix.texi:33205
  49268. 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}."
  49269. msgstr ""
  49270. #. type: table
  49271. #: guix-git/doc/guix.texi:33213
  49272. 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."
  49273. msgstr ""
  49274. #. type: table
  49275. #: guix-git/doc/guix.texi:33218
  49276. 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."
  49277. msgstr ""
  49278. #. type: table
  49279. #: guix-git/doc/guix.texi:33222
  49280. 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}."
  49281. msgstr ""
  49282. #. type: table
  49283. #: guix-git/doc/guix.texi:33227
  49284. 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."
  49285. msgstr ""
  49286. #. type: table
  49287. #: guix-git/doc/guix.texi:33232
  49288. 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}."
  49289. msgstr ""
  49290. #. type: table
  49291. #: guix-git/doc/guix.texi:33236
  49292. msgid "This is a string denoting the target onto which to install the bootloader."
  49293. msgstr ""
  49294. #. type: table
  49295. #: guix-git/doc/guix.texi:33245
  49296. 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."
  49297. msgstr ""
  49298. #. type: item
  49299. #: guix-git/doc/guix.texi:33246
  49300. #, no-wrap
  49301. msgid "@code{menu-entries} (default: @code{()})"
  49302. msgstr ""
  49303. #. type: table
  49304. #: guix-git/doc/guix.texi:33250
  49305. 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."
  49306. msgstr ""
  49307. #. type: item
  49308. #: guix-git/doc/guix.texi:33251
  49309. #, no-wrap
  49310. msgid "@code{default-entry} (default: @code{0})"
  49311. msgstr ""
  49312. #. type: table
  49313. #: guix-git/doc/guix.texi:33254
  49314. msgid "The index of the default boot menu entry. Index 0 is for the entry of the current system."
  49315. msgstr ""
  49316. #. type: item
  49317. #: guix-git/doc/guix.texi:33255
  49318. #, no-wrap
  49319. msgid "@code{timeout} (default: @code{5})"
  49320. msgstr ""
  49321. #. type: table
  49322. #: guix-git/doc/guix.texi:33258
  49323. msgid "The number of seconds to wait for keyboard input before booting. Set to 0 to boot immediately, and to -1 to wait indefinitely."
  49324. msgstr ""
  49325. #. type: cindex
  49326. #: guix-git/doc/guix.texi:33259
  49327. #, no-wrap
  49328. msgid "keyboard layout, for the bootloader"
  49329. msgstr ""
  49330. #. type: table
  49331. #: guix-git/doc/guix.texi:33263
  49332. msgid "If this is @code{#f}, the bootloader's menu (if any) uses the default keyboard layout, usually US@tie{}English (``qwerty'')."
  49333. msgstr ""
  49334. #. type: table
  49335. #: guix-git/doc/guix.texi:33266
  49336. msgid "Otherwise, this must be a @code{keyboard-layout} object (@pxref{Keyboard Layout})."
  49337. msgstr ""
  49338. #. type: quotation
  49339. #: guix-git/doc/guix.texi:33270
  49340. msgid "This option is currently ignored by bootloaders other than @code{grub} and @code{grub-efi}."
  49341. msgstr ""
  49342. #. type: item
  49343. #: guix-git/doc/guix.texi:33272
  49344. #, no-wrap
  49345. msgid "@code{theme} (default: @var{#f})"
  49346. msgstr ""
  49347. #. type: table
  49348. #: guix-git/doc/guix.texi:33276
  49349. 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."
  49350. msgstr ""
  49351. #. type: item
  49352. #: guix-git/doc/guix.texi:33277
  49353. #, no-wrap
  49354. msgid "@code{terminal-outputs} (default: @code{'(gfxterm)})"
  49355. msgstr ""
  49356. #. type: table
  49357. #: guix-git/doc/guix.texi:33284
  49358. 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})."
  49359. msgstr ""
  49360. #. type: item
  49361. #: guix-git/doc/guix.texi:33285
  49362. #, no-wrap
  49363. msgid "@code{terminal-inputs} (default: @code{'()})"
  49364. msgstr ""
  49365. #. type: table
  49366. #: guix-git/doc/guix.texi:33293
  49367. 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})."
  49368. msgstr ""
  49369. #. type: item
  49370. #: guix-git/doc/guix.texi:33294
  49371. #, no-wrap
  49372. msgid "@code{serial-unit} (default: @code{#f})"
  49373. msgstr ""
  49374. #. type: table
  49375. #: guix-git/doc/guix.texi:33298
  49376. 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})."
  49377. msgstr ""
  49378. #. type: item
  49379. #: guix-git/doc/guix.texi:33299
  49380. #, no-wrap
  49381. msgid "@code{serial-speed} (default: @code{#f})"
  49382. msgstr ""
  49383. #. type: table
  49384. #: guix-git/doc/guix.texi:33303
  49385. 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})."
  49386. msgstr ""
  49387. #. type: cindex
  49388. #: guix-git/doc/guix.texi:33307
  49389. #, no-wrap
  49390. msgid "dual boot"
  49391. msgstr ""
  49392. #. type: cindex
  49393. #: guix-git/doc/guix.texi:33308
  49394. #, no-wrap
  49395. msgid "boot menu"
  49396. msgstr ""
  49397. #. type: Plain text
  49398. #: guix-git/doc/guix.texi:33314
  49399. 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:"
  49400. msgstr ""
  49401. #. type: lisp
  49402. #: guix-git/doc/guix.texi:33321
  49403. #, no-wrap
  49404. msgid ""
  49405. "(menu-entry\n"
  49406. " (label \"The Other Distro\")\n"
  49407. " (linux \"/boot/old/vmlinux-2.6.32\")\n"
  49408. " (linux-arguments '(\"root=/dev/sda2\"))\n"
  49409. " (initrd \"/boot/old/initrd\"))\n"
  49410. msgstr ""
  49411. #. type: Plain text
  49412. #: guix-git/doc/guix.texi:33324
  49413. msgid "Details below."
  49414. msgstr ""
  49415. #. type: deftp
  49416. #: guix-git/doc/guix.texi:33325
  49417. #, no-wrap
  49418. msgid "{Data Type} menu-entry"
  49419. msgstr ""
  49420. #. type: deftp
  49421. #: guix-git/doc/guix.texi:33327
  49422. msgid "The type of an entry in the bootloader menu."
  49423. msgstr ""
  49424. #. type: table
  49425. #: guix-git/doc/guix.texi:33332
  49426. msgid "The label to show in the menu---e.g., @code{\"GNU\"}."
  49427. msgstr ""
  49428. #. type: item
  49429. #: guix-git/doc/guix.texi:33333
  49430. #, no-wrap
  49431. msgid "@code{linux} (default: @code{#f})"
  49432. msgstr ""
  49433. #. type: table
  49434. #: guix-git/doc/guix.texi:33335
  49435. msgid "The Linux kernel image to boot, for example:"
  49436. msgstr ""
  49437. #. type: lisp
  49438. #: guix-git/doc/guix.texi:33338
  49439. #, no-wrap
  49440. msgid "(file-append linux-libre \"/bzImage\")\n"
  49441. msgstr ""
  49442. #. type: table
  49443. #: guix-git/doc/guix.texi:33343
  49444. 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:"
  49445. msgstr ""
  49446. #. type: example
  49447. #: guix-git/doc/guix.texi:33346
  49448. #, no-wrap
  49449. msgid "\"(hd0,msdos1)/boot/vmlinuz\"\n"
  49450. msgstr ""
  49451. #. type: table
  49452. #: guix-git/doc/guix.texi:33350
  49453. msgid "If the device is specified explicitly as above, then the @code{device} field is ignored entirely."
  49454. msgstr ""
  49455. #. type: item
  49456. #: guix-git/doc/guix.texi:33351
  49457. #, no-wrap
  49458. msgid "@code{linux-arguments} (default: @code{()})"
  49459. msgstr ""
  49460. #. type: table
  49461. #: guix-git/doc/guix.texi:33354
  49462. msgid "The list of extra Linux kernel command-line arguments---e.g., @code{(\"console=ttyS0\")}."
  49463. msgstr ""
  49464. #. type: item
  49465. #: guix-git/doc/guix.texi:33355
  49466. #, no-wrap
  49467. msgid "@code{initrd} (default: @code{#f})"
  49468. msgstr ""
  49469. #. type: table
  49470. #: guix-git/doc/guix.texi:33358
  49471. msgid "A G-Expression or string denoting the file name of the initial RAM disk to use (@pxref{G-Expressions})."
  49472. msgstr ""
  49473. #. type: item
  49474. #: guix-git/doc/guix.texi:33359
  49475. #, no-wrap
  49476. msgid "@code{device} (default: @code{#f})"
  49477. msgstr ""
  49478. #. type: table
  49479. #: guix-git/doc/guix.texi:33362
  49480. 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})."
  49481. msgstr ""
  49482. #. type: table
  49483. #: guix-git/doc/guix.texi:33368
  49484. 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}."
  49485. msgstr ""
  49486. #. type: item
  49487. #: guix-git/doc/guix.texi:33369
  49488. #, no-wrap
  49489. msgid "@code{multiboot-kernel} (default: @code{#f})"
  49490. msgstr ""
  49491. #. type: table
  49492. #: guix-git/doc/guix.texi:33373
  49493. 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:"
  49494. msgstr ""
  49495. #. type: lisp
  49496. #: guix-git/doc/guix.texi:33376
  49497. #, no-wrap
  49498. msgid "(file-append mach \"/boot/gnumach\")\n"
  49499. msgstr ""
  49500. #. type: item
  49501. #: guix-git/doc/guix.texi:33378
  49502. #, no-wrap
  49503. msgid "@code{multiboot-arguments} (default: @code{()})"
  49504. msgstr ""
  49505. #. type: table
  49506. #: guix-git/doc/guix.texi:33380
  49507. msgid "The list of extra command-line arguments for the multiboot-kernel."
  49508. msgstr ""
  49509. #. type: item
  49510. #: guix-git/doc/guix.texi:33381
  49511. #, no-wrap
  49512. msgid "@code{multiboot-modules} (default: @code{()})"
  49513. msgstr ""
  49514. #. type: table
  49515. #: guix-git/doc/guix.texi:33383
  49516. msgid "The list of commands for loading Multiboot modules. For example:"
  49517. msgstr ""
  49518. #. type: lisp
  49519. #: guix-git/doc/guix.texi:33389
  49520. #, no-wrap
  49521. msgid ""
  49522. "(list (list (file-append hurd \"/hurd/ext2fs.static\") \"ext2fs\"\n"
  49523. " @dots{})\n"
  49524. " (list (file-append libc \"/lib/ld.so.1\") \"exec\"\n"
  49525. " @dots{}))\n"
  49526. msgstr ""
  49527. #. type: cindex
  49528. #: guix-git/doc/guix.texi:33394 guix-git/doc/guix.texi:33453
  49529. #, no-wrap
  49530. msgid "HDPI"
  49531. msgstr ""
  49532. #. type: cindex
  49533. #: guix-git/doc/guix.texi:33395 guix-git/doc/guix.texi:33454
  49534. #, no-wrap
  49535. msgid "HiDPI"
  49536. msgstr ""
  49537. #. type: cindex
  49538. #: guix-git/doc/guix.texi:33396 guix-git/doc/guix.texi:33455
  49539. #, no-wrap
  49540. msgid "resolution"
  49541. msgstr ""
  49542. #. type: Plain text
  49543. #: guix-git/doc/guix.texi:33400
  49544. msgid "For now only GRUB has theme support. GRUB themes are created using the @code{grub-theme} form, which is not fully documented yet."
  49545. msgstr ""
  49546. #. type: deftp
  49547. #: guix-git/doc/guix.texi:33401
  49548. #, no-wrap
  49549. msgid "{Data Type} grub-theme"
  49550. msgstr ""
  49551. #. type: deftp
  49552. #: guix-git/doc/guix.texi:33403
  49553. msgid "Data type representing the configuration of the GRUB theme."
  49554. msgstr ""
  49555. #. type: item
  49556. #: guix-git/doc/guix.texi:33405
  49557. #, no-wrap
  49558. msgid "@code{gfxmode} (default: @code{'(\"auto\")})"
  49559. msgstr ""
  49560. #. type: table
  49561. #: guix-git/doc/guix.texi:33408
  49562. msgid "The GRUB @code{gfxmode} to set (a list of screen resolution strings, @pxref{gfxmode,,, grub, GNU GRUB manual})."
  49563. msgstr ""
  49564. #. type: deffn
  49565. #: guix-git/doc/guix.texi:33411
  49566. #, no-wrap
  49567. msgid "{Scheme Procedure} grub-theme"
  49568. msgstr ""
  49569. #. type: deffn
  49570. #: guix-git/doc/guix.texi:33415
  49571. msgid "Return the default GRUB theme used by the operating system if no @code{theme} field is specified in @code{bootloader-configuration} record."
  49572. msgstr ""
  49573. #. type: deffn
  49574. #: guix-git/doc/guix.texi:33418
  49575. msgid "It comes with a fancy background image displaying the GNU and Guix logos."
  49576. msgstr ""
  49577. #. type: Plain text
  49578. #: guix-git/doc/guix.texi:33422
  49579. msgid "For example, to override the default resolution, you may use something like"
  49580. msgstr ""
  49581. #. type: lisp
  49582. #: guix-git/doc/guix.texi:33430
  49583. #, no-wrap
  49584. msgid ""
  49585. "(bootloader\n"
  49586. " (bootloader-configuration\n"
  49587. " ;; @dots{}\n"
  49588. " (theme (grub-theme\n"
  49589. " (inherit (grub-theme))\n"
  49590. " (gfxmode '(\"1024x786x32\" \"auto\"))))))\n"
  49591. msgstr ""
  49592. #. type: section
  49593. #: guix-git/doc/guix.texi:33433
  49594. #, no-wrap
  49595. msgid "Invoking @code{guix system}"
  49596. msgstr ""
  49597. #. type: Plain text
  49598. #: guix-git/doc/guix.texi:33438
  49599. 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:"
  49600. msgstr ""
  49601. #. type: example
  49602. #: guix-git/doc/guix.texi:33441
  49603. #, no-wrap
  49604. msgid "guix system @var{options}@dots{} @var{action} @var{file}\n"
  49605. msgstr ""
  49606. #. type: Plain text
  49607. #: guix-git/doc/guix.texi:33447
  49608. 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:"
  49609. msgstr ""
  49610. #. type: item
  49611. #: guix-git/doc/guix.texi:33449
  49612. #, no-wrap
  49613. msgid "search"
  49614. msgstr ""
  49615. #. type: table
  49616. #: guix-git/doc/guix.texi:33452
  49617. msgid "Display available service type definitions that match the given regular expressions, sorted by relevance:"
  49618. msgstr ""
  49619. #. type: example
  49620. #: guix-git/doc/guix.texi:33474
  49621. #, no-wrap
  49622. msgid ""
  49623. "$ guix system search console\n"
  49624. "name: console-fonts\n"
  49625. "location: gnu/services/base.scm:806:2\n"
  49626. "extends: shepherd-root\n"
  49627. "description: Install the given fonts on the specified ttys (fonts are per\n"
  49628. "+ virtual console on GNU/Linux). The value of this service is a list of\n"
  49629. "+ tty/font pairs. The font can be the name of a font provided by the `kbd'\n"
  49630. "+ package or any valid argument to `setfont', as in this example:\n"
  49631. "+\n"
  49632. "+ '((\"tty1\" . \"LatGrkCyr-8x16\")\n"
  49633. "+ (\"tty2\" . (file-append\n"
  49634. "+ font-tamzen\n"
  49635. "+ \"/share/kbd/consolefonts/TamzenForPowerline10x20.psf\"))\n"
  49636. "+ (\"tty3\" . (file-append\n"
  49637. "+ font-terminus\n"
  49638. "+ \"/share/consolefonts/ter-132n\"))) ; for HDPI\n"
  49639. "relevance: 9\n"
  49640. "\n"
  49641. msgstr ""
  49642. #. type: example
  49643. #: guix-git/doc/guix.texi:33480
  49644. #, no-wrap
  49645. msgid ""
  49646. "name: mingetty\n"
  49647. "location: gnu/services/base.scm:1190:2\n"
  49648. "extends: shepherd-root\n"
  49649. "description: Provide console login using the `mingetty' program.\n"
  49650. "relevance: 2\n"
  49651. "\n"
  49652. msgstr ""
  49653. #. type: example
  49654. #: guix-git/doc/guix.texi:33487
  49655. #, no-wrap
  49656. msgid ""
  49657. "name: login\n"
  49658. "location: gnu/services/base.scm:860:2\n"
  49659. "extends: pam\n"
  49660. "description: Provide a console log-in service as specified by its\n"
  49661. "+ configuration value, a `login-configuration' object.\n"
  49662. "relevance: 2\n"
  49663. "\n"
  49664. msgstr ""
  49665. #. type: example
  49666. #: guix-git/doc/guix.texi:33489
  49667. #, no-wrap
  49668. msgid "@dots{}\n"
  49669. msgstr ""
  49670. #. type: table
  49671. #: guix-git/doc/guix.texi:33494
  49672. 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})."
  49673. msgstr ""
  49674. #. type: item
  49675. #: guix-git/doc/guix.texi:33495
  49676. #, no-wrap
  49677. msgid "reconfigure"
  49678. msgstr ""
  49679. #. type: table
  49680. #: guix-git/doc/guix.texi:33500
  49681. 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.}."
  49682. msgstr ""
  49683. #. type: quotation
  49684. #: guix-git/doc/guix.texi:33508
  49685. 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."
  49686. msgstr ""
  49687. #. type: table
  49688. #: guix-git/doc/guix.texi:33516
  49689. 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})."
  49690. msgstr ""
  49691. #. type: table
  49692. #: guix-git/doc/guix.texi:33522
  49693. 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})."
  49694. msgstr ""
  49695. #. type: table
  49696. #: guix-git/doc/guix.texi:33527
  49697. 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."
  49698. msgstr ""
  49699. #. type: cindex
  49700. #: guix-git/doc/guix.texi:33528 guix-git/doc/guix.texi:33853
  49701. #: guix-git/doc/guix.texi:34805
  49702. #, no-wrap
  49703. msgid "provenance tracking, of the operating system"
  49704. msgstr ""
  49705. #. type: table
  49706. #: guix-git/doc/guix.texi:33533
  49707. 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:"
  49708. msgstr ""
  49709. #. type: example
  49710. #: guix-git/doc/guix.texi:33536
  49711. #, no-wrap
  49712. msgid "guix system describe\n"
  49713. msgstr ""
  49714. #. type: table
  49715. #: guix-git/doc/guix.texi:33542
  49716. 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:"
  49717. msgstr ""
  49718. #. type: example
  49719. #: guix-git/doc/guix.texi:33548
  49720. #, no-wrap
  49721. msgid ""
  49722. "guix time-machine \\\n"
  49723. " -C /var/guix/profiles/system-@var{n}-link/channels.scm -- \\\n"
  49724. " system reconfigure \\\n"
  49725. " /var/guix/profiles/system-@var{n}-link/configuration.scm\n"
  49726. msgstr ""
  49727. #. type: table
  49728. #: guix-git/doc/guix.texi:33554
  49729. 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."
  49730. msgstr ""
  49731. #. type: table
  49732. #: guix-git/doc/guix.texi:33560
  49733. 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}."
  49734. msgstr ""
  49735. #. type: item
  49736. #: guix-git/doc/guix.texi:33561
  49737. #, no-wrap
  49738. msgid "switch-generation"
  49739. msgstr ""
  49740. #. type: table
  49741. #: guix-git/doc/guix.texi:33570
  49742. 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."
  49743. msgstr ""
  49744. #. type: table
  49745. #: guix-git/doc/guix.texi:33574
  49746. msgid "The bootloader itself is not being reinstalled when using this command. Thus, the installed bootloader is used with an updated configuration file."
  49747. msgstr ""
  49748. #. type: table
  49749. #: guix-git/doc/guix.texi:33578
  49750. msgid "The target generation can be specified explicitly by its generation number. For example, the following invocation would switch to system generation 7:"
  49751. msgstr ""
  49752. #. type: example
  49753. #: guix-git/doc/guix.texi:33581
  49754. #, no-wrap
  49755. msgid "guix system switch-generation 7\n"
  49756. msgstr ""
  49757. #. type: table
  49758. #: guix-git/doc/guix.texi:33589
  49759. 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:"
  49760. msgstr ""
  49761. #. type: example
  49762. #: guix-git/doc/guix.texi:33592
  49763. #, no-wrap
  49764. msgid "guix system switch-generation -- -1\n"
  49765. msgstr ""
  49766. #. type: table
  49767. #: guix-git/doc/guix.texi:33600
  49768. 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."
  49769. msgstr ""
  49770. #. type: table
  49771. #: guix-git/doc/guix.texi:33602
  49772. msgid "This action will fail if the specified generation does not exist."
  49773. msgstr ""
  49774. #. type: item
  49775. #: guix-git/doc/guix.texi:33603
  49776. #, no-wrap
  49777. msgid "roll-back"
  49778. msgstr ""
  49779. #. type: table
  49780. #: guix-git/doc/guix.texi:33609
  49781. 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}."
  49782. msgstr ""
  49783. #. type: table
  49784. #: guix-git/doc/guix.texi:33613
  49785. msgid "Currently, as with @command{switch-generation}, you must reboot after running this action to actually start using the preceding system generation."
  49786. msgstr ""
  49787. #. type: item
  49788. #: guix-git/doc/guix.texi:33614
  49789. #, no-wrap
  49790. msgid "delete-generations"
  49791. msgstr ""
  49792. #. type: cindex
  49793. #: guix-git/doc/guix.texi:33615
  49794. #, no-wrap
  49795. msgid "deleting system generations"
  49796. msgstr ""
  49797. #. type: cindex
  49798. #: guix-git/doc/guix.texi:33616
  49799. #, no-wrap
  49800. msgid "saving space"
  49801. msgstr ""
  49802. #. type: table
  49803. #: guix-git/doc/guix.texi:33620
  49804. msgid "Delete system generations, making them candidates for garbage collection (@pxref{Invoking guix gc}, for information on how to run the ``garbage collector'')."
  49805. msgstr ""
  49806. #. type: table
  49807. #: guix-git/doc/guix.texi:33624
  49808. 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:"
  49809. msgstr ""
  49810. #. type: example
  49811. #: guix-git/doc/guix.texi:33627
  49812. #, no-wrap
  49813. msgid "guix system delete-generations\n"
  49814. msgstr ""
  49815. #. type: table
  49816. #: guix-git/doc/guix.texi:33631
  49817. 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:"
  49818. msgstr ""
  49819. #. type: example
  49820. #: guix-git/doc/guix.texi:33634
  49821. #, no-wrap
  49822. msgid "guix system delete-generations 2m\n"
  49823. msgstr ""
  49824. #. type: table
  49825. #: guix-git/doc/guix.texi:33639
  49826. 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."
  49827. msgstr ""
  49828. #. type: table
  49829. #: guix-git/doc/guix.texi:33644
  49830. 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."
  49831. msgstr ""
  49832. #. type: item
  49833. #: guix-git/doc/guix.texi:33645
  49834. #, no-wrap
  49835. msgid "init"
  49836. msgstr ""
  49837. #. type: table
  49838. #: guix-git/doc/guix.texi:33649
  49839. 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:"
  49840. msgstr ""
  49841. #. type: example
  49842. #: guix-git/doc/guix.texi:33652
  49843. #, no-wrap
  49844. msgid "guix system init my-os-config.scm /mnt\n"
  49845. msgstr ""
  49846. #. type: table
  49847. #: guix-git/doc/guix.texi:33659
  49848. 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."
  49849. msgstr ""
  49850. #. type: table
  49851. #: guix-git/doc/guix.texi:33663
  49852. msgid "This command also installs bootloader on the target specified in @file{my-os-config}, unless the @option{--no-bootloader} option was passed."
  49853. msgstr ""
  49854. #. type: item
  49855. #: guix-git/doc/guix.texi:33664
  49856. #, no-wrap
  49857. msgid "vm"
  49858. msgstr ""
  49859. #. type: cindex
  49860. #: guix-git/doc/guix.texi:33665 guix-git/doc/guix.texi:34226
  49861. #, no-wrap
  49862. msgid "virtual machine"
  49863. msgstr ""
  49864. #. type: cindex
  49865. #: guix-git/doc/guix.texi:33666
  49866. #, no-wrap
  49867. msgid "VM"
  49868. msgstr ""
  49869. #. type: anchor{#1}
  49870. #: guix-git/doc/guix.texi:33670
  49871. msgid "guix system vm"
  49872. msgstr ""
  49873. #. type: table
  49874. #: guix-git/doc/guix.texi:33670
  49875. msgid "Build a virtual machine that contains the operating system declared in @var{file}, and return a script to run that virtual machine (VM)."
  49876. msgstr ""
  49877. #. type: quotation
  49878. #: guix-git/doc/guix.texi:33678
  49879. 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})."
  49880. msgstr ""
  49881. #. type: table
  49882. #: guix-git/doc/guix.texi:33683
  49883. 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:"
  49884. msgstr ""
  49885. #. type: example
  49886. #: guix-git/doc/guix.texi:33686
  49887. #, no-wrap
  49888. msgid "$ /gnu/store/@dots{}-run-vm.sh -m 1024 -smp 2 -nic user,model=virtio-net-pci\n"
  49889. msgstr ""
  49890. #. type: table
  49891. #: guix-git/doc/guix.texi:33689
  49892. msgid "The VM shares its store with the host system."
  49893. msgstr ""
  49894. #. type: table
  49895. #: guix-git/doc/guix.texi:33694
  49896. 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."
  49897. msgstr ""
  49898. #. type: table
  49899. #: guix-git/doc/guix.texi:33698
  49900. 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:"
  49901. msgstr ""
  49902. #. type: example
  49903. #: guix-git/doc/guix.texi:33702
  49904. #, no-wrap
  49905. msgid ""
  49906. "guix system vm my-config.scm \\\n"
  49907. " --expose=$HOME --share=$HOME/tmp=/exchange\n"
  49908. msgstr ""
  49909. #. type: table
  49910. #: guix-git/doc/guix.texi:33707
  49911. 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."
  49912. msgstr ""
  49913. #. type: table
  49914. #: guix-git/doc/guix.texi:33713
  49915. 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."
  49916. msgstr ""
  49917. #. type: cindex
  49918. #: guix-git/doc/guix.texi:33714
  49919. #, no-wrap
  49920. msgid "System images, creation in various formats"
  49921. msgstr ""
  49922. #. type: cindex
  49923. #: guix-git/doc/guix.texi:33715
  49924. #, no-wrap
  49925. msgid "Creating system images in various formats"
  49926. msgstr ""
  49927. #. type: item
  49928. #: guix-git/doc/guix.texi:33716
  49929. #, no-wrap
  49930. msgid "image"
  49931. msgstr ""
  49932. #. type: itemx
  49933. #: guix-git/doc/guix.texi:33717
  49934. #, no-wrap
  49935. msgid "docker-image"
  49936. msgstr ""
  49937. #. type: table
  49938. #: guix-git/doc/guix.texi:33725
  49939. 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}."
  49940. msgstr ""
  49941. #. type: cindex
  49942. #: guix-git/doc/guix.texi:33726
  49943. #, no-wrap
  49944. msgid "image, creating disk images"
  49945. msgstr ""
  49946. #. type: table
  49947. #: guix-git/doc/guix.texi:33738
  49948. 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:"
  49949. msgstr ""
  49950. #. type: example
  49951. #: guix-git/doc/guix.texi:33746
  49952. #, no-wrap
  49953. msgid ""
  49954. "image=$(guix system image --image-type=qcow2 \\\n"
  49955. " gnu/system/examples/lightweight-desktop.tmpl)\n"
  49956. "cp $image /tmp/my-image.qcow2\n"
  49957. "chmod +w /tmp/my-image.qcow2\n"
  49958. "qemu-system-x86_64 -enable-kvm -hda /tmp/my-image.qcow2 -m 1000 \\\n"
  49959. " -bios $(guix build ovmf)/share/firmware/ovmf_x64.bin\n"
  49960. msgstr ""
  49961. #. type: table
  49962. #: guix-git/doc/guix.texi:33752
  49963. 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:"
  49964. msgstr ""
  49965. #. type: example
  49966. #: guix-git/doc/guix.texi:33755
  49967. #, no-wrap
  49968. msgid "# dd if=$(guix system image my-os.scm) of=/dev/sdc status=progress\n"
  49969. msgstr ""
  49970. #. type: table
  49971. #: guix-git/doc/guix.texi:33759
  49972. msgid "The @code{--list-image-types} command lists all the available image types."
  49973. msgstr ""
  49974. #. type: cindex
  49975. #: guix-git/doc/guix.texi:33760
  49976. #, no-wrap
  49977. msgid "creating virtual machine images"
  49978. msgstr ""
  49979. #. type: table
  49980. #: guix-git/doc/guix.texi:33769
  49981. 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)."
  49982. msgstr ""
  49983. #. type: cindex
  49984. #: guix-git/doc/guix.texi:33770
  49985. #, no-wrap
  49986. msgid "docker-image, creating docker images"
  49987. msgstr ""
  49988. #. type: table
  49989. #: guix-git/doc/guix.texi:33776
  49990. 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:"
  49991. msgstr ""
  49992. #. type: example
  49993. #: guix-git/doc/guix.texi:33781
  49994. #, no-wrap
  49995. msgid ""
  49996. "image_id=\"$(docker load < guix-system-docker-image.tar.gz)\"\n"
  49997. "container_id=\"$(docker create $image_id)\"\n"
  49998. "docker start $container_id\n"
  49999. msgstr ""
  50000. #. type: table
  50001. #: guix-git/doc/guix.texi:33788
  50002. 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}:"
  50003. msgstr ""
  50004. #. type: example
  50005. #: guix-git/doc/guix.texi:33791
  50006. #, no-wrap
  50007. msgid "docker exec -ti $container_id /run/current-system/profile/bin/bash --login\n"
  50008. msgstr ""
  50009. #. type: table
  50010. #: guix-git/doc/guix.texi:33798
  50011. 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}."
  50012. msgstr ""
  50013. #. type: table
  50014. #: guix-git/doc/guix.texi:33802
  50015. 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."
  50016. msgstr ""
  50017. #. type: table
  50018. #: guix-git/doc/guix.texi:33810
  50019. 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."
  50020. msgstr ""
  50021. #. type: table
  50022. #: guix-git/doc/guix.texi:33814
  50023. 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."
  50024. msgstr ""
  50025. #. type: table
  50026. #: guix-git/doc/guix.texi:33818
  50027. 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:"
  50028. msgstr ""
  50029. #. type: example
  50030. #: guix-git/doc/guix.texi:33822
  50031. #, no-wrap
  50032. msgid ""
  50033. "guix system container my-config.scm \\\n"
  50034. " --expose=$HOME --share=$HOME/tmp=/exchange\n"
  50035. msgstr ""
  50036. #. type: quotation
  50037. #: guix-git/doc/guix.texi:33826
  50038. msgid "This option requires Linux-libre 3.19 or newer."
  50039. msgstr ""
  50040. #. type: Plain text
  50041. #: guix-git/doc/guix.texi:33833
  50042. 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:"
  50043. msgstr ""
  50044. #. type: table
  50045. #: guix-git/doc/guix.texi:33842
  50046. 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})."
  50047. msgstr ""
  50048. #. type: table
  50049. #: guix-git/doc/guix.texi:33847
  50050. msgid "Attempt to build for @var{system} instead of the host system type. This works as per @command{guix build} (@pxref{Invoking guix build})."
  50051. msgstr ""
  50052. #. type: table
  50053. #: guix-git/doc/guix.texi:33852
  50054. msgid "Return the derivation file name of the given operating system without building anything."
  50055. msgstr ""
  50056. #. type: table
  50057. #: guix-git/doc/guix.texi:33861
  50058. 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:"
  50059. msgstr ""
  50060. #. type: example
  50061. #: guix-git/doc/guix.texi:33864
  50062. #, no-wrap
  50063. msgid "guix system image -t qcow2 --save-provenance config.scm\n"
  50064. msgstr ""
  50065. #. type: table
  50066. #: guix-git/doc/guix.texi:33871
  50067. 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."
  50068. msgstr ""
  50069. #. type: item
  50070. #: guix-git/doc/guix.texi:33872
  50071. #, no-wrap
  50072. msgid "--image-type=@var{type}"
  50073. msgstr ""
  50074. #. type: table
  50075. #: guix-git/doc/guix.texi:33875
  50076. msgid "For the @code{image} action, create an image with given @var{type}."
  50077. msgstr ""
  50078. #. type: table
  50079. #: guix-git/doc/guix.texi:33878
  50080. msgid "When this option is omitted, @command{guix system} uses the @code{efi-raw} image type."
  50081. msgstr ""
  50082. #. type: cindex
  50083. #: guix-git/doc/guix.texi:33879
  50084. #, no-wrap
  50085. msgid "ISO-9660 format"
  50086. msgstr ""
  50087. #. type: cindex
  50088. #: guix-git/doc/guix.texi:33880
  50089. #, no-wrap
  50090. msgid "CD image format"
  50091. msgstr ""
  50092. #. type: cindex
  50093. #: guix-git/doc/guix.texi:33881
  50094. #, no-wrap
  50095. msgid "DVD image format"
  50096. msgstr ""
  50097. #. type: table
  50098. #: guix-git/doc/guix.texi:33884
  50099. msgid "@option{--image-type=iso9660} produces an ISO-9660 image, suitable for burning on CDs and DVDs."
  50100. msgstr ""
  50101. #. type: item
  50102. #: guix-git/doc/guix.texi:33885
  50103. #, no-wrap
  50104. msgid "--image-size=@var{size}"
  50105. msgstr ""
  50106. #. type: table
  50107. #: guix-git/doc/guix.texi:33890
  50108. 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})."
  50109. msgstr ""
  50110. #. type: table
  50111. #: guix-git/doc/guix.texi:33894
  50112. 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}."
  50113. msgstr ""
  50114. #. type: table
  50115. #: guix-git/doc/guix.texi:33899
  50116. msgid "For the @code{container} action, allow containers to access the host network, that is, do not create a network namespace."
  50117. msgstr ""
  50118. #. type: item
  50119. #: guix-git/doc/guix.texi:33905
  50120. #, no-wrap
  50121. msgid "--skip-checks"
  50122. msgstr ""
  50123. #. type: table
  50124. #: guix-git/doc/guix.texi:33907
  50125. msgid "Skip pre-installation safety checks."
  50126. msgstr ""
  50127. #. type: table
  50128. #: guix-git/doc/guix.texi:33914
  50129. 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."
  50130. msgstr ""
  50131. #. type: table
  50132. #: guix-git/doc/guix.texi:33917
  50133. msgid "Instruct @command{guix system reconfigure} to allow system downgrades."
  50134. msgstr ""
  50135. #. type: table
  50136. #: guix-git/doc/guix.texi:33925
  50137. 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."
  50138. msgstr ""
  50139. #. type: cindex
  50140. #: guix-git/doc/guix.texi:33931
  50141. #, no-wrap
  50142. msgid "on-error"
  50143. msgstr ""
  50144. #. type: cindex
  50145. #: guix-git/doc/guix.texi:33932
  50146. #, no-wrap
  50147. msgid "on-error strategy"
  50148. msgstr ""
  50149. #. type: cindex
  50150. #: guix-git/doc/guix.texi:33933
  50151. #, no-wrap
  50152. msgid "error strategy"
  50153. msgstr ""
  50154. #. type: item
  50155. #: guix-git/doc/guix.texi:33934
  50156. #, no-wrap
  50157. msgid "--on-error=@var{strategy}"
  50158. msgstr ""
  50159. #. type: table
  50160. #: guix-git/doc/guix.texi:33937
  50161. msgid "Apply @var{strategy} when an error occurs when reading @var{file}. @var{strategy} may be one of the following:"
  50162. msgstr ""
  50163. #. type: item
  50164. #: guix-git/doc/guix.texi:33939
  50165. #, no-wrap
  50166. msgid "nothing-special"
  50167. msgstr ""
  50168. #. type: table
  50169. #: guix-git/doc/guix.texi:33941
  50170. msgid "Report the error concisely and exit. This is the default strategy."
  50171. msgstr ""
  50172. #. type: item
  50173. #: guix-git/doc/guix.texi:33942
  50174. #, no-wrap
  50175. msgid "backtrace"
  50176. msgstr ""
  50177. #. type: table
  50178. #: guix-git/doc/guix.texi:33944
  50179. msgid "Likewise, but also display a backtrace."
  50180. msgstr ""
  50181. #. type: item
  50182. #: guix-git/doc/guix.texi:33945
  50183. #, no-wrap
  50184. msgid "debug"
  50185. msgstr ""
  50186. #. type: table
  50187. #: guix-git/doc/guix.texi:33951
  50188. 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."
  50189. msgstr ""
  50190. #. type: Plain text
  50191. #: guix-git/doc/guix.texi:33958
  50192. 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:"
  50193. msgstr ""
  50194. #. type: item
  50195. #: guix-git/doc/guix.texi:33961
  50196. #, no-wrap
  50197. msgid "describe"
  50198. msgstr ""
  50199. #. type: table
  50200. #: guix-git/doc/guix.texi:33964
  50201. msgid "Describe the current system generation: its file name, the kernel and bootloader used, etc., as well as provenance information when available."
  50202. msgstr ""
  50203. #. type: item
  50204. #: guix-git/doc/guix.texi:33965
  50205. #, no-wrap
  50206. msgid "list-generations"
  50207. msgstr ""
  50208. #. type: table
  50209. #: guix-git/doc/guix.texi:33970
  50210. 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})."
  50211. msgstr ""
  50212. #. type: table
  50213. #: guix-git/doc/guix.texi:33975
  50214. 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:"
  50215. msgstr ""
  50216. #. type: example
  50217. #: guix-git/doc/guix.texi:33978
  50218. #, no-wrap
  50219. msgid "$ guix system list-generations 10d\n"
  50220. msgstr ""
  50221. #. type: Plain text
  50222. #: guix-git/doc/guix.texi:33985
  50223. 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:"
  50224. msgstr ""
  50225. #. type: anchor{#1}
  50226. #: guix-git/doc/guix.texi:33987
  50227. msgid "system-extension-graph"
  50228. msgstr ""
  50229. #. type: item
  50230. #: guix-git/doc/guix.texi:33989
  50231. #, no-wrap
  50232. msgid "extension-graph"
  50233. msgstr ""
  50234. #. type: table
  50235. #: guix-git/doc/guix.texi:33996
  50236. 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}}):"
  50237. msgstr ""
  50238. #. type: table
  50239. #: guix-git/doc/guix.texi:33998
  50240. msgid "The command:"
  50241. msgstr ""
  50242. #. type: example
  50243. #: guix-git/doc/guix.texi:34001
  50244. #, no-wrap
  50245. msgid "$ guix system extension-graph @var{file} | xdot -\n"
  50246. msgstr ""
  50247. #. type: table
  50248. #: guix-git/doc/guix.texi:34004
  50249. msgid "shows the extension relations among services."
  50250. msgstr ""
  50251. #. type: anchor{#1}
  50252. #: guix-git/doc/guix.texi:34006
  50253. msgid "system-shepherd-graph"
  50254. msgstr ""
  50255. #. type: item
  50256. #: guix-git/doc/guix.texi:34006
  50257. #, no-wrap
  50258. msgid "shepherd-graph"
  50259. msgstr ""
  50260. #. type: table
  50261. #: guix-git/doc/guix.texi:34011
  50262. 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."
  50263. msgstr ""
  50264. #. type: table
  50265. #: guix-git/doc/guix.texi:34014
  50266. msgid "Again, the default output format is Dot/Graphviz, but you can pass @option{--graph-backend} to select a different one."
  50267. msgstr ""
  50268. #. type: section
  50269. #: guix-git/doc/guix.texi:34018
  50270. #, no-wrap
  50271. msgid "Invoking @code{guix deploy}"
  50272. msgstr ""
  50273. #. type: Plain text
  50274. #: guix-git/doc/guix.texi:34026
  50275. 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''."
  50276. msgstr ""
  50277. #. type: quotation
  50278. #: guix-git/doc/guix.texi:34031
  50279. 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}!"
  50280. msgstr ""
  50281. #. type: example
  50282. #: guix-git/doc/guix.texi:34035
  50283. #, no-wrap
  50284. msgid "guix deploy @var{file}\n"
  50285. msgstr ""
  50286. #. type: Plain text
  50287. #: guix-git/doc/guix.texi:34039
  50288. 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:"
  50289. msgstr ""
  50290. #. type: lisp
  50291. #: guix-git/doc/guix.texi:34046
  50292. #, no-wrap
  50293. msgid ""
  50294. ";; This is a Guix deployment of a \"bare bones\" setup, with\n"
  50295. ";; no X11 display server, to a machine with an SSH daemon\n"
  50296. ";; listening on localhost:2222. A configuration such as this\n"
  50297. ";; may be appropriate for virtual machine with ports\n"
  50298. ";; forwarded to the host's loopback interface.\n"
  50299. "\n"
  50300. msgstr ""
  50301. #. type: lisp
  50302. #: guix-git/doc/guix.texi:34049
  50303. #, no-wrap
  50304. msgid ""
  50305. "(use-service-modules networking ssh)\n"
  50306. "(use-package-modules bootloaders)\n"
  50307. "\n"
  50308. msgstr ""
  50309. #. type: lisp
  50310. #: guix-git/doc/guix.texi:34070
  50311. #, no-wrap
  50312. msgid ""
  50313. "(define %system\n"
  50314. " (operating-system\n"
  50315. " (host-name \"gnu-deployed\")\n"
  50316. " (timezone \"Etc/UTC\")\n"
  50317. " (bootloader (bootloader-configuration\n"
  50318. " (bootloader grub-bootloader)\n"
  50319. " (target \"/dev/vda\")\n"
  50320. " (terminal-outputs '(console))))\n"
  50321. " (file-systems (cons (file-system\n"
  50322. " (mount-point \"/\")\n"
  50323. " (device \"/dev/vda1\")\n"
  50324. " (type \"ext4\"))\n"
  50325. " %base-file-systems))\n"
  50326. " (services\n"
  50327. " (append (list (service dhcp-client-service-type)\n"
  50328. " (service openssh-service-type\n"
  50329. " (openssh-configuration\n"
  50330. " (permit-root-login #t)\n"
  50331. " (allow-empty-passwords? #t))))\n"
  50332. " %base-services))))\n"
  50333. "\n"
  50334. msgstr ""
  50335. #. type: lisp
  50336. #: guix-git/doc/guix.texi:34080
  50337. #, no-wrap
  50338. msgid ""
  50339. "(list (machine\n"
  50340. " (operating-system %system)\n"
  50341. " (environment managed-host-environment-type)\n"
  50342. " (configuration (machine-ssh-configuration\n"
  50343. " (host-name \"localhost\")\n"
  50344. " (system \"x86_64-linux\")\n"
  50345. " (user \"alice\")\n"
  50346. " (identity \"./id_rsa\")\n"
  50347. " (port 2222)))))\n"
  50348. msgstr ""
  50349. #. type: Plain text
  50350. #: guix-git/doc/guix.texi:34093
  50351. 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."
  50352. msgstr ""
  50353. #. type: Plain text
  50354. #: guix-git/doc/guix.texi:34098
  50355. 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:"
  50356. msgstr ""
  50357. #. type: Plain text
  50358. #: guix-git/doc/guix.texi:34106
  50359. msgid "Each target machine must authorize the key of the master machine so that it accepts store items it receives from the coordinator:"
  50360. msgstr ""
  50361. #. type: example
  50362. #: guix-git/doc/guix.texi:34109
  50363. #, no-wrap
  50364. msgid "# guix archive --authorize < coordinator-public-key.txt\n"
  50365. msgstr ""
  50366. #. type: Plain text
  50367. #: guix-git/doc/guix.texi:34120
  50368. 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:"
  50369. msgstr ""
  50370. #. type: lisp
  50371. #: guix-git/doc/guix.texi:34124
  50372. #, no-wrap
  50373. msgid ""
  50374. "(use-modules ...\n"
  50375. " (gnu system)) ;for %sudoers-specification\n"
  50376. "\n"
  50377. msgstr ""
  50378. #. type: lisp
  50379. #: guix-git/doc/guix.texi:34126
  50380. #, no-wrap
  50381. msgid ""
  50382. "(define %user \"username\")\n"
  50383. "\n"
  50384. msgstr ""
  50385. #. type: lisp
  50386. #: guix-git/doc/guix.texi:34134
  50387. #, no-wrap
  50388. msgid ""
  50389. "(operating-system\n"
  50390. " ...\n"
  50391. " (sudoers-file\n"
  50392. " (plain-file \"sudoers\"\n"
  50393. " (string-append (plain-file-content %sudoers-specification)\n"
  50394. " (format #f \"~a ALL = NOPASSWD: ALL~%\"\n"
  50395. " %user)))))\n"
  50396. "\n"
  50397. msgstr ""
  50398. #. type: Plain text
  50399. #: guix-git/doc/guix.texi:34139
  50400. msgid "For more information regarding the format of the @file{sudoers} file, consult @command{man sudoers}."
  50401. msgstr ""
  50402. #. type: deftp
  50403. #: guix-git/doc/guix.texi:34140
  50404. #, no-wrap
  50405. msgid "{Data Type} machine"
  50406. msgstr ""
  50407. #. type: deftp
  50408. #: guix-git/doc/guix.texi:34143
  50409. msgid "This is the data type representing a single machine in a heterogeneous Guix deployment."
  50410. msgstr ""
  50411. #. type: table
  50412. #: guix-git/doc/guix.texi:34147
  50413. msgid "The object of the operating system configuration to deploy."
  50414. msgstr ""
  50415. #. type: code{#1}
  50416. #: guix-git/doc/guix.texi:34148
  50417. #, no-wrap
  50418. msgid "environment"
  50419. msgstr ""
  50420. #. type: table
  50421. #: guix-git/doc/guix.texi:34150
  50422. msgid "An @code{environment-type} describing how the machine should be provisioned."
  50423. msgstr ""
  50424. #. type: item
  50425. #: guix-git/doc/guix.texi:34151
  50426. #, no-wrap
  50427. msgid "@code{configuration} (default: @code{#f})"
  50428. msgstr ""
  50429. #. type: table
  50430. #: guix-git/doc/guix.texi:34156
  50431. 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."
  50432. msgstr ""
  50433. #. type: deftp
  50434. #: guix-git/doc/guix.texi:34159
  50435. #, no-wrap
  50436. msgid "{Data Type} machine-ssh-configuration"
  50437. msgstr ""
  50438. #. type: deftp
  50439. #: guix-git/doc/guix.texi:34162
  50440. msgid "This is the data type representing the SSH client parameters for a machine with an @code{environment} of @code{managed-host-environment-type}."
  50441. msgstr ""
  50442. #. type: item
  50443. #: guix-git/doc/guix.texi:34165
  50444. #, no-wrap
  50445. msgid "@code{build-locally?} (default: @code{#t})"
  50446. msgstr ""
  50447. #. type: table
  50448. #: guix-git/doc/guix.texi:34167
  50449. msgid "If false, system derivations will be built on the machine being deployed to."
  50450. msgstr ""
  50451. #. type: code{#1}
  50452. #: guix-git/doc/guix.texi:34167
  50453. #, no-wrap
  50454. msgid "system"
  50455. msgstr ""
  50456. #. type: table
  50457. #: guix-git/doc/guix.texi:34170
  50458. msgid "The system type describing the architecture of the machine being deployed to---e.g., @code{\"x86_64-linux\"}."
  50459. msgstr ""
  50460. #. type: item
  50461. #: guix-git/doc/guix.texi:34170
  50462. #, no-wrap
  50463. msgid "@code{authorize?} (default: @code{#t})"
  50464. msgstr ""
  50465. #. type: table
  50466. #: guix-git/doc/guix.texi:34173
  50467. msgid "If true, the coordinator's signing key will be added to the remote's ACL keyring."
  50468. msgstr ""
  50469. #. type: item
  50470. #: guix-git/doc/guix.texi:34174
  50471. #, no-wrap
  50472. msgid "@code{user} (default: @code{\"root\"})"
  50473. msgstr ""
  50474. #. type: item
  50475. #: guix-git/doc/guix.texi:34175
  50476. #, no-wrap
  50477. msgid "@code{identity} (default: @code{#f})"
  50478. msgstr ""
  50479. #. type: table
  50480. #: guix-git/doc/guix.texi:34178
  50481. msgid "If specified, the path to the SSH private key to use to authenticate with the remote host."
  50482. msgstr ""
  50483. #. type: item
  50484. #: guix-git/doc/guix.texi:34179
  50485. #, no-wrap
  50486. msgid "@code{host-key} (default: @code{#f})"
  50487. msgstr ""
  50488. #. type: table
  50489. #: guix-git/doc/guix.texi:34181
  50490. msgid "This should be the SSH host key of the machine, which looks like this:"
  50491. msgstr ""
  50492. #. type: example
  50493. #: guix-git/doc/guix.texi:34184
  50494. #, no-wrap
  50495. msgid "ssh-ed25519 AAAAC3Nz@dots{} root@@example.org\n"
  50496. msgstr ""
  50497. #. type: table
  50498. #: guix-git/doc/guix.texi:34189
  50499. 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."
  50500. msgstr ""
  50501. #. type: item
  50502. #: guix-git/doc/guix.texi:34190
  50503. #, no-wrap
  50504. msgid "@code{allow-downgrades?} (default: @code{#f})"
  50505. msgstr ""
  50506. #. type: table
  50507. #: guix-git/doc/guix.texi:34192
  50508. msgid "Whether to allow potential downgrades."
  50509. msgstr ""
  50510. #. type: table
  50511. #: guix-git/doc/guix.texi:34200
  50512. 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."
  50513. msgstr ""
  50514. #. type: deftp
  50515. #: guix-git/doc/guix.texi:34203
  50516. #, no-wrap
  50517. msgid "{Data Type} digital-ocean-configuration"
  50518. msgstr ""
  50519. #. type: deftp
  50520. #: guix-git/doc/guix.texi:34206
  50521. 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}."
  50522. msgstr ""
  50523. #. type: code{#1}
  50524. #: guix-git/doc/guix.texi:34208
  50525. #, no-wrap
  50526. msgid "ssh-key"
  50527. msgstr ""
  50528. #. type: table
  50529. #: guix-git/doc/guix.texi:34211
  50530. msgid "The path to the SSH private key to use to authenticate with the remote host. In the future, this field may not exist."
  50531. msgstr ""
  50532. #. type: code{#1}
  50533. #: guix-git/doc/guix.texi:34211
  50534. #, no-wrap
  50535. msgid "tags"
  50536. msgstr ""
  50537. #. type: table
  50538. #: guix-git/doc/guix.texi:34214
  50539. 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."
  50540. msgstr ""
  50541. #. type: code{#1}
  50542. #: guix-git/doc/guix.texi:34214
  50543. #, no-wrap
  50544. msgid "region"
  50545. msgstr ""
  50546. #. type: table
  50547. #: guix-git/doc/guix.texi:34216
  50548. msgid "A Digital Ocean region slug, such as @code{\"nyc3\"}."
  50549. msgstr ""
  50550. #. type: table
  50551. #: guix-git/doc/guix.texi:34218
  50552. msgid "A Digital Ocean size slug, such as @code{\"s-1vcpu-1gb\"}"
  50553. msgstr ""
  50554. #. type: code{#1}
  50555. #: guix-git/doc/guix.texi:34218
  50556. #, no-wrap
  50557. msgid "enable-ipv6?"
  50558. msgstr ""
  50559. #. type: table
  50560. #: guix-git/doc/guix.texi:34220
  50561. msgid "Whether or not the droplet should be created with IPv6 networking."
  50562. msgstr ""
  50563. #. type: section
  50564. #: guix-git/doc/guix.texi:34224
  50565. #, no-wrap
  50566. msgid "Running Guix in a Virtual Machine"
  50567. msgstr ""
  50568. #. type: Plain text
  50569. #: guix-git/doc/guix.texi:34232
  50570. msgid "To run Guix in a virtual machine (VM), one can use the pre-built Guix VM image distributed at @url{@value{BASE-URL}/guix-system-vm-image-@value{VERSION}.x86_64-linux.qcow2}. This image is a compressed image in QCOW format. You can pass it to an emulator such as @uref{https://qemu.org/, QEMU} (see below for details)."
  50571. msgstr ""
  50572. #. type: Plain text
  50573. #: guix-git/doc/guix.texi:34239
  50574. 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})."
  50575. msgstr ""
  50576. #. type: Plain text
  50577. #: guix-git/doc/guix.texi:34242
  50578. msgid "Instead of using this pre-built image, one can also build their own image using @command{guix system image} (@pxref{Invoking guix system})."
  50579. msgstr ""
  50580. #. type: cindex
  50581. #: guix-git/doc/guix.texi:34243
  50582. #, no-wrap
  50583. msgid "QEMU"
  50584. msgstr ""
  50585. #. type: Plain text
  50586. #: guix-git/doc/guix.texi:34250
  50587. 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:"
  50588. msgstr ""
  50589. #. type: example
  50590. #: guix-git/doc/guix.texi:34257
  50591. #, no-wrap
  50592. msgid ""
  50593. "$ qemu-system-x86_64 \\\n"
  50594. " -nic user,model=virtio-net-pci \\\n"
  50595. " -enable-kvm -m 1024 \\\n"
  50596. " -device virtio-blk,drive=myhd \\\n"
  50597. " -drive if=none,file=/tmp/qemu-image,id=myhd\n"
  50598. msgstr ""
  50599. #. type: Plain text
  50600. #: guix-git/doc/guix.texi:34260
  50601. msgid "Here is what each of these options means:"
  50602. msgstr ""
  50603. #. type: item
  50604. #: guix-git/doc/guix.texi:34262
  50605. #, no-wrap
  50606. msgid "qemu-system-x86_64"
  50607. msgstr ""
  50608. #. type: table
  50609. #: guix-git/doc/guix.texi:34265
  50610. msgid "This specifies the hardware platform to emulate. This should match the host."
  50611. msgstr ""
  50612. #. type: item
  50613. #: guix-git/doc/guix.texi:34266
  50614. #, no-wrap
  50615. msgid "-nic user,model=virtio-net-pci"
  50616. msgstr ""
  50617. #. type: table
  50618. #: guix-git/doc/guix.texi:34274
  50619. 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}."
  50620. msgstr ""
  50621. #. type: item
  50622. #: guix-git/doc/guix.texi:34275
  50623. #, no-wrap
  50624. msgid "-enable-kvm"
  50625. msgstr ""
  50626. #. type: table
  50627. #: guix-git/doc/guix.texi:34279
  50628. msgid "If your system has hardware virtualization extensions, enabling the virtual machine support (KVM) of the Linux kernel will make things run faster."
  50629. msgstr ""
  50630. #. type: item
  50631. #: guix-git/doc/guix.texi:34281
  50632. #, no-wrap
  50633. msgid "-m 1024"
  50634. msgstr ""
  50635. #. type: table
  50636. #: guix-git/doc/guix.texi:34284
  50637. msgid "RAM available to the guest OS, in mebibytes. Defaults to 128@tie{}MiB, which may be insufficient for some operations."
  50638. msgstr ""
  50639. #. type: item
  50640. #: guix-git/doc/guix.texi:34285
  50641. #, no-wrap
  50642. msgid "-device virtio-blk,drive=myhd"
  50643. msgstr ""
  50644. #. type: table
  50645. #: guix-git/doc/guix.texi:34290
  50646. 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."
  50647. msgstr ""
  50648. #. type: item
  50649. #: guix-git/doc/guix.texi:34291
  50650. #, no-wrap
  50651. msgid "-drive if=none,file=/tmp/qemu-image,id=myhd"
  50652. msgstr ""
  50653. #. type: table
  50654. #: guix-git/doc/guix.texi:34294
  50655. msgid "Use our QCOW image, the @file{/tmp/qemu-image} file, as the backing store of the ``myhd'' drive."
  50656. msgstr ""
  50657. #. type: Plain text
  50658. #: guix-git/doc/guix.texi:34304
  50659. 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}."
  50660. msgstr ""
  50661. #. type: subsection
  50662. #: guix-git/doc/guix.texi:34305
  50663. #, no-wrap
  50664. msgid "Connecting Through SSH"
  50665. msgstr ""
  50666. #. type: Plain text
  50667. #: guix-git/doc/guix.texi:34313
  50668. 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"
  50669. msgstr ""
  50670. #. type: example
  50671. #: guix-git/doc/guix.texi:34316
  50672. #, no-wrap
  50673. msgid "$(guix system vm config.scm) -nic user,model=virtio-net-pci,hostfwd=tcp::10022-:22\n"
  50674. msgstr ""
  50675. #. type: Plain text
  50676. #: guix-git/doc/guix.texi:34319
  50677. msgid "To connect to the VM you can run"
  50678. msgstr ""
  50679. #. type: example
  50680. #: guix-git/doc/guix.texi:34322
  50681. #, no-wrap
  50682. msgid "ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 10022 localhost\n"
  50683. msgstr ""
  50684. #. type: Plain text
  50685. #: guix-git/doc/guix.texi:34329
  50686. 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."
  50687. msgstr ""
  50688. #. type: quotation
  50689. #: guix-git/doc/guix.texi:34335
  50690. msgid "If you find the above @samp{hostfwd} example not to be working (e.g., your SSH client hangs attempting to connect to the mapped port of your VM), make sure that your Guix System VM has networking support, such as by using the @code{dhcp-client-service-type} service type."
  50691. msgstr ""
  50692. #. type: subsection
  50693. #: guix-git/doc/guix.texi:34337
  50694. #, no-wrap
  50695. msgid "Using @command{virt-viewer} with Spice"
  50696. msgstr ""
  50697. #. type: Plain text
  50698. #: guix-git/doc/guix.texi:34343
  50699. 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."
  50700. msgstr ""
  50701. #. type: Plain text
  50702. #: guix-git/doc/guix.texi:34346
  50703. 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}:"
  50704. msgstr ""
  50705. #. type: example
  50706. #: guix-git/doc/guix.texi:34352
  50707. #, no-wrap
  50708. msgid ""
  50709. "-device virtio-serial-pci,id=virtio-serial0,max_ports=16,bus=pci.0,addr=0x5\n"
  50710. "-chardev spicevmc,name=vdagent,id=vdagent\n"
  50711. "-device virtserialport,nr=1,bus=virtio-serial0.0,chardev=vdagent,\n"
  50712. "name=com.redhat.spice.0\n"
  50713. msgstr ""
  50714. #. type: Plain text
  50715. #: guix-git/doc/guix.texi:34356
  50716. msgid "You'll also need to add the @code{(spice-vdagent-service)} to your system definition (@pxref{Miscellaneous Services, Spice service})."
  50717. msgstr ""
  50718. #. type: Plain text
  50719. #: guix-git/doc/guix.texi:34363
  50720. 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?"
  50721. msgstr ""
  50722. #. type: cindex
  50723. #: guix-git/doc/guix.texi:34375
  50724. #, no-wrap
  50725. msgid "daemons"
  50726. msgstr ""
  50727. #. type: Plain text
  50728. #: guix-git/doc/guix.texi:34388
  50729. 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."
  50730. msgstr ""
  50731. #. type: cindex
  50732. #: guix-git/doc/guix.texi:34389
  50733. #, no-wrap
  50734. msgid "service extensions"
  50735. msgstr ""
  50736. #. type: Plain text
  50737. #: guix-git/doc/guix.texi:34401
  50738. 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})."
  50739. msgstr ""
  50740. #. type: Plain text
  50741. #: guix-git/doc/guix.texi:34405
  50742. 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:"
  50743. msgstr ""
  50744. #. type: Plain text
  50745. #: guix-git/doc/guix.texi:34407
  50746. msgid "@image{images/service-graph,,5in,Typical service extension graph.}"
  50747. msgstr ""
  50748. #. type: cindex
  50749. #: guix-git/doc/guix.texi:34408
  50750. #, no-wrap
  50751. msgid "system service"
  50752. msgstr ""
  50753. #. type: Plain text
  50754. #: guix-git/doc/guix.texi:34416
  50755. 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."
  50756. msgstr ""
  50757. #. type: cindex
  50758. #: guix-git/doc/guix.texi:34417
  50759. #, no-wrap
  50760. msgid "service types"
  50761. msgstr ""
  50762. #. type: Plain text
  50763. #: guix-git/doc/guix.texi:34423
  50764. 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."
  50765. msgstr ""
  50766. #. type: Plain text
  50767. #: guix-git/doc/guix.texi:34426
  50768. msgid "The following section describes the programming interface for service types and services."
  50769. msgstr ""
  50770. #. type: Plain text
  50771. #: guix-git/doc/guix.texi:34433
  50772. 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}):"
  50773. msgstr ""
  50774. #. type: lisp
  50775. #: guix-git/doc/guix.texi:34443
  50776. #, no-wrap
  50777. msgid ""
  50778. "(define guix-service-type\n"
  50779. " (service-type\n"
  50780. " (name 'guix)\n"
  50781. " (extensions\n"
  50782. " (list (service-extension shepherd-root-service-type guix-shepherd-service)\n"
  50783. " (service-extension account-service-type guix-accounts)\n"
  50784. " (service-extension activation-service-type guix-activation)))\n"
  50785. " (default-value (guix-configuration))))\n"
  50786. msgstr ""
  50787. #. type: Plain text
  50788. #: guix-git/doc/guix.texi:34447
  50789. msgid "It defines three things:"
  50790. msgstr ""
  50791. #. type: enumerate
  50792. #: guix-git/doc/guix.texi:34451
  50793. msgid "A name, whose sole purpose is to make inspection and debugging easier."
  50794. msgstr ""
  50795. #. type: enumerate
  50796. #: guix-git/doc/guix.texi:34456
  50797. 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."
  50798. msgstr ""
  50799. #. type: enumerate
  50800. #: guix-git/doc/guix.texi:34459
  50801. msgid "Every service type has at least one service extension. The only exception is the @dfn{boot service type}, which is the ultimate service."
  50802. msgstr ""
  50803. #. type: enumerate
  50804. #: guix-git/doc/guix.texi:34462
  50805. msgid "Optionally, a default value for instances of this type."
  50806. msgstr ""
  50807. #. type: Plain text
  50808. #: guix-git/doc/guix.texi:34465
  50809. msgid "In this example, @code{guix-service-type} extends three services:"
  50810. msgstr ""
  50811. #. type: item
  50812. #: guix-git/doc/guix.texi:34467
  50813. #, no-wrap
  50814. msgid "shepherd-root-service-type"
  50815. msgstr ""
  50816. #. type: table
  50817. #: guix-git/doc/guix.texi:34472
  50818. 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})."
  50819. msgstr ""
  50820. #. type: item
  50821. #: guix-git/doc/guix.texi:34473
  50822. #, no-wrap
  50823. msgid "account-service-type"
  50824. msgstr ""
  50825. #. type: table
  50826. #: guix-git/doc/guix.texi:34478
  50827. 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})."
  50828. msgstr ""
  50829. #. type: item
  50830. #: guix-git/doc/guix.texi:34479
  50831. #, no-wrap
  50832. msgid "activation-service-type"
  50833. msgstr ""
  50834. #. type: table
  50835. #: guix-git/doc/guix.texi:34483
  50836. 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."
  50837. msgstr ""
  50838. #. type: Plain text
  50839. #: guix-git/doc/guix.texi:34486
  50840. msgid "A service of this type is instantiated like this:"
  50841. msgstr ""
  50842. #. type: lisp
  50843. #: guix-git/doc/guix.texi:34492
  50844. #, no-wrap
  50845. msgid ""
  50846. "(service guix-service-type\n"
  50847. " (guix-configuration\n"
  50848. " (build-accounts 5)\n"
  50849. " (extra-options '(\"--gc-keep-derivations\"))))\n"
  50850. msgstr ""
  50851. #. type: Plain text
  50852. #: guix-git/doc/guix.texi:34500
  50853. 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:"
  50854. msgstr ""
  50855. #. type: lisp
  50856. #: guix-git/doc/guix.texi:34503
  50857. #, no-wrap
  50858. msgid "(service guix-service-type)\n"
  50859. msgstr ""
  50860. #. type: Plain text
  50861. #: guix-git/doc/guix.texi:34507
  50862. msgid "@code{guix-service-type} is quite simple because it extends other services but is not extensible itself."
  50863. msgstr ""
  50864. #. type: Plain text
  50865. #: guix-git/doc/guix.texi:34511
  50866. msgid "The service type for an @emph{extensible} service looks like this:"
  50867. msgstr ""
  50868. #. type: lisp
  50869. #: guix-git/doc/guix.texi:34518
  50870. #, no-wrap
  50871. msgid ""
  50872. "(define udev-service-type\n"
  50873. " (service-type (name 'udev)\n"
  50874. " (extensions\n"
  50875. " (list (service-extension shepherd-root-service-type\n"
  50876. " udev-shepherd-service)))\n"
  50877. "\n"
  50878. msgstr ""
  50879. #. type: lisp
  50880. #: guix-git/doc/guix.texi:34526
  50881. #, no-wrap
  50882. msgid ""
  50883. " (compose concatenate) ;concatenate the list of rules\n"
  50884. " (extend (lambda (config rules)\n"
  50885. " (match config\n"
  50886. " (($ <udev-configuration> udev initial-rules)\n"
  50887. " (udev-configuration\n"
  50888. " (udev udev) ;the udev package to use\n"
  50889. " (rules (append initial-rules rules)))))))))\n"
  50890. msgstr ""
  50891. #. type: Plain text
  50892. #: guix-git/doc/guix.texi:34532
  50893. 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:"
  50894. msgstr ""
  50895. #. type: item
  50896. #: guix-git/doc/guix.texi:34534
  50897. #, no-wrap
  50898. msgid "compose"
  50899. msgstr ""
  50900. #. type: table
  50901. #: guix-git/doc/guix.texi:34537
  50902. msgid "This is the procedure to @dfn{compose} the list of extensions to services of this type."
  50903. msgstr ""
  50904. #. type: table
  50905. #: guix-git/doc/guix.texi:34540
  50906. msgid "Services can extend the udev service by passing it lists of rules; we compose those extensions simply by concatenating them."
  50907. msgstr ""
  50908. #. type: item
  50909. #: guix-git/doc/guix.texi:34541
  50910. #, no-wrap
  50911. msgid "extend"
  50912. msgstr ""
  50913. #. type: table
  50914. #: guix-git/doc/guix.texi:34544
  50915. msgid "This procedure defines how the value of the service is @dfn{extended} with the composition of the extensions."
  50916. msgstr ""
  50917. #. type: table
  50918. #: guix-git/doc/guix.texi:34549
  50919. 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."
  50920. msgstr ""
  50921. #. type: table
  50922. #: guix-git/doc/guix.texi:34555
  50923. 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})."
  50924. msgstr ""
  50925. #. type: Plain text
  50926. #: guix-git/doc/guix.texi:34560
  50927. 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."
  50928. msgstr ""
  50929. #. type: Plain text
  50930. #: guix-git/doc/guix.texi:34563
  50931. msgid "Still here? The next section provides a reference of the programming interface for services."
  50932. msgstr ""
  50933. #. type: Plain text
  50934. #: guix-git/doc/guix.texi:34571
  50935. 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."
  50936. msgstr ""
  50937. #. type: deffn
  50938. #: guix-git/doc/guix.texi:34572
  50939. #, no-wrap
  50940. msgid "{Scheme Procedure} service @var{type} [@var{value}]"
  50941. msgstr ""
  50942. #. type: deffn
  50943. #: guix-git/doc/guix.texi:34576
  50944. 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."
  50945. msgstr ""
  50946. #. type: deffn
  50947. #: guix-git/doc/guix.texi:34580
  50948. 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."
  50949. msgstr ""
  50950. #. type: deffn
  50951. #: guix-git/doc/guix.texi:34582
  50952. msgid "For instance, this:"
  50953. msgstr ""
  50954. #. type: lisp
  50955. #: guix-git/doc/guix.texi:34585
  50956. #, no-wrap
  50957. msgid "(service openssh-service-type)\n"
  50958. msgstr ""
  50959. #. type: deffn
  50960. #: guix-git/doc/guix.texi:34589
  50961. msgid "is equivalent to this:"
  50962. msgstr ""
  50963. #. type: lisp
  50964. #: guix-git/doc/guix.texi:34593
  50965. #, no-wrap
  50966. msgid ""
  50967. "(service openssh-service-type\n"
  50968. " (openssh-configuration))\n"
  50969. msgstr ""
  50970. #. type: deffn
  50971. #: guix-git/doc/guix.texi:34597
  50972. msgid "In both cases the result is an instance of @code{openssh-service-type} with the default configuration."
  50973. msgstr ""
  50974. #. type: deffn
  50975. #: guix-git/doc/guix.texi:34599
  50976. #, no-wrap
  50977. msgid "{Scheme Procedure} service? @var{obj}"
  50978. msgstr ""
  50979. #. type: deffn
  50980. #: guix-git/doc/guix.texi:34601
  50981. msgid "Return true if @var{obj} is a service."
  50982. msgstr ""
  50983. #. type: deffn
  50984. #: guix-git/doc/guix.texi:34603
  50985. #, no-wrap
  50986. msgid "{Scheme Procedure} service-kind @var{service}"
  50987. msgstr ""
  50988. #. type: deffn
  50989. #: guix-git/doc/guix.texi:34605
  50990. msgid "Return the type of @var{service}---i.e., a @code{<service-type>} object."
  50991. msgstr ""
  50992. #. type: deffn
  50993. #: guix-git/doc/guix.texi:34607
  50994. #, no-wrap
  50995. msgid "{Scheme Procedure} service-value @var{service}"
  50996. msgstr ""
  50997. #. type: deffn
  50998. #: guix-git/doc/guix.texi:34610
  50999. msgid "Return the value associated with @var{service}. It represents its parameters."
  51000. msgstr ""
  51001. #. type: Plain text
  51002. #: guix-git/doc/guix.texi:34613
  51003. msgid "Here is an example of how a service is created and manipulated:"
  51004. msgstr ""
  51005. #. type: lisp
  51006. #: guix-git/doc/guix.texi:34622
  51007. #, no-wrap
  51008. msgid ""
  51009. "(define s\n"
  51010. " (service nginx-service-type\n"
  51011. " (nginx-configuration\n"
  51012. " (nginx nginx)\n"
  51013. " (log-directory log-directory)\n"
  51014. " (run-directory run-directory)\n"
  51015. " (file config-file))))\n"
  51016. "\n"
  51017. msgstr ""
  51018. #. type: lisp
  51019. #: guix-git/doc/guix.texi:34625
  51020. #, no-wrap
  51021. msgid ""
  51022. "(service? s)\n"
  51023. "@result{} #t\n"
  51024. "\n"
  51025. msgstr ""
  51026. #. type: lisp
  51027. #: guix-git/doc/guix.texi:34628
  51028. #, no-wrap
  51029. msgid ""
  51030. "(eq? (service-kind s) nginx-service-type)\n"
  51031. "@result{} #t\n"
  51032. msgstr ""
  51033. #. type: Plain text
  51034. #: guix-git/doc/guix.texi:34638
  51035. 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."
  51036. msgstr ""
  51037. #. type: deffn
  51038. #: guix-git/doc/guix.texi:34639
  51039. #, no-wrap
  51040. msgid "{Scheme Syntax} modify-services @var{services} @"
  51041. msgstr ""
  51042. #. type: deffn
  51043. #: guix-git/doc/guix.texi:34641
  51044. msgid "(@var{type} @var{variable} => @var{body}) @dots{}"
  51045. msgstr ""
  51046. #. type: deffn
  51047. #: guix-git/doc/guix.texi:34644
  51048. msgid "Modify the services listed in @var{services} according to the given clauses. Each clause has the form:"
  51049. msgstr ""
  51050. #. type: example
  51051. #: guix-git/doc/guix.texi:34647
  51052. #, no-wrap
  51053. msgid "(@var{type} @var{variable} => @var{body})\n"
  51054. msgstr ""
  51055. #. type: deffn
  51056. #: guix-git/doc/guix.texi:34654
  51057. 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}."
  51058. msgstr ""
  51059. #. type: deffn
  51060. #: guix-git/doc/guix.texi:34661
  51061. 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."
  51062. msgstr ""
  51063. #. type: deffn
  51064. #: guix-git/doc/guix.texi:34663
  51065. msgid "@xref{Using the Configuration System}, for example usage."
  51066. msgstr ""
  51067. #. type: Plain text
  51068. #: guix-git/doc/guix.texi:34670
  51069. 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."
  51070. msgstr ""
  51071. #. type: deftp
  51072. #: guix-git/doc/guix.texi:34671
  51073. #, no-wrap
  51074. msgid "{Data Type} service-type"
  51075. msgstr ""
  51076. #. type: cindex
  51077. #: guix-git/doc/guix.texi:34672
  51078. #, no-wrap
  51079. msgid "service type"
  51080. msgstr ""
  51081. #. type: deftp
  51082. #: guix-git/doc/guix.texi:34675
  51083. msgid "This is the representation of a @dfn{service type} (@pxref{Service Types and Services})."
  51084. msgstr ""
  51085. #. type: table
  51086. #: guix-git/doc/guix.texi:34679
  51087. msgid "This is a symbol, used only to simplify inspection and debugging."
  51088. msgstr ""
  51089. #. type: code{#1}
  51090. #: guix-git/doc/guix.texi:34680
  51091. #, no-wrap
  51092. msgid "extensions"
  51093. msgstr ""
  51094. #. type: table
  51095. #: guix-git/doc/guix.texi:34682
  51096. msgid "A non-empty list of @code{<service-extension>} objects (see below)."
  51097. msgstr ""
  51098. #. type: item
  51099. #: guix-git/doc/guix.texi:34683
  51100. #, no-wrap
  51101. msgid "@code{compose} (default: @code{#f})"
  51102. msgstr ""
  51103. #. type: table
  51104. #: guix-git/doc/guix.texi:34687
  51105. 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."
  51106. msgstr ""
  51107. #. type: table
  51108. #: guix-git/doc/guix.texi:34691
  51109. 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."
  51110. msgstr ""
  51111. #. type: item
  51112. #: guix-git/doc/guix.texi:34692
  51113. #, no-wrap
  51114. msgid "@code{extend} (default: @code{#f})"
  51115. msgstr ""
  51116. #. type: table
  51117. #: guix-git/doc/guix.texi:34694
  51118. msgid "If this is @code{#f}, services of this type cannot be extended."
  51119. msgstr ""
  51120. #. type: table
  51121. #: guix-git/doc/guix.texi:34700
  51122. 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."
  51123. msgstr ""
  51124. #. type: table
  51125. #: guix-git/doc/guix.texi:34706
  51126. 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})."
  51127. msgstr ""
  51128. #. type: item
  51129. #: guix-git/doc/guix.texi:34707
  51130. #, no-wrap
  51131. msgid "@code{default-value} (default: @code{&no-default-value})"
  51132. msgstr ""
  51133. #. type: table
  51134. #: guix-git/doc/guix.texi:34710
  51135. msgid "The default value associated for instances of this service type. This allows users to use the @code{service} form without its second argument:"
  51136. msgstr ""
  51137. #. type: lisp
  51138. #: guix-git/doc/guix.texi:34713
  51139. #, no-wrap
  51140. msgid "(service @var{type})\n"
  51141. msgstr ""
  51142. #. type: table
  51143. #: guix-git/doc/guix.texi:34717
  51144. msgid "The returned service in this case has the default value specified by @var{type}."
  51145. msgstr ""
  51146. #. type: deftp
  51147. #: guix-git/doc/guix.texi:34720
  51148. msgid "@xref{Service Types and Services}, for examples."
  51149. msgstr ""
  51150. #. type: deffn
  51151. #: guix-git/doc/guix.texi:34722
  51152. #, no-wrap
  51153. msgid "{Scheme Procedure} service-extension @var{target-type} @"
  51154. msgstr ""
  51155. #. type: deffn
  51156. #: guix-git/doc/guix.texi:34728
  51157. 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."
  51158. msgstr ""
  51159. #. type: deffn
  51160. #: guix-git/doc/guix.texi:34730
  51161. #, no-wrap
  51162. msgid "{Scheme Procedure} service-extension? @var{obj}"
  51163. msgstr ""
  51164. #. type: deffn
  51165. #: guix-git/doc/guix.texi:34732
  51166. msgid "Return true if @var{obj} is a service extension."
  51167. msgstr ""
  51168. #. type: Plain text
  51169. #: guix-git/doc/guix.texi:34738
  51170. 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."
  51171. msgstr ""
  51172. #. type: deffn
  51173. #: guix-git/doc/guix.texi:34739
  51174. #, no-wrap
  51175. msgid "{Scheme Procedure} simple-service @var{name} @var{target} @var{value}"
  51176. msgstr ""
  51177. #. type: deffn
  51178. #: guix-git/doc/guix.texi:34743
  51179. 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."
  51180. msgstr ""
  51181. #. type: deffn
  51182. #: guix-git/doc/guix.texi:34746
  51183. msgid "For example, this extends mcron (@pxref{Scheduled Job Execution}) with an additional job:"
  51184. msgstr ""
  51185. #. type: lisp
  51186. #: guix-git/doc/guix.texi:34750
  51187. #, no-wrap
  51188. msgid ""
  51189. "(simple-service 'my-mcron-job mcron-service-type\n"
  51190. " #~(job '(next-hour (3)) \"guix gc -F 2G\"))\n"
  51191. msgstr ""
  51192. #. type: Plain text
  51193. #: guix-git/doc/guix.texi:34760
  51194. 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."
  51195. msgstr ""
  51196. #. type: deffn
  51197. #: guix-git/doc/guix.texi:34761
  51198. #, no-wrap
  51199. msgid "{Scheme Procedure} fold-services @var{services} @"
  51200. msgstr ""
  51201. #. type: deffn
  51202. #: guix-git/doc/guix.texi:34765
  51203. 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."
  51204. msgstr ""
  51205. #. type: Plain text
  51206. #: guix-git/doc/guix.texi:34769
  51207. msgid "Lastly, the @code{(gnu services)} module also defines several essential service types, some of which are listed below."
  51208. msgstr ""
  51209. #. type: defvr
  51210. #: guix-git/doc/guix.texi:34770
  51211. #, no-wrap
  51212. msgid "{Scheme Variable} system-service-type"
  51213. msgstr ""
  51214. #. type: defvr
  51215. #: guix-git/doc/guix.texi:34773
  51216. msgid "This is the root of the service graph. It produces the system directory as returned by the @command{guix system build} command."
  51217. msgstr ""
  51218. #. type: defvr
  51219. #: guix-git/doc/guix.texi:34775
  51220. #, no-wrap
  51221. msgid "{Scheme Variable} boot-service-type"
  51222. msgstr ""
  51223. #. type: defvr
  51224. #: guix-git/doc/guix.texi:34778
  51225. 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."
  51226. msgstr ""
  51227. #. type: defvr
  51228. #: guix-git/doc/guix.texi:34780
  51229. #, no-wrap
  51230. msgid "{Scheme Variable} etc-service-type"
  51231. msgstr ""
  51232. #. type: defvr
  51233. #: guix-git/doc/guix.texi:34784
  51234. 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:"
  51235. msgstr ""
  51236. #. type: lisp
  51237. #: guix-git/doc/guix.texi:34787
  51238. #, no-wrap
  51239. msgid "(list `(\"issue\" ,(plain-file \"issue\" \"Welcome!\\n\")))\n"
  51240. msgstr ""
  51241. #. type: defvr
  51242. #: guix-git/doc/guix.texi:34791
  51243. msgid "In this example, the effect would be to add an @file{/etc/issue} file pointing to the given file."
  51244. msgstr ""
  51245. #. type: defvr
  51246. #: guix-git/doc/guix.texi:34793
  51247. #, no-wrap
  51248. msgid "{Scheme Variable} setuid-program-service-type"
  51249. msgstr ""
  51250. #. type: defvr
  51251. #: guix-git/doc/guix.texi:34797
  51252. 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})."
  51253. msgstr ""
  51254. #. type: defvr
  51255. #: guix-git/doc/guix.texi:34799
  51256. #, no-wrap
  51257. msgid "{Scheme Variable} profile-service-type"
  51258. msgstr ""
  51259. #. type: defvr
  51260. #: guix-git/doc/guix.texi:34803
  51261. 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."
  51262. msgstr ""
  51263. #. type: anchor{#1}
  51264. #: guix-git/doc/guix.texi:34807
  51265. msgid "provenance-service-type"
  51266. msgstr ""
  51267. #. type: defvr
  51268. #: guix-git/doc/guix.texi:34807
  51269. #, no-wrap
  51270. msgid "{Scheme Variable} provenance-service-type"
  51271. msgstr ""
  51272. #. type: defvr
  51273. #: guix-git/doc/guix.texi:34811
  51274. 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}:"
  51275. msgstr ""
  51276. #. type: item
  51277. #: guix-git/doc/guix.texi:34813
  51278. #, no-wrap
  51279. msgid "channels.scm"
  51280. msgstr ""
  51281. #. type: table
  51282. #: guix-git/doc/guix.texi:34818
  51283. 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})."
  51284. msgstr ""
  51285. #. type: item
  51286. #: guix-git/doc/guix.texi:34819
  51287. #, no-wrap
  51288. msgid "configuration.scm"
  51289. msgstr ""
  51290. #. type: table
  51291. #: guix-git/doc/guix.texi:34824
  51292. 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."
  51293. msgstr ""
  51294. #. type: item
  51295. #: guix-git/doc/guix.texi:34825
  51296. #, no-wrap
  51297. msgid "provenance"
  51298. msgstr ""
  51299. #. type: table
  51300. #: guix-git/doc/guix.texi:34828
  51301. msgid "This contains the same information as the two other files but in a format that is more readily processable."
  51302. msgstr ""
  51303. #. type: defvr
  51304. #: guix-git/doc/guix.texi:34832
  51305. msgid "In general, these two pieces of information (channels and configuration file) are enough to reproduce the operating system ``from source''."
  51306. msgstr ""
  51307. #. type: quotation
  51308. #: guix-git/doc/guix.texi:34833
  51309. #, no-wrap
  51310. msgid "Caveats"
  51311. msgstr ""
  51312. #. type: quotation
  51313. #: guix-git/doc/guix.texi:34840
  51314. 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."
  51315. msgstr ""
  51316. #. type: quotation
  51317. #: guix-git/doc/guix.texi:34848
  51318. 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."
  51319. msgstr ""
  51320. #. type: defvr
  51321. #: guix-git/doc/guix.texi:34853
  51322. 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}."
  51323. msgstr ""
  51324. #. type: defvr
  51325. #: guix-git/doc/guix.texi:34855
  51326. #, no-wrap
  51327. msgid "{Scheme Variable} linux-loadable-module-service-type"
  51328. msgstr ""
  51329. #. type: defvr
  51330. #: guix-git/doc/guix.texi:34859
  51331. msgid "Type of the service that collects lists of packages containing kernel-loadable modules, and adds them to the set of kernel-loadable modules."
  51332. msgstr ""
  51333. #. type: defvr
  51334. #: guix-git/doc/guix.texi:34862
  51335. msgid "This service type is intended to be extended by other service types, such as below:"
  51336. msgstr ""
  51337. #. type: lisp
  51338. #: guix-git/doc/guix.texi:34868
  51339. #, no-wrap
  51340. msgid ""
  51341. "(simple-service 'installing-module\n"
  51342. " linux-loadable-module-service-type\n"
  51343. " (list module-to-install-1\n"
  51344. " module-to-install-2))\n"
  51345. msgstr ""
  51346. #. type: defvr
  51347. #: guix-git/doc/guix.texi:34872
  51348. msgid "This does not actually load modules at bootup, only adds it to the kernel profile so that it @emph{can} be loaded by other means."
  51349. msgstr ""
  51350. #. type: cindex
  51351. #: guix-git/doc/guix.texi:34877
  51352. #, no-wrap
  51353. msgid "shepherd services"
  51354. msgstr ""
  51355. #. type: cindex
  51356. #: guix-git/doc/guix.texi:34878
  51357. #, no-wrap
  51358. msgid "PID 1"
  51359. msgstr ""
  51360. #. type: cindex
  51361. #: guix-git/doc/guix.texi:34879
  51362. #, no-wrap
  51363. msgid "init system"
  51364. msgstr ""
  51365. #. type: Plain text
  51366. #: guix-git/doc/guix.texi:34885
  51367. 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})."
  51368. msgstr ""
  51369. #. type: Plain text
  51370. #: guix-git/doc/guix.texi:34891
  51371. 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:"
  51372. msgstr ""
  51373. #. type: Plain text
  51374. #: guix-git/doc/guix.texi:34893
  51375. msgid "@image{images/shepherd-graph,,5in,Typical shepherd service graph.}"
  51376. msgstr ""
  51377. #. type: Plain text
  51378. #: guix-git/doc/guix.texi:34897
  51379. 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}})."
  51380. msgstr ""
  51381. #. type: Plain text
  51382. #: guix-git/doc/guix.texi:34901
  51383. 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."
  51384. msgstr ""
  51385. #. type: deftp
  51386. #: guix-git/doc/guix.texi:34902
  51387. #, no-wrap
  51388. msgid "{Data Type} shepherd-service"
  51389. msgstr ""
  51390. #. type: deftp
  51391. #: guix-git/doc/guix.texi:34904
  51392. msgid "The data type representing a service managed by the Shepherd."
  51393. msgstr ""
  51394. #. type: code{#1}
  51395. #: guix-git/doc/guix.texi:34906
  51396. #, no-wrap
  51397. msgid "provision"
  51398. msgstr ""
  51399. #. type: table
  51400. #: guix-git/doc/guix.texi:34908
  51401. msgid "This is a list of symbols denoting what the service provides."
  51402. msgstr ""
  51403. #. type: table
  51404. #: guix-git/doc/guix.texi:34913
  51405. 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."
  51406. msgstr ""
  51407. #. type: item
  51408. #: guix-git/doc/guix.texi:34914
  51409. #, no-wrap
  51410. msgid "@code{requirement} (default: @code{'()})"
  51411. msgstr ""
  51412. #. type: table
  51413. #: guix-git/doc/guix.texi:34916
  51414. msgid "List of symbols denoting the Shepherd services this one depends on."
  51415. msgstr ""
  51416. #. type: cindex
  51417. #: guix-git/doc/guix.texi:34917
  51418. #, no-wrap
  51419. msgid "one-shot services, for the Shepherd"
  51420. msgstr ""
  51421. #. type: table
  51422. #: guix-git/doc/guix.texi:34922
  51423. 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."
  51424. msgstr ""
  51425. #. type: item
  51426. #: guix-git/doc/guix.texi:34923
  51427. #, no-wrap
  51428. msgid "@code{respawn?} (default: @code{#t})"
  51429. msgstr ""
  51430. #. type: table
  51431. #: guix-git/doc/guix.texi:34926
  51432. msgid "Whether to restart the service when it stops, for instance when the underlying process dies."
  51433. msgstr ""
  51434. #. type: code{#1}
  51435. #: guix-git/doc/guix.texi:34927
  51436. #, no-wrap
  51437. msgid "start"
  51438. msgstr ""
  51439. #. type: itemx
  51440. #: guix-git/doc/guix.texi:34928
  51441. #, no-wrap
  51442. msgid "@code{stop} (default: @code{#~(const #f)})"
  51443. msgstr ""
  51444. #. type: table
  51445. #: guix-git/doc/guix.texi:34934
  51446. 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})."
  51447. msgstr ""
  51448. #. type: item
  51449. #: guix-git/doc/guix.texi:34935
  51450. #, no-wrap
  51451. msgid "@code{actions} (default: @code{'()})"
  51452. msgstr ""
  51453. #. type: cindex
  51454. #: guix-git/doc/guix.texi:34936
  51455. #, no-wrap
  51456. msgid "actions, of Shepherd services"
  51457. msgstr ""
  51458. #. type: table
  51459. #: guix-git/doc/guix.texi:34941
  51460. 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:"
  51461. msgstr ""
  51462. #. type: example
  51463. #: guix-git/doc/guix.texi:34944
  51464. #, no-wrap
  51465. msgid "herd @var{action} @var{service} [@var{arguments}@dots{}]\n"
  51466. msgstr ""
  51467. #. type: item
  51468. #: guix-git/doc/guix.texi:34946
  51469. #, no-wrap
  51470. msgid "@code{auto-start?} (default: @code{#t})"
  51471. msgstr ""
  51472. #. type: table
  51473. #: guix-git/doc/guix.texi:34949
  51474. 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}."
  51475. msgstr ""
  51476. #. type: table
  51477. #: guix-git/doc/guix.texi:34952
  51478. msgid "A documentation string, as shown when running:"
  51479. msgstr ""
  51480. #. type: example
  51481. #: guix-git/doc/guix.texi:34955
  51482. #, no-wrap
  51483. msgid "herd doc @var{service-name}\n"
  51484. msgstr ""
  51485. #. type: table
  51486. #: guix-git/doc/guix.texi:34959
  51487. msgid "where @var{service-name} is one of the symbols in @code{provision} (@pxref{Invoking herd,,, shepherd, The GNU Shepherd Manual})."
  51488. msgstr ""
  51489. #. type: item
  51490. #: guix-git/doc/guix.texi:34960
  51491. #, no-wrap
  51492. msgid "@code{modules} (default: @code{%default-modules})"
  51493. msgstr ""
  51494. #. type: table
  51495. #: guix-git/doc/guix.texi:34963
  51496. msgid "This is the list of modules that must be in scope when @code{start} and @code{stop} are evaluated."
  51497. msgstr ""
  51498. #. type: Plain text
  51499. #: guix-git/doc/guix.texi:34971
  51500. 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}):"
  51501. msgstr ""
  51502. #. type: example
  51503. #: guix-git/doc/guix.texi:34983
  51504. #, no-wrap
  51505. msgid ""
  51506. "(let ((config (plain-file \"syslogd.conf\" \"@dots{}\")))\n"
  51507. " (shepherd-service\n"
  51508. " (documentation \"Run the syslog daemon (syslogd).\")\n"
  51509. " (provision '(syslogd))\n"
  51510. " (requirement '(user-processes))\n"
  51511. " (start #~(make-forkexec-constructor\n"
  51512. " (list #$(file-append inetutils \"/libexec/syslogd\")\n"
  51513. " \"--rcfile\" #$config)\n"
  51514. " #:pid-file \"/var/run/syslog.pid\"))\n"
  51515. " (stop #~(make-kill-destructor))))\n"
  51516. msgstr ""
  51517. #. type: Plain text
  51518. #: guix-git/doc/guix.texi:34998
  51519. 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})."
  51520. msgstr ""
  51521. #. type: deftp
  51522. #: guix-git/doc/guix.texi:34999
  51523. #, no-wrap
  51524. msgid "{Data Type} shepherd-action"
  51525. msgstr ""
  51526. #. type: deftp
  51527. #: guix-git/doc/guix.texi:35002
  51528. msgid "This is the data type that defines additional actions implemented by a Shepherd service (see above)."
  51529. msgstr ""
  51530. #. type: table
  51531. #: guix-git/doc/guix.texi:35006
  51532. msgid "Symbol naming the action."
  51533. msgstr ""
  51534. #. type: table
  51535. #: guix-git/doc/guix.texi:35009
  51536. msgid "This is a documentation string for the action. It can be viewed by running:"
  51537. msgstr ""
  51538. #. type: example
  51539. #: guix-git/doc/guix.texi:35012
  51540. #, no-wrap
  51541. msgid "herd doc @var{service} action @var{action}\n"
  51542. msgstr ""
  51543. #. type: item
  51544. #: guix-git/doc/guix.texi:35014
  51545. #, no-wrap
  51546. msgid "procedure"
  51547. msgstr ""
  51548. #. type: table
  51549. #: guix-git/doc/guix.texi:35018
  51550. 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})."
  51551. msgstr ""
  51552. #. type: deftp
  51553. #: guix-git/doc/guix.texi:35022
  51554. msgid "The following example defines an action called @code{say-hello} that kindly greets the user:"
  51555. msgstr ""
  51556. #. type: lisp
  51557. #: guix-git/doc/guix.texi:35031
  51558. #, no-wrap
  51559. msgid ""
  51560. "(shepherd-action\n"
  51561. " (name 'say-hello)\n"
  51562. " (documentation \"Say hi!\")\n"
  51563. " (procedure #~(lambda (running . args)\n"
  51564. " (format #t \"Hello, friend! arguments: ~s\\n\"\n"
  51565. " args)\n"
  51566. " #t)))\n"
  51567. msgstr ""
  51568. #. type: deftp
  51569. #: guix-git/doc/guix.texi:35034
  51570. msgid "Assuming this action is added to the @code{example} service, then you can do:"
  51571. msgstr ""
  51572. #. type: example
  51573. #: guix-git/doc/guix.texi:35040
  51574. #, no-wrap
  51575. msgid ""
  51576. "# herd say-hello example\n"
  51577. "Hello, friend! arguments: ()\n"
  51578. "# herd say-hello example a b c\n"
  51579. "Hello, friend! arguments: (\"a\" \"b\" \"c\")\n"
  51580. msgstr ""
  51581. #. type: deftp
  51582. #: guix-git/doc/guix.texi:35045
  51583. 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."
  51584. msgstr ""
  51585. #. type: defvr
  51586. #: guix-git/doc/guix.texi:35047
  51587. #, no-wrap
  51588. msgid "{Scheme Variable} shepherd-root-service-type"
  51589. msgstr ""
  51590. #. type: defvr
  51591. #: guix-git/doc/guix.texi:35049
  51592. msgid "The service type for the Shepherd ``root service''---i.e., PID@tie{}1."
  51593. msgstr ""
  51594. #. type: defvr
  51595. #: guix-git/doc/guix.texi:35054
  51596. 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."
  51597. msgstr ""
  51598. #. type: deftp
  51599. #: guix-git/doc/guix.texi:35056
  51600. #, no-wrap
  51601. msgid "{Data Type} shepherd-configuration"
  51602. msgstr ""
  51603. #. type: deftp
  51604. #: guix-git/doc/guix.texi:35058
  51605. msgid "This data type represents the Shepherd's configuration."
  51606. msgstr ""
  51607. #. type: item
  51608. #: guix-git/doc/guix.texi:35060
  51609. #, no-wrap
  51610. msgid "shepherd (default: @code{shepherd})"
  51611. msgstr ""
  51612. #. type: table
  51613. #: guix-git/doc/guix.texi:35062
  51614. msgid "The Shepherd package to use."
  51615. msgstr ""
  51616. #. type: item
  51617. #: guix-git/doc/guix.texi:35063
  51618. #, no-wrap
  51619. msgid "services (default: @code{'()})"
  51620. msgstr ""
  51621. #. type: table
  51622. #: guix-git/doc/guix.texi:35067
  51623. msgid "A list of @code{<shepherd-service>} to start. You should probably use the service extension mechanism instead (@pxref{Shepherd Services})."
  51624. msgstr ""
  51625. #. type: Plain text
  51626. #: guix-git/doc/guix.texi:35072
  51627. msgid "The following example specifies the Shepherd package for the operating system:"
  51628. msgstr ""
  51629. #. type: lisp
  51630. #: guix-git/doc/guix.texi:35087
  51631. #, no-wrap
  51632. msgid ""
  51633. "(operating-system\n"
  51634. " ;; ...\n"
  51635. " (services (append (list openssh-service-type))\n"
  51636. " ;; ...\n"
  51637. " %desktop-services)\n"
  51638. " ;; ...\n"
  51639. " ;; Use own Shepherd package.\n"
  51640. " (essential-services\n"
  51641. " (modify-services (operating-system-default-essential-services\n"
  51642. " this-operating-system)\n"
  51643. " (shepherd-root-service-type config => (shepherd-configuration\n"
  51644. " (inherit config)\n"
  51645. " (shepherd my-shepherd))))))\n"
  51646. msgstr ""
  51647. #. type: defvr
  51648. #: guix-git/doc/guix.texi:35089
  51649. #, no-wrap
  51650. msgid "{Scheme Variable} %shepherd-root-service"
  51651. msgstr ""
  51652. #. type: defvr
  51653. #: guix-git/doc/guix.texi:35091
  51654. msgid "This service represents PID@tie{}1."
  51655. msgstr ""
  51656. #. type: cindex
  51657. #: guix-git/doc/guix.texi:35097
  51658. #, no-wrap
  51659. msgid "documentation, searching for"
  51660. msgstr ""
  51661. #. type: cindex
  51662. #: guix-git/doc/guix.texi:35098
  51663. #, no-wrap
  51664. msgid "searching for documentation"
  51665. msgstr ""
  51666. #. type: cindex
  51667. #: guix-git/doc/guix.texi:35099
  51668. #, no-wrap
  51669. msgid "Info, documentation format"
  51670. msgstr ""
  51671. #. type: cindex
  51672. #: guix-git/doc/guix.texi:35100
  51673. #, no-wrap
  51674. msgid "man pages"
  51675. msgstr ""
  51676. #. type: cindex
  51677. #: guix-git/doc/guix.texi:35101
  51678. #, no-wrap
  51679. msgid "manual pages"
  51680. msgstr ""
  51681. #. type: Plain text
  51682. #: guix-git/doc/guix.texi:35108
  51683. 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}."
  51684. msgstr ""
  51685. #. type: Plain text
  51686. #: guix-git/doc/guix.texi:35112
  51687. 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:"
  51688. msgstr ""
  51689. #. type: example
  51690. #: guix-git/doc/guix.texi:35120
  51691. #, no-wrap
  51692. msgid ""
  51693. "$ info -k TLS\n"
  51694. "\"(emacs)Network Security\" -- STARTTLS\n"
  51695. "\"(emacs)Network Security\" -- TLS\n"
  51696. "\"(gnutls)Core TLS API\" -- gnutls_certificate_set_verify_flags\n"
  51697. "\"(gnutls)Core TLS API\" -- gnutls_certificate_set_verify_function\n"
  51698. "@dots{}\n"
  51699. msgstr ""
  51700. #. type: Plain text
  51701. #: guix-git/doc/guix.texi:35124
  51702. msgid "The command below searches for the same keyword in man pages:"
  51703. msgstr ""
  51704. #. type: example
  51705. #: guix-git/doc/guix.texi:35130
  51706. #, no-wrap
  51707. msgid ""
  51708. "$ man -k TLS\n"
  51709. "SSL (7) - OpenSSL SSL/TLS library\n"
  51710. "certtool (1) - GnuTLS certificate tool\n"
  51711. "@dots {}\n"
  51712. msgstr ""
  51713. #. type: Plain text
  51714. #: guix-git/doc/guix.texi:35136
  51715. 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."
  51716. msgstr ""
  51717. #. type: Plain text
  51718. #: guix-git/doc/guix.texi:35139
  51719. msgid "Once you have these results, you can view the relevant documentation by running, say:"
  51720. msgstr ""
  51721. #. type: example
  51722. #: guix-git/doc/guix.texi:35142
  51723. #, no-wrap
  51724. msgid "$ info \"(gnutls)Core TLS API\"\n"
  51725. msgstr ""
  51726. #. type: Plain text
  51727. #: guix-git/doc/guix.texi:35146
  51728. msgid "or:"
  51729. msgstr ""
  51730. #. type: example
  51731. #: guix-git/doc/guix.texi:35149
  51732. #, no-wrap
  51733. msgid "$ man certtool\n"
  51734. msgstr ""
  51735. #. type: Plain text
  51736. #: guix-git/doc/guix.texi:35157
  51737. 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."
  51738. msgstr ""
  51739. #. type: cindex
  51740. #: guix-git/doc/guix.texi:35161
  51741. #, no-wrap
  51742. msgid "debugging files"
  51743. msgstr ""
  51744. #. type: Plain text
  51745. #: guix-git/doc/guix.texi:35167
  51746. 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."
  51747. msgstr ""
  51748. #. type: Plain text
  51749. #: guix-git/doc/guix.texi:35171
  51750. 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."
  51751. msgstr ""
  51752. #. type: Plain text
  51753. #: guix-git/doc/guix.texi:35187
  51754. 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})."
  51755. msgstr ""
  51756. #. type: Plain text
  51757. #: guix-git/doc/guix.texi:35194
  51758. 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})."
  51759. msgstr ""
  51760. #. type: Plain text
  51761. #: guix-git/doc/guix.texi:35202
  51762. 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:"
  51763. msgstr ""
  51764. #. type: example
  51765. #: guix-git/doc/guix.texi:35205
  51766. #, no-wrap
  51767. msgid "guix install glibc:debug guile:debug\n"
  51768. msgstr ""
  51769. #. type: Plain text
  51770. #: guix-git/doc/guix.texi:35211
  51771. 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}):"
  51772. msgstr ""
  51773. #. type: example
  51774. #: guix-git/doc/guix.texi:35214
  51775. #, no-wrap
  51776. msgid "(gdb) set debug-file-directory ~/.guix-profile/lib/debug\n"
  51777. msgstr ""
  51778. #. type: Plain text
  51779. #: guix-git/doc/guix.texi:35218
  51780. msgid "From there on, GDB will pick up debugging information from the @file{.debug} files under @file{~/.guix-profile/lib/debug}."
  51781. msgstr ""
  51782. #. type: Plain text
  51783. #: guix-git/doc/guix.texi:35225
  51784. 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})."
  51785. msgstr ""
  51786. #. type: Plain text
  51787. #: guix-git/doc/guix.texi:35233
  51788. 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})."
  51789. msgstr ""
  51790. #. type: Plain text
  51791. #: guix-git/doc/guix.texi:35235
  51792. msgid "Read on for how to deal with packages lacking a @code{debug} output."
  51793. msgstr ""
  51794. #. type: Plain text
  51795. #: guix-git/doc/guix.texi:35247
  51796. 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."
  51797. msgstr ""
  51798. #. type: Plain text
  51799. #: guix-git/doc/guix.texi:35252
  51800. 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:"
  51801. msgstr ""
  51802. #. type: example
  51803. #: guix-git/doc/guix.texi:35263
  51804. #, no-wrap
  51805. msgid ""
  51806. "(gdb) bt\n"
  51807. "#0 0x00007ffff5f92190 in g_getenv ()\n"
  51808. " from /gnu/store/@dots{}-glib-2.62.6/lib/libglib-2.0.so.0\n"
  51809. "#1 0x00007ffff608a7d6 in gobject_init_ctor ()\n"
  51810. " from /gnu/store/@dots{}-glib-2.62.6/lib/libgobject-2.0.so.0\n"
  51811. "#2 0x00007ffff7fe275a in call_init (l=<optimized out>, argc=argc@@entry=1, argv=argv@@entry=0x7fffffffcfd8, \n"
  51812. " env=env@@entry=0x7fffffffcfe8) at dl-init.c:72\n"
  51813. "#3 0x00007ffff7fe2866 in call_init (env=0x7fffffffcfe8, argv=0x7fffffffcfd8, argc=1, l=<optimized out>)\n"
  51814. " at dl-init.c:118\n"
  51815. msgstr ""
  51816. #. type: Plain text
  51817. #: guix-git/doc/guix.texi:35267
  51818. msgid "To address that, you install Inkscape linked against a variant GLib that contains debug info:"
  51819. msgstr ""
  51820. #. type: Plain text
  51821. #: guix-git/doc/guix.texi:35273
  51822. msgid "This time, debugging will be a whole lot nicer:"
  51823. msgstr ""
  51824. #. type: example
  51825. #: guix-git/doc/guix.texi:35291
  51826. #, no-wrap
  51827. msgid ""
  51828. "$ gdb --args sh -c 'exec inkscape'\n"
  51829. "@dots{}\n"
  51830. "(gdb) b g_getenv\n"
  51831. "Function \"g_getenv\" not defined.\n"
  51832. "Make breakpoint pending on future shared library load? (y or [n]) y\n"
  51833. "Breakpoint 1 (g_getenv) pending.\n"
  51834. "(gdb) r\n"
  51835. "Starting program: /gnu/store/@dots{}-profile/bin/sh -c exec\\ inkscape\n"
  51836. "@dots{}\n"
  51837. "(gdb) bt\n"
  51838. "#0 g_getenv (variable=variable@@entry=0x7ffff60c7a2e \"GOBJECT_DEBUG\") at ../glib-2.62.6/glib/genviron.c:252\n"
  51839. "#1 0x00007ffff608a7d6 in gobject_init () at ../glib-2.62.6/gobject/gtype.c:4380\n"
  51840. "#2 gobject_init_ctor () at ../glib-2.62.6/gobject/gtype.c:4493\n"
  51841. "#3 0x00007ffff7fe275a in call_init (l=<optimized out>, argc=argc@@entry=3, argv=argv@@entry=0x7fffffffd088, \n"
  51842. " env=env@@entry=0x7fffffffd0a8) at dl-init.c:72\n"
  51843. "@dots{}\n"
  51844. msgstr ""
  51845. #. type: Plain text
  51846. #: guix-git/doc/guix.texi:35294
  51847. msgid "Much better!"
  51848. msgstr ""
  51849. #. type: Plain text
  51850. #: guix-git/doc/guix.texi:35298
  51851. 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."
  51852. msgstr ""
  51853. #. type: cindex
  51854. #: guix-git/doc/guix.texi:35302
  51855. #, no-wrap
  51856. msgid "security updates"
  51857. msgstr ""
  51858. #. type: Plain text
  51859. #: guix-git/doc/guix.texi:35311
  51860. 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:"
  51861. msgstr ""
  51862. #. type: smallexample
  51863. #: guix-git/doc/guix.texi:35318
  51864. #, no-wrap
  51865. msgid ""
  51866. "$ guix lint -c cve\n"
  51867. "gnu/packages/base.scm:652:2: glibc@@2.21: probably vulnerable to CVE-2015-1781, CVE-2015-7547\n"
  51868. "gnu/packages/gcc.scm:334:2: gcc@@4.9.3: probably vulnerable to CVE-2015-5276\n"
  51869. "gnu/packages/image.scm:312:2: openjpeg@@2.1.0: probably vulnerable to CVE-2016-1923, CVE-2016-1924\n"
  51870. "@dots{}\n"
  51871. msgstr ""
  51872. #. type: Plain text
  51873. #: guix-git/doc/guix.texi:35321
  51874. msgid "@xref{Invoking guix lint}, for more information."
  51875. msgstr ""
  51876. #. type: Plain text
  51877. #: guix-git/doc/guix.texi:35330
  51878. 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."
  51879. msgstr ""
  51880. #. type: cindex
  51881. #: guix-git/doc/guix.texi:35331
  51882. #, no-wrap
  51883. msgid "grafts"
  51884. msgstr ""
  51885. #. type: Plain text
  51886. #: guix-git/doc/guix.texi:35339
  51887. 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."
  51888. msgstr ""
  51889. #. type: cindex
  51890. #: guix-git/doc/guix.texi:35340
  51891. #, no-wrap
  51892. msgid "replacements of packages, for grafts"
  51893. msgstr ""
  51894. #. type: Plain text
  51895. #: guix-git/doc/guix.texi:35346
  51896. 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:"
  51897. msgstr ""
  51898. #. type: lisp
  51899. #: guix-git/doc/guix.texi:35353
  51900. #, no-wrap
  51901. msgid ""
  51902. "(define bash\n"
  51903. " (package\n"
  51904. " (name \"bash\")\n"
  51905. " ;; @dots{}\n"
  51906. " (replacement bash-fixed)))\n"
  51907. msgstr ""
  51908. #. type: Plain text
  51909. #: guix-git/doc/guix.texi:35363
  51910. 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."
  51911. msgstr ""
  51912. #. type: Plain text
  51913. #: guix-git/doc/guix.texi:35371
  51914. 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."
  51915. msgstr ""
  51916. #. type: Plain text
  51917. #: guix-git/doc/guix.texi:35375
  51918. msgid "The @option{--no-grafts} command-line option allows you to forcefully avoid grafting (@pxref{Common Build Options, @option{--no-grafts}}). Thus, the command:"
  51919. msgstr ""
  51920. #. type: example
  51921. #: guix-git/doc/guix.texi:35378
  51922. #, no-wrap
  51923. msgid "guix build bash --no-grafts\n"
  51924. msgstr ""
  51925. #. type: Plain text
  51926. #: guix-git/doc/guix.texi:35382
  51927. msgid "returns the store file name of the original Bash, whereas:"
  51928. msgstr ""
  51929. #. type: example
  51930. #: guix-git/doc/guix.texi:35385
  51931. #, no-wrap
  51932. msgid "guix build bash\n"
  51933. msgstr ""
  51934. #. type: Plain text
  51935. #: guix-git/doc/guix.texi:35390
  51936. msgid "returns the store file name of the ``fixed'', replacement Bash. This allows you to distinguish between the two variants of Bash."
  51937. msgstr ""
  51938. #. type: Plain text
  51939. #: guix-git/doc/guix.texi:35393
  51940. msgid "To verify which Bash your whole profile refers to, you can run (@pxref{Invoking guix gc}):"
  51941. msgstr ""
  51942. #. type: example
  51943. #: guix-git/doc/guix.texi:35396
  51944. #, no-wrap
  51945. msgid "guix gc -R $(readlink -f ~/.guix-profile) | grep bash\n"
  51946. msgstr ""
  51947. #. type: Plain text
  51948. #: guix-git/doc/guix.texi:35401
  51949. msgid "@dots{} and compare the store file names that you get with those above. Likewise for a complete Guix system generation:"
  51950. msgstr ""
  51951. #. type: example
  51952. #: guix-git/doc/guix.texi:35404
  51953. #, no-wrap
  51954. msgid "guix gc -R $(guix system build my-config.scm) | grep bash\n"
  51955. msgstr ""
  51956. #. type: Plain text
  51957. #: guix-git/doc/guix.texi:35408
  51958. msgid "Lastly, to check which Bash running processes are using, you can use the @command{lsof} command:"
  51959. msgstr ""
  51960. #. type: example
  51961. #: guix-git/doc/guix.texi:35411
  51962. #, no-wrap
  51963. msgid "lsof | grep /gnu/store/.*bash\n"
  51964. msgstr ""
  51965. #. type: cindex
  51966. #: guix-git/doc/guix.texi:35419
  51967. #, no-wrap
  51968. msgid "bootstrapping"
  51969. msgstr ""
  51970. #. type: Plain text
  51971. #: guix-git/doc/guix.texi:35426
  51972. 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?"
  51973. msgstr ""
  51974. #. type: Plain text
  51975. #: guix-git/doc/guix.texi:35434
  51976. 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."
  51977. msgstr ""
  51978. #. type: cindex
  51979. #: guix-git/doc/guix.texi:35435 guix-git/doc/guix.texi:35647
  51980. #, no-wrap
  51981. msgid "bootstrap binaries"
  51982. msgstr ""
  51983. #. type: Plain text
  51984. #: guix-git/doc/guix.texi:35445
  51985. 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}."
  51986. msgstr ""
  51987. #. type: Plain text
  51988. #: guix-git/doc/guix.texi:35449
  51989. msgid "These bootstrap binaries are ``taken for granted'', though we can also re-create them if needed (@pxref{Preparing to Use the Bootstrap Binaries})."
  51990. msgstr ""
  51991. #. type: section
  51992. #: guix-git/doc/guix.texi:35456
  51993. #, no-wrap
  51994. msgid "The Reduced Binary Seed Bootstrap"
  51995. msgstr ""
  51996. #. type: Plain text
  51997. #: guix-git/doc/guix.texi:35463
  51998. 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.''"
  51999. msgstr ""
  52000. #. type: Plain text
  52001. #: guix-git/doc/guix.texi:35469
  52002. 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."
  52003. msgstr ""
  52004. #. type: Plain text
  52005. #: guix-git/doc/guix.texi:35474
  52006. 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.}."
  52007. msgstr ""
  52008. #. type: Plain text
  52009. #: guix-git/doc/guix.texi:35480
  52010. 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)."
  52011. msgstr ""
  52012. #. type: Plain text
  52013. #: guix-git/doc/guix.texi:35485
  52014. 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."
  52015. msgstr ""
  52016. #. type: Plain text
  52017. #: guix-git/doc/guix.texi:35493
  52018. 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."
  52019. msgstr ""
  52020. #. type: Plain text
  52021. #: guix-git/doc/guix.texi:35503
  52022. 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."
  52023. msgstr ""
  52024. #. type: Plain text
  52025. #: guix-git/doc/guix.texi:35507
  52026. 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."
  52027. msgstr ""
  52028. #. type: Plain text
  52029. #: guix-git/doc/guix.texi:35510
  52030. msgid "@image{images/gcc-core-mesboot0-graph,6in,,Dependency graph of gcc-core-mesboot0}"
  52031. msgstr ""
  52032. #. type: Plain text
  52033. #: guix-git/doc/guix.texi:35517
  52034. 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.}."
  52035. msgstr ""
  52036. #. type: Plain text
  52037. #: guix-git/doc/guix.texi:35520
  52038. 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}."
  52039. msgstr ""
  52040. #. type: Plain text
  52041. #: guix-git/doc/guix.texi:35525
  52042. 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."
  52043. msgstr ""
  52044. #. type: Plain text
  52045. #: guix-git/doc/guix.texi:35529
  52046. 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}."
  52047. msgstr ""
  52048. #. type: Plain text
  52049. #: guix-git/doc/guix.texi:35536
  52050. msgid "@image{images/bootstrap-graph,6in,,Dependency graph of the early bootstrap derivations}"
  52051. msgstr ""
  52052. #. type: Plain text
  52053. #: guix-git/doc/guix.texi:35541
  52054. 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:"
  52055. msgstr ""
  52056. #. type: example
  52057. #: guix-git/doc/guix.texi:35546
  52058. #, no-wrap
  52059. msgid ""
  52060. "guix graph -t derivation \\\n"
  52061. " -e '(@@@@ (gnu packages bootstrap) %bootstrap-gcc)' \\\n"
  52062. " | dot -Tps > gcc.ps\n"
  52063. msgstr ""
  52064. #. type: Plain text
  52065. #: guix-git/doc/guix.texi:35549
  52066. msgid "or, for the further Reduced Binary Seed bootstrap"
  52067. msgstr ""
  52068. #. type: example
  52069. #: guix-git/doc/guix.texi:35554
  52070. #, no-wrap
  52071. msgid ""
  52072. "guix graph -t derivation \\\n"
  52073. " -e '(@@@@ (gnu packages bootstrap) %bootstrap-mes)' \\\n"
  52074. " | dot -Tps > mes.ps\n"
  52075. msgstr ""
  52076. #. type: Plain text
  52077. #: guix-git/doc/guix.texi:35563
  52078. 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})."
  52079. msgstr ""
  52080. #. type: Plain text
  52081. #: guix-git/doc/guix.texi:35572
  52082. 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."
  52083. msgstr ""
  52084. #. type: Plain text
  52085. #: guix-git/doc/guix.texi:35584
  52086. 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})."
  52087. msgstr ""
  52088. #. type: Plain text
  52089. #: guix-git/doc/guix.texi:35589
  52090. 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."
  52091. msgstr ""
  52092. #. type: unnumberedsec
  52093. #: guix-git/doc/guix.texi:35590
  52094. #, no-wrap
  52095. msgid "Building the Build Tools"
  52096. msgstr ""
  52097. #. type: Plain text
  52098. #: guix-git/doc/guix.texi:35599
  52099. 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."
  52100. msgstr ""
  52101. #. type: Plain text
  52102. #: guix-git/doc/guix.texi:35606
  52103. 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:"
  52104. msgstr ""
  52105. #. type: example
  52106. #: guix-git/doc/guix.texi:35611
  52107. #, no-wrap
  52108. msgid ""
  52109. "guix graph -t bag \\\n"
  52110. " -e '(@@@@ (gnu packages commencement)\n"
  52111. " glibc-final-with-bootstrap-bash)' | xdot -\n"
  52112. msgstr ""
  52113. #. type: Plain text
  52114. #: guix-git/doc/guix.texi:35618
  52115. 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."
  52116. msgstr ""
  52117. #. type: Plain text
  52118. #: guix-git/doc/guix.texi:35620
  52119. msgid "@image{images/bootstrap-packages,6in,,Dependency graph of the early packages}"
  52120. msgstr ""
  52121. #. type: Plain text
  52122. #: guix-git/doc/guix.texi:35626
  52123. 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."
  52124. msgstr ""
  52125. #. type: Plain text
  52126. #: guix-git/doc/guix.texi:35631
  52127. 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."
  52128. msgstr ""
  52129. #. type: Plain text
  52130. #: guix-git/doc/guix.texi:35637
  52131. 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."
  52132. msgstr ""
  52133. #. type: Plain text
  52134. #: guix-git/doc/guix.texi:35643
  52135. 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}})."
  52136. msgstr ""
  52137. #. type: unnumberedsec
  52138. #: guix-git/doc/guix.texi:35645
  52139. #, no-wrap
  52140. msgid "Building the Bootstrap Binaries"
  52141. msgstr ""
  52142. #. type: Plain text
  52143. #: guix-git/doc/guix.texi:35652
  52144. 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."
  52145. msgstr ""
  52146. #. type: Plain text
  52147. #: guix-git/doc/guix.texi:35658
  52148. 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):"
  52149. msgstr ""
  52150. #. type: example
  52151. #: guix-git/doc/guix.texi:35661
  52152. #, no-wrap
  52153. msgid "guix build bootstrap-tarballs\n"
  52154. msgstr ""
  52155. #. type: Plain text
  52156. #: guix-git/doc/guix.texi:35666
  52157. 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."
  52158. msgstr ""
  52159. #. type: Plain text
  52160. #: guix-git/doc/guix.texi:35672
  52161. 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."
  52162. msgstr ""
  52163. #. type: unnumberedsec
  52164. #: guix-git/doc/guix.texi:35673
  52165. #, no-wrap
  52166. msgid "Reducing the Set of Bootstrap Binaries"
  52167. msgstr ""
  52168. #. type: Plain text
  52169. #: guix-git/doc/guix.texi:35681
  52170. 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}."
  52171. msgstr ""
  52172. #. type: Plain text
  52173. #: guix-git/doc/guix.texi:35687
  52174. 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."
  52175. msgstr ""
  52176. #. type: Plain text
  52177. #: guix-git/doc/guix.texi:35693
  52178. 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."
  52179. msgstr ""
  52180. #. type: Plain text
  52181. #: guix-git/doc/guix.texi:35702
  52182. 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."
  52183. msgstr ""
  52184. #. type: Plain text
  52185. #: guix-git/doc/guix.texi:35705
  52186. 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!"
  52187. msgstr ""
  52188. #. type: chapter
  52189. #: guix-git/doc/guix.texi:35707
  52190. #, no-wrap
  52191. msgid "Porting to a New Platform"
  52192. msgstr ""
  52193. #. type: Plain text
  52194. #: guix-git/doc/guix.texi:35716
  52195. 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."
  52196. msgstr ""
  52197. #. type: Plain text
  52198. #: guix-git/doc/guix.texi:35721
  52199. 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:"
  52200. msgstr ""
  52201. #. type: example
  52202. #: guix-git/doc/guix.texi:35724
  52203. #, no-wrap
  52204. msgid "guix build --target=armv5tel-linux-gnueabi bootstrap-tarballs\n"
  52205. msgstr ""
  52206. #. type: Plain text
  52207. #: guix-git/doc/guix.texi:35731
  52208. 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."
  52209. msgstr ""
  52210. #. type: Plain text
  52211. #: guix-git/doc/guix.texi:35740
  52212. 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."
  52213. msgstr ""
  52214. #. type: Plain text
  52215. #: guix-git/doc/guix.texi:35749
  52216. 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."
  52217. msgstr ""
  52218. #. type: include
  52219. #: guix-git/doc/guix.texi:35751
  52220. #, no-wrap
  52221. msgid "contributing.texi"
  52222. msgstr "contributing.sk.texi"
  52223. #. type: Plain text
  52224. #: guix-git/doc/guix.texi:35764
  52225. 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."
  52226. msgstr ""
  52227. #. type: Plain text
  52228. #: guix-git/doc/guix.texi:35767
  52229. msgid "The Nix-based software distributions, Nixpkgs and NixOS, have also been an inspiration for Guix."
  52230. msgstr ""
  52231. #. type: Plain text
  52232. #: guix-git/doc/guix.texi:35773
  52233. 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!"
  52234. msgstr ""
  52235. #. type: cindex
  52236. #: guix-git/doc/guix.texi:35778
  52237. #, no-wrap
  52238. msgid "license, GNU Free Documentation License"
  52239. msgstr ""
  52240. #. type: include
  52241. #: guix-git/doc/guix.texi:35779
  52242. #, no-wrap
  52243. msgid "fdl-1.3.texi"
  52244. msgstr ""
  52245. #~ msgid "Using Debbugs."
  52246. #~ msgstr "Používanie Debbugs."