guix-manual.fi.po 2.2 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366333673336833369333703337133372333733337433375333763337733378333793338033381333823338333384333853338633387333883338933390333913339233393333943339533396333973339833399334003340133402334033340433405334063340733408334093341033411334123341333414334153341633417334183341933420334213342233423334243342533426334273342833429334303343133432334333343433435334363343733438334393344033441334423344333444334453344633447334483344933450334513345233453334543345533456334573345833459334603346133462334633346433465334663346733468334693347033471334723347333474334753347633477334783347933480334813348233483334843348533486334873348833489334903349133492334933349433495334963349733498334993350033501335023350333504335053350633507335083350933510335113351233513335143351533516335173351833519335203352133522335233352433525335263352733528335293353033531335323353333534335353353633537335383353933540335413354233543335443354533546335473354833549335503355133552335533355433555335563355733558335593356033561335623356333564335653356633567335683356933570335713357233573335743357533576335773357833579335803358133582335833358433585335863358733588335893359033591335923359333594335953359633597335983359933600336013360233603336043360533606336073360833609336103361133612336133361433615336163361733618336193362033621336223362333624336253362633627336283362933630336313363233633336343363533636336373363833639336403364133642336433364433645336463364733648336493365033651336523365333654336553365633657336583365933660336613366233663336643366533666336673366833669336703367133672336733367433675336763367733678336793368033681336823368333684336853368633687336883368933690336913369233693336943369533696336973369833699337003370133702337033370433705337063370733708337093371033711337123371333714337153371633717337183371933720337213372233723337243372533726337273372833729337303373133732337333373433735337363373733738337393374033741337423374333744337453374633747337483374933750337513375233753337543375533756337573375833759337603376133762337633376433765337663376733768337693377033771337723377333774337753377633777337783377933780337813378233783337843378533786337873378833789337903379133792337933379433795337963379733798337993380033801338023380333804338053380633807338083380933810338113381233813338143381533816338173381833819338203382133822338233382433825338263382733828338293383033831338323383333834338353383633837338383383933840338413384233843338443384533846338473384833849338503385133852338533385433855338563385733858338593386033861338623386333864338653386633867338683386933870338713387233873338743387533876338773387833879338803388133882338833388433885338863388733888338893389033891338923389333894338953389633897338983389933900339013390233903339043390533906339073390833909339103391133912339133391433915339163391733918339193392033921339223392333924339253392633927339283392933930339313393233933339343393533936339373393833939339403394133942339433394433945339463394733948339493395033951339523395333954339553395633957339583395933960339613396233963339643396533966339673396833969339703397133972339733397433975339763397733978339793398033981339823398333984339853398633987339883398933990339913399233993339943399533996339973399833999340003400134002340033400434005340063400734008340093401034011340123401334014340153401634017340183401934020340213402234023340243402534026340273402834029340303403134032340333403434035340363403734038340393404034041340423404334044340453404634047340483404934050340513405234053340543405534056340573405834059340603406134062340633406434065340663406734068340693407034071340723407334074340753407634077340783407934080340813408234083340843408534086340873408834089340903409134092340933409434095340963409734098340993410034101341023410334104341053410634107341083410934110341113411234113341143411534116341173411834119341203412134122341233412434125341263412734128341293413034131341323413334134341353413634137341383413934140341413414234143341443414534146341473414834149341503415134152341533415434155341563415734158341593416034161341623416334164341653416634167341683416934170341713417234173341743417534176341773417834179341803418134182341833418434185341863418734188341893419034191341923419334194341953419634197341983419934200342013420234203342043420534206342073420834209342103421134212342133421434215342163421734218342193422034221342223422334224342253422634227342283422934230342313423234233342343423534236342373423834239342403424134242342433424434245342463424734248342493425034251342523425334254342553425634257342583425934260342613426234263342643426534266342673426834269342703427134272342733427434275342763427734278342793428034281342823428334284342853428634287342883428934290342913429234293342943429534296342973429834299343003430134302343033430434305343063430734308343093431034311343123431334314343153431634317343183431934320343213432234323343243432534326343273432834329343303433134332343333433434335343363433734338343393434034341343423434334344343453434634347343483434934350343513435234353343543435534356343573435834359343603436134362343633436434365343663436734368343693437034371343723437334374343753437634377343783437934380343813438234383343843438534386343873438834389343903439134392343933439434395343963439734398343993440034401344023440334404344053440634407344083440934410344113441234413344143441534416344173441834419344203442134422344233442434425344263442734428344293443034431344323443334434344353443634437344383443934440344413444234443344443444534446344473444834449344503445134452344533445434455344563445734458344593446034461344623446334464344653446634467344683446934470344713447234473344743447534476344773447834479344803448134482344833448434485344863448734488344893449034491344923449334494344953449634497344983449934500345013450234503345043450534506345073450834509345103451134512345133451434515345163451734518345193452034521345223452334524345253452634527345283452934530345313453234533345343453534536345373453834539345403454134542345433454434545345463454734548345493455034551345523455334554345553455634557345583455934560345613456234563345643456534566345673456834569345703457134572345733457434575345763457734578345793458034581345823458334584345853458634587345883458934590345913459234593345943459534596345973459834599346003460134602346033460434605346063460734608346093461034611346123461334614346153461634617346183461934620346213462234623346243462534626346273462834629346303463134632346333463434635346363463734638346393464034641346423464334644346453464634647346483464934650346513465234653346543465534656346573465834659346603466134662346633466434665346663466734668346693467034671346723467334674346753467634677346783467934680346813468234683346843468534686346873468834689346903469134692346933469434695346963469734698346993470034701347023470334704347053470634707347083470934710347113471234713347143471534716347173471834719347203472134722347233472434725347263472734728347293473034731347323473334734347353473634737347383473934740347413474234743347443474534746347473474834749347503475134752347533475434755347563475734758347593476034761347623476334764347653476634767347683476934770347713477234773347743477534776347773477834779347803478134782347833478434785347863478734788347893479034791347923479334794347953479634797347983479934800348013480234803348043480534806348073480834809348103481134812348133481434815348163481734818348193482034821348223482334824348253482634827348283482934830348313483234833348343483534836348373483834839348403484134842348433484434845348463484734848348493485034851348523485334854348553485634857348583485934860348613486234863348643486534866348673486834869348703487134872348733487434875348763487734878348793488034881348823488334884348853488634887348883488934890348913489234893348943489534896348973489834899349003490134902349033490434905349063490734908349093491034911349123491334914349153491634917349183491934920349213492234923349243492534926349273492834929349303493134932349333493434935349363493734938349393494034941349423494334944349453494634947349483494934950349513495234953349543495534956349573495834959349603496134962349633496434965349663496734968349693497034971349723497334974349753497634977349783497934980349813498234983349843498534986349873498834989349903499134992349933499434995349963499734998349993500035001350023500335004350053500635007350083500935010350113501235013350143501535016350173501835019350203502135022350233502435025350263502735028350293503035031350323503335034350353503635037350383503935040350413504235043350443504535046350473504835049350503505135052350533505435055350563505735058350593506035061350623506335064350653506635067350683506935070350713507235073350743507535076350773507835079350803508135082350833508435085350863508735088350893509035091350923509335094350953509635097350983509935100351013510235103351043510535106351073510835109351103511135112351133511435115351163511735118351193512035121351223512335124351253512635127351283512935130351313513235133351343513535136351373513835139351403514135142351433514435145351463514735148351493515035151351523515335154351553515635157351583515935160351613516235163351643516535166351673516835169351703517135172351733517435175351763517735178351793518035181351823518335184351853518635187351883518935190351913519235193351943519535196351973519835199352003520135202352033520435205352063520735208352093521035211352123521335214352153521635217352183521935220352213522235223352243522535226352273522835229352303523135232352333523435235352363523735238352393524035241352423524335244352453524635247352483524935250352513525235253352543525535256352573525835259352603526135262352633526435265352663526735268352693527035271352723527335274352753527635277352783527935280352813528235283352843528535286352873528835289352903529135292352933529435295352963529735298352993530035301353023530335304353053530635307353083530935310353113531235313353143531535316353173531835319353203532135322353233532435325353263532735328353293533035331353323533335334353353533635337353383533935340353413534235343353443534535346353473534835349353503535135352353533535435355353563535735358353593536035361353623536335364353653536635367353683536935370353713537235373353743537535376353773537835379353803538135382353833538435385353863538735388353893539035391353923539335394353953539635397353983539935400354013540235403354043540535406354073540835409354103541135412354133541435415354163541735418354193542035421354223542335424354253542635427354283542935430354313543235433354343543535436354373543835439354403544135442354433544435445354463544735448354493545035451354523545335454354553545635457354583545935460354613546235463354643546535466354673546835469354703547135472354733547435475354763547735478354793548035481354823548335484354853548635487354883548935490354913549235493354943549535496354973549835499355003550135502355033550435505355063550735508355093551035511355123551335514355153551635517355183551935520355213552235523355243552535526355273552835529355303553135532355333553435535355363553735538355393554035541355423554335544355453554635547355483554935550355513555235553355543555535556355573555835559355603556135562355633556435565355663556735568355693557035571355723557335574355753557635577355783557935580355813558235583355843558535586355873558835589355903559135592355933559435595355963559735598355993560035601356023560335604356053560635607356083560935610356113561235613356143561535616356173561835619356203562135622356233562435625356263562735628356293563035631356323563335634356353563635637356383563935640356413564235643356443564535646356473564835649356503565135652356533565435655356563565735658356593566035661356623566335664356653566635667356683566935670356713567235673356743567535676356773567835679356803568135682356833568435685356863568735688356893569035691356923569335694356953569635697356983569935700357013570235703357043570535706357073570835709357103571135712357133571435715357163571735718357193572035721357223572335724357253572635727357283572935730357313573235733357343573535736357373573835739357403574135742357433574435745357463574735748357493575035751357523575335754357553575635757357583575935760357613576235763357643576535766357673576835769357703577135772357733577435775357763577735778357793578035781357823578335784357853578635787357883578935790357913579235793357943579535796357973579835799358003580135802358033580435805358063580735808358093581035811358123581335814358153581635817358183581935820358213582235823358243582535826358273582835829358303583135832358333583435835358363583735838358393584035841358423584335844358453584635847358483584935850358513585235853358543585535856358573585835859358603586135862358633586435865358663586735868358693587035871358723587335874358753587635877358783587935880358813588235883358843588535886358873588835889358903589135892358933589435895358963589735898358993590035901359023590335904359053590635907359083590935910359113591235913359143591535916359173591835919359203592135922359233592435925359263592735928359293593035931359323593335934359353593635937359383593935940359413594235943359443594535946359473594835949359503595135952359533595435955359563595735958359593596035961359623596335964359653596635967359683596935970359713597235973359743597535976359773597835979359803598135982359833598435985359863598735988359893599035991359923599335994359953599635997359983599936000360013600236003360043600536006360073600836009360103601136012360133601436015360163601736018360193602036021360223602336024360253602636027360283602936030360313603236033360343603536036360373603836039360403604136042360433604436045360463604736048360493605036051360523605336054360553605636057360583605936060360613606236063360643606536066360673606836069360703607136072360733607436075360763607736078360793608036081360823608336084360853608636087360883608936090360913609236093360943609536096360973609836099361003610136102361033610436105361063610736108361093611036111361123611336114361153611636117361183611936120361213612236123361243612536126361273612836129361303613136132361333613436135361363613736138361393614036141361423614336144361453614636147361483614936150361513615236153361543615536156361573615836159361603616136162361633616436165361663616736168361693617036171361723617336174361753617636177361783617936180361813618236183361843618536186361873618836189361903619136192361933619436195361963619736198361993620036201362023620336204362053620636207362083620936210362113621236213362143621536216362173621836219362203622136222362233622436225362263622736228362293623036231362323623336234362353623636237362383623936240362413624236243362443624536246362473624836249362503625136252362533625436255362563625736258362593626036261362623626336264362653626636267362683626936270362713627236273362743627536276362773627836279362803628136282362833628436285362863628736288362893629036291362923629336294362953629636297362983629936300363013630236303363043630536306363073630836309363103631136312363133631436315363163631736318363193632036321363223632336324363253632636327363283632936330363313633236333363343633536336363373633836339363403634136342363433634436345363463634736348363493635036351363523635336354363553635636357363583635936360363613636236363363643636536366363673636836369363703637136372363733637436375363763637736378363793638036381363823638336384363853638636387363883638936390363913639236393363943639536396363973639836399364003640136402364033640436405364063640736408364093641036411364123641336414364153641636417364183641936420364213642236423364243642536426364273642836429364303643136432364333643436435364363643736438364393644036441364423644336444364453644636447364483644936450364513645236453364543645536456364573645836459364603646136462364633646436465364663646736468364693647036471364723647336474364753647636477364783647936480364813648236483364843648536486364873648836489364903649136492364933649436495364963649736498364993650036501365023650336504365053650636507365083650936510365113651236513365143651536516365173651836519365203652136522365233652436525365263652736528365293653036531365323653336534365353653636537365383653936540365413654236543365443654536546365473654836549365503655136552365533655436555365563655736558365593656036561365623656336564365653656636567365683656936570365713657236573365743657536576365773657836579365803658136582365833658436585365863658736588365893659036591365923659336594365953659636597365983659936600366013660236603366043660536606366073660836609366103661136612366133661436615366163661736618366193662036621366223662336624366253662636627366283662936630366313663236633366343663536636366373663836639366403664136642366433664436645366463664736648366493665036651366523665336654366553665636657366583665936660366613666236663366643666536666366673666836669366703667136672366733667436675366763667736678366793668036681366823668336684366853668636687366883668936690366913669236693366943669536696366973669836699367003670136702367033670436705367063670736708367093671036711367123671336714367153671636717367183671936720367213672236723367243672536726367273672836729367303673136732367333673436735367363673736738367393674036741367423674336744367453674636747367483674936750367513675236753367543675536756367573675836759367603676136762367633676436765367663676736768367693677036771367723677336774367753677636777367783677936780367813678236783367843678536786367873678836789367903679136792367933679436795367963679736798367993680036801368023680336804368053680636807368083680936810368113681236813368143681536816368173681836819368203682136822368233682436825368263682736828368293683036831368323683336834368353683636837368383683936840368413684236843368443684536846368473684836849368503685136852368533685436855368563685736858368593686036861368623686336864368653686636867368683686936870368713687236873368743687536876368773687836879368803688136882368833688436885368863688736888368893689036891368923689336894368953689636897368983689936900369013690236903369043690536906369073690836909369103691136912369133691436915369163691736918369193692036921369223692336924369253692636927369283692936930369313693236933369343693536936369373693836939369403694136942369433694436945369463694736948369493695036951369523695336954369553695636957369583695936960369613696236963369643696536966369673696836969369703697136972369733697436975369763697736978369793698036981369823698336984369853698636987369883698936990369913699236993369943699536996369973699836999370003700137002370033700437005370063700737008370093701037011370123701337014370153701637017370183701937020370213702237023370243702537026370273702837029370303703137032370333703437035370363703737038370393704037041370423704337044370453704637047370483704937050370513705237053370543705537056370573705837059370603706137062370633706437065370663706737068370693707037071370723707337074370753707637077370783707937080370813708237083370843708537086370873708837089370903709137092370933709437095370963709737098370993710037101371023710337104371053710637107371083710937110371113711237113371143711537116371173711837119371203712137122371233712437125371263712737128371293713037131371323713337134371353713637137371383713937140371413714237143371443714537146371473714837149371503715137152371533715437155371563715737158371593716037161371623716337164371653716637167371683716937170371713717237173371743717537176371773717837179371803718137182371833718437185371863718737188371893719037191371923719337194371953719637197371983719937200372013720237203372043720537206372073720837209372103721137212372133721437215372163721737218372193722037221372223722337224372253722637227372283722937230372313723237233372343723537236372373723837239372403724137242372433724437245372463724737248372493725037251372523725337254372553725637257372583725937260372613726237263372643726537266372673726837269372703727137272372733727437275372763727737278372793728037281372823728337284372853728637287372883728937290372913729237293372943729537296372973729837299373003730137302373033730437305373063730737308373093731037311373123731337314373153731637317373183731937320373213732237323373243732537326373273732837329373303733137332373333733437335373363733737338373393734037341373423734337344373453734637347373483734937350373513735237353373543735537356373573735837359373603736137362373633736437365373663736737368373693737037371373723737337374373753737637377373783737937380373813738237383373843738537386373873738837389373903739137392373933739437395373963739737398373993740037401374023740337404374053740637407374083740937410374113741237413374143741537416374173741837419374203742137422374233742437425374263742737428374293743037431374323743337434374353743637437374383743937440374413744237443374443744537446374473744837449374503745137452374533745437455374563745737458374593746037461374623746337464374653746637467374683746937470374713747237473374743747537476374773747837479374803748137482374833748437485374863748737488374893749037491374923749337494374953749637497374983749937500375013750237503375043750537506375073750837509375103751137512375133751437515375163751737518375193752037521375223752337524375253752637527375283752937530375313753237533375343753537536375373753837539375403754137542375433754437545375463754737548375493755037551375523755337554375553755637557375583755937560375613756237563375643756537566375673756837569375703757137572375733757437575375763757737578375793758037581375823758337584375853758637587375883758937590375913759237593375943759537596375973759837599376003760137602376033760437605376063760737608376093761037611376123761337614376153761637617376183761937620376213762237623376243762537626376273762837629376303763137632376333763437635376363763737638376393764037641376423764337644376453764637647376483764937650376513765237653376543765537656376573765837659376603766137662376633766437665376663766737668376693767037671376723767337674376753767637677376783767937680376813768237683376843768537686376873768837689376903769137692376933769437695376963769737698376993770037701377023770337704377053770637707377083770937710377113771237713377143771537716377173771837719377203772137722377233772437725377263772737728377293773037731377323773337734377353773637737377383773937740377413774237743377443774537746377473774837749377503775137752377533775437755377563775737758377593776037761377623776337764377653776637767377683776937770377713777237773377743777537776377773777837779377803778137782377833778437785377863778737788377893779037791377923779337794377953779637797377983779937800378013780237803378043780537806378073780837809378103781137812378133781437815378163781737818378193782037821378223782337824378253782637827378283782937830378313783237833378343783537836378373783837839378403784137842378433784437845378463784737848378493785037851378523785337854378553785637857378583785937860378613786237863378643786537866378673786837869378703787137872378733787437875378763787737878378793788037881378823788337884378853788637887378883788937890378913789237893378943789537896378973789837899379003790137902379033790437905379063790737908379093791037911379123791337914379153791637917379183791937920379213792237923379243792537926379273792837929379303793137932379333793437935379363793737938379393794037941379423794337944379453794637947379483794937950379513795237953379543795537956379573795837959379603796137962379633796437965379663796737968379693797037971379723797337974379753797637977379783797937980379813798237983379843798537986379873798837989379903799137992379933799437995379963799737998379993800038001380023800338004380053800638007380083800938010380113801238013380143801538016380173801838019380203802138022380233802438025380263802738028380293803038031380323803338034380353803638037380383803938040380413804238043380443804538046380473804838049380503805138052380533805438055380563805738058380593806038061380623806338064380653806638067380683806938070380713807238073380743807538076380773807838079380803808138082380833808438085380863808738088380893809038091380923809338094380953809638097380983809938100381013810238103381043810538106381073810838109381103811138112381133811438115381163811738118381193812038121381223812338124381253812638127381283812938130381313813238133381343813538136381373813838139381403814138142381433814438145381463814738148381493815038151381523815338154381553815638157381583815938160381613816238163381643816538166381673816838169381703817138172381733817438175381763817738178381793818038181381823818338184381853818638187381883818938190381913819238193381943819538196381973819838199382003820138202382033820438205382063820738208382093821038211382123821338214382153821638217382183821938220382213822238223382243822538226382273822838229382303823138232382333823438235382363823738238382393824038241382423824338244382453824638247382483824938250382513825238253382543825538256382573825838259382603826138262382633826438265382663826738268382693827038271382723827338274382753827638277382783827938280382813828238283382843828538286382873828838289382903829138292382933829438295382963829738298382993830038301383023830338304383053830638307383083830938310383113831238313383143831538316383173831838319383203832138322383233832438325383263832738328383293833038331383323833338334383353833638337383383833938340383413834238343383443834538346383473834838349383503835138352383533835438355383563835738358383593836038361383623836338364383653836638367383683836938370383713837238373383743837538376383773837838379383803838138382383833838438385383863838738388383893839038391383923839338394383953839638397383983839938400384013840238403384043840538406384073840838409384103841138412384133841438415384163841738418384193842038421384223842338424384253842638427384283842938430384313843238433384343843538436384373843838439384403844138442384433844438445384463844738448384493845038451384523845338454384553845638457384583845938460384613846238463384643846538466384673846838469384703847138472384733847438475384763847738478384793848038481384823848338484384853848638487384883848938490384913849238493384943849538496384973849838499385003850138502385033850438505385063850738508385093851038511385123851338514385153851638517385183851938520385213852238523385243852538526385273852838529385303853138532385333853438535385363853738538385393854038541385423854338544385453854638547385483854938550385513855238553385543855538556385573855838559385603856138562385633856438565385663856738568385693857038571385723857338574385753857638577385783857938580385813858238583385843858538586385873858838589385903859138592385933859438595385963859738598385993860038601386023860338604386053860638607386083860938610386113861238613386143861538616386173861838619386203862138622386233862438625386263862738628386293863038631386323863338634386353863638637386383863938640386413864238643386443864538646386473864838649386503865138652386533865438655386563865738658386593866038661386623866338664386653866638667386683866938670386713867238673386743867538676386773867838679386803868138682386833868438685386863868738688386893869038691386923869338694386953869638697386983869938700387013870238703387043870538706387073870838709387103871138712387133871438715387163871738718387193872038721387223872338724387253872638727387283872938730387313873238733387343873538736387373873838739387403874138742387433874438745387463874738748387493875038751387523875338754387553875638757387583875938760387613876238763387643876538766387673876838769387703877138772387733877438775387763877738778387793878038781387823878338784387853878638787387883878938790387913879238793387943879538796387973879838799388003880138802388033880438805388063880738808388093881038811388123881338814388153881638817388183881938820388213882238823388243882538826388273882838829388303883138832388333883438835388363883738838388393884038841388423884338844388453884638847388483884938850388513885238853388543885538856388573885838859388603886138862388633886438865388663886738868388693887038871388723887338874388753887638877388783887938880388813888238883388843888538886388873888838889388903889138892388933889438895388963889738898388993890038901389023890338904389053890638907389083890938910389113891238913389143891538916389173891838919389203892138922389233892438925389263892738928389293893038931389323893338934389353893638937389383893938940389413894238943389443894538946389473894838949389503895138952389533895438955389563895738958389593896038961389623896338964389653896638967389683896938970389713897238973389743897538976389773897838979389803898138982389833898438985389863898738988389893899038991389923899338994389953899638997389983899939000390013900239003390043900539006390073900839009390103901139012390133901439015390163901739018390193902039021390223902339024390253902639027390283902939030390313903239033390343903539036390373903839039390403904139042390433904439045390463904739048390493905039051390523905339054390553905639057390583905939060390613906239063390643906539066390673906839069390703907139072390733907439075390763907739078390793908039081390823908339084390853908639087390883908939090390913909239093390943909539096390973909839099391003910139102391033910439105391063910739108391093911039111391123911339114391153911639117391183911939120391213912239123391243912539126391273912839129391303913139132391333913439135391363913739138391393914039141391423914339144391453914639147391483914939150391513915239153391543915539156391573915839159391603916139162391633916439165391663916739168391693917039171391723917339174391753917639177391783917939180391813918239183391843918539186391873918839189391903919139192391933919439195391963919739198391993920039201392023920339204392053920639207392083920939210392113921239213392143921539216392173921839219392203922139222392233922439225392263922739228392293923039231392323923339234392353923639237392383923939240392413924239243392443924539246392473924839249392503925139252392533925439255392563925739258392593926039261392623926339264392653926639267392683926939270392713927239273392743927539276392773927839279392803928139282392833928439285392863928739288392893929039291392923929339294392953929639297392983929939300393013930239303393043930539306393073930839309393103931139312393133931439315393163931739318393193932039321393223932339324393253932639327393283932939330393313933239333393343933539336393373933839339393403934139342393433934439345393463934739348393493935039351393523935339354393553935639357393583935939360393613936239363393643936539366393673936839369393703937139372393733937439375393763937739378393793938039381393823938339384393853938639387393883938939390393913939239393393943939539396393973939839399394003940139402394033940439405394063940739408394093941039411394123941339414394153941639417394183941939420394213942239423394243942539426394273942839429394303943139432394333943439435394363943739438394393944039441394423944339444394453944639447394483944939450394513945239453394543945539456394573945839459394603946139462394633946439465394663946739468394693947039471394723947339474394753947639477394783947939480394813948239483394843948539486394873948839489394903949139492394933949439495394963949739498394993950039501395023950339504395053950639507395083950939510395113951239513395143951539516395173951839519395203952139522395233952439525395263952739528395293953039531395323953339534395353953639537395383953939540395413954239543395443954539546395473954839549395503955139552395533955439555395563955739558395593956039561395623956339564395653956639567395683956939570395713957239573395743957539576395773957839579395803958139582395833958439585395863958739588395893959039591395923959339594395953959639597395983959939600396013960239603396043960539606396073960839609396103961139612396133961439615396163961739618396193962039621396223962339624396253962639627396283962939630396313963239633396343963539636396373963839639396403964139642396433964439645396463964739648396493965039651396523965339654396553965639657396583965939660396613966239663396643966539666396673966839669396703967139672396733967439675396763967739678396793968039681396823968339684396853968639687396883968939690396913969239693396943969539696396973969839699397003970139702397033970439705397063970739708397093971039711397123971339714397153971639717397183971939720397213972239723397243972539726397273972839729397303973139732397333973439735397363973739738397393974039741397423974339744397453974639747397483974939750397513975239753397543975539756397573975839759397603976139762397633976439765397663976739768397693977039771397723977339774397753977639777397783977939780397813978239783397843978539786397873978839789397903979139792397933979439795397963979739798397993980039801398023980339804398053980639807398083980939810398113981239813398143981539816398173981839819398203982139822398233982439825398263982739828398293983039831398323983339834398353983639837398383983939840398413984239843398443984539846398473984839849398503985139852398533985439855398563985739858398593986039861398623986339864398653986639867398683986939870398713987239873398743987539876398773987839879398803988139882398833988439885398863988739888398893989039891398923989339894398953989639897398983989939900399013990239903399043990539906399073990839909399103991139912399133991439915399163991739918399193992039921399223992339924399253992639927399283992939930399313993239933399343993539936399373993839939399403994139942399433994439945399463994739948399493995039951399523995339954399553995639957399583995939960399613996239963399643996539966399673996839969399703997139972399733997439975399763997739978399793998039981399823998339984399853998639987399883998939990399913999239993399943999539996399973999839999400004000140002400034000440005400064000740008400094001040011400124001340014400154001640017400184001940020400214002240023400244002540026400274002840029400304003140032400334003440035400364003740038400394004040041400424004340044400454004640047400484004940050400514005240053400544005540056400574005840059400604006140062400634006440065400664006740068400694007040071400724007340074400754007640077400784007940080400814008240083400844008540086400874008840089400904009140092400934009440095400964009740098400994010040101401024010340104401054010640107401084010940110401114011240113401144011540116401174011840119401204012140122401234012440125401264012740128401294013040131401324013340134401354013640137401384013940140401414014240143401444014540146401474014840149401504015140152401534015440155401564015740158401594016040161401624016340164401654016640167401684016940170401714017240173401744017540176401774017840179401804018140182401834018440185401864018740188401894019040191401924019340194401954019640197401984019940200402014020240203402044020540206402074020840209402104021140212402134021440215402164021740218402194022040221402224022340224402254022640227402284022940230402314023240233402344023540236402374023840239402404024140242402434024440245402464024740248402494025040251402524025340254402554025640257402584025940260402614026240263402644026540266402674026840269402704027140272402734027440275402764027740278402794028040281402824028340284402854028640287402884028940290402914029240293402944029540296402974029840299403004030140302403034030440305403064030740308403094031040311403124031340314403154031640317403184031940320403214032240323403244032540326403274032840329403304033140332403334033440335403364033740338403394034040341403424034340344403454034640347403484034940350403514035240353403544035540356403574035840359403604036140362403634036440365403664036740368403694037040371403724037340374403754037640377403784037940380403814038240383403844038540386403874038840389403904039140392403934039440395403964039740398403994040040401404024040340404404054040640407404084040940410404114041240413404144041540416404174041840419404204042140422404234042440425404264042740428404294043040431404324043340434404354043640437404384043940440404414044240443404444044540446404474044840449404504045140452404534045440455404564045740458404594046040461404624046340464404654046640467404684046940470404714047240473404744047540476404774047840479404804048140482404834048440485404864048740488404894049040491404924049340494404954049640497404984049940500405014050240503405044050540506405074050840509405104051140512405134051440515405164051740518405194052040521405224052340524405254052640527405284052940530405314053240533405344053540536405374053840539405404054140542405434054440545405464054740548405494055040551405524055340554405554055640557405584055940560405614056240563405644056540566405674056840569405704057140572405734057440575405764057740578405794058040581405824058340584405854058640587405884058940590405914059240593405944059540596405974059840599406004060140602406034060440605406064060740608406094061040611406124061340614406154061640617406184061940620406214062240623406244062540626406274062840629406304063140632406334063440635406364063740638406394064040641406424064340644406454064640647406484064940650406514065240653406544065540656406574065840659406604066140662406634066440665406664066740668406694067040671406724067340674406754067640677406784067940680406814068240683406844068540686406874068840689406904069140692406934069440695406964069740698406994070040701407024070340704407054070640707407084070940710407114071240713407144071540716407174071840719407204072140722407234072440725407264072740728407294073040731407324073340734407354073640737407384073940740407414074240743407444074540746407474074840749407504075140752407534075440755407564075740758407594076040761407624076340764407654076640767407684076940770407714077240773407744077540776407774077840779407804078140782407834078440785407864078740788407894079040791407924079340794407954079640797407984079940800408014080240803408044080540806408074080840809408104081140812408134081440815408164081740818408194082040821408224082340824408254082640827408284082940830408314083240833408344083540836408374083840839408404084140842408434084440845408464084740848408494085040851408524085340854408554085640857408584085940860408614086240863408644086540866408674086840869408704087140872408734087440875408764087740878408794088040881408824088340884408854088640887408884088940890408914089240893408944089540896408974089840899409004090140902409034090440905409064090740908409094091040911409124091340914409154091640917409184091940920409214092240923409244092540926409274092840929409304093140932409334093440935409364093740938409394094040941409424094340944409454094640947409484094940950409514095240953409544095540956409574095840959409604096140962409634096440965409664096740968409694097040971409724097340974409754097640977409784097940980409814098240983409844098540986409874098840989409904099140992409934099440995409964099740998409994100041001410024100341004410054100641007410084100941010410114101241013410144101541016410174101841019410204102141022410234102441025410264102741028410294103041031410324103341034410354103641037410384103941040410414104241043410444104541046410474104841049410504105141052410534105441055410564105741058410594106041061410624106341064410654106641067410684106941070410714107241073410744107541076410774107841079410804108141082410834108441085410864108741088410894109041091410924109341094410954109641097410984109941100411014110241103411044110541106411074110841109411104111141112411134111441115411164111741118411194112041121411224112341124411254112641127411284112941130411314113241133411344113541136411374113841139411404114141142411434114441145411464114741148411494115041151411524115341154411554115641157411584115941160411614116241163411644116541166411674116841169411704117141172411734117441175411764117741178411794118041181411824118341184411854118641187411884118941190411914119241193411944119541196411974119841199412004120141202412034120441205412064120741208412094121041211412124121341214412154121641217412184121941220412214122241223412244122541226412274122841229412304123141232412334123441235412364123741238412394124041241412424124341244412454124641247412484124941250412514125241253412544125541256412574125841259412604126141262412634126441265412664126741268412694127041271412724127341274412754127641277412784127941280412814128241283412844128541286412874128841289412904129141292412934129441295412964129741298412994130041301413024130341304413054130641307413084130941310413114131241313413144131541316413174131841319413204132141322413234132441325413264132741328413294133041331413324133341334413354133641337413384133941340413414134241343413444134541346413474134841349413504135141352413534135441355413564135741358413594136041361413624136341364413654136641367413684136941370413714137241373413744137541376413774137841379413804138141382413834138441385413864138741388413894139041391413924139341394413954139641397413984139941400414014140241403414044140541406414074140841409414104141141412414134141441415414164141741418414194142041421414224142341424414254142641427414284142941430414314143241433414344143541436414374143841439414404144141442414434144441445414464144741448414494145041451414524145341454414554145641457414584145941460414614146241463414644146541466414674146841469414704147141472414734147441475414764147741478414794148041481414824148341484414854148641487414884148941490414914149241493414944149541496414974149841499415004150141502415034150441505415064150741508415094151041511415124151341514415154151641517415184151941520415214152241523415244152541526415274152841529415304153141532415334153441535415364153741538415394154041541415424154341544415454154641547415484154941550415514155241553415544155541556415574155841559415604156141562415634156441565415664156741568415694157041571415724157341574415754157641577415784157941580415814158241583415844158541586415874158841589415904159141592415934159441595415964159741598415994160041601416024160341604416054160641607416084160941610416114161241613416144161541616416174161841619416204162141622416234162441625416264162741628416294163041631416324163341634416354163641637416384163941640416414164241643416444164541646416474164841649416504165141652416534165441655416564165741658416594166041661416624166341664416654166641667416684166941670416714167241673416744167541676416774167841679416804168141682416834168441685416864168741688416894169041691416924169341694416954169641697416984169941700417014170241703417044170541706417074170841709417104171141712417134171441715417164171741718417194172041721417224172341724417254172641727417284172941730417314173241733417344173541736417374173841739417404174141742417434174441745417464174741748417494175041751417524175341754417554175641757417584175941760417614176241763417644176541766417674176841769417704177141772417734177441775417764177741778417794178041781417824178341784417854178641787417884178941790417914179241793417944179541796417974179841799418004180141802418034180441805418064180741808418094181041811418124181341814418154181641817418184181941820418214182241823418244182541826418274182841829418304183141832418334183441835418364183741838418394184041841418424184341844418454184641847418484184941850418514185241853418544185541856418574185841859418604186141862418634186441865418664186741868418694187041871418724187341874418754187641877418784187941880418814188241883418844188541886418874188841889418904189141892418934189441895418964189741898418994190041901419024190341904419054190641907419084190941910419114191241913419144191541916419174191841919419204192141922419234192441925419264192741928419294193041931419324193341934419354193641937419384193941940419414194241943419444194541946419474194841949419504195141952419534195441955419564195741958419594196041961419624196341964419654196641967419684196941970419714197241973419744197541976419774197841979419804198141982419834198441985419864198741988419894199041991419924199341994419954199641997419984199942000420014200242003420044200542006420074200842009420104201142012420134201442015420164201742018420194202042021420224202342024420254202642027420284202942030420314203242033420344203542036420374203842039420404204142042420434204442045420464204742048420494205042051420524205342054420554205642057420584205942060420614206242063420644206542066420674206842069420704207142072420734207442075420764207742078420794208042081420824208342084420854208642087420884208942090420914209242093420944209542096420974209842099421004210142102421034210442105421064210742108421094211042111421124211342114421154211642117421184211942120421214212242123421244212542126421274212842129421304213142132421334213442135421364213742138421394214042141421424214342144421454214642147421484214942150421514215242153421544215542156421574215842159421604216142162421634216442165421664216742168421694217042171421724217342174421754217642177421784217942180421814218242183421844218542186421874218842189421904219142192421934219442195421964219742198421994220042201422024220342204422054220642207422084220942210422114221242213422144221542216422174221842219422204222142222422234222442225422264222742228422294223042231422324223342234422354223642237422384223942240422414224242243422444224542246422474224842249422504225142252422534225442255422564225742258422594226042261422624226342264422654226642267422684226942270422714227242273422744227542276422774227842279422804228142282422834228442285422864228742288422894229042291422924229342294422954229642297422984229942300423014230242303423044230542306423074230842309423104231142312423134231442315423164231742318423194232042321423224232342324423254232642327423284232942330423314233242333423344233542336423374233842339423404234142342423434234442345423464234742348423494235042351423524235342354423554235642357423584235942360423614236242363423644236542366423674236842369423704237142372423734237442375423764237742378423794238042381423824238342384423854238642387423884238942390423914239242393423944239542396423974239842399424004240142402424034240442405424064240742408424094241042411424124241342414424154241642417424184241942420424214242242423424244242542426424274242842429424304243142432424334243442435424364243742438424394244042441424424244342444424454244642447424484244942450424514245242453424544245542456424574245842459424604246142462424634246442465424664246742468424694247042471424724247342474424754247642477424784247942480424814248242483424844248542486424874248842489424904249142492424934249442495424964249742498424994250042501425024250342504425054250642507425084250942510425114251242513425144251542516425174251842519425204252142522425234252442525425264252742528425294253042531425324253342534425354253642537425384253942540425414254242543425444254542546425474254842549425504255142552425534255442555425564255742558425594256042561425624256342564425654256642567425684256942570425714257242573425744257542576425774257842579425804258142582425834258442585425864258742588425894259042591425924259342594425954259642597425984259942600426014260242603426044260542606426074260842609426104261142612426134261442615426164261742618426194262042621426224262342624426254262642627426284262942630426314263242633426344263542636426374263842639426404264142642426434264442645426464264742648426494265042651426524265342654426554265642657426584265942660426614266242663426644266542666426674266842669426704267142672426734267442675426764267742678426794268042681426824268342684426854268642687426884268942690426914269242693426944269542696426974269842699427004270142702427034270442705427064270742708427094271042711427124271342714427154271642717427184271942720427214272242723427244272542726427274272842729427304273142732427334273442735427364273742738427394274042741427424274342744427454274642747427484274942750427514275242753427544275542756427574275842759427604276142762427634276442765427664276742768427694277042771427724277342774427754277642777427784277942780427814278242783427844278542786427874278842789427904279142792427934279442795427964279742798427994280042801428024280342804428054280642807428084280942810428114281242813428144281542816428174281842819428204282142822428234282442825428264282742828428294283042831428324283342834428354283642837428384283942840428414284242843428444284542846428474284842849428504285142852428534285442855428564285742858428594286042861428624286342864428654286642867428684286942870428714287242873428744287542876428774287842879428804288142882428834288442885428864288742888428894289042891428924289342894428954289642897428984289942900429014290242903429044290542906429074290842909429104291142912429134291442915429164291742918429194292042921429224292342924429254292642927429284292942930429314293242933429344293542936429374293842939429404294142942429434294442945429464294742948429494295042951429524295342954429554295642957429584295942960429614296242963429644296542966429674296842969429704297142972429734297442975429764297742978429794298042981429824298342984429854298642987429884298942990429914299242993429944299542996429974299842999430004300143002430034300443005430064300743008430094301043011430124301343014430154301643017430184301943020430214302243023430244302543026430274302843029430304303143032430334303443035430364303743038430394304043041430424304343044430454304643047430484304943050430514305243053430544305543056430574305843059430604306143062430634306443065430664306743068430694307043071430724307343074430754307643077430784307943080430814308243083430844308543086430874308843089430904309143092430934309443095430964309743098430994310043101431024310343104431054310643107431084310943110431114311243113431144311543116431174311843119431204312143122431234312443125431264312743128431294313043131431324313343134431354313643137431384313943140431414314243143431444314543146431474314843149431504315143152431534315443155431564315743158431594316043161431624316343164431654316643167431684316943170431714317243173431744317543176431774317843179431804318143182431834318443185431864318743188431894319043191431924319343194431954319643197431984319943200432014320243203432044320543206432074320843209432104321143212432134321443215432164321743218432194322043221432224322343224432254322643227432284322943230432314323243233432344323543236432374323843239432404324143242432434324443245432464324743248432494325043251432524325343254432554325643257432584325943260432614326243263432644326543266432674326843269432704327143272432734327443275432764327743278432794328043281432824328343284432854328643287432884328943290432914329243293432944329543296432974329843299433004330143302433034330443305433064330743308433094331043311433124331343314433154331643317433184331943320433214332243323433244332543326433274332843329433304333143332433334333443335433364333743338433394334043341433424334343344433454334643347433484334943350433514335243353433544335543356433574335843359433604336143362433634336443365433664336743368433694337043371433724337343374433754337643377433784337943380433814338243383433844338543386433874338843389433904339143392433934339443395433964339743398433994340043401434024340343404434054340643407434084340943410434114341243413434144341543416434174341843419434204342143422434234342443425434264342743428434294343043431434324343343434434354343643437434384343943440434414344243443434444344543446434474344843449434504345143452434534345443455434564345743458434594346043461434624346343464434654346643467434684346943470434714347243473434744347543476434774347843479434804348143482434834348443485434864348743488434894349043491434924349343494434954349643497434984349943500435014350243503435044350543506435074350843509435104351143512435134351443515435164351743518435194352043521435224352343524435254352643527435284352943530435314353243533435344353543536435374353843539435404354143542435434354443545435464354743548435494355043551435524355343554435554355643557435584355943560435614356243563435644356543566435674356843569435704357143572435734357443575435764357743578435794358043581435824358343584435854358643587435884358943590435914359243593435944359543596435974359843599436004360143602436034360443605436064360743608436094361043611436124361343614436154361643617436184361943620436214362243623436244362543626436274362843629436304363143632436334363443635436364363743638436394364043641436424364343644436454364643647436484364943650436514365243653436544365543656436574365843659436604366143662436634366443665436664366743668436694367043671436724367343674436754367643677436784367943680436814368243683436844368543686436874368843689436904369143692436934369443695436964369743698436994370043701437024370343704437054370643707437084370943710437114371243713437144371543716437174371843719437204372143722437234372443725437264372743728437294373043731437324373343734437354373643737437384373943740437414374243743437444374543746437474374843749437504375143752437534375443755437564375743758437594376043761437624376343764437654376643767437684376943770437714377243773437744377543776437774377843779437804378143782437834378443785437864378743788437894379043791437924379343794437954379643797437984379943800438014380243803438044380543806438074380843809438104381143812438134381443815438164381743818438194382043821438224382343824438254382643827438284382943830438314383243833438344383543836438374383843839438404384143842438434384443845438464384743848438494385043851438524385343854438554385643857438584385943860438614386243863438644386543866438674386843869438704387143872438734387443875438764387743878438794388043881438824388343884438854388643887438884388943890438914389243893438944389543896438974389843899439004390143902439034390443905439064390743908439094391043911439124391343914439154391643917439184391943920439214392243923439244392543926439274392843929439304393143932439334393443935439364393743938439394394043941439424394343944439454394643947439484394943950439514395243953439544395543956439574395843959439604396143962439634396443965439664396743968439694397043971439724397343974439754397643977439784397943980439814398243983439844398543986439874398843989439904399143992439934399443995439964399743998439994400044001440024400344004440054400644007440084400944010440114401244013440144401544016440174401844019440204402144022440234402444025440264402744028440294403044031440324403344034440354403644037440384403944040440414404244043440444404544046440474404844049440504405144052440534405444055440564405744058440594406044061440624406344064440654406644067440684406944070440714407244073440744407544076440774407844079440804408144082440834408444085440864408744088440894409044091440924409344094440954409644097440984409944100441014410244103441044410544106441074410844109441104411144112441134411444115441164411744118441194412044121441224412344124441254412644127441284412944130441314413244133441344413544136441374413844139441404414144142441434414444145441464414744148441494415044151441524415344154441554415644157441584415944160441614416244163441644416544166441674416844169441704417144172441734417444175441764417744178441794418044181441824418344184441854418644187441884418944190441914419244193441944419544196441974419844199442004420144202442034420444205442064420744208442094421044211442124421344214442154421644217442184421944220442214422244223442244422544226442274422844229442304423144232442334423444235442364423744238442394424044241442424424344244442454424644247442484424944250442514425244253442544425544256442574425844259442604426144262442634426444265442664426744268442694427044271442724427344274442754427644277442784427944280442814428244283442844428544286442874428844289442904429144292442934429444295442964429744298442994430044301443024430344304443054430644307443084430944310443114431244313443144431544316443174431844319443204432144322443234432444325443264432744328443294433044331443324433344334443354433644337443384433944340443414434244343443444434544346443474434844349443504435144352443534435444355443564435744358443594436044361443624436344364443654436644367443684436944370443714437244373443744437544376443774437844379443804438144382443834438444385443864438744388443894439044391443924439344394443954439644397443984439944400444014440244403444044440544406444074440844409444104441144412444134441444415444164441744418444194442044421444224442344424444254442644427444284442944430444314443244433444344443544436444374443844439444404444144442444434444444445444464444744448444494445044451444524445344454444554445644457444584445944460444614446244463444644446544466444674446844469444704447144472444734447444475444764447744478444794448044481444824448344484444854448644487444884448944490444914449244493444944449544496444974449844499445004450144502445034450444505445064450744508445094451044511445124451344514445154451644517445184451944520445214452244523445244452544526445274452844529445304453144532445334453444535445364453744538445394454044541445424454344544445454454644547445484454944550445514455244553445544455544556445574455844559445604456144562445634456444565445664456744568445694457044571445724457344574445754457644577445784457944580445814458244583445844458544586445874458844589445904459144592445934459444595445964459744598445994460044601446024460344604446054460644607446084460944610446114461244613446144461544616446174461844619446204462144622446234462444625446264462744628446294463044631446324463344634446354463644637446384463944640446414464244643446444464544646446474464844649446504465144652446534465444655446564465744658446594466044661446624466344664446654466644667446684466944670446714467244673446744467544676446774467844679446804468144682446834468444685446864468744688446894469044691446924469344694446954469644697446984469944700447014470244703447044470544706447074470844709447104471144712447134471444715447164471744718447194472044721447224472344724447254472644727447284472944730447314473244733447344473544736447374473844739447404474144742447434474444745447464474744748447494475044751447524475344754447554475644757447584475944760447614476244763447644476544766447674476844769447704477144772447734477444775447764477744778447794478044781447824478344784447854478644787447884478944790447914479244793447944479544796447974479844799448004480144802448034480444805448064480744808448094481044811448124481344814448154481644817448184481944820448214482244823448244482544826448274482844829448304483144832448334483444835448364483744838448394484044841448424484344844448454484644847448484484944850448514485244853448544485544856448574485844859448604486144862448634486444865448664486744868448694487044871448724487344874448754487644877448784487944880448814488244883448844488544886448874488844889448904489144892448934489444895448964489744898448994490044901449024490344904449054490644907449084490944910449114491244913449144491544916449174491844919449204492144922449234492444925449264492744928449294493044931449324493344934449354493644937449384493944940449414494244943449444494544946449474494844949449504495144952449534495444955449564495744958449594496044961449624496344964449654496644967449684496944970449714497244973449744497544976449774497844979449804498144982449834498444985449864498744988449894499044991449924499344994449954499644997449984499945000450014500245003450044500545006450074500845009450104501145012450134501445015450164501745018450194502045021450224502345024450254502645027450284502945030450314503245033450344503545036450374503845039450404504145042450434504445045450464504745048450494505045051450524505345054450554505645057450584505945060450614506245063450644506545066450674506845069450704507145072450734507445075450764507745078450794508045081450824508345084450854508645087450884508945090450914509245093450944509545096450974509845099451004510145102451034510445105451064510745108451094511045111451124511345114451154511645117451184511945120451214512245123451244512545126451274512845129451304513145132451334513445135451364513745138451394514045141451424514345144451454514645147451484514945150451514515245153451544515545156451574515845159451604516145162451634516445165451664516745168451694517045171451724517345174451754517645177451784517945180451814518245183451844518545186451874518845189451904519145192451934519445195451964519745198451994520045201452024520345204452054520645207452084520945210452114521245213452144521545216452174521845219452204522145222452234522445225452264522745228452294523045231452324523345234452354523645237452384523945240452414524245243452444524545246452474524845249452504525145252452534525445255452564525745258452594526045261452624526345264452654526645267452684526945270452714527245273452744527545276452774527845279452804528145282452834528445285452864528745288452894529045291452924529345294452954529645297452984529945300453014530245303453044530545306453074530845309453104531145312453134531445315453164531745318453194532045321453224532345324453254532645327453284532945330453314533245333453344533545336453374533845339453404534145342453434534445345453464534745348453494535045351453524535345354453554535645357453584535945360453614536245363453644536545366453674536845369453704537145372453734537445375453764537745378453794538045381453824538345384453854538645387453884538945390453914539245393453944539545396453974539845399454004540145402454034540445405454064540745408454094541045411454124541345414454154541645417454184541945420454214542245423454244542545426454274542845429454304543145432454334543445435454364543745438454394544045441454424544345444454454544645447454484544945450454514545245453454544545545456454574545845459454604546145462454634546445465454664546745468454694547045471454724547345474454754547645477454784547945480454814548245483454844548545486454874548845489454904549145492454934549445495454964549745498454994550045501455024550345504455054550645507455084550945510455114551245513455144551545516455174551845519455204552145522455234552445525455264552745528455294553045531455324553345534455354553645537455384553945540455414554245543455444554545546455474554845549455504555145552455534555445555455564555745558455594556045561455624556345564455654556645567455684556945570455714557245573455744557545576455774557845579455804558145582455834558445585455864558745588455894559045591455924559345594455954559645597455984559945600456014560245603456044560545606456074560845609456104561145612456134561445615456164561745618456194562045621456224562345624456254562645627456284562945630456314563245633456344563545636456374563845639456404564145642456434564445645456464564745648456494565045651456524565345654456554565645657456584565945660456614566245663456644566545666456674566845669456704567145672456734567445675456764567745678456794568045681456824568345684456854568645687456884568945690456914569245693456944569545696456974569845699457004570145702457034570445705457064570745708457094571045711457124571345714457154571645717457184571945720457214572245723457244572545726457274572845729457304573145732457334573445735457364573745738457394574045741457424574345744457454574645747457484574945750457514575245753457544575545756457574575845759457604576145762457634576445765457664576745768457694577045771457724577345774457754577645777457784577945780457814578245783457844578545786457874578845789457904579145792457934579445795457964579745798457994580045801458024580345804458054580645807458084580945810458114581245813458144581545816458174581845819458204582145822458234582445825458264582745828458294583045831458324583345834458354583645837458384583945840458414584245843458444584545846458474584845849458504585145852458534585445855458564585745858458594586045861458624586345864458654586645867458684586945870458714587245873458744587545876458774587845879458804588145882458834588445885458864588745888458894589045891458924589345894458954589645897458984589945900459014590245903459044590545906459074590845909459104591145912459134591445915459164591745918459194592045921459224592345924459254592645927459284592945930459314593245933459344593545936459374593845939459404594145942459434594445945459464594745948459494595045951459524595345954459554595645957459584595945960459614596245963459644596545966459674596845969459704597145972459734597445975459764597745978459794598045981459824598345984459854598645987459884598945990459914599245993459944599545996459974599845999460004600146002460034600446005460064600746008460094601046011460124601346014460154601646017460184601946020460214602246023460244602546026460274602846029460304603146032460334603446035460364603746038460394604046041460424604346044460454604646047460484604946050460514605246053460544605546056460574605846059460604606146062460634606446065460664606746068460694607046071460724607346074460754607646077460784607946080460814608246083460844608546086460874608846089460904609146092460934609446095460964609746098460994610046101461024610346104461054610646107461084610946110461114611246113461144611546116461174611846119461204612146122461234612446125461264612746128461294613046131461324613346134461354613646137461384613946140461414614246143461444614546146461474614846149461504615146152461534615446155461564615746158461594616046161461624616346164461654616646167461684616946170461714617246173461744617546176461774617846179461804618146182461834618446185461864618746188461894619046191461924619346194461954619646197461984619946200462014620246203462044620546206462074620846209462104621146212462134621446215462164621746218462194622046221462224622346224462254622646227462284622946230462314623246233462344623546236462374623846239462404624146242462434624446245462464624746248462494625046251462524625346254462554625646257462584625946260462614626246263462644626546266462674626846269462704627146272462734627446275462764627746278462794628046281462824628346284462854628646287462884628946290462914629246293462944629546296462974629846299463004630146302463034630446305463064630746308463094631046311463124631346314463154631646317463184631946320463214632246323463244632546326463274632846329463304633146332463334633446335463364633746338463394634046341463424634346344463454634646347463484634946350463514635246353463544635546356463574635846359463604636146362463634636446365463664636746368463694637046371463724637346374463754637646377463784637946380463814638246383463844638546386463874638846389463904639146392463934639446395463964639746398463994640046401464024640346404464054640646407464084640946410464114641246413464144641546416464174641846419464204642146422464234642446425464264642746428464294643046431464324643346434464354643646437464384643946440464414644246443464444644546446464474644846449464504645146452464534645446455464564645746458464594646046461464624646346464464654646646467464684646946470464714647246473464744647546476464774647846479464804648146482464834648446485464864648746488464894649046491464924649346494464954649646497464984649946500465014650246503465044650546506465074650846509465104651146512465134651446515465164651746518465194652046521465224652346524465254652646527465284652946530465314653246533465344653546536465374653846539465404654146542465434654446545465464654746548465494655046551465524655346554465554655646557465584655946560465614656246563465644656546566465674656846569465704657146572465734657446575465764657746578465794658046581465824658346584465854658646587465884658946590465914659246593465944659546596465974659846599466004660146602466034660446605466064660746608466094661046611466124661346614466154661646617466184661946620466214662246623466244662546626466274662846629466304663146632466334663446635466364663746638466394664046641466424664346644466454664646647466484664946650466514665246653466544665546656466574665846659466604666146662466634666446665466664666746668466694667046671466724667346674466754667646677466784667946680466814668246683466844668546686466874668846689466904669146692466934669446695466964669746698466994670046701467024670346704467054670646707467084670946710467114671246713467144671546716467174671846719467204672146722467234672446725467264672746728467294673046731467324673346734467354673646737467384673946740467414674246743467444674546746467474674846749467504675146752467534675446755467564675746758467594676046761467624676346764467654676646767467684676946770467714677246773467744677546776467774677846779467804678146782467834678446785467864678746788467894679046791467924679346794467954679646797467984679946800468014680246803468044680546806468074680846809468104681146812468134681446815468164681746818468194682046821468224682346824468254682646827468284682946830468314683246833468344683546836468374683846839468404684146842468434684446845468464684746848468494685046851468524685346854468554685646857468584685946860468614686246863468644686546866468674686846869468704687146872468734687446875468764687746878468794688046881468824688346884468854688646887468884688946890468914689246893468944689546896468974689846899469004690146902469034690446905469064690746908469094691046911469124691346914469154691646917469184691946920469214692246923469244692546926469274692846929469304693146932469334693446935469364693746938469394694046941469424694346944469454694646947469484694946950469514695246953469544695546956469574695846959469604696146962469634696446965469664696746968469694697046971469724697346974469754697646977469784697946980469814698246983469844698546986469874698846989469904699146992469934699446995469964699746998469994700047001470024700347004470054700647007470084700947010470114701247013470144701547016470174701847019470204702147022470234702447025470264702747028470294703047031470324703347034470354703647037470384703947040470414704247043470444704547046470474704847049470504705147052470534705447055470564705747058470594706047061470624706347064470654706647067470684706947070470714707247073470744707547076470774707847079470804708147082470834708447085470864708747088470894709047091470924709347094470954709647097470984709947100471014710247103471044710547106471074710847109471104711147112471134711447115471164711747118471194712047121471224712347124471254712647127471284712947130471314713247133471344713547136471374713847139471404714147142471434714447145471464714747148471494715047151471524715347154471554715647157471584715947160471614716247163471644716547166471674716847169471704717147172471734717447175471764717747178471794718047181471824718347184471854718647187471884718947190471914719247193471944719547196471974719847199472004720147202472034720447205472064720747208472094721047211472124721347214472154721647217472184721947220472214722247223472244722547226472274722847229472304723147232472334723447235472364723747238472394724047241472424724347244472454724647247472484724947250472514725247253472544725547256472574725847259472604726147262472634726447265472664726747268472694727047271472724727347274472754727647277472784727947280472814728247283472844728547286472874728847289472904729147292472934729447295472964729747298472994730047301473024730347304473054730647307473084730947310473114731247313473144731547316473174731847319473204732147322473234732447325473264732747328473294733047331473324733347334473354733647337473384733947340473414734247343473444734547346473474734847349473504735147352473534735447355473564735747358473594736047361473624736347364473654736647367473684736947370473714737247373473744737547376473774737847379473804738147382473834738447385473864738747388473894739047391473924739347394473954739647397473984739947400474014740247403474044740547406474074740847409474104741147412474134741447415474164741747418474194742047421474224742347424474254742647427474284742947430474314743247433474344743547436474374743847439474404744147442474434744447445474464744747448474494745047451474524745347454474554745647457474584745947460474614746247463474644746547466474674746847469474704747147472474734747447475474764747747478474794748047481474824748347484474854748647487474884748947490474914749247493474944749547496474974749847499475004750147502475034750447505475064750747508475094751047511475124751347514475154751647517475184751947520475214752247523475244752547526475274752847529475304753147532475334753447535475364753747538475394754047541475424754347544475454754647547475484754947550475514755247553475544755547556475574755847559475604756147562475634756447565475664756747568475694757047571475724757347574475754757647577475784757947580475814758247583475844758547586475874758847589475904759147592475934759447595475964759747598475994760047601476024760347604476054760647607476084760947610476114761247613476144761547616476174761847619476204762147622476234762447625476264762747628476294763047631476324763347634476354763647637476384763947640476414764247643476444764547646476474764847649476504765147652476534765447655476564765747658476594766047661476624766347664476654766647667476684766947670476714767247673476744767547676476774767847679476804768147682476834768447685476864768747688476894769047691476924769347694476954769647697476984769947700477014770247703477044770547706477074770847709477104771147712477134771447715477164771747718477194772047721477224772347724477254772647727477284772947730477314773247733477344773547736477374773847739477404774147742477434774447745477464774747748477494775047751477524775347754477554775647757477584775947760477614776247763477644776547766477674776847769477704777147772477734777447775477764777747778477794778047781477824778347784477854778647787477884778947790477914779247793477944779547796477974779847799478004780147802478034780447805478064780747808478094781047811478124781347814478154781647817478184781947820478214782247823478244782547826478274782847829478304783147832478334783447835478364783747838478394784047841478424784347844478454784647847478484784947850478514785247853478544785547856478574785847859478604786147862478634786447865478664786747868478694787047871478724787347874478754787647877478784787947880478814788247883478844788547886478874788847889478904789147892478934789447895478964789747898478994790047901479024790347904479054790647907479084790947910479114791247913479144791547916479174791847919479204792147922479234792447925479264792747928479294793047931479324793347934479354793647937479384793947940479414794247943479444794547946479474794847949479504795147952479534795447955479564795747958479594796047961479624796347964479654796647967479684796947970479714797247973479744797547976479774797847979479804798147982479834798447985479864798747988479894799047991479924799347994479954799647997479984799948000480014800248003480044800548006480074800848009480104801148012480134801448015480164801748018480194802048021480224802348024480254802648027480284802948030480314803248033480344803548036480374803848039480404804148042480434804448045480464804748048480494805048051480524805348054480554805648057480584805948060480614806248063480644806548066480674806848069480704807148072480734807448075480764807748078480794808048081480824808348084480854808648087480884808948090480914809248093480944809548096480974809848099481004810148102481034810448105481064810748108481094811048111481124811348114481154811648117481184811948120481214812248123481244812548126481274812848129481304813148132481334813448135481364813748138481394814048141481424814348144481454814648147481484814948150481514815248153481544815548156481574815848159481604816148162481634816448165481664816748168481694817048171481724817348174481754817648177481784817948180481814818248183481844818548186481874818848189481904819148192481934819448195481964819748198481994820048201482024820348204482054820648207482084820948210482114821248213482144821548216482174821848219482204822148222482234822448225482264822748228482294823048231482324823348234482354823648237482384823948240482414824248243482444824548246482474824848249482504825148252482534825448255482564825748258482594826048261482624826348264482654826648267482684826948270482714827248273482744827548276482774827848279482804828148282482834828448285482864828748288482894829048291482924829348294482954829648297482984829948300483014830248303483044830548306483074830848309483104831148312483134831448315483164831748318483194832048321483224832348324483254832648327483284832948330483314833248333483344833548336483374833848339483404834148342483434834448345483464834748348483494835048351483524835348354483554835648357483584835948360483614836248363483644836548366483674836848369483704837148372483734837448375483764837748378483794838048381483824838348384483854838648387483884838948390483914839248393483944839548396483974839848399484004840148402484034840448405484064840748408484094841048411484124841348414484154841648417484184841948420484214842248423484244842548426484274842848429484304843148432484334843448435484364843748438484394844048441484424844348444484454844648447484484844948450484514845248453484544845548456484574845848459484604846148462484634846448465484664846748468484694847048471484724847348474484754847648477484784847948480484814848248483484844848548486484874848848489484904849148492484934849448495484964849748498484994850048501485024850348504485054850648507485084850948510485114851248513485144851548516485174851848519485204852148522485234852448525485264852748528485294853048531485324853348534485354853648537485384853948540485414854248543485444854548546485474854848549485504855148552485534855448555485564855748558485594856048561485624856348564485654856648567485684856948570485714857248573485744857548576485774857848579485804858148582485834858448585485864858748588485894859048591485924859348594485954859648597485984859948600486014860248603486044860548606486074860848609486104861148612486134861448615486164861748618486194862048621486224862348624486254862648627486284862948630486314863248633486344863548636486374863848639486404864148642486434864448645486464864748648486494865048651486524865348654486554865648657486584865948660486614866248663486644866548666486674866848669486704867148672486734867448675486764867748678486794868048681486824868348684486854868648687486884868948690486914869248693486944869548696486974869848699487004870148702487034870448705487064870748708487094871048711487124871348714487154871648717487184871948720487214872248723487244872548726487274872848729487304873148732487334873448735487364873748738487394874048741487424874348744487454874648747487484874948750487514875248753487544875548756487574875848759487604876148762487634876448765487664876748768487694877048771487724877348774487754877648777487784877948780487814878248783487844878548786487874878848789487904879148792487934879448795487964879748798487994880048801488024880348804488054880648807488084880948810488114881248813488144881548816488174881848819488204882148822488234882448825488264882748828488294883048831488324883348834488354883648837488384883948840488414884248843488444884548846488474884848849488504885148852488534885448855488564885748858488594886048861488624886348864488654886648867488684886948870488714887248873488744887548876488774887848879488804888148882488834888448885488864888748888488894889048891488924889348894488954889648897488984889948900489014890248903489044890548906489074890848909489104891148912489134891448915489164891748918489194892048921489224892348924489254892648927489284892948930489314893248933489344893548936489374893848939489404894148942489434894448945489464894748948489494895048951489524895348954489554895648957489584895948960489614896248963489644896548966489674896848969489704897148972489734897448975489764897748978489794898048981489824898348984489854898648987489884898948990489914899248993489944899548996489974899848999490004900149002490034900449005490064900749008490094901049011490124901349014490154901649017490184901949020490214902249023490244902549026490274902849029490304903149032490334903449035490364903749038490394904049041490424904349044490454904649047490484904949050490514905249053490544905549056490574905849059490604906149062490634906449065490664906749068490694907049071490724907349074490754907649077490784907949080490814908249083490844908549086490874908849089490904909149092490934909449095490964909749098490994910049101491024910349104491054910649107491084910949110491114911249113491144911549116491174911849119491204912149122491234912449125491264912749128491294913049131491324913349134491354913649137491384913949140491414914249143491444914549146491474914849149491504915149152491534915449155491564915749158491594916049161491624916349164491654916649167491684916949170491714917249173491744917549176491774917849179491804918149182491834918449185491864918749188491894919049191491924919349194491954919649197491984919949200492014920249203492044920549206492074920849209492104921149212492134921449215492164921749218492194922049221492224922349224492254922649227492284922949230492314923249233492344923549236492374923849239492404924149242492434924449245492464924749248492494925049251492524925349254492554925649257492584925949260492614926249263492644926549266492674926849269492704927149272492734927449275492764927749278492794928049281492824928349284492854928649287492884928949290492914929249293492944929549296492974929849299493004930149302493034930449305493064930749308493094931049311493124931349314493154931649317493184931949320493214932249323493244932549326493274932849329493304933149332493334933449335493364933749338493394934049341493424934349344493454934649347493484934949350493514935249353493544935549356493574935849359493604936149362493634936449365493664936749368493694937049371493724937349374493754937649377493784937949380493814938249383493844938549386493874938849389493904939149392493934939449395493964939749398493994940049401494024940349404494054940649407494084940949410494114941249413494144941549416494174941849419494204942149422494234942449425494264942749428494294943049431494324943349434494354943649437494384943949440494414944249443494444944549446494474944849449494504945149452494534945449455494564945749458494594946049461494624946349464494654946649467494684946949470494714947249473494744947549476494774947849479494804948149482494834948449485494864948749488494894949049491494924949349494494954949649497494984949949500495014950249503495044950549506495074950849509495104951149512495134951449515495164951749518495194952049521495224952349524495254952649527495284952949530495314953249533495344953549536495374953849539495404954149542495434954449545495464954749548495494955049551495524955349554495554955649557495584955949560495614956249563495644956549566495674956849569495704957149572495734957449575495764957749578495794958049581495824958349584495854958649587495884958949590495914959249593495944959549596495974959849599496004960149602496034960449605496064960749608496094961049611496124961349614496154961649617496184961949620496214962249623496244962549626496274962849629496304963149632496334963449635496364963749638496394964049641496424964349644496454964649647496484964949650496514965249653496544965549656496574965849659496604966149662496634966449665496664966749668496694967049671496724967349674496754967649677496784967949680496814968249683496844968549686496874968849689496904969149692496934969449695496964969749698496994970049701497024970349704497054970649707497084970949710497114971249713497144971549716497174971849719497204972149722497234972449725497264972749728497294973049731497324973349734497354973649737497384973949740497414974249743497444974549746497474974849749497504975149752497534975449755497564975749758497594976049761497624976349764497654976649767497684976949770497714977249773497744977549776497774977849779497804978149782497834978449785497864978749788497894979049791497924979349794497954979649797497984979949800498014980249803498044980549806498074980849809498104981149812498134981449815498164981749818498194982049821498224982349824498254982649827498284982949830498314983249833498344983549836498374983849839498404984149842498434984449845498464984749848498494985049851498524985349854498554985649857498584985949860498614986249863498644986549866498674986849869498704987149872498734987449875498764987749878498794988049881498824988349884498854988649887498884988949890498914989249893498944989549896498974989849899499004990149902499034990449905499064990749908499094991049911499124991349914499154991649917499184991949920499214992249923499244992549926499274992849929499304993149932499334993449935499364993749938499394994049941499424994349944499454994649947499484994949950499514995249953499544995549956499574995849959499604996149962499634996449965499664996749968499694997049971499724997349974499754997649977499784997949980499814998249983499844998549986499874998849989499904999149992499934999449995499964999749998499995000050001500025000350004500055000650007500085000950010500115001250013500145001550016500175001850019500205002150022500235002450025500265002750028500295003050031500325003350034500355003650037500385003950040500415004250043500445004550046500475004850049500505005150052500535005450055500565005750058500595006050061500625006350064500655006650067500685006950070500715007250073500745007550076500775007850079500805008150082500835008450085500865008750088500895009050091500925009350094500955009650097500985009950100501015010250103501045010550106501075010850109501105011150112501135011450115501165011750118501195012050121501225012350124501255012650127501285012950130501315013250133501345013550136501375013850139501405014150142501435014450145501465014750148501495015050151501525015350154501555015650157501585015950160501615016250163501645016550166501675016850169501705017150172501735017450175501765017750178501795018050181501825018350184501855018650187501885018950190501915019250193501945019550196501975019850199502005020150202502035020450205502065020750208502095021050211502125021350214502155021650217502185021950220502215022250223502245022550226502275022850229502305023150232502335023450235502365023750238502395024050241502425024350244502455024650247502485024950250502515025250253502545025550256502575025850259502605026150262502635026450265502665026750268502695027050271502725027350274502755027650277502785027950280502815028250283502845028550286502875028850289502905029150292502935029450295502965029750298502995030050301503025030350304503055030650307503085030950310503115031250313503145031550316503175031850319503205032150322503235032450325503265032750328503295033050331503325033350334503355033650337503385033950340503415034250343503445034550346503475034850349503505035150352503535035450355503565035750358503595036050361503625036350364503655036650367503685036950370503715037250373503745037550376503775037850379503805038150382503835038450385503865038750388503895039050391503925039350394503955039650397503985039950400504015040250403504045040550406504075040850409504105041150412504135041450415504165041750418504195042050421504225042350424504255042650427504285042950430504315043250433504345043550436504375043850439504405044150442504435044450445504465044750448504495045050451504525045350454504555045650457504585045950460504615046250463504645046550466504675046850469504705047150472504735047450475504765047750478504795048050481504825048350484504855048650487504885048950490504915049250493504945049550496504975049850499505005050150502505035050450505505065050750508505095051050511505125051350514505155051650517505185051950520505215052250523505245052550526505275052850529505305053150532505335053450535505365053750538505395054050541505425054350544505455054650547505485054950550505515055250553505545055550556505575055850559505605056150562505635056450565505665056750568505695057050571505725057350574505755057650577505785057950580505815058250583505845058550586505875058850589505905059150592505935059450595505965059750598505995060050601506025060350604506055060650607506085060950610506115061250613506145061550616506175061850619506205062150622506235062450625506265062750628506295063050631506325063350634506355063650637506385063950640506415064250643506445064550646506475064850649506505065150652506535065450655506565065750658506595066050661506625066350664506655066650667506685066950670506715067250673506745067550676506775067850679506805068150682506835068450685506865068750688506895069050691506925069350694506955069650697506985069950700507015070250703507045070550706507075070850709507105071150712507135071450715507165071750718507195072050721507225072350724507255072650727507285072950730507315073250733507345073550736507375073850739507405074150742507435074450745507465074750748507495075050751507525075350754507555075650757507585075950760507615076250763507645076550766507675076850769507705077150772507735077450775507765077750778507795078050781507825078350784507855078650787507885078950790507915079250793507945079550796507975079850799508005080150802508035080450805508065080750808508095081050811508125081350814508155081650817508185081950820508215082250823508245082550826508275082850829508305083150832508335083450835508365083750838508395084050841508425084350844508455084650847508485084950850508515085250853508545085550856508575085850859508605086150862508635086450865508665086750868508695087050871508725087350874508755087650877508785087950880508815088250883508845088550886508875088850889508905089150892508935089450895508965089750898508995090050901509025090350904509055090650907509085090950910509115091250913509145091550916509175091850919509205092150922509235092450925509265092750928509295093050931509325093350934509355093650937509385093950940509415094250943509445094550946509475094850949509505095150952509535095450955509565095750958509595096050961509625096350964509655096650967509685096950970509715097250973509745097550976509775097850979509805098150982509835098450985509865098750988509895099050991509925099350994509955099650997509985099951000510015100251003510045100551006510075100851009510105101151012510135101451015510165101751018510195102051021510225102351024510255102651027510285102951030510315103251033510345103551036510375103851039510405104151042510435104451045510465104751048510495105051051510525105351054510555105651057510585105951060510615106251063510645106551066510675106851069510705107151072510735107451075510765107751078510795108051081510825108351084510855108651087510885108951090510915109251093510945109551096510975109851099511005110151102511035110451105511065110751108511095111051111511125111351114511155111651117511185111951120511215112251123511245112551126511275112851129511305113151132511335113451135511365113751138511395114051141511425114351144511455114651147511485114951150511515115251153511545115551156511575115851159511605116151162511635116451165511665116751168511695117051171511725117351174511755117651177511785117951180511815118251183511845118551186511875118851189511905119151192511935119451195511965119751198511995120051201512025120351204512055120651207512085120951210512115121251213512145121551216512175121851219512205122151222512235122451225512265122751228512295123051231512325123351234512355123651237512385123951240512415124251243512445124551246512475124851249512505125151252512535125451255512565125751258512595126051261512625126351264512655126651267512685126951270512715127251273512745127551276512775127851279512805128151282512835128451285512865128751288512895129051291512925129351294512955129651297512985129951300513015130251303513045130551306513075130851309513105131151312513135131451315513165131751318513195132051321513225132351324513255132651327513285132951330513315133251333513345133551336513375133851339513405134151342513435134451345513465134751348513495135051351513525135351354513555135651357513585135951360513615136251363513645136551366513675136851369513705137151372513735137451375513765137751378513795138051381513825138351384513855138651387513885138951390513915139251393513945139551396513975139851399514005140151402514035140451405514065140751408514095141051411514125141351414514155141651417514185141951420514215142251423514245142551426514275142851429514305143151432514335143451435514365143751438514395144051441514425144351444514455144651447514485144951450514515145251453514545145551456514575145851459514605146151462514635146451465514665146751468514695147051471514725147351474514755147651477514785147951480514815148251483514845148551486514875148851489514905149151492514935149451495514965149751498514995150051501515025150351504515055150651507515085150951510515115151251513515145151551516515175151851519515205152151522515235152451525515265152751528515295153051531515325153351534515355153651537515385153951540515415154251543515445154551546515475154851549515505155151552515535155451555515565155751558515595156051561515625156351564515655156651567515685156951570515715157251573515745157551576515775157851579515805158151582515835158451585515865158751588515895159051591515925159351594515955159651597515985159951600516015160251603516045160551606516075160851609516105161151612516135161451615516165161751618516195162051621516225162351624516255162651627516285162951630516315163251633516345163551636516375163851639516405164151642516435164451645516465164751648516495165051651516525165351654516555165651657516585165951660516615166251663516645166551666516675166851669516705167151672516735167451675516765167751678516795168051681516825168351684516855168651687516885168951690516915169251693516945169551696516975169851699517005170151702517035170451705517065170751708517095171051711517125171351714517155171651717517185171951720517215172251723517245172551726517275172851729517305173151732517335173451735517365173751738517395174051741517425174351744517455174651747517485174951750517515175251753517545175551756517575175851759517605176151762517635176451765517665176751768517695177051771517725177351774517755177651777517785177951780517815178251783517845178551786517875178851789517905179151792517935179451795517965179751798517995180051801518025180351804518055180651807518085180951810518115181251813518145181551816518175181851819518205182151822518235182451825518265182751828518295183051831518325183351834518355183651837518385183951840518415184251843518445184551846518475184851849518505185151852518535185451855518565185751858518595186051861518625186351864518655186651867518685186951870518715187251873518745187551876518775187851879518805188151882518835188451885518865188751888518895189051891518925189351894518955189651897518985189951900519015190251903519045190551906519075190851909519105191151912519135191451915519165191751918519195192051921519225192351924519255192651927519285192951930519315193251933519345193551936519375193851939519405194151942519435194451945519465194751948519495195051951519525195351954519555195651957519585195951960519615196251963519645196551966519675196851969519705197151972519735197451975519765197751978519795198051981519825198351984519855198651987519885198951990519915199251993519945199551996519975199851999520005200152002520035200452005520065200752008520095201052011520125201352014520155201652017520185201952020520215202252023520245202552026520275202852029520305203152032520335203452035520365203752038520395204052041520425204352044520455204652047520485204952050520515205252053520545205552056520575205852059520605206152062520635206452065520665206752068520695207052071520725207352074520755207652077520785207952080520815208252083520845208552086520875208852089520905209152092520935209452095520965209752098520995210052101521025210352104521055210652107521085210952110521115211252113521145211552116521175211852119521205212152122521235212452125521265212752128521295213052131521325213352134521355213652137521385213952140521415214252143521445214552146521475214852149521505215152152521535215452155521565215752158521595216052161521625216352164521655216652167521685216952170521715217252173521745217552176521775217852179521805218152182521835218452185521865218752188521895219052191521925219352194521955219652197521985219952200522015220252203522045220552206522075220852209522105221152212522135221452215522165221752218522195222052221522225222352224522255222652227522285222952230522315223252233522345223552236522375223852239522405224152242522435224452245522465224752248522495225052251522525225352254522555225652257522585225952260522615226252263522645226552266522675226852269522705227152272522735227452275522765227752278522795228052281522825228352284522855228652287522885228952290522915229252293522945229552296522975229852299523005230152302523035230452305523065230752308523095231052311523125231352314523155231652317523185231952320523215232252323523245232552326523275232852329523305233152332523335233452335523365233752338523395234052341523425234352344523455234652347523485234952350523515235252353523545235552356523575235852359523605236152362523635236452365523665236752368523695237052371523725237352374523755237652377523785237952380523815238252383523845238552386523875238852389523905239152392523935239452395523965239752398523995240052401524025240352404524055240652407524085240952410524115241252413524145241552416524175241852419524205242152422524235242452425524265242752428524295243052431524325243352434524355243652437524385243952440524415244252443524445244552446524475244852449524505245152452524535245452455524565245752458524595246052461524625246352464524655246652467524685246952470524715247252473524745247552476524775247852479524805248152482524835248452485524865248752488524895249052491524925249352494524955249652497524985249952500525015250252503525045250552506525075250852509525105251152512525135251452515525165251752518525195252052521525225252352524525255252652527525285252952530525315253252533525345253552536525375253852539525405254152542525435254452545525465254752548525495255052551525525255352554525555255652557525585255952560525615256252563525645256552566525675256852569525705257152572525735257452575525765257752578525795258052581525825258352584525855258652587525885258952590525915259252593525945259552596525975259852599526005260152602526035260452605526065260752608526095261052611526125261352614526155261652617526185261952620526215262252623526245262552626526275262852629526305263152632526335263452635526365263752638526395264052641526425264352644526455264652647526485264952650526515265252653526545265552656526575265852659526605266152662526635266452665526665266752668526695267052671526725267352674526755267652677526785267952680526815268252683526845268552686526875268852689526905269152692526935269452695526965269752698526995270052701527025270352704527055270652707527085270952710527115271252713527145271552716527175271852719527205272152722527235272452725527265272752728527295273052731527325273352734527355273652737527385273952740527415274252743527445274552746527475274852749527505275152752527535275452755527565275752758527595276052761527625276352764527655276652767527685276952770527715277252773527745277552776527775277852779527805278152782527835278452785527865278752788527895279052791527925279352794527955279652797527985279952800528015280252803528045280552806528075280852809528105281152812528135281452815528165281752818528195282052821528225282352824528255282652827528285282952830528315283252833528345283552836528375283852839528405284152842528435284452845528465284752848528495285052851528525285352854528555285652857528585285952860528615286252863528645286552866528675286852869528705287152872528735287452875528765287752878528795288052881528825288352884528855288652887528885288952890528915289252893528945289552896528975289852899529005290152902529035290452905529065290752908529095291052911529125291352914529155291652917529185291952920529215292252923529245292552926529275292852929529305293152932529335293452935529365293752938529395294052941529425294352944529455294652947529485294952950529515295252953529545295552956529575295852959529605296152962529635296452965529665296752968529695297052971529725297352974529755297652977529785297952980529815298252983529845298552986529875298852989529905299152992529935299452995529965299752998529995300053001530025300353004530055300653007530085300953010530115301253013530145301553016530175301853019530205302153022530235302453025530265302753028530295303053031530325303353034530355303653037530385303953040530415304253043530445304553046530475304853049530505305153052530535305453055530565305753058530595306053061530625306353064530655306653067530685306953070530715307253073530745307553076530775307853079530805308153082530835308453085530865308753088530895309053091530925309353094530955309653097530985309953100531015310253103531045310553106531075310853109531105311153112531135311453115531165311753118531195312053121531225312353124531255312653127531285312953130531315313253133531345313553136531375313853139531405314153142531435314453145531465314753148531495315053151531525315353154531555315653157531585315953160531615316253163531645316553166531675316853169531705317153172531735317453175531765317753178531795318053181531825318353184531855318653187531885318953190531915319253193531945319553196531975319853199532005320153202532035320453205532065320753208532095321053211532125321353214532155321653217532185321953220532215322253223532245322553226532275322853229532305323153232532335323453235532365323753238532395324053241532425324353244532455324653247532485324953250532515325253253532545325553256532575325853259532605326153262532635326453265532665326753268532695327053271532725327353274532755327653277532785327953280532815328253283532845328553286532875328853289532905329153292532935329453295532965329753298532995330053301533025330353304533055330653307533085330953310533115331253313533145331553316533175331853319533205332153322533235332453325533265332753328533295333053331533325333353334533355333653337533385333953340533415334253343533445334553346533475334853349533505335153352533535335453355533565335753358533595336053361533625336353364533655336653367533685336953370533715337253373533745337553376533775337853379533805338153382533835338453385533865338753388533895339053391533925339353394533955339653397533985339953400534015340253403534045340553406534075340853409534105341153412534135341453415534165341753418534195342053421534225342353424534255342653427534285342953430534315343253433534345343553436534375343853439534405344153442534435344453445534465344753448534495345053451534525345353454534555345653457534585345953460534615346253463534645346553466534675346853469534705347153472534735347453475534765347753478534795348053481534825348353484534855348653487534885348953490534915349253493534945349553496534975349853499535005350153502535035350453505535065350753508535095351053511535125351353514535155351653517535185351953520535215352253523535245352553526535275352853529535305353153532535335353453535535365353753538535395354053541535425354353544535455354653547535485354953550535515355253553535545355553556535575355853559535605356153562535635356453565535665356753568535695357053571535725357353574535755357653577535785357953580535815358253583535845358553586535875358853589535905359153592535935359453595535965359753598535995360053601536025360353604536055360653607536085360953610536115361253613536145361553616536175361853619536205362153622536235362453625536265362753628536295363053631536325363353634536355363653637536385363953640536415364253643536445364553646536475364853649536505365153652536535365453655536565365753658536595366053661536625366353664536655366653667536685366953670536715367253673536745367553676536775367853679536805368153682536835368453685536865368753688536895369053691536925369353694536955369653697536985369953700537015370253703537045370553706537075370853709537105371153712537135371453715537165371753718537195372053721537225372353724537255372653727537285372953730537315373253733537345373553736537375373853739537405374153742537435374453745537465374753748537495375053751537525375353754537555375653757537585375953760537615376253763537645376553766537675376853769537705377153772537735377453775537765377753778537795378053781537825378353784537855378653787537885378953790537915379253793537945379553796537975379853799538005380153802538035380453805538065380753808538095381053811538125381353814538155381653817538185381953820538215382253823538245382553826538275382853829538305383153832538335383453835538365383753838538395384053841538425384353844538455384653847538485384953850538515385253853538545385553856538575385853859538605386153862538635386453865538665386753868538695387053871538725387353874538755387653877538785387953880538815388253883538845388553886538875388853889538905389153892538935389453895538965389753898538995390053901539025390353904539055390653907539085390953910539115391253913539145391553916539175391853919539205392153922539235392453925539265392753928539295393053931539325393353934539355393653937539385393953940539415394253943539445394553946539475394853949539505395153952539535395453955539565395753958539595396053961539625396353964539655396653967539685396953970539715397253973539745397553976539775397853979539805398153982539835398453985539865398753988539895399053991539925399353994539955399653997539985399954000540015400254003540045400554006540075400854009540105401154012540135401454015540165401754018540195402054021540225402354024540255402654027540285402954030540315403254033540345403554036540375403854039540405404154042540435404454045540465404754048540495405054051540525405354054540555405654057540585405954060540615406254063540645406554066540675406854069540705407154072540735407454075540765407754078540795408054081540825408354084540855408654087540885408954090540915409254093540945409554096540975409854099541005410154102541035410454105541065410754108541095411054111541125411354114541155411654117541185411954120541215412254123541245412554126541275412854129541305413154132541335413454135541365413754138541395414054141541425414354144541455414654147541485414954150541515415254153541545415554156541575415854159541605416154162541635416454165541665416754168541695417054171541725417354174541755417654177541785417954180541815418254183541845418554186541875418854189541905419154192541935419454195541965419754198541995420054201542025420354204542055420654207542085420954210542115421254213542145421554216542175421854219542205422154222542235422454225542265422754228542295423054231542325423354234542355423654237542385423954240542415424254243542445424554246542475424854249542505425154252542535425454255542565425754258542595426054261542625426354264542655426654267542685426954270542715427254273542745427554276542775427854279542805428154282542835428454285542865428754288542895429054291542925429354294542955429654297542985429954300543015430254303543045430554306543075430854309543105431154312543135431454315543165431754318543195432054321543225432354324543255432654327543285432954330543315433254333543345433554336543375433854339543405434154342543435434454345543465434754348543495435054351543525435354354543555435654357543585435954360543615436254363543645436554366543675436854369543705437154372543735437454375543765437754378543795438054381543825438354384543855438654387543885438954390543915439254393543945439554396543975439854399544005440154402544035440454405544065440754408544095441054411544125441354414544155441654417544185441954420544215442254423544245442554426544275442854429544305443154432544335443454435544365443754438544395444054441544425444354444544455444654447544485444954450544515445254453544545445554456544575445854459544605446154462544635446454465544665446754468544695447054471544725447354474544755447654477544785447954480544815448254483544845448554486544875448854489544905449154492544935449454495544965449754498544995450054501545025450354504545055450654507545085450954510545115451254513545145451554516545175451854519545205452154522545235452454525545265452754528545295453054531545325453354534545355453654537545385453954540545415454254543545445454554546545475454854549545505455154552545535455454555545565455754558545595456054561545625456354564545655456654567545685456954570545715457254573545745457554576545775457854579545805458154582545835458454585545865458754588545895459054591545925459354594545955459654597545985459954600546015460254603546045460554606546075460854609546105461154612546135461454615546165461754618546195462054621546225462354624546255462654627546285462954630546315463254633546345463554636546375463854639546405464154642546435464454645546465464754648546495465054651546525465354654546555465654657546585465954660546615466254663546645466554666546675466854669546705467154672546735467454675546765467754678546795468054681546825468354684546855468654687546885468954690546915469254693546945469554696546975469854699547005470154702547035470454705547065470754708547095471054711547125471354714547155471654717547185471954720547215472254723547245472554726547275472854729547305473154732547335473454735547365473754738547395474054741547425474354744547455474654747547485474954750547515475254753547545475554756547575475854759547605476154762547635476454765547665476754768547695477054771547725477354774547755477654777547785477954780547815478254783547845478554786547875478854789547905479154792547935479454795547965479754798547995480054801548025480354804548055480654807548085480954810548115481254813548145481554816548175481854819548205482154822548235482454825548265482754828548295483054831548325483354834548355483654837548385483954840548415484254843548445484554846548475484854849548505485154852548535485454855548565485754858548595486054861548625486354864548655486654867548685486954870548715487254873548745487554876548775487854879548805488154882548835488454885548865488754888548895489054891548925489354894548955489654897548985489954900549015490254903549045490554906549075490854909549105491154912549135491454915549165491754918549195492054921549225492354924549255492654927549285492954930549315493254933549345493554936549375493854939549405494154942549435494454945549465494754948549495495054951549525495354954549555495654957549585495954960549615496254963549645496554966549675496854969549705497154972549735497454975549765497754978549795498054981549825498354984549855498654987549885498954990549915499254993549945499554996549975499854999550005500155002550035500455005550065500755008550095501055011550125501355014550155501655017550185501955020550215502255023550245502555026550275502855029550305503155032550335503455035550365503755038550395504055041550425504355044550455504655047550485504955050550515505255053550545505555056550575505855059550605506155062550635506455065550665506755068550695507055071550725507355074550755507655077550785507955080550815508255083550845508555086550875508855089550905509155092550935509455095550965509755098550995510055101551025510355104551055510655107551085510955110551115511255113551145511555116551175511855119551205512155122551235512455125551265512755128551295513055131551325513355134551355513655137551385513955140551415514255143551445514555146551475514855149551505515155152551535515455155551565515755158551595516055161551625516355164551655516655167551685516955170551715517255173551745517555176551775517855179551805518155182551835518455185551865518755188551895519055191551925519355194551955519655197551985519955200552015520255203552045520555206552075520855209552105521155212552135521455215552165521755218552195522055221552225522355224552255522655227552285522955230552315523255233552345523555236552375523855239552405524155242552435524455245552465524755248552495525055251552525525355254552555525655257552585525955260552615526255263552645526555266552675526855269552705527155272552735527455275552765527755278552795528055281552825528355284552855528655287552885528955290552915529255293552945529555296552975529855299553005530155302553035530455305553065530755308553095531055311553125531355314553155531655317553185531955320553215532255323553245532555326553275532855329553305533155332553335533455335553365533755338553395534055341553425534355344553455534655347553485534955350553515535255353553545535555356553575535855359553605536155362553635536455365553665536755368553695537055371553725537355374553755537655377553785537955380553815538255383553845538555386553875538855389553905539155392553935539455395553965539755398553995540055401554025540355404554055540655407554085540955410554115541255413554145541555416554175541855419554205542155422554235542455425554265542755428554295543055431554325543355434554355543655437554385543955440554415544255443554445544555446554475544855449554505545155452554535545455455554565545755458554595546055461554625546355464554655546655467554685546955470554715547255473554745547555476554775547855479554805548155482554835548455485554865548755488554895549055491554925549355494554955549655497554985549955500555015550255503555045550555506555075550855509555105551155512555135551455515555165551755518555195552055521555225552355524555255552655527555285552955530555315553255533555345553555536555375553855539555405554155542555435554455545555465554755548555495555055551555525555355554555555555655557555585555955560555615556255563555645556555566555675556855569555705557155572555735557455575555765557755578555795558055581555825558355584555855558655587555885558955590555915559255593555945559555596555975559855599556005560155602556035560455605556065560755608556095561055611556125561355614556155561655617556185561955620556215562255623556245562555626556275562855629556305563155632556335563455635556365563755638556395564055641556425564355644556455564655647556485564955650556515565255653556545565555656556575565855659556605566155662556635566455665556665566755668556695567055671556725567355674556755567655677556785567955680556815568255683556845568555686556875568855689556905569155692556935569455695556965569755698556995570055701557025570355704557055570655707557085570955710557115571255713557145571555716557175571855719557205572155722557235572455725557265572755728557295573055731557325573355734557355573655737557385573955740557415574255743557445574555746557475574855749557505575155752557535575455755557565575755758557595576055761557625576355764557655576655767557685576955770557715577255773557745577555776557775577855779557805578155782557835578455785557865578755788557895579055791557925579355794557955579655797557985579955800558015580255803558045580555806558075580855809558105581155812558135581455815558165581755818558195582055821558225582355824558255582655827558285582955830558315583255833558345583555836558375583855839558405584155842558435584455845558465584755848558495585055851558525585355854558555585655857558585585955860558615586255863558645586555866558675586855869558705587155872558735587455875558765587755878558795588055881558825588355884558855588655887558885588955890558915589255893558945589555896558975589855899559005590155902559035590455905559065590755908559095591055911559125591355914559155591655917559185591955920559215592255923559245592555926559275592855929559305593155932559335593455935559365593755938559395594055941559425594355944559455594655947559485594955950559515595255953559545595555956559575595855959559605596155962559635596455965559665596755968559695597055971559725597355974559755597655977559785597955980559815598255983559845598555986559875598855989559905599155992559935599455995559965599755998559995600056001560025600356004560055600656007560085600956010560115601256013560145601556016560175601856019560205602156022560235602456025560265602756028560295603056031560325603356034560355603656037560385603956040560415604256043560445604556046560475604856049560505605156052560535605456055560565605756058560595606056061560625606356064560655606656067560685606956070560715607256073560745607556076560775607856079560805608156082560835608456085560865608756088560895609056091560925609356094560955609656097560985609956100561015610256103561045610556106561075610856109561105611156112561135611456115561165611756118561195612056121561225612356124561255612656127561285612956130561315613256133561345613556136561375613856139561405614156142561435614456145561465614756148561495615056151561525615356154561555615656157561585615956160561615616256163561645616556166561675616856169561705617156172561735617456175561765617756178561795618056181561825618356184561855618656187561885618956190561915619256193561945619556196561975619856199562005620156202562035620456205562065620756208562095621056211562125621356214562155621656217562185621956220562215622256223562245622556226562275622856229562305623156232562335623456235562365623756238562395624056241562425624356244562455624656247562485624956250562515625256253562545625556256562575625856259562605626156262562635626456265562665626756268562695627056271562725627356274562755627656277562785627956280562815628256283562845628556286562875628856289562905629156292562935629456295562965629756298562995630056301563025630356304563055630656307563085630956310563115631256313563145631556316563175631856319563205632156322563235632456325563265632756328563295633056331563325633356334563355633656337563385633956340563415634256343563445634556346563475634856349563505635156352563535635456355563565635756358563595636056361563625636356364563655636656367563685636956370563715637256373563745637556376563775637856379563805638156382563835638456385563865638756388563895639056391563925639356394563955639656397563985639956400564015640256403564045640556406564075640856409564105641156412564135641456415564165641756418564195642056421564225642356424564255642656427564285642956430564315643256433564345643556436564375643856439564405644156442564435644456445564465644756448564495645056451564525645356454564555645656457564585645956460564615646256463564645646556466564675646856469564705647156472564735647456475564765647756478564795648056481564825648356484564855648656487564885648956490564915649256493564945649556496564975649856499565005650156502565035650456505565065650756508565095651056511565125651356514565155651656517565185651956520565215652256523565245652556526565275652856529565305653156532565335653456535565365653756538565395654056541565425654356544565455654656547565485654956550565515655256553565545655556556565575655856559565605656156562565635656456565565665656756568565695657056571565725657356574565755657656577565785657956580565815658256583565845658556586565875658856589565905659156592565935659456595565965659756598565995660056601566025660356604566055660656607566085660956610566115661256613566145661556616566175661856619566205662156622566235662456625566265662756628566295663056631566325663356634566355663656637566385663956640566415664256643566445664556646566475664856649566505665156652566535665456655566565665756658566595666056661566625666356664566655666656667566685666956670566715667256673566745667556676566775667856679566805668156682566835668456685566865668756688566895669056691566925669356694566955669656697566985669956700567015670256703567045670556706567075670856709567105671156712567135671456715567165671756718567195672056721567225672356724567255672656727567285672956730567315673256733567345673556736567375673856739567405674156742567435674456745567465674756748567495675056751567525675356754567555675656757567585675956760567615676256763567645676556766567675676856769567705677156772567735677456775567765677756778567795678056781567825678356784567855678656787567885678956790567915679256793567945679556796567975679856799568005680156802568035680456805568065680756808568095681056811568125681356814568155681656817568185681956820568215682256823568245682556826568275682856829568305683156832568335683456835568365683756838568395684056841568425684356844568455684656847568485684956850568515685256853568545685556856568575685856859568605686156862568635686456865568665686756868568695687056871568725687356874568755687656877568785687956880568815688256883568845688556886568875688856889568905689156892568935689456895568965689756898568995690056901569025690356904569055690656907569085690956910569115691256913569145691556916569175691856919569205692156922569235692456925569265692756928569295693056931569325693356934569355693656937569385693956940569415694256943569445694556946569475694856949569505695156952569535695456955569565695756958569595696056961569625696356964569655696656967569685696956970569715697256973569745697556976569775697856979569805698156982569835698456985569865698756988569895699056991569925699356994569955699656997569985699957000570015700257003570045700557006570075700857009570105701157012570135701457015570165701757018570195702057021570225702357024570255702657027570285702957030570315703257033570345703557036570375703857039570405704157042570435704457045570465704757048570495705057051570525705357054570555705657057570585705957060570615706257063570645706557066570675706857069570705707157072570735707457075570765707757078570795708057081570825708357084570855708657087570885708957090570915709257093570945709557096570975709857099571005710157102571035710457105571065710757108571095711057111571125711357114571155711657117571185711957120571215712257123571245712557126571275712857129571305713157132571335713457135571365713757138571395714057141571425714357144571455714657147571485714957150571515715257153571545715557156571575715857159571605716157162571635716457165571665716757168571695717057171571725717357174571755717657177571785717957180571815718257183571845718557186571875718857189571905719157192571935719457195571965719757198571995720057201572025720357204572055720657207572085720957210572115721257213572145721557216572175721857219572205722157222572235722457225572265722757228572295723057231572325723357234572355723657237572385723957240572415724257243572445724557246572475724857249572505725157252572535725457255572565725757258572595726057261572625726357264572655726657267572685726957270572715727257273572745727557276572775727857279572805728157282572835728457285572865728757288572895729057291572925729357294572955729657297572985729957300573015730257303573045730557306573075730857309573105731157312573135731457315573165731757318573195732057321573225732357324573255732657327573285732957330573315733257333573345733557336573375733857339573405734157342573435734457345573465734757348573495735057351573525735357354573555735657357573585735957360573615736257363573645736557366573675736857369573705737157372573735737457375573765737757378573795738057381573825738357384573855738657387573885738957390573915739257393573945739557396573975739857399574005740157402574035740457405574065740757408574095741057411574125741357414574155741657417574185741957420574215742257423574245742557426574275742857429574305743157432574335743457435574365743757438574395744057441574425744357444574455744657447574485744957450574515745257453574545745557456574575745857459574605746157462574635746457465574665746757468574695747057471574725747357474574755747657477574785747957480574815748257483574845748557486574875748857489574905749157492574935749457495574965749757498574995750057501575025750357504575055750657507575085750957510575115751257513575145751557516575175751857519575205752157522575235752457525575265752757528575295753057531575325753357534575355753657537575385753957540575415754257543575445754557546575475754857549575505755157552575535755457555575565755757558575595756057561575625756357564575655756657567575685756957570575715757257573575745757557576575775757857579575805758157582575835758457585575865758757588575895759057591575925759357594575955759657597575985759957600576015760257603576045760557606576075760857609576105761157612576135761457615576165761757618576195762057621576225762357624576255762657627576285762957630576315763257633576345763557636576375763857639576405764157642576435764457645576465764757648576495765057651576525765357654576555765657657576585765957660576615766257663576645766557666576675766857669576705767157672576735767457675576765767757678576795768057681576825768357684576855768657687576885768957690576915769257693576945769557696576975769857699577005770157702577035770457705577065770757708577095771057711577125771357714577155771657717577185771957720577215772257723577245772557726577275772857729577305773157732577335773457735577365773757738577395774057741577425774357744577455774657747577485774957750577515775257753577545775557756577575775857759577605776157762577635776457765577665776757768577695777057771577725777357774577755777657777577785777957780577815778257783577845778557786577875778857789577905779157792577935779457795577965779757798577995780057801578025780357804578055780657807578085780957810578115781257813578145781557816578175781857819578205782157822578235782457825578265782757828578295783057831578325783357834578355783657837578385783957840578415784257843578445784557846578475784857849578505785157852578535785457855578565785757858578595786057861578625786357864578655786657867578685786957870578715787257873578745787557876578775787857879578805788157882578835788457885578865788757888578895789057891578925789357894578955789657897578985789957900579015790257903579045790557906579075790857909579105791157912579135791457915579165791757918579195792057921579225792357924579255792657927579285792957930579315793257933579345793557936579375793857939579405794157942579435794457945579465794757948579495795057951579525795357954579555795657957579585795957960579615796257963579645796557966579675796857969579705797157972579735797457975579765797757978579795798057981579825798357984579855798657987579885798957990579915799257993579945799557996579975799857999580005800158002580035800458005580065800758008580095801058011580125801358014580155801658017580185801958020580215802258023580245802558026580275802858029580305803158032580335803458035580365803758038580395804058041580425804358044580455804658047580485804958050580515805258053580545805558056580575805858059580605806158062580635806458065580665806758068580695807058071580725807358074580755807658077580785807958080580815808258083580845808558086580875808858089580905809158092580935809458095580965809758098580995810058101581025810358104581055810658107581085810958110581115811258113581145811558116581175811858119581205812158122581235812458125581265812758128581295813058131581325813358134581355813658137581385813958140581415814258143581445814558146581475814858149581505815158152581535815458155581565815758158581595816058161581625816358164581655816658167581685816958170581715817258173581745817558176581775817858179581805818158182581835818458185581865818758188581895819058191581925819358194581955819658197581985819958200582015820258203582045820558206582075820858209582105821158212582135821458215582165821758218582195822058221582225822358224582255822658227582285822958230582315823258233582345823558236582375823858239582405824158242582435824458245582465824758248582495825058251582525825358254582555825658257582585825958260582615826258263582645826558266582675826858269582705827158272582735827458275582765827758278582795828058281582825828358284582855828658287582885828958290582915829258293582945829558296582975829858299583005830158302583035830458305583065830758308583095831058311583125831358314583155831658317583185831958320583215832258323583245832558326583275832858329583305833158332583335833458335583365833758338583395834058341583425834358344583455834658347583485834958350583515835258353583545835558356583575835858359583605836158362583635836458365583665836758368583695837058371583725837358374583755837658377583785837958380583815838258383583845838558386583875838858389583905839158392583935839458395583965839758398583995840058401584025840358404584055840658407584085840958410584115841258413584145841558416584175841858419584205842158422584235842458425584265842758428584295843058431584325843358434584355843658437584385843958440584415844258443584445844558446584475844858449584505845158452584535845458455584565845758458584595846058461584625846358464584655846658467584685846958470584715847258473584745847558476584775847858479584805848158482584835848458485584865848758488584895849058491584925849358494584955849658497584985849958500585015850258503585045850558506585075850858509585105851158512585135851458515585165851758518585195852058521585225852358524585255852658527585285852958530585315853258533585345853558536585375853858539585405854158542585435854458545585465854758548585495855058551585525855358554585555855658557585585855958560585615856258563585645856558566585675856858569585705857158572585735857458575585765857758578585795858058581585825858358584585855858658587585885858958590585915859258593585945859558596585975859858599586005860158602586035860458605586065860758608586095861058611586125861358614586155861658617586185861958620586215862258623586245862558626586275862858629586305863158632586335863458635586365863758638586395864058641586425864358644586455864658647586485864958650586515865258653586545865558656586575865858659586605866158662586635866458665586665866758668586695867058671586725867358674586755867658677586785867958680586815868258683586845868558686586875868858689586905869158692586935869458695586965869758698586995870058701587025870358704587055870658707587085870958710587115871258713587145871558716587175871858719587205872158722587235872458725587265872758728587295873058731587325873358734587355873658737587385873958740587415874258743587445874558746587475874858749587505875158752587535875458755587565875758758587595876058761587625876358764587655876658767587685876958770587715877258773587745877558776587775877858779587805878158782587835878458785587865878758788587895879058791587925879358794587955879658797587985879958800588015880258803588045880558806588075880858809588105881158812588135881458815588165881758818588195882058821588225882358824588255882658827588285882958830588315883258833588345883558836588375883858839588405884158842588435884458845588465884758848588495885058851588525885358854588555885658857588585885958860588615886258863588645886558866588675886858869588705887158872588735887458875588765887758878588795888058881588825888358884588855888658887588885888958890588915889258893588945889558896588975889858899589005890158902589035890458905589065890758908589095891058911589125891358914589155891658917589185891958920589215892258923589245892558926589275892858929589305893158932589335893458935589365893758938589395894058941589425894358944589455894658947589485894958950589515895258953589545895558956589575895858959589605896158962589635896458965589665896758968589695897058971589725897358974589755897658977589785897958980589815898258983589845898558986589875898858989589905899158992589935899458995589965899758998589995900059001590025900359004590055900659007590085900959010590115901259013590145901559016590175901859019590205902159022590235902459025590265902759028590295903059031590325903359034590355903659037590385903959040590415904259043590445904559046590475904859049590505905159052590535905459055590565905759058590595906059061590625906359064590655906659067590685906959070590715907259073590745907559076590775907859079590805908159082590835908459085590865908759088590895909059091590925909359094590955909659097590985909959100591015910259103591045910559106591075910859109591105911159112591135911459115591165911759118591195912059121591225912359124591255912659127591285912959130591315913259133591345913559136591375913859139591405914159142591435914459145591465914759148591495915059151591525915359154591555915659157591585915959160591615916259163591645916559166591675916859169591705917159172591735917459175591765917759178591795918059181591825918359184591855918659187591885918959190591915919259193591945919559196591975919859199592005920159202592035920459205592065920759208592095921059211592125921359214592155921659217592185921959220592215922259223592245922559226592275922859229592305923159232592335923459235592365923759238592395924059241592425924359244592455924659247592485924959250592515925259253592545925559256592575925859259592605926159262592635926459265592665926759268592695927059271592725927359274592755927659277592785927959280592815928259283592845928559286592875928859289592905929159292592935929459295592965929759298592995930059301593025930359304593055930659307593085930959310593115931259313593145931559316593175931859319593205932159322593235932459325593265932759328593295933059331593325933359334593355933659337593385933959340593415934259343593445934559346593475934859349593505935159352593535935459355593565935759358593595936059361593625936359364593655936659367593685936959370593715937259373593745937559376593775937859379593805938159382593835938459385593865938759388593895939059391593925939359394593955939659397593985939959400594015940259403594045940559406594075940859409594105941159412594135941459415594165941759418594195942059421594225942359424594255942659427594285942959430594315943259433594345943559436594375943859439594405944159442594435944459445594465944759448594495945059451594525945359454594555945659457594585945959460594615946259463594645946559466594675946859469594705947159472594735947459475594765947759478594795948059481594825948359484594855948659487594885948959490594915949259493594945949559496594975949859499595005950159502595035950459505595065950759508595095951059511595125951359514595155951659517595185951959520595215952259523595245952559526595275952859529595305953159532595335953459535595365953759538595395954059541595425954359544595455954659547595485954959550595515955259553595545955559556595575955859559595605956159562595635956459565595665956759568595695957059571595725957359574595755957659577595785957959580595815958259583595845958559586595875958859589595905959159592595935959459595595965959759598595995960059601596025960359604596055960659607596085960959610596115961259613596145961559616596175961859619596205962159622596235962459625596265962759628596295963059631596325963359634596355963659637596385963959640596415964259643596445964559646596475964859649596505965159652596535965459655596565965759658596595966059661596625966359664596655966659667596685966959670596715967259673596745967559676596775967859679596805968159682596835968459685596865968759688596895969059691596925969359694596955969659697596985969959700597015970259703597045970559706597075970859709597105971159712597135971459715597165971759718597195972059721597225972359724597255972659727597285972959730597315973259733597345973559736597375973859739597405974159742597435974459745597465974759748597495975059751597525975359754597555975659757597585975959760597615976259763597645976559766597675976859769597705977159772597735977459775597765977759778597795978059781597825978359784597855978659787597885978959790597915979259793597945979559796597975979859799598005980159802598035980459805598065980759808598095981059811598125981359814598155981659817598185981959820598215982259823598245982559826598275982859829598305983159832598335983459835598365983759838598395984059841598425984359844598455984659847598485984959850598515985259853598545985559856598575985859859598605986159862598635986459865598665986759868598695987059871598725987359874598755987659877598785987959880598815988259883598845988559886598875988859889598905989159892598935989459895598965989759898598995990059901599025990359904599055990659907599085990959910599115991259913599145991559916599175991859919599205992159922599235992459925599265992759928599295993059931599325993359934599355993659937599385993959940599415994259943599445994559946599475994859949599505995159952599535995459955599565995759958599595996059961599625996359964599655996659967599685996959970599715997259973599745997559976599775997859979599805998159982599835998459985599865998759988599895999059991599925999359994599955999659997599985999960000600016000260003600046000560006600076000860009600106001160012600136001460015600166001760018600196002060021600226002360024600256002660027600286002960030600316003260033600346003560036600376003860039600406004160042600436004460045600466004760048600496005060051600526005360054600556005660057600586005960060600616006260063600646006560066600676006860069600706007160072600736007460075600766007760078600796008060081600826008360084600856008660087600886008960090600916009260093600946009560096600976009860099601006010160102601036010460105601066010760108601096011060111601126011360114601156011660117601186011960120601216012260123601246012560126601276012860129601306013160132601336013460135601366013760138601396014060141601426014360144601456014660147601486014960150601516015260153601546015560156601576015860159601606016160162601636016460165601666016760168601696017060171601726017360174601756017660177601786017960180601816018260183601846018560186601876018860189601906019160192601936019460195601966019760198601996020060201602026020360204602056020660207602086020960210602116021260213602146021560216602176021860219602206022160222602236022460225602266022760228602296023060231602326023360234602356023660237602386023960240602416024260243602446024560246602476024860249602506025160252602536025460255602566025760258602596026060261602626026360264602656026660267602686026960270602716027260273602746027560276602776027860279602806028160282602836028460285602866028760288602896029060291602926029360294602956029660297602986029960300603016030260303603046030560306603076030860309603106031160312603136031460315603166031760318603196032060321603226032360324603256032660327603286032960330603316033260333603346033560336603376033860339603406034160342603436034460345603466034760348603496035060351603526035360354603556035660357603586035960360603616036260363603646036560366603676036860369603706037160372603736037460375603766037760378603796038060381603826038360384603856038660387603886038960390603916039260393603946039560396603976039860399604006040160402604036040460405604066040760408604096041060411604126041360414604156041660417604186041960420604216042260423604246042560426604276042860429604306043160432604336043460435604366043760438604396044060441604426044360444604456044660447604486044960450604516045260453604546045560456604576045860459604606046160462604636046460465604666046760468604696047060471604726047360474604756047660477604786047960480604816048260483604846048560486604876048860489604906049160492604936049460495604966049760498604996050060501605026050360504605056050660507605086050960510605116051260513605146051560516605176051860519605206052160522605236052460525605266052760528605296053060531605326053360534605356053660537605386053960540605416054260543605446054560546605476054860549605506055160552605536055460555605566055760558605596056060561605626056360564605656056660567605686056960570605716057260573605746057560576605776057860579605806058160582605836058460585605866058760588605896059060591605926059360594605956059660597605986059960600606016060260603606046060560606606076060860609606106061160612606136061460615606166061760618606196062060621606226062360624606256062660627606286062960630606316063260633606346063560636606376063860639606406064160642606436064460645606466064760648606496065060651606526065360654606556065660657606586065960660606616066260663606646066560666606676066860669606706067160672606736067460675606766067760678606796068060681606826068360684606856068660687606886068960690606916069260693606946069560696606976069860699607006070160702607036070460705607066070760708607096071060711607126071360714607156071660717607186071960720607216072260723607246072560726607276072860729607306073160732607336073460735607366073760738607396074060741607426074360744607456074660747607486074960750607516075260753607546075560756607576075860759607606076160762607636076460765607666076760768607696077060771607726077360774607756077660777607786077960780607816078260783607846078560786607876078860789607906079160792607936079460795607966079760798607996080060801608026080360804608056080660807608086080960810608116081260813608146081560816608176081860819608206082160822608236082460825608266082760828608296083060831608326083360834608356083660837608386083960840608416084260843608446084560846608476084860849608506085160852608536085460855608566085760858608596086060861608626086360864608656086660867608686086960870608716087260873608746087560876608776087860879608806088160882608836088460885608866088760888608896089060891608926089360894608956089660897608986089960900609016090260903609046090560906609076090860909609106091160912609136091460915609166091760918609196092060921609226092360924609256092660927609286092960930609316093260933609346093560936609376093860939609406094160942609436094460945609466094760948609496095060951609526095360954609556095660957609586095960960609616096260963609646096560966609676096860969609706097160972609736097460975609766097760978609796098060981609826098360984609856098660987609886098960990609916099260993609946099560996609976099860999610006100161002610036100461005610066100761008610096101061011610126101361014610156101661017610186101961020610216102261023610246102561026610276102861029610306103161032610336103461035610366103761038610396104061041610426104361044610456104661047610486104961050610516105261053610546105561056610576105861059610606106161062610636106461065610666106761068610696107061071610726107361074610756107661077610786107961080610816108261083610846108561086610876108861089610906109161092610936109461095610966109761098610996110061101611026110361104611056110661107611086110961110611116111261113611146111561116611176111861119611206112161122611236112461125611266112761128611296113061131611326113361134611356113661137611386113961140611416114261143611446114561146611476114861149611506115161152611536115461155611566115761158611596116061161611626116361164611656116661167611686116961170611716117261173611746117561176611776117861179611806118161182611836118461185611866118761188611896119061191611926119361194611956119661197611986119961200612016120261203612046120561206612076120861209612106121161212612136121461215612166121761218612196122061221612226122361224612256122661227612286122961230612316123261233612346123561236612376123861239612406124161242612436124461245612466124761248612496125061251612526125361254612556125661257612586125961260612616126261263612646126561266612676126861269612706127161272612736127461275612766127761278612796128061281612826128361284612856128661287612886128961290612916129261293612946129561296612976129861299613006130161302613036130461305613066130761308613096131061311613126131361314613156131661317613186131961320613216132261323613246132561326613276132861329613306133161332613336133461335613366133761338613396134061341613426134361344613456134661347613486134961350613516135261353613546135561356613576135861359613606136161362613636136461365613666136761368613696137061371613726137361374613756137661377613786137961380613816138261383613846138561386613876138861389613906139161392613936139461395613966139761398613996140061401614026140361404614056140661407614086140961410614116141261413614146141561416614176141861419614206142161422614236142461425614266142761428614296143061431614326143361434614356143661437614386143961440614416144261443614446144561446614476144861449614506145161452614536145461455614566145761458614596146061461614626146361464614656146661467614686146961470614716147261473614746147561476614776147861479614806148161482614836148461485614866148761488614896149061491614926149361494614956149661497614986149961500615016150261503615046150561506615076150861509615106151161512615136151461515615166151761518615196152061521615226152361524615256152661527615286152961530615316153261533615346153561536615376153861539615406154161542615436154461545615466154761548615496155061551615526155361554615556155661557615586155961560615616156261563615646156561566615676156861569615706157161572615736157461575615766157761578615796158061581615826158361584615856158661587615886158961590615916159261593615946159561596615976159861599616006160161602616036160461605616066160761608616096161061611616126161361614616156161661617616186161961620616216162261623616246162561626616276162861629616306163161632616336163461635616366163761638616396164061641616426164361644616456164661647616486164961650616516165261653616546165561656616576165861659616606166161662616636166461665616666166761668616696167061671616726167361674616756167661677616786167961680616816168261683616846168561686616876168861689616906169161692616936169461695616966169761698616996170061701617026170361704617056170661707617086170961710617116171261713617146171561716617176171861719617206172161722617236172461725617266172761728617296173061731617326173361734617356173661737617386173961740617416174261743617446174561746617476174861749617506175161752617536175461755617566175761758617596176061761617626176361764617656176661767617686176961770617716177261773617746177561776617776177861779617806178161782617836178461785617866178761788617896179061791617926179361794617956179661797617986179961800618016180261803618046180561806618076180861809618106181161812618136181461815618166181761818618196182061821618226182361824618256182661827618286182961830618316183261833618346183561836618376183861839618406184161842618436184461845618466184761848618496185061851618526185361854618556185661857618586185961860618616186261863618646186561866618676186861869618706187161872618736187461875618766187761878618796188061881618826188361884618856188661887618886188961890618916189261893618946189561896618976189861899619006190161902619036190461905619066190761908619096191061911619126191361914619156191661917619186191961920619216192261923619246192561926619276192861929619306193161932619336193461935619366193761938619396194061941619426194361944619456194661947619486194961950619516195261953619546195561956619576195861959619606196161962619636196461965619666196761968619696197061971619726197361974619756197661977619786197961980619816198261983619846198561986619876198861989619906199161992619936199461995619966199761998619996200062001620026200362004620056200662007620086200962010620116201262013620146201562016620176201862019620206202162022620236202462025620266202762028620296203062031620326203362034620356203662037620386203962040620416204262043620446204562046620476204862049620506205162052620536205462055620566205762058620596206062061620626206362064620656206662067620686206962070620716207262073620746207562076620776207862079620806208162082620836208462085620866208762088620896209062091620926209362094620956209662097620986209962100621016210262103621046210562106621076210862109621106211162112621136211462115621166211762118621196212062121621226212362124621256212662127621286212962130621316213262133621346213562136621376213862139621406214162142621436214462145621466214762148621496215062151621526215362154621556215662157621586215962160621616216262163621646216562166621676216862169621706217162172621736217462175621766217762178621796218062181621826218362184621856218662187621886218962190621916219262193621946219562196621976219862199622006220162202622036220462205622066220762208622096221062211622126221362214622156221662217622186221962220622216222262223622246222562226622276222862229622306223162232622336223462235622366223762238622396224062241622426224362244622456224662247622486224962250622516225262253622546225562256622576225862259622606226162262622636226462265622666226762268622696227062271622726227362274622756227662277622786227962280622816228262283622846228562286622876228862289622906229162292622936229462295622966229762298622996230062301623026230362304623056230662307623086230962310623116231262313623146231562316623176231862319623206232162322623236232462325623266232762328623296233062331623326233362334623356233662337623386233962340623416234262343623446234562346623476234862349623506235162352623536235462355623566235762358623596236062361623626236362364623656236662367623686236962370623716237262373623746237562376623776237862379623806238162382623836238462385623866238762388623896239062391623926239362394623956239662397623986239962400624016240262403624046240562406624076240862409624106241162412624136241462415624166241762418624196242062421624226242362424624256242662427624286242962430624316243262433624346243562436624376243862439624406244162442624436244462445624466244762448624496245062451624526245362454624556245662457624586245962460624616246262463624646246562466624676246862469624706247162472624736247462475624766247762478624796248062481624826248362484624856248662487624886248962490624916249262493624946249562496624976249862499625006250162502625036250462505625066250762508625096251062511625126251362514625156251662517625186251962520625216252262523625246252562526625276252862529625306253162532625336253462535625366253762538625396254062541625426254362544625456254662547625486254962550625516255262553625546255562556625576255862559625606256162562625636256462565625666256762568625696257062571625726257362574625756257662577625786257962580625816258262583625846258562586625876258862589625906259162592625936259462595625966259762598625996260062601626026260362604626056260662607626086260962610626116261262613626146261562616626176261862619626206262162622626236262462625626266262762628626296263062631626326263362634626356263662637626386263962640626416264262643626446264562646626476264862649626506265162652626536265462655626566265762658626596266062661626626266362664626656266662667626686266962670626716267262673626746267562676626776267862679626806268162682626836268462685626866268762688626896269062691626926269362694626956269662697626986269962700627016270262703627046270562706627076270862709627106271162712627136271462715627166271762718627196272062721627226272362724627256272662727627286272962730627316273262733627346273562736627376273862739627406274162742627436274462745627466274762748627496275062751627526275362754627556275662757627586275962760627616276262763627646276562766627676276862769627706277162772627736277462775627766277762778627796278062781627826278362784627856278662787627886278962790627916279262793627946279562796627976279862799628006280162802628036280462805628066280762808628096281062811628126281362814628156281662817628186281962820628216282262823628246282562826628276282862829628306283162832628336283462835628366283762838628396284062841628426284362844628456284662847628486284962850628516285262853628546285562856628576285862859628606286162862628636286462865628666286762868628696287062871628726287362874628756287662877628786287962880628816288262883628846288562886628876288862889628906289162892628936289462895628966289762898628996290062901629026290362904629056290662907629086290962910629116291262913629146291562916629176291862919629206292162922629236292462925629266292762928629296293062931629326293362934629356293662937629386293962940629416294262943629446294562946629476294862949629506295162952629536295462955629566295762958629596296062961629626296362964629656296662967629686296962970629716297262973629746297562976629776297862979629806298162982629836298462985629866298762988629896299062991629926299362994629956299662997629986299963000630016300263003630046300563006630076300863009630106301163012630136301463015630166301763018630196302063021630226302363024630256302663027630286302963030630316303263033630346303563036630376303863039630406304163042630436304463045630466304763048630496305063051630526305363054630556305663057630586305963060630616306263063630646306563066630676306863069630706307163072630736307463075630766307763078630796308063081630826308363084630856308663087630886308963090630916309263093630946309563096630976309863099631006310163102631036310463105631066310763108631096311063111631126311363114631156311663117631186311963120631216312263123631246312563126631276312863129631306313163132631336313463135631366313763138631396314063141631426314363144631456314663147631486314963150631516315263153631546315563156631576315863159631606316163162631636316463165631666316763168631696317063171631726317363174631756317663177631786317963180631816318263183631846318563186631876318863189631906319163192631936319463195631966319763198631996320063201632026320363204632056320663207632086320963210632116321263213632146321563216632176321863219632206322163222632236322463225632266322763228632296323063231632326323363234632356323663237632386323963240632416324263243632446324563246632476324863249632506325163252632536325463255632566325763258632596326063261632626326363264632656326663267632686326963270632716327263273632746327563276632776327863279632806328163282632836328463285632866328763288632896329063291632926329363294632956329663297632986329963300633016330263303633046330563306633076330863309633106331163312633136331463315633166331763318633196332063321633226332363324633256332663327633286332963330633316333263333633346333563336633376333863339633406334163342633436334463345633466334763348633496335063351633526335363354633556335663357633586335963360633616336263363633646336563366633676336863369633706337163372633736337463375633766337763378633796338063381633826338363384633856338663387633886338963390633916339263393633946339563396633976339863399634006340163402634036340463405634066340763408634096341063411634126341363414634156341663417634186341963420634216342263423634246342563426634276342863429634306343163432634336343463435634366343763438634396344063441634426344363444634456344663447634486344963450634516345263453634546345563456634576345863459634606346163462634636346463465634666346763468634696347063471634726347363474634756347663477634786347963480634816348263483634846348563486634876348863489634906349163492634936349463495634966349763498634996350063501635026350363504635056350663507635086350963510635116351263513635146351563516635176351863519635206352163522635236352463525635266352763528635296353063531635326353363534635356353663537635386353963540635416354263543635446354563546635476354863549635506355163552635536355463555635566355763558635596356063561635626356363564635656356663567635686356963570635716357263573635746357563576635776357863579635806358163582635836358463585635866358763588635896359063591635926359363594635956359663597635986359963600636016360263603636046360563606636076360863609636106361163612636136361463615636166361763618636196362063621636226362363624636256362663627636286362963630636316363263633636346363563636636376363863639636406364163642636436364463645636466364763648636496365063651636526365363654636556365663657636586365963660636616366263663636646366563666636676366863669636706367163672636736367463675636766367763678636796368063681636826368363684636856368663687636886368963690636916369263693636946369563696636976369863699637006370163702637036370463705637066370763708637096371063711637126371363714637156371663717637186371963720637216372263723637246372563726637276372863729637306373163732637336373463735637366373763738637396374063741637426374363744637456374663747637486374963750637516375263753637546375563756637576375863759637606376163762637636376463765637666376763768637696377063771637726377363774637756377663777637786377963780637816378263783637846378563786637876378863789637906379163792637936379463795637966379763798637996380063801638026380363804638056380663807638086380963810638116381263813638146381563816638176381863819638206382163822638236382463825638266382763828638296383063831638326383363834638356383663837638386383963840638416384263843638446384563846638476384863849638506385163852638536385463855638566385763858638596386063861638626386363864638656386663867638686386963870638716387263873638746387563876638776387863879638806388163882638836388463885638866388763888638896389063891638926389363894638956389663897638986389963900639016390263903639046390563906639076390863909639106391163912639136391463915639166391763918639196392063921639226392363924639256392663927639286392963930639316393263933639346393563936639376393863939639406394163942639436394463945639466394763948639496395063951639526395363954639556395663957639586395963960639616396263963639646396563966639676396863969639706397163972639736397463975639766397763978639796398063981639826398363984639856398663987639886398963990639916399263993639946399563996639976399863999640006400164002640036400464005640066400764008640096401064011640126401364014640156401664017640186401964020640216402264023640246402564026640276402864029640306403164032640336403464035640366403764038640396404064041640426404364044640456404664047640486404964050640516405264053640546405564056640576405864059640606406164062640636406464065640666406764068640696407064071640726407364074640756407664077640786407964080640816408264083640846408564086640876408864089640906409164092640936409464095640966409764098640996410064101641026410364104641056410664107641086410964110641116411264113641146411564116641176411864119641206412164122641236412464125641266412764128641296413064131641326413364134641356413664137641386413964140641416414264143641446414564146641476414864149641506415164152641536415464155641566415764158641596416064161641626416364164641656416664167641686416964170641716417264173641746417564176641776417864179641806418164182641836418464185641866418764188641896419064191641926419364194641956419664197641986419964200642016420264203642046420564206642076420864209642106421164212642136421464215642166421764218642196422064221642226422364224642256422664227642286422964230642316423264233642346423564236642376423864239642406424164242642436424464245642466424764248642496425064251642526425364254642556425664257642586425964260642616426264263642646426564266642676426864269642706427164272642736427464275642766427764278642796428064281642826428364284642856428664287642886428964290642916429264293642946429564296642976429864299643006430164302643036430464305643066430764308643096431064311643126431364314643156431664317643186431964320643216432264323643246432564326643276432864329643306433164332643336433464335643366433764338643396434064341643426434364344643456434664347643486434964350643516435264353643546435564356643576435864359643606436164362643636436464365643666436764368643696437064371643726437364374643756437664377643786437964380643816438264383643846438564386643876438864389643906439164392643936439464395643966439764398643996440064401644026440364404644056440664407644086440964410644116441264413644146441564416644176441864419644206442164422644236442464425644266442764428644296443064431644326443364434644356443664437644386443964440644416444264443644446444564446644476444864449644506445164452644536445464455644566445764458644596446064461644626446364464644656446664467644686446964470644716447264473644746447564476644776447864479644806448164482644836448464485644866448764488644896449064491644926449364494644956449664497644986449964500645016450264503645046450564506645076450864509645106451164512645136451464515645166451764518645196452064521645226452364524645256452664527645286452964530645316453264533645346453564536645376453864539645406454164542645436454464545645466454764548645496455064551645526455364554645556455664557645586455964560645616456264563645646456564566645676456864569645706457164572645736457464575645766457764578645796458064581645826458364584645856458664587645886458964590645916459264593645946459564596645976459864599646006460164602646036460464605646066460764608646096461064611646126461364614646156461664617646186461964620646216462264623646246462564626646276462864629646306463164632646336463464635646366463764638646396464064641646426464364644646456464664647646486464964650646516465264653646546465564656646576465864659646606466164662646636466464665646666466764668646696467064671646726467364674646756467664677646786467964680646816468264683646846468564686646876468864689646906469164692646936469464695646966469764698646996470064701647026470364704647056470664707647086470964710647116471264713647146471564716647176471864719647206472164722647236472464725647266472764728647296473064731647326473364734647356473664737647386473964740647416474264743647446474564746647476474864749647506475164752647536475464755647566475764758647596476064761647626476364764647656476664767647686476964770647716477264773647746477564776647776477864779647806478164782647836478464785647866478764788647896479064791647926479364794647956479664797647986479964800648016480264803648046480564806648076480864809648106481164812648136481464815648166481764818648196482064821648226482364824648256482664827648286482964830648316483264833648346483564836648376483864839648406484164842648436484464845648466484764848648496485064851648526485364854648556485664857648586485964860648616486264863648646486564866648676486864869648706487164872648736487464875648766487764878648796488064881648826488364884648856488664887648886488964890648916489264893648946489564896648976489864899649006490164902649036490464905649066490764908649096491064911649126491364914649156491664917649186491964920649216492264923649246492564926649276492864929649306493164932649336493464935649366493764938649396494064941649426494364944649456494664947649486494964950649516495264953649546495564956649576495864959649606496164962649636496464965649666496764968649696497064971649726497364974649756497664977649786497964980649816498264983649846498564986649876498864989649906499164992649936499464995649966499764998649996500065001650026500365004650056500665007650086500965010650116501265013650146501565016650176501865019650206502165022650236502465025650266502765028650296503065031650326503365034650356503665037650386503965040650416504265043650446504565046650476504865049650506505165052650536505465055650566505765058650596506065061650626506365064650656506665067650686506965070650716507265073650746507565076650776507865079650806508165082650836508465085650866508765088650896509065091650926509365094650956509665097650986509965100651016510265103651046510565106651076510865109651106511165112651136511465115651166511765118651196512065121651226512365124651256512665127651286512965130651316513265133651346513565136651376513865139651406514165142651436514465145651466514765148651496515065151651526515365154651556515665157651586515965160651616516265163651646516565166651676516865169651706517165172651736517465175651766517765178651796518065181651826518365184651856518665187651886518965190651916519265193651946519565196651976519865199652006520165202652036520465205652066520765208652096521065211652126521365214652156521665217652186521965220652216522265223652246522565226652276522865229652306523165232652336523465235652366523765238652396524065241652426524365244652456524665247652486524965250652516525265253652546525565256652576525865259652606526165262652636526465265652666526765268652696527065271652726527365274652756527665277652786527965280652816528265283652846528565286652876528865289652906529165292652936529465295652966529765298652996530065301653026530365304653056530665307653086530965310653116531265313653146531565316653176531865319653206532165322653236532465325653266532765328653296533065331653326533365334653356533665337653386533965340653416534265343653446534565346653476534865349653506535165352653536535465355653566535765358653596536065361653626536365364653656536665367653686536965370653716537265373653746537565376653776537865379653806538165382653836538465385653866538765388653896539065391653926539365394653956539665397653986539965400654016540265403654046540565406654076540865409654106541165412654136541465415654166541765418654196542065421654226542365424654256542665427654286542965430654316543265433654346543565436654376543865439654406544165442654436544465445654466544765448654496545065451654526545365454654556545665457654586545965460654616546265463654646546565466654676546865469654706547165472654736547465475654766547765478654796548065481654826548365484654856548665487654886548965490654916549265493654946549565496654976549865499655006550165502655036550465505655066550765508655096551065511655126551365514655156551665517655186551965520655216552265523655246552565526655276552865529655306553165532655336553465535655366553765538655396554065541655426554365544655456554665547655486554965550655516555265553655546555565556655576555865559655606556165562655636556465565655666556765568655696557065571655726557365574655756557665577655786557965580655816558265583655846558565586655876558865589655906559165592655936559465595655966559765598655996560065601656026560365604656056560665607656086560965610656116561265613656146561565616656176561865619656206562165622656236562465625656266562765628656296563065631656326563365634656356563665637656386563965640656416564265643656446564565646656476564865649656506565165652656536565465655656566565765658656596566065661656626566365664656656566665667656686566965670656716567265673656746567565676656776567865679656806568165682656836568465685656866568765688656896569065691656926569365694656956569665697656986569965700657016570265703657046570565706657076570865709657106571165712657136571465715657166571765718657196572065721657226572365724657256572665727657286572965730657316573265733657346573565736657376573865739657406574165742657436574465745657466574765748657496575065751657526575365754657556575665757657586575965760657616576265763657646576565766657676576865769657706577165772657736577465775657766577765778657796578065781657826578365784657856578665787657886578965790657916579265793657946579565796657976579865799658006580165802658036580465805658066580765808658096581065811658126581365814658156581665817658186581965820658216582265823658246582565826658276582865829658306583165832658336583465835658366583765838658396584065841658426584365844658456584665847658486584965850658516585265853658546585565856658576585865859658606586165862658636586465865658666586765868658696587065871658726587365874658756587665877658786587965880658816588265883658846588565886658876588865889658906589165892658936589465895658966589765898658996590065901659026590365904659056590665907659086590965910659116591265913659146591565916659176591865919659206592165922659236592465925659266592765928659296593065931659326593365934659356593665937659386593965940659416594265943659446594565946659476594865949659506595165952659536595465955659566595765958659596596065961659626596365964659656596665967659686596965970659716597265973659746597565976659776597865979659806598165982659836598465985659866598765988659896599065991659926599365994659956599665997659986599966000660016600266003660046600566006660076600866009660106601166012660136601466015660166601766018660196602066021660226602366024660256602666027660286602966030660316603266033660346603566036660376603866039660406604166042660436604466045660466604766048660496605066051660526605366054660556605666057660586605966060660616606266063660646606566066660676606866069660706607166072660736607466075660766607766078660796608066081660826608366084660856608666087660886608966090660916609266093660946609566096660976609866099661006610166102661036610466105661066610766108661096611066111661126611366114661156611666117661186611966120661216612266123661246612566126661276612866129661306613166132661336613466135661366613766138661396614066141661426614366144661456614666147661486614966150661516615266153661546615566156661576615866159661606616166162661636616466165661666616766168661696617066171661726617366174661756617666177661786617966180661816618266183661846618566186661876618866189661906619166192661936619466195661966619766198661996620066201662026620366204662056620666207662086620966210662116621266213662146621566216662176621866219662206622166222662236622466225662266622766228662296623066231662326623366234662356623666237662386623966240662416624266243662446624566246662476624866249662506625166252662536625466255662566625766258662596626066261662626626366264662656626666267662686626966270662716627266273662746627566276662776627866279662806628166282662836628466285662866628766288662896629066291662926629366294662956629666297662986629966300663016630266303663046630566306663076630866309663106631166312663136631466315663166631766318663196632066321663226632366324663256632666327663286632966330663316633266333663346633566336663376633866339663406634166342663436634466345663466634766348663496635066351663526635366354663556635666357663586635966360663616636266363663646636566366663676636866369663706637166372663736637466375663766637766378663796638066381663826638366384663856638666387663886638966390663916639266393663946639566396663976639866399664006640166402664036640466405664066640766408664096641066411664126641366414664156641666417664186641966420664216642266423664246642566426664276642866429664306643166432664336643466435664366643766438664396644066441664426644366444664456644666447664486644966450664516645266453664546645566456664576645866459664606646166462664636646466465664666646766468664696647066471664726647366474664756647666477664786647966480664816648266483664846648566486664876648866489664906649166492664936649466495664966649766498664996650066501665026650366504665056650666507665086650966510665116651266513665146651566516665176651866519665206652166522665236652466525665266652766528665296653066531665326653366534665356653666537665386653966540665416654266543665446654566546665476654866549665506655166552665536655466555665566655766558665596656066561665626656366564665656656666567665686656966570665716657266573665746657566576665776657866579665806658166582665836658466585665866658766588665896659066591665926659366594665956659666597665986659966600666016660266603666046660566606666076660866609666106661166612666136661466615666166661766618666196662066621666226662366624666256662666627666286662966630666316663266633666346663566636666376663866639666406664166642666436664466645666466664766648666496665066651666526665366654666556665666657666586665966660666616666266663666646666566666666676666866669666706667166672666736667466675666766667766678666796668066681666826668366684666856668666687666886668966690666916669266693666946669566696666976669866699667006670166702667036670466705667066670766708667096671066711667126671366714667156671666717667186671966720667216672266723667246672566726667276672866729667306673166732667336673466735667366673766738667396674066741667426674366744667456674666747667486674966750667516675266753667546675566756667576675866759667606676166762667636676466765667666676766768667696677066771667726677366774667756677666777667786677966780667816678266783667846678566786667876678866789667906679166792667936679466795667966679766798667996680066801668026680366804668056680666807668086680966810668116681266813668146681566816668176681866819668206682166822668236682466825668266682766828668296683066831668326683366834668356683666837668386683966840668416684266843668446684566846668476684866849668506685166852668536685466855668566685766858668596686066861668626686366864668656686666867668686686966870668716687266873668746687566876668776687866879668806688166882668836688466885668866688766888668896689066891668926689366894668956689666897668986689966900669016690266903669046690566906669076690866909669106691166912669136691466915669166691766918669196692066921669226692366924669256692666927669286692966930669316693266933669346693566936669376693866939669406694166942669436694466945669466694766948669496695066951669526695366954669556695666957669586695966960669616696266963669646696566966669676696866969669706697166972669736697466975669766697766978669796698066981669826698366984669856698666987669886698966990669916699266993669946699566996669976699866999670006700167002670036700467005670066700767008670096701067011670126701367014670156701667017670186701967020670216702267023670246702567026670276702867029670306703167032670336703467035670366703767038670396704067041670426704367044670456704667047670486704967050670516705267053670546705567056670576705867059670606706167062670636706467065670666706767068670696707067071670726707367074670756707667077670786707967080670816708267083670846708567086670876708867089670906709167092670936709467095670966709767098670996710067101671026710367104671056710667107671086710967110671116711267113671146711567116671176711867119671206712167122671236712467125671266712767128671296713067131671326713367134671356713667137671386713967140671416714267143671446714567146671476714867149671506715167152671536715467155671566715767158671596716067161671626716367164671656716667167671686716967170671716717267173671746717567176671776717867179671806718167182671836718467185671866718767188671896719067191671926719367194671956719667197671986719967200672016720267203672046720567206672076720867209672106721167212672136721467215672166721767218672196722067221672226722367224672256722667227672286722967230672316723267233672346723567236672376723867239672406724167242672436724467245672466724767248672496725067251672526725367254672556725667257672586725967260672616726267263672646726567266672676726867269672706727167272672736727467275672766727767278672796728067281672826728367284672856728667287672886728967290672916729267293672946729567296672976729867299673006730167302673036730467305673066730767308673096731067311673126731367314673156731667317673186731967320673216732267323673246732567326673276732867329673306733167332673336733467335673366733767338673396734067341673426734367344673456734667347673486734967350673516735267353673546735567356673576735867359673606736167362673636736467365673666736767368673696737067371673726737367374673756737667377673786737967380673816738267383673846738567386673876738867389673906739167392673936739467395673966739767398673996740067401674026740367404674056740667407674086740967410674116741267413674146741567416674176741867419674206742167422674236742467425674266742767428674296743067431674326743367434674356743667437674386743967440674416744267443674446744567446674476744867449674506745167452674536745467455674566745767458674596746067461674626746367464674656746667467674686746967470674716747267473674746747567476674776747867479674806748167482674836748467485674866748767488674896749067491674926749367494674956749667497674986749967500675016750267503675046750567506675076750867509675106751167512675136751467515675166751767518675196752067521675226752367524675256752667527675286752967530675316753267533675346753567536675376753867539675406754167542675436754467545675466754767548675496755067551675526755367554675556755667557675586755967560675616756267563675646756567566675676756867569675706757167572675736757467575675766757767578675796758067581675826758367584675856758667587675886758967590675916759267593675946759567596675976759867599676006760167602676036760467605676066760767608676096761067611676126761367614676156761667617676186761967620676216762267623676246762567626676276762867629676306763167632676336763467635676366763767638676396764067641676426764367644676456764667647676486764967650676516765267653676546765567656676576765867659676606766167662676636766467665676666766767668676696767067671676726767367674676756767667677676786767967680676816768267683676846768567686676876768867689676906769167692676936769467695676966769767698676996770067701677026770367704677056770667707677086770967710677116771267713677146771567716677176771867719677206772167722677236772467725677266772767728677296773067731677326773367734677356773667737677386773967740677416774267743677446774567746677476774867749677506775167752677536775467755677566775767758677596776067761677626776367764677656776667767677686776967770677716777267773677746777567776677776777867779677806778167782677836778467785677866778767788677896779067791677926779367794677956779667797677986779967800678016780267803678046780567806678076780867809678106781167812678136781467815678166781767818678196782067821678226782367824678256782667827678286782967830678316783267833678346783567836678376783867839678406784167842678436784467845678466784767848678496785067851678526785367854678556785667857678586785967860678616786267863678646786567866678676786867869678706787167872678736787467875678766787767878678796788067881678826788367884678856788667887678886788967890678916789267893678946789567896678976789867899679006790167902679036790467905679066790767908679096791067911679126791367914679156791667917679186791967920679216792267923679246792567926679276792867929679306793167932679336793467935679366793767938679396794067941679426794367944679456794667947679486794967950679516795267953679546795567956679576795867959679606796167962679636796467965679666796767968679696797067971679726797367974679756797667977679786797967980679816798267983679846798567986679876798867989679906799167992679936799467995679966799767998679996800068001680026800368004680056800668007680086800968010680116801268013680146801568016680176801868019680206802168022680236802468025680266802768028680296803068031680326803368034680356803668037680386803968040680416804268043680446804568046680476804868049680506805168052680536805468055680566805768058680596806068061680626806368064680656806668067680686806968070680716807268073680746807568076680776807868079680806808168082680836808468085680866808768088680896809068091680926809368094680956809668097680986809968100681016810268103681046810568106681076810868109681106811168112681136811468115681166811768118681196812068121681226812368124681256812668127681286812968130681316813268133681346813568136681376813868139681406814168142681436814468145681466814768148681496815068151681526815368154681556815668157681586815968160681616816268163681646816568166681676816868169681706817168172681736817468175681766817768178681796818068181681826818368184681856818668187681886818968190681916819268193681946819568196681976819868199682006820168202682036820468205682066820768208682096821068211682126821368214682156821668217682186821968220682216822268223682246822568226682276822868229682306823168232682336823468235682366823768238682396824068241682426824368244682456824668247682486824968250682516825268253682546825568256682576825868259682606826168262
  1. # SOME DESCRIPTIVE TITLE
  2. # Copyright (C) YEAR the authors of Guix (msgids) and the following authors (msgstr)
  3. # This file is distributed under the same license as the guix manual package.
  4. # Jan Kuparinen <copper_fin@hotmail.com>, 2021, 2022.
  5. msgid ""
  6. msgstr ""
  7. "Project-Id-Version: guix manual checkout\n"
  8. "Report-Msgid-Bugs-To: bug-guix@gnu.org\n"
  9. "POT-Creation-Date: 2022-02-15 15:18+0000\n"
  10. "PO-Revision-Date: 2022-01-25 15:16+0000\n"
  11. "Last-Translator: Jan Kuparinen <copper_fin@hotmail.com>\n"
  12. "Language-Team: Finnish <https://translate.fedoraproject.org/projects/guix/documentation-manual/fi/>\n"
  13. "Language: fi\n"
  14. "MIME-Version: 1.0\n"
  15. "Content-Type: text/plain; charset=UTF-8\n"
  16. "Content-Transfer-Encoding: 8bit\n"
  17. "Plural-Forms: nplurals=2; plural=n != 1;\n"
  18. "X-Generator: Weblate 4.10.1\n"
  19. #. #-#-#-#-# contributing.pot (guix manual checkout) #-#-#-#-#
  20. #. type: chapter
  21. #. #-#-#-#-# guix.pot (guix manual checkout) #-#-#-#-#
  22. #. type: menuentry
  23. #: guix-git/doc/contributing.texi:1 guix-git/doc/contributing.texi:2
  24. #: guix-git/doc/guix.texi:182
  25. #, no-wrap
  26. msgid "Contributing"
  27. msgstr ""
  28. #. type: Plain text
  29. #: guix-git/doc/contributing.texi:9
  30. msgid "This project is a cooperative effort, and we need your help to make it grow! Please get in touch with us on @email{guix-devel@@gnu.org} and @code{#guix} on the 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})."
  31. msgstr ""
  32. #. type: cindex
  33. #: guix-git/doc/contributing.texi:10
  34. #, no-wrap
  35. msgid "code of conduct, of contributors"
  36. msgstr ""
  37. #. type: cindex
  38. #: guix-git/doc/contributing.texi:11
  39. #, no-wrap
  40. msgid "contributor covenant"
  41. msgstr ""
  42. #. type: Plain text
  43. #: guix-git/doc/contributing.texi:17
  44. msgid "We want to provide a warm, friendly, and harassment-free environment, so that anyone can contribute to the best of their abilities. To this end our project uses a ``Contributor Covenant'', which was adapted from @url{https://contributor-covenant.org/}. You can find a local version in the @file{CODE-OF-CONDUCT} file in the source tree."
  45. msgstr ""
  46. #. type: Plain text
  47. #: guix-git/doc/contributing.texi:21
  48. msgid "Contributors are not required to use their legal name in patches and on-line communication; they can use any name or pseudonym of their choice."
  49. msgstr ""
  50. #. type: section
  51. #: guix-git/doc/contributing.texi:33 guix-git/doc/contributing.texi:35
  52. #: guix-git/doc/contributing.texi:36
  53. #, no-wrap
  54. msgid "Building from Git"
  55. msgstr ""
  56. #. type: menuentry
  57. #: guix-git/doc/contributing.texi:33
  58. msgid "The latest and greatest."
  59. msgstr ""
  60. #. type: section
  61. #: guix-git/doc/contributing.texi:33 guix-git/doc/contributing.texi:192
  62. #: guix-git/doc/contributing.texi:193
  63. #, no-wrap
  64. msgid "Running Guix Before It Is Installed"
  65. msgstr ""
  66. #. type: menuentry
  67. #: guix-git/doc/contributing.texi:33
  68. msgid "Hacker tricks."
  69. msgstr ""
  70. #. type: section
  71. #: guix-git/doc/contributing.texi:33 guix-git/doc/contributing.texi:284
  72. #: guix-git/doc/contributing.texi:285
  73. #, no-wrap
  74. msgid "The Perfect Setup"
  75. msgstr ""
  76. #. type: menuentry
  77. #: guix-git/doc/contributing.texi:33
  78. msgid "The right tools."
  79. msgstr ""
  80. #. type: section
  81. #: guix-git/doc/contributing.texi:33 guix-git/doc/contributing.texi:375
  82. #: guix-git/doc/contributing.texi:376
  83. #, no-wrap
  84. msgid "Packaging Guidelines"
  85. msgstr "Paketoinnin ohjenuoria"
  86. #. type: menuentry
  87. #: guix-git/doc/contributing.texi:33
  88. msgid "Growing the distribution."
  89. msgstr ""
  90. #. type: section
  91. #: guix-git/doc/contributing.texi:33 guix-git/doc/contributing.texi:939
  92. #: guix-git/doc/contributing.texi:940
  93. #, no-wrap
  94. msgid "Coding Style"
  95. msgstr ""
  96. #. type: menuentry
  97. #: guix-git/doc/contributing.texi:33
  98. msgid "Hygiene of the contributor."
  99. msgstr ""
  100. #. type: section
  101. #: guix-git/doc/contributing.texi:33 guix-git/doc/contributing.texi:1032
  102. #: guix-git/doc/contributing.texi:1033
  103. #, no-wrap
  104. msgid "Submitting Patches"
  105. msgstr ""
  106. #. type: menuentry
  107. #: guix-git/doc/contributing.texi:33
  108. msgid "Share your work."
  109. msgstr ""
  110. #. type: section
  111. #: guix-git/doc/contributing.texi:33 guix-git/doc/contributing.texi:1317
  112. #: guix-git/doc/contributing.texi:1318
  113. #, no-wrap
  114. msgid "Tracking Bugs and Patches"
  115. msgstr ""
  116. #. type: menuentry
  117. #: guix-git/doc/contributing.texi:33
  118. msgid "Keeping it all organized."
  119. msgstr ""
  120. #. type: section
  121. #: guix-git/doc/contributing.texi:33 guix-git/doc/contributing.texi:1432
  122. #: guix-git/doc/contributing.texi:1433
  123. #, no-wrap
  124. msgid "Commit Access"
  125. msgstr ""
  126. #. type: menuentry
  127. #: guix-git/doc/contributing.texi:33
  128. msgid "Pushing to the official repository."
  129. msgstr ""
  130. #. type: section
  131. #: guix-git/doc/contributing.texi:33 guix-git/doc/contributing.texi:1663
  132. #: guix-git/doc/contributing.texi:1664
  133. #, no-wrap
  134. msgid "Updating the Guix Package"
  135. msgstr ""
  136. #. type: menuentry
  137. #: guix-git/doc/contributing.texi:33
  138. msgid "Updating the Guix package definition."
  139. msgstr ""
  140. #. type: section
  141. #: guix-git/doc/contributing.texi:33 guix-git/doc/contributing.texi:1704
  142. #: guix-git/doc/contributing.texi:1705
  143. #, no-wrap
  144. msgid "Translating Guix"
  145. msgstr ""
  146. #. type: menuentry
  147. #: guix-git/doc/contributing.texi:33
  148. msgid "Make Guix speak your native language."
  149. msgstr ""
  150. #. type: Plain text
  151. #: guix-git/doc/contributing.texi:40
  152. msgid "If you want to hack Guix itself, it is recommended to use the latest version from the Git repository:"
  153. msgstr ""
  154. #. type: example
  155. #: guix-git/doc/contributing.texi:43
  156. #, no-wrap
  157. msgid "git clone https://git.savannah.gnu.org/git/guix.git\n"
  158. msgstr ""
  159. #. type: cindex
  160. #: guix-git/doc/contributing.texi:45
  161. #, no-wrap
  162. msgid "authentication, of a Guix checkout"
  163. msgstr ""
  164. #. type: Plain text
  165. #: guix-git/doc/contributing.texi:50
  166. 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}):"
  167. msgstr ""
  168. #. type: example
  169. #: guix-git/doc/contributing.texi:57
  170. #, no-wrap
  171. msgid ""
  172. "git fetch origin keyring:keyring\n"
  173. "guix git authenticate 9edb3f66fd807b096b48283debdcddccfea34bad \\\n"
  174. " \"BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA\"\n"
  175. msgstr ""
  176. #. type: Plain text
  177. #: guix-git/doc/contributing.texi:62
  178. msgid "This command completes with exit code zero on success; it prints an error message and exits with a non-zero code otherwise."
  179. msgstr ""
  180. #. type: Plain text
  181. #: guix-git/doc/contributing.texi:69
  182. 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."
  183. msgstr ""
  184. #. type: Plain text
  185. #: guix-git/doc/contributing.texi:74
  186. 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:"
  187. msgstr ""
  188. #. type: example
  189. #: guix-git/doc/contributing.texi:77
  190. #, no-wrap
  191. msgid "guix shell -D guix --pure\n"
  192. msgstr ""
  193. #. type: Plain text
  194. #: guix-git/doc/contributing.texi:80
  195. msgid "@xref{Invoking guix shell}, for more information on that command."
  196. msgstr ""
  197. #. type: Plain text
  198. #: guix-git/doc/contributing.texi:84
  199. 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})."
  200. msgstr ""
  201. #. type: item
  202. #: guix-git/doc/contributing.texi:86
  203. #, no-wrap
  204. msgid "@url{https://gnu.org/software/autoconf/, GNU Autoconf};"
  205. msgstr ""
  206. #. type: item
  207. #: guix-git/doc/contributing.texi:87
  208. #, no-wrap
  209. msgid "@url{https://gnu.org/software/automake/, GNU Automake};"
  210. msgstr ""
  211. #. type: item
  212. #: guix-git/doc/contributing.texi:88
  213. #, no-wrap
  214. msgid "@url{https://gnu.org/software/gettext/, GNU Gettext};"
  215. msgstr ""
  216. #. type: item
  217. #: guix-git/doc/contributing.texi:89
  218. #, no-wrap
  219. msgid "@url{https://gnu.org/software/texinfo/, GNU Texinfo};"
  220. msgstr ""
  221. #. type: item
  222. #: guix-git/doc/contributing.texi:90
  223. #, no-wrap
  224. msgid "@url{https://www.graphviz.org/, Graphviz};"
  225. msgstr ""
  226. #. type: item
  227. #: guix-git/doc/contributing.texi:91
  228. #, no-wrap
  229. msgid "@url{https://www.gnu.org/software/help2man/, GNU Help2man (optional)}."
  230. msgstr ""
  231. #. type: Plain text
  232. #: guix-git/doc/contributing.texi:96
  233. msgid "On Guix, extra dependencies can be added by instead running @command{guix shell}:"
  234. msgstr ""
  235. #. type: example
  236. #: guix-git/doc/contributing.texi:99
  237. #, no-wrap
  238. msgid "guix shell -D guix help2man git strace --pure\n"
  239. msgstr ""
  240. #. type: Plain text
  241. #: guix-git/doc/contributing.texi:103
  242. msgid "From there you can generate the build system infrastructure using Autoconf and Automake:"
  243. msgstr ""
  244. #. type: example
  245. #: guix-git/doc/contributing.texi:106
  246. #, no-wrap
  247. msgid "./bootstrap\n"
  248. msgstr ""
  249. #. type: Plain text
  250. #: guix-git/doc/contributing.texi:109
  251. msgid "If you get an error like this one:"
  252. msgstr ""
  253. #. type: example
  254. #: guix-git/doc/contributing.texi:112
  255. #, no-wrap
  256. msgid "configure.ac:46: error: possibly undefined macro: PKG_CHECK_MODULES\n"
  257. msgstr ""
  258. #. type: Plain text
  259. #: guix-git/doc/contributing.texi:121
  260. 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:"
  261. msgstr ""
  262. #. type: example
  263. #: guix-git/doc/contributing.texi:124
  264. #, no-wrap
  265. msgid "export ACLOCAL_PATH=/usr/share/aclocal\n"
  266. msgstr ""
  267. #. type: Plain text
  268. #: guix-git/doc/contributing.texi:128
  269. msgid "@xref{Macro Search Path,,, automake, The GNU Automake Manual}, for more information."
  270. msgstr ""
  271. #. type: Plain text
  272. #: guix-git/doc/contributing.texi:130
  273. msgid "Then, run:"
  274. msgstr ""
  275. #. type: example
  276. #: guix-git/doc/contributing.texi:133
  277. #, no-wrap
  278. msgid "./configure --localstatedir=/var\n"
  279. msgstr ""
  280. #. type: Plain text
  281. #: guix-git/doc/contributing.texi:140
  282. msgid "... where @file{/var} is the normal @code{localstatedir} value (@pxref{The Store}, for information about this). Note that you will probably not run @command{make install} at the end (you don't have to) but it's still important to pass the right @code{localstatedir}."
  283. msgstr ""
  284. #. type: Plain text
  285. #: guix-git/doc/contributing.texi:143
  286. msgid "Finally, you can build Guix and, if you feel so inclined, run the tests (@pxref{Running the Test Suite}):"
  287. msgstr ""
  288. #. type: example
  289. #: guix-git/doc/contributing.texi:147
  290. #, no-wrap
  291. msgid ""
  292. "make\n"
  293. "make check\n"
  294. msgstr ""
  295. #. type: Plain text
  296. #: guix-git/doc/contributing.texi:153
  297. msgid "If anything fails, take a look at installation instructions (@pxref{Installation}) or send a message to the @email{guix-devel@@gnu.org, mailing list}."
  298. msgstr ""
  299. #. type: Plain text
  300. #: guix-git/doc/contributing.texi:156
  301. msgid "From there on, you can authenticate all the commits included in your checkout by running:"
  302. msgstr ""
  303. #. type: example
  304. #: guix-git/doc/contributing.texi:159
  305. #, no-wrap
  306. msgid "make authenticate\n"
  307. msgstr ""
  308. #. type: Plain text
  309. #: guix-git/doc/contributing.texi:162
  310. msgid "The first run takes a couple of minutes, but subsequent runs are faster."
  311. msgstr ""
  312. #. type: Plain text
  313. #: guix-git/doc/contributing.texi:168
  314. 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:"
  315. msgstr ""
  316. #. type: example
  317. #: guix-git/doc/contributing.texi:171
  318. #, no-wrap
  319. msgid "make authenticate GUIX_GIT_KEYRING=myremote/keyring\n"
  320. msgstr ""
  321. #. type: quotation
  322. #: guix-git/doc/contributing.texi:173 guix-git/doc/contributing.texi:1515
  323. #: guix-git/doc/guix.texi:605 guix-git/doc/guix.texi:654
  324. #: guix-git/doc/guix.texi:844 guix-git/doc/guix.texi:1830
  325. #: guix-git/doc/guix.texi:2093 guix-git/doc/guix.texi:2277
  326. #: guix-git/doc/guix.texi:2498 guix-git/doc/guix.texi:2710
  327. #: guix-git/doc/guix.texi:3841 guix-git/doc/guix.texi:4586
  328. #: guix-git/doc/guix.texi:4600 guix-git/doc/guix.texi:4682
  329. #: guix-git/doc/guix.texi:4912 guix-git/doc/guix.texi:5655
  330. #: guix-git/doc/guix.texi:6141 guix-git/doc/guix.texi:6398
  331. #: guix-git/doc/guix.texi:6519 guix-git/doc/guix.texi:6547
  332. #: guix-git/doc/guix.texi:6600 guix-git/doc/guix.texi:9685
  333. #: guix-git/doc/guix.texi:9809 guix-git/doc/guix.texi:9879
  334. #: guix-git/doc/guix.texi:11616 guix-git/doc/guix.texi:11656
  335. #: guix-git/doc/guix.texi:11930 guix-git/doc/guix.texi:11942
  336. #: guix-git/doc/guix.texi:14461 guix-git/doc/guix.texi:15092
  337. #: guix-git/doc/guix.texi:15999 guix-git/doc/guix.texi:16989
  338. #: guix-git/doc/guix.texi:19627 guix-git/doc/guix.texi:19797
  339. #: guix-git/doc/guix.texi:27621 guix-git/doc/guix.texi:31379
  340. #: guix-git/doc/guix.texi:35222 guix-git/doc/guix.texi:35456
  341. #: guix-git/doc/guix.texi:35626 guix-git/doc/guix.texi:35790
  342. #: guix-git/doc/guix.texi:35892 guix-git/doc/guix.texi:35931
  343. #: guix-git/doc/guix.texi:36005 guix-git/doc/guix.texi:36342
  344. #: guix-git/doc/guix.texi:37500 guix-git/doc/guix.texi:37575
  345. #: guix-git/doc/guix.texi:37610 guix-git/doc/guix.texi:37660
  346. #: guix-git/doc/guix.texi:37748 guix-git/doc/guix.texi:38237
  347. #, no-wrap
  348. msgid "Note"
  349. msgstr "Huomautus"
  350. #. type: quotation
  351. #: guix-git/doc/contributing.texi:177
  352. 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."
  353. msgstr ""
  354. #. type: Plain text
  355. #: guix-git/doc/contributing.texi:181
  356. msgid "After updating the repository, @command{make} might fail with an error similar to the following example:"
  357. msgstr ""
  358. #. type: example
  359. #: guix-git/doc/contributing.texi:185
  360. #, no-wrap
  361. msgid ""
  362. "error: failed to load 'gnu/packages/dunst.scm':\n"
  363. "ice-9/eval.scm:293:34: In procedure abi-check: #<record-type <origin>>: record ABI mismatch; recompilation needed\n"
  364. msgstr ""
  365. #. type: Plain text
  366. #: guix-git/doc/contributing.texi:191
  367. msgid "This means that one of the record types that Guix defines (in this example, the @code{origin} record) has changed, and all of guix needs to be recompiled to take that change into account. To do so, run @command{make clean-go} followed by @command{make}."
  368. msgstr ""
  369. #. type: Plain text
  370. #: guix-git/doc/contributing.texi:199
  371. 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."
  372. msgstr ""
  373. #. type: Plain text
  374. #: guix-git/doc/contributing.texi:210
  375. 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):"
  376. msgstr ""
  377. #. type: example
  378. #: guix-git/doc/contributing.texi:213
  379. #, no-wrap
  380. msgid "$ ./pre-inst-env guix build hello\n"
  381. msgstr ""
  382. #. type: Plain text
  383. #: guix-git/doc/contributing.texi:217
  384. msgid "Similarly, an example for a Guile session using the Guix modules:"
  385. msgstr ""
  386. #. type: example
  387. #: guix-git/doc/contributing.texi:220
  388. #, no-wrap
  389. msgid ""
  390. "$ ./pre-inst-env guile -c '(use-modules (guix utils)) (pk (%current-system))'\n"
  391. "\n"
  392. msgstr ""
  393. #. type: example
  394. #: guix-git/doc/contributing.texi:222
  395. #, no-wrap
  396. msgid ";;; (\"x86_64-linux\")\n"
  397. msgstr ""
  398. #. type: cindex
  399. #: guix-git/doc/contributing.texi:225
  400. #, no-wrap
  401. msgid "REPL"
  402. msgstr ""
  403. #. type: cindex
  404. #: guix-git/doc/contributing.texi:226
  405. #, no-wrap
  406. msgid "read-eval-print loop"
  407. msgstr ""
  408. #. type: Plain text
  409. #: guix-git/doc/contributing.texi:229
  410. msgid "@dots{} and for a REPL (@pxref{Using Guile Interactively,,, guile, Guile Reference Manual}):"
  411. msgstr ""
  412. #. type: example
  413. #: guix-git/doc/contributing.texi:244
  414. #, no-wrap
  415. msgid ""
  416. "$ ./pre-inst-env guile\n"
  417. "scheme@@(guile-user)> ,use(guix)\n"
  418. "scheme@@(guile-user)> ,use(gnu)\n"
  419. "scheme@@(guile-user)> (define snakes\n"
  420. " (fold-packages\n"
  421. " (lambda (package lst)\n"
  422. " (if (string-prefix? \"python\"\n"
  423. " (package-name package))\n"
  424. " (cons package lst)\n"
  425. " lst))\n"
  426. " '()))\n"
  427. "scheme@@(guile-user)> (length snakes)\n"
  428. "$1 = 361\n"
  429. msgstr ""
  430. #. type: Plain text
  431. #: guix-git/doc/contributing.texi:252
  432. 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.}:"
  433. msgstr ""
  434. #. type: example
  435. #: guix-git/doc/contributing.texi:255
  436. #, no-wrap
  437. msgid "$ sudo -E ./pre-inst-env guix-daemon --build-users-group=guixbuild\n"
  438. msgstr ""
  439. #. type: Plain text
  440. #: guix-git/doc/contributing.texi:259
  441. 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}."
  442. msgstr ""
  443. #. type: Plain text
  444. #: guix-git/doc/contributing.texi:264
  445. 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."
  446. msgstr ""
  447. #. type: Plain text
  448. #: guix-git/doc/contributing.texi:268
  449. msgid "Sometimes, especially if you have recently updated your repository, running @command{./pre-inst-env} will print a message similar to the following example:"
  450. msgstr ""
  451. #. type: example
  452. #: guix-git/doc/contributing.texi:272
  453. #, no-wrap
  454. msgid ""
  455. ";;; note: source file /home/user/projects/guix/guix/progress.scm\n"
  456. ";;; newer than compiled /home/user/projects/guix/guix/progress.go\n"
  457. msgstr ""
  458. #. type: Plain text
  459. #: guix-git/doc/contributing.texi:278
  460. msgid "This is only a note and you can safely ignore it. You can get rid of the message by running @command{make -j4}. Until you do, Guile will run slightly slower because it will interpret the code instead of using prepared Guile object (@file{.go}) files."
  461. msgstr ""
  462. #. type: Plain text
  463. #: guix-git/doc/contributing.texi:283
  464. msgid "You can run @command{make} automatically as you work using @command{watchexec} from the @code{watchexec} package. For example, to build again each time you update a package file, you can run @samp{watchexec -w gnu/packages make -j4}."
  465. msgstr ""
  466. #. type: Plain text
  467. #: guix-git/doc/contributing.texi:292
  468. 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:"
  469. msgstr ""
  470. #. type: example
  471. #: guix-git/doc/contributing.texi:295
  472. #, no-wrap
  473. msgid "guix package -i emacs guile emacs-geiser emacs-geiser-guile\n"
  474. msgstr ""
  475. #. type: Plain text
  476. #: guix-git/doc/contributing.texi:304
  477. 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:"
  478. msgstr ""
  479. #. type: lisp
  480. #: guix-git/doc/contributing.texi:309
  481. #, no-wrap
  482. msgid ""
  483. ";; @r{Assuming the Guix checkout is in ~/src/guix.}\n"
  484. "(with-eval-after-load 'geiser-guile\n"
  485. " (add-to-list 'geiser-guile-load-path \"~/src/guix\"))\n"
  486. msgstr ""
  487. #. type: Plain text
  488. #: guix-git/doc/contributing.texi:317
  489. 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."
  490. msgstr ""
  491. #. type: cindex
  492. #: guix-git/doc/contributing.texi:318
  493. #, no-wrap
  494. msgid "code snippets"
  495. msgstr ""
  496. #. type: cindex
  497. #: guix-git/doc/contributing.texi:319
  498. #, no-wrap
  499. msgid "templates"
  500. msgstr "mallipohjia"
  501. #. type: cindex
  502. #: guix-git/doc/contributing.texi:320
  503. #, no-wrap
  504. msgid "reducing boilerplate"
  505. msgstr ""
  506. #. type: Plain text
  507. #: guix-git/doc/contributing.texi:327
  508. 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."
  509. msgstr ""
  510. #. type: lisp
  511. #: guix-git/doc/contributing.texi:332
  512. #, no-wrap
  513. msgid ""
  514. ";; @r{Assuming the Guix checkout is in ~/src/guix.}\n"
  515. "(with-eval-after-load 'yasnippet\n"
  516. " (add-to-list 'yas-snippet-dirs \"~/src/guix/etc/snippets\"))\n"
  517. msgstr ""
  518. #. type: Plain text
  519. #: guix-git/doc/contributing.texi:340
  520. 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."
  521. msgstr ""
  522. #. type: Plain text
  523. #: guix-git/doc/contributing.texi:346
  524. 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."
  525. msgstr ""
  526. #. type: cindex
  527. #: guix-git/doc/contributing.texi:347
  528. #, no-wrap
  529. msgid "insert or update copyright"
  530. msgstr ""
  531. #. type: code{#1}
  532. #: guix-git/doc/contributing.texi:348
  533. #, no-wrap
  534. msgid "M-x guix-copyright"
  535. msgstr ""
  536. #. type: code{#1}
  537. #: guix-git/doc/contributing.texi:349
  538. #, no-wrap
  539. msgid "M-x copyright-update"
  540. msgstr ""
  541. #. type: Plain text
  542. #: guix-git/doc/contributing.texi:353
  543. 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."
  544. msgstr ""
  545. #. type: lisp
  546. #: guix-git/doc/contributing.texi:359
  547. #, no-wrap
  548. msgid ""
  549. "(setq user-full-name \"Alice Doe\")\n"
  550. "(setq user-mail-address \"alice@@mail.org\")\n"
  551. ";; @r{Assuming the Guix checkout is in ~/src/guix.}\n"
  552. "(load-file \"~/src/guix/etc/copyright.el\")\n"
  553. msgstr ""
  554. #. type: Plain text
  555. #: guix-git/doc/contributing.texi:362
  556. msgid "To insert a copyright at the current line invoke @code{M-x guix-copyright}."
  557. msgstr ""
  558. #. type: Plain text
  559. #: guix-git/doc/contributing.texi:364
  560. msgid "To update a copyright you need to specify a @code{copyright-names-regexp}."
  561. msgstr ""
  562. #. type: lisp
  563. #: guix-git/doc/contributing.texi:368
  564. #, no-wrap
  565. msgid ""
  566. "(setq copyright-names-regexp\n"
  567. " (format \"%s <%s>\" user-full-name user-mail-address))\n"
  568. msgstr ""
  569. #. type: Plain text
  570. #: guix-git/doc/contributing.texi:374
  571. 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."
  572. msgstr ""
  573. #. type: cindex
  574. #: guix-git/doc/contributing.texi:378
  575. #, no-wrap
  576. msgid "packages, creating"
  577. msgstr ""
  578. #. type: Plain text
  579. #: guix-git/doc/contributing.texi:382
  580. 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."
  581. msgstr ""
  582. #. type: Plain text
  583. #: guix-git/doc/contributing.texi:390
  584. 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."
  585. msgstr ""
  586. #. type: Plain text
  587. #: guix-git/doc/contributing.texi:399
  588. 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}."
  589. msgstr ""
  590. #. type: Plain text
  591. #: guix-git/doc/contributing.texi:405
  592. 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}):"
  593. msgstr ""
  594. #. type: example
  595. #: guix-git/doc/contributing.texi:408
  596. #, no-wrap
  597. msgid "./pre-inst-env guix build gnew --keep-failed\n"
  598. msgstr ""
  599. #. type: Plain text
  600. #: guix-git/doc/contributing.texi:414
  601. 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."
  602. msgstr ""
  603. #. type: Plain text
  604. #: guix-git/doc/contributing.texi:419
  605. 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:"
  606. msgstr ""
  607. #. type: example
  608. #: guix-git/doc/contributing.texi:422
  609. #, no-wrap
  610. msgid "./pre-inst-env guile -c '(use-modules (gnu packages gnew))'\n"
  611. msgstr ""
  612. #. type: Plain text
  613. #: guix-git/doc/contributing.texi:429
  614. 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}."
  615. msgstr ""
  616. #. type: cindex
  617. #: guix-git/doc/contributing.texi:430
  618. #, no-wrap
  619. msgid "substituter"
  620. msgstr ""
  621. #. type: Plain text
  622. #: guix-git/doc/contributing.texi:437
  623. 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."
  624. msgstr ""
  625. #. type: subsection
  626. #: guix-git/doc/contributing.texi:451 guix-git/doc/contributing.texi:453
  627. #: guix-git/doc/contributing.texi:454
  628. #, no-wrap
  629. msgid "Software Freedom"
  630. msgstr ""
  631. #. type: menuentry
  632. #: guix-git/doc/contributing.texi:451
  633. msgid "What may go into the distribution."
  634. msgstr ""
  635. #. type: subsection
  636. #: guix-git/doc/contributing.texi:451 guix-git/doc/contributing.texi:481
  637. #: guix-git/doc/contributing.texi:482
  638. #, no-wrap
  639. msgid "Package Naming"
  640. msgstr ""
  641. #. type: menuentry
  642. #: guix-git/doc/contributing.texi:451
  643. msgid "What's in a name?"
  644. msgstr ""
  645. #. type: subsection
  646. #: guix-git/doc/contributing.texi:451 guix-git/doc/contributing.texi:514
  647. #: guix-git/doc/contributing.texi:515
  648. #, no-wrap
  649. msgid "Version Numbers"
  650. msgstr ""
  651. #. type: menuentry
  652. #: guix-git/doc/contributing.texi:451
  653. msgid "When the name is not enough."
  654. msgstr ""
  655. #. type: subsection
  656. #: guix-git/doc/contributing.texi:451 guix-git/doc/contributing.texi:621
  657. #: guix-git/doc/contributing.texi:622
  658. #, no-wrap
  659. msgid "Synopses and Descriptions"
  660. msgstr ""
  661. #. type: menuentry
  662. #: guix-git/doc/contributing.texi:451
  663. msgid "Helping users find the right package."
  664. msgstr ""
  665. #. type: subsection
  666. #: guix-git/doc/contributing.texi:451 guix-git/doc/contributing.texi:700
  667. #: guix-git/doc/contributing.texi:701
  668. #, no-wrap
  669. msgid "Snippets versus Phases"
  670. msgstr ""
  671. #. type: menuentry
  672. #: guix-git/doc/contributing.texi:451
  673. msgid "Whether to use a snippet, or a build phase."
  674. msgstr ""
  675. #. type: subsection
  676. #: guix-git/doc/contributing.texi:451 guix-git/doc/contributing.texi:715
  677. #: guix-git/doc/contributing.texi:716 guix-git/doc/guix.texi:2028
  678. #, no-wrap
  679. msgid "Emacs Packages"
  680. msgstr ""
  681. #. type: menuentry
  682. #: guix-git/doc/contributing.texi:451
  683. msgid "Your Elisp fix."
  684. msgstr ""
  685. #. type: subsection
  686. #: guix-git/doc/contributing.texi:451 guix-git/doc/contributing.texi:755
  687. #: guix-git/doc/contributing.texi:756
  688. #, no-wrap
  689. msgid "Python Modules"
  690. msgstr ""
  691. #. type: menuentry
  692. #: guix-git/doc/contributing.texi:451
  693. msgid "A touch of British comedy."
  694. msgstr ""
  695. #. type: subsection
  696. #: guix-git/doc/contributing.texi:451 guix-git/doc/contributing.texi:831
  697. #: guix-git/doc/contributing.texi:832
  698. #, no-wrap
  699. msgid "Perl Modules"
  700. msgstr ""
  701. #. type: menuentry
  702. #: guix-git/doc/contributing.texi:451
  703. msgid "Little pearls."
  704. msgstr ""
  705. #. type: subsection
  706. #: guix-git/doc/contributing.texi:451 guix-git/doc/contributing.texi:847
  707. #: guix-git/doc/contributing.texi:848
  708. #, no-wrap
  709. msgid "Java Packages"
  710. msgstr ""
  711. #. type: menuentry
  712. #: guix-git/doc/contributing.texi:451
  713. msgid "Coffee break."
  714. msgstr ""
  715. #. type: subsection
  716. #: guix-git/doc/contributing.texi:451 guix-git/doc/contributing.texi:867
  717. #: guix-git/doc/contributing.texi:868
  718. #, no-wrap
  719. msgid "Rust Crates"
  720. msgstr ""
  721. #. type: menuentry
  722. #: guix-git/doc/contributing.texi:451
  723. msgid "Beware of oxidation."
  724. msgstr ""
  725. #. type: subsection
  726. #: guix-git/doc/contributing.texi:451 guix-git/doc/contributing.texi:901
  727. #: guix-git/doc/contributing.texi:902
  728. #, no-wrap
  729. msgid "Fonts"
  730. msgstr "Fontit"
  731. #. type: menuentry
  732. #: guix-git/doc/contributing.texi:451
  733. msgid "Fond of fonts."
  734. msgstr ""
  735. #. type: cindex
  736. #: guix-git/doc/contributing.texi:457
  737. #, no-wrap
  738. msgid "free software"
  739. msgstr "vapaa ohjelmisto"
  740. #. type: Plain text
  741. #: guix-git/doc/contributing.texi:465
  742. 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."
  743. msgstr ""
  744. #. type: Plain text
  745. #: guix-git/doc/contributing.texi:471
  746. 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."
  747. msgstr ""
  748. #. type: Plain text
  749. #: guix-git/doc/contributing.texi:479
  750. 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."
  751. msgstr ""
  752. #. type: cindex
  753. #: guix-git/doc/contributing.texi:484
  754. #, no-wrap
  755. msgid "package name"
  756. msgstr ""
  757. #. type: Plain text
  758. #: guix-git/doc/contributing.texi:492
  759. 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}."
  760. msgstr ""
  761. #. type: Plain text
  762. #: guix-git/doc/contributing.texi:497
  763. 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}."
  764. msgstr ""
  765. #. type: Plain text
  766. #: guix-git/doc/contributing.texi:505
  767. 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."
  768. msgstr ""
  769. #. type: Plain text
  770. #: guix-git/doc/contributing.texi:510
  771. 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."
  772. msgstr ""
  773. #. type: Plain text
  774. #: guix-git/doc/contributing.texi:512
  775. msgid "Font package names are handled differently, @pxref{Fonts}."
  776. msgstr ""
  777. #. type: cindex
  778. #: guix-git/doc/contributing.texi:517
  779. #, no-wrap
  780. msgid "package version"
  781. msgstr ""
  782. #. type: Plain text
  783. #: guix-git/doc/contributing.texi:526
  784. 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."
  785. msgstr ""
  786. #. type: Plain text
  787. #: guix-git/doc/contributing.texi:529
  788. msgid "The name inside the package definition is the same for all versions of a package and does not contain any version number."
  789. msgstr ""
  790. #. type: Plain text
  791. #: guix-git/doc/contributing.texi:531
  792. msgid "For instance, the versions 2.24.20 and 3.9.12 of GTK+ may be packaged as follows:"
  793. msgstr ""
  794. #. type: lisp
  795. #: guix-git/doc/contributing.texi:543
  796. #, no-wrap
  797. msgid ""
  798. "(define-public gtk+\n"
  799. " (package\n"
  800. " (name \"gtk+\")\n"
  801. " (version \"3.9.12\")\n"
  802. " ...))\n"
  803. "(define-public gtk+-2\n"
  804. " (package\n"
  805. " (name \"gtk+\")\n"
  806. " (version \"2.24.20\")\n"
  807. " ...))\n"
  808. msgstr ""
  809. #. type: Plain text
  810. #: guix-git/doc/contributing.texi:545
  811. msgid "If we also wanted GTK+ 3.8.2, this would be packaged as"
  812. msgstr ""
  813. #. type: lisp
  814. #: guix-git/doc/contributing.texi:551
  815. #, no-wrap
  816. msgid ""
  817. "(define-public gtk+-3.8\n"
  818. " (package\n"
  819. " (name \"gtk+\")\n"
  820. " (version \"3.8.2\")\n"
  821. " ...))\n"
  822. msgstr ""
  823. #. type: cindex
  824. #: guix-git/doc/contributing.texi:555
  825. #, no-wrap
  826. msgid "version number, for VCS snapshots"
  827. msgstr ""
  828. #. type: Plain text
  829. #: guix-git/doc/contributing.texi:561
  830. 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?"
  831. msgstr ""
  832. #. type: Plain text
  833. #: guix-git/doc/contributing.texi:569
  834. 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:"
  835. msgstr ""
  836. #. type: example
  837. #: guix-git/doc/contributing.texi:578
  838. #, no-wrap
  839. msgid ""
  840. "2.0.11-3.cabba9e\n"
  841. " ^ ^ ^\n"
  842. " | | `-- upstream commit ID\n"
  843. " | |\n"
  844. " | `--- Guix package revision\n"
  845. " |\n"
  846. "latest upstream version\n"
  847. msgstr ""
  848. #. type: Plain text
  849. #: guix-git/doc/contributing.texi:588
  850. 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:"
  851. msgstr ""
  852. #. type: lisp
  853. #: guix-git/doc/contributing.texi:605
  854. #, no-wrap
  855. msgid ""
  856. "(define my-package\n"
  857. " (let ((commit \"c3f29bc928d5900971f65965feaae59e1272a3f7\")\n"
  858. " (revision \"1\")) ;Guix package revision\n"
  859. " (package\n"
  860. " (version (git-version \"0.9\" revision commit))\n"
  861. " (source (origin\n"
  862. " (method git-fetch)\n"
  863. " (uri (git-reference\n"
  864. " (url \"git://example.org/my-package.git\")\n"
  865. " (commit commit)))\n"
  866. " (sha256 (base32 \"1mbikn@dots{}\"))\n"
  867. " (file-name (git-file-name name version))))\n"
  868. " ;; @dots{}\n"
  869. " )))\n"
  870. msgstr ""
  871. #. type: deffn
  872. #: guix-git/doc/contributing.texi:607
  873. #, no-wrap
  874. msgid "{Scheme Procedure} git-version @var{VERSION} @var{REVISION} @var{COMMIT}"
  875. msgstr ""
  876. #. type: deffn
  877. #: guix-git/doc/contributing.texi:609
  878. msgid "Return the version string for packages using @code{git-fetch}."
  879. msgstr ""
  880. #. type: lisp
  881. #: guix-git/doc/contributing.texi:613
  882. #, no-wrap
  883. msgid ""
  884. "(git-version \"0.2.3\" \"0\" \"93818c936ee7e2f1ba1b315578bde363a7d43d05\")\n"
  885. "@result{} \"0.2.3-0.93818c9\"\n"
  886. msgstr ""
  887. #. type: deffn
  888. #: guix-git/doc/contributing.texi:616
  889. #, no-wrap
  890. msgid "{Scheme Procedure} hg-version @var{VERSION} @var{REVISION} @var{CHANGESET}"
  891. msgstr ""
  892. #. type: deffn
  893. #: guix-git/doc/contributing.texi:619
  894. msgid "Return the version string for packages using @code{hg-fetch}. It works in the same way as @code{git-version}."
  895. msgstr ""
  896. #. type: cindex
  897. #: guix-git/doc/contributing.texi:624
  898. #, no-wrap
  899. msgid "package description"
  900. msgstr ""
  901. #. type: cindex
  902. #: guix-git/doc/contributing.texi:625
  903. #, no-wrap
  904. msgid "package synopsis"
  905. msgstr ""
  906. #. type: Plain text
  907. #: guix-git/doc/contributing.texi:632
  908. 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."
  909. msgstr ""
  910. #. type: Plain text
  911. #: guix-git/doc/contributing.texi:640
  912. 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''."
  913. msgstr ""
  914. #. type: Plain text
  915. #: guix-git/doc/contributing.texi:650
  916. 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."
  917. msgstr ""
  918. #. type: Plain text
  919. #: guix-git/doc/contributing.texi:658
  920. 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."
  921. msgstr ""
  922. #. type: cindex
  923. #: guix-git/doc/contributing.texi:659
  924. #, no-wrap
  925. msgid "Texinfo markup, in package descriptions"
  926. msgstr ""
  927. #. type: Plain text
  928. #: guix-git/doc/contributing.texi:668
  929. 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."
  930. msgstr ""
  931. #. type: Plain text
  932. #: guix-git/doc/contributing.texi:674
  933. 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."
  934. msgstr ""
  935. #. type: Plain text
  936. #: guix-git/doc/contributing.texi:679
  937. 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:"
  938. msgstr ""
  939. #. type: lisp
  940. #: guix-git/doc/contributing.texi:685
  941. #, no-wrap
  942. msgid ""
  943. "(package\n"
  944. " ;; @dots{}\n"
  945. " (synopsis \"This is translatable\")\n"
  946. " (description (string-append \"This is \" \"*not*\" \" translatable.\")))\n"
  947. msgstr ""
  948. #. type: Plain text
  949. #: guix-git/doc/contributing.texi:693
  950. 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}):"
  951. msgstr ""
  952. #. type: lisp
  953. #: guix-git/doc/contributing.texi:698
  954. #, no-wrap
  955. msgid ""
  956. ";; TRANSLATORS: \"X11 resize-and-rotate\" should not be translated.\n"
  957. "(description \"ARandR is designed to provide a simple visual front end\n"
  958. "for the X11 resize-and-rotate (RandR) extension. @dots{}\")\n"
  959. msgstr ""
  960. #. type: cindex
  961. #: guix-git/doc/contributing.texi:703
  962. #, no-wrap
  963. msgid "snippets, when to use"
  964. msgstr ""
  965. #. type: Plain text
  966. #: guix-git/doc/contributing.texi:714
  967. 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})."
  968. msgstr ""
  969. #. type: cindex
  970. #: guix-git/doc/contributing.texi:718
  971. #, no-wrap
  972. msgid "emacs, packaging"
  973. msgstr ""
  974. #. type: cindex
  975. #: guix-git/doc/contributing.texi:719
  976. #, no-wrap
  977. msgid "elisp, packaging"
  978. msgstr ""
  979. #. type: Plain text
  980. #: guix-git/doc/contributing.texi:731
  981. 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."
  982. msgstr ""
  983. #. type: Plain text
  984. #: guix-git/doc/contributing.texi:736
  985. 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}."
  986. msgstr ""
  987. #. type: Plain text
  988. #: guix-git/doc/contributing.texi:745
  989. 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:"
  990. msgstr ""
  991. #. type: lisp
  992. #: guix-git/doc/contributing.texi:748
  993. #, no-wrap
  994. msgid "#:include (cons \"^snippets/\" %default-include)\n"
  995. msgstr ""
  996. #. type: Plain text
  997. #: guix-git/doc/contributing.texi:754
  998. 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."
  999. msgstr ""
  1000. #. type: cindex
  1001. #: guix-git/doc/contributing.texi:758
  1002. #, no-wrap
  1003. msgid "python"
  1004. msgstr "Python"
  1005. #. type: Plain text
  1006. #: guix-git/doc/contributing.texi:764
  1007. 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}."
  1008. msgstr ""
  1009. #. type: Plain text
  1010. #: guix-git/doc/contributing.texi:771
  1011. 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."
  1012. msgstr ""
  1013. #. type: Plain text
  1014. #: guix-git/doc/contributing.texi:777
  1015. 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."
  1016. msgstr ""
  1017. #. type: subsubsection
  1018. #: guix-git/doc/contributing.texi:778
  1019. #, no-wrap
  1020. msgid "Specifying Dependencies"
  1021. msgstr ""
  1022. #. type: cindex
  1023. #: guix-git/doc/contributing.texi:779
  1024. #, no-wrap
  1025. msgid "inputs, for Python packages"
  1026. msgstr ""
  1027. #. type: Plain text
  1028. #: guix-git/doc/contributing.texi:784
  1029. 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}."
  1030. msgstr ""
  1031. #. type: Plain text
  1032. #: guix-git/doc/contributing.texi:790
  1033. 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."
  1034. msgstr ""
  1035. #. type: itemize
  1036. #: guix-git/doc/contributing.texi:798
  1037. 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."
  1038. msgstr ""
  1039. #. type: itemize
  1040. #: guix-git/doc/contributing.texi:804
  1041. 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."
  1042. msgstr ""
  1043. #. type: itemize
  1044. #: guix-git/doc/contributing.texi:812
  1045. 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."
  1046. msgstr ""
  1047. #. type: itemize
  1048. #: guix-git/doc/contributing.texi:816
  1049. 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}."
  1050. msgstr ""
  1051. #. type: itemize
  1052. #: guix-git/doc/contributing.texi:821
  1053. 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."
  1054. msgstr ""
  1055. #. type: itemize
  1056. #: guix-git/doc/contributing.texi:827
  1057. 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}})."
  1058. msgstr ""
  1059. #. type: cindex
  1060. #: guix-git/doc/contributing.texi:834
  1061. #, no-wrap
  1062. msgid "perl"
  1063. msgstr ""
  1064. #. type: Plain text
  1065. #: guix-git/doc/contributing.texi:845
  1066. 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}."
  1067. msgstr ""
  1068. #. type: cindex
  1069. #: guix-git/doc/contributing.texi:850
  1070. #, no-wrap
  1071. msgid "java"
  1072. msgstr ""
  1073. #. type: Plain text
  1074. #: guix-git/doc/contributing.texi:853
  1075. msgid "Java programs standing for themselves are named as any other package, using the lowercase upstream name."
  1076. msgstr ""
  1077. #. type: Plain text
  1078. #: guix-git/doc/contributing.texi:859
  1079. 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}."
  1080. msgstr ""
  1081. #. type: Plain text
  1082. #: guix-git/doc/contributing.texi:865
  1083. 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}."
  1084. msgstr ""
  1085. #. type: cindex
  1086. #: guix-git/doc/contributing.texi:870
  1087. #, no-wrap
  1088. msgid "rust"
  1089. msgstr ""
  1090. #. type: Plain text
  1091. #: guix-git/doc/contributing.texi:873
  1092. msgid "Rust programs standing for themselves are named as any other package, using the lowercase upstream name."
  1093. msgstr ""
  1094. #. type: Plain text
  1095. #: guix-git/doc/contributing.texi:877
  1096. 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."
  1097. msgstr ""
  1098. #. type: Plain text
  1099. #: guix-git/doc/contributing.texi:883
  1100. 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}."
  1101. msgstr ""
  1102. #. type: Plain text
  1103. #: guix-git/doc/contributing.texi:893
  1104. 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."
  1105. msgstr ""
  1106. #. type: Plain text
  1107. #: guix-git/doc/contributing.texi:899
  1108. 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."
  1109. msgstr ""
  1110. #. type: cindex
  1111. #: guix-git/doc/contributing.texi:904 guix-git/doc/guix.texi:1963
  1112. #, no-wrap
  1113. msgid "fonts"
  1114. msgstr "fontit"
  1115. #. type: Plain text
  1116. #: guix-git/doc/contributing.texi:910
  1117. 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."
  1118. msgstr ""
  1119. #. type: Plain text
  1120. #: guix-git/doc/contributing.texi:914
  1121. 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."
  1122. msgstr ""
  1123. #. type: Plain text
  1124. #: guix-git/doc/contributing.texi:922
  1125. 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}."
  1126. msgstr ""
  1127. #. type: Plain text
  1128. #: guix-git/doc/contributing.texi:931
  1129. 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}."
  1130. msgstr ""
  1131. #. type: Plain text
  1132. #: guix-git/doc/contributing.texi:937
  1133. 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."
  1134. msgstr ""
  1135. #. type: Plain text
  1136. #: guix-git/doc/contributing.texi:945
  1137. 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."
  1138. msgstr ""
  1139. #. type: subsection
  1140. #: guix-git/doc/contributing.texi:951 guix-git/doc/contributing.texi:953
  1141. #: guix-git/doc/contributing.texi:954
  1142. #, no-wrap
  1143. msgid "Programming Paradigm"
  1144. msgstr ""
  1145. #. type: menuentry
  1146. #: guix-git/doc/contributing.texi:951
  1147. msgid "How to compose your elements."
  1148. msgstr ""
  1149. #. type: subsection
  1150. #: guix-git/doc/contributing.texi:951 guix-git/doc/contributing.texi:960
  1151. #: guix-git/doc/contributing.texi:961
  1152. #, no-wrap
  1153. msgid "Modules"
  1154. msgstr "Moduulit"
  1155. #. type: menuentry
  1156. #: guix-git/doc/contributing.texi:951
  1157. msgid "Where to store your code?"
  1158. msgstr ""
  1159. #. type: subsection
  1160. #: guix-git/doc/contributing.texi:951 guix-git/doc/contributing.texi:971
  1161. #: guix-git/doc/contributing.texi:972
  1162. #, no-wrap
  1163. msgid "Data Types and Pattern Matching"
  1164. msgstr ""
  1165. #. type: menuentry
  1166. #: guix-git/doc/contributing.texi:951
  1167. msgid "Implementing data structures."
  1168. msgstr ""
  1169. #. type: subsection
  1170. #: guix-git/doc/contributing.texi:951 guix-git/doc/contributing.texi:986
  1171. #: guix-git/doc/contributing.texi:987
  1172. #, no-wrap
  1173. msgid "Formatting Code"
  1174. msgstr ""
  1175. #. type: menuentry
  1176. #: guix-git/doc/contributing.texi:951
  1177. msgid "Writing conventions."
  1178. msgstr ""
  1179. #. type: Plain text
  1180. #: guix-git/doc/contributing.texi:959
  1181. 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."
  1182. msgstr ""
  1183. #. type: Plain text
  1184. #: guix-git/doc/contributing.texi:967
  1185. 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."
  1186. msgstr ""
  1187. #. type: Plain text
  1188. #: guix-git/doc/contributing.texi:970
  1189. msgid "Modules that deal with the broader GNU system should be in the @code{(gnu @dots{})} name space rather than @code{(guix @dots{})}."
  1190. msgstr ""
  1191. #. type: Plain text
  1192. #: guix-git/doc/contributing.texi:979
  1193. 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."
  1194. msgstr ""
  1195. #. type: Plain text
  1196. #: guix-git/doc/contributing.texi:985
  1197. 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})."
  1198. msgstr ""
  1199. #. type: cindex
  1200. #: guix-git/doc/contributing.texi:989
  1201. #, no-wrap
  1202. msgid "formatting code"
  1203. msgstr ""
  1204. #. type: cindex
  1205. #: guix-git/doc/contributing.texi:990
  1206. #, no-wrap
  1207. msgid "coding style"
  1208. msgstr ""
  1209. #. type: Plain text
  1210. #: guix-git/doc/contributing.texi:997
  1211. 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."
  1212. msgstr ""
  1213. #. type: Plain text
  1214. #: guix-git/doc/contributing.texi:1004
  1215. 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})."
  1216. msgstr ""
  1217. #. type: cindex
  1218. #: guix-git/doc/contributing.texi:1005
  1219. #, no-wrap
  1220. msgid "indentation, of code"
  1221. msgstr ""
  1222. #. type: cindex
  1223. #: guix-git/doc/contributing.texi:1006
  1224. #, no-wrap
  1225. msgid "formatting, of code"
  1226. msgstr ""
  1227. #. type: Plain text
  1228. #: guix-git/doc/contributing.texi:1009
  1229. 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:"
  1230. msgstr ""
  1231. #. type: example
  1232. #: guix-git/doc/contributing.texi:1012
  1233. #, no-wrap
  1234. msgid "./pre-inst-env guix style @var{package}\n"
  1235. msgstr ""
  1236. #. type: Plain text
  1237. #: guix-git/doc/contributing.texi:1016
  1238. msgid "@xref{Invoking guix style}, for more information."
  1239. msgstr ""
  1240. #. type: cindex
  1241. #: guix-git/doc/contributing.texi:1017
  1242. #, no-wrap
  1243. msgid "Vim, Scheme code editing"
  1244. msgstr ""
  1245. #. type: Plain text
  1246. #: guix-git/doc/contributing.texi:1023
  1247. 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."
  1248. msgstr ""
  1249. #. type: Plain text
  1250. #: guix-git/doc/contributing.texi:1027
  1251. 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."
  1252. msgstr ""
  1253. #. type: Plain text
  1254. #: guix-git/doc/contributing.texi:1030
  1255. msgid "Procedures should not have more than four positional parameters. Use keyword parameters for procedures that take more than four parameters."
  1256. msgstr ""
  1257. #. type: Plain text
  1258. #: guix-git/doc/contributing.texi:1044
  1259. msgid "Development is done using the Git distributed version control system. Thus, access to the repository is not strictly necessary. We welcome contributions in the form of patches as produced by @code{git format-patch} sent to the @email{guix-patches@@gnu.org} mailing list (@pxref{submitting patches,, Submitting patches to a project, git, Git User Manual}). Contributors are encouraged to take a moment to set some Git repository options (@pxref{Configuring Git}) first, which can improve the readability of patches. Seasoned Guix developers may also want to look at the section on commit access (@pxref{Commit Access})."
  1260. msgstr ""
  1261. #. type: Plain text
  1262. #: guix-git/doc/contributing.texi:1051
  1263. 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})."
  1264. msgstr ""
  1265. #. type: Plain text
  1266. #: guix-git/doc/contributing.texi:1055
  1267. msgid "Please write commit logs in the ChangeLog format (@pxref{Change Logs,,, standards, GNU Coding Standards}); you can check the commit history for examples."
  1268. msgstr ""
  1269. #. type: Plain text
  1270. #: guix-git/doc/contributing.texi:1058
  1271. msgid "Before submitting a patch that adds or modifies a package definition, please run through this check list:"
  1272. msgstr ""
  1273. #. type: code{#1}
  1274. #: guix-git/doc/contributing.texi:1060 guix-git/doc/contributing.texi:1270
  1275. #, no-wrap
  1276. msgid "git format-patch"
  1277. msgstr ""
  1278. #. type: code{#1}
  1279. #: guix-git/doc/contributing.texi:1061
  1280. #, no-wrap
  1281. msgid "git-format-patch"
  1282. msgstr ""
  1283. #. type: enumerate
  1284. #: guix-git/doc/contributing.texi:1068
  1285. msgid "When generating your patches with @code{git format-patch} or @code{git send-email}, we recommend using the option @code{--base=}, perhaps with the value @code{auto}. This option adds a note to the patch stating which commit the patch is based on. This helps reviewers understand how to apply and review your patches."
  1286. msgstr ""
  1287. #. type: enumerate
  1288. #: guix-git/doc/contributing.texi:1074
  1289. 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."
  1290. msgstr ""
  1291. #. type: enumerate
  1292. #: guix-git/doc/contributing.texi:1078
  1293. msgid "Take some time to provide an adequate synopsis and description for the package. @xref{Synopses and Descriptions}, for some guidelines."
  1294. msgstr ""
  1295. #. type: enumerate
  1296. #: guix-git/doc/contributing.texi:1083
  1297. 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})."
  1298. msgstr ""
  1299. #. type: enumerate
  1300. #: guix-git/doc/contributing.texi:1087
  1301. msgid "Run @code{guix style @var{package}} to format the new package definition according to the project's conventions (@pxref{Invoking guix style})."
  1302. msgstr ""
  1303. #. type: enumerate
  1304. #: guix-git/doc/contributing.texi:1091
  1305. msgid "Make sure the package builds on your platform, using @code{guix build @var{package}}."
  1306. msgstr ""
  1307. #. type: enumerate
  1308. #: guix-git/doc/contributing.texi:1099
  1309. 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:"
  1310. msgstr ""
  1311. #. type: lisp
  1312. #: guix-git/doc/contributing.texi:1104
  1313. #, no-wrap
  1314. msgid ""
  1315. "(service qemu-binfmt-service-type\n"
  1316. " (qemu-binfmt-configuration\n"
  1317. " (platforms (lookup-qemu-platforms \"arm\" \"aarch64\"))))\n"
  1318. msgstr ""
  1319. #. type: enumerate
  1320. #: guix-git/doc/contributing.texi:1107
  1321. msgid "Then reconfigure your system."
  1322. msgstr ""
  1323. #. type: enumerate
  1324. #: guix-git/doc/contributing.texi:1112
  1325. 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:"
  1326. msgstr ""
  1327. #. type: example
  1328. #: guix-git/doc/contributing.texi:1115
  1329. #, no-wrap
  1330. msgid ""
  1331. "guix build --system=armhf-linux --rounds=2 hello\n"
  1332. "guix build --system=aarch64-linux --rounds=2 hello\n"
  1333. msgstr ""
  1334. #. type: cindex
  1335. #: guix-git/doc/contributing.texi:1118
  1336. #, no-wrap
  1337. msgid "bundling"
  1338. msgstr ""
  1339. #. type: enumerate
  1340. #: guix-git/doc/contributing.texi:1121
  1341. msgid "Make sure the package does not use bundled copies of software already available as separate packages."
  1342. msgstr ""
  1343. #. type: enumerate
  1344. #: guix-git/doc/contributing.texi:1130
  1345. 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."
  1346. msgstr ""
  1347. #. type: enumerate
  1348. #: guix-git/doc/contributing.texi:1139
  1349. 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."
  1350. msgstr ""
  1351. #. type: enumerate
  1352. #: guix-git/doc/contributing.texi:1144
  1353. 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})."
  1354. msgstr ""
  1355. #. type: cindex
  1356. #: guix-git/doc/contributing.texi:1146
  1357. #, no-wrap
  1358. msgid "branching strategy"
  1359. msgstr ""
  1360. #. type: cindex
  1361. #: guix-git/doc/contributing.texi:1147
  1362. #, no-wrap
  1363. msgid "rebuild scheduling strategy"
  1364. msgstr ""
  1365. #. type: enumerate
  1366. #: guix-git/doc/contributing.texi:1150
  1367. msgid "Depending on the number of dependent packages and thus the amount of rebuilding induced, commits go to different branches, along these lines:"
  1368. msgstr ""
  1369. #. type: item
  1370. #: guix-git/doc/contributing.texi:1152
  1371. #, no-wrap
  1372. msgid "300 dependent packages or less"
  1373. msgstr ""
  1374. #. type: table
  1375. #: guix-git/doc/contributing.texi:1154
  1376. msgid "@code{master} branch (non-disruptive changes)."
  1377. msgstr ""
  1378. #. type: item
  1379. #: guix-git/doc/contributing.texi:1155
  1380. #, no-wrap
  1381. msgid "between 300 and 1,800 dependent packages"
  1382. msgstr ""
  1383. #. type: table
  1384. #: guix-git/doc/contributing.texi:1161
  1385. 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."
  1386. msgstr ""
  1387. #. type: item
  1388. #: guix-git/doc/contributing.texi:1162
  1389. #, no-wrap
  1390. msgid "more than 1,800 dependent packages"
  1391. msgstr ""
  1392. #. type: table
  1393. #: guix-git/doc/contributing.texi:1167
  1394. 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."
  1395. msgstr ""
  1396. #. type: enumerate
  1397. #: guix-git/doc/contributing.texi:1174
  1398. 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."
  1399. msgstr ""
  1400. #. type: enumerate
  1401. #: guix-git/doc/contributing.texi:1183
  1402. 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."
  1403. msgstr ""
  1404. #. type: cindex
  1405. #: guix-git/doc/contributing.texi:1185
  1406. #, no-wrap
  1407. msgid "determinism, of build processes"
  1408. msgstr ""
  1409. #. type: cindex
  1410. #: guix-git/doc/contributing.texi:1186
  1411. #, no-wrap
  1412. msgid "reproducible builds, checking"
  1413. msgstr ""
  1414. #. type: enumerate
  1415. #: guix-git/doc/contributing.texi:1190
  1416. 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."
  1417. msgstr ""
  1418. #. type: enumerate
  1419. #: guix-git/doc/contributing.texi:1193
  1420. 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}):"
  1421. msgstr ""
  1422. #. type: example
  1423. #: guix-git/doc/contributing.texi:1196
  1424. #, no-wrap
  1425. msgid "guix build --rounds=2 my-package\n"
  1426. msgstr ""
  1427. #. type: enumerate
  1428. #: guix-git/doc/contributing.texi:1200
  1429. msgid "This is enough to catch a class of common non-determinism issues, such as timestamps or randomly-generated output in the build result."
  1430. msgstr ""
  1431. #. type: enumerate
  1432. #: guix-git/doc/contributing.texi:1210
  1433. 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."
  1434. msgstr ""
  1435. #. type: enumerate
  1436. #: guix-git/doc/contributing.texi:1216
  1437. 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."
  1438. msgstr ""
  1439. #. type: enumerate
  1440. #: guix-git/doc/contributing.texi:1220
  1441. msgid "Verify that your patch contains only one set of related changes. Bundling unrelated changes together makes reviewing harder and slower."
  1442. msgstr ""
  1443. #. type: enumerate
  1444. #: guix-git/doc/contributing.texi:1223
  1445. msgid "Examples of unrelated changes include the addition of several packages, or a package update along with fixes to that package."
  1446. msgstr ""
  1447. #. type: enumerate
  1448. #: guix-git/doc/contributing.texi:1228
  1449. msgid "Please follow our code formatting rules, possibly running @command{guix style} script to do that automatically for you (@pxref{Formatting Code})."
  1450. msgstr ""
  1451. #. type: enumerate
  1452. #: guix-git/doc/contributing.texi:1236
  1453. 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."
  1454. msgstr ""
  1455. #. type: enumerate
  1456. #: guix-git/doc/contributing.texi:1240
  1457. msgid "Check if Guix builds (@pxref{Building from Git}) and address the warnings, especially those about use of undefined symbols."
  1458. msgstr ""
  1459. #. type: enumerate
  1460. #: guix-git/doc/contributing.texi:1243
  1461. msgid "Make sure your changes do not break Guix and simulate a @code{guix pull} with:"
  1462. msgstr ""
  1463. #. type: example
  1464. #: guix-git/doc/contributing.texi:1245
  1465. #, no-wrap
  1466. msgid "guix pull --url=/path/to/your/checkout --profile=/tmp/guix.master\n"
  1467. msgstr ""
  1468. #. type: Plain text
  1469. #: guix-git/doc/contributing.texi:1258
  1470. 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."
  1471. msgstr ""
  1472. #. type: Plain text
  1473. #: guix-git/doc/contributing.texi:1263
  1474. 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."
  1475. msgstr ""
  1476. #. type: Plain text
  1477. #: guix-git/doc/contributing.texi:1266
  1478. msgid "When a bug is resolved, please close the thread by sending an email to @email{@var{NNN}-done@@debbugs.gnu.org}."
  1479. msgstr ""
  1480. #. type: subsection
  1481. #: guix-git/doc/contributing.texi:1267 guix-git/doc/contributing.texi:1268
  1482. #, no-wrap
  1483. msgid "Configuring Git"
  1484. msgstr "Konfiguroidaan Gittiä"
  1485. #. type: cindex
  1486. #: guix-git/doc/contributing.texi:1269
  1487. #, no-wrap
  1488. msgid "git configuration"
  1489. msgstr "git-määritykset"
  1490. #. type: code{#1}
  1491. #: guix-git/doc/contributing.texi:1271 guix-git/doc/contributing.texi:1306
  1492. #, no-wrap
  1493. msgid "git send-email"
  1494. msgstr ""
  1495. #. type: Plain text
  1496. #: guix-git/doc/contributing.texi:1279
  1497. msgid "If you have not done so already, you may wish to set a name and email that will be associated with your commits (@pxref{telling git your name, , Telling Git your name, git, Git User Manual}). If you wish to use a different name or email just for commits in this repository, you can use @command{git config --local}, or edit @file{.git/config} in the repository instead of @file{~/.gitconfig}."
  1498. msgstr ""
  1499. #. type: Plain text
  1500. #: guix-git/doc/contributing.texi:1285
  1501. msgid "We provide some default settings in @file{etc/git/gitconfig} which modify how patches are generated, making them easier to read and apply. These settings can be applied by manually copying them to @file{.git/config} in your checkout, or by telling Git to include the whole file:"
  1502. msgstr ""
  1503. #. type: example
  1504. #: guix-git/doc/contributing.texi:1288
  1505. #, no-wrap
  1506. msgid "git config --local include.path ../etc/git/gitconfig\n"
  1507. msgstr ""
  1508. #. type: Plain text
  1509. #: guix-git/doc/contributing.texi:1292
  1510. msgid "From then on, any changes to @file{etc/git/gitconfig} would automatically take effect."
  1511. msgstr ""
  1512. #. type: Plain text
  1513. #: guix-git/doc/contributing.texi:1297
  1514. msgid "Since the first patch in a series must be sent separately (@pxref{Sending a Patch Series}), it can also be helpful to tell @command{git format-patch} to handle the e-mail threading instead of @command{git send-email}:"
  1515. msgstr ""
  1516. #. type: example
  1517. #: guix-git/doc/contributing.texi:1301
  1518. #, no-wrap
  1519. msgid ""
  1520. "git config --local format.thread shallow\n"
  1521. "git config --local sendemail.thread no\n"
  1522. msgstr ""
  1523. #. type: anchor{#1}
  1524. #: guix-git/doc/contributing.texi:1303 guix-git/doc/contributing.texi:1305
  1525. #, no-wrap
  1526. msgid "Sending a Patch Series"
  1527. msgstr ""
  1528. #. type: cindex
  1529. #: guix-git/doc/contributing.texi:1305
  1530. #, no-wrap
  1531. msgid "patch series"
  1532. msgstr ""
  1533. #. type: Plain text
  1534. #: guix-git/doc/contributing.texi:1316
  1535. 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}."
  1536. msgstr ""
  1537. #. type: Plain text
  1538. #: guix-git/doc/contributing.texi:1322
  1539. msgid "This section describes how the Guix project tracks its bug reports and patch submissions."
  1540. msgstr ""
  1541. #. type: subsection
  1542. #: guix-git/doc/contributing.texi:1327 guix-git/doc/contributing.texi:1329
  1543. #: guix-git/doc/contributing.texi:1330
  1544. #, no-wrap
  1545. msgid "The Issue Tracker"
  1546. msgstr ""
  1547. #. type: menuentry
  1548. #: guix-git/doc/contributing.texi:1327
  1549. msgid "The official bug and patch tracker."
  1550. msgstr ""
  1551. #. type: subsection
  1552. #: guix-git/doc/contributing.texi:1327 guix-git/doc/contributing.texi:1343
  1553. #: guix-git/doc/contributing.texi:1344
  1554. #, no-wrap
  1555. msgid "Debbugs User Interfaces"
  1556. msgstr ""
  1557. #. type: menuentry
  1558. #: guix-git/doc/contributing.texi:1327
  1559. msgid "Ways to interact with Debbugs."
  1560. msgstr ""
  1561. #. type: subsection
  1562. #: guix-git/doc/contributing.texi:1327 guix-git/doc/contributing.texi:1383
  1563. #: guix-git/doc/contributing.texi:1384
  1564. #, no-wrap
  1565. msgid "Debbugs Usertags"
  1566. msgstr ""
  1567. #. type: menuentry
  1568. #: guix-git/doc/contributing.texi:1327
  1569. msgid "Tag reports with custom labels."
  1570. msgstr ""
  1571. #. type: cindex
  1572. #: guix-git/doc/contributing.texi:1332
  1573. #, no-wrap
  1574. msgid "bug reports, tracking"
  1575. msgstr ""
  1576. #. type: cindex
  1577. #: guix-git/doc/contributing.texi:1333
  1578. #, no-wrap
  1579. msgid "patch submissions, tracking"
  1580. msgstr ""
  1581. #. type: cindex
  1582. #: guix-git/doc/contributing.texi:1334
  1583. #, no-wrap
  1584. msgid "issue tracking"
  1585. msgstr ""
  1586. #. type: cindex
  1587. #: guix-git/doc/contributing.texi:1335
  1588. #, no-wrap
  1589. msgid "Debbugs, issue tracking system"
  1590. msgstr ""
  1591. #. type: Plain text
  1592. #: guix-git/doc/contributing.texi:1342
  1593. 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})."
  1594. msgstr ""
  1595. #. type: Plain text
  1596. #: guix-git/doc/contributing.texi:1348
  1597. msgid "A web interface (actually @emph{two} web interfaces!) are available to browse issues:"
  1598. msgstr ""
  1599. #. type: itemize
  1600. #: guix-git/doc/contributing.texi:1357
  1601. 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;"
  1602. msgstr ""
  1603. #. type: itemize
  1604. #: guix-git/doc/contributing.texi:1359
  1605. msgid "@url{https://bugs.gnu.org/guix} lists bug reports;"
  1606. msgstr ""
  1607. #. type: itemize
  1608. #: guix-git/doc/contributing.texi:1361
  1609. msgid "@url{https://bugs.gnu.org/guix-patches} lists patch submissions."
  1610. msgstr ""
  1611. #. type: Plain text
  1612. #: guix-git/doc/contributing.texi:1366
  1613. 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}}."
  1614. msgstr ""
  1615. #. type: Plain text
  1616. #: guix-git/doc/contributing.texi:1369
  1617. msgid "If you use Emacs, you may find it more convenient to interact with issues using @file{debbugs.el}, which you can install with:"
  1618. msgstr ""
  1619. #. type: example
  1620. #: guix-git/doc/contributing.texi:1372
  1621. #, no-wrap
  1622. msgid "guix install emacs-debbugs\n"
  1623. msgstr ""
  1624. #. type: Plain text
  1625. #: guix-git/doc/contributing.texi:1375
  1626. msgid "For example, to list all open issues on @code{guix-patches}, hit:"
  1627. msgstr ""
  1628. #. type: example
  1629. #: guix-git/doc/contributing.texi:1378
  1630. #, no-wrap
  1631. msgid "@kbd{C-u} @kbd{M-x} debbugs-gnu @kbd{RET} @kbd{RET} guix-patches @kbd{RET} n y\n"
  1632. msgstr ""
  1633. #. type: Plain text
  1634. #: guix-git/doc/contributing.texi:1382
  1635. msgid "@xref{Top,,, debbugs-ug, Debbugs User Guide}, for more information on this nifty tool!"
  1636. msgstr ""
  1637. #. type: cindex
  1638. #: guix-git/doc/contributing.texi:1386
  1639. #, no-wrap
  1640. msgid "usertags, for debbugs"
  1641. msgstr ""
  1642. #. type: cindex
  1643. #: guix-git/doc/contributing.texi:1387
  1644. #, no-wrap
  1645. msgid "Debbugs usertags"
  1646. msgstr ""
  1647. #. type: Plain text
  1648. #: guix-git/doc/contributing.texi:1393
  1649. 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.}."
  1650. msgstr ""
  1651. #. type: Plain text
  1652. #: guix-git/doc/contributing.texi:1399
  1653. 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}."
  1654. msgstr ""
  1655. #. type: Plain text
  1656. #: guix-git/doc/contributing.texi:1403
  1657. 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."
  1658. msgstr ""
  1659. #. type: Plain text
  1660. #: guix-git/doc/contributing.texi:1408
  1661. 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:"
  1662. msgstr ""
  1663. #. type: item
  1664. #: guix-git/doc/contributing.texi:1411 guix-git/doc/guix.texi:557
  1665. #, no-wrap
  1666. msgid "powerpc64le-linux"
  1667. msgstr ""
  1668. #. type: table
  1669. #: guix-git/doc/contributing.texi:1419
  1670. 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."
  1671. msgstr ""
  1672. #. #-#-#-#-# contributing.pot (guix manual checkout) #-#-#-#-#
  1673. #. type: item
  1674. #. #-#-#-#-# guix.pot (guix manual checkout) #-#-#-#-#
  1675. #. type: cindex
  1676. #: guix-git/doc/contributing.texi:1420 guix-git/doc/guix.texi:3103
  1677. #: guix-git/doc/guix.texi:4809
  1678. #, no-wrap
  1679. msgid "reproducibility"
  1680. msgstr ""
  1681. #. type: table
  1682. #: guix-git/doc/contributing.texi:1424
  1683. 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."
  1684. msgstr ""
  1685. #. type: Plain text
  1686. #: guix-git/doc/contributing.texi:1431
  1687. 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."
  1688. msgstr ""
  1689. #. type: cindex
  1690. #: guix-git/doc/contributing.texi:1435
  1691. #, no-wrap
  1692. msgid "commit access, for developers"
  1693. msgstr ""
  1694. #. type: Plain text
  1695. #: guix-git/doc/contributing.texi:1446
  1696. msgid "Everyone can contribute to Guix without having commit access (@pxref{Submitting Patches}). However, for frequent contributors, having write access to the repository can be convenient. As a rule of thumb, a contributor should have accumulated fifty (50) reviewed commits to be considered as a committer and have sustained their activity in the project for at least 6 months. This ensures enough interactions with the contributor, which is essential for mentoring and assessing whether they are ready to become a committer. Commit access should not be thought of as a ``badge of honor'' but rather as a responsibility a contributor is willing to take to help the project."
  1697. msgstr ""
  1698. #. type: Plain text
  1699. #: guix-git/doc/contributing.texi:1450
  1700. 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."
  1701. msgstr ""
  1702. #. type: subsection
  1703. #: guix-git/doc/contributing.texi:1451
  1704. #, no-wrap
  1705. msgid "Applying for Commit Access"
  1706. msgstr ""
  1707. #. type: Plain text
  1708. #: guix-git/doc/contributing.texi:1455
  1709. msgid "When you deem it necessary, consider applying for commit access by following these steps:"
  1710. msgstr ""
  1711. #. type: enumerate
  1712. #: guix-git/doc/contributing.texi:1464
  1713. 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."
  1714. msgstr ""
  1715. #. type: enumerate
  1716. #: guix-git/doc/contributing.texi:1470
  1717. 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''."
  1718. msgstr ""
  1719. #. type: enumerate
  1720. #: guix-git/doc/contributing.texi:1477
  1721. 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."
  1722. msgstr ""
  1723. #. type: enumerate
  1724. #: guix-git/doc/contributing.texi:1483
  1725. 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}):"
  1726. msgstr ""
  1727. #. type: example
  1728. #: guix-git/doc/contributing.texi:1486
  1729. #, no-wrap
  1730. msgid "digest-algo sha512\n"
  1731. msgstr ""
  1732. #. type: enumerate
  1733. #: guix-git/doc/contributing.texi:1491
  1734. msgid "Maintainers ultimately decide whether to grant you commit access, usually following your referrals' recommendation."
  1735. msgstr ""
  1736. #. type: cindex
  1737. #: guix-git/doc/contributing.texi:1493
  1738. #, no-wrap
  1739. msgid "OpenPGP, signed commits"
  1740. msgstr ""
  1741. #. type: enumerate
  1742. #: guix-git/doc/contributing.texi:1498
  1743. 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."
  1744. msgstr ""
  1745. #. type: quotation
  1746. #: guix-git/doc/contributing.texi:1499 guix-git/doc/guix.texi:18459
  1747. #, no-wrap
  1748. msgid "Important"
  1749. msgstr ""
  1750. #. type: quotation
  1751. #: guix-git/doc/contributing.texi:1501
  1752. msgid "Before you can push for the first time, maintainers must:"
  1753. msgstr ""
  1754. #. type: enumerate
  1755. #: guix-git/doc/contributing.texi:1505
  1756. msgid "add your OpenPGP key to the @code{keyring} branch;"
  1757. msgstr ""
  1758. #. type: enumerate
  1759. #: guix-git/doc/contributing.texi:1508
  1760. msgid "add your OpenPGP fingerprint to the @file{.guix-authorizations} file of the branch(es) you will commit to."
  1761. msgstr ""
  1762. #. type: enumerate
  1763. #: guix-git/doc/contributing.texi:1513
  1764. msgid "Make sure to read the rest of this section and... profit!"
  1765. msgstr ""
  1766. #. type: quotation
  1767. #: guix-git/doc/contributing.texi:1519
  1768. 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!"
  1769. msgstr ""
  1770. #. type: quotation
  1771. #: guix-git/doc/contributing.texi:1523
  1772. 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!"
  1773. msgstr ""
  1774. #. type: Plain text
  1775. #: guix-git/doc/contributing.texi:1530
  1776. 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:"
  1777. msgstr ""
  1778. #. type: example
  1779. #: guix-git/doc/contributing.texi:1533
  1780. #, no-wrap
  1781. msgid ""
  1782. "git config commit.gpgsign true\n"
  1783. "\n"
  1784. msgstr ""
  1785. #. type: example
  1786. #: guix-git/doc/contributing.texi:1536
  1787. #, no-wrap
  1788. msgid ""
  1789. "# Substitute the fingerprint of your public PGP key.\n"
  1790. "git config user.signingkey CABBA6EA1DC0FF33\n"
  1791. msgstr ""
  1792. #. type: Plain text
  1793. #: guix-git/doc/contributing.texi:1541
  1794. 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}:"
  1795. msgstr ""
  1796. #. type: example
  1797. #: guix-git/doc/contributing.texi:1544
  1798. #, no-wrap
  1799. msgid "cp etc/git/pre-push .git/hooks/pre-push\n"
  1800. msgstr ""
  1801. #. type: subsection
  1802. #: guix-git/doc/contributing.texi:1546
  1803. #, no-wrap
  1804. msgid "Commit Policy"
  1805. msgstr ""
  1806. #. type: Plain text
  1807. #: guix-git/doc/contributing.texi:1551
  1808. 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})."
  1809. msgstr ""
  1810. #. type: Plain text
  1811. #: guix-git/doc/contributing.texi:1556
  1812. 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})."
  1813. msgstr ""
  1814. #. type: Plain text
  1815. #: guix-git/doc/contributing.texi:1565
  1816. 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}."
  1817. msgstr ""
  1818. #. type: Plain text
  1819. #: guix-git/doc/contributing.texi:1570
  1820. 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."
  1821. msgstr ""
  1822. #. type: Plain text
  1823. #: guix-git/doc/contributing.texi:1574
  1824. 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:"
  1825. msgstr ""
  1826. #. type: example
  1827. #: guix-git/doc/contributing.texi:1577
  1828. #, no-wrap
  1829. msgid "make check-channel-news\n"
  1830. msgstr ""
  1831. #. type: Plain text
  1832. #: guix-git/doc/contributing.texi:1583
  1833. 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."
  1834. msgstr ""
  1835. #. type: Plain text
  1836. #: guix-git/doc/contributing.texi:1586
  1837. msgid "That last part is subject to being adjusted, allowing individuals to commit directly on non-controversial changes on parts they’re familiar with."
  1838. msgstr ""
  1839. #. type: subsection
  1840. #: guix-git/doc/contributing.texi:1587
  1841. #, no-wrap
  1842. msgid "Addressing Issues"
  1843. msgstr ""
  1844. #. type: Plain text
  1845. #: guix-git/doc/contributing.texi:1598
  1846. 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."
  1847. msgstr ""
  1848. #. type: Plain text
  1849. #: guix-git/doc/contributing.texi:1603
  1850. 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."
  1851. msgstr ""
  1852. #. type: cindex
  1853. #: guix-git/doc/contributing.texi:1604
  1854. #, no-wrap
  1855. msgid "reverting commits"
  1856. msgstr ""
  1857. #. type: Plain text
  1858. #: guix-git/doc/contributing.texi:1610
  1859. 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."
  1860. msgstr ""
  1861. #. type: Plain text
  1862. #: guix-git/doc/contributing.texi:1616
  1863. 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."
  1864. msgstr ""
  1865. #. type: Plain text
  1866. #: guix-git/doc/contributing.texi:1625
  1867. 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."
  1868. msgstr ""
  1869. #. type: subsection
  1870. #: guix-git/doc/contributing.texi:1626
  1871. #, no-wrap
  1872. msgid "Commit Revocation"
  1873. msgstr ""
  1874. #. type: Plain text
  1875. #: guix-git/doc/contributing.texi:1633
  1876. 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."
  1877. msgstr ""
  1878. #. type: Plain text
  1879. #: guix-git/doc/contributing.texi:1643
  1880. 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:"
  1881. msgstr ""
  1882. #. type: item
  1883. #: guix-git/doc/contributing.texi:1645
  1884. #, no-wrap
  1885. msgid "repeated violation of the commit policy stated above;"
  1886. msgstr ""
  1887. #. type: item
  1888. #: guix-git/doc/contributing.texi:1646
  1889. #, no-wrap
  1890. msgid "repeated failure to take peer criticism into account;"
  1891. msgstr ""
  1892. #. type: item
  1893. #: guix-git/doc/contributing.texi:1647
  1894. #, no-wrap
  1895. msgid "breaching trust through a series of grave incidents."
  1896. msgstr ""
  1897. #. type: Plain text
  1898. #: guix-git/doc/contributing.texi:1654
  1899. 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."
  1900. msgstr ""
  1901. #. type: subsection
  1902. #: guix-git/doc/contributing.texi:1655
  1903. #, no-wrap
  1904. msgid "Helping Out"
  1905. msgstr ""
  1906. #. type: Plain text
  1907. #: guix-git/doc/contributing.texi:1662
  1908. 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!"
  1909. msgstr ""
  1910. #. type: cindex
  1911. #: guix-git/doc/contributing.texi:1666
  1912. #, no-wrap
  1913. msgid "update-guix-package, updating the guix package"
  1914. msgstr ""
  1915. #. type: Plain text
  1916. #: guix-git/doc/contributing.texi:1672
  1917. 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:"
  1918. msgstr ""
  1919. #. type: example
  1920. #: guix-git/doc/contributing.texi:1675
  1921. #, no-wrap
  1922. msgid "make update-guix-package\n"
  1923. msgstr ""
  1924. #. type: Plain text
  1925. #: guix-git/doc/contributing.texi:1682
  1926. 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."
  1927. msgstr ""
  1928. #. type: Plain text
  1929. #: guix-git/doc/contributing.texi:1686
  1930. 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:"
  1931. msgstr ""
  1932. #. type: example
  1933. #: guix-git/doc/contributing.texi:1689
  1934. #, no-wrap
  1935. msgid "./pre-inst-env guix build guix\n"
  1936. msgstr ""
  1937. #. type: Plain text
  1938. #: guix-git/doc/contributing.texi:1694
  1939. 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."
  1940. msgstr ""
  1941. #. type: Plain text
  1942. #: guix-git/doc/contributing.texi:1699
  1943. 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."
  1944. msgstr ""
  1945. #. type: cindex
  1946. #: guix-git/doc/contributing.texi:1700
  1947. #, no-wrap
  1948. msgid "translation"
  1949. msgstr "käännös"
  1950. #. type: cindex
  1951. #: guix-git/doc/contributing.texi:1701
  1952. #, no-wrap
  1953. msgid "l10n"
  1954. msgstr ""
  1955. #. type: cindex
  1956. #: guix-git/doc/contributing.texi:1702
  1957. #, no-wrap
  1958. msgid "i18n"
  1959. msgstr "i18n"
  1960. #. type: cindex
  1961. #: guix-git/doc/contributing.texi:1703
  1962. #, no-wrap
  1963. msgid "native language support"
  1964. msgstr ""
  1965. #. type: Plain text
  1966. #: guix-git/doc/contributing.texi:1713
  1967. 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!"
  1968. msgstr ""
  1969. #. type: Plain text
  1970. #: guix-git/doc/contributing.texi:1719
  1971. 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."
  1972. msgstr ""
  1973. #. type: Plain text
  1974. #: guix-git/doc/contributing.texi:1726
  1975. 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."
  1976. msgstr ""
  1977. #. type: Plain text
  1978. #: guix-git/doc/contributing.texi:1731
  1979. 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}."
  1980. msgstr ""
  1981. #. type: Plain text
  1982. #: guix-git/doc/contributing.texi:1733
  1983. msgid "Guix has five components hosted on Weblate."
  1984. msgstr ""
  1985. #. type: item
  1986. #: guix-git/doc/contributing.texi:1735
  1987. #, no-wrap
  1988. msgid "@code{guix} contains all the strings from the Guix software (the"
  1989. msgstr ""
  1990. #. type: itemize
  1991. #: guix-git/doc/contributing.texi:1737
  1992. msgid "guided system installer, the package manager, etc), excluding packages."
  1993. msgstr ""
  1994. #. type: item
  1995. #: guix-git/doc/contributing.texi:1737
  1996. #, no-wrap
  1997. msgid "@code{packages} contains the synopsis (single-sentence description"
  1998. msgstr ""
  1999. #. type: itemize
  2000. #: guix-git/doc/contributing.texi:1739
  2001. msgid "of a package) and description (longer description) of packages in Guix."
  2002. msgstr ""
  2003. #. type: item
  2004. #: guix-git/doc/contributing.texi:1739
  2005. #, no-wrap
  2006. msgid "@code{website} contains the official Guix website, except for"
  2007. msgstr ""
  2008. #. type: itemize
  2009. #: guix-git/doc/contributing.texi:1741
  2010. msgid "blog posts and multimedia content."
  2011. msgstr ""
  2012. #. type: item
  2013. #: guix-git/doc/contributing.texi:1741
  2014. #, no-wrap
  2015. msgid "@code{documentation-manual} corresponds to this manual."
  2016. msgstr ""
  2017. #. type: item
  2018. #: guix-git/doc/contributing.texi:1742
  2019. #, no-wrap
  2020. msgid "@code{documentation-cookbook} is the component for the cookbook."
  2021. msgstr ""
  2022. #. type: subsubheading
  2023. #: guix-git/doc/contributing.texi:1745
  2024. #, no-wrap
  2025. msgid "General Directions"
  2026. msgstr ""
  2027. #. type: Plain text
  2028. #: guix-git/doc/contributing.texi:1753
  2029. 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."
  2030. msgstr ""
  2031. #. type: Plain text
  2032. #: guix-git/doc/contributing.texi:1758
  2033. 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."
  2034. msgstr ""
  2035. #. type: Plain text
  2036. #: guix-git/doc/contributing.texi:1769
  2037. 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."
  2038. msgstr ""
  2039. #. type: Plain text
  2040. #: guix-git/doc/contributing.texi:1774
  2041. 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."
  2042. msgstr ""
  2043. #. type: subsubheading
  2044. #: guix-git/doc/contributing.texi:1775
  2045. #, no-wrap
  2046. msgid "Translation Components"
  2047. msgstr ""
  2048. #. type: Plain text
  2049. #: guix-git/doc/contributing.texi:1780
  2050. 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!"
  2051. msgstr ""
  2052. #. type: item
  2053. #: guix-git/doc/contributing.texi:1782 guix-git/doc/guix.texi:9838
  2054. #, no-wrap
  2055. msgid "guix"
  2056. msgstr ""
  2057. #. type: table
  2058. #: guix-git/doc/contributing.texi:1787
  2059. 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."
  2060. msgstr ""
  2061. #. type: table
  2062. #: guix-git/doc/contributing.texi:1796
  2063. 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."
  2064. msgstr ""
  2065. #. type: table
  2066. #: guix-git/doc/contributing.texi:1800
  2067. 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."
  2068. msgstr ""
  2069. #. type: table
  2070. #: guix-git/doc/contributing.texi:1808
  2071. 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."
  2072. msgstr ""
  2073. #. #-#-#-#-# contributing.pot (guix manual checkout) #-#-#-#-#
  2074. #. type: item
  2075. #. #-#-#-#-# guix.pot (guix manual checkout) #-#-#-#-#
  2076. #. type: cindex
  2077. #: guix-git/doc/contributing.texi:1809 guix-git/doc/guix.texi:3021
  2078. #, no-wrap
  2079. msgid "packages"
  2080. msgstr "paketit"
  2081. #. type: table
  2082. #: guix-git/doc/contributing.texi:1814
  2083. 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."
  2084. msgstr ""
  2085. #. type: table
  2086. #: guix-git/doc/contributing.texi:1823
  2087. 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})."
  2088. msgstr ""
  2089. #. type: item
  2090. #: guix-git/doc/contributing.texi:1824
  2091. #, no-wrap
  2092. msgid "documentation-manual and documentation-cookbook"
  2093. msgstr ""
  2094. #. type: table
  2095. #: guix-git/doc/contributing.texi:1828
  2096. msgid "The first step to ensure a successful translation of the manual is to find and translate the following strings @emph{first}:"
  2097. msgstr ""
  2098. #. type: item
  2099. #: guix-git/doc/contributing.texi:1830
  2100. #, no-wrap
  2101. msgid "@code{version.texi}: Translate this string as @code{version-xx.texi},"
  2102. msgstr ""
  2103. #. type: itemize
  2104. #: guix-git/doc/contributing.texi:1833
  2105. msgid "where @code{xx} is your language code (the one shown in the URL on weblate)."
  2106. msgstr ""
  2107. #. type: item
  2108. #: guix-git/doc/contributing.texi:1833
  2109. #, no-wrap
  2110. msgid "@code{contributing.texi}: Translate this string as"
  2111. msgstr ""
  2112. #. type: itemize
  2113. #: guix-git/doc/contributing.texi:1835
  2114. msgid "@code{contributing.xx.texi}, where @code{xx} is the same language code."
  2115. msgstr ""
  2116. #. type: item
  2117. #: guix-git/doc/contributing.texi:1835
  2118. #, no-wrap
  2119. msgid "@code{Top}: Do not translate this string, it is important for Texinfo."
  2120. msgstr ""
  2121. #. type: itemize
  2122. #: guix-git/doc/contributing.texi:1838
  2123. 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."
  2124. msgstr ""
  2125. #. type: table
  2126. #: guix-git/doc/contributing.texi:1843
  2127. 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."
  2128. msgstr ""
  2129. #. type: table
  2130. #: guix-git/doc/contributing.texi:1850
  2131. 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."
  2132. msgstr ""
  2133. #. type: table
  2134. #: guix-git/doc/contributing.texi:1858
  2135. 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."
  2136. msgstr ""
  2137. #. type: table
  2138. #: guix-git/doc/contributing.texi:1868
  2139. 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."
  2140. msgstr ""
  2141. #. type: item
  2142. #: guix-git/doc/contributing.texi:1869
  2143. #, no-wrap
  2144. msgid "website"
  2145. msgstr "verkkosivu"
  2146. #. type: table
  2147. #: guix-git/doc/contributing.texi:1876
  2148. 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."
  2149. msgstr ""
  2150. #. type: example
  2151. #: guix-git/doc/contributing.texi:1883
  2152. #, no-wrap
  2153. msgid ""
  2154. "#. TRANSLATORS: Defining Packages is a section name\n"
  2155. "#. in the English (en) manual.\n"
  2156. "#: apps/base/templates/about.scm:64\n"
  2157. "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"
  2158. "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"
  2159. msgstr ""
  2160. #. type: table
  2161. #: guix-git/doc/contributing.texi:1886
  2162. msgid "Note that you need to include the same markups. You cannot skip any."
  2163. msgstr ""
  2164. #. type: Plain text
  2165. #: guix-git/doc/contributing.texi:1894
  2166. 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."
  2167. msgstr ""
  2168. #. type: subsubheading
  2169. #: guix-git/doc/contributing.texi:1895
  2170. #, no-wrap
  2171. msgid "Outside of Weblate"
  2172. msgstr ""
  2173. #. type: Plain text
  2174. #: guix-git/doc/contributing.texi:1898
  2175. msgid "Currently, some parts of Guix cannot be translated on Weblate, help wanted!"
  2176. msgstr ""
  2177. #. type: item
  2178. #: guix-git/doc/contributing.texi:1900
  2179. #, no-wrap
  2180. msgid "@command{guix pull} news can be translated in @file{news.scm}, but is not"
  2181. msgstr ""
  2182. #. type: itemize
  2183. #: guix-git/doc/contributing.texi:1906
  2184. 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."
  2185. msgstr ""
  2186. #. type: item
  2187. #: guix-git/doc/contributing.texi:1906
  2188. #, no-wrap
  2189. msgid "Guix blog posts cannot currently be translated."
  2190. msgstr ""
  2191. #. type: item
  2192. #: guix-git/doc/contributing.texi:1907
  2193. #, no-wrap
  2194. msgid "The installer script (for foreign distributions) is entirely in English."
  2195. msgstr ""
  2196. #. type: item
  2197. #: guix-git/doc/contributing.texi:1908
  2198. #, no-wrap
  2199. msgid "Some of the libraries Guix uses cannot be translated or are translated"
  2200. msgstr ""
  2201. #. type: itemize
  2202. #: guix-git/doc/contributing.texi:1910
  2203. msgid "outside of the Guix project. Guile itself is not internationalized."
  2204. msgstr ""
  2205. #. type: item
  2206. #: guix-git/doc/contributing.texi:1910
  2207. #, no-wrap
  2208. msgid "Other manuals linked from this manual or the cookbook might not be"
  2209. msgstr ""
  2210. #. type: itemize
  2211. #: guix-git/doc/contributing.texi:1912
  2212. msgid "translated."
  2213. msgstr ""
  2214. #. type: subsubheading
  2215. #: guix-git/doc/contributing.texi:1914
  2216. #, no-wrap
  2217. msgid "Translation Infrastructure"
  2218. msgstr ""
  2219. #. type: Plain text
  2220. #: guix-git/doc/contributing.texi:1925
  2221. 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."
  2222. msgstr ""
  2223. #. type: Plain text
  2224. #: guix-git/doc/contributing.texi:1929
  2225. 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."
  2226. msgstr ""
  2227. #. type: Plain text
  2228. #: guix-git/doc/contributing.texi:1935
  2229. 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."
  2230. msgstr ""
  2231. #. type: Plain text
  2232. #: guix-git/doc/contributing.texi:1939
  2233. 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."
  2234. msgstr ""
  2235. #. type: item
  2236. #: guix-git/doc/contributing.texi:1941
  2237. #, no-wrap
  2238. msgid "New po files for the @code{guix} and @code{packages} components must"
  2239. msgstr ""
  2240. #. type: itemize
  2241. #: guix-git/doc/contributing.texi:1944
  2242. msgid "be registered by adding the new language to @file{po/guix/LINGUAS} or @file{po/packages/LINGUAS}."
  2243. msgstr ""
  2244. #. type: item
  2245. #: guix-git/doc/contributing.texi:1944
  2246. #, no-wrap
  2247. msgid "New po files for the @code{documentation-manual} component must be"
  2248. msgstr ""
  2249. #. type: itemize
  2250. #: guix-git/doc/contributing.texi:1950
  2251. 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}."
  2252. msgstr ""
  2253. #. type: item
  2254. #: guix-git/doc/contributing.texi:1950
  2255. #, no-wrap
  2256. msgid "New po files for the @code{documentation-cookbook} component must be"
  2257. msgstr ""
  2258. #. type: itemize
  2259. #: guix-git/doc/contributing.texi:1956
  2260. 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}."
  2261. msgstr ""
  2262. #. type: item
  2263. #: guix-git/doc/contributing.texi:1956
  2264. #, no-wrap
  2265. msgid "New po files for the @code{website} component must be added to the"
  2266. msgstr ""
  2267. #. type: itemize
  2268. #: guix-git/doc/contributing.texi:1961
  2269. 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)."
  2270. msgstr ""
  2271. #. type: Plain text
  2272. #: guix-git/doc/guix.texi:7
  2273. msgid "@documentencoding UTF-8"
  2274. msgstr ""
  2275. #. type: title
  2276. #: guix-git/doc/guix.texi:7 guix-git/doc/guix.texi:131
  2277. #, no-wrap
  2278. msgid "GNU Guix Reference Manual"
  2279. msgstr ""
  2280. #. type: include
  2281. #: guix-git/doc/guix.texi:10
  2282. #, no-wrap
  2283. msgid "version.texi"
  2284. msgstr "version-fi.texi"
  2285. #. type: copying
  2286. #: guix-git/doc/guix.texi:103
  2287. msgid "Copyright @copyright{} 2012-2022 Ludovic Courtès@* Copyright @copyright{} 2013, 2014, 2016 Andreas Enge@* Copyright @copyright{} 2013 Nikita Karetnikov@* Copyright @copyright{} 2014, 2015, 2016 Alex Kost@* Copyright @copyright{} 2015, 2016 Mathieu Lirzin@* Copyright @copyright{} 2014 Pierre-Antoine Rault@* Copyright @copyright{} 2015 Taylan Ulrich Bayırlı/Kammer@* Copyright @copyright{} 2015, 2016, 2017, 2019, 2020, 2021 Leo Famulari@* Copyright @copyright{} 2015, 2016, 2017, 2018, 2019, 2020, 2021 Ricardo Wurmus@* Copyright @copyright{} 2016 Ben Woodcroft@* Copyright @copyright{} 2016, 2017, 2018, 2021 Chris Marusich@* Copyright @copyright{} 2016, 2017, 2018, 2019, 2020, 2021, 2022 Efraim Flashner@* Copyright @copyright{} 2016 John Darrington@* Copyright @copyright{} 2016, 2017 Nikita Gillmann@* Copyright @copyright{} 2016, 2017, 2018, 2019, 2020 Jan Nieuwenhuizen@* Copyright @copyright{} 2016, 2017, 2018, 2019, 2020, 2021 Julien Lepiller@* Copyright @copyright{} 2016 Alex ter Weele@* Copyright @copyright{} 2016, 2017, 2018, 2019, 2020, 2021 Christopher Baines@* Copyright @copyright{} 2017, 2018, 2019 Clément Lassieur@* Copyright @copyright{} 2017, 2018, 2020, 2021 Mathieu Othacehe@* Copyright @copyright{} 2017 Federico Beffa@* Copyright @copyright{} 2017, 2018 Carlo Zancanaro@* Copyright @copyright{} 2017 Thomas Danckaert@* Copyright @copyright{} 2017 humanitiesNerd@* Copyright @copyright{} 2017, 2021 Christine Lemmer-Webber@* Copyright @copyright{} 2017, 2018, 2019, 2020, 2021, 2022 Marius Bakke@* Copyright @copyright{} 2017, 2019, 2020 Hartmut Goebel@* Copyright @copyright{} 2017, 2019, 2020, 2021 Maxim Cournoyer@* Copyright @copyright{} 2017–2022 Tobias Geerinckx-Rice@* Copyright @copyright{} 2017 George Clemmer@* Copyright @copyright{} 2017 Andy Wingo@* Copyright @copyright{} 2017, 2018, 2019, 2020 Arun Isaac@* Copyright @copyright{} 2017 nee@* Copyright @copyright{} 2018 Rutger Helling@* Copyright @copyright{} 2018, 2021 Oleg Pykhalov@* Copyright @copyright{} 2018 Mike Gerwitz@* Copyright @copyright{} 2018 Pierre-Antoine Rouby@* Copyright @copyright{} 2018, 2019 Gábor Boskovits@* Copyright @copyright{} 2018, 2019, 2020 Florian Pelz@* Copyright @copyright{} 2018 Laura Lazzati@* Copyright @copyright{} 2018 Alex Vong@* Copyright @copyright{} 2019 Josh Holland@* Copyright @copyright{} 2019, 2020 Diego Nicola Barbato@* Copyright @copyright{} 2019 Ivan Petkov@* Copyright @copyright{} 2019 Jakob L. Kreuze@* Copyright @copyright{} 2019 Kyle Andrews@* Copyright @copyright{} 2019 Alex Griffin@* Copyright @copyright{} 2019, 2020, 2021, 2022 Guillaume Le Vaillant@* Copyright @copyright{} 2020 Liliana Marie Prikler@* Copyright @copyright{} 2019, 2020, 2021, 2022 Simon Tournier@* Copyright @copyright{} 2020 Wiktor Żelazny@* Copyright @copyright{} 2020 Damien Cassou@* Copyright @copyright{} 2020 Jakub Kądziołka@* Copyright @copyright{} 2020 Jack Hill@* Copyright @copyright{} 2020 Naga Malleswari@* Copyright @copyright{} 2020, 2021 Brice Waegeneire@* Copyright @copyright{} 2020 R Veera Kumar@* Copyright @copyright{} 2020, 2021 Pierre Langlois@* Copyright @copyright{} 2020 pinoaffe@* Copyright @copyright{} 2020 André Batista@* Copyright @copyright{} 2020, 2021 Alexandru-Sergiu Marton@* Copyright @copyright{} 2020 raingloom@* Copyright @copyright{} 2020 Daniel Brooks@* Copyright @copyright{} 2020 John Soo@* Copyright @copyright{} 2020 Jonathan Brielmaier@* Copyright @copyright{} 2020 Edgar Vincent@* Copyright @copyright{} 2021 Maxime Devos@* Copyright @copyright{} 2021 B. Wilson@* Copyright @copyright{} 2021 Xinglu Chen@* Copyright @copyright{} 2021 Raghav Gururajan@* Copyright @copyright{} 2021 Domagoj Stolfa@* Copyright @copyright{} 2021 Hui Lu@* Copyright @copyright{} 2021 pukkamustard@* Copyright @copyright{} 2021 Alice Brenon@* Copyright @copyright{} 2021 Josselin Poiret@* Copyright @copyright{} 2021 Andrew Tropin@* Copyright @copyright{} 2021 Sarah Morgensen@* Copyright @copyright{} 2021 Josselin Poiret@*"
  2288. msgstr ""
  2289. #. type: copying
  2290. #: guix-git/doc/guix.texi:110
  2291. 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''."
  2292. msgstr ""
  2293. #. type: dircategory
  2294. #: guix-git/doc/guix.texi:112
  2295. #, no-wrap
  2296. msgid "System administration"
  2297. msgstr "Järjestelmän hallinta"
  2298. #. type: menuentry
  2299. #: guix-git/doc/guix.texi:120
  2300. msgid "Guix: (guix)"
  2301. msgstr ""
  2302. #. type: menuentry
  2303. #: guix-git/doc/guix.texi:120
  2304. msgid "Manage installed software and system configuration."
  2305. msgstr ""
  2306. #. type: menuentry
  2307. #: guix-git/doc/guix.texi:120
  2308. msgid "guix package: (guix)Invoking guix package"
  2309. msgstr ""
  2310. #. type: menuentry
  2311. #: guix-git/doc/guix.texi:120
  2312. msgid "Installing, removing, and upgrading packages."
  2313. msgstr ""
  2314. #. type: menuentry
  2315. #: guix-git/doc/guix.texi:120
  2316. msgid "guix gc: (guix)Invoking guix gc"
  2317. msgstr ""
  2318. #. type: menuentry
  2319. #: guix-git/doc/guix.texi:120
  2320. msgid "Reclaiming unused disk space."
  2321. msgstr ""
  2322. #. type: menuentry
  2323. #: guix-git/doc/guix.texi:120
  2324. msgid "guix pull: (guix)Invoking guix pull"
  2325. msgstr ""
  2326. #. type: menuentry
  2327. #: guix-git/doc/guix.texi:120
  2328. msgid "Update the list of available packages."
  2329. msgstr ""
  2330. #. type: menuentry
  2331. #: guix-git/doc/guix.texi:120
  2332. msgid "guix system: (guix)Invoking guix system"
  2333. msgstr ""
  2334. #. type: menuentry
  2335. #: guix-git/doc/guix.texi:120
  2336. msgid "Manage the operating system configuration."
  2337. msgstr ""
  2338. #. type: menuentry
  2339. #: guix-git/doc/guix.texi:120
  2340. msgid "guix deploy: (guix)Invoking guix deploy"
  2341. msgstr ""
  2342. #. type: menuentry
  2343. #: guix-git/doc/guix.texi:120
  2344. msgid "Manage operating system configurations for remote hosts."
  2345. msgstr ""
  2346. #. type: dircategory
  2347. #: guix-git/doc/guix.texi:122
  2348. #, no-wrap
  2349. msgid "Software development"
  2350. msgstr "Ohjelmistokehitys"
  2351. #. type: menuentry
  2352. #: guix-git/doc/guix.texi:128
  2353. msgid "guix shell: (guix)Invoking guix shell"
  2354. msgstr ""
  2355. #. type: menuentry
  2356. #: guix-git/doc/guix.texi:128
  2357. msgid "Creating software environments."
  2358. msgstr ""
  2359. #. type: menuentry
  2360. #: guix-git/doc/guix.texi:128
  2361. msgid "guix environment: (guix)Invoking guix environment"
  2362. msgstr ""
  2363. #. type: menuentry
  2364. #: guix-git/doc/guix.texi:128
  2365. msgid "Building development environments with Guix."
  2366. msgstr ""
  2367. #. type: menuentry
  2368. #: guix-git/doc/guix.texi:128
  2369. msgid "guix build: (guix)Invoking guix build"
  2370. msgstr ""
  2371. #. type: menuentry
  2372. #: guix-git/doc/guix.texi:128
  2373. msgid "Building packages."
  2374. msgstr ""
  2375. #. type: menuentry
  2376. #: guix-git/doc/guix.texi:128
  2377. msgid "guix pack: (guix)Invoking guix pack"
  2378. msgstr ""
  2379. #. type: menuentry
  2380. #: guix-git/doc/guix.texi:128
  2381. msgid "Creating binary bundles."
  2382. msgstr ""
  2383. #. type: subtitle
  2384. #: guix-git/doc/guix.texi:132
  2385. #, no-wrap
  2386. msgid "Using the GNU Guix Functional Package Manager"
  2387. msgstr ""
  2388. #. type: author
  2389. #: guix-git/doc/guix.texi:133
  2390. #, no-wrap
  2391. msgid "The GNU Guix Developers"
  2392. msgstr ""
  2393. #. type: titlepage
  2394. #: guix-git/doc/guix.texi:139
  2395. msgid "Edition @value{EDITION} @* @value{UPDATED} @*"
  2396. msgstr ""
  2397. #. type: node
  2398. #: guix-git/doc/guix.texi:146
  2399. #, no-wrap
  2400. msgid "Top"
  2401. msgstr ""
  2402. #. type: top
  2403. #: guix-git/doc/guix.texi:147
  2404. #, no-wrap
  2405. msgid "GNU Guix"
  2406. msgstr "GNU Guix"
  2407. #. type: Plain text
  2408. #: guix-git/doc/guix.texi:151
  2409. msgid "This document describes GNU Guix version @value{VERSION}, a functional package management tool written for the GNU system."
  2410. msgstr ""
  2411. #. type: Plain text
  2412. #: guix-git/doc/guix.texi:163
  2413. 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})."
  2414. msgstr ""
  2415. #. type: chapter
  2416. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:192
  2417. #: guix-git/doc/guix.texi:403 guix-git/doc/guix.texi:404
  2418. #, no-wrap
  2419. msgid "Introduction"
  2420. msgstr "Johdanto"
  2421. #. type: menuentry
  2422. #: guix-git/doc/guix.texi:182
  2423. msgid "What is Guix about?"
  2424. msgstr ""
  2425. #. type: chapter
  2426. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:197
  2427. #: guix-git/doc/guix.texi:600 guix-git/doc/guix.texi:601
  2428. #, no-wrap
  2429. msgid "Installation"
  2430. msgstr "Asennus"
  2431. #. type: menuentry
  2432. #: guix-git/doc/guix.texi:182
  2433. msgid "Installing Guix."
  2434. msgstr ""
  2435. #. type: chapter
  2436. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:213
  2437. #: guix-git/doc/guix.texi:2082 guix-git/doc/guix.texi:2083
  2438. #, no-wrap
  2439. msgid "System Installation"
  2440. msgstr ""
  2441. #. type: menuentry
  2442. #: guix-git/doc/guix.texi:182
  2443. msgid "Installing the whole operating system."
  2444. msgstr ""
  2445. #. type: chapter
  2446. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:2810
  2447. #: guix-git/doc/guix.texi:2811
  2448. #, no-wrap
  2449. msgid "Getting Started"
  2450. msgstr ""
  2451. #. type: menuentry
  2452. #: guix-git/doc/guix.texi:182
  2453. msgid "Your first steps."
  2454. msgstr ""
  2455. #. type: chapter
  2456. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:230
  2457. #: guix-git/doc/guix.texi:3018 guix-git/doc/guix.texi:3019
  2458. #, no-wrap
  2459. msgid "Package Management"
  2460. msgstr ""
  2461. #. type: menuentry
  2462. #: guix-git/doc/guix.texi:182
  2463. msgid "Package installation, upgrade, etc."
  2464. msgstr ""
  2465. #. type: chapter
  2466. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:253
  2467. #: guix-git/doc/guix.texi:5091 guix-git/doc/guix.texi:5092
  2468. #, no-wrap
  2469. msgid "Channels"
  2470. msgstr "Kanavat"
  2471. #. type: menuentry
  2472. #: guix-git/doc/guix.texi:182
  2473. msgid "Customizing the package collection."
  2474. msgstr ""
  2475. #. type: chapter
  2476. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:267
  2477. #: guix-git/doc/guix.texi:5621 guix-git/doc/guix.texi:5622
  2478. #, no-wrap
  2479. msgid "Development"
  2480. msgstr "Kehitys"
  2481. #. type: menuentry
  2482. #: guix-git/doc/guix.texi:182
  2483. msgid "Guix-aided software development."
  2484. msgstr ""
  2485. #. type: chapter
  2486. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:275
  2487. #: guix-git/doc/guix.texi:6864 guix-git/doc/guix.texi:6865
  2488. #, no-wrap
  2489. msgid "Programming Interface"
  2490. msgstr ""
  2491. #. type: menuentry
  2492. #: guix-git/doc/guix.texi:182
  2493. msgid "Using Guix in Scheme."
  2494. msgstr ""
  2495. #. type: chapter
  2496. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:295
  2497. #: guix-git/doc/guix.texi:11192 guix-git/doc/guix.texi:11193
  2498. #, no-wrap
  2499. msgid "Utilities"
  2500. msgstr "Apuohjelmat"
  2501. #. type: menuentry
  2502. #: guix-git/doc/guix.texi:182
  2503. msgid "Package management commands."
  2504. msgstr ""
  2505. #. type: chapter
  2506. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:321
  2507. #: guix-git/doc/guix.texi:14739 guix-git/doc/guix.texi:14740
  2508. #, no-wrap
  2509. msgid "System Configuration"
  2510. msgstr ""
  2511. #. type: menuentry
  2512. #: guix-git/doc/guix.texi:182
  2513. msgid "Configuring the operating system."
  2514. msgstr ""
  2515. #. type: chapter
  2516. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:37485
  2517. #: guix-git/doc/guix.texi:37486
  2518. #, no-wrap
  2519. msgid "Home Configuration"
  2520. msgstr ""
  2521. #. type: menuentry
  2522. #: guix-git/doc/guix.texi:182
  2523. msgid "Configuring the home environment."
  2524. msgstr ""
  2525. #. type: chapter
  2526. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:38404
  2527. #: guix-git/doc/guix.texi:38405
  2528. #, no-wrap
  2529. msgid "Documentation"
  2530. msgstr "Dokumentaatio"
  2531. #. type: menuentry
  2532. #: guix-git/doc/guix.texi:182
  2533. msgid "Browsing software user manuals."
  2534. msgstr ""
  2535. #. type: chapter
  2536. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:390
  2537. #: guix-git/doc/guix.texi:38470 guix-git/doc/guix.texi:38471
  2538. #, no-wrap
  2539. msgid "Installing Debugging Files"
  2540. msgstr ""
  2541. #. type: menuentry
  2542. #: guix-git/doc/guix.texi:182
  2543. msgid "Feeding the debugger."
  2544. msgstr ""
  2545. #. type: chapter
  2546. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:38625
  2547. #: guix-git/doc/guix.texi:38626
  2548. #, no-wrap
  2549. msgid "Security Updates"
  2550. msgstr "Tietoturvapäivitykset"
  2551. #. type: menuentry
  2552. #: guix-git/doc/guix.texi:182
  2553. msgid "Deploying security fixes quickly."
  2554. msgstr ""
  2555. #. type: chapter
  2556. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:395
  2557. #: guix-git/doc/guix.texi:38740 guix-git/doc/guix.texi:38741
  2558. #, no-wrap
  2559. msgid "Bootstrapping"
  2560. msgstr ""
  2561. #. type: menuentry
  2562. #: guix-git/doc/guix.texi:182
  2563. msgid "GNU/Linux built from scratch."
  2564. msgstr ""
  2565. #. type: node
  2566. #: guix-git/doc/guix.texi:182 guix-git/doc/guix.texi:39032
  2567. #, no-wrap
  2568. msgid "Porting"
  2569. msgstr ""
  2570. #. type: menuentry
  2571. #: guix-git/doc/guix.texi:182
  2572. msgid "Targeting another platform or kernel."
  2573. msgstr ""
  2574. #. type: menuentry
  2575. #: guix-git/doc/guix.texi:182
  2576. msgid "Your help needed!"
  2577. msgstr ""
  2578. #. type: chapter
  2579. #: guix-git/doc/guix.texi:187 guix-git/doc/guix.texi:39080
  2580. #: guix-git/doc/guix.texi:39081
  2581. #, no-wrap
  2582. msgid "Acknowledgments"
  2583. msgstr "Kiitokset"
  2584. #. type: menuentry
  2585. #: guix-git/doc/guix.texi:187
  2586. msgid "Thanks!"
  2587. msgstr ""
  2588. #. type: appendix
  2589. #: guix-git/doc/guix.texi:187 guix-git/doc/guix.texi:39102
  2590. #: guix-git/doc/guix.texi:39103
  2591. #, no-wrap
  2592. msgid "GNU Free Documentation License"
  2593. msgstr ""
  2594. #. type: menuentry
  2595. #: guix-git/doc/guix.texi:187
  2596. msgid "The license of this manual."
  2597. msgstr ""
  2598. #. type: unnumbered
  2599. #: guix-git/doc/guix.texi:187 guix-git/doc/guix.texi:39108
  2600. #: guix-git/doc/guix.texi:39109
  2601. #, no-wrap
  2602. msgid "Concept Index"
  2603. msgstr ""
  2604. #. type: menuentry
  2605. #: guix-git/doc/guix.texi:187
  2606. msgid "Concepts."
  2607. msgstr ""
  2608. #. type: unnumbered
  2609. #: guix-git/doc/guix.texi:187 guix-git/doc/guix.texi:39112
  2610. #: guix-git/doc/guix.texi:39113
  2611. #, no-wrap
  2612. msgid "Programming Index"
  2613. msgstr ""
  2614. #. type: menuentry
  2615. #: guix-git/doc/guix.texi:187
  2616. msgid "Data types, functions, and variables."
  2617. msgstr ""
  2618. #. type: menuentry
  2619. #: guix-git/doc/guix.texi:190
  2620. msgid "--- The Detailed Node Listing ---"
  2621. msgstr ""
  2622. #. type: section
  2623. #: guix-git/doc/guix.texi:195 guix-git/doc/guix.texi:430
  2624. #: guix-git/doc/guix.texi:432 guix-git/doc/guix.texi:433
  2625. #, no-wrap
  2626. msgid "Managing Software the Guix Way"
  2627. msgstr ""
  2628. #. type: menuentry
  2629. #: guix-git/doc/guix.texi:195 guix-git/doc/guix.texi:430
  2630. msgid "What's special."
  2631. msgstr ""
  2632. #. type: section
  2633. #: guix-git/doc/guix.texi:195 guix-git/doc/guix.texi:430
  2634. #: guix-git/doc/guix.texi:487 guix-git/doc/guix.texi:488
  2635. #, no-wrap
  2636. msgid "GNU Distribution"
  2637. msgstr ""
  2638. #. type: menuentry
  2639. #: guix-git/doc/guix.texi:195 guix-git/doc/guix.texi:430
  2640. msgid "The packages and tools."
  2641. msgstr ""
  2642. #. type: section
  2643. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:640
  2644. #: guix-git/doc/guix.texi:642 guix-git/doc/guix.texi:643
  2645. #, no-wrap
  2646. msgid "Binary Installation"
  2647. msgstr ""
  2648. #. type: menuentry
  2649. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:640
  2650. msgid "Getting Guix running in no time!"
  2651. msgstr ""
  2652. #. type: section
  2653. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:640
  2654. #: guix-git/doc/guix.texi:882 guix-git/doc/guix.texi:883
  2655. #, no-wrap
  2656. msgid "Requirements"
  2657. msgstr ""
  2658. #. type: menuentry
  2659. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:640
  2660. msgid "Software needed to build and run Guix."
  2661. msgstr ""
  2662. #. type: section
  2663. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:640
  2664. #: guix-git/doc/guix.texi:969 guix-git/doc/guix.texi:970
  2665. #, no-wrap
  2666. msgid "Running the Test Suite"
  2667. msgstr ""
  2668. #. type: menuentry
  2669. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:640
  2670. msgid "Testing Guix."
  2671. msgstr ""
  2672. #. type: section
  2673. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:207
  2674. #: guix-git/doc/guix.texi:640 guix-git/doc/guix.texi:1066
  2675. #: guix-git/doc/guix.texi:1067
  2676. #, no-wrap
  2677. msgid "Setting Up the Daemon"
  2678. msgstr ""
  2679. #. type: menuentry
  2680. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:640
  2681. msgid "Preparing the build daemon's environment."
  2682. msgstr ""
  2683. #. type: node
  2684. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:640
  2685. #: guix-git/doc/guix.texi:1542
  2686. #, no-wrap
  2687. msgid "Invoking guix-daemon"
  2688. msgstr ""
  2689. #. type: menuentry
  2690. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:640
  2691. msgid "Running the build daemon."
  2692. msgstr ""
  2693. #. type: section
  2694. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:640
  2695. #: guix-git/doc/guix.texi:1844 guix-git/doc/guix.texi:1845
  2696. #, no-wrap
  2697. msgid "Application Setup"
  2698. msgstr ""
  2699. #. type: menuentry
  2700. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:640
  2701. msgid "Application-specific setup."
  2702. msgstr ""
  2703. #. type: section
  2704. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:640
  2705. #: guix-git/doc/guix.texi:2045 guix-git/doc/guix.texi:2046
  2706. #, no-wrap
  2707. msgid "Upgrading Guix"
  2708. msgstr ""
  2709. #. type: menuentry
  2710. #: guix-git/doc/guix.texi:205 guix-git/doc/guix.texi:640
  2711. msgid "Upgrading Guix and its build daemon."
  2712. msgstr ""
  2713. #. type: subsection
  2714. #: guix-git/doc/guix.texi:211 guix-git/doc/guix.texi:1086
  2715. #: guix-git/doc/guix.texi:1088 guix-git/doc/guix.texi:1089
  2716. #, no-wrap
  2717. msgid "Build Environment Setup"
  2718. msgstr ""
  2719. #. type: menuentry
  2720. #: guix-git/doc/guix.texi:211 guix-git/doc/guix.texi:1086
  2721. msgid "Preparing the isolated build environment."
  2722. msgstr ""
  2723. #. type: node
  2724. #: guix-git/doc/guix.texi:211 guix-git/doc/guix.texi:1086
  2725. #: guix-git/doc/guix.texi:1212
  2726. #, no-wrap
  2727. msgid "Daemon Offload Setup"
  2728. msgstr ""
  2729. #. type: menuentry
  2730. #: guix-git/doc/guix.texi:211 guix-git/doc/guix.texi:1086
  2731. msgid "Offloading builds to remote machines."
  2732. msgstr ""
  2733. #. type: subsection
  2734. #: guix-git/doc/guix.texi:211 guix-git/doc/guix.texi:1086
  2735. #: guix-git/doc/guix.texi:1451 guix-git/doc/guix.texi:1452
  2736. #, no-wrap
  2737. msgid "SELinux Support"
  2738. msgstr ""
  2739. #. type: menuentry
  2740. #: guix-git/doc/guix.texi:211 guix-git/doc/guix.texi:1086
  2741. msgid "Using an SELinux policy for the daemon."
  2742. msgstr ""
  2743. #. type: section
  2744. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:1487
  2745. #: guix-git/doc/guix.texi:2116 guix-git/doc/guix.texi:2118
  2746. #: guix-git/doc/guix.texi:2119
  2747. #, no-wrap
  2748. msgid "Limitations"
  2749. msgstr ""
  2750. #. type: menuentry
  2751. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2116
  2752. msgid "What you can expect."
  2753. msgstr ""
  2754. #. type: section
  2755. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2116
  2756. #: guix-git/doc/guix.texi:2144 guix-git/doc/guix.texi:2145
  2757. #, no-wrap
  2758. msgid "Hardware Considerations"
  2759. msgstr ""
  2760. #. type: menuentry
  2761. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2116
  2762. msgid "Supported hardware."
  2763. msgstr ""
  2764. #. type: section
  2765. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2116
  2766. #: guix-git/doc/guix.texi:2179 guix-git/doc/guix.texi:2180
  2767. #, no-wrap
  2768. msgid "USB Stick and DVD Installation"
  2769. msgstr ""
  2770. #. type: menuentry
  2771. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2116
  2772. msgid "Preparing the installation medium."
  2773. msgstr ""
  2774. #. type: section
  2775. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2116
  2776. #: guix-git/doc/guix.texi:2260 guix-git/doc/guix.texi:2261
  2777. #, no-wrap
  2778. msgid "Preparing for Installation"
  2779. msgstr ""
  2780. #. type: menuentry
  2781. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2116
  2782. msgid "Networking, partitioning, etc."
  2783. msgstr ""
  2784. #. type: section
  2785. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2116
  2786. #: guix-git/doc/guix.texi:2283 guix-git/doc/guix.texi:2284
  2787. #, no-wrap
  2788. msgid "Guided Graphical Installation"
  2789. msgstr ""
  2790. #. type: menuentry
  2791. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2116
  2792. msgid "Easy graphical installation."
  2793. msgstr ""
  2794. #. type: section
  2795. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:225
  2796. #: guix-git/doc/guix.texi:2116 guix-git/doc/guix.texi:2314
  2797. #: guix-git/doc/guix.texi:2315
  2798. #, no-wrap
  2799. msgid "Manual Installation"
  2800. msgstr "Manuaalinen asennus"
  2801. #. type: menuentry
  2802. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2116
  2803. msgid "Manual installation for wizards."
  2804. msgstr ""
  2805. #. type: section
  2806. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2116
  2807. #: guix-git/doc/guix.texi:2693 guix-git/doc/guix.texi:2694
  2808. #, no-wrap
  2809. msgid "After System Installation"
  2810. msgstr ""
  2811. #. type: menuentry
  2812. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2116
  2813. msgid "When installation succeeded."
  2814. msgstr ""
  2815. #. type: node
  2816. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2116
  2817. #: guix-git/doc/guix.texi:2727
  2818. #, no-wrap
  2819. msgid "Installing Guix in a VM"
  2820. msgstr ""
  2821. #. type: menuentry
  2822. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2116
  2823. msgid "Guix System playground."
  2824. msgstr ""
  2825. #. type: section
  2826. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2116
  2827. #: guix-git/doc/guix.texi:2778 guix-git/doc/guix.texi:2779
  2828. #, no-wrap
  2829. msgid "Building the Installation Image"
  2830. msgstr ""
  2831. #. type: menuentry
  2832. #: guix-git/doc/guix.texi:223 guix-git/doc/guix.texi:2116
  2833. msgid "How this comes to be."
  2834. msgstr ""
  2835. #. type: node
  2836. #: guix-git/doc/guix.texi:228 guix-git/doc/guix.texi:2332
  2837. #: guix-git/doc/guix.texi:2334
  2838. #, no-wrap
  2839. msgid "Keyboard Layout and Networking and Partitioning"
  2840. msgstr ""
  2841. #. type: menuentry
  2842. #: guix-git/doc/guix.texi:228 guix-git/doc/guix.texi:2332
  2843. msgid "Initial setup."
  2844. msgstr "Alkumääritykset."
  2845. #. type: subsection
  2846. #: guix-git/doc/guix.texi:228 guix-git/doc/guix.texi:2332
  2847. #: guix-git/doc/guix.texi:2604 guix-git/doc/guix.texi:2605
  2848. #, no-wrap
  2849. msgid "Proceeding with the Installation"
  2850. msgstr ""
  2851. #. type: menuentry
  2852. #: guix-git/doc/guix.texi:228 guix-git/doc/guix.texi:2332
  2853. msgid "Installing."
  2854. msgstr "Asennetaan."
  2855. #. type: section
  2856. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  2857. #: guix-git/doc/guix.texi:3052 guix-git/doc/guix.texi:3053
  2858. #, no-wrap
  2859. msgid "Features"
  2860. msgstr ""
  2861. #. type: menuentry
  2862. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  2863. msgid "How Guix will make your life brighter."
  2864. msgstr ""
  2865. #. type: node
  2866. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  2867. #: guix-git/doc/guix.texi:3142
  2868. #, no-wrap
  2869. msgid "Invoking guix package"
  2870. msgstr ""
  2871. #. type: menuentry
  2872. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  2873. msgid "Package installation, removal, etc."
  2874. msgstr ""
  2875. #. type: section
  2876. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:243
  2877. #: guix-git/doc/guix.texi:3050 guix-git/doc/guix.texi:3772
  2878. #: guix-git/doc/guix.texi:3773
  2879. #, no-wrap
  2880. msgid "Substitutes"
  2881. msgstr ""
  2882. #. type: menuentry
  2883. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  2884. msgid "Downloading pre-built binaries."
  2885. msgstr ""
  2886. #. type: section
  2887. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  2888. #: guix-git/doc/guix.texi:4108 guix-git/doc/guix.texi:4109
  2889. #, no-wrap
  2890. msgid "Packages with Multiple Outputs"
  2891. msgstr ""
  2892. #. type: menuentry
  2893. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  2894. msgid "Single source package, multiple outputs."
  2895. msgstr ""
  2896. #. type: node
  2897. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  2898. #: guix-git/doc/guix.texi:4162
  2899. #, no-wrap
  2900. msgid "Invoking guix gc"
  2901. msgstr ""
  2902. #. type: menuentry
  2903. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  2904. msgid "Running the garbage collector."
  2905. msgstr ""
  2906. #. type: node
  2907. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  2908. #: guix-git/doc/guix.texi:4372
  2909. #, no-wrap
  2910. msgid "Invoking guix pull"
  2911. msgstr ""
  2912. #. type: menuentry
  2913. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  2914. msgid "Fetching the latest Guix and distribution."
  2915. msgstr ""
  2916. #. type: node
  2917. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  2918. #: guix-git/doc/guix.texi:4623
  2919. #, no-wrap
  2920. msgid "Invoking guix time-machine"
  2921. msgstr ""
  2922. #. type: menuentry
  2923. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  2924. msgid "Running an older revision of Guix."
  2925. msgstr ""
  2926. #. type: section
  2927. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  2928. #: guix-git/doc/guix.texi:4678 guix-git/doc/guix.texi:4679
  2929. #, no-wrap
  2930. msgid "Inferiors"
  2931. msgstr ""
  2932. #. type: menuentry
  2933. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  2934. msgid "Interacting with another revision of Guix."
  2935. msgstr ""
  2936. #. type: node
  2937. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  2938. #: guix-git/doc/guix.texi:4806
  2939. #, no-wrap
  2940. msgid "Invoking guix describe"
  2941. msgstr ""
  2942. #. type: menuentry
  2943. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  2944. msgid "Display information about your Guix revision."
  2945. msgstr ""
  2946. #. type: node
  2947. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  2948. #: guix-git/doc/guix.texi:4901
  2949. #, no-wrap
  2950. msgid "Invoking guix archive"
  2951. msgstr ""
  2952. #. type: menuentry
  2953. #: guix-git/doc/guix.texi:241 guix-git/doc/guix.texi:3050
  2954. msgid "Exporting and importing store files."
  2955. msgstr ""
  2956. #. type: subsection
  2957. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3796
  2958. #: guix-git/doc/guix.texi:3798 guix-git/doc/guix.texi:3799
  2959. #, no-wrap
  2960. msgid "Official Substitute Servers"
  2961. msgstr ""
  2962. #. type: menuentry
  2963. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3796
  2964. msgid "One particular source of substitutes."
  2965. msgstr ""
  2966. #. type: subsection
  2967. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3796
  2968. #: guix-git/doc/guix.texi:3828 guix-git/doc/guix.texi:3829
  2969. #, no-wrap
  2970. msgid "Substitute Server Authorization"
  2971. msgstr ""
  2972. #. type: menuentry
  2973. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3796
  2974. msgid "How to enable or disable substitutes."
  2975. msgstr ""
  2976. #. type: subsection
  2977. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3796
  2978. #: guix-git/doc/guix.texi:3898 guix-git/doc/guix.texi:3899
  2979. #, no-wrap
  2980. msgid "Getting Substitutes from Other Servers"
  2981. msgstr ""
  2982. #. type: menuentry
  2983. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3796
  2984. msgid "Substitute diversity."
  2985. msgstr ""
  2986. #. type: subsection
  2987. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3796
  2988. #: guix-git/doc/guix.texi:4003 guix-git/doc/guix.texi:4004
  2989. #, no-wrap
  2990. msgid "Substitute Authentication"
  2991. msgstr ""
  2992. #. type: menuentry
  2993. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3796
  2994. msgid "How Guix verifies substitutes."
  2995. msgstr ""
  2996. #. type: subsection
  2997. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3796
  2998. #: guix-git/doc/guix.texi:4038 guix-git/doc/guix.texi:4039
  2999. #, no-wrap
  3000. msgid "Proxy Settings"
  3001. msgstr ""
  3002. #. type: menuentry
  3003. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3796
  3004. msgid "How to get substitutes via proxy."
  3005. msgstr ""
  3006. #. type: subsection
  3007. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3796
  3008. #: guix-git/doc/guix.texi:4050 guix-git/doc/guix.texi:4051
  3009. #, no-wrap
  3010. msgid "Substitution Failure"
  3011. msgstr ""
  3012. #. type: menuentry
  3013. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3796
  3014. msgid "What happens when substitution fails."
  3015. msgstr ""
  3016. #. type: subsection
  3017. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3796
  3018. #: guix-git/doc/guix.texi:4078 guix-git/doc/guix.texi:4079
  3019. #, no-wrap
  3020. msgid "On Trusting Binaries"
  3021. msgstr ""
  3022. #. type: menuentry
  3023. #: guix-git/doc/guix.texi:251 guix-git/doc/guix.texi:3796
  3024. msgid "How can you trust that binary blob?"
  3025. msgstr ""
  3026. #. type: section
  3027. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3028. #: guix-git/doc/guix.texi:5124 guix-git/doc/guix.texi:5125
  3029. #, no-wrap
  3030. msgid "Specifying Additional Channels"
  3031. msgstr ""
  3032. #. type: menuentry
  3033. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3034. msgid "Extending the package collection."
  3035. msgstr ""
  3036. #. type: section
  3037. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3038. #: guix-git/doc/guix.texi:5174 guix-git/doc/guix.texi:5175
  3039. #, no-wrap
  3040. msgid "Using a Custom Guix Channel"
  3041. msgstr ""
  3042. #. type: menuentry
  3043. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3044. msgid "Using a customized Guix."
  3045. msgstr ""
  3046. #. type: section
  3047. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3048. #: guix-git/doc/guix.texi:5196 guix-git/doc/guix.texi:5197
  3049. #, no-wrap
  3050. msgid "Replicating Guix"
  3051. msgstr ""
  3052. #. type: menuentry
  3053. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3054. msgid "Running the @emph{exact same} Guix."
  3055. msgstr ""
  3056. #. type: section
  3057. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3058. #: guix-git/doc/guix.texi:5237 guix-git/doc/guix.texi:5238
  3059. #, no-wrap
  3060. msgid "Channel Authentication"
  3061. msgstr ""
  3062. #. type: menuentry
  3063. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3064. msgid "How Guix verifies what it fetches."
  3065. msgstr ""
  3066. #. type: section
  3067. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3068. #: guix-git/doc/guix.texi:5277 guix-git/doc/guix.texi:5278
  3069. #, no-wrap
  3070. msgid "Channels with Substitutes"
  3071. msgstr ""
  3072. #. type: menuentry
  3073. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3074. msgid "Using channels with available substitutes."
  3075. msgstr ""
  3076. #. type: section
  3077. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3078. #: guix-git/doc/guix.texi:5302 guix-git/doc/guix.texi:5303
  3079. #, no-wrap
  3080. msgid "Creating a Channel"
  3081. msgstr ""
  3082. #. type: menuentry
  3083. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3084. msgid "How to write your custom channel."
  3085. msgstr ""
  3086. #. type: section
  3087. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3088. #: guix-git/doc/guix.texi:5369 guix-git/doc/guix.texi:5370
  3089. #, no-wrap
  3090. msgid "Package Modules in a Sub-directory"
  3091. msgstr ""
  3092. #. type: menuentry
  3093. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3094. msgid "Specifying the channel's package modules location."
  3095. msgstr ""
  3096. #. type: section
  3097. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3098. #: guix-git/doc/guix.texi:5383 guix-git/doc/guix.texi:5384
  3099. #, no-wrap
  3100. msgid "Declaring Channel Dependencies"
  3101. msgstr ""
  3102. #. type: menuentry
  3103. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3104. msgid "How to depend on other channels."
  3105. msgstr ""
  3106. #. type: section
  3107. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3108. #: guix-git/doc/guix.texi:5425 guix-git/doc/guix.texi:5426
  3109. #, no-wrap
  3110. msgid "Specifying Channel Authorizations"
  3111. msgstr ""
  3112. #. type: menuentry
  3113. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3114. msgid "Defining channel authors authorizations."
  3115. msgstr ""
  3116. #. type: section
  3117. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3118. #: guix-git/doc/guix.texi:5528 guix-git/doc/guix.texi:5529
  3119. #, no-wrap
  3120. msgid "Primary URL"
  3121. msgstr ""
  3122. #. type: menuentry
  3123. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3124. msgid "Distinguishing mirror to original."
  3125. msgstr ""
  3126. #. type: section
  3127. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3128. #: guix-git/doc/guix.texi:5551 guix-git/doc/guix.texi:5552
  3129. #, no-wrap
  3130. msgid "Writing Channel News"
  3131. msgstr ""
  3132. #. type: menuentry
  3133. #: guix-git/doc/guix.texi:265 guix-git/doc/guix.texi:5122
  3134. msgid "Communicating information to channel's users."
  3135. msgstr ""
  3136. #. type: node
  3137. #: guix-git/doc/guix.texi:273 guix-git/doc/guix.texi:5641
  3138. #: guix-git/doc/guix.texi:5643
  3139. #, no-wrap
  3140. msgid "Invoking guix shell"
  3141. msgstr ""
  3142. #. type: menuentry
  3143. #: guix-git/doc/guix.texi:273 guix-git/doc/guix.texi:5641
  3144. msgid "Spawning one-off software environments."
  3145. msgstr ""
  3146. #. type: node
  3147. #: guix-git/doc/guix.texi:273 guix-git/doc/guix.texi:5641
  3148. #: guix-git/doc/guix.texi:6015
  3149. #, no-wrap
  3150. msgid "Invoking guix environment"
  3151. msgstr ""
  3152. #. type: menuentry
  3153. #: guix-git/doc/guix.texi:273 guix-git/doc/guix.texi:5641
  3154. msgid "Setting up development environments."
  3155. msgstr ""
  3156. #. type: node
  3157. #: guix-git/doc/guix.texi:273 guix-git/doc/guix.texi:5641
  3158. #: guix-git/doc/guix.texi:6390
  3159. #, no-wrap
  3160. msgid "Invoking guix pack"
  3161. msgstr ""
  3162. #. type: menuentry
  3163. #: guix-git/doc/guix.texi:273 guix-git/doc/guix.texi:5641
  3164. msgid "Creating software bundles."
  3165. msgstr ""
  3166. #. type: section
  3167. #: guix-git/doc/guix.texi:273 guix-git/doc/guix.texi:5641
  3168. #: guix-git/doc/guix.texi:6776 guix-git/doc/guix.texi:6777
  3169. #, no-wrap
  3170. msgid "The GCC toolchain"
  3171. msgstr ""
  3172. #. type: menuentry
  3173. #: guix-git/doc/guix.texi:273 guix-git/doc/guix.texi:5641
  3174. msgid "Working with languages supported by GCC."
  3175. msgstr ""
  3176. #. type: node
  3177. #: guix-git/doc/guix.texi:273 guix-git/doc/guix.texi:5641
  3178. #: guix-git/doc/guix.texi:6802
  3179. #, no-wrap
  3180. msgid "Invoking guix git authenticate"
  3181. msgstr ""
  3182. #. type: menuentry
  3183. #: guix-git/doc/guix.texi:273 guix-git/doc/guix.texi:5641
  3184. msgid "Authenticating Git repositories."
  3185. msgstr ""
  3186. #. type: section
  3187. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3188. #: guix-git/doc/guix.texi:6907 guix-git/doc/guix.texi:6908
  3189. #, no-wrap
  3190. msgid "Package Modules"
  3191. msgstr ""
  3192. #. type: menuentry
  3193. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3194. msgid "Packages from the programmer's viewpoint."
  3195. msgstr ""
  3196. #. type: section
  3197. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:290
  3198. #: guix-git/doc/guix.texi:6905 guix-git/doc/guix.texi:6969
  3199. #: guix-git/doc/guix.texi:6970
  3200. #, no-wrap
  3201. msgid "Defining Packages"
  3202. msgstr ""
  3203. #. type: menuentry
  3204. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3205. msgid "Defining new packages."
  3206. msgstr ""
  3207. #. type: section
  3208. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3209. #: guix-git/doc/guix.texi:7634 guix-git/doc/guix.texi:7635
  3210. #, no-wrap
  3211. msgid "Defining Package Variants"
  3212. msgstr ""
  3213. #. type: menuentry
  3214. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3215. msgid "Customizing packages."
  3216. msgstr ""
  3217. #. type: section
  3218. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3219. #: guix-git/doc/guix.texi:7901 guix-git/doc/guix.texi:7902
  3220. #, no-wrap
  3221. msgid "Build Systems"
  3222. msgstr ""
  3223. #. type: menuentry
  3224. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3225. msgid "Specifying how packages are built."
  3226. msgstr ""
  3227. #. type: subsection
  3228. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3229. #: guix-git/doc/guix.texi:8940 guix-git/doc/guix.texi:8941
  3230. #: guix-git/doc/guix.texi:9449
  3231. #, no-wrap
  3232. msgid "Build Phases"
  3233. msgstr ""
  3234. #. type: menuentry
  3235. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3236. msgid "Phases of the build process of a package."
  3237. msgstr ""
  3238. #. type: section
  3239. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3240. #: guix-git/doc/guix.texi:9138 guix-git/doc/guix.texi:9139
  3241. #, no-wrap
  3242. msgid "Build Utilities"
  3243. msgstr ""
  3244. #. type: menuentry
  3245. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3246. msgid "Helpers for your package definitions and more."
  3247. msgstr ""
  3248. #. type: section
  3249. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3250. #: guix-git/doc/guix.texi:9608 guix-git/doc/guix.texi:9609
  3251. #, no-wrap
  3252. msgid "Search Paths"
  3253. msgstr ""
  3254. #. type: menuentry
  3255. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3256. #, fuzzy
  3257. #| msgid "environment variables"
  3258. msgid "Declaring search path environment variables."
  3259. msgstr "ympäristömuuttujat"
  3260. #. type: section
  3261. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3262. #: guix-git/doc/guix.texi:9787 guix-git/doc/guix.texi:9788
  3263. #, no-wrap
  3264. msgid "The Store"
  3265. msgstr ""
  3266. #. type: menuentry
  3267. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3268. msgid "Manipulating the package store."
  3269. msgstr ""
  3270. #. type: section
  3271. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3272. #: guix-git/doc/guix.texi:9940 guix-git/doc/guix.texi:9941
  3273. #, no-wrap
  3274. msgid "Derivations"
  3275. msgstr ""
  3276. #. type: menuentry
  3277. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3278. msgid "Low-level interface to package derivations."
  3279. msgstr ""
  3280. #. type: section
  3281. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3282. #: guix-git/doc/guix.texi:10134 guix-git/doc/guix.texi:10135
  3283. #, no-wrap
  3284. msgid "The Store Monad"
  3285. msgstr ""
  3286. #. type: menuentry
  3287. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3288. msgid "Purely functional interface to the store."
  3289. msgstr ""
  3290. #. type: section
  3291. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3292. #: guix-git/doc/guix.texi:10453 guix-git/doc/guix.texi:10454
  3293. #, no-wrap
  3294. msgid "G-Expressions"
  3295. msgstr ""
  3296. #. type: menuentry
  3297. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3298. msgid "Manipulating build expressions."
  3299. msgstr ""
  3300. #. type: node
  3301. #: guix-git/doc/guix.texi:288 guix-git/doc/guix.texi:6905
  3302. #: guix-git/doc/guix.texi:11092
  3303. #, no-wrap
  3304. msgid "Invoking guix repl"
  3305. msgstr ""
  3306. #. type: menuentry
  3307. #: guix-git/doc/guix.texi:288
  3308. msgid "Programming Guix in Guile."
  3309. msgstr ""
  3310. #. type: node
  3311. #: guix-git/doc/guix.texi:293 guix-git/doc/guix.texi:7166
  3312. #: guix-git/doc/guix.texi:7169
  3313. #, no-wrap
  3314. msgid "package Reference"
  3315. msgstr ""
  3316. #. type: menuentry
  3317. #: guix-git/doc/guix.texi:293 guix-git/doc/guix.texi:7166
  3318. msgid "The package data type."
  3319. msgstr ""
  3320. #. type: node
  3321. #: guix-git/doc/guix.texi:293 guix-git/doc/guix.texi:7166
  3322. #: guix-git/doc/guix.texi:7442
  3323. #, no-wrap
  3324. msgid "origin Reference"
  3325. msgstr ""
  3326. #. type: menuentry
  3327. #: guix-git/doc/guix.texi:293 guix-git/doc/guix.texi:7166
  3328. msgid "The origin data type."
  3329. msgstr ""
  3330. #. type: node
  3331. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3332. #: guix-git/doc/guix.texi:11219
  3333. #, no-wrap
  3334. msgid "Invoking guix build"
  3335. msgstr ""
  3336. #. type: menuentry
  3337. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3338. msgid "Building packages from the command line."
  3339. msgstr ""
  3340. #. type: node
  3341. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3342. #: guix-git/doc/guix.texi:12117
  3343. #, no-wrap
  3344. msgid "Invoking guix edit"
  3345. msgstr ""
  3346. #. type: menuentry
  3347. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3348. msgid "Editing package definitions."
  3349. msgstr ""
  3350. #. type: node
  3351. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3352. #: guix-git/doc/guix.texi:12147
  3353. #, no-wrap
  3354. msgid "Invoking guix download"
  3355. msgstr ""
  3356. #. type: menuentry
  3357. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3358. msgid "Downloading a file and printing its hash."
  3359. msgstr ""
  3360. #. type: node
  3361. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3362. #: guix-git/doc/guix.texi:12205
  3363. #, no-wrap
  3364. msgid "Invoking guix hash"
  3365. msgstr ""
  3366. #. type: menuentry
  3367. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3368. msgid "Computing the cryptographic hash of a file."
  3369. msgstr ""
  3370. #. type: node
  3371. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3372. #: guix-git/doc/guix.texi:12296
  3373. #, no-wrap
  3374. msgid "Invoking guix import"
  3375. msgstr ""
  3376. #. type: menuentry
  3377. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3378. msgid "Importing package definitions."
  3379. msgstr ""
  3380. #. type: node
  3381. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3382. #: guix-git/doc/guix.texi:12831
  3383. #, no-wrap
  3384. msgid "Invoking guix refresh"
  3385. msgstr ""
  3386. #. type: menuentry
  3387. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3388. msgid "Updating package definitions."
  3389. msgstr ""
  3390. #. type: node
  3391. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3392. #: guix-git/doc/guix.texi:13203
  3393. #, no-wrap
  3394. msgid "Invoking guix style"
  3395. msgstr ""
  3396. #. type: menuentry
  3397. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3398. msgid "Styling package definitions."
  3399. msgstr ""
  3400. #. type: node
  3401. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3402. #: guix-git/doc/guix.texi:13341
  3403. #, no-wrap
  3404. msgid "Invoking guix lint"
  3405. msgstr ""
  3406. #. type: menuentry
  3407. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3408. msgid "Finding errors in package definitions."
  3409. msgstr ""
  3410. #. type: node
  3411. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3412. #: guix-git/doc/guix.texi:13517
  3413. #, no-wrap
  3414. msgid "Invoking guix size"
  3415. msgstr ""
  3416. #. type: menuentry
  3417. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3418. msgid "Profiling disk usage."
  3419. msgstr ""
  3420. #. type: node
  3421. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3422. #: guix-git/doc/guix.texi:13661
  3423. #, no-wrap
  3424. msgid "Invoking guix graph"
  3425. msgstr ""
  3426. #. type: menuentry
  3427. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3428. msgid "Visualizing the graph of packages."
  3429. msgstr ""
  3430. #. type: node
  3431. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3432. #: guix-git/doc/guix.texi:13942
  3433. #, no-wrap
  3434. msgid "Invoking guix publish"
  3435. msgstr ""
  3436. #. type: menuentry
  3437. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3438. msgid "Sharing substitutes."
  3439. msgstr ""
  3440. #. type: node
  3441. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3442. #: guix-git/doc/guix.texi:14211
  3443. #, no-wrap
  3444. msgid "Invoking guix challenge"
  3445. msgstr ""
  3446. #. type: menuentry
  3447. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3448. msgid "Challenging substitute servers."
  3449. msgstr ""
  3450. #. type: node
  3451. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3452. #: guix-git/doc/guix.texi:14394
  3453. #, no-wrap
  3454. msgid "Invoking guix copy"
  3455. msgstr ""
  3456. #. type: menuentry
  3457. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3458. msgid "Copying to and from a remote store."
  3459. msgstr ""
  3460. #. type: node
  3461. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3462. #: guix-git/doc/guix.texi:14457
  3463. #, no-wrap
  3464. msgid "Invoking guix container"
  3465. msgstr ""
  3466. #. type: menuentry
  3467. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3468. msgid "Process isolation."
  3469. msgstr ""
  3470. #. type: node
  3471. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3472. #: guix-git/doc/guix.texi:14511
  3473. #, no-wrap
  3474. msgid "Invoking guix weather"
  3475. msgstr ""
  3476. #. type: menuentry
  3477. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3478. msgid "Assessing substitute availability."
  3479. msgstr ""
  3480. #. type: node
  3481. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3482. #: guix-git/doc/guix.texi:14641
  3483. #, no-wrap
  3484. msgid "Invoking guix processes"
  3485. msgstr ""
  3486. #. type: menuentry
  3487. #: guix-git/doc/guix.texi:312 guix-git/doc/guix.texi:11217
  3488. msgid "Listing client processes."
  3489. msgstr ""
  3490. #. type: section
  3491. #: guix-git/doc/guix.texi:314 guix-git/doc/guix.texi:11220
  3492. #, no-wrap
  3493. msgid "Invoking @command{guix build}"
  3494. msgstr ""
  3495. #. type: subsection
  3496. #: guix-git/doc/guix.texi:319 guix-git/doc/guix.texi:11271
  3497. #: guix-git/doc/guix.texi:11273 guix-git/doc/guix.texi:11274
  3498. #, no-wrap
  3499. msgid "Common Build Options"
  3500. msgstr ""
  3501. #. type: menuentry
  3502. #: guix-git/doc/guix.texi:319 guix-git/doc/guix.texi:11271
  3503. msgid "Build options for most commands."
  3504. msgstr ""
  3505. #. type: subsection
  3506. #: guix-git/doc/guix.texi:319 guix-git/doc/guix.texi:11271
  3507. #: guix-git/doc/guix.texi:11428 guix-git/doc/guix.texi:11429
  3508. #, no-wrap
  3509. msgid "Package Transformation Options"
  3510. msgstr ""
  3511. #. type: menuentry
  3512. #: guix-git/doc/guix.texi:319 guix-git/doc/guix.texi:11271
  3513. msgid "Creating variants of packages."
  3514. msgstr ""
  3515. #. type: subsection
  3516. #: guix-git/doc/guix.texi:319 guix-git/doc/guix.texi:11271
  3517. #: guix-git/doc/guix.texi:11799 guix-git/doc/guix.texi:11800
  3518. #, no-wrap
  3519. msgid "Additional Build Options"
  3520. msgstr ""
  3521. #. type: menuentry
  3522. #: guix-git/doc/guix.texi:319 guix-git/doc/guix.texi:11271
  3523. msgid "Options specific to 'guix build'."
  3524. msgstr ""
  3525. #. type: subsection
  3526. #: guix-git/doc/guix.texi:319 guix-git/doc/guix.texi:11271
  3527. #: guix-git/doc/guix.texi:12037 guix-git/doc/guix.texi:12038
  3528. #, no-wrap
  3529. msgid "Debugging Build Failures"
  3530. msgstr ""
  3531. #. type: menuentry
  3532. #: guix-git/doc/guix.texi:319 guix-git/doc/guix.texi:11271
  3533. msgid "Real life packaging experience."
  3534. msgstr ""
  3535. #. type: section
  3536. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3537. #: guix-git/doc/guix.texi:14785 guix-git/doc/guix.texi:14786
  3538. #, no-wrap
  3539. msgid "Using the Configuration System"
  3540. msgstr ""
  3541. #. type: menuentry
  3542. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3543. msgid "Customizing your GNU system."
  3544. msgstr ""
  3545. #. type: node
  3546. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3547. #: guix-git/doc/guix.texi:15036
  3548. #, no-wrap
  3549. msgid "operating-system Reference"
  3550. msgstr ""
  3551. #. type: menuentry
  3552. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3553. msgid "Detail of operating-system declarations."
  3554. msgstr ""
  3555. #. type: section
  3556. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3557. #: guix-git/doc/guix.texi:15259 guix-git/doc/guix.texi:15260
  3558. #, no-wrap
  3559. msgid "File Systems"
  3560. msgstr "Tiedostojärjestelmät"
  3561. #. type: menuentry
  3562. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3563. msgid "Configuring file system mounts."
  3564. msgstr ""
  3565. #. type: section
  3566. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3567. #: guix-git/doc/guix.texi:15612 guix-git/doc/guix.texi:15613
  3568. #, no-wrap
  3569. msgid "Mapped Devices"
  3570. msgstr ""
  3571. #. type: menuentry
  3572. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3573. msgid "Block device extra processing."
  3574. msgstr ""
  3575. #. type: section
  3576. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3577. #: guix-git/doc/guix.texi:15761 guix-git/doc/guix.texi:15762
  3578. #, no-wrap
  3579. msgid "Swap Space"
  3580. msgstr "Sivutuksen tila"
  3581. #. type: menuentry
  3582. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3583. msgid "Backing RAM with disk space."
  3584. msgstr ""
  3585. #. type: section
  3586. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3587. #: guix-git/doc/guix.texi:15878 guix-git/doc/guix.texi:15879
  3588. #, no-wrap
  3589. msgid "User Accounts"
  3590. msgstr ""
  3591. #. type: menuentry
  3592. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3593. msgid "Specifying user accounts."
  3594. msgstr ""
  3595. #. type: section
  3596. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:2341
  3597. #: guix-git/doc/guix.texi:14783 guix-git/doc/guix.texi:16059
  3598. #: guix-git/doc/guix.texi:16060
  3599. #, no-wrap
  3600. msgid "Keyboard Layout"
  3601. msgstr ""
  3602. #. type: menuentry
  3603. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3604. msgid "How the system interprets key strokes."
  3605. msgstr ""
  3606. #. type: section
  3607. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:1852
  3608. #: guix-git/doc/guix.texi:14783 guix-git/doc/guix.texi:16205
  3609. #: guix-git/doc/guix.texi:16206
  3610. #, no-wrap
  3611. msgid "Locales"
  3612. msgstr "Sijainnit"
  3613. #. type: menuentry
  3614. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3615. msgid "Language and cultural convention settings."
  3616. msgstr ""
  3617. #. type: section
  3618. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:346
  3619. #: guix-git/doc/guix.texi:14783 guix-git/doc/guix.texi:16345
  3620. #: guix-git/doc/guix.texi:16346
  3621. #, no-wrap
  3622. msgid "Services"
  3623. msgstr "Palvelut"
  3624. #. type: menuentry
  3625. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3626. msgid "Specifying system services."
  3627. msgstr ""
  3628. #. type: section
  3629. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3630. #: guix-git/doc/guix.texi:34607 guix-git/doc/guix.texi:34608
  3631. #, no-wrap
  3632. msgid "Setuid Programs"
  3633. msgstr ""
  3634. #. type: menuentry
  3635. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3636. msgid "Programs running with root privileges."
  3637. msgstr ""
  3638. #. type: section
  3639. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:2017
  3640. #: guix-git/doc/guix.texi:14783 guix-git/doc/guix.texi:34693
  3641. #: guix-git/doc/guix.texi:34694
  3642. #, no-wrap
  3643. msgid "X.509 Certificates"
  3644. msgstr ""
  3645. #. type: menuentry
  3646. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3647. msgid "Authenticating HTTPS servers."
  3648. msgstr ""
  3649. #. type: section
  3650. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:1911
  3651. #: guix-git/doc/guix.texi:14783 guix-git/doc/guix.texi:34756
  3652. #: guix-git/doc/guix.texi:34757
  3653. #, no-wrap
  3654. msgid "Name Service Switch"
  3655. msgstr ""
  3656. #. type: menuentry
  3657. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3658. msgid "Configuring libc's name service switch."
  3659. msgstr ""
  3660. #. type: section
  3661. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3662. #: guix-git/doc/guix.texi:34894 guix-git/doc/guix.texi:34895
  3663. #, no-wrap
  3664. msgid "Initial RAM Disk"
  3665. msgstr ""
  3666. #. type: menuentry
  3667. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3668. msgid "Linux-Libre bootstrapping."
  3669. msgstr ""
  3670. #. type: section
  3671. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3672. #: guix-git/doc/guix.texi:35089 guix-git/doc/guix.texi:35090
  3673. #, no-wrap
  3674. msgid "Bootloader Configuration"
  3675. msgstr ""
  3676. #. type: menuentry
  3677. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3678. msgid "Configuring the boot loader."
  3679. msgstr ""
  3680. #. type: node
  3681. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3682. #: guix-git/doc/guix.texi:35387
  3683. #, no-wrap
  3684. msgid "Invoking guix system"
  3685. msgstr ""
  3686. #. type: menuentry
  3687. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3688. msgid "Instantiating a system configuration."
  3689. msgstr ""
  3690. #. type: node
  3691. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3692. #: guix-git/doc/guix.texi:35995
  3693. #, no-wrap
  3694. msgid "Invoking guix deploy"
  3695. msgstr ""
  3696. #. type: menuentry
  3697. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3698. msgid "Deploying a system configuration to a remote host."
  3699. msgstr ""
  3700. #. type: node
  3701. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3702. #: guix-git/doc/guix.texi:36235
  3703. #, no-wrap
  3704. msgid "Running Guix in a VM"
  3705. msgstr ""
  3706. #. type: menuentry
  3707. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3708. msgid "How to run Guix System in a virtual machine."
  3709. msgstr ""
  3710. #. type: section
  3711. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:382
  3712. #: guix-git/doc/guix.texi:14783 guix-git/doc/guix.texi:36369
  3713. #: guix-git/doc/guix.texi:36370
  3714. #, no-wrap
  3715. msgid "Defining Services"
  3716. msgstr ""
  3717. #. type: menuentry
  3718. #: guix-git/doc/guix.texi:340 guix-git/doc/guix.texi:14783
  3719. msgid "Adding new service definitions."
  3720. msgstr ""
  3721. #. type: menuentry
  3722. #: guix-git/doc/guix.texi:342
  3723. msgid "Home Environment Configuration"
  3724. msgstr ""
  3725. #. type: node
  3726. #: guix-git/doc/guix.texi:344 guix-git/doc/guix.texi:37548
  3727. #: guix-git/doc/guix.texi:38168
  3728. #, no-wrap
  3729. msgid "Invoking guix home"
  3730. msgstr ""
  3731. #. type: menuentry
  3732. #: guix-git/doc/guix.texi:344
  3733. msgid "Instantiating a home environment configuration."
  3734. msgstr ""
  3735. #. type: subsection
  3736. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3737. #: guix-git/doc/guix.texi:16431 guix-git/doc/guix.texi:16432
  3738. #, no-wrap
  3739. msgid "Base Services"
  3740. msgstr ""
  3741. #. type: menuentry
  3742. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3743. msgid "Essential system services."
  3744. msgstr ""
  3745. #. type: subsection
  3746. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3747. #: guix-git/doc/guix.texi:17367 guix-git/doc/guix.texi:17368
  3748. #, no-wrap
  3749. msgid "Scheduled Job Execution"
  3750. msgstr ""
  3751. #. type: menuentry
  3752. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3753. msgid "The mcron service."
  3754. msgstr ""
  3755. #. type: subsection
  3756. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3757. #: guix-git/doc/guix.texi:17517 guix-git/doc/guix.texi:17518
  3758. #, no-wrap
  3759. msgid "Log Rotation"
  3760. msgstr ""
  3761. #. type: menuentry
  3762. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3763. msgid "The rottlog service."
  3764. msgstr ""
  3765. #. type: subsection
  3766. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3767. #: guix-git/doc/guix.texi:17630 guix-git/doc/guix.texi:17631
  3768. #, no-wrap
  3769. msgid "Networking Setup"
  3770. msgstr ""
  3771. #. type: menuentry
  3772. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3773. msgid "Setting up network interfaces."
  3774. msgstr ""
  3775. #. type: subsection
  3776. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3777. #: guix-git/doc/guix.texi:18048 guix-git/doc/guix.texi:18049
  3778. #, no-wrap
  3779. msgid "Networking Services"
  3780. msgstr "Verkkopalvelut"
  3781. #. type: menuentry
  3782. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3783. msgid "Firewall, SSH daemon, etc."
  3784. msgstr ""
  3785. #. type: subsection
  3786. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3787. #: guix-git/doc/guix.texi:19507 guix-git/doc/guix.texi:19508
  3788. #, no-wrap
  3789. msgid "Unattended Upgrades"
  3790. msgstr ""
  3791. #. type: menuentry
  3792. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3793. msgid "Automated system upgrades."
  3794. msgstr ""
  3795. #. type: subsection
  3796. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3797. #: guix-git/doc/guix.texi:19645 guix-git/doc/guix.texi:19646
  3798. #, no-wrap
  3799. msgid "X Window"
  3800. msgstr ""
  3801. #. type: menuentry
  3802. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3803. msgid "Graphical display."
  3804. msgstr ""
  3805. #. type: subsection
  3806. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3807. #: guix-git/doc/guix.texi:20043 guix-git/doc/guix.texi:20044
  3808. #, no-wrap
  3809. msgid "Printing Services"
  3810. msgstr ""
  3811. #. type: menuentry
  3812. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3813. msgid "Local and remote printer support."
  3814. msgstr ""
  3815. #. type: subsection
  3816. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3817. #: guix-git/doc/guix.texi:20896 guix-git/doc/guix.texi:20897
  3818. #, no-wrap
  3819. msgid "Desktop Services"
  3820. msgstr ""
  3821. #. type: menuentry
  3822. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3823. msgid "D-Bus and desktop services."
  3824. msgstr ""
  3825. #. type: subsection
  3826. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3827. #: guix-git/doc/guix.texi:21415 guix-git/doc/guix.texi:21416
  3828. #, no-wrap
  3829. msgid "Sound Services"
  3830. msgstr ""
  3831. #. type: menuentry
  3832. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3833. msgid "ALSA and Pulseaudio services."
  3834. msgstr ""
  3835. #. type: subsection
  3836. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3837. #: guix-git/doc/guix.texi:21588 guix-git/doc/guix.texi:21589
  3838. #, no-wrap
  3839. msgid "Database Services"
  3840. msgstr ""
  3841. #. type: menuentry
  3842. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3843. msgid "SQL databases, key-value stores, etc."
  3844. msgstr ""
  3845. #. type: subsection
  3846. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3847. #: guix-git/doc/guix.texi:21923 guix-git/doc/guix.texi:21924
  3848. #, no-wrap
  3849. msgid "Mail Services"
  3850. msgstr ""
  3851. #. type: menuentry
  3852. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3853. msgid "IMAP, POP3, SMTP, and all that."
  3854. msgstr ""
  3855. #. type: subsection
  3856. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3857. #: guix-git/doc/guix.texi:23782 guix-git/doc/guix.texi:23783
  3858. #, no-wrap
  3859. msgid "Messaging Services"
  3860. msgstr ""
  3861. #. type: menuentry
  3862. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3863. msgid "Messaging services."
  3864. msgstr ""
  3865. #. type: subsection
  3866. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3867. #: guix-git/doc/guix.texi:24285 guix-git/doc/guix.texi:24286
  3868. #, no-wrap
  3869. msgid "Telephony Services"
  3870. msgstr ""
  3871. #. type: menuentry
  3872. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3873. msgid "Telephony services."
  3874. msgstr ""
  3875. #. type: subsection
  3876. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3877. #: guix-git/doc/guix.texi:25516 guix-git/doc/guix.texi:25517
  3878. #, no-wrap
  3879. msgid "Monitoring Services"
  3880. msgstr ""
  3881. #. type: menuentry
  3882. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3883. msgid "Monitoring services."
  3884. msgstr ""
  3885. #. type: subsection
  3886. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3887. #: guix-git/doc/guix.texi:25937 guix-git/doc/guix.texi:25938
  3888. #, no-wrap
  3889. msgid "Kerberos Services"
  3890. msgstr ""
  3891. #. type: menuentry
  3892. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3893. msgid "Kerberos services."
  3894. msgstr ""
  3895. #. type: subsection
  3896. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3897. #: guix-git/doc/guix.texi:26063 guix-git/doc/guix.texi:26064
  3898. #, no-wrap
  3899. msgid "LDAP Services"
  3900. msgstr ""
  3901. #. type: menuentry
  3902. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3903. msgid "LDAP services."
  3904. msgstr ""
  3905. #. type: subsection
  3906. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3907. #: guix-git/doc/guix.texi:26542 guix-git/doc/guix.texi:26543
  3908. #, no-wrap
  3909. msgid "Web Services"
  3910. msgstr ""
  3911. #. type: menuentry
  3912. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3913. msgid "Web servers."
  3914. msgstr ""
  3915. #. type: subsection
  3916. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3917. #: guix-git/doc/guix.texi:27753 guix-git/doc/guix.texi:27754
  3918. #, no-wrap
  3919. msgid "Certificate Services"
  3920. msgstr ""
  3921. #. type: menuentry
  3922. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3923. msgid "TLS certificates via Let's Encrypt."
  3924. msgstr ""
  3925. #. type: subsection
  3926. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3927. #: guix-git/doc/guix.texi:27934 guix-git/doc/guix.texi:27935
  3928. #, no-wrap
  3929. msgid "DNS Services"
  3930. msgstr ""
  3931. #. type: menuentry
  3932. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3933. msgid "DNS daemons."
  3934. msgstr ""
  3935. #. type: subsection
  3936. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3937. #: guix-git/doc/guix.texi:28679 guix-git/doc/guix.texi:28680
  3938. #, no-wrap
  3939. msgid "VPN Services"
  3940. msgstr ""
  3941. #. type: menuentry
  3942. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3943. msgid "VPN daemons."
  3944. msgstr ""
  3945. #. type: subsection
  3946. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3947. #: guix-git/doc/guix.texi:29191 guix-git/doc/guix.texi:29192
  3948. #, no-wrap
  3949. msgid "Network File System"
  3950. msgstr "Verkkotiedostojärjestelmä"
  3951. #. type: menuentry
  3952. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3953. msgid "NFS related services."
  3954. msgstr ""
  3955. #. type: subsection
  3956. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3957. #: guix-git/doc/guix.texi:29387 guix-git/doc/guix.texi:29388
  3958. #, no-wrap
  3959. msgid "Continuous Integration"
  3960. msgstr ""
  3961. #. type: menuentry
  3962. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3963. msgid "Cuirass and Laminar services."
  3964. msgstr ""
  3965. #. type: subsection
  3966. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3967. #: guix-git/doc/guix.texi:29673 guix-git/doc/guix.texi:29674
  3968. #, no-wrap
  3969. msgid "Power Management Services"
  3970. msgstr ""
  3971. #. type: menuentry
  3972. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3973. msgid "Extending battery life."
  3974. msgstr ""
  3975. #. type: subsection
  3976. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3977. #: guix-git/doc/guix.texi:30235 guix-git/doc/guix.texi:30236
  3978. #, no-wrap
  3979. msgid "Audio Services"
  3980. msgstr ""
  3981. #. type: menuentry
  3982. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3983. msgid "The MPD."
  3984. msgstr ""
  3985. #. type: subsection
  3986. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3987. #: guix-git/doc/guix.texi:30354 guix-git/doc/guix.texi:30355
  3988. #, no-wrap
  3989. msgid "Virtualization Services"
  3990. msgstr ""
  3991. #. type: menuentry
  3992. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3993. msgid "Virtualization services."
  3994. msgstr ""
  3995. #. type: subsection
  3996. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  3997. #: guix-git/doc/guix.texi:32026 guix-git/doc/guix.texi:32027
  3998. #, no-wrap
  3999. msgid "Version Control Services"
  4000. msgstr ""
  4001. #. type: menuentry
  4002. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4003. msgid "Providing remote access to Git repositories."
  4004. msgstr ""
  4005. #. type: subsection
  4006. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4007. #: guix-git/doc/guix.texi:33362 guix-git/doc/guix.texi:33363
  4008. #, no-wrap
  4009. msgid "Game Services"
  4010. msgstr ""
  4011. #. type: menuentry
  4012. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4013. msgid "Game servers."
  4014. msgstr ""
  4015. #. type: subsection
  4016. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4017. #: guix-git/doc/guix.texi:33394 guix-git/doc/guix.texi:33395
  4018. #, no-wrap
  4019. msgid "PAM Mount Service"
  4020. msgstr ""
  4021. #. type: menuentry
  4022. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4023. msgid "Service to mount volumes when logging in."
  4024. msgstr ""
  4025. #. type: subsection
  4026. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4027. #: guix-git/doc/guix.texi:33477 guix-git/doc/guix.texi:33478
  4028. #, no-wrap
  4029. msgid "Guix Services"
  4030. msgstr ""
  4031. #. type: menuentry
  4032. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4033. msgid "Services relating specifically to Guix."
  4034. msgstr ""
  4035. #. type: subsection
  4036. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4037. #: guix-git/doc/guix.texi:33841 guix-git/doc/guix.texi:33842
  4038. #, no-wrap
  4039. msgid "Linux Services"
  4040. msgstr ""
  4041. #. type: menuentry
  4042. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4043. msgid "Services tied to the Linux kernel."
  4044. msgstr ""
  4045. #. type: subsection
  4046. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4047. #: guix-git/doc/guix.texi:34068 guix-git/doc/guix.texi:34069
  4048. #, no-wrap
  4049. msgid "Hurd Services"
  4050. msgstr ""
  4051. #. type: menuentry
  4052. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4053. msgid "Services specific for a Hurd System."
  4054. msgstr ""
  4055. #. type: subsection
  4056. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4057. #: guix-git/doc/guix.texi:34110 guix-git/doc/guix.texi:34111
  4058. #, no-wrap
  4059. msgid "Miscellaneous Services"
  4060. msgstr ""
  4061. #. type: menuentry
  4062. #: guix-git/doc/guix.texi:380 guix-git/doc/guix.texi:16429
  4063. msgid "Other services."
  4064. msgstr "Muut palvelut."
  4065. #. type: subsection
  4066. #: guix-git/doc/guix.texi:388 guix-git/doc/guix.texi:36382
  4067. #: guix-git/doc/guix.texi:36384 guix-git/doc/guix.texi:36385
  4068. #, no-wrap
  4069. msgid "Service Composition"
  4070. msgstr ""
  4071. #. type: menuentry
  4072. #: guix-git/doc/guix.texi:388 guix-git/doc/guix.texi:36382
  4073. msgid "The model for composing services."
  4074. msgstr ""
  4075. #. type: subsection
  4076. #: guix-git/doc/guix.texi:388 guix-git/doc/guix.texi:36382
  4077. #: guix-git/doc/guix.texi:36440 guix-git/doc/guix.texi:36441
  4078. #, no-wrap
  4079. msgid "Service Types and Services"
  4080. msgstr ""
  4081. #. type: menuentry
  4082. #: guix-git/doc/guix.texi:388 guix-git/doc/guix.texi:36382
  4083. msgid "Types and services."
  4084. msgstr ""
  4085. #. type: subsection
  4086. #: guix-git/doc/guix.texi:388 guix-git/doc/guix.texi:36382
  4087. #: guix-git/doc/guix.texi:36577 guix-git/doc/guix.texi:36578
  4088. #, no-wrap
  4089. msgid "Service Reference"
  4090. msgstr ""
  4091. #. type: menuentry
  4092. #: guix-git/doc/guix.texi:388 guix-git/doc/guix.texi:36382
  4093. msgid "API reference."
  4094. msgstr ""
  4095. #. type: subsection
  4096. #: guix-git/doc/guix.texi:388 guix-git/doc/guix.texi:36382
  4097. #: guix-git/doc/guix.texi:36896 guix-git/doc/guix.texi:36897
  4098. #, no-wrap
  4099. msgid "Shepherd Services"
  4100. msgstr ""
  4101. #. type: menuentry
  4102. #: guix-git/doc/guix.texi:388 guix-git/doc/guix.texi:36382
  4103. msgid "A particular type of service."
  4104. msgstr ""
  4105. #. type: subsection
  4106. #: guix-git/doc/guix.texi:388 guix-git/doc/guix.texi:36382
  4107. #: guix-git/doc/guix.texi:37115 guix-git/doc/guix.texi:37116
  4108. #, no-wrap
  4109. msgid "Complex Configurations"
  4110. msgstr "Moniosaiset asetukset"
  4111. #. type: menuentry
  4112. #: guix-git/doc/guix.texi:388 guix-git/doc/guix.texi:36382
  4113. msgid "Defining bindings for complex configurations."
  4114. msgstr ""
  4115. #. type: section
  4116. #: guix-git/doc/guix.texi:393 guix-git/doc/guix.texi:38487
  4117. #: guix-git/doc/guix.texi:38489 guix-git/doc/guix.texi:38490
  4118. #, no-wrap
  4119. msgid "Separate Debug Info"
  4120. msgstr ""
  4121. #. type: menuentry
  4122. #: guix-git/doc/guix.texi:393 guix-git/doc/guix.texi:38487
  4123. msgid "Installing 'debug' outputs."
  4124. msgstr ""
  4125. #. type: section
  4126. #: guix-git/doc/guix.texi:393 guix-git/doc/guix.texi:38487
  4127. #: guix-git/doc/guix.texi:38562 guix-git/doc/guix.texi:38563
  4128. #, no-wrap
  4129. msgid "Rebuilding Debug Info"
  4130. msgstr ""
  4131. #. type: menuentry
  4132. #: guix-git/doc/guix.texi:393 guix-git/doc/guix.texi:38487
  4133. msgid "Building missing debug info."
  4134. msgstr ""
  4135. #. type: node
  4136. #: guix-git/doc/guix.texi:398 guix-git/doc/guix.texi:38779
  4137. #: guix-git/doc/guix.texi:38781
  4138. #, no-wrap
  4139. msgid "Reduced Binary Seed Bootstrap"
  4140. msgstr ""
  4141. #. type: menuentry
  4142. #: guix-git/doc/guix.texi:398 guix-git/doc/guix.texi:38779
  4143. msgid "A Bootstrap worthy of GNU."
  4144. msgstr ""
  4145. #. type: section
  4146. #: guix-git/doc/guix.texi:398 guix-git/doc/guix.texi:38779
  4147. #: guix-git/doc/guix.texi:38856 guix-git/doc/guix.texi:38857
  4148. #, no-wrap
  4149. msgid "Preparing to Use the Bootstrap Binaries"
  4150. msgstr ""
  4151. #. type: menuentry
  4152. #: guix-git/doc/guix.texi:398 guix-git/doc/guix.texi:38779
  4153. msgid "Building that what matters most."
  4154. msgstr ""
  4155. #. type: cindex
  4156. #: guix-git/doc/guix.texi:406
  4157. #, no-wrap
  4158. msgid "purpose"
  4159. msgstr "tarkoitus"
  4160. #. type: Plain text
  4161. #: guix-git/doc/guix.texi:414
  4162. msgid "GNU Guix@footnote{``Guix'' is pronounced like ``geeks'', or ``ɡiːks'' using the international phonetic alphabet (IPA).} is a package management tool for and distribution of the GNU system. Guix makes it easy for unprivileged users to install, upgrade, or remove software packages, to roll back to a previous package set, to build packages from source, and generally assists with the creation and maintenance of software environments."
  4163. msgstr ""
  4164. #. type: cindex
  4165. #: guix-git/doc/guix.texi:415 guix-git/doc/guix.texi:490
  4166. #, no-wrap
  4167. msgid "Guix System"
  4168. msgstr ""
  4169. #. type: cindex
  4170. #: guix-git/doc/guix.texi:416
  4171. #, no-wrap
  4172. msgid "GuixSD, now Guix System"
  4173. msgstr ""
  4174. #. type: cindex
  4175. #: guix-git/doc/guix.texi:417
  4176. #, no-wrap
  4177. msgid "Guix System Distribution, now Guix System"
  4178. msgstr ""
  4179. #. type: Plain text
  4180. #: guix-git/doc/guix.texi:426
  4181. msgid "You can install GNU@tie{}Guix on top of an existing GNU/Linux system where it complements the available tools without interference (@pxref{Installation}), or you can use it as a standalone operating system distribution, @dfn{Guix@tie{}System}@footnote{We used to refer to Guix System as ``Guix System Distribution'' or ``GuixSD''. We now consider it makes more sense to group everything under the ``Guix'' banner since, after all, Guix System is readily available through the @command{guix system} command, even if you're using a different distro underneath!}. @xref{GNU Distribution}."
  4182. msgstr ""
  4183. #. type: cindex
  4184. #: guix-git/doc/guix.texi:435
  4185. #, no-wrap
  4186. msgid "user interfaces"
  4187. msgstr "käyttöliittymät"
  4188. #. type: Plain text
  4189. #: guix-git/doc/guix.texi:441
  4190. msgid "Guix provides a command-line package management interface (@pxref{Package Management}), tools to help with software development (@pxref{Development}), command-line utilities for more advanced usage (@pxref{Utilities}), as well as Scheme programming interfaces (@pxref{Programming Interface})."
  4191. msgstr ""
  4192. #. type: cindex
  4193. #: guix-git/doc/guix.texi:441
  4194. #, no-wrap
  4195. msgid "build daemon"
  4196. msgstr ""
  4197. #. type: Plain text
  4198. #: guix-git/doc/guix.texi:445
  4199. msgid "Its @dfn{build daemon} is responsible for building packages on behalf of users (@pxref{Setting Up the Daemon}) and for downloading pre-built binaries from authorized sources (@pxref{Substitutes})."
  4200. msgstr ""
  4201. #. type: cindex
  4202. #: guix-git/doc/guix.texi:446
  4203. #, no-wrap
  4204. msgid "extensibility of the distribution"
  4205. msgstr ""
  4206. #. type: cindex
  4207. #: guix-git/doc/guix.texi:447 guix-git/doc/guix.texi:6929
  4208. #, no-wrap
  4209. msgid "customization, of packages"
  4210. msgstr ""
  4211. #. type: Plain text
  4212. #: guix-git/doc/guix.texi:456
  4213. msgid "Guix includes package definitions for many GNU and non-GNU packages, all of which @uref{https://www.gnu.org/philosophy/free-sw.html, respect the user's computing freedom}. It is @emph{extensible}: users can write their own package definitions (@pxref{Defining Packages}) and make them available as independent package modules (@pxref{Package Modules}). It is also @emph{customizable}: users can @emph{derive} specialized package definitions from existing ones, including from the command line (@pxref{Package Transformation Options})."
  4214. msgstr ""
  4215. #. type: cindex
  4216. #: guix-git/doc/guix.texi:457
  4217. #, no-wrap
  4218. msgid "functional package management"
  4219. msgstr ""
  4220. #. type: cindex
  4221. #: guix-git/doc/guix.texi:458
  4222. #, no-wrap
  4223. msgid "isolation"
  4224. msgstr ""
  4225. #. type: Plain text
  4226. #: guix-git/doc/guix.texi:473
  4227. msgid "Under the hood, Guix implements the @dfn{functional package management} discipline pioneered by Nix (@pxref{Acknowledgments}). In Guix, the package build and installation process is seen as a @emph{function}, in the mathematical sense. That function takes inputs, such as build scripts, a compiler, and libraries, and returns an installed package. As a pure function, its result depends solely on its inputs---for instance, it cannot refer to software or scripts that were not explicitly passed as inputs. A build function always produces the same result when passed a given set of inputs. It cannot alter the environment of the running system in any way; for instance, it cannot create, modify, or delete files outside of its build and installation directories. This is achieved by running build processes in isolated environments (or @dfn{containers}), where only their explicit inputs are visible."
  4228. msgstr ""
  4229. #. type: cindex
  4230. #: guix-git/doc/guix.texi:474 guix-git/doc/guix.texi:9790
  4231. #, no-wrap
  4232. msgid "store"
  4233. msgstr ""
  4234. #. type: Plain text
  4235. #: guix-git/doc/guix.texi:481
  4236. msgid "The result of package build functions is @dfn{cached} in the file system, in a special directory called @dfn{the store} (@pxref{The Store}). Each package is installed in a directory of its own in the store---by default under @file{/gnu/store}. The directory name contains a hash of all the inputs used to build that package; thus, changing an input yields a different directory name."
  4237. msgstr ""
  4238. #. type: Plain text
  4239. #: guix-git/doc/guix.texi:485
  4240. msgid "This approach is the foundation for the salient features of Guix: support for transactional package upgrade and rollback, per-user installation, and garbage collection of packages (@pxref{Features})."
  4241. msgstr ""
  4242. #. type: Plain text
  4243. #: guix-git/doc/guix.texi:500
  4244. msgid "Guix comes with a distribution of the GNU system consisting entirely of free software@footnote{The term ``free'' here refers to the @url{https://www.gnu.org/philosophy/free-sw.html,freedom provided to users of that software}.}. The distribution can be installed on its own (@pxref{System Installation}), but it is also possible to install Guix as a package manager on top of an installed GNU/Linux system (@pxref{Installation}). When we need to distinguish between the two, we refer to the standalone distribution as Guix@tie{}System."
  4245. msgstr ""
  4246. #. type: Plain text
  4247. #: guix-git/doc/guix.texi:506
  4248. msgid "The distribution provides core GNU packages such as GNU libc, GCC, and Binutils, as well as many GNU and non-GNU applications. The complete list of available packages can be browsed @url{https://www.gnu.org/software/guix/packages,on-line} or by running @command{guix package} (@pxref{Invoking guix package}):"
  4249. msgstr ""
  4250. #. type: example
  4251. #: guix-git/doc/guix.texi:509
  4252. #, no-wrap
  4253. msgid "guix package --list-available\n"
  4254. msgstr ""
  4255. #. type: Plain text
  4256. #: guix-git/doc/guix.texi:515
  4257. msgid "Our goal is to provide a practical 100% free software distribution of Linux-based and other variants of GNU, with a focus on the promotion and tight integration of GNU components, and an emphasis on programs and tools that help users exert that freedom."
  4258. msgstr ""
  4259. #. type: Plain text
  4260. #: guix-git/doc/guix.texi:517
  4261. msgid "Packages are currently available on the following platforms:"
  4262. msgstr ""
  4263. #. type: item
  4264. #: guix-git/doc/guix.texi:520 guix-git/doc/guix.texi:2188
  4265. #, no-wrap
  4266. msgid "x86_64-linux"
  4267. msgstr ""
  4268. #. type: table
  4269. #: guix-git/doc/guix.texi:522
  4270. msgid "Intel/AMD @code{x86_64} architecture, Linux-Libre kernel."
  4271. msgstr ""
  4272. #. type: item
  4273. #: guix-git/doc/guix.texi:523 guix-git/doc/guix.texi:2191
  4274. #, no-wrap
  4275. msgid "i686-linux"
  4276. msgstr ""
  4277. #. type: table
  4278. #: guix-git/doc/guix.texi:525
  4279. msgid "Intel 32-bit architecture (IA32), Linux-Libre kernel."
  4280. msgstr ""
  4281. #. type: item
  4282. #: guix-git/doc/guix.texi:526
  4283. #, no-wrap
  4284. msgid "armhf-linux"
  4285. msgstr ""
  4286. #. type: table
  4287. #: guix-git/doc/guix.texi:530
  4288. msgid "ARMv7-A architecture with hard float, Thumb-2 and NEON, using the EABI hard-float application binary interface (ABI), and Linux-Libre kernel."
  4289. msgstr ""
  4290. #. type: item
  4291. #: guix-git/doc/guix.texi:531
  4292. #, no-wrap
  4293. msgid "aarch64-linux"
  4294. msgstr ""
  4295. #. type: table
  4296. #: guix-git/doc/guix.texi:533
  4297. msgid "little-endian 64-bit ARMv8-A processors, Linux-Libre kernel."
  4298. msgstr ""
  4299. #. type: item
  4300. #: guix-git/doc/guix.texi:534
  4301. #, no-wrap
  4302. msgid "i586-gnu"
  4303. msgstr ""
  4304. #. type: table
  4305. #: guix-git/doc/guix.texi:537
  4306. msgid "@uref{https://hurd.gnu.org, GNU/Hurd} on the Intel 32-bit architecture (IA32)."
  4307. msgstr ""
  4308. #. type: table
  4309. #: guix-git/doc/guix.texi:543
  4310. msgid "This configuration is experimental and under development. The easiest way for you to give it a try is by setting up an instance of @code{hurd-vm-service-type} on your GNU/Linux machine (@pxref{transparent-emulation-qemu, @code{hurd-vm-service-type}}). @xref{Contributing}, on how to help!"
  4311. msgstr ""
  4312. #. type: item
  4313. #: guix-git/doc/guix.texi:544
  4314. #, no-wrap
  4315. msgid "mips64el-linux (unsupported)"
  4316. msgstr ""
  4317. #. type: table
  4318. #: guix-git/doc/guix.texi:550
  4319. msgid "little-endian 64-bit MIPS processors, specifically the Loongson series, n32 ABI, and Linux-Libre kernel. This configuration is no longer fully supported; in particular, there is no ongoing work to ensure that this architecture still works. Should someone decide they wish to revive this architecture then the code is still available."
  4320. msgstr ""
  4321. #. type: item
  4322. #: guix-git/doc/guix.texi:551
  4323. #, no-wrap
  4324. msgid "powerpc-linux (unsupported)"
  4325. msgstr ""
  4326. #. type: table
  4327. #: guix-git/doc/guix.texi:556
  4328. msgid "big-endian 32-bit PowerPC processors, specifically the PowerPC G4 with AltiVec support, and Linux-Libre kernel. This configuration is not fully supported and there is no ongoing work to ensure this architecture works."
  4329. msgstr ""
  4330. #. type: table
  4331. #: guix-git/doc/guix.texi:567
  4332. msgid "little-endian 64-bit Power ISA processors, Linux-Libre kernel. This includes POWER9 systems such as the @uref{https://www.fsf.org/news/talos-ii-mainboard-and-talos-ii-lite-mainboard-now-fsf-certified-to-respect-your-freedom, RYF Talos II mainboard}. This platform is available as a \"technology preview\": although it is supported, substitutes are not yet available from the build farm (@pxref{Substitutes}), and some packages may fail to build (@pxref{Tracking Bugs and Patches}). That said, the Guix community is actively working on improving this support, and now is a great time to try it and get involved!"
  4333. msgstr ""
  4334. #. type: item
  4335. #: guix-git/doc/guix.texi:568
  4336. #, no-wrap
  4337. msgid "riscv64-linux"
  4338. msgstr ""
  4339. #. type: table
  4340. #: guix-git/doc/guix.texi:576
  4341. msgid "little-endian 64-bit RISC-V processors, specifically RV64GC, and Linux-Libre kernel. This playform is available as a \"technology preview\": although it is supported, substitutes are not yet available from the build farm (@pxref{Substitutes}), and some packages may fail to build (@pxref{Tracking Bugs and Patches}). That said, the Guix community is actively working on improving this support, and now is a great time to try it and get involved!"
  4342. msgstr ""
  4343. #. type: Plain text
  4344. #: guix-git/doc/guix.texi:586
  4345. msgid "With Guix@tie{}System, you @emph{declare} all aspects of the operating system configuration and Guix takes care of instantiating the configuration in a transactional, reproducible, and stateless fashion (@pxref{System Configuration}). Guix System uses the Linux-libre kernel, the Shepherd initialization system (@pxref{Introduction,,, shepherd, The GNU Shepherd Manual}), the well-known GNU utilities and tool chain, as well as the graphical environment or system services of your choice."
  4346. msgstr ""
  4347. #. type: Plain text
  4348. #: guix-git/doc/guix.texi:590
  4349. msgid "Guix System is available on all the above platforms except @code{mips64el-linux}, @code{powerpc-linux}, @code{powerpc64le-linux} and @code{riscv64-linux}."
  4350. msgstr ""
  4351. #. type: Plain text
  4352. #: guix-git/doc/guix.texi:594
  4353. msgid "For information on porting to other architectures or kernels, @pxref{Porting}."
  4354. msgstr ""
  4355. #. type: Plain text
  4356. #: guix-git/doc/guix.texi:597
  4357. msgid "Building this distribution is a cooperative effort, and you are invited to join! @xref{Contributing}, for information about how you can help."
  4358. msgstr ""
  4359. #. type: cindex
  4360. #: guix-git/doc/guix.texi:603
  4361. #, no-wrap
  4362. msgid "installing Guix"
  4363. msgstr ""
  4364. #. type: quotation
  4365. #: guix-git/doc/guix.texi:615
  4366. msgid "We recommend the use of this @uref{https://git.savannah.gnu.org/cgit/guix.git/plain/etc/guix-install.sh, shell installer script} to install Guix on top of a running GNU/Linux system, thereafter called a @dfn{foreign distro}.@footnote{This section is concerned with the installation of the package manager, which can be done on top of a running GNU/Linux system. If, instead, you want to install the complete GNU operating system, @pxref{System Installation}.} The script automates the download, installation, and initial configuration of Guix. It should be run as the root user."
  4367. msgstr ""
  4368. #. type: cindex
  4369. #: guix-git/doc/guix.texi:617 guix-git/doc/guix.texi:1847
  4370. #, no-wrap
  4371. msgid "foreign distro"
  4372. msgstr ""
  4373. #. type: cindex
  4374. #: guix-git/doc/guix.texi:618
  4375. #, no-wrap
  4376. msgid "directories related to foreign distro"
  4377. msgstr ""
  4378. #. type: Plain text
  4379. #: guix-git/doc/guix.texi:623
  4380. msgid "When installed on a foreign distro, GNU@tie{}Guix complements the available tools without interference. Its data lives exclusively in two directories, usually @file{/gnu/store} and @file{/var/guix}; other files on your system, such as @file{/etc}, are left untouched."
  4381. msgstr ""
  4382. #. type: Plain text
  4383. #: guix-git/doc/guix.texi:626
  4384. msgid "Once installed, Guix can be updated by running @command{guix pull} (@pxref{Invoking guix pull})."
  4385. msgstr ""
  4386. #. type: Plain text
  4387. #: guix-git/doc/guix.texi:631
  4388. msgid "If you prefer to perform the installation steps manually or want to tweak them, you may find the following subsections useful. They describe the software requirements of Guix, as well as how to install it manually and get ready to use it."
  4389. msgstr ""
  4390. #. type: cindex
  4391. #: guix-git/doc/guix.texi:645
  4392. #, no-wrap
  4393. msgid "installing Guix from binaries"
  4394. msgstr ""
  4395. #. type: cindex
  4396. #: guix-git/doc/guix.texi:646
  4397. #, no-wrap
  4398. msgid "installer script"
  4399. msgstr ""
  4400. #. type: Plain text
  4401. #: guix-git/doc/guix.texi:652
  4402. msgid "This section describes how to install Guix on an arbitrary system from a self-contained tarball providing binaries for Guix and for all its dependencies. This is often quicker than installing from source, which is described in the next sections. The only requirement is to have GNU@tie{}tar and Xz."
  4403. msgstr ""
  4404. #. type: quotation
  4405. #: guix-git/doc/guix.texi:660
  4406. msgid "We recommend the use of this @uref{https://git.savannah.gnu.org/cgit/guix.git/plain/etc/guix-install.sh, shell installer script}. The script automates the download, installation, and initial configuration steps described below. It should be run as the root user. As root, you can thus run this:"
  4407. msgstr ""
  4408. #. type: example
  4409. #: guix-git/doc/guix.texi:666
  4410. #, no-wrap
  4411. msgid ""
  4412. "cd /tmp\n"
  4413. "wget https://git.savannah.gnu.org/cgit/guix.git/plain/etc/guix-install.sh\n"
  4414. "chmod +x guix-install.sh\n"
  4415. "./guix-install.sh\n"
  4416. msgstr ""
  4417. #. type: quotation
  4418. #: guix-git/doc/guix.texi:670
  4419. msgid "When you're done, @pxref{Application Setup} for extra configuration you might need, and @ref{Getting Started} for your first steps!"
  4420. msgstr ""
  4421. #. type: Plain text
  4422. #: guix-git/doc/guix.texi:673
  4423. msgid "Installing goes along these lines:"
  4424. msgstr ""
  4425. #. type: cindex
  4426. #: guix-git/doc/guix.texi:676
  4427. #, no-wrap
  4428. msgid "downloading Guix binary"
  4429. msgstr ""
  4430. #. type: enumerate
  4431. #: guix-git/doc/guix.texi:682
  4432. msgid "Download the binary tarball from @indicateurl{@value{BASE-URL}/guix-binary-@value{VERSION}.x86_64-linux.tar.xz}, where @code{x86_64-linux} can be replaced with @code{i686-linux} for an @code{i686} (32-bits) machine already running the kernel Linux, and so on (@pxref{GNU Distribution})."
  4433. msgstr ""
  4434. #. type: enumerate
  4435. #: guix-git/doc/guix.texi:686
  4436. msgid "Make sure to download the associated @file{.sig} file and to verify the authenticity of the tarball against it, along these lines:"
  4437. msgstr ""
  4438. #. type: example
  4439. #: guix-git/doc/guix.texi:690
  4440. #, no-wrap
  4441. msgid ""
  4442. "$ wget @value{BASE-URL}/guix-binary-@value{VERSION}.x86_64-linux.tar.xz.sig\n"
  4443. "$ gpg --verify guix-binary-@value{VERSION}.x86_64-linux.tar.xz.sig\n"
  4444. msgstr ""
  4445. #. type: Plain text
  4446. #: guix-git/doc/guix.texi:694 guix-git/doc/guix.texi:2206
  4447. msgid "If that command fails because you do not have the required public key, then run this command to import it:"
  4448. msgstr ""
  4449. #. type: example
  4450. #: guix-git/doc/guix.texi:698
  4451. #, no-wrap
  4452. msgid ""
  4453. "$ wget '@value{OPENPGP-SIGNING-KEY-URL}' \\\n"
  4454. " -qO - | gpg --import -\n"
  4455. msgstr ""
  4456. #. type: Plain text
  4457. #: guix-git/doc/guix.texi:702 guix-git/doc/guix.texi:2214
  4458. msgid "and rerun the @code{gpg --verify} command."
  4459. msgstr ""
  4460. #. type: Plain text
  4461. #: guix-git/doc/guix.texi:705 guix-git/doc/guix.texi:2217
  4462. msgid "Take note that a warning like ``This key is not certified with a trusted signature!'' is normal."
  4463. msgstr ""
  4464. #. type: enumerate
  4465. #: guix-git/doc/guix.texi:711
  4466. msgid "Now, you need to become the @code{root} user. Depending on your distribution, you may have to run @code{su -} or @code{sudo -i}. As @code{root}, run:"
  4467. msgstr ""
  4468. #. type: example
  4469. #: guix-git/doc/guix.texi:717
  4470. #, no-wrap
  4471. msgid ""
  4472. "# cd /tmp\n"
  4473. "# tar --warning=no-timestamp -xf \\\n"
  4474. " /path/to/guix-binary-@value{VERSION}.x86_64-linux.tar.xz\n"
  4475. "# mv var/guix /var/ && mv gnu /\n"
  4476. msgstr ""
  4477. #. type: enumerate
  4478. #: guix-git/doc/guix.texi:722
  4479. msgid "This creates @file{/gnu/store} (@pxref{The Store}) and @file{/var/guix}. The latter contains a ready-to-use profile for @code{root} (see next step)."
  4480. msgstr ""
  4481. #. type: enumerate
  4482. #: guix-git/doc/guix.texi:725
  4483. msgid "Do @emph{not} unpack the tarball on a working Guix system since that would overwrite its own essential files."
  4484. msgstr ""
  4485. #. type: enumerate
  4486. #: guix-git/doc/guix.texi:735
  4487. msgid "The @option{--warning=no-timestamp} option makes sure GNU@tie{}tar does not emit warnings about ``implausibly old time stamps'' (such warnings were triggered by GNU@tie{}tar 1.26 and older; recent versions are fine). They stem from the fact that all the files in the archive have their modification time set to 1 (which means January 1st, 1970). This is done on purpose to make sure the archive content is independent of its creation time, thus making it reproducible."
  4488. msgstr ""
  4489. #. type: enumerate
  4490. #: guix-git/doc/guix.texi:739
  4491. msgid "Make the profile available under @file{~root/.config/guix/current}, which is where @command{guix pull} will install updates (@pxref{Invoking guix pull}):"
  4492. msgstr ""
  4493. #. type: example
  4494. #: guix-git/doc/guix.texi:744
  4495. #, no-wrap
  4496. msgid ""
  4497. "# mkdir -p ~root/.config/guix\n"
  4498. "# ln -sf /var/guix/profiles/per-user/root/current-guix \\\n"
  4499. " ~root/.config/guix/current\n"
  4500. msgstr ""
  4501. #. type: enumerate
  4502. #: guix-git/doc/guix.texi:748
  4503. msgid "Source @file{etc/profile} to augment @env{PATH} and other relevant environment variables:"
  4504. msgstr ""
  4505. #. type: example
  4506. #: guix-git/doc/guix.texi:752
  4507. #, no-wrap
  4508. msgid ""
  4509. "# GUIX_PROFILE=\"`echo ~root`/.config/guix/current\" ; \\\n"
  4510. " source $GUIX_PROFILE/etc/profile\n"
  4511. msgstr ""
  4512. #. type: enumerate
  4513. #: guix-git/doc/guix.texi:757
  4514. msgid "Create the group and user accounts for build users as explained below (@pxref{Build Environment Setup})."
  4515. msgstr ""
  4516. #. type: enumerate
  4517. #: guix-git/doc/guix.texi:760
  4518. msgid "Run the daemon, and set it to automatically start on boot."
  4519. msgstr ""
  4520. #. type: enumerate
  4521. #: guix-git/doc/guix.texi:763
  4522. msgid "If your host distro uses the systemd init system, this can be achieved with these commands:"
  4523. msgstr ""
  4524. #. type: example
  4525. #: guix-git/doc/guix.texi:776
  4526. #, no-wrap
  4527. msgid ""
  4528. "# cp ~root/.config/guix/current/lib/systemd/system/gnu-store.mount \\\n"
  4529. " ~root/.config/guix/current/lib/systemd/system/guix-daemon.service \\\n"
  4530. " /etc/systemd/system/\n"
  4531. "# systemctl enable --now gnu-store.mount guix-daemon\n"
  4532. msgstr ""
  4533. #. type: enumerate
  4534. #: guix-git/doc/guix.texi:779
  4535. msgid "You may also want to arrange for @command{guix gc} to run periodically:"
  4536. msgstr ""
  4537. #. type: example
  4538. #: guix-git/doc/guix.texi:785
  4539. #, no-wrap
  4540. msgid ""
  4541. "# cp ~root/.config/guix/current/lib/systemd/system/guix-gc.service \\\n"
  4542. " ~root/.config/guix/current/lib/systemd/system/guix-gc.timer \\\n"
  4543. " /etc/systemd/system/\n"
  4544. "# systemctl enable --now guix-gc.timer\n"
  4545. msgstr ""
  4546. #. type: enumerate
  4547. #: guix-git/doc/guix.texi:789
  4548. msgid "You may want to edit @file{guix-gc.service} to adjust the command line options to fit your needs (@pxref{Invoking guix gc})."
  4549. msgstr ""
  4550. #. type: itemize
  4551. #: guix-git/doc/guix.texi:791 guix-git/doc/guix.texi:14201
  4552. msgid "If your host distro uses the Upstart init system:"
  4553. msgstr ""
  4554. #. type: example
  4555. #: guix-git/doc/guix.texi:797
  4556. #, no-wrap
  4557. msgid ""
  4558. "# initctl reload-configuration\n"
  4559. "# cp ~root/.config/guix/current/lib/upstart/system/guix-daemon.conf \\\n"
  4560. " /etc/init/\n"
  4561. "# start guix-daemon\n"
  4562. msgstr ""
  4563. #. type: enumerate
  4564. #: guix-git/doc/guix.texi:800
  4565. msgid "Otherwise, you can still start the daemon manually with:"
  4566. msgstr ""
  4567. #. type: example
  4568. #: guix-git/doc/guix.texi:804
  4569. #, no-wrap
  4570. msgid ""
  4571. "# ~root/.config/guix/current/bin/guix-daemon \\\n"
  4572. " --build-users-group=guixbuild\n"
  4573. msgstr ""
  4574. #. type: enumerate
  4575. #: guix-git/doc/guix.texi:809
  4576. msgid "Make the @command{guix} command available to other users on the machine, for instance with:"
  4577. msgstr ""
  4578. #. type: example
  4579. #: guix-git/doc/guix.texi:814
  4580. #, no-wrap
  4581. msgid ""
  4582. "# mkdir -p /usr/local/bin\n"
  4583. "# cd /usr/local/bin\n"
  4584. "# ln -s /var/guix/profiles/per-user/root/current-guix/bin/guix\n"
  4585. msgstr ""
  4586. #. type: enumerate
  4587. #: guix-git/doc/guix.texi:818
  4588. msgid "It is also a good idea to make the Info version of this manual available there:"
  4589. msgstr ""
  4590. #. type: example
  4591. #: guix-git/doc/guix.texi:824
  4592. #, no-wrap
  4593. msgid ""
  4594. "# mkdir -p /usr/local/share/info\n"
  4595. "# cd /usr/local/share/info\n"
  4596. "# for i in /var/guix/profiles/per-user/root/current-guix/share/info/* ;\n"
  4597. " do ln -s $i ; done\n"
  4598. msgstr ""
  4599. #. type: enumerate
  4600. #: guix-git/doc/guix.texi:830
  4601. msgid "That way, assuming @file{/usr/local/share/info} is in the search path, running @command{info guix} will open this manual (@pxref{Other Info Directories,,, texinfo, GNU Texinfo}, for more details on changing the Info search path)."
  4602. msgstr ""
  4603. #. type: cindex
  4604. #: guix-git/doc/guix.texi:832 guix-git/doc/guix.texi:3832
  4605. #: guix-git/doc/guix.texi:16976
  4606. #, no-wrap
  4607. msgid "substitutes, authorization thereof"
  4608. msgstr ""
  4609. #. type: enumerate
  4610. #: guix-git/doc/guix.texi:836
  4611. msgid "To use substitutes from @code{@value{SUBSTITUTE-SERVER-1}}, @code{@value{SUBSTITUTE-SERVER-2}} or a mirror (@pxref{Substitutes}), authorize them:"
  4612. msgstr ""
  4613. #. type: example
  4614. #: guix-git/doc/guix.texi:842
  4615. #, no-wrap
  4616. msgid ""
  4617. "# guix archive --authorize < \\\n"
  4618. " ~root/.config/guix/current/share/guix/@value{SUBSTITUTE-SERVER-1}.pub\n"
  4619. "# guix archive --authorize < \\\n"
  4620. " ~root/.config/guix/current/share/guix/@value{SUBSTITUTE-SERVER-2}.pub\n"
  4621. msgstr ""
  4622. #. type: quotation
  4623. #: guix-git/doc/guix.texi:849
  4624. msgid "If you do not enable substitutes, Guix will end up building @emph{everything} from source on your machine, making each installation and upgrade very expensive. @xref{On Trusting Binaries}, for a discussion of reasons why one might want do disable substitutes."
  4625. msgstr ""
  4626. #. type: enumerate
  4627. #: guix-git/doc/guix.texi:854
  4628. msgid "Each user may need to perform a few additional steps to make their Guix environment ready for use, @pxref{Application Setup}."
  4629. msgstr ""
  4630. #. type: Plain text
  4631. #: guix-git/doc/guix.texi:857
  4632. msgid "Voilà, the installation is complete!"
  4633. msgstr ""
  4634. #. type: Plain text
  4635. #: guix-git/doc/guix.texi:860
  4636. msgid "You can confirm that Guix is working by installing a sample package into the root profile:"
  4637. msgstr ""
  4638. #. type: example
  4639. #: guix-git/doc/guix.texi:863
  4640. #, no-wrap
  4641. msgid "# guix install hello\n"
  4642. msgstr ""
  4643. #. type: Plain text
  4644. #: guix-git/doc/guix.texi:867
  4645. msgid "The binary installation tarball can be (re)produced and verified simply by running the following command in the Guix source tree:"
  4646. msgstr ""
  4647. #. type: example
  4648. #: guix-git/doc/guix.texi:870
  4649. #, no-wrap
  4650. msgid "make guix-binary.@var{system}.tar.xz\n"
  4651. msgstr ""
  4652. #. type: Plain text
  4653. #: guix-git/doc/guix.texi:874
  4654. msgid "...@: which, in turn, runs:"
  4655. msgstr ""
  4656. #. type: example
  4657. #: guix-git/doc/guix.texi:878
  4658. #, no-wrap
  4659. msgid ""
  4660. "guix pack -s @var{system} --localstatedir \\\n"
  4661. " --profile-name=current-guix guix\n"
  4662. msgstr ""
  4663. #. type: Plain text
  4664. #: guix-git/doc/guix.texi:881
  4665. msgid "@xref{Invoking guix pack}, for more info on this handy tool."
  4666. msgstr ""
  4667. #. type: Plain text
  4668. #: guix-git/doc/guix.texi:889
  4669. msgid "This section lists requirements when building Guix from source. The build procedure for Guix is the same as for other GNU software, and is not covered here. Please see the files @file{README} and @file{INSTALL} in the Guix source tree for additional details."
  4670. msgstr ""
  4671. #. type: cindex
  4672. #: guix-git/doc/guix.texi:890
  4673. #, no-wrap
  4674. msgid "official website"
  4675. msgstr ""
  4676. #. type: Plain text
  4677. #: guix-git/doc/guix.texi:893
  4678. msgid "GNU Guix is available for download from its website at @url{https://www.gnu.org/software/guix/}."
  4679. msgstr ""
  4680. #. type: Plain text
  4681. #: guix-git/doc/guix.texi:895
  4682. msgid "GNU Guix depends on the following packages:"
  4683. msgstr ""
  4684. #. type: item
  4685. #: guix-git/doc/guix.texi:897
  4686. #, no-wrap
  4687. msgid "@url{https://gnu.org/software/guile/, GNU Guile}, version 3.0.x,"
  4688. msgstr ""
  4689. #. type: itemize
  4690. #: guix-git/doc/guix.texi:899
  4691. msgid "version 3.0.3 or later;"
  4692. msgstr ""
  4693. #. type: item
  4694. #: guix-git/doc/guix.texi:899
  4695. #, no-wrap
  4696. msgid "@url{https://notabug.org/cwebber/guile-gcrypt, Guile-Gcrypt}, version"
  4697. msgstr ""
  4698. #. type: itemize
  4699. #: guix-git/doc/guix.texi:901
  4700. msgid "0.1.0 or later;"
  4701. msgstr ""
  4702. #. type: itemize
  4703. #: guix-git/doc/guix.texi:905
  4704. msgid "@uref{https://gnutls.org/, GnuTLS}, specifically its Guile bindings (@pxref{Guile Preparations, how to install the GnuTLS bindings for Guile,, gnutls-guile, GnuTLS-Guile});"
  4705. msgstr ""
  4706. #. type: itemize
  4707. #: guix-git/doc/guix.texi:908
  4708. msgid "@uref{https://notabug.org/guile-sqlite3/guile-sqlite3, Guile-SQLite3}, version 0.1.0 or later;"
  4709. msgstr ""
  4710. #. type: item
  4711. #: guix-git/doc/guix.texi:908
  4712. #, no-wrap
  4713. msgid "@uref{https://notabug.org/guile-zlib/guile-zlib, Guile-zlib},"
  4714. msgstr ""
  4715. #. type: itemize
  4716. #: guix-git/doc/guix.texi:910
  4717. msgid "version 0.1.0 or later;"
  4718. msgstr ""
  4719. #. type: item
  4720. #: guix-git/doc/guix.texi:910
  4721. #, no-wrap
  4722. msgid "@uref{https://notabug.org/guile-lzlib/guile-lzlib, Guile-lzlib};"
  4723. msgstr ""
  4724. #. type: item
  4725. #: guix-git/doc/guix.texi:911
  4726. #, no-wrap
  4727. msgid "@uref{https://www.nongnu.org/guile-avahi/, Guile-Avahi};"
  4728. msgstr ""
  4729. #. type: itemize
  4730. #: guix-git/doc/guix.texi:915
  4731. msgid "@uref{https://gitlab.com/guile-git/guile-git, Guile-Git}, version 0.5.0 or later;"
  4732. msgstr ""
  4733. #. type: item
  4734. #: guix-git/doc/guix.texi:915
  4735. #, no-wrap
  4736. msgid "@uref{https://savannah.nongnu.org/projects/guile-json/, Guile-JSON}"
  4737. msgstr ""
  4738. #. type: itemize
  4739. #: guix-git/doc/guix.texi:917
  4740. msgid "4.3.0 or later;"
  4741. msgstr ""
  4742. #. type: item
  4743. #: guix-git/doc/guix.texi:917
  4744. #, no-wrap
  4745. msgid "@url{https://www.gnu.org/software/make/, GNU Make}."
  4746. msgstr ""
  4747. #. type: Plain text
  4748. #: guix-git/doc/guix.texi:921
  4749. msgid "The following dependencies are optional:"
  4750. msgstr ""
  4751. #. type: itemize
  4752. #: guix-git/doc/guix.texi:929
  4753. msgid "Support for build offloading (@pxref{Daemon Offload Setup}) and @command{guix copy} (@pxref{Invoking guix copy}) depends on @uref{https://github.com/artyom-poptsov/guile-ssh, Guile-SSH}, version 0.13.0 or later."
  4754. msgstr ""
  4755. #. type: itemize
  4756. #: guix-git/doc/guix.texi:934
  4757. msgid "@uref{https://notabug.org/guile-zstd/guile-zstd, Guile-zstd}, for zstd compression and decompression in @command{guix publish} and for substitutes (@pxref{Invoking guix publish})."
  4758. msgstr ""
  4759. #. type: itemize
  4760. #: guix-git/doc/guix.texi:938
  4761. msgid "@uref{https://ngyro.com/software/guile-semver.html, Guile-Semver} for the @code{crate} importer (@pxref{Invoking guix import})."
  4762. msgstr ""
  4763. #. type: itemize
  4764. #: guix-git/doc/guix.texi:943
  4765. msgid "@uref{https://www.nongnu.org/guile-lib/doc/ref/htmlprag/, Guile-Lib} for the @code{go} importer (@pxref{Invoking guix import}) and for some of the ``updaters'' (@pxref{Invoking guix refresh})."
  4766. msgstr ""
  4767. #. type: itemize
  4768. #: guix-git/doc/guix.texi:947
  4769. msgid "When @url{http://www.bzip.org, libbz2} is available, @command{guix-daemon} can use it to compress build logs."
  4770. msgstr ""
  4771. #. type: Plain text
  4772. #: guix-git/doc/guix.texi:951
  4773. msgid "Unless @option{--disable-daemon} was passed to @command{configure}, the following packages are also needed:"
  4774. msgstr ""
  4775. #. type: item
  4776. #: guix-git/doc/guix.texi:953
  4777. #, no-wrap
  4778. msgid "@url{https://gnupg.org/, GNU libgcrypt};"
  4779. msgstr ""
  4780. #. type: item
  4781. #: guix-git/doc/guix.texi:954
  4782. #, no-wrap
  4783. msgid "@url{https://sqlite.org, SQLite 3};"
  4784. msgstr ""
  4785. #. type: item
  4786. #: guix-git/doc/guix.texi:955
  4787. #, no-wrap
  4788. msgid "@url{https://gcc.gnu.org, GCC's g++}, with support for the"
  4789. msgstr ""
  4790. #. type: itemize
  4791. #: guix-git/doc/guix.texi:957
  4792. msgid "C++11 standard."
  4793. msgstr ""
  4794. #. type: cindex
  4795. #: guix-git/doc/guix.texi:959
  4796. #, no-wrap
  4797. msgid "state directory"
  4798. msgstr ""
  4799. #. type: Plain text
  4800. #: guix-git/doc/guix.texi:968
  4801. msgid "When configuring Guix on a system that already has a Guix installation, be sure to specify the same state directory as the existing installation using the @option{--localstatedir} option of the @command{configure} script (@pxref{Directory Variables, @code{localstatedir},, standards, GNU Coding Standards}). Usually, this @var{localstatedir} option is set to the value @file{/var}. The @command{configure} script protects against unintended misconfiguration of @var{localstatedir} so you do not inadvertently corrupt your store (@pxref{The Store})."
  4802. msgstr ""
  4803. #. type: cindex
  4804. #: guix-git/doc/guix.texi:972
  4805. #, no-wrap
  4806. msgid "test suite"
  4807. msgstr ""
  4808. #. type: Plain text
  4809. #: guix-git/doc/guix.texi:978
  4810. msgid "After a successful @command{configure} and @code{make} run, it is a good idea to run the test suite. It can help catch issues with the setup or environment, or bugs in Guix itself---and really, reporting test failures is a good way to help improve the software. To run the test suite, type:"
  4811. msgstr ""
  4812. #. type: example
  4813. #: guix-git/doc/guix.texi:981
  4814. #, no-wrap
  4815. msgid "make check\n"
  4816. msgstr ""
  4817. #. type: Plain text
  4818. #: guix-git/doc/guix.texi:988
  4819. msgid "Test cases can run in parallel: you can use the @code{-j} option of GNU@tie{}make to speed things up. The first run may take a few minutes on a recent machine; subsequent runs will be faster because the store that is created for test purposes will already have various things in cache."
  4820. msgstr ""
  4821. #. type: Plain text
  4822. #: guix-git/doc/guix.texi:991
  4823. msgid "It is also possible to run a subset of the tests by defining the @code{TESTS} makefile variable as in this example:"
  4824. msgstr ""
  4825. #. type: example
  4826. #: guix-git/doc/guix.texi:994
  4827. #, no-wrap
  4828. msgid "make check TESTS=\"tests/store.scm tests/cpio.scm\"\n"
  4829. msgstr ""
  4830. #. type: Plain text
  4831. #: guix-git/doc/guix.texi:999
  4832. msgid "By default, tests results are displayed at a file level. In order to see the details of every individual test cases, it is possible to define the @code{SCM_LOG_DRIVER_FLAGS} makefile variable as in this example:"
  4833. msgstr ""
  4834. #. type: example
  4835. #: guix-git/doc/guix.texi:1002
  4836. #, no-wrap
  4837. msgid "make check TESTS=\"tests/base64.scm\" SCM_LOG_DRIVER_FLAGS=\"--brief=no\"\n"
  4838. msgstr ""
  4839. #. type: Plain text
  4840. #: guix-git/doc/guix.texi:1010
  4841. msgid "The underlying SRFI 64 custom Automake test driver used for the 'check' test suite (located at @file{build-aux/test-driver.scm}) also allows selecting which test cases to run at a finer level, via its @option{--select} and @option{--exclude} options. Here's an example, to run all the test cases from the @file{tests/packages.scm} test file whose names start with ``transaction-upgrade-entry'':"
  4842. msgstr ""
  4843. #. type: example
  4844. #: guix-git/doc/guix.texi:1014
  4845. #, no-wrap
  4846. msgid ""
  4847. "export SCM_LOG_DRIVER_FLAGS=\"--select=^transaction-upgrade-entry\"\n"
  4848. "make check TESTS=\"tests/packages.scm\"\n"
  4849. msgstr ""
  4850. #. type: Plain text
  4851. #: guix-git/doc/guix.texi:1020
  4852. msgid "Those wishing to inspect the results of failed tests directly from the command line can add the @option{--errors-only=yes} option to the @code{SCM_LOG_DRIVER_FLAGS} makefile variable and set the @code{VERBOSE} Automake makefile variable, as in:"
  4853. msgstr ""
  4854. #. type: example
  4855. #: guix-git/doc/guix.texi:1023
  4856. #, no-wrap
  4857. msgid "make check SCM_LOG_DRIVER_FLAGS=\"--brief=no --errors-only=yes\" VERBOSE=1\n"
  4858. msgstr ""
  4859. #. type: Plain text
  4860. #: guix-git/doc/guix.texi:1028
  4861. msgid "The @option{--show-duration=yes} option can be used to print the duration of the individual test cases, when used in combination with @option{--brief=no}:"
  4862. msgstr ""
  4863. #. type: example
  4864. #: guix-git/doc/guix.texi:1031
  4865. #, no-wrap
  4866. msgid "make check SCM_LOG_DRIVER_FLAGS=\"--brief=no --show-duration=yes\"\n"
  4867. msgstr ""
  4868. #. type: Plain text
  4869. #: guix-git/doc/guix.texi:1035
  4870. msgid "@xref{Parallel Test Harness,,,automake,GNU Automake} for more information about the Automake Parallel Test Harness."
  4871. msgstr ""
  4872. #. type: Plain text
  4873. #: guix-git/doc/guix.texi:1040
  4874. msgid "Upon failure, please email @email{bug-guix@@gnu.org} and attach the @file{test-suite.log} file. Please specify the Guix version being used as well as version numbers of the dependencies (@pxref{Requirements}) in your message."
  4875. msgstr ""
  4876. #. type: Plain text
  4877. #: guix-git/doc/guix.texi:1044
  4878. msgid "Guix also comes with a whole-system test suite that tests complete Guix System instances. It can only run on systems where Guix is already installed, using:"
  4879. msgstr ""
  4880. #. type: example
  4881. #: guix-git/doc/guix.texi:1047
  4882. #, no-wrap
  4883. msgid "make check-system\n"
  4884. msgstr ""
  4885. #. type: Plain text
  4886. #: guix-git/doc/guix.texi:1051
  4887. msgid "or, again, by defining @code{TESTS} to select a subset of tests to run:"
  4888. msgstr ""
  4889. #. type: example
  4890. #: guix-git/doc/guix.texi:1054
  4891. #, no-wrap
  4892. msgid "make check-system TESTS=\"basic mcron\"\n"
  4893. msgstr ""
  4894. #. type: Plain text
  4895. #: guix-git/doc/guix.texi:1062
  4896. msgid "These system tests are defined in the @code{(gnu tests @dots{})} modules. They work by running the operating systems under test with lightweight instrumentation in a virtual machine (VM). They can be computationally intensive or rather cheap, depending on whether substitutes are available for their dependencies (@pxref{Substitutes}). Some of them require a lot of storage space to hold VM images."
  4897. msgstr ""
  4898. #. type: Plain text
  4899. #: guix-git/doc/guix.texi:1065
  4900. msgid "Again in case of test failures, please send @email{bug-guix@@gnu.org} all the details."
  4901. msgstr ""
  4902. #. type: cindex
  4903. #: guix-git/doc/guix.texi:1069
  4904. #, no-wrap
  4905. msgid "daemon"
  4906. msgstr ""
  4907. #. type: Plain text
  4908. #: guix-git/doc/guix.texi:1077
  4909. msgid "Operations such as building a package or running the garbage collector are all performed by a specialized process, the @dfn{build daemon}, on behalf of clients. Only the daemon may access the store and its associated database. Thus, any operation that manipulates the store goes through the daemon. For instance, command-line tools such as @command{guix package} and @command{guix build} communicate with the daemon (@i{via} remote procedure calls) to instruct it what to do."
  4910. msgstr ""
  4911. #. type: Plain text
  4912. #: guix-git/doc/guix.texi:1081
  4913. msgid "The following sections explain how to prepare the build daemon's environment. See also @ref{Substitutes}, for information on how to allow the daemon to download pre-built binaries."
  4914. msgstr ""
  4915. #. type: cindex
  4916. #: guix-git/doc/guix.texi:1091 guix-git/doc/guix.texi:1559
  4917. #, no-wrap
  4918. msgid "build environment"
  4919. msgstr ""
  4920. #. type: Plain text
  4921. #: guix-git/doc/guix.texi:1099
  4922. msgid "In a standard multi-user setup, Guix and its daemon---the @command{guix-daemon} program---are installed by the system administrator; @file{/gnu/store} is owned by @code{root} and @command{guix-daemon} runs as @code{root}. Unprivileged users may use Guix tools to build packages or otherwise access the store, and the daemon will do it on their behalf, ensuring that the store is kept in a consistent state, and allowing built packages to be shared among users."
  4923. msgstr ""
  4924. #. type: cindex
  4925. #: guix-git/doc/guix.texi:1100
  4926. #, no-wrap
  4927. msgid "build users"
  4928. msgstr ""
  4929. #. type: Plain text
  4930. #: guix-git/doc/guix.texi:1111
  4931. msgid "When @command{guix-daemon} runs as @code{root}, you may not want package build processes themselves to run as @code{root} too, for obvious security reasons. To avoid that, a special pool of @dfn{build users} should be created for use by build processes started by the daemon. These build users need not have a shell and a home directory: they will just be used when the daemon drops @code{root} privileges in build processes. Having several such users allows the daemon to launch distinct build processes under separate UIDs, which guarantees that they do not interfere with each other---an essential feature since builds are regarded as pure functions (@pxref{Introduction})."
  4932. msgstr ""
  4933. #. type: Plain text
  4934. #: guix-git/doc/guix.texi:1114
  4935. msgid "On a GNU/Linux system, a build user pool may be created like this (using Bash syntax and the @code{shadow} commands):"
  4936. msgstr ""
  4937. #. type: example
  4938. #: guix-git/doc/guix.texi:1126
  4939. #, no-wrap
  4940. msgid ""
  4941. "# groupadd --system guixbuild\n"
  4942. "# for i in $(seq -w 1 10);\n"
  4943. " do\n"
  4944. " useradd -g guixbuild -G guixbuild \\\n"
  4945. " -d /var/empty -s $(which nologin) \\\n"
  4946. " -c \"Guix build user $i\" --system \\\n"
  4947. " guixbuilder$i;\n"
  4948. " done\n"
  4949. msgstr ""
  4950. #. type: Plain text
  4951. #: guix-git/doc/guix.texi:1136
  4952. msgid "The number of build users determines how many build jobs may run in parallel, as specified by the @option{--max-jobs} option (@pxref{Invoking guix-daemon, @option{--max-jobs}}). To use @command{guix system vm} and related commands, you may need to add the build users to the @code{kvm} group so they can access @file{/dev/kvm}, using @code{-G guixbuild,kvm} instead of @code{-G guixbuild} (@pxref{Invoking guix system})."
  4953. msgstr ""
  4954. #. type: Plain text
  4955. #: guix-git/doc/guix.texi:1145
  4956. msgid "The @code{guix-daemon} program may then be run as @code{root} with the following command@footnote{If your machine uses the systemd init system, dropping the @file{@var{prefix}/lib/systemd/system/guix-daemon.service} file in @file{/etc/systemd/system} will ensure that @command{guix-daemon} is automatically started. Similarly, if your machine uses the Upstart init system, drop the @file{@var{prefix}/lib/upstart/system/guix-daemon.conf} file in @file{/etc/init}.}:"
  4957. msgstr ""
  4958. #. type: example
  4959. #: guix-git/doc/guix.texi:1148 guix-git/doc/guix.texi:1552
  4960. #, no-wrap
  4961. msgid "# guix-daemon --build-users-group=guixbuild\n"
  4962. msgstr ""
  4963. #. type: cindex
  4964. #: guix-git/doc/guix.texi:1150 guix-git/doc/guix.texi:1557
  4965. #, no-wrap
  4966. msgid "chroot"
  4967. msgstr ""
  4968. #. type: Plain text
  4969. #: guix-git/doc/guix.texi:1155
  4970. msgid "This way, the daemon starts build processes in a chroot, under one of the @code{guixbuilder} users. On GNU/Linux, by default, the chroot environment contains nothing but:"
  4971. msgstr ""
  4972. #. type: itemize
  4973. #: guix-git/doc/guix.texi:1163
  4974. msgid "a minimal @code{/dev} directory, created mostly independently from the host @code{/dev}@footnote{``Mostly'', because while the set of files that appear in the chroot's @code{/dev} is fixed, most of these files can only be created if the host has them.};"
  4975. msgstr ""
  4976. #. type: itemize
  4977. #: guix-git/doc/guix.texi:1167
  4978. msgid "the @code{/proc} directory; it only shows the processes of the container since a separate PID name space is used;"
  4979. msgstr ""
  4980. #. type: itemize
  4981. #: guix-git/doc/guix.texi:1171
  4982. msgid "@file{/etc/passwd} with an entry for the current user and an entry for user @file{nobody};"
  4983. msgstr ""
  4984. #. type: itemize
  4985. #: guix-git/doc/guix.texi:1174
  4986. msgid "@file{/etc/group} with an entry for the user's group;"
  4987. msgstr ""
  4988. #. type: itemize
  4989. #: guix-git/doc/guix.texi:1178
  4990. msgid "@file{/etc/hosts} with an entry that maps @code{localhost} to @code{127.0.0.1};"
  4991. msgstr ""
  4992. #. type: itemize
  4993. #: guix-git/doc/guix.texi:1181
  4994. msgid "a writable @file{/tmp} directory."
  4995. msgstr ""
  4996. #. type: Plain text
  4997. #: guix-git/doc/guix.texi:1187
  4998. msgid "The chroot does not contain a @file{/home} directory, and the @env{HOME} environment variable is set to the non-existent @file{/homeless-shelter}. This helps to highlight inappropriate uses of @env{HOME} in the build scripts of packages."
  4999. msgstr ""
  5000. #. type: Plain text
  5001. #: guix-git/doc/guix.texi:1195
  5002. msgid "You can influence the directory where the daemon stores build trees @i{via} the @env{TMPDIR} environment variable. However, the build tree within the chroot is always called @file{/tmp/guix-build-@var{name}.drv-0}, where @var{name} is the derivation name---e.g., @code{coreutils-8.24}. This way, the value of @env{TMPDIR} does not leak inside build environments, which avoids discrepancies in cases where build processes capture the name of their build tree."
  5003. msgstr ""
  5004. #. type: vindex
  5005. #: guix-git/doc/guix.texi:1196 guix-git/doc/guix.texi:4041
  5006. #, no-wrap
  5007. msgid "http_proxy"
  5008. msgstr ""
  5009. #. type: vindex
  5010. #: guix-git/doc/guix.texi:1197 guix-git/doc/guix.texi:4042
  5011. #, no-wrap
  5012. msgid "https_proxy"
  5013. msgstr ""
  5014. #. type: Plain text
  5015. #: guix-git/doc/guix.texi:1202
  5016. msgid "The daemon also honors the @env{http_proxy} and @env{https_proxy} environment variables for HTTP and HTTPS downloads it performs, be it for fixed-output derivations (@pxref{Derivations}) or for substitutes (@pxref{Substitutes})."
  5017. msgstr ""
  5018. #. type: Plain text
  5019. #: guix-git/doc/guix.texi:1210
  5020. msgid "If you are installing Guix as an unprivileged user, it is still possible to run @command{guix-daemon} provided you pass @option{--disable-chroot}. However, build processes will not be isolated from one another, and not from the rest of the system. Thus, build processes may interfere with each other, and may access programs, libraries, and other files available on the system---making it much harder to view them as @emph{pure} functions."
  5021. msgstr ""
  5022. #. type: subsection
  5023. #: guix-git/doc/guix.texi:1213
  5024. #, no-wrap
  5025. msgid "Using the Offload Facility"
  5026. msgstr ""
  5027. #. type: cindex
  5028. #: guix-git/doc/guix.texi:1215 guix-git/doc/guix.texi:1618
  5029. #, no-wrap
  5030. msgid "offloading"
  5031. msgstr ""
  5032. #. type: cindex
  5033. #: guix-git/doc/guix.texi:1216
  5034. #, no-wrap
  5035. msgid "build hook"
  5036. msgstr ""
  5037. #. type: Plain text
  5038. #: guix-git/doc/guix.texi:1235
  5039. msgid "When desired, the build daemon can @dfn{offload} derivation builds to other machines running Guix, using the @code{offload} @dfn{build hook}@footnote{This feature is available only when @uref{https://github.com/artyom-poptsov/guile-ssh, Guile-SSH} is present.}. When that feature is enabled, a list of user-specified build machines is read from @file{/etc/guix/machines.scm}; every time a build is requested, for instance via @code{guix build}, the daemon attempts to offload it to one of the machines that satisfy the constraints of the derivation, in particular its system types---e.g., @code{x86_64-linux}. A single machine can have multiple system types, either because its architecture natively supports it, via emulation (@pxref{transparent-emulation-qemu, Transparent Emulation with QEMU}), or both. Missing prerequisites for the build are copied over SSH to the target machine, which then proceeds with the build; upon success the output(s) of the build are copied back to the initial machine. The offload facility comes with a basic scheduler that attempts to select the best machine. The best machine is chosen among the available machines based on criteria such as:"
  5040. msgstr ""
  5041. #. type: enumerate
  5042. #: guix-git/doc/guix.texi:1241
  5043. msgid "The availability of a build slot. A build machine can have as many build slots (connections) as the value of the @code{parallel-builds} field of its @code{build-machine} object."
  5044. msgstr ""
  5045. #. type: enumerate
  5046. #: guix-git/doc/guix.texi:1245
  5047. msgid "Its relative speed, as defined via the @code{speed} field of its @code{build-machine} object."
  5048. msgstr ""
  5049. #. type: enumerate
  5050. #: guix-git/doc/guix.texi:1250
  5051. msgid "Its load. The normalized machine load must be lower than a threshold value, configurable via the @code{overload-threshold} field of its @code{build-machine} object."
  5052. msgstr ""
  5053. #. type: enumerate
  5054. #: guix-git/doc/guix.texi:1253
  5055. msgid "Disk space availability. More than a 100 MiB must be available."
  5056. msgstr ""
  5057. #. type: Plain text
  5058. #: guix-git/doc/guix.texi:1256
  5059. msgid "The @file{/etc/guix/machines.scm} file typically looks like this:"
  5060. msgstr ""
  5061. #. type: lisp
  5062. #: guix-git/doc/guix.texi:1264
  5063. #, no-wrap
  5064. msgid ""
  5065. "(list (build-machine\n"
  5066. " (name \"eightysix.example.org\")\n"
  5067. " (systems (list \"x86_64-linux\" \"i686-linux\"))\n"
  5068. " (host-key \"ssh-ed25519 AAAAC3Nza@dots{}\")\n"
  5069. " (user \"bob\")\n"
  5070. " (speed 2.)) ;incredibly fast!\n"
  5071. "\n"
  5072. msgstr ""
  5073. #. type: lisp
  5074. #: guix-git/doc/guix.texi:1270
  5075. #, no-wrap
  5076. msgid ""
  5077. " (build-machine\n"
  5078. " (name \"armeight.example.org\")\n"
  5079. " (systems (list \"aarch64-linux\"))\n"
  5080. " (host-key \"ssh-rsa AAAAB3Nza@dots{}\")\n"
  5081. " (user \"alice\")\n"
  5082. "\n"
  5083. msgstr ""
  5084. #. type: lisp
  5085. #: guix-git/doc/guix.texi:1274
  5086. #, no-wrap
  5087. msgid ""
  5088. " ;; Remember 'guix offload' is spawned by\n"
  5089. " ;; 'guix-daemon' as root.\n"
  5090. " (private-key \"/root/.ssh/identity-for-guix\")))\n"
  5091. msgstr ""
  5092. #. type: Plain text
  5093. #: guix-git/doc/guix.texi:1280
  5094. msgid "In the example above we specify a list of two build machines, one for the @code{x86_64} and @code{i686} architectures and one for the @code{aarch64} architecture."
  5095. msgstr ""
  5096. #. type: Plain text
  5097. #: guix-git/doc/guix.texi:1289
  5098. msgid "In fact, this file is---not surprisingly!---a Scheme file that is evaluated when the @code{offload} hook is started. Its return value must be a list of @code{build-machine} objects. While this example shows a fixed list of build machines, one could imagine, say, using DNS-SD to return a list of potential build machines discovered in the local network (@pxref{Introduction, Guile-Avahi,, guile-avahi, Using Avahi in Guile Scheme Programs}). The @code{build-machine} data type is detailed below."
  5099. msgstr ""
  5100. #. type: deftp
  5101. #: guix-git/doc/guix.texi:1290
  5102. #, no-wrap
  5103. msgid "{Data Type} build-machine"
  5104. msgstr ""
  5105. #. type: deftp
  5106. #: guix-git/doc/guix.texi:1293
  5107. msgid "This data type represents build machines to which the daemon may offload builds. The important fields are:"
  5108. msgstr ""
  5109. #. type: item
  5110. #: guix-git/doc/guix.texi:1296 guix-git/doc/guix.texi:7179
  5111. #: guix-git/doc/guix.texi:15924 guix-git/doc/guix.texi:16023
  5112. #: guix-git/doc/guix.texi:16264 guix-git/doc/guix.texi:17801
  5113. #: guix-git/doc/guix.texi:18422 guix-git/doc/guix.texi:18696
  5114. #: guix-git/doc/guix.texi:21789 guix-git/doc/guix.texi:24699
  5115. #: guix-git/doc/guix.texi:25998 guix-git/doc/guix.texi:26610
  5116. #: guix-git/doc/guix.texi:26964 guix-git/doc/guix.texi:27005
  5117. #: guix-git/doc/guix.texi:29168 guix-git/doc/guix.texi:31537
  5118. #: guix-git/doc/guix.texi:31557 guix-git/doc/guix.texi:34317
  5119. #: guix-git/doc/guix.texi:34334 guix-git/doc/guix.texi:34873
  5120. #: guix-git/doc/guix.texi:36699 guix-git/doc/guix.texi:37026
  5121. #, no-wrap
  5122. msgid "name"
  5123. msgstr ""
  5124. #. type: table
  5125. #: guix-git/doc/guix.texi:1298
  5126. msgid "The host name of the remote machine."
  5127. msgstr ""
  5128. #. type: item
  5129. #: guix-git/doc/guix.texi:1299
  5130. #, no-wrap
  5131. msgid "systems"
  5132. msgstr "järjestelmät"
  5133. #. type: table
  5134. #: guix-git/doc/guix.texi:1302
  5135. msgid "The system types the remote machine supports---e.g., @code{(list \"x86_64-linux\" \"i686-linux\")}."
  5136. msgstr ""
  5137. #. type: code{#1}
  5138. #: guix-git/doc/guix.texi:1303 guix-git/doc/guix.texi:18432
  5139. #, no-wrap
  5140. msgid "user"
  5141. msgstr "käyttäjä"
  5142. #. type: table
  5143. #: guix-git/doc/guix.texi:1307
  5144. msgid "The user account to use when connecting to the remote machine over SSH. Note that the SSH key pair must @emph{not} be passphrase-protected, to allow non-interactive logins."
  5145. msgstr ""
  5146. #. type: item
  5147. #: guix-git/doc/guix.texi:1308
  5148. #, no-wrap
  5149. msgid "host-key"
  5150. msgstr ""
  5151. #. type: table
  5152. #: guix-git/doc/guix.texi:1312
  5153. msgid "This must be the machine's SSH @dfn{public host key} in OpenSSH format. This is used to authenticate the machine when we connect to it. It is a long string that looks like this:"
  5154. msgstr ""
  5155. #. type: example
  5156. #: guix-git/doc/guix.texi:1315
  5157. #, no-wrap
  5158. msgid "ssh-ed25519 AAAAC3NzaC@dots{}mde+UhL hint@@example.org\n"
  5159. msgstr ""
  5160. #. type: table
  5161. #: guix-git/doc/guix.texi:1320
  5162. msgid "If the machine is running the OpenSSH daemon, @command{sshd}, the host key can be found in a file such as @file{/etc/ssh/ssh_host_ed25519_key.pub}."
  5163. msgstr ""
  5164. #. type: table
  5165. #: guix-git/doc/guix.texi:1325
  5166. msgid "If the machine is running the SSH daemon of GNU@tie{}lsh, @command{lshd}, the host key is in @file{/etc/lsh/host-key.pub} or a similar file. It can be converted to the OpenSSH format using @command{lsh-export-key} (@pxref{Converting keys,,, lsh, LSH Manual}):"
  5167. msgstr ""
  5168. #. type: example
  5169. #: guix-git/doc/guix.texi:1329
  5170. #, no-wrap
  5171. msgid ""
  5172. "$ lsh-export-key --openssh < /etc/lsh/host-key.pub\n"
  5173. "ssh-rsa AAAAB3NzaC1yc2EAAAAEOp8FoQAAAQEAs1eB46LV@dots{}\n"
  5174. msgstr ""
  5175. #. type: deftp
  5176. #: guix-git/doc/guix.texi:1334
  5177. msgid "A number of optional fields may be specified:"
  5178. msgstr ""
  5179. #. type: item
  5180. #: guix-git/doc/guix.texi:1337 guix-git/doc/guix.texi:36175
  5181. #, no-wrap
  5182. msgid "@code{port} (default: @code{22})"
  5183. msgstr ""
  5184. #. type: table
  5185. #: guix-git/doc/guix.texi:1339
  5186. msgid "Port number of SSH server on the machine."
  5187. msgstr ""
  5188. #. type: item
  5189. #: guix-git/doc/guix.texi:1340
  5190. #, no-wrap
  5191. msgid "@code{private-key} (default: @file{~root/.ssh/id_rsa})"
  5192. msgstr ""
  5193. #. type: table
  5194. #: guix-git/doc/guix.texi:1343
  5195. msgid "The SSH private key file to use when connecting to the machine, in OpenSSH format. This key must not be protected with a passphrase."
  5196. msgstr ""
  5197. #. type: table
  5198. #: guix-git/doc/guix.texi:1346
  5199. msgid "Note that the default value is the private key @emph{of the root account}. Make sure it exists if you use the default."
  5200. msgstr ""
  5201. #. type: item
  5202. #: guix-git/doc/guix.texi:1347
  5203. #, no-wrap
  5204. msgid "@code{compression} (default: @code{\"zlib@@openssh.com,zlib\"})"
  5205. msgstr ""
  5206. #. type: itemx
  5207. #: guix-git/doc/guix.texi:1348
  5208. #, no-wrap
  5209. msgid "@code{compression-level} (default: @code{3})"
  5210. msgstr ""
  5211. #. type: table
  5212. #: guix-git/doc/guix.texi:1350
  5213. msgid "The SSH-level compression methods and compression level requested."
  5214. msgstr ""
  5215. #. type: table
  5216. #: guix-git/doc/guix.texi:1353
  5217. msgid "Note that offloading relies on SSH compression to reduce bandwidth usage when transferring files to and from build machines."
  5218. msgstr ""
  5219. #. type: item
  5220. #: guix-git/doc/guix.texi:1354
  5221. #, no-wrap
  5222. msgid "@code{daemon-socket} (default: @code{\"/var/guix/daemon-socket/socket\"})"
  5223. msgstr ""
  5224. #. type: table
  5225. #: guix-git/doc/guix.texi:1357
  5226. msgid "File name of the Unix-domain socket @command{guix-daemon} is listening to on that machine."
  5227. msgstr ""
  5228. #. type: item
  5229. #: guix-git/doc/guix.texi:1358
  5230. #, no-wrap
  5231. msgid "@code{overload-threshold} (default: @code{0.6})"
  5232. msgstr ""
  5233. #. type: table
  5234. #: guix-git/doc/guix.texi:1364
  5235. msgid "The load threshold above which a potential offload machine is disregarded by the offload scheduler. The value roughly translates to the total processor usage of the build machine, ranging from 0.0 (0%) to 1.0 (100%). It can also be disabled by setting @code{overload-threshold} to @code{#f}."
  5236. msgstr ""
  5237. #. type: item
  5238. #: guix-git/doc/guix.texi:1365
  5239. #, no-wrap
  5240. msgid "@code{parallel-builds} (default: @code{1})"
  5241. msgstr ""
  5242. #. type: table
  5243. #: guix-git/doc/guix.texi:1367
  5244. msgid "The number of builds that may run in parallel on the machine."
  5245. msgstr ""
  5246. #. type: item
  5247. #: guix-git/doc/guix.texi:1368
  5248. #, no-wrap
  5249. msgid "@code{speed} (default: @code{1.0})"
  5250. msgstr ""
  5251. #. type: table
  5252. #: guix-git/doc/guix.texi:1371
  5253. msgid "A ``relative speed factor''. The offload scheduler will tend to prefer machines with a higher speed factor."
  5254. msgstr ""
  5255. #. type: item
  5256. #: guix-git/doc/guix.texi:1372
  5257. #, no-wrap
  5258. msgid "@code{features} (default: @code{'()})"
  5259. msgstr ""
  5260. #. type: table
  5261. #: guix-git/doc/guix.texi:1377
  5262. msgid "A list of strings denoting specific features supported by the machine. An example is @code{\"kvm\"} for machines that have the KVM Linux modules and corresponding hardware support. Derivations can request features by name, and they will be scheduled on matching build machines."
  5263. msgstr ""
  5264. #. type: Plain text
  5265. #: guix-git/doc/guix.texi:1383
  5266. msgid "The @command{guix} command must be in the search path on the build machines. You can check whether this is the case by running:"
  5267. msgstr ""
  5268. #. type: example
  5269. #: guix-git/doc/guix.texi:1386
  5270. #, no-wrap
  5271. msgid "ssh build-machine guix repl --version\n"
  5272. msgstr ""
  5273. #. type: Plain text
  5274. #: guix-git/doc/guix.texi:1393
  5275. msgid "There is one last thing to do once @file{machines.scm} is in place. As explained above, when offloading, files are transferred back and forth between the machine stores. For this to work, you first need to generate a key pair on each machine to allow the daemon to export signed archives of files from the store (@pxref{Invoking guix archive}):"
  5276. msgstr ""
  5277. #. type: example
  5278. #: guix-git/doc/guix.texi:1396 guix-git/doc/guix.texi:36079
  5279. #, no-wrap
  5280. msgid "# guix archive --generate-key\n"
  5281. msgstr ""
  5282. #. type: Plain text
  5283. #: guix-git/doc/guix.texi:1401
  5284. msgid "Each build machine must authorize the key of the master machine so that it accepts store items it receives from the master:"
  5285. msgstr ""
  5286. #. type: example
  5287. #: guix-git/doc/guix.texi:1404
  5288. #, no-wrap
  5289. msgid "# guix archive --authorize < master-public-key.txt\n"
  5290. msgstr ""
  5291. #. type: Plain text
  5292. #: guix-git/doc/guix.texi:1408
  5293. msgid "Likewise, the master machine must authorize the key of each build machine."
  5294. msgstr ""
  5295. #. type: Plain text
  5296. #: guix-git/doc/guix.texi:1414
  5297. msgid "All the fuss with keys is here to express pairwise mutual trust relations between the master and the build machines. Concretely, when the master receives files from a build machine (and @i{vice versa}), its build daemon can make sure they are genuine, have not been tampered with, and that they are signed by an authorized key."
  5298. msgstr ""
  5299. #. type: cindex
  5300. #: guix-git/doc/guix.texi:1415
  5301. #, no-wrap
  5302. msgid "offload test"
  5303. msgstr ""
  5304. #. type: Plain text
  5305. #: guix-git/doc/guix.texi:1418
  5306. msgid "To test whether your setup is operational, run this command on the master node:"
  5307. msgstr ""
  5308. #. type: example
  5309. #: guix-git/doc/guix.texi:1421
  5310. #, no-wrap
  5311. msgid "# guix offload test\n"
  5312. msgstr ""
  5313. #. type: Plain text
  5314. #: guix-git/doc/guix.texi:1427
  5315. msgid "This will attempt to connect to each of the build machines specified in @file{/etc/guix/machines.scm}, make sure Guix is available on each machine, attempt to export to the machine and import from it, and report any error in the process."
  5316. msgstr ""
  5317. #. type: Plain text
  5318. #: guix-git/doc/guix.texi:1430
  5319. msgid "If you want to test a different machine file, just specify it on the command line:"
  5320. msgstr ""
  5321. #. type: example
  5322. #: guix-git/doc/guix.texi:1433
  5323. #, no-wrap
  5324. msgid "# guix offload test machines-qualif.scm\n"
  5325. msgstr ""
  5326. #. type: Plain text
  5327. #: guix-git/doc/guix.texi:1437
  5328. msgid "Last, you can test the subset of the machines whose name matches a regular expression like this:"
  5329. msgstr ""
  5330. #. type: example
  5331. #: guix-git/doc/guix.texi:1440
  5332. #, no-wrap
  5333. msgid "# guix offload test machines.scm '\\.gnu\\.org$'\n"
  5334. msgstr ""
  5335. #. type: cindex
  5336. #: guix-git/doc/guix.texi:1442
  5337. #, no-wrap
  5338. msgid "offload status"
  5339. msgstr ""
  5340. #. type: Plain text
  5341. #: guix-git/doc/guix.texi:1445
  5342. msgid "To display the current load of all build hosts, run this command on the main node:"
  5343. msgstr ""
  5344. #. type: example
  5345. #: guix-git/doc/guix.texi:1448
  5346. #, no-wrap
  5347. msgid "# guix offload status\n"
  5348. msgstr ""
  5349. #. type: cindex
  5350. #: guix-git/doc/guix.texi:1454
  5351. #, no-wrap
  5352. msgid "SELinux, daemon policy"
  5353. msgstr ""
  5354. #. type: cindex
  5355. #: guix-git/doc/guix.texi:1455
  5356. #, no-wrap
  5357. msgid "mandatory access control, SELinux"
  5358. msgstr ""
  5359. #. type: cindex
  5360. #: guix-git/doc/guix.texi:1456
  5361. #, no-wrap
  5362. msgid "security, guix-daemon"
  5363. msgstr ""
  5364. #. type: Plain text
  5365. #: guix-git/doc/guix.texi:1462
  5366. msgid "Guix includes an SELinux policy file at @file{etc/guix-daemon.cil} that can be installed on a system where SELinux is enabled, in order to label Guix files and to specify the expected behavior of the daemon. Since Guix System does not provide an SELinux base policy, the daemon policy cannot be used on Guix System."
  5367. msgstr ""
  5368. #. type: subsubsection
  5369. #: guix-git/doc/guix.texi:1463
  5370. #, no-wrap
  5371. msgid "Installing the SELinux policy"
  5372. msgstr ""
  5373. #. type: cindex
  5374. #: guix-git/doc/guix.texi:1464
  5375. #, no-wrap
  5376. msgid "SELinux, policy installation"
  5377. msgstr ""
  5378. #. type: Plain text
  5379. #: guix-git/doc/guix.texi:1466
  5380. msgid "To install the policy run this command as root:"
  5381. msgstr ""
  5382. #. type: example
  5383. #: guix-git/doc/guix.texi:1469
  5384. #, no-wrap
  5385. msgid "semodule -i etc/guix-daemon.cil\n"
  5386. msgstr ""
  5387. #. type: Plain text
  5388. #: guix-git/doc/guix.texi:1473
  5389. msgid "Then relabel the file system with @code{restorecon} or by a different mechanism provided by your system."
  5390. msgstr ""
  5391. #. type: Plain text
  5392. #: guix-git/doc/guix.texi:1478
  5393. msgid "Once the policy is installed, the file system has been relabeled, and the daemon has been restarted, it should be running in the @code{guix_daemon_t} context. You can confirm this with the following command:"
  5394. msgstr ""
  5395. #. type: example
  5396. #: guix-git/doc/guix.texi:1481
  5397. #, no-wrap
  5398. msgid "ps -Zax | grep guix-daemon\n"
  5399. msgstr ""
  5400. #. type: Plain text
  5401. #: guix-git/doc/guix.texi:1486
  5402. msgid "Monitor the SELinux log files as you run a command like @code{guix build hello} to convince yourself that SELinux permits all necessary operations."
  5403. msgstr ""
  5404. #. type: cindex
  5405. #: guix-git/doc/guix.texi:1488
  5406. #, no-wrap
  5407. msgid "SELinux, limitations"
  5408. msgstr ""
  5409. #. type: Plain text
  5410. #: guix-git/doc/guix.texi:1493
  5411. msgid "This policy is not perfect. Here is a list of limitations or quirks that should be considered when deploying the provided SELinux policy for the Guix daemon."
  5412. msgstr ""
  5413. #. type: enumerate
  5414. #: guix-git/doc/guix.texi:1500
  5415. msgid "@code{guix_daemon_socket_t} isn’t actually used. None of the socket operations involve contexts that have anything to do with @code{guix_daemon_socket_t}. It doesn’t hurt to have this unused label, but it would be preferable to define socket rules for only this label."
  5416. msgstr ""
  5417. #. type: enumerate
  5418. #: guix-git/doc/guix.texi:1511
  5419. msgid "@code{guix gc} cannot access arbitrary links to profiles. By design, the file label of the destination of a symlink is independent of the file label of the link itself. Although all profiles under $localstatedir are labelled, the links to these profiles inherit the label of the directory they are in. For links in the user’s home directory this will be @code{user_home_t}. But for links from the root user’s home directory, or @file{/tmp}, or the HTTP server’s working directory, etc, this won’t work. @code{guix gc} would be prevented from reading and following these links."
  5420. msgstr ""
  5421. #. type: enumerate
  5422. #: guix-git/doc/guix.texi:1516
  5423. msgid "The daemon’s feature to listen for TCP connections might no longer work. This might require extra rules, because SELinux treats network sockets differently from files."
  5424. msgstr ""
  5425. #. type: enumerate
  5426. #: guix-git/doc/guix.texi:1527
  5427. msgid "Currently all files with a name matching the regular expression @code{/gnu/store/.+-(guix-.+|profile)/bin/guix-daemon} are assigned the label @code{guix_daemon_exec_t}; this means that @emph{any} file with that name in any profile would be permitted to run in the @code{guix_daemon_t} domain. This is not ideal. An attacker could build a package that provides this executable and convince a user to install and run it, which lifts it into the @code{guix_daemon_t} domain. At that point SELinux could not prevent it from accessing files that are allowed for processes in that domain."
  5428. msgstr ""
  5429. #. type: enumerate
  5430. #: guix-git/doc/guix.texi:1532
  5431. msgid "You will need to relabel the store directory after all upgrades to @file{guix-daemon}, such as after running @code{guix pull}. Assuming the store is in @file{/gnu}, you can do this with @code{restorecon -vR /gnu}, or by other means provided by your operating system."
  5432. msgstr ""
  5433. #. type: enumerate
  5434. #: guix-git/doc/guix.texi:1540
  5435. msgid "We could generate a much more restrictive policy at installation time, so that only the @emph{exact} file name of the currently installed @code{guix-daemon} executable would be labelled with @code{guix_daemon_exec_t}, instead of using a broad regular expression. The downside is that root would have to install or upgrade the policy at installation time whenever the Guix package that provides the effectively running @code{guix-daemon} executable is upgraded."
  5436. msgstr ""
  5437. #. type: section
  5438. #: guix-git/doc/guix.texi:1543
  5439. #, no-wrap
  5440. msgid "Invoking @command{guix-daemon}"
  5441. msgstr ""
  5442. #. type: Plain text
  5443. #: guix-git/doc/guix.texi:1549
  5444. msgid "The @command{guix-daemon} program implements all the functionality to access the store. This includes launching build processes, running the garbage collector, querying the availability of a build result, etc. It is normally run as @code{root} like this:"
  5445. msgstr ""
  5446. #. type: Plain text
  5447. #: guix-git/doc/guix.texi:1556
  5448. msgid "For details on how to set it up, @pxref{Setting Up the Daemon}."
  5449. msgstr ""
  5450. #. type: cindex
  5451. #: guix-git/doc/guix.texi:1558
  5452. #, no-wrap
  5453. msgid "container, build environment"
  5454. msgstr ""
  5455. #. type: cindex
  5456. #: guix-git/doc/guix.texi:1560 guix-git/doc/guix.texi:3104
  5457. #: guix-git/doc/guix.texi:4022 guix-git/doc/guix.texi:14214
  5458. #, no-wrap
  5459. msgid "reproducible builds"
  5460. msgstr ""
  5461. #. type: Plain text
  5462. #: guix-git/doc/guix.texi:1572
  5463. msgid "By default, @command{guix-daemon} launches build processes under different UIDs, taken from the build group specified with @option{--build-users-group}. In addition, each build process is run in a chroot environment that only contains the subset of the store that the build process depends on, as specified by its derivation (@pxref{Programming Interface, derivation}), plus a set of specific system directories. By default, the latter contains @file{/dev} and @file{/dev/pts}. Furthermore, on GNU/Linux, the build environment is a @dfn{container}: in addition to having its own file system tree, it has a separate mount name space, its own PID name space, network name space, etc. This helps achieve reproducible builds (@pxref{Features})."
  5464. msgstr ""
  5465. #. type: Plain text
  5466. #: guix-git/doc/guix.texi:1578
  5467. msgid "When the daemon performs a build on behalf of the user, it creates a build directory under @file{/tmp} or under the directory specified by its @env{TMPDIR} environment variable. This directory is shared with the container for the duration of the build, though within the container, the build tree is always called @file{/tmp/guix-build-@var{name}.drv-0}."
  5468. msgstr ""
  5469. #. type: Plain text
  5470. #: guix-git/doc/guix.texi:1582
  5471. msgid "The build directory is automatically deleted upon completion, unless the build failed and the client specified @option{--keep-failed} (@pxref{Common Build Options, @option{--keep-failed}})."
  5472. msgstr ""
  5473. #. type: Plain text
  5474. #: guix-git/doc/guix.texi:1588
  5475. msgid "The daemon listens for connections and spawns one sub-process for each session started by a client (one of the @command{guix} sub-commands). The @command{guix processes} command allows you to get an overview of the activity on your system by viewing each of the active sessions and clients. @xref{Invoking guix processes}, for more information."
  5476. msgstr ""
  5477. #. type: Plain text
  5478. #: guix-git/doc/guix.texi:1590
  5479. msgid "The following command-line options are supported:"
  5480. msgstr ""
  5481. #. type: item
  5482. #: guix-git/doc/guix.texi:1592
  5483. #, no-wrap
  5484. msgid "--build-users-group=@var{group}"
  5485. msgstr ""
  5486. #. type: table
  5487. #: guix-git/doc/guix.texi:1595
  5488. msgid "Take users from @var{group} to run build processes (@pxref{Setting Up the Daemon, build users})."
  5489. msgstr ""
  5490. #. type: item
  5491. #: guix-git/doc/guix.texi:1596 guix-git/doc/guix.texi:11333
  5492. #, no-wrap
  5493. msgid "--no-substitutes"
  5494. msgstr ""
  5495. #. type: cindex
  5496. #: guix-git/doc/guix.texi:1597 guix-git/doc/guix.texi:3116
  5497. #: guix-git/doc/guix.texi:3775
  5498. #, no-wrap
  5499. msgid "substitutes"
  5500. msgstr ""
  5501. #. type: table
  5502. #: guix-git/doc/guix.texi:1601 guix-git/doc/guix.texi:11337
  5503. msgid "Do not use substitutes for build products. That is, always build things locally instead of allowing downloads of pre-built binaries (@pxref{Substitutes})."
  5504. msgstr ""
  5505. #. type: table
  5506. #: guix-git/doc/guix.texi:1605
  5507. msgid "When the daemon runs with @option{--no-substitutes}, clients can still explicitly enable substitution @i{via} the @code{set-build-options} remote procedure call (@pxref{The Store})."
  5508. msgstr ""
  5509. #. type: anchor{#1}
  5510. #: guix-git/doc/guix.texi:1607
  5511. msgid "daemon-substitute-urls"
  5512. msgstr ""
  5513. #. type: item
  5514. #: guix-git/doc/guix.texi:1607 guix-git/doc/guix.texi:11320
  5515. #: guix-git/doc/guix.texi:13621 guix-git/doc/guix.texi:14360
  5516. #: guix-git/doc/guix.texi:14585
  5517. #, no-wrap
  5518. msgid "--substitute-urls=@var{urls}"
  5519. msgstr ""
  5520. #. type: table
  5521. #: guix-git/doc/guix.texi:1611
  5522. msgid "Consider @var{urls} the default whitespace-separated list of substitute source URLs. When this option is omitted, @indicateurl{@value{SUBSTITUTE-URLS}} is used."
  5523. msgstr ""
  5524. #. type: table
  5525. #: guix-git/doc/guix.texi:1614
  5526. msgid "This means that substitutes may be downloaded from @var{urls}, as long as they are signed by a trusted signature (@pxref{Substitutes})."
  5527. msgstr ""
  5528. #. type: table
  5529. #: guix-git/doc/guix.texi:1617
  5530. msgid "@xref{Getting Substitutes from Other Servers}, for more information on how to configure the daemon to get substitutes from other servers."
  5531. msgstr ""
  5532. #. type: item
  5533. #: guix-git/doc/guix.texi:1619 guix-git/doc/guix.texi:11356
  5534. #, no-wrap
  5535. msgid "--no-offload"
  5536. msgstr ""
  5537. #. type: table
  5538. #: guix-git/doc/guix.texi:1623 guix-git/doc/guix.texi:11360
  5539. msgid "Do not use offload builds to other machines (@pxref{Daemon Offload Setup}). That is, always build things locally instead of offloading builds to remote machines."
  5540. msgstr ""
  5541. #. type: item
  5542. #: guix-git/doc/guix.texi:1624
  5543. #, no-wrap
  5544. msgid "--cache-failures"
  5545. msgstr ""
  5546. #. type: table
  5547. #: guix-git/doc/guix.texi:1626
  5548. msgid "Cache build failures. By default, only successful builds are cached."
  5549. msgstr ""
  5550. #. type: table
  5551. #: guix-git/doc/guix.texi:1631
  5552. msgid "When this option is used, @command{guix gc --list-failures} can be used to query the set of store items marked as failed; @command{guix gc --clear-failures} removes store items from the set of cached failures. @xref{Invoking guix gc}."
  5553. msgstr ""
  5554. #. type: item
  5555. #: guix-git/doc/guix.texi:1632 guix-git/doc/guix.texi:11386
  5556. #, no-wrap
  5557. msgid "--cores=@var{n}"
  5558. msgstr ""
  5559. #. type: itemx
  5560. #: guix-git/doc/guix.texi:1633 guix-git/doc/guix.texi:11387
  5561. #, no-wrap
  5562. msgid "-c @var{n}"
  5563. msgstr ""
  5564. #. type: table
  5565. #: guix-git/doc/guix.texi:1636
  5566. msgid "Use @var{n} CPU cores to build each derivation; @code{0} means as many as available."
  5567. msgstr ""
  5568. #. type: table
  5569. #: guix-git/doc/guix.texi:1640
  5570. msgid "The default value is @code{0}, but it may be overridden by clients, such as the @option{--cores} option of @command{guix build} (@pxref{Invoking guix build})."
  5571. msgstr ""
  5572. #. type: table
  5573. #: guix-git/doc/guix.texi:1644
  5574. msgid "The effect is to define the @env{NIX_BUILD_CORES} environment variable in the build process, which can then use it to exploit internal parallelism---for instance, by running @code{make -j$NIX_BUILD_CORES}."
  5575. msgstr ""
  5576. #. type: item
  5577. #: guix-git/doc/guix.texi:1645 guix-git/doc/guix.texi:11391
  5578. #, no-wrap
  5579. msgid "--max-jobs=@var{n}"
  5580. msgstr ""
  5581. #. type: itemx
  5582. #: guix-git/doc/guix.texi:1646 guix-git/doc/guix.texi:11392
  5583. #, no-wrap
  5584. msgid "-M @var{n}"
  5585. msgstr ""
  5586. #. type: table
  5587. #: guix-git/doc/guix.texi:1651
  5588. msgid "Allow at most @var{n} build jobs in parallel. The default value is @code{1}. Setting it to @code{0} means that no builds will be performed locally; instead, the daemon will offload builds (@pxref{Daemon Offload Setup}), or simply fail."
  5589. msgstr ""
  5590. #. type: item
  5591. #: guix-git/doc/guix.texi:1652 guix-git/doc/guix.texi:11361
  5592. #, no-wrap
  5593. msgid "--max-silent-time=@var{seconds}"
  5594. msgstr ""
  5595. #. type: table
  5596. #: guix-git/doc/guix.texi:1655 guix-git/doc/guix.texi:11364
  5597. msgid "When the build or substitution process remains silent for more than @var{seconds}, terminate it and report a build failure."
  5598. msgstr ""
  5599. #. type: table
  5600. #: guix-git/doc/guix.texi:1657 guix-git/doc/guix.texi:1666
  5601. msgid "The default value is @code{0}, which disables the timeout."
  5602. msgstr ""
  5603. #. type: table
  5604. #: guix-git/doc/guix.texi:1660
  5605. msgid "The value specified here can be overridden by clients (@pxref{Common Build Options, @option{--max-silent-time}})."
  5606. msgstr ""
  5607. #. type: item
  5608. #: guix-git/doc/guix.texi:1661 guix-git/doc/guix.texi:11368
  5609. #, no-wrap
  5610. msgid "--timeout=@var{seconds}"
  5611. msgstr ""
  5612. #. type: table
  5613. #: guix-git/doc/guix.texi:1664 guix-git/doc/guix.texi:11371
  5614. msgid "Likewise, when the build or substitution process lasts for more than @var{seconds}, terminate it and report a build failure."
  5615. msgstr ""
  5616. #. type: table
  5617. #: guix-git/doc/guix.texi:1669
  5618. msgid "The value specified here can be overridden by clients (@pxref{Common Build Options, @option{--timeout}})."
  5619. msgstr ""
  5620. #. type: item
  5621. #: guix-git/doc/guix.texi:1670
  5622. #, no-wrap
  5623. msgid "--rounds=@var{N}"
  5624. msgstr ""
  5625. #. type: table
  5626. #: guix-git/doc/guix.texi:1675
  5627. msgid "Build each derivation @var{n} times in a row, and raise an error if consecutive build results are not bit-for-bit identical. Note that this setting can be overridden by clients such as @command{guix build} (@pxref{Invoking guix build})."
  5628. msgstr ""
  5629. #. type: table
  5630. #: guix-git/doc/guix.texi:1679 guix-git/doc/guix.texi:11355
  5631. #: guix-git/doc/guix.texi:11979
  5632. msgid "When used in conjunction with @option{--keep-failed}, the differing output is kept in the store, under @file{/gnu/store/@dots{}-check}. This makes it easy to look for differences between the two results."
  5633. msgstr ""
  5634. #. type: item
  5635. #: guix-git/doc/guix.texi:1680
  5636. #, no-wrap
  5637. msgid "--debug"
  5638. msgstr ""
  5639. #. type: table
  5640. #: guix-git/doc/guix.texi:1682
  5641. msgid "Produce debugging output."
  5642. msgstr ""
  5643. #. type: table
  5644. #: guix-git/doc/guix.texi:1686
  5645. msgid "This is useful to debug daemon start-up issues, but then it may be overridden by clients, for example the @option{--verbosity} option of @command{guix build} (@pxref{Invoking guix build})."
  5646. msgstr ""
  5647. #. type: item
  5648. #: guix-git/doc/guix.texi:1687
  5649. #, no-wrap
  5650. msgid "--chroot-directory=@var{dir}"
  5651. msgstr ""
  5652. #. type: table
  5653. #: guix-git/doc/guix.texi:1689
  5654. msgid "Add @var{dir} to the build chroot."
  5655. msgstr ""
  5656. #. type: table
  5657. #: guix-git/doc/guix.texi:1695
  5658. msgid "Doing this may change the result of build processes---for instance if they use optional dependencies found in @var{dir} when it is available, and not otherwise. For that reason, it is not recommended to do so. Instead, make sure that each derivation declares all the inputs that it needs."
  5659. msgstr ""
  5660. #. type: item
  5661. #: guix-git/doc/guix.texi:1696
  5662. #, no-wrap
  5663. msgid "--disable-chroot"
  5664. msgstr ""
  5665. #. type: table
  5666. #: guix-git/doc/guix.texi:1698
  5667. msgid "Disable chroot builds."
  5668. msgstr ""
  5669. #. type: table
  5670. #: guix-git/doc/guix.texi:1703
  5671. msgid "Using this option is not recommended since, again, it would allow build processes to gain access to undeclared dependencies. It is necessary, though, when @command{guix-daemon} is running under an unprivileged user account."
  5672. msgstr ""
  5673. #. type: item
  5674. #: guix-git/doc/guix.texi:1704
  5675. #, no-wrap
  5676. msgid "--log-compression=@var{type}"
  5677. msgstr ""
  5678. #. type: table
  5679. #: guix-git/doc/guix.texi:1707
  5680. msgid "Compress build logs according to @var{type}, one of @code{gzip}, @code{bzip2}, or @code{none}."
  5681. msgstr ""
  5682. #. type: table
  5683. #: guix-git/doc/guix.texi:1711
  5684. msgid "Unless @option{--lose-logs} is used, all the build logs are kept in the @var{localstatedir}. To save space, the daemon automatically compresses them with gzip by default."
  5685. msgstr ""
  5686. #. type: item
  5687. #: guix-git/doc/guix.texi:1712
  5688. #, no-wrap
  5689. msgid "--discover[=yes|no]"
  5690. msgstr ""
  5691. #. type: table
  5692. #: guix-git/doc/guix.texi:1715 guix-git/doc/guix.texi:17045
  5693. msgid "Whether to discover substitute servers on the local network using mDNS and DNS-SD."
  5694. msgstr ""
  5695. #. type: table
  5696. #: guix-git/doc/guix.texi:1718
  5697. msgid "This feature is still experimental. However, here are a few considerations."
  5698. msgstr ""
  5699. #. type: enumerate
  5700. #: guix-git/doc/guix.texi:1722
  5701. msgid "It might be faster/less expensive than fetching from remote servers;"
  5702. msgstr ""
  5703. #. type: enumerate
  5704. #: guix-git/doc/guix.texi:1725
  5705. msgid "There are no security risks, only genuine substitutes will be used (@pxref{Substitute Authentication});"
  5706. msgstr ""
  5707. #. type: enumerate
  5708. #: guix-git/doc/guix.texi:1729
  5709. msgid "An attacker advertising @command{guix publish} on your LAN cannot serve you malicious binaries, but they can learn what software you’re installing;"
  5710. msgstr ""
  5711. #. type: enumerate
  5712. #: guix-git/doc/guix.texi:1732
  5713. msgid "Servers may serve substitute over HTTP, unencrypted, so anyone on the LAN can see what software you’re installing."
  5714. msgstr ""
  5715. #. type: table
  5716. #: guix-git/doc/guix.texi:1736
  5717. msgid "It is also possible to enable or disable substitute server discovery at run-time by running:"
  5718. msgstr ""
  5719. #. type: example
  5720. #: guix-git/doc/guix.texi:1740
  5721. #, no-wrap
  5722. msgid ""
  5723. "herd discover guix-daemon on\n"
  5724. "herd discover guix-daemon off\n"
  5725. msgstr ""
  5726. #. type: item
  5727. #: guix-git/doc/guix.texi:1742
  5728. #, no-wrap
  5729. msgid "--disable-deduplication"
  5730. msgstr ""
  5731. #. type: cindex
  5732. #: guix-git/doc/guix.texi:1743 guix-git/doc/guix.texi:4360
  5733. #, no-wrap
  5734. msgid "deduplication"
  5735. msgstr "päällekkäisyyksien poisto"
  5736. #. type: table
  5737. #: guix-git/doc/guix.texi:1745
  5738. msgid "Disable automatic file ``deduplication'' in the store."
  5739. msgstr ""
  5740. #. type: table
  5741. #: guix-git/doc/guix.texi:1752
  5742. msgid "By default, files added to the store are automatically ``deduplicated'': if a newly added file is identical to another one found in the store, the daemon makes the new file a hard link to the other file. This can noticeably reduce disk usage, at the expense of slightly increased input/output load at the end of a build process. This option disables this optimization."
  5743. msgstr ""
  5744. #. type: item
  5745. #: guix-git/doc/guix.texi:1753
  5746. #, no-wrap
  5747. msgid "--gc-keep-outputs[=yes|no]"
  5748. msgstr ""
  5749. #. type: table
  5750. #: guix-git/doc/guix.texi:1756
  5751. msgid "Tell whether the garbage collector (GC) must keep outputs of live derivations."
  5752. msgstr ""
  5753. #. type: cindex
  5754. #: guix-git/doc/guix.texi:1757 guix-git/doc/guix.texi:4173
  5755. #, no-wrap
  5756. msgid "GC roots"
  5757. msgstr ""
  5758. #. type: cindex
  5759. #: guix-git/doc/guix.texi:1758 guix-git/doc/guix.texi:4174
  5760. #, no-wrap
  5761. msgid "garbage collector roots"
  5762. msgstr ""
  5763. #. type: table
  5764. #: guix-git/doc/guix.texi:1764
  5765. msgid "When set to @code{yes}, the GC will keep the outputs of any live derivation available in the store---the @file{.drv} files. The default is @code{no}, meaning that derivation outputs are kept only if they are reachable from a GC root. @xref{Invoking guix gc}, for more on GC roots."
  5766. msgstr ""
  5767. #. type: item
  5768. #: guix-git/doc/guix.texi:1765
  5769. #, no-wrap
  5770. msgid "--gc-keep-derivations[=yes|no]"
  5771. msgstr ""
  5772. #. type: table
  5773. #: guix-git/doc/guix.texi:1768
  5774. msgid "Tell whether the garbage collector (GC) must keep derivations corresponding to live outputs."
  5775. msgstr ""
  5776. #. type: table
  5777. #: guix-git/doc/guix.texi:1774
  5778. msgid "When set to @code{yes}, as is the case by default, the GC keeps derivations---i.e., @file{.drv} files---as long as at least one of their outputs is live. This allows users to keep track of the origins of items in their store. Setting it to @code{no} saves a bit of disk space."
  5779. msgstr ""
  5780. #. type: table
  5781. #: guix-git/doc/guix.texi:1783
  5782. msgid "In this way, setting @option{--gc-keep-derivations} to @code{yes} causes liveness to flow from outputs to derivations, and setting @option{--gc-keep-outputs} to @code{yes} causes liveness to flow from derivations to outputs. When both are set to @code{yes}, the effect is to keep all the build prerequisites (the sources, compiler, libraries, and other build-time tools) of live objects in the store, regardless of whether these prerequisites are reachable from a GC root. This is convenient for developers since it saves rebuilds or downloads."
  5783. msgstr ""
  5784. #. type: item
  5785. #: guix-git/doc/guix.texi:1784
  5786. #, no-wrap
  5787. msgid "--impersonate-linux-2.6"
  5788. msgstr ""
  5789. #. type: table
  5790. #: guix-git/doc/guix.texi:1787
  5791. msgid "On Linux-based systems, impersonate Linux 2.6. This means that the kernel's @command{uname} system call will report 2.6 as the release number."
  5792. msgstr ""
  5793. #. type: table
  5794. #: guix-git/doc/guix.texi:1790
  5795. msgid "This might be helpful to build programs that (usually wrongfully) depend on the kernel version number."
  5796. msgstr ""
  5797. #. type: item
  5798. #: guix-git/doc/guix.texi:1791
  5799. #, no-wrap
  5800. msgid "--lose-logs"
  5801. msgstr ""
  5802. #. type: table
  5803. #: guix-git/doc/guix.texi:1794
  5804. msgid "Do not keep build logs. By default they are kept under @file{@var{localstatedir}/guix/log}."
  5805. msgstr ""
  5806. #. type: item
  5807. #: guix-git/doc/guix.texi:1795 guix-git/doc/guix.texi:4605
  5808. #: guix-git/doc/guix.texi:5881 guix-git/doc/guix.texi:6294
  5809. #: guix-git/doc/guix.texi:6694 guix-git/doc/guix.texi:11923
  5810. #: guix-git/doc/guix.texi:13648 guix-git/doc/guix.texi:13913
  5811. #: guix-git/doc/guix.texi:14590 guix-git/doc/guix.texi:34995
  5812. #: guix-git/doc/guix.texi:35809
  5813. #, no-wrap
  5814. msgid "--system=@var{system}"
  5815. msgstr ""
  5816. #. type: table
  5817. #: guix-git/doc/guix.texi:1799
  5818. msgid "Assume @var{system} as the current system type. By default it is the architecture/kernel pair found at configure time, such as @code{x86_64-linux}."
  5819. msgstr ""
  5820. #. type: item
  5821. #: guix-git/doc/guix.texi:1800 guix-git/doc/guix.texi:11165
  5822. #, no-wrap
  5823. msgid "--listen=@var{endpoint}"
  5824. msgstr ""
  5825. #. type: table
  5826. #: guix-git/doc/guix.texi:1805
  5827. msgid "Listen for connections on @var{endpoint}. @var{endpoint} is interpreted as the file name of a Unix-domain socket if it starts with @code{/} (slash sign). Otherwise, @var{endpoint} is interpreted as a host name or host name and port to listen to. Here are a few examples:"
  5828. msgstr ""
  5829. #. type: item
  5830. #: guix-git/doc/guix.texi:1807
  5831. #, no-wrap
  5832. msgid "--listen=/gnu/var/daemon"
  5833. msgstr ""
  5834. #. type: table
  5835. #: guix-git/doc/guix.texi:1810
  5836. msgid "Listen for connections on the @file{/gnu/var/daemon} Unix-domain socket, creating it if needed."
  5837. msgstr ""
  5838. #. type: item
  5839. #: guix-git/doc/guix.texi:1811
  5840. #, no-wrap
  5841. msgid "--listen=localhost"
  5842. msgstr ""
  5843. #. type: cindex
  5844. #: guix-git/doc/guix.texi:1812 guix-git/doc/guix.texi:9839
  5845. #, no-wrap
  5846. msgid "daemon, remote access"
  5847. msgstr ""
  5848. #. type: cindex
  5849. #: guix-git/doc/guix.texi:1813 guix-git/doc/guix.texi:9840
  5850. #, no-wrap
  5851. msgid "remote access to the daemon"
  5852. msgstr ""
  5853. #. type: cindex
  5854. #: guix-git/doc/guix.texi:1814 guix-git/doc/guix.texi:9841
  5855. #, no-wrap
  5856. msgid "daemon, cluster setup"
  5857. msgstr ""
  5858. #. type: cindex
  5859. #: guix-git/doc/guix.texi:1815 guix-git/doc/guix.texi:9842
  5860. #, no-wrap
  5861. msgid "clusters, daemon setup"
  5862. msgstr ""
  5863. #. type: table
  5864. #: guix-git/doc/guix.texi:1818
  5865. msgid "Listen for TCP connections on the network interface corresponding to @code{localhost}, on port 44146."
  5866. msgstr ""
  5867. #. type: item
  5868. #: guix-git/doc/guix.texi:1819
  5869. #, no-wrap
  5870. msgid "--listen=128.0.0.42:1234"
  5871. msgstr ""
  5872. #. type: table
  5873. #: guix-git/doc/guix.texi:1822
  5874. msgid "Listen for TCP connections on the network interface corresponding to @code{128.0.0.42}, on port 1234."
  5875. msgstr ""
  5876. #. type: table
  5877. #: guix-git/doc/guix.texi:1829
  5878. msgid "This option can be repeated multiple times, in which case @command{guix-daemon} accepts connections on all the specified endpoints. Users can tell client commands what endpoint to connect to by setting the @env{GUIX_DAEMON_SOCKET} environment variable (@pxref{The Store, @env{GUIX_DAEMON_SOCKET}})."
  5879. msgstr ""
  5880. #. type: quotation
  5881. #: guix-git/doc/guix.texi:1836
  5882. msgid "The daemon protocol is @emph{unauthenticated and unencrypted}. Using @option{--listen=@var{host}} is suitable on local networks, such as clusters, where only trusted nodes may connect to the build daemon. In other cases where remote access to the daemon is needed, we recommend using Unix-domain sockets along with SSH."
  5883. msgstr ""
  5884. #. type: table
  5885. #: guix-git/doc/guix.texi:1841
  5886. msgid "When @option{--listen} is omitted, @command{guix-daemon} listens for connections on the Unix-domain socket located at @file{@var{localstatedir}/guix/daemon-socket/socket}."
  5887. msgstr ""
  5888. #. type: Plain text
  5889. #: guix-git/doc/guix.texi:1851
  5890. msgid "When using Guix on top of GNU/Linux distribution other than Guix System---a so-called @dfn{foreign distro}---a few additional steps are needed to get everything in place. Here are some of them."
  5891. msgstr ""
  5892. #. type: anchor{#1}
  5893. #: guix-git/doc/guix.texi:1855
  5894. msgid "locales-and-locpath"
  5895. msgstr ""
  5896. #. type: cindex
  5897. #: guix-git/doc/guix.texi:1855
  5898. #, no-wrap
  5899. msgid "locales, when not on Guix System"
  5900. msgstr ""
  5901. #. type: vindex
  5902. #: guix-git/doc/guix.texi:1856 guix-git/doc/guix.texi:16248
  5903. #, no-wrap
  5904. msgid "LOCPATH"
  5905. msgstr ""
  5906. #. type: vindex
  5907. #: guix-git/doc/guix.texi:1857
  5908. #, no-wrap
  5909. msgid "GUIX_LOCPATH"
  5910. msgstr ""
  5911. #. type: Plain text
  5912. #: guix-git/doc/guix.texi:1862
  5913. msgid "Packages installed @i{via} Guix will not use the locale data of the host system. Instead, you must first install one of the locale packages available with Guix and then define the @env{GUIX_LOCPATH} environment variable:"
  5914. msgstr ""
  5915. #. type: example
  5916. #: guix-git/doc/guix.texi:1866
  5917. #, no-wrap
  5918. msgid ""
  5919. "$ guix install glibc-locales\n"
  5920. "$ export GUIX_LOCPATH=$HOME/.guix-profile/lib/locale\n"
  5921. msgstr ""
  5922. #. type: Plain text
  5923. #: guix-git/doc/guix.texi:1878
  5924. msgid "Note that the @code{glibc-locales} package contains data for all the locales supported by the GNU@tie{}libc and weighs in at around 930@tie{}MiB@footnote{The size of the @code{glibc-locales} package is reduced down to about 213@tie{}MiB with store deduplication and further down to about 67@tie{}MiB when using a zstd-compressed Btrfs file system.}. If you only need a few locales, you can define your custom locales package via the @code{make-glibc-utf8-locales} procedure from the @code{(gnu packages base)} module. The following example defines a package containing the various Canadian UTF-8 locales known to the GNU@tie{}libc, that weighs around 14@tie{}MiB:"
  5925. msgstr ""
  5926. #. type: lisp
  5927. #: guix-git/doc/guix.texi:1881
  5928. #, no-wrap
  5929. msgid ""
  5930. "(use-modules (gnu packages base))\n"
  5931. "\n"
  5932. msgstr ""
  5933. #. type: lisp
  5934. #: guix-git/doc/guix.texi:1887
  5935. #, no-wrap
  5936. msgid ""
  5937. "(define my-glibc-locales\n"
  5938. " (make-glibc-utf8-locales\n"
  5939. " glibc\n"
  5940. " #:locales (list \"en_CA\" \"fr_CA\" \"ik_CA\" \"iu_CA\" \"shs_CA\")\n"
  5941. " #:name \"glibc-canadian-utf8-locales\"))\n"
  5942. msgstr ""
  5943. #. type: Plain text
  5944. #: guix-git/doc/guix.texi:1892
  5945. msgid "The @env{GUIX_LOCPATH} variable plays a role similar to @env{LOCPATH} (@pxref{Locale Names, @env{LOCPATH},, libc, The GNU C Library Reference Manual}). There are two important differences though:"
  5946. msgstr ""
  5947. #. type: enumerate
  5948. #: guix-git/doc/guix.texi:1899
  5949. msgid "@env{GUIX_LOCPATH} is honored only by the libc in Guix, and not by the libc provided by foreign distros. Thus, using @env{GUIX_LOCPATH} allows you to make sure the programs of the foreign distro will not end up loading incompatible locale data."
  5950. msgstr ""
  5951. #. type: enumerate
  5952. #: guix-git/doc/guix.texi:1906
  5953. msgid "libc suffixes each entry of @env{GUIX_LOCPATH} with @code{/X.Y}, where @code{X.Y} is the libc version---e.g., @code{2.22}. This means that, should your Guix profile contain a mixture of programs linked against different libc version, each libc version will only try to load locale data in the right format."
  5954. msgstr ""
  5955. #. type: Plain text
  5956. #: guix-git/doc/guix.texi:1910
  5957. msgid "This is important because the locale data format used by different libc versions may be incompatible."
  5958. msgstr ""
  5959. #. type: cindex
  5960. #: guix-git/doc/guix.texi:1913
  5961. #, no-wrap
  5962. msgid "name service switch, glibc"
  5963. msgstr ""
  5964. #. type: cindex
  5965. #: guix-git/doc/guix.texi:1914
  5966. #, no-wrap
  5967. msgid "NSS (name service switch), glibc"
  5968. msgstr ""
  5969. #. type: cindex
  5970. #: guix-git/doc/guix.texi:1915
  5971. #, no-wrap
  5972. msgid "nscd (name service caching daemon)"
  5973. msgstr ""
  5974. #. type: cindex
  5975. #: guix-git/doc/guix.texi:1916
  5976. #, no-wrap
  5977. msgid "name service caching daemon (nscd)"
  5978. msgstr ""
  5979. #. type: Plain text
  5980. #: guix-git/doc/guix.texi:1923
  5981. msgid "When using Guix on a foreign distro, we @emph{strongly recommend} that the system run the GNU C library's @dfn{name service cache daemon}, @command{nscd}, which should be listening on the @file{/var/run/nscd/socket} socket. Failing to do that, applications installed with Guix may fail to look up host names or user accounts, or may even crash. The next paragraphs explain why."
  5982. msgstr ""
  5983. #. type: file{#1}
  5984. #: guix-git/doc/guix.texi:1924
  5985. #, no-wrap
  5986. msgid "nsswitch.conf"
  5987. msgstr ""
  5988. #. type: Plain text
  5989. #: guix-git/doc/guix.texi:1929
  5990. msgid "The GNU C library implements a @dfn{name service switch} (NSS), which is an extensible mechanism for ``name lookups'' in general: host name resolution, user accounts, and more (@pxref{Name Service Switch,,, libc, The GNU C Library Reference Manual})."
  5991. msgstr ""
  5992. #. type: cindex
  5993. #: guix-git/doc/guix.texi:1930
  5994. #, no-wrap
  5995. msgid "Network information service (NIS)"
  5996. msgstr ""
  5997. #. type: cindex
  5998. #: guix-git/doc/guix.texi:1931
  5999. #, no-wrap
  6000. msgid "NIS (Network information service)"
  6001. msgstr ""
  6002. #. type: Plain text
  6003. #: guix-git/doc/guix.texi:1940
  6004. msgid "Being extensible, the NSS supports @dfn{plugins}, which provide new name lookup implementations: for example, the @code{nss-mdns} plugin allow resolution of @code{.local} host names, the @code{nis} plugin allows user account lookup using the Network information service (NIS), and so on. These extra ``lookup services'' are configured system-wide in @file{/etc/nsswitch.conf}, and all the programs running on the system honor those settings (@pxref{NSS Configuration File,,, libc, The GNU C Reference Manual})."
  6005. msgstr ""
  6006. #. type: Plain text
  6007. #: guix-git/doc/guix.texi:1950
  6008. msgid "When they perform a name lookup---for instance by calling the @code{getaddrinfo} function in C---applications first try to connect to the nscd; on success, nscd performs name lookups on their behalf. If the nscd is not running, then they perform the name lookup by themselves, by loading the name lookup services into their own address space and running it. These name lookup services---the @file{libnss_*.so} files---are @code{dlopen}'d, but they may come from the host system's C library, rather than from the C library the application is linked against (the C library coming from Guix)."
  6009. msgstr ""
  6010. #. type: Plain text
  6011. #: guix-git/doc/guix.texi:1955
  6012. msgid "And this is where the problem is: if your application is linked against Guix's C library (say, glibc 2.24) and tries to load NSS plugins from another C library (say, @code{libnss_mdns.so} for glibc 2.22), it will likely crash or have its name lookups fail unexpectedly."
  6013. msgstr ""
  6014. #. type: Plain text
  6015. #: guix-git/doc/guix.texi:1960
  6016. msgid "Running @command{nscd} on the system, among other advantages, eliminates this binary incompatibility problem because those @code{libnss_*.so} files are loaded in the @command{nscd} process, not in applications themselves."
  6017. msgstr ""
  6018. #. type: subsection
  6019. #: guix-git/doc/guix.texi:1961
  6020. #, no-wrap
  6021. msgid "X11 Fonts"
  6022. msgstr ""
  6023. #. type: Plain text
  6024. #: guix-git/doc/guix.texi:1971
  6025. msgid "The majority of graphical applications use Fontconfig to locate and load fonts and perform X11-client-side rendering. The @code{fontconfig} package in Guix looks for fonts in @file{$HOME/.guix-profile} by default. Thus, to allow graphical applications installed with Guix to display fonts, you have to install fonts with Guix as well. Essential font packages include @code{font-ghostscript}, @code{font-dejavu}, and @code{font-gnu-freefont}."
  6026. msgstr ""
  6027. #. type: code{#1}
  6028. #: guix-git/doc/guix.texi:1972
  6029. #, no-wrap
  6030. msgid "fc-cache"
  6031. msgstr ""
  6032. #. type: cindex
  6033. #: guix-git/doc/guix.texi:1973
  6034. #, no-wrap
  6035. msgid "font cache"
  6036. msgstr ""
  6037. #. type: Plain text
  6038. #: guix-git/doc/guix.texi:1977
  6039. msgid "Once you have installed or removed fonts, or when you notice an application that does not find fonts, you may need to install Fontconfig and to force an update of its font cache by running:"
  6040. msgstr ""
  6041. #. type: example
  6042. #: guix-git/doc/guix.texi:1981
  6043. #, no-wrap
  6044. msgid ""
  6045. "guix install fontconfig\n"
  6046. "fc-cache -rv\n"
  6047. msgstr ""
  6048. #. type: Plain text
  6049. #: guix-git/doc/guix.texi:1989
  6050. msgid "To display text written in Chinese languages, Japanese, or Korean in graphical applications, consider installing @code{font-adobe-source-han-sans} or @code{font-wqy-zenhei}. The former has multiple outputs, one per language family (@pxref{Packages with Multiple Outputs}). For instance, the following command installs fonts for Chinese languages:"
  6051. msgstr ""
  6052. #. type: example
  6053. #: guix-git/doc/guix.texi:1992
  6054. #, no-wrap
  6055. msgid "guix install font-adobe-source-han-sans:cn\n"
  6056. msgstr ""
  6057. #. type: code{#1}
  6058. #: guix-git/doc/guix.texi:1994
  6059. #, no-wrap
  6060. msgid "xterm"
  6061. msgstr ""
  6062. #. type: Plain text
  6063. #: guix-git/doc/guix.texi:1998
  6064. msgid "Older programs such as @command{xterm} do not use Fontconfig and instead rely on server-side font rendering. Such programs require to specify a full name of a font using XLFD (X Logical Font Description), like this:"
  6065. msgstr ""
  6066. #. type: example
  6067. #: guix-git/doc/guix.texi:2001
  6068. #, no-wrap
  6069. msgid "-*-dejavu sans-medium-r-normal-*-*-100-*-*-*-*-*-1\n"
  6070. msgstr ""
  6071. #. type: Plain text
  6072. #: guix-git/doc/guix.texi:2005
  6073. msgid "To be able to use such full names for the TrueType fonts installed in your Guix profile, you need to extend the font path of the X server:"
  6074. msgstr ""
  6075. #. type: example
  6076. #: guix-git/doc/guix.texi:2010
  6077. #, no-wrap
  6078. msgid "xset +fp $(dirname $(readlink -f ~/.guix-profile/share/fonts/truetype/fonts.dir))\n"
  6079. msgstr ""
  6080. #. type: code{#1}
  6081. #: guix-git/doc/guix.texi:2012
  6082. #, no-wrap
  6083. msgid "xlsfonts"
  6084. msgstr ""
  6085. #. type: Plain text
  6086. #: guix-git/doc/guix.texi:2015
  6087. msgid "After that, you can run @code{xlsfonts} (from @code{xlsfonts} package) to make sure your TrueType fonts are listed there."
  6088. msgstr ""
  6089. #. type: code{#1}
  6090. #: guix-git/doc/guix.texi:2019 guix-git/doc/guix.texi:34714
  6091. #, no-wrap
  6092. msgid "nss-certs"
  6093. msgstr ""
  6094. #. type: Plain text
  6095. #: guix-git/doc/guix.texi:2022
  6096. msgid "The @code{nss-certs} package provides X.509 certificates, which allow programs to authenticate Web servers accessed over HTTPS."
  6097. msgstr ""
  6098. #. type: Plain text
  6099. #: guix-git/doc/guix.texi:2027
  6100. msgid "When using Guix on a foreign distro, you can install this package and define the relevant environment variables so that packages know where to look for certificates. @xref{X.509 Certificates}, for detailed information."
  6101. msgstr ""
  6102. #. type: code{#1}
  6103. #: guix-git/doc/guix.texi:2030
  6104. #, no-wrap
  6105. msgid "emacs"
  6106. msgstr "Emacs"
  6107. #. type: Plain text
  6108. #: guix-git/doc/guix.texi:2036
  6109. msgid "When you install Emacs packages with Guix, the Elisp files are placed under the @file{share/emacs/site-lisp/} directory of the profile in which they are installed. The Elisp libraries are made available to Emacs through the @env{EMACSLOADPATH} environment variable, which is set when installing Emacs itself."
  6110. msgstr ""
  6111. #. type: Plain text
  6112. #: guix-git/doc/guix.texi:2043
  6113. msgid "Additionally, autoload definitions are automatically evaluated at the initialization of Emacs, by the Guix-specific @code{guix-emacs-autoload-packages} procedure. If, for some reason, you want to avoid auto-loading the Emacs packages installed with Guix, you can do so by running Emacs with the @option{--no-site-file} option (@pxref{Init File,,, emacs, The GNU Emacs Manual})."
  6114. msgstr ""
  6115. #. type: cindex
  6116. #: guix-git/doc/guix.texi:2048
  6117. #, no-wrap
  6118. msgid "Upgrading Guix, on a foreign distro"
  6119. msgstr ""
  6120. #. type: Plain text
  6121. #: guix-git/doc/guix.texi:2051
  6122. msgid "To upgrade Guix, run:"
  6123. msgstr ""
  6124. #. type: example
  6125. #: guix-git/doc/guix.texi:2054 guix-git/doc/guix.texi:2912
  6126. #, no-wrap
  6127. msgid "guix pull\n"
  6128. msgstr ""
  6129. #. type: Plain text
  6130. #: guix-git/doc/guix.texi:2057
  6131. msgid "@xref{Invoking guix pull}, for more information."
  6132. msgstr ""
  6133. #. type: cindex
  6134. #: guix-git/doc/guix.texi:2058
  6135. #, no-wrap
  6136. msgid "upgrading Guix for the root user, on a foreign distro"
  6137. msgstr ""
  6138. #. type: cindex
  6139. #: guix-git/doc/guix.texi:2059
  6140. #, no-wrap
  6141. msgid "upgrading the Guix daemon, on a foreign distro"
  6142. msgstr ""
  6143. #. type: cindex
  6144. #: guix-git/doc/guix.texi:2060
  6145. #, no-wrap
  6146. msgid "@command{guix pull} for the root user, on a foreign distro"
  6147. msgstr ""
  6148. #. type: Plain text
  6149. #: guix-git/doc/guix.texi:2063
  6150. msgid "On a foreign distro, you can upgrade the build daemon by running:"
  6151. msgstr ""
  6152. #. type: example
  6153. #: guix-git/doc/guix.texi:2066
  6154. #, no-wrap
  6155. msgid "sudo -i guix pull\n"
  6156. msgstr ""
  6157. #. type: Plain text
  6158. #: guix-git/doc/guix.texi:2071
  6159. msgid "followed by (assuming your distro uses the systemd service management tool):"
  6160. msgstr ""
  6161. #. type: example
  6162. #: guix-git/doc/guix.texi:2074
  6163. #, no-wrap
  6164. msgid "systemctl restart guix-daemon.service\n"
  6165. msgstr ""
  6166. #. type: Plain text
  6167. #: guix-git/doc/guix.texi:2078
  6168. msgid "On Guix System, upgrading the daemon is achieved by reconfiguring the system (@pxref{Invoking guix system, @code{guix system reconfigure}})."
  6169. msgstr ""
  6170. #. type: cindex
  6171. #: guix-git/doc/guix.texi:2085
  6172. #, no-wrap
  6173. msgid "installing Guix System"
  6174. msgstr ""
  6175. #. type: cindex
  6176. #: guix-git/doc/guix.texi:2086
  6177. #, no-wrap
  6178. msgid "Guix System, installation"
  6179. msgstr ""
  6180. #. type: Plain text
  6181. #: guix-git/doc/guix.texi:2091
  6182. msgid "This section explains how to install Guix System on a machine. Guix, as a package manager, can also be installed on top of a running GNU/Linux system, @pxref{Installation}."
  6183. msgstr ""
  6184. #. type: quotation
  6185. #: guix-git/doc/guix.texi:2100
  6186. msgid "You are reading this documentation with an Info reader. For details on how to use it, hit the @key{RET} key (``return'' or ``enter'') on the link that follows: @pxref{Top, Info reader,, info-stnd, Stand-alone GNU Info}. Hit @kbd{l} afterwards to come back here."
  6187. msgstr ""
  6188. #. type: quotation
  6189. #: guix-git/doc/guix.texi:2103
  6190. msgid "Alternatively, run @command{info info} in another tty to keep the manual available."
  6191. msgstr ""
  6192. #. type: Plain text
  6193. #: guix-git/doc/guix.texi:2124
  6194. msgid "We consider Guix System to be ready for a wide range of ``desktop'' and server use cases. The reliability guarantees it provides---transactional upgrades and rollbacks, reproducibility---make it a solid foundation."
  6195. msgstr ""
  6196. #. type: Plain text
  6197. #: guix-git/doc/guix.texi:2127
  6198. msgid "Nevertheless, before you proceed with the installation, be aware of the following noteworthy limitations applicable to version @value{VERSION}:"
  6199. msgstr ""
  6200. #. type: itemize
  6201. #: guix-git/doc/guix.texi:2132
  6202. msgid "More and more system services are provided (@pxref{Services}), but some may be missing."
  6203. msgstr ""
  6204. #. type: itemize
  6205. #: guix-git/doc/guix.texi:2137
  6206. msgid "GNOME, Xfce, LXDE, and Enlightenment are available (@pxref{Desktop Services}), as well as a number of X11 window managers. However, KDE is currently missing."
  6207. msgstr ""
  6208. #. type: Plain text
  6209. #: guix-git/doc/guix.texi:2142
  6210. msgid "More than a disclaimer, this is an invitation to report issues (and success stories!), and to join us in improving it. @xref{Contributing}, for more info."
  6211. msgstr ""
  6212. #. type: cindex
  6213. #: guix-git/doc/guix.texi:2147
  6214. #, no-wrap
  6215. msgid "hardware support on Guix System"
  6216. msgstr ""
  6217. #. type: Plain text
  6218. #: guix-git/doc/guix.texi:2156
  6219. msgid "GNU@tie{}Guix focuses on respecting the user's computing freedom. It builds around the kernel Linux-libre, which means that only hardware for which free software drivers and firmware exist is supported. Nowadays, a wide range of off-the-shelf hardware is supported on GNU/Linux-libre---from keyboards to graphics cards to scanners and Ethernet controllers. Unfortunately, there are still areas where hardware vendors deny users control over their own computing, and such hardware is not supported on Guix System."
  6220. msgstr ""
  6221. #. type: cindex
  6222. #: guix-git/doc/guix.texi:2157
  6223. #, no-wrap
  6224. msgid "WiFi, hardware support"
  6225. msgstr ""
  6226. #. type: Plain text
  6227. #: guix-git/doc/guix.texi:2166
  6228. msgid "One of the main areas where free drivers or firmware are lacking is WiFi devices. WiFi devices known to work include those using Atheros chips (AR9271 and AR7010), which corresponds to the @code{ath9k} Linux-libre driver, and those using Broadcom/AirForce chips (BCM43xx with Wireless-Core Revision 5), which corresponds to the @code{b43-open} Linux-libre driver. Free firmware exists for both and is available out-of-the-box on Guix System, as part of @code{%base-firmware} (@pxref{operating-system Reference, @code{firmware}})."
  6229. msgstr ""
  6230. #. type: cindex
  6231. #: guix-git/doc/guix.texi:2167
  6232. #, no-wrap
  6233. msgid "RYF, Respects Your Freedom"
  6234. msgstr ""
  6235. #. type: Plain text
  6236. #: guix-git/doc/guix.texi:2173
  6237. msgid "The @uref{https://www.fsf.org/, Free Software Foundation} runs @uref{https://www.fsf.org/ryf, @dfn{Respects Your Freedom}} (RYF), a certification program for hardware products that respect your freedom and your privacy and ensure that you have control over your device. We encourage you to check the list of RYF-certified devices."
  6238. msgstr ""
  6239. #. type: Plain text
  6240. #: guix-git/doc/guix.texi:2177
  6241. msgid "Another useful resource is the @uref{https://www.h-node.org/, H-Node} web site. It contains a catalog of hardware devices with information about their support in GNU/Linux."
  6242. msgstr ""
  6243. #. type: Plain text
  6244. #: guix-git/doc/guix.texi:2186
  6245. msgid "An ISO-9660 installation image that can be written to a USB stick or burnt to a DVD can be downloaded from @indicateurl{@value{BASE-URL}/guix-system-install-@value{VERSION}.x86_64-linux.iso}, where you can replace @code{x86_64-linux} with one of:"
  6246. msgstr ""
  6247. #. type: table
  6248. #: guix-git/doc/guix.texi:2190
  6249. msgid "for a GNU/Linux system on Intel/AMD-compatible 64-bit CPUs;"
  6250. msgstr ""
  6251. #. type: table
  6252. #: guix-git/doc/guix.texi:2193
  6253. msgid "for a 32-bit GNU/Linux system on Intel-compatible CPUs."
  6254. msgstr ""
  6255. #. type: Plain text
  6256. #: guix-git/doc/guix.texi:2198
  6257. msgid "Make sure to download the associated @file{.sig} file and to verify the authenticity of the image against it, along these lines:"
  6258. msgstr ""
  6259. #. type: example
  6260. #: guix-git/doc/guix.texi:2202
  6261. #, no-wrap
  6262. msgid ""
  6263. "$ wget @value{BASE-URL}/guix-system-install-@value{VERSION}.x86_64-linux.iso.sig\n"
  6264. "$ gpg --verify guix-system-install-@value{VERSION}.x86_64-linux.iso.sig\n"
  6265. msgstr ""
  6266. #. type: example
  6267. #: guix-git/doc/guix.texi:2210
  6268. #, no-wrap
  6269. msgid ""
  6270. "$ wget @value{OPENPGP-SIGNING-KEY-URL} \\\n"
  6271. " -qO - | gpg --import -\n"
  6272. msgstr ""
  6273. #. type: Plain text
  6274. #: guix-git/doc/guix.texi:2222
  6275. msgid "This image contains the tools necessary for an installation. It is meant to be copied @emph{as is} to a large-enough USB stick or DVD."
  6276. msgstr ""
  6277. #. type: unnumberedsubsec
  6278. #: guix-git/doc/guix.texi:2223
  6279. #, no-wrap
  6280. msgid "Copying to a USB Stick"
  6281. msgstr ""
  6282. #. type: Plain text
  6283. #: guix-git/doc/guix.texi:2228
  6284. msgid "Insert a USB stick of 1@tie{}GiB or more into your machine, and determine its device name. Assuming that the USB stick is known as @file{/dev/sdX}, copy the image with:"
  6285. msgstr ""
  6286. #. type: example
  6287. #: guix-git/doc/guix.texi:2232
  6288. #, no-wrap
  6289. msgid ""
  6290. "dd if=guix-system-install-@value{VERSION}.x86_64-linux.iso of=/dev/sdX status=progress\n"
  6291. "sync\n"
  6292. msgstr ""
  6293. #. type: Plain text
  6294. #: guix-git/doc/guix.texi:2235
  6295. msgid "Access to @file{/dev/sdX} usually requires root privileges."
  6296. msgstr ""
  6297. #. type: unnumberedsubsec
  6298. #: guix-git/doc/guix.texi:2236
  6299. #, no-wrap
  6300. msgid "Burning on a DVD"
  6301. msgstr ""
  6302. #. type: Plain text
  6303. #: guix-git/doc/guix.texi:2241
  6304. msgid "Insert a blank DVD into your machine, and determine its device name. Assuming that the DVD drive is known as @file{/dev/srX}, copy the image with:"
  6305. msgstr ""
  6306. #. type: example
  6307. #: guix-git/doc/guix.texi:2244
  6308. #, no-wrap
  6309. msgid "growisofs -dvd-compat -Z /dev/srX=guix-system-install-@value{VERSION}.x86_64-linux.iso\n"
  6310. msgstr ""
  6311. #. type: Plain text
  6312. #: guix-git/doc/guix.texi:2247
  6313. msgid "Access to @file{/dev/srX} usually requires root privileges."
  6314. msgstr ""
  6315. #. type: unnumberedsubsec
  6316. #: guix-git/doc/guix.texi:2248
  6317. #, no-wrap
  6318. msgid "Booting"
  6319. msgstr ""
  6320. #. type: Plain text
  6321. #: guix-git/doc/guix.texi:2255
  6322. msgid "Once this is done, you should be able to reboot the system and boot from the USB stick or DVD@. The latter usually requires you to get in the BIOS or UEFI boot menu, where you can choose to boot from the USB stick. In order to boot from Libreboot, switch to the command mode by pressing the @kbd{c} key and type @command{search_grub usb}."
  6323. msgstr ""
  6324. #. type: Plain text
  6325. #: guix-git/doc/guix.texi:2258
  6326. msgid "@xref{Installing Guix in a VM}, if, instead, you would like to install Guix System in a virtual machine (VM)."
  6327. msgstr ""
  6328. #. type: Plain text
  6329. #: guix-git/doc/guix.texi:2268
  6330. msgid "Once you have booted, you can use the guided graphical installer, which makes it easy to get started (@pxref{Guided Graphical Installation}). Alternatively, if you are already familiar with GNU/Linux and if you want more control than what the graphical installer provides, you can choose the ``manual'' installation process (@pxref{Manual Installation})."
  6331. msgstr ""
  6332. #. type: Plain text
  6333. #: guix-git/doc/guix.texi:2276
  6334. msgid "The graphical installer is available on TTY1. You can obtain root shells on TTYs 3 to 6 by hitting @kbd{ctrl-alt-f3}, @kbd{ctrl-alt-f4}, etc. TTY2 shows this documentation and you can reach it with @kbd{ctrl-alt-f2}. Documentation is browsable using the Info reader commands (@pxref{Top,,, info-stnd, Stand-alone GNU Info}). The installation system runs the GPM mouse daemon, which allows you to select text with the left mouse button and to paste it with the middle button."
  6335. msgstr ""
  6336. #. type: quotation
  6337. #: guix-git/doc/guix.texi:2281
  6338. msgid "Installation requires access to the Internet so that any missing dependencies of your system configuration can be downloaded. See the ``Networking'' section below."
  6339. msgstr ""
  6340. #. type: Plain text
  6341. #: guix-git/doc/guix.texi:2288
  6342. msgid "The graphical installer is a text-based user interface. It will guide you, with dialog boxes, through the steps needed to install GNU@tie{}Guix System."
  6343. msgstr ""
  6344. #. type: Plain text
  6345. #: guix-git/doc/guix.texi:2293
  6346. msgid "The first dialog boxes allow you to set up the system as you use it during the installation: you can choose the language, keyboard layout, and set up networking, which will be used during the installation. The image below shows the networking dialog."
  6347. msgstr ""
  6348. #. type: Plain text
  6349. #: guix-git/doc/guix.texi:2295
  6350. msgid "@image{images/installer-network,5in,, networking setup with the graphical installer}"
  6351. msgstr ""
  6352. #. type: Plain text
  6353. #: guix-git/doc/guix.texi:2300
  6354. msgid "Later steps allow you to partition your hard disk, as shown in the image below, to choose whether or not to use encrypted file systems, to enter the host name and root password, and to create an additional account, among other things."
  6355. msgstr ""
  6356. #. type: Plain text
  6357. #: guix-git/doc/guix.texi:2302
  6358. msgid "@image{images/installer-partitions,5in,, partitioning with the graphical installer}"
  6359. msgstr ""
  6360. #. type: Plain text
  6361. #: guix-git/doc/guix.texi:2305
  6362. msgid "Note that, at any time, the installer allows you to exit the current installation step and resume at a previous step, as show in the image below."
  6363. msgstr ""
  6364. #. type: Plain text
  6365. #: guix-git/doc/guix.texi:2307
  6366. msgid "@image{images/installer-resume,5in,, resuming the installation process}"
  6367. msgstr ""
  6368. #. type: Plain text
  6369. #: guix-git/doc/guix.texi:2312
  6370. msgid "Once you're done, the installer produces an operating system configuration and displays it (@pxref{Using the Configuration System}). At that point you can hit ``OK'' and installation will proceed. On success, you can reboot into the new system and enjoy. @xref{After System Installation}, for what's next!"
  6371. msgstr ""
  6372. #. type: Plain text
  6373. #: guix-git/doc/guix.texi:2322
  6374. msgid "This section describes how you would ``manually'' install GNU@tie{}Guix System on your machine. This option requires familiarity with GNU/Linux, with the shell, and with common administration tools. If you think this is not for you, consider using the guided graphical installer (@pxref{Guided Graphical Installation})."
  6375. msgstr ""
  6376. #. type: Plain text
  6377. #: guix-git/doc/guix.texi:2328
  6378. msgid "The installation system provides root shells on TTYs 3 to 6; press @kbd{ctrl-alt-f3}, @kbd{ctrl-alt-f4}, and so on to reach them. It includes many common tools needed to install the system. But it is also a full-blown Guix System, which means that you can install additional packages, should you need it, using @command{guix package} (@pxref{Invoking guix package})."
  6379. msgstr ""
  6380. #. type: subsection
  6381. #: guix-git/doc/guix.texi:2335
  6382. #, no-wrap
  6383. msgid "Keyboard Layout, Networking, and Partitioning"
  6384. msgstr ""
  6385. #. type: Plain text
  6386. #: guix-git/doc/guix.texi:2340
  6387. msgid "Before you can install the system, you may want to adjust the keyboard layout, set up networking, and partition your target hard disk. This section will guide you through this."
  6388. msgstr ""
  6389. #. type: cindex
  6390. #: guix-git/doc/guix.texi:2343 guix-git/doc/guix.texi:16062
  6391. #, no-wrap
  6392. msgid "keyboard layout"
  6393. msgstr ""
  6394. #. type: Plain text
  6395. #: guix-git/doc/guix.texi:2347
  6396. msgid "The installation image uses the US qwerty keyboard layout. If you want to change it, you can use the @command{loadkeys} command. For example, the following command selects the Dvorak keyboard layout:"
  6397. msgstr ""
  6398. #. type: example
  6399. #: guix-git/doc/guix.texi:2350
  6400. #, no-wrap
  6401. msgid "loadkeys dvorak\n"
  6402. msgstr ""
  6403. #. type: Plain text
  6404. #: guix-git/doc/guix.texi:2355
  6405. msgid "See the files under @file{/run/current-system/profile/share/keymaps} for a list of available keyboard layouts. Run @command{man loadkeys} for more information."
  6406. msgstr ""
  6407. #. type: subsubsection
  6408. #: guix-git/doc/guix.texi:2356
  6409. #, no-wrap
  6410. msgid "Networking"
  6411. msgstr "Verkko"
  6412. #. type: Plain text
  6413. #: guix-git/doc/guix.texi:2359
  6414. msgid "Run the following command to see what your network interfaces are called:"
  6415. msgstr ""
  6416. #. type: example
  6417. #: guix-git/doc/guix.texi:2362
  6418. #, no-wrap
  6419. msgid "ifconfig -a\n"
  6420. msgstr ""
  6421. #. type: table
  6422. #: guix-git/doc/guix.texi:2366 guix-git/doc/guix.texi:2388
  6423. msgid "@dots{} or, using the GNU/Linux-specific @command{ip} command:"
  6424. msgstr ""
  6425. #. type: example
  6426. #: guix-git/doc/guix.texi:2369
  6427. #, no-wrap
  6428. msgid "ip address\n"
  6429. msgstr ""
  6430. #. type: Plain text
  6431. #: guix-git/doc/guix.texi:2376
  6432. msgid "Wired interfaces have a name starting with @samp{e}; for example, the interface corresponding to the first on-board Ethernet controller is called @samp{eno1}. Wireless interfaces have a name starting with @samp{w}, like @samp{w1p2s0}."
  6433. msgstr ""
  6434. #. type: item
  6435. #: guix-git/doc/guix.texi:2378
  6436. #, no-wrap
  6437. msgid "Wired connection"
  6438. msgstr ""
  6439. #. type: table
  6440. #: guix-git/doc/guix.texi:2381
  6441. msgid "To configure a wired network run the following command, substituting @var{interface} with the name of the wired interface you want to use."
  6442. msgstr ""
  6443. #. type: example
  6444. #: guix-git/doc/guix.texi:2384
  6445. #, no-wrap
  6446. msgid "ifconfig @var{interface} up\n"
  6447. msgstr ""
  6448. #. type: example
  6449. #: guix-git/doc/guix.texi:2391
  6450. #, no-wrap
  6451. msgid "ip link set @var{interface} up\n"
  6452. msgstr ""
  6453. #. type: item
  6454. #: guix-git/doc/guix.texi:2393
  6455. #, no-wrap
  6456. msgid "Wireless connection"
  6457. msgstr ""
  6458. #. type: cindex
  6459. #: guix-git/doc/guix.texi:2394 guix-git/doc/guix.texi:17971
  6460. #, no-wrap
  6461. msgid "wireless"
  6462. msgstr "langaton"
  6463. #. type: cindex
  6464. #: guix-git/doc/guix.texi:2395 guix-git/doc/guix.texi:17972
  6465. #, no-wrap
  6466. msgid "WiFi"
  6467. msgstr ""
  6468. #. type: table
  6469. #: guix-git/doc/guix.texi:2400
  6470. msgid "To configure wireless networking, you can create a configuration file for the @command{wpa_supplicant} configuration tool (its location is not important) using one of the available text editors such as @command{nano}:"
  6471. msgstr ""
  6472. #. type: example
  6473. #: guix-git/doc/guix.texi:2403
  6474. #, no-wrap
  6475. msgid "nano wpa_supplicant.conf\n"
  6476. msgstr ""
  6477. #. type: table
  6478. #: guix-git/doc/guix.texi:2408
  6479. msgid "As an example, the following stanza can go to this file and will work for many wireless networks, provided you give the actual SSID and passphrase for the network you are connecting to:"
  6480. msgstr ""
  6481. #. type: example
  6482. #: guix-git/doc/guix.texi:2415
  6483. #, no-wrap
  6484. msgid ""
  6485. "network=@{\n"
  6486. " ssid=\"@var{my-ssid}\"\n"
  6487. " key_mgmt=WPA-PSK\n"
  6488. " psk=\"the network's secret passphrase\"\n"
  6489. "@}\n"
  6490. msgstr ""
  6491. #. type: table
  6492. #: guix-git/doc/guix.texi:2420
  6493. msgid "Start the wireless service and run it in the background with the following command (substitute @var{interface} with the name of the network interface you want to use):"
  6494. msgstr ""
  6495. #. type: example
  6496. #: guix-git/doc/guix.texi:2423
  6497. #, no-wrap
  6498. msgid "wpa_supplicant -c wpa_supplicant.conf -i @var{interface} -B\n"
  6499. msgstr ""
  6500. #. type: table
  6501. #: guix-git/doc/guix.texi:2426
  6502. msgid "Run @command{man wpa_supplicant} for more information."
  6503. msgstr ""
  6504. #. type: cindex
  6505. #: guix-git/doc/guix.texi:2428
  6506. #, no-wrap
  6507. msgid "DHCP"
  6508. msgstr ""
  6509. #. type: Plain text
  6510. #: guix-git/doc/guix.texi:2431
  6511. msgid "At this point, you need to acquire an IP address. On a network where IP addresses are automatically assigned @i{via} DHCP, you can run:"
  6512. msgstr ""
  6513. #. type: example
  6514. #: guix-git/doc/guix.texi:2434
  6515. #, no-wrap
  6516. msgid "dhclient -v @var{interface}\n"
  6517. msgstr ""
  6518. #. type: Plain text
  6519. #: guix-git/doc/guix.texi:2437
  6520. msgid "Try to ping a server to see if networking is up and running:"
  6521. msgstr ""
  6522. #. type: example
  6523. #: guix-git/doc/guix.texi:2440
  6524. #, no-wrap
  6525. msgid "ping -c 3 gnu.org\n"
  6526. msgstr ""
  6527. #. type: Plain text
  6528. #: guix-git/doc/guix.texi:2444
  6529. msgid "Setting up network access is almost always a requirement because the image does not contain all the software and tools that may be needed."
  6530. msgstr ""
  6531. #. type: cindex
  6532. #: guix-git/doc/guix.texi:2445
  6533. #, no-wrap
  6534. msgid "proxy, during system installation"
  6535. msgstr ""
  6536. #. type: Plain text
  6537. #: guix-git/doc/guix.texi:2448
  6538. msgid "If you need HTTP and HTTPS access to go through a proxy, run the following command:"
  6539. msgstr ""
  6540. #. type: example
  6541. #: guix-git/doc/guix.texi:2451
  6542. #, no-wrap
  6543. msgid "herd set-http-proxy guix-daemon @var{URL}\n"
  6544. msgstr ""
  6545. #. type: Plain text
  6546. #: guix-git/doc/guix.texi:2456
  6547. msgid "where @var{URL} is the proxy URL, for example @code{http://example.org:8118}."
  6548. msgstr ""
  6549. #. type: cindex
  6550. #: guix-git/doc/guix.texi:2457
  6551. #, no-wrap
  6552. msgid "installing over SSH"
  6553. msgstr ""
  6554. #. type: Plain text
  6555. #: guix-git/doc/guix.texi:2460
  6556. msgid "If you want to, you can continue the installation remotely by starting an SSH server:"
  6557. msgstr ""
  6558. #. type: example
  6559. #: guix-git/doc/guix.texi:2463
  6560. #, no-wrap
  6561. msgid "herd start ssh-daemon\n"
  6562. msgstr ""
  6563. #. type: Plain text
  6564. #: guix-git/doc/guix.texi:2467
  6565. msgid "Make sure to either set a password with @command{passwd}, or configure OpenSSH public key authentication before logging in."
  6566. msgstr ""
  6567. #. type: subsubsection
  6568. #: guix-git/doc/guix.texi:2468
  6569. #, no-wrap
  6570. msgid "Disk Partitioning"
  6571. msgstr ""
  6572. #. type: Plain text
  6573. #: guix-git/doc/guix.texi:2472
  6574. msgid "Unless this has already been done, the next step is to partition, and then format the target partition(s)."
  6575. msgstr ""
  6576. #. type: Plain text
  6577. #: guix-git/doc/guix.texi:2477
  6578. msgid "The installation image includes several partitioning tools, including Parted (@pxref{Overview,,, parted, GNU Parted User Manual}), @command{fdisk}, and @command{cfdisk}. Run it and set up your disk with the partition layout you want:"
  6579. msgstr ""
  6580. #. type: example
  6581. #: guix-git/doc/guix.texi:2480
  6582. #, no-wrap
  6583. msgid "cfdisk\n"
  6584. msgstr ""
  6585. #. type: Plain text
  6586. #: guix-git/doc/guix.texi:2486
  6587. msgid "If your disk uses the GUID Partition Table (GPT) format and you plan to install BIOS-based GRUB (which is the default), make sure a BIOS Boot Partition is available (@pxref{BIOS installation,,, grub, GNU GRUB manual})."
  6588. msgstr ""
  6589. #. type: cindex
  6590. #: guix-git/doc/guix.texi:2487
  6591. #, no-wrap
  6592. msgid "EFI, installation"
  6593. msgstr ""
  6594. #. type: cindex
  6595. #: guix-git/doc/guix.texi:2488
  6596. #, no-wrap
  6597. msgid "UEFI, installation"
  6598. msgstr ""
  6599. #. type: cindex
  6600. #: guix-git/doc/guix.texi:2489
  6601. #, no-wrap
  6602. msgid "ESP, EFI system partition"
  6603. msgstr ""
  6604. #. type: Plain text
  6605. #: guix-git/doc/guix.texi:2493
  6606. msgid "If you instead wish to use EFI-based GRUB, a FAT32 @dfn{EFI System Partition} (ESP) is required. This partition can be mounted at @file{/boot/efi} for instance and must have the @code{esp} flag set. E.g., for @command{parted}:"
  6607. msgstr ""
  6608. #. type: example
  6609. #: guix-git/doc/guix.texi:2496
  6610. #, no-wrap
  6611. msgid "parted /dev/sda set 1 esp on\n"
  6612. msgstr ""
  6613. #. type: vindex
  6614. #: guix-git/doc/guix.texi:2499 guix-git/doc/guix.texi:35133
  6615. #, no-wrap
  6616. msgid "grub-bootloader"
  6617. msgstr ""
  6618. #. type: vindex
  6619. #: guix-git/doc/guix.texi:2500 guix-git/doc/guix.texi:35127
  6620. #, no-wrap
  6621. msgid "grub-efi-bootloader"
  6622. msgstr ""
  6623. #. type: quotation
  6624. #: guix-git/doc/guix.texi:2507
  6625. msgid "Unsure whether to use EFI- or BIOS-based GRUB? If the directory @file{/sys/firmware/efi} exists in the installation image, then you should probably perform an EFI installation, using @code{grub-efi-bootloader}. Otherwise you should use the BIOS-based GRUB, known as @code{grub-bootloader}. @xref{Bootloader Configuration}, for more info on bootloaders."
  6626. msgstr ""
  6627. #. type: Plain text
  6628. #: guix-git/doc/guix.texi:2515
  6629. msgid "Once you are done partitioning the target hard disk drive, you have to create a file system on the relevant partition(s)@footnote{Currently Guix System only supports ext4, btrfs, JFS, F2FS, and XFS file systems. In particular, code that reads file system UUIDs and labels only works for these file system types.}. For the ESP, if you have one and assuming it is @file{/dev/sda1}, run:"
  6630. msgstr ""
  6631. #. type: example
  6632. #: guix-git/doc/guix.texi:2518
  6633. #, no-wrap
  6634. msgid "mkfs.fat -F32 /dev/sda1\n"
  6635. msgstr ""
  6636. #. type: Plain text
  6637. #: guix-git/doc/guix.texi:2525
  6638. msgid "For the root file system, ext4 is the most widely used format. Other file systems, such as Btrfs, support compression, which is reported to nicely complement file deduplication that the daemon performs independently of the file system (@pxref{Invoking guix-daemon, deduplication})."
  6639. msgstr ""
  6640. #. type: Plain text
  6641. #: guix-git/doc/guix.texi:2532
  6642. msgid "Preferably, assign file systems a label so that you can easily and reliably refer to them in @code{file-system} declarations (@pxref{File Systems}). This is typically done using the @code{-L} option of @command{mkfs.ext4} and related commands. So, assuming the target root partition lives at @file{/dev/sda2}, a file system with the label @code{my-root} can be created with:"
  6643. msgstr ""
  6644. #. type: example
  6645. #: guix-git/doc/guix.texi:2535
  6646. #, no-wrap
  6647. msgid "mkfs.ext4 -L my-root /dev/sda2\n"
  6648. msgstr ""
  6649. #. type: cindex
  6650. #: guix-git/doc/guix.texi:2537 guix-git/doc/guix.texi:14936
  6651. #, no-wrap
  6652. msgid "encrypted disk"
  6653. msgstr ""
  6654. #. type: Plain text
  6655. #: guix-git/doc/guix.texi:2542
  6656. msgid "If you are instead planning to encrypt the root partition, you can use the Cryptsetup/LUKS utilities to do that (see @inlinefmtifelse{html, @uref{https://linux.die.net/man/8/cryptsetup, @code{man cryptsetup}}, @code{man cryptsetup}} for more information)."
  6657. msgstr ""
  6658. #. type: quotation
  6659. #: guix-git/doc/guix.texi:2543 guix-git/doc/guix.texi:5318
  6660. #: guix-git/doc/guix.texi:6554 guix-git/doc/guix.texi:15062
  6661. #: guix-git/doc/guix.texi:21500 guix-git/doc/guix.texi:21507
  6662. #, no-wrap
  6663. msgid "Warning"
  6664. msgstr "Varoitus"
  6665. #. type: quotation
  6666. #: guix-git/doc/guix.texi:2550
  6667. msgid "Note that GRUB can unlock LUKS2 devices since version 2.06, but only supports the PBKDF2 key derivation function, which is not the default for @command{cryptsetup luksFormat}. You can check which key derivation function is being used by a device by running @command{cryptsetup luksDump @var{device}}, and looking for the PBKDF field of your keyslots."
  6668. msgstr ""
  6669. #. type: Plain text
  6670. #: guix-git/doc/guix.texi:2555
  6671. msgid "Assuming you want to store the root partition on @file{/dev/sda2}, the command sequence to format it as a LUKS2 partition would be along these lines:"
  6672. msgstr ""
  6673. #. type: example
  6674. #: guix-git/doc/guix.texi:2560
  6675. #, no-wrap
  6676. msgid ""
  6677. "cryptsetup luksFormat --type luks2 --pbkdf pbkdf2 /dev/sda2\n"
  6678. "cryptsetup open /dev/sda2 my-partition\n"
  6679. "mkfs.ext4 -L my-root /dev/mapper/my-partition\n"
  6680. msgstr ""
  6681. #. type: Plain text
  6682. #: guix-git/doc/guix.texi:2565
  6683. msgid "Once that is done, mount the target file system under @file{/mnt} with a command like (again, assuming @code{my-root} is the label of the root file system):"
  6684. msgstr ""
  6685. #. type: example
  6686. #: guix-git/doc/guix.texi:2568
  6687. #, no-wrap
  6688. msgid "mount LABEL=my-root /mnt\n"
  6689. msgstr ""
  6690. #. type: Plain text
  6691. #: guix-git/doc/guix.texi:2574
  6692. msgid "Also mount any other file systems you would like to use on the target system relative to this path. If you have opted for @file{/boot/efi} as an EFI mount point for example, mount it at @file{/mnt/boot/efi} now so it is found by @code{guix system init} afterwards."
  6693. msgstr ""
  6694. #. type: Plain text
  6695. #: guix-git/doc/guix.texi:2578
  6696. msgid "Finally, if you plan to use one or more swap partitions (@pxref{Swap Space}), make sure to initialize them with @command{mkswap}. Assuming you have one swap partition on @file{/dev/sda3}, you would run:"
  6697. msgstr ""
  6698. #. type: example
  6699. #: guix-git/doc/guix.texi:2582
  6700. #, no-wrap
  6701. msgid ""
  6702. "mkswap /dev/sda3\n"
  6703. "swapon /dev/sda3\n"
  6704. msgstr ""
  6705. #. type: Plain text
  6706. #: guix-git/doc/guix.texi:2590
  6707. msgid "Alternatively, you may use a swap file. For example, assuming that in the new system you want to use the file @file{/swapfile} as a swap file, you would run@footnote{This example will work for many types of file systems (e.g., ext4). However, for copy-on-write file systems (e.g., btrfs), the required steps may be different. For details, see the manual pages for @command{mkswap} and @command{swapon}.}:"
  6708. msgstr ""
  6709. #. type: example
  6710. #: guix-git/doc/guix.texi:2598
  6711. #, no-wrap
  6712. msgid ""
  6713. "# This is 10 GiB of swap space. Adjust \"count\" to change the size.\n"
  6714. "dd if=/dev/zero of=/mnt/swapfile bs=1MiB count=10240\n"
  6715. "# For security, make the file readable and writable only by root.\n"
  6716. "chmod 600 /mnt/swapfile\n"
  6717. "mkswap /mnt/swapfile\n"
  6718. "swapon /mnt/swapfile\n"
  6719. msgstr ""
  6720. #. type: Plain text
  6721. #: guix-git/doc/guix.texi:2603
  6722. msgid "Note that if you have encrypted the root partition and created a swap file in its file system as described above, then the encryption also protects the swap file, just like any other file in that file system."
  6723. msgstr ""
  6724. #. type: Plain text
  6725. #: guix-git/doc/guix.texi:2609
  6726. msgid "With the target partitions ready and the target root mounted on @file{/mnt}, we're ready to go. First, run:"
  6727. msgstr ""
  6728. #. type: example
  6729. #: guix-git/doc/guix.texi:2612
  6730. #, no-wrap
  6731. msgid "herd start cow-store /mnt\n"
  6732. msgstr ""
  6733. #. type: Plain text
  6734. #: guix-git/doc/guix.texi:2619
  6735. msgid "This makes @file{/gnu/store} copy-on-write, such that packages added to it during the installation phase are written to the target disk on @file{/mnt} rather than kept in memory. This is necessary because the first phase of the @command{guix system init} command (see below) entails downloads or builds to @file{/gnu/store} which, initially, is an in-memory file system."
  6736. msgstr ""
  6737. #. type: Plain text
  6738. #: guix-git/doc/guix.texi:2630
  6739. msgid "Next, you have to edit a file and provide the declaration of the operating system to be installed. To that end, the installation system comes with three text editors. We recommend GNU nano (@pxref{Top,,, nano, GNU nano Manual}), which supports syntax highlighting and parentheses matching; other editors include mg (an Emacs clone), and nvi (a clone of the original BSD @command{vi} editor). We strongly recommend storing that file on the target root file system, say, as @file{/mnt/etc/config.scm}. Failing to do that, you will have lost your configuration file once you have rebooted into the newly-installed system."
  6740. msgstr ""
  6741. #. type: Plain text
  6742. #: guix-git/doc/guix.texi:2637
  6743. msgid "@xref{Using the Configuration System}, for an overview of the configuration file. The example configurations discussed in that section are available under @file{/etc/configuration} in the installation image. Thus, to get started with a system configuration providing a graphical display server (a ``desktop'' system), you can run something along these lines:"
  6744. msgstr ""
  6745. #. type: example
  6746. #: guix-git/doc/guix.texi:2642
  6747. #, no-wrap
  6748. msgid ""
  6749. "# mkdir /mnt/etc\n"
  6750. "# cp /etc/configuration/desktop.scm /mnt/etc/config.scm\n"
  6751. "# nano /mnt/etc/config.scm\n"
  6752. msgstr ""
  6753. #. type: Plain text
  6754. #: guix-git/doc/guix.texi:2646
  6755. msgid "You should pay attention to what your configuration file contains, and in particular:"
  6756. msgstr ""
  6757. #. type: itemize
  6758. #: guix-git/doc/guix.texi:2658
  6759. msgid "Make sure the @code{bootloader-configuration} form refers to the targets you want to install GRUB on. It should mention @code{grub-bootloader} if you are installing GRUB in the legacy way, or @code{grub-efi-bootloader} for newer UEFI systems. For legacy systems, the @code{targets} field contain the names of the devices, like @code{(list \"/dev/sda\")}; for UEFI systems it names the paths to mounted EFI partitions, like @code{(list \"/boot/efi\")}; do make sure the paths are currently mounted and a @code{file-system} entry is specified in your configuration."
  6760. msgstr ""
  6761. #. type: itemize
  6762. #: guix-git/doc/guix.texi:2664
  6763. msgid "Be sure that your file system labels match the value of their respective @code{device} fields in your @code{file-system} configuration, assuming your @code{file-system} configuration uses the @code{file-system-label} procedure in its @code{device} field."
  6764. msgstr ""
  6765. #. type: itemize
  6766. #: guix-git/doc/guix.texi:2668
  6767. msgid "If there are encrypted or RAID partitions, make sure to add a @code{mapped-devices} field to describe them (@pxref{Mapped Devices})."
  6768. msgstr ""
  6769. #. type: Plain text
  6770. #: guix-git/doc/guix.texi:2673
  6771. msgid "Once you are done preparing the configuration file, the new system must be initialized (remember that the target root file system is mounted under @file{/mnt}):"
  6772. msgstr ""
  6773. #. type: example
  6774. #: guix-git/doc/guix.texi:2676
  6775. #, no-wrap
  6776. msgid "guix system init /mnt/etc/config.scm /mnt\n"
  6777. msgstr ""
  6778. #. type: Plain text
  6779. #: guix-git/doc/guix.texi:2683
  6780. msgid "This copies all the necessary files and installs GRUB on @file{/dev/sdX}, unless you pass the @option{--no-bootloader} option. For more information, @pxref{Invoking guix system}. This command may trigger downloads or builds of missing packages, which can take some time."
  6781. msgstr ""
  6782. #. type: Plain text
  6783. #: guix-git/doc/guix.texi:2691
  6784. msgid "Once that command has completed---and hopefully succeeded!---you can run @command{reboot} and boot into the new system. The @code{root} password in the new system is initially empty; other users' passwords need to be initialized by running the @command{passwd} command as @code{root}, unless your configuration specifies otherwise (@pxref{user-account-password, user account passwords}). @xref{After System Installation}, for what's next!"
  6785. msgstr ""
  6786. #. type: Plain text
  6787. #: guix-git/doc/guix.texi:2698
  6788. msgid "Success, you've now booted into Guix System! From then on, you can update the system whenever you want by running, say:"
  6789. msgstr ""
  6790. #. type: example
  6791. #: guix-git/doc/guix.texi:2702
  6792. #, no-wrap
  6793. msgid ""
  6794. "guix pull\n"
  6795. "sudo guix system reconfigure /etc/config.scm\n"
  6796. msgstr ""
  6797. #. type: Plain text
  6798. #: guix-git/doc/guix.texi:2708
  6799. msgid "This builds a new system generation with the latest packages and services (@pxref{Invoking guix system}). We recommend doing that regularly so that your system includes the latest security updates (@pxref{Security Updates})."
  6800. msgstr ""
  6801. #. type: cindex
  6802. #: guix-git/doc/guix.texi:2711
  6803. #, no-wrap
  6804. msgid "sudo vs. @command{guix pull}"
  6805. msgstr ""
  6806. #. type: quotation
  6807. #: guix-git/doc/guix.texi:2715
  6808. msgid "Note that @command{sudo guix} runs your user's @command{guix} command and @emph{not} root's, because @command{sudo} leaves @env{PATH} unchanged. To explicitly run root's @command{guix}, type @command{sudo -i guix @dots{}}."
  6809. msgstr ""
  6810. #. type: quotation
  6811. #: guix-git/doc/guix.texi:2720
  6812. msgid "The difference matters here, because @command{guix pull} updates the @command{guix} command and package definitions only for the user it is run as. This means that if you choose to use @command{guix system reconfigure} in root's login shell, you'll need to @command{guix pull} separately."
  6813. msgstr ""
  6814. #. type: Plain text
  6815. #: guix-git/doc/guix.texi:2725
  6816. msgid "Now, @pxref{Getting Started}, and join us on @code{#guix} on the Libera Chat IRC network or on @email{guix-devel@@gnu.org} to share your experience!"
  6817. msgstr ""
  6818. #. type: section
  6819. #: guix-git/doc/guix.texi:2728
  6820. #, no-wrap
  6821. msgid "Installing Guix in a Virtual Machine"
  6822. msgstr ""
  6823. #. type: cindex
  6824. #: guix-git/doc/guix.texi:2730
  6825. #, no-wrap
  6826. msgid "virtual machine, Guix System installation"
  6827. msgstr ""
  6828. #. type: cindex
  6829. #: guix-git/doc/guix.texi:2731
  6830. #, no-wrap
  6831. msgid "virtual private server (VPS)"
  6832. msgstr ""
  6833. #. type: cindex
  6834. #: guix-git/doc/guix.texi:2732
  6835. #, no-wrap
  6836. msgid "VPS (virtual private server)"
  6837. msgstr ""
  6838. #. type: Plain text
  6839. #: guix-git/doc/guix.texi:2736
  6840. msgid "If you'd like to install Guix System in a virtual machine (VM) or on a virtual private server (VPS) rather than on your beloved machine, this section is for you."
  6841. msgstr ""
  6842. #. type: Plain text
  6843. #: guix-git/doc/guix.texi:2739
  6844. msgid "To boot a @uref{https://qemu.org/,QEMU} VM for installing Guix System in a disk image, follow these steps:"
  6845. msgstr ""
  6846. #. type: enumerate
  6847. #: guix-git/doc/guix.texi:2744
  6848. msgid "First, retrieve and decompress the Guix system installation image as described previously (@pxref{USB Stick and DVD Installation})."
  6849. msgstr ""
  6850. #. type: enumerate
  6851. #: guix-git/doc/guix.texi:2748
  6852. msgid "Create a disk image that will hold the installed system. To make a qcow2-formatted disk image, use the @command{qemu-img} command:"
  6853. msgstr ""
  6854. #. type: example
  6855. #: guix-git/doc/guix.texi:2751
  6856. #, no-wrap
  6857. msgid "qemu-img create -f qcow2 guix-system.img 50G\n"
  6858. msgstr ""
  6859. #. type: enumerate
  6860. #: guix-git/doc/guix.texi:2755
  6861. msgid "The resulting file will be much smaller than 50 GB (typically less than 1 MB), but it will grow as the virtualized storage device is filled up."
  6862. msgstr ""
  6863. #. type: enumerate
  6864. #: guix-git/doc/guix.texi:2758
  6865. msgid "Boot the USB installation image in an VM:"
  6866. msgstr ""
  6867. #. type: example
  6868. #: guix-git/doc/guix.texi:2764
  6869. #, no-wrap
  6870. msgid ""
  6871. "qemu-system-x86_64 -m 1024 -smp 1 -enable-kvm \\\n"
  6872. " -nic user,model=virtio-net-pci -boot menu=on,order=d \\\n"
  6873. " -drive file=guix-system.img \\\n"
  6874. " -drive media=cdrom,file=guix-system-install-@value{VERSION}.@var{system}.iso\n"
  6875. msgstr ""
  6876. #. type: enumerate
  6877. #: guix-git/doc/guix.texi:2768
  6878. msgid "@code{-enable-kvm} is optional, but significantly improves performance, @pxref{Running Guix in a VM}."
  6879. msgstr ""
  6880. #. type: enumerate
  6881. #: guix-git/doc/guix.texi:2772
  6882. msgid "You're now root in the VM, proceed with the installation process. @xref{Preparing for Installation}, and follow the instructions."
  6883. msgstr ""
  6884. #. type: Plain text
  6885. #: guix-git/doc/guix.texi:2777
  6886. msgid "Once installation is complete, you can boot the system that's on your @file{guix-system.img} image. @xref{Running Guix in a VM}, for how to do that."
  6887. msgstr ""
  6888. #. type: cindex
  6889. #: guix-git/doc/guix.texi:2781
  6890. #, no-wrap
  6891. msgid "installation image"
  6892. msgstr ""
  6893. #. type: Plain text
  6894. #: guix-git/doc/guix.texi:2784
  6895. msgid "The installation image described above was built using the @command{guix system} command, specifically:"
  6896. msgstr ""
  6897. #. type: example
  6898. #: guix-git/doc/guix.texi:2787
  6899. #, no-wrap
  6900. msgid "guix system image -t iso9660 gnu/system/install.scm\n"
  6901. msgstr ""
  6902. #. type: Plain text
  6903. #: guix-git/doc/guix.texi:2792
  6904. msgid "Have a look at @file{gnu/system/install.scm} in the source tree, and see also @ref{Invoking guix system} for more information about the installation image."
  6905. msgstr ""
  6906. #. type: section
  6907. #: guix-git/doc/guix.texi:2793
  6908. #, no-wrap
  6909. msgid "Building the Installation Image for ARM Boards"
  6910. msgstr ""
  6911. #. type: Plain text
  6912. #: guix-git/doc/guix.texi:2797
  6913. msgid "Many ARM boards require a specific variant of the @uref{https://www.denx.de/wiki/U-Boot/, U-Boot} bootloader."
  6914. msgstr ""
  6915. #. type: Plain text
  6916. #: guix-git/doc/guix.texi:2801
  6917. msgid "If you build a disk image and the bootloader is not available otherwise (on another boot drive etc), it's advisable to build an image that includes the bootloader, specifically:"
  6918. msgstr ""
  6919. #. type: example
  6920. #: guix-git/doc/guix.texi:2804
  6921. #, no-wrap
  6922. msgid "guix system image --system=armhf-linux -e '((@@ (gnu system install) os-with-u-boot) (@@ (gnu system install) installation-os) \"A20-OLinuXino-Lime2\")'\n"
  6923. msgstr ""
  6924. #. type: Plain text
  6925. #: guix-git/doc/guix.texi:2808
  6926. msgid "@code{A20-OLinuXino-Lime2} is the name of the board. If you specify an invalid board, a list of possible boards will be printed."
  6927. msgstr ""
  6928. #. type: Plain text
  6929. #: guix-git/doc/guix.texi:2818
  6930. msgid "Presumably, you've reached this section because either you have installed Guix on top of another distribution (@pxref{Installation}), or you've installed the standalone Guix System (@pxref{System Installation}). It's time for you to get started using Guix and this section aims to help you do that and give you a feel of what it's like."
  6931. msgstr ""
  6932. #. type: Plain text
  6933. #: guix-git/doc/guix.texi:2822
  6934. msgid "Guix is about installing software, so probably the first thing you'll want to do is to actually look for software. Let's say you're looking for a text editor, you can run:"
  6935. msgstr ""
  6936. #. type: example
  6937. #: guix-git/doc/guix.texi:2825
  6938. #, no-wrap
  6939. msgid "guix search text editor\n"
  6940. msgstr ""
  6941. #. type: Plain text
  6942. #: guix-git/doc/guix.texi:2832
  6943. msgid "This command shows you a number of matching @dfn{packages}, each time showing the package's name, version, a description, and additional info. Once you've found out the one you want to use, let's say Emacs (ah ha!), you can go ahead and install it (run this command as a regular user, @emph{no need for root privileges}!):"
  6944. msgstr ""
  6945. #. type: example
  6946. #: guix-git/doc/guix.texi:2835
  6947. #, no-wrap
  6948. msgid "guix install emacs\n"
  6949. msgstr ""
  6950. #. type: cindex
  6951. #: guix-git/doc/guix.texi:2837 guix-git/doc/guix.texi:3149
  6952. #: guix-git/doc/guix.texi:3201
  6953. #, no-wrap
  6954. msgid "profile"
  6955. msgstr "profiili"
  6956. #. type: Plain text
  6957. #: guix-git/doc/guix.texi:2845
  6958. msgid "You've installed your first package, congrats! The package is now visible in your default @dfn{profile}, @file{$HOME/.guix-profile}---a profile is a directory containing installed packages. In the process, you've probably noticed that Guix downloaded pre-built binaries; or, if you explicitly chose to @emph{not} use pre-built binaries, then probably Guix is still building software (@pxref{Substitutes}, for more info)."
  6959. msgstr ""
  6960. #. type: Plain text
  6961. #: guix-git/doc/guix.texi:2848
  6962. msgid "Unless you're using Guix System, the @command{guix install} command must have printed this hint:"
  6963. msgstr ""
  6964. #. type: example
  6965. #: guix-git/doc/guix.texi:2851
  6966. #, no-wrap
  6967. msgid ""
  6968. "hint: Consider setting the necessary environment variables by running:\n"
  6969. "\n"
  6970. msgstr ""
  6971. #. type: example
  6972. #: guix-git/doc/guix.texi:2854
  6973. #, no-wrap
  6974. msgid ""
  6975. " GUIX_PROFILE=\"$HOME/.guix-profile\"\n"
  6976. " . \"$GUIX_PROFILE/etc/profile\"\n"
  6977. "\n"
  6978. msgstr ""
  6979. #. type: example
  6980. #: guix-git/doc/guix.texi:2856
  6981. #, no-wrap
  6982. msgid "Alternately, see `guix package --search-paths -p \"$HOME/.guix-profile\"'.\n"
  6983. msgstr ""
  6984. #. type: Plain text
  6985. #: guix-git/doc/guix.texi:2870
  6986. msgid "Indeed, you must now tell your shell where @command{emacs} and other programs installed with Guix are to be found. Pasting the two lines above will do just that: it will add @code{$HOME/.guix-profile/bin}---which is where the installed package is---to the @code{PATH} environment variable. You can paste these two lines in your shell so they take effect right away, but more importantly you should add them to @file{~/.bash_profile} (or equivalent file if you do not use Bash) so that environment variables are set next time you spawn a shell. You only need to do this once and other search paths environment variables will be taken care of similarly---e.g., if you eventually install @code{python} and Python libraries, @env{GUIX_PYTHONPATH} will be defined."
  6987. msgstr ""
  6988. #. type: Plain text
  6989. #: guix-git/doc/guix.texi:2873
  6990. msgid "You can go on installing packages at your will. To list installed packages, run:"
  6991. msgstr ""
  6992. #. type: example
  6993. #: guix-git/doc/guix.texi:2876
  6994. #, no-wrap
  6995. msgid "guix package --list-installed\n"
  6996. msgstr ""
  6997. #. type: Plain text
  6998. #: guix-git/doc/guix.texi:2881
  6999. msgid "To remove a package, you would unsurprisingly run @command{guix remove}. A distinguishing feature is the ability to @dfn{roll back} any operation you made---installation, removal, upgrade---by simply typing:"
  7000. msgstr ""
  7001. #. type: example
  7002. #: guix-git/doc/guix.texi:2884
  7003. #, no-wrap
  7004. msgid "guix package --roll-back\n"
  7005. msgstr ""
  7006. #. type: Plain text
  7007. #: guix-git/doc/guix.texi:2889
  7008. msgid "This is because each operation is in fact a @dfn{transaction} that creates a new @dfn{generation}. These generations and the difference between them can be displayed by running:"
  7009. msgstr ""
  7010. #. type: example
  7011. #: guix-git/doc/guix.texi:2892
  7012. #, no-wrap
  7013. msgid "guix package --list-generations\n"
  7014. msgstr ""
  7015. #. type: Plain text
  7016. #: guix-git/doc/guix.texi:2895
  7017. msgid "Now you know the basics of package management!"
  7018. msgstr ""
  7019. #. type: quotation
  7020. #: guix-git/doc/guix.texi:2896 guix-git/doc/guix.texi:2955
  7021. #, no-wrap
  7022. msgid "Going further"
  7023. msgstr ""
  7024. #. type: quotation
  7025. #: guix-git/doc/guix.texi:2904
  7026. msgid "@xref{Package Management}, for more about package management. You may like @dfn{declarative} package management with @command{guix package --manifest}, managing separate @dfn{profiles} with @option{--profile}, deleting old generations, collecting garbage, and other nifty features that will come in handy as you become more familiar with Guix. If you are a developer, @pxref{Development} for additional tools. And if you're curious, @pxref{Features}, to peek under the hood."
  7027. msgstr ""
  7028. #. type: Plain text
  7029. #: guix-git/doc/guix.texi:2909
  7030. msgid "Once you've installed a set of packages, you will want to periodically @emph{upgrade} them to the latest and greatest version. To do that, you will first pull the latest revision of Guix and its package collection:"
  7031. msgstr ""
  7032. #. type: Plain text
  7033. #: guix-git/doc/guix.texi:2919
  7034. msgid "The end result is a new @command{guix} command, under @file{~/.config/guix/current/bin}. Unless you're on Guix System, the first time you run @command{guix pull}, be sure to follow the hint that the command prints and, similar to what we saw above, paste these two lines in your terminal and @file{.bash_profile}:"
  7035. msgstr ""
  7036. #. type: example
  7037. #: guix-git/doc/guix.texi:2923
  7038. #, no-wrap
  7039. msgid ""
  7040. "GUIX_PROFILE=\"$HOME/.config/guix/current\"\n"
  7041. ". \"$GUIX_PROFILE/etc/profile\"\n"
  7042. msgstr ""
  7043. #. type: Plain text
  7044. #: guix-git/doc/guix.texi:2927
  7045. msgid "You must also instruct your shell to point to this new @command{guix}:"
  7046. msgstr ""
  7047. #. type: example
  7048. #: guix-git/doc/guix.texi:2930
  7049. #, no-wrap
  7050. msgid "hash guix\n"
  7051. msgstr ""
  7052. #. type: Plain text
  7053. #: guix-git/doc/guix.texi:2934
  7054. msgid "At this point, you're running a brand new Guix. You can thus go ahead and actually upgrade all the packages you previously installed:"
  7055. msgstr ""
  7056. #. type: example
  7057. #: guix-git/doc/guix.texi:2937
  7058. #, no-wrap
  7059. msgid "guix upgrade\n"
  7060. msgstr ""
  7061. #. type: Plain text
  7062. #: guix-git/doc/guix.texi:2943
  7063. msgid "As you run this command, you will see that binaries are downloaded (or perhaps some packages are built), and eventually you end up with the upgraded packages. Should one of these upgraded packages not be to your liking, remember you can always roll back!"
  7064. msgstr ""
  7065. #. type: Plain text
  7066. #: guix-git/doc/guix.texi:2946
  7067. msgid "You can display the exact revision of Guix you're currently using by running:"
  7068. msgstr ""
  7069. #. type: example
  7070. #: guix-git/doc/guix.texi:2949
  7071. #, no-wrap
  7072. msgid "guix describe\n"
  7073. msgstr ""
  7074. #. type: Plain text
  7075. #: guix-git/doc/guix.texi:2954
  7076. msgid "The information it displays is @emph{all it takes to reproduce the exact same Guix}, be it at a different point in time or on a different machine."
  7077. msgstr ""
  7078. #. type: quotation
  7079. #: guix-git/doc/guix.texi:2960
  7080. msgid "@xref{Invoking guix pull}, for more information. @xref{Channels}, on how to specify additional @dfn{channels} to pull packages from, how to replicate Guix, and more. You may also find @command{time-machine} handy (@pxref{Invoking guix time-machine})."
  7081. msgstr ""
  7082. #. type: Plain text
  7083. #: guix-git/doc/guix.texi:2965
  7084. msgid "If you installed Guix System, one of the first things you'll want to do is to upgrade your system. Once you've run @command{guix pull} to get the latest Guix, you can upgrade the system like this:"
  7085. msgstr ""
  7086. #. type: example
  7087. #: guix-git/doc/guix.texi:2968
  7088. #, no-wrap
  7089. msgid "sudo guix system reconfigure /etc/config.scm\n"
  7090. msgstr ""
  7091. #. type: Plain text
  7092. #: guix-git/doc/guix.texi:2977
  7093. msgid "Upon completion, the system runs the latest versions of its software packages. When you eventually reboot, you'll notice a sub-menu in the bootloader that reads ``Old system generations'': it's what allows you to boot @emph{an older generation of your system}, should the latest generation be ``broken'' or otherwise unsatisfying. Just like for packages, you can always @emph{roll back} to a previous generation @emph{of the whole system}:"
  7094. msgstr ""
  7095. #. type: example
  7096. #: guix-git/doc/guix.texi:2980
  7097. #, no-wrap
  7098. msgid "sudo guix system roll-back\n"
  7099. msgstr ""
  7100. #. type: Plain text
  7101. #: guix-git/doc/guix.texi:2987
  7102. msgid "There are many things you'll probably want to tweak on your system: adding new user accounts, adding new system services, fiddling with the configuration of those services, etc. The system configuration is @emph{entirely} described in the @file{/etc/config.scm} file. @xref{Using the Configuration System}, to learn how to change it."
  7103. msgstr ""
  7104. #. type: Plain text
  7105. #: guix-git/doc/guix.texi:2989
  7106. msgid "Now you know enough to get started!"
  7107. msgstr ""
  7108. #. type: quotation
  7109. #: guix-git/doc/guix.texi:2990
  7110. #, no-wrap
  7111. msgid "Resources"
  7112. msgstr "Resurssit"
  7113. #. type: quotation
  7114. #: guix-git/doc/guix.texi:2993
  7115. msgid "The rest of this manual provides a reference for all things Guix. Here are some additional resources you may find useful:"
  7116. msgstr ""
  7117. #. type: itemize
  7118. #: guix-git/doc/guix.texi:2998
  7119. msgid "@xref{Top,,, guix-cookbook, The GNU Guix Cookbook}, for a list of ``how-to'' style of recipes for a variety of applications."
  7120. msgstr ""
  7121. #. type: itemize
  7122. #: guix-git/doc/guix.texi:3003
  7123. msgid "The @uref{https://guix.gnu.org/guix-refcard.pdf, GNU Guix Reference Card} lists in two pages most of the commands and options you'll ever need."
  7124. msgstr ""
  7125. #. type: itemize
  7126. #: guix-git/doc/guix.texi:3008
  7127. msgid "The web site contains @uref{https://guix.gnu.org/en/videos/, instructional videos} covering topics such as everyday use of Guix, how to get help, and how to become a contributor."
  7128. msgstr ""
  7129. #. type: itemize
  7130. #: guix-git/doc/guix.texi:3012
  7131. msgid "@xref{Documentation}, to learn how to access documentation on your computer."
  7132. msgstr ""
  7133. #. type: quotation
  7134. #: guix-git/doc/guix.texi:3015
  7135. msgid "We hope you will enjoy Guix as much as the community enjoys building it!"
  7136. msgstr ""
  7137. #. type: Plain text
  7138. #: guix-git/doc/guix.texi:3026
  7139. msgid "The purpose of GNU Guix is to allow users to easily install, upgrade, and remove software packages, without having to know about their build procedures or dependencies. Guix also goes beyond this obvious set of features."
  7140. msgstr ""
  7141. #. type: Plain text
  7142. #: guix-git/doc/guix.texi:3034
  7143. msgid "This chapter describes the main features of Guix, as well as the package management tools it provides. Along with the command-line interface described below (@pxref{Invoking guix package, @code{guix package}}), you may also use the Emacs-Guix interface (@pxref{Top,,, emacs-guix, The Emacs-Guix Reference Manual}), after installing @code{emacs-guix} package (run @kbd{M-x guix-help} command to start with it):"
  7144. msgstr ""
  7145. #. type: example
  7146. #: guix-git/doc/guix.texi:3037
  7147. #, no-wrap
  7148. msgid "guix install emacs-guix\n"
  7149. msgstr ""
  7150. #. type: Plain text
  7151. #: guix-git/doc/guix.texi:3058
  7152. msgid "Here we assume you've already made your first steps with Guix (@pxref{Getting Started}) and would like to get an overview about what's going on under the hood."
  7153. msgstr ""
  7154. #. type: Plain text
  7155. #: guix-git/doc/guix.texi:3062
  7156. msgid "When using Guix, each package ends up in the @dfn{package store}, in its own directory---something that resembles @file{/gnu/store/xxx-package-1.2}, where @code{xxx} is a base32 string."
  7157. msgstr ""
  7158. #. type: Plain text
  7159. #: guix-git/doc/guix.texi:3067
  7160. msgid "Instead of referring to these directories, users have their own @dfn{profile}, which points to the packages that they actually want to use. These profiles are stored within each user's home directory, at @code{$HOME/.guix-profile}."
  7161. msgstr ""
  7162. #. type: Plain text
  7163. #: guix-git/doc/guix.texi:3075
  7164. msgid "For example, @code{alice} installs GCC 4.7.2. As a result, @file{/home/alice/.guix-profile/bin/gcc} points to @file{/gnu/store/@dots{}-gcc-4.7.2/bin/gcc}. Now, on the same machine, @code{bob} had already installed GCC 4.8.0. The profile of @code{bob} simply continues to point to @file{/gnu/store/@dots{}-gcc-4.8.0/bin/gcc}---i.e., both versions of GCC coexist on the same system without any interference."
  7165. msgstr ""
  7166. #. type: Plain text
  7167. #: guix-git/doc/guix.texi:3079
  7168. msgid "The @command{guix package} command is the central tool to manage packages (@pxref{Invoking guix package}). It operates on the per-user profiles, and can be used @emph{with normal user privileges}."
  7169. msgstr ""
  7170. #. type: cindex
  7171. #: guix-git/doc/guix.texi:3080 guix-git/doc/guix.texi:3163
  7172. #, no-wrap
  7173. msgid "transactions"
  7174. msgstr "transaktiot"
  7175. #. type: Plain text
  7176. #: guix-git/doc/guix.texi:3087
  7177. msgid "The command provides the obvious install, remove, and upgrade operations. Each invocation is actually a @emph{transaction}: either the specified operation succeeds, or nothing happens. Thus, if the @command{guix package} process is terminated during the transaction, or if a power outage occurs during the transaction, then the user's profile remains in its previous state, and remains usable."
  7178. msgstr ""
  7179. #. type: Plain text
  7180. #: guix-git/doc/guix.texi:3095
  7181. msgid "In addition, any package transaction may be @emph{rolled back}. So, if, for example, an upgrade installs a new version of a package that turns out to have a serious bug, users may roll back to the previous instance of their profile, which was known to work well. Similarly, the global system configuration on Guix is subject to transactional upgrades and roll-back (@pxref{Using the Configuration System})."
  7182. msgstr ""
  7183. #. type: Plain text
  7184. #: guix-git/doc/guix.texi:3102
  7185. msgid "All packages in the package store may be @emph{garbage-collected}. Guix can determine which packages are still referenced by user profiles, and remove those that are provably no longer referenced (@pxref{Invoking guix gc}). Users may also explicitly remove old generations of their profile so that the packages they refer to can be collected."
  7186. msgstr ""
  7187. #. type: Plain text
  7188. #: guix-git/doc/guix.texi:3115
  7189. msgid "Guix takes a @dfn{purely functional} approach to package management, as described in the introduction (@pxref{Introduction}). Each @file{/gnu/store} package directory name contains a hash of all the inputs that were used to build that package---compiler, libraries, build scripts, etc. This direct correspondence allows users to make sure a given package installation matches the current state of their distribution. It also helps maximize @dfn{build reproducibility}: thanks to the isolated build environments that are used, a given build is likely to yield bit-identical files when performed on different machines (@pxref{Invoking guix-daemon, container})."
  7190. msgstr ""
  7191. #. type: Plain text
  7192. #: guix-git/doc/guix.texi:3126
  7193. msgid "This foundation allows Guix to support @dfn{transparent binary/source deployment}. When a pre-built binary for a @file{/gnu/store} item is available from an external source---a @dfn{substitute}, Guix just downloads it and unpacks it; otherwise, it builds the package from source, locally (@pxref{Substitutes}). Because build results are usually bit-for-bit reproducible, users do not have to trust servers that provide substitutes: they can force a local build and @emph{challenge} providers (@pxref{Invoking guix challenge})."
  7194. msgstr ""
  7195. #. type: Plain text
  7196. #: guix-git/doc/guix.texi:3132
  7197. msgid "Control over the build environment is a feature that is also useful for developers. The @command{guix shell} command allows developers of a package to quickly set up the right development environment for their package, without having to manually install the dependencies of the package into their profile (@pxref{Invoking guix shell})."
  7198. msgstr ""
  7199. #. type: cindex
  7200. #: guix-git/doc/guix.texi:3133
  7201. #, no-wrap
  7202. msgid "replication, of software environments"
  7203. msgstr ""
  7204. #. type: cindex
  7205. #: guix-git/doc/guix.texi:3134
  7206. #, no-wrap
  7207. msgid "provenance tracking, of software artifacts"
  7208. msgstr ""
  7209. #. type: Plain text
  7210. #: guix-git/doc/guix.texi:3141
  7211. msgid "All of Guix and its package definitions is version-controlled, and @command{guix pull} allows you to ``travel in time'' on the history of Guix itself (@pxref{Invoking guix pull}). This makes it possible to replicate a Guix instance on a different machine or at a later point in time, which in turn allows you to @emph{replicate complete software environments}, while retaining precise @dfn{provenance tracking} of the software."
  7212. msgstr ""
  7213. #. type: section
  7214. #: guix-git/doc/guix.texi:3143
  7215. #, no-wrap
  7216. msgid "Invoking @command{guix package}"
  7217. msgstr ""
  7218. #. type: cindex
  7219. #: guix-git/doc/guix.texi:3145
  7220. #, no-wrap
  7221. msgid "installing packages"
  7222. msgstr ""
  7223. #. type: cindex
  7224. #: guix-git/doc/guix.texi:3146
  7225. #, no-wrap
  7226. msgid "removing packages"
  7227. msgstr ""
  7228. #. type: cindex
  7229. #: guix-git/doc/guix.texi:3147
  7230. #, no-wrap
  7231. msgid "package installation"
  7232. msgstr ""
  7233. #. type: cindex
  7234. #: guix-git/doc/guix.texi:3148
  7235. #, no-wrap
  7236. msgid "package removal"
  7237. msgstr ""
  7238. #. type: Plain text
  7239. #: guix-git/doc/guix.texi:3158
  7240. msgid "The @command{guix package} command is the tool that allows users to install, upgrade, and remove packages, as well as rolling back to previous configurations. These operations work on a user @dfn{profile}---a directory of installed packages. Each user has a default profile in @file{$HOME/.guix-profile}. The command operates only on the user's own profile, and works with normal user privileges (@pxref{Features}). Its syntax is:"
  7241. msgstr ""
  7242. #. type: example
  7243. #: guix-git/doc/guix.texi:3161
  7244. #, no-wrap
  7245. msgid "guix package @var{options}\n"
  7246. msgstr ""
  7247. #. type: Plain text
  7248. #: guix-git/doc/guix.texi:3168
  7249. msgid "Primarily, @var{options} specifies the operations to be performed during the transaction. Upon completion, a new profile is created, but previous @dfn{generations} of the profile remain available, should the user want to roll back."
  7250. msgstr ""
  7251. #. type: Plain text
  7252. #: guix-git/doc/guix.texi:3171
  7253. msgid "For example, to remove @code{lua} and install @code{guile} and @code{guile-cairo} in a single transaction:"
  7254. msgstr ""
  7255. #. type: example
  7256. #: guix-git/doc/guix.texi:3174
  7257. #, no-wrap
  7258. msgid "guix package -r lua -i guile guile-cairo\n"
  7259. msgstr ""
  7260. #. type: cindex
  7261. #: guix-git/doc/guix.texi:3176
  7262. #, no-wrap
  7263. msgid "aliases, for @command{guix package}"
  7264. msgstr ""
  7265. #. type: Plain text
  7266. #: guix-git/doc/guix.texi:3178
  7267. msgid "For your convenience, we also provide the following aliases:"
  7268. msgstr ""
  7269. #. type: itemize
  7270. #: guix-git/doc/guix.texi:3182
  7271. msgid "@command{guix search} is an alias for @command{guix package -s},"
  7272. msgstr ""
  7273. #. type: itemize
  7274. #: guix-git/doc/guix.texi:3184
  7275. msgid "@command{guix install} is an alias for @command{guix package -i},"
  7276. msgstr ""
  7277. #. type: itemize
  7278. #: guix-git/doc/guix.texi:3186
  7279. msgid "@command{guix remove} is an alias for @command{guix package -r},"
  7280. msgstr ""
  7281. #. type: itemize
  7282. #: guix-git/doc/guix.texi:3188
  7283. msgid "@command{guix upgrade} is an alias for @command{guix package -u},"
  7284. msgstr ""
  7285. #. type: itemize
  7286. #: guix-git/doc/guix.texi:3190
  7287. msgid "and @command{guix show} is an alias for @command{guix package --show=}."
  7288. msgstr ""
  7289. #. type: Plain text
  7290. #: guix-git/doc/guix.texi:3195
  7291. msgid "These aliases are less expressive than @command{guix package} and provide fewer options, so in some cases you'll probably want to use @command{guix package} directly."
  7292. msgstr ""
  7293. #. type: Plain text
  7294. #: guix-git/doc/guix.texi:3200
  7295. msgid "@command{guix package} also supports a @dfn{declarative approach} whereby the user specifies the exact set of packages to be available and passes it @i{via} the @option{--manifest} option (@pxref{profile-manifest, @option{--manifest}})."
  7296. msgstr ""
  7297. #. type: Plain text
  7298. #: guix-git/doc/guix.texi:3207
  7299. msgid "For each user, a symlink to the user's default profile is automatically created in @file{$HOME/.guix-profile}. This symlink always points to the current generation of the user's default profile. Thus, users can add @file{$HOME/.guix-profile/bin} to their @env{PATH} environment variable, and so on."
  7300. msgstr ""
  7301. #. type: cindex
  7302. #: guix-git/doc/guix.texi:3207 guix-git/doc/guix.texi:3451
  7303. #, no-wrap
  7304. msgid "search paths"
  7305. msgstr ""
  7306. #. type: Plain text
  7307. #: guix-git/doc/guix.texi:3212
  7308. msgid "If you are not using Guix System, consider adding the following lines to your @file{~/.bash_profile} (@pxref{Bash Startup Files,,, bash, The GNU Bash Reference Manual}) so that newly-spawned shells get all the right environment variable definitions:"
  7309. msgstr ""
  7310. #. type: example
  7311. #: guix-git/doc/guix.texi:3216
  7312. #, no-wrap
  7313. msgid ""
  7314. "GUIX_PROFILE=\"$HOME/.guix-profile\" ; \\\n"
  7315. "source \"$GUIX_PROFILE/etc/profile\"\n"
  7316. msgstr ""
  7317. #. type: Plain text
  7318. #: guix-git/doc/guix.texi:3227
  7319. msgid "In a multi-user setup, user profiles are stored in a place registered as a @dfn{garbage-collector root}, which @file{$HOME/.guix-profile} points to (@pxref{Invoking guix gc}). That directory is normally @code{@var{localstatedir}/guix/profiles/per-user/@var{user}}, where @var{localstatedir} is the value passed to @code{configure} as @option{--localstatedir}, and @var{user} is the user name. The @file{per-user} directory is created when @command{guix-daemon} is started, and the @var{user} sub-directory is created by @command{guix package}."
  7320. msgstr ""
  7321. #. type: Plain text
  7322. #: guix-git/doc/guix.texi:3229
  7323. msgid "The @var{options} can be among the following:"
  7324. msgstr ""
  7325. #. type: item
  7326. #: guix-git/doc/guix.texi:3232
  7327. #, no-wrap
  7328. msgid "--install=@var{package} @dots{}"
  7329. msgstr ""
  7330. #. type: itemx
  7331. #: guix-git/doc/guix.texi:3233
  7332. #, no-wrap
  7333. msgid "-i @var{package} @dots{}"
  7334. msgstr ""
  7335. #. type: table
  7336. #: guix-git/doc/guix.texi:3235
  7337. msgid "Install the specified @var{package}s."
  7338. msgstr ""
  7339. #. type: table
  7340. #: guix-git/doc/guix.texi:3240
  7341. msgid "Each @var{package} may specify either a simple package name, such as @code{guile}, or a package name followed by an at-sign and version number, such as @code{guile@@1.8.8} or simply @code{guile@@1.8} (in the latter case, the newest version prefixed by @code{1.8} is selected)."
  7342. msgstr ""
  7343. #. type: table
  7344. #: guix-git/doc/guix.texi:3248
  7345. msgid "If no version number is specified, the newest available version will be selected. In addition, @var{package} may contain a colon, followed by the name of one of the outputs of the package, as in @code{gcc:doc} or @code{binutils@@2.22:lib} (@pxref{Packages with Multiple Outputs}). Packages with a corresponding name (and optionally version) are searched for among the GNU distribution modules (@pxref{Package Modules})."
  7346. msgstr ""
  7347. #. type: cindex
  7348. #: guix-git/doc/guix.texi:3249
  7349. #, no-wrap
  7350. msgid "propagated inputs"
  7351. msgstr ""
  7352. #. type: table
  7353. #: guix-git/doc/guix.texi:3255
  7354. msgid "Sometimes packages have @dfn{propagated inputs}: these are dependencies that automatically get installed along with the required package (@pxref{package-propagated-inputs, @code{propagated-inputs} in @code{package} objects}, for information about propagated inputs in package definitions)."
  7355. msgstr ""
  7356. #. type: anchor{#1}
  7357. #: guix-git/doc/guix.texi:3262
  7358. msgid "package-cmd-propagated-inputs"
  7359. msgstr ""
  7360. #. type: table
  7361. #: guix-git/doc/guix.texi:3262
  7362. msgid "An example is the GNU MPC library: its C header files refer to those of the GNU MPFR library, which in turn refer to those of the GMP library. Thus, when installing MPC, the MPFR and GMP libraries also get installed in the profile; removing MPC also removes MPFR and GMP---unless they had also been explicitly installed by the user."
  7363. msgstr ""
  7364. #. type: table
  7365. #: guix-git/doc/guix.texi:3267
  7366. msgid "Besides, packages sometimes rely on the definition of environment variables for their search paths (see explanation of @option{--search-paths} below). Any missing or possibly incorrect environment variable definitions are reported here."
  7367. msgstr ""
  7368. #. type: item
  7369. #: guix-git/doc/guix.texi:3268
  7370. #, no-wrap
  7371. msgid "--install-from-expression=@var{exp}"
  7372. msgstr ""
  7373. #. type: itemx
  7374. #: guix-git/doc/guix.texi:3269
  7375. #, no-wrap
  7376. msgid "-e @var{exp}"
  7377. msgstr ""
  7378. #. type: table
  7379. #: guix-git/doc/guix.texi:3271
  7380. msgid "Install the package @var{exp} evaluates to."
  7381. msgstr ""
  7382. #. type: table
  7383. #: guix-git/doc/guix.texi:3276
  7384. msgid "@var{exp} must be a Scheme expression that evaluates to a @code{<package>} object. This option is notably useful to disambiguate between same-named variants of a package, with expressions such as @code{(@@ (gnu packages base) guile-final)}."
  7385. msgstr ""
  7386. #. type: table
  7387. #: guix-git/doc/guix.texi:3280
  7388. msgid "Note that this option installs the first output of the specified package, which may be insufficient when needing a specific output of a multiple-output package."
  7389. msgstr ""
  7390. #. type: item
  7391. #: guix-git/doc/guix.texi:3281
  7392. #, no-wrap
  7393. msgid "--install-from-file=@var{file}"
  7394. msgstr ""
  7395. #. type: itemx
  7396. #: guix-git/doc/guix.texi:3282 guix-git/doc/guix.texi:5821
  7397. #: guix-git/doc/guix.texi:11814
  7398. #, no-wrap
  7399. msgid "-f @var{file}"
  7400. msgstr ""
  7401. #. type: table
  7402. #: guix-git/doc/guix.texi:3284
  7403. msgid "Install the package that the code within @var{file} evaluates to."
  7404. msgstr ""
  7405. #. type: table
  7406. #: guix-git/doc/guix.texi:3287 guix-git/doc/guix.texi:5827
  7407. #: guix-git/doc/guix.texi:6221
  7408. msgid "As an example, @var{file} might contain a definition like this (@pxref{Defining Packages}):"
  7409. msgstr ""
  7410. #. type: include
  7411. #: guix-git/doc/guix.texi:3289 guix-git/doc/guix.texi:11822
  7412. #, no-wrap
  7413. msgid "package-hello.scm"
  7414. msgstr ""
  7415. #. type: table
  7416. #: guix-git/doc/guix.texi:3296
  7417. msgid "Developers may find it useful to include such a @file{guix.scm} file in the root of their project source tree that can be used to test development snapshots and create reproducible development environments (@pxref{Invoking guix shell})."
  7418. msgstr ""
  7419. #. type: table
  7420. #: guix-git/doc/guix.texi:3301
  7421. msgid "The @var{file} may also contain a JSON representation of one or more package definitions. Running @code{guix package -f} on @file{hello.json} with the following contents would result in installing the package @code{greeter} after building @code{myhello}:"
  7422. msgstr ""
  7423. #. type: example
  7424. #: guix-git/doc/guix.texi:3304 guix-git/doc/guix.texi:11832
  7425. #, no-wrap
  7426. msgid "@verbatiminclude package-hello.json\n"
  7427. msgstr ""
  7428. #. type: item
  7429. #: guix-git/doc/guix.texi:3306
  7430. #, no-wrap
  7431. msgid "--remove=@var{package} @dots{}"
  7432. msgstr ""
  7433. #. type: itemx
  7434. #: guix-git/doc/guix.texi:3307
  7435. #, no-wrap
  7436. msgid "-r @var{package} @dots{}"
  7437. msgstr ""
  7438. #. type: table
  7439. #: guix-git/doc/guix.texi:3309
  7440. msgid "Remove the specified @var{package}s."
  7441. msgstr ""
  7442. #. type: table
  7443. #: guix-git/doc/guix.texi:3314
  7444. msgid "As for @option{--install}, each @var{package} may specify a version number and/or output name in addition to the package name. For instance, @samp{-r glibc:debug} would remove the @code{debug} output of @code{glibc}."
  7445. msgstr ""
  7446. #. type: item
  7447. #: guix-git/doc/guix.texi:3315
  7448. #, no-wrap
  7449. msgid "--upgrade[=@var{regexp} @dots{}]"
  7450. msgstr ""
  7451. #. type: itemx
  7452. #: guix-git/doc/guix.texi:3316
  7453. #, no-wrap
  7454. msgid "-u [@var{regexp} @dots{}]"
  7455. msgstr ""
  7456. #. type: cindex
  7457. #: guix-git/doc/guix.texi:3317
  7458. #, no-wrap
  7459. msgid "upgrading packages"
  7460. msgstr ""
  7461. #. type: table
  7462. #: guix-git/doc/guix.texi:3321
  7463. msgid "Upgrade all the installed packages. If one or more @var{regexp}s are specified, upgrade only installed packages whose name matches a @var{regexp}. Also see the @option{--do-not-upgrade} option below."
  7464. msgstr ""
  7465. #. type: table
  7466. #: guix-git/doc/guix.texi:3326
  7467. msgid "Note that this upgrades package to the latest version of packages found in the distribution currently installed. To update your distribution, you should regularly run @command{guix pull} (@pxref{Invoking guix pull})."
  7468. msgstr ""
  7469. #. type: cindex
  7470. #: guix-git/doc/guix.texi:3327
  7471. #, no-wrap
  7472. msgid "package transformations, upgrades"
  7473. msgstr ""
  7474. #. type: table
  7475. #: guix-git/doc/guix.texi:3332
  7476. msgid "When upgrading, package transformations that were originally applied when creating the profile are automatically re-applied (@pxref{Package Transformation Options}). For example, assume you first installed Emacs from the tip of its development branch with:"
  7477. msgstr ""
  7478. #. type: example
  7479. #: guix-git/doc/guix.texi:3335
  7480. #, no-wrap
  7481. msgid "guix install emacs-next --with-branch=emacs-next=master\n"
  7482. msgstr ""
  7483. #. type: table
  7484. #: guix-git/doc/guix.texi:3340
  7485. msgid "Next time you run @command{guix upgrade}, Guix will again pull the tip of the Emacs development branch and build @code{emacs-next} from that checkout."
  7486. msgstr ""
  7487. #. type: table
  7488. #: guix-git/doc/guix.texi:3345
  7489. msgid "Note that transformation options such as @option{--with-branch} and @option{--with-source} depend on external state; it is up to you to ensure that they work as expected. You can also discard a transformations that apply to a package by running:"
  7490. msgstr ""
  7491. #. type: example
  7492. #: guix-git/doc/guix.texi:3348
  7493. #, no-wrap
  7494. msgid "guix install @var{package}\n"
  7495. msgstr ""
  7496. #. type: item
  7497. #: guix-git/doc/guix.texi:3350
  7498. #, no-wrap
  7499. msgid "--do-not-upgrade[=@var{regexp} @dots{}]"
  7500. msgstr ""
  7501. #. type: table
  7502. #: guix-git/doc/guix.texi:3355
  7503. msgid "When used together with the @option{--upgrade} option, do @emph{not} upgrade any packages whose name matches a @var{regexp}. For example, to upgrade all packages in the current profile except those containing the substring ``emacs'':"
  7504. msgstr ""
  7505. #. type: example
  7506. #: guix-git/doc/guix.texi:3358
  7507. #, no-wrap
  7508. msgid "$ guix package --upgrade . --do-not-upgrade emacs\n"
  7509. msgstr ""
  7510. #. type: anchor{#1}
  7511. #: guix-git/doc/guix.texi:3360
  7512. #, no-wrap
  7513. msgid "profile-manifest"
  7514. msgstr ""
  7515. #. type: item
  7516. #: guix-git/doc/guix.texi:3360 guix-git/doc/guix.texi:5839
  7517. #: guix-git/doc/guix.texi:6226 guix-git/doc/guix.texi:6680
  7518. #: guix-git/doc/guix.texi:12954 guix-git/doc/guix.texi:14596
  7519. #, no-wrap
  7520. msgid "--manifest=@var{file}"
  7521. msgstr ""
  7522. #. type: itemx
  7523. #: guix-git/doc/guix.texi:3361 guix-git/doc/guix.texi:5840
  7524. #: guix-git/doc/guix.texi:6227 guix-git/doc/guix.texi:6681
  7525. #: guix-git/doc/guix.texi:12955
  7526. #, no-wrap
  7527. msgid "-m @var{file}"
  7528. msgstr ""
  7529. #. type: cindex
  7530. #: guix-git/doc/guix.texi:3362
  7531. #, no-wrap
  7532. msgid "profile declaration"
  7533. msgstr ""
  7534. #. type: cindex
  7535. #: guix-git/doc/guix.texi:3363
  7536. #, no-wrap
  7537. msgid "profile manifest"
  7538. msgstr ""
  7539. #. type: table
  7540. #: guix-git/doc/guix.texi:3367
  7541. msgid "Create a new generation of the profile from the manifest object returned by the Scheme code in @var{file}. This option can be repeated several times, in which case the manifests are concatenated."
  7542. msgstr ""
  7543. #. type: table
  7544. #: guix-git/doc/guix.texi:3373
  7545. msgid "This allows you to @emph{declare} the profile's contents rather than constructing it through a sequence of @option{--install} and similar commands. The advantage is that @var{file} can be put under version control, copied to different machines to reproduce the same profile, and so on."
  7546. msgstr ""
  7547. #. type: table
  7548. #: guix-git/doc/guix.texi:3377
  7549. msgid "@var{file} must return a @dfn{manifest} object, which is roughly a list of packages:"
  7550. msgstr ""
  7551. #. type: findex
  7552. #: guix-git/doc/guix.texi:3378
  7553. #, no-wrap
  7554. msgid "packages->manifest"
  7555. msgstr ""
  7556. #. type: lisp
  7557. #: guix-git/doc/guix.texi:3381
  7558. #, no-wrap
  7559. msgid ""
  7560. "(use-package-modules guile emacs)\n"
  7561. "\n"
  7562. msgstr ""
  7563. #. type: lisp
  7564. #: guix-git/doc/guix.texi:3387
  7565. #, no-wrap
  7566. msgid ""
  7567. "(packages->manifest\n"
  7568. " (list emacs\n"
  7569. " guile-2.0\n"
  7570. " ;; Use a specific package output.\n"
  7571. " (list guile-2.0 \"debug\")))\n"
  7572. msgstr ""
  7573. #. type: findex
  7574. #: guix-git/doc/guix.texi:3389
  7575. #, no-wrap
  7576. msgid "specifications->manifest"
  7577. msgstr ""
  7578. #. type: table
  7579. #: guix-git/doc/guix.texi:3396
  7580. msgid "In this example we have to know which modules define the @code{emacs} and @code{guile-2.0} variables to provide the right @code{use-package-modules} line, which can be cumbersome. We can instead provide regular package specifications and let @code{specifications->manifest} look up the corresponding package objects, like this:"
  7581. msgstr ""
  7582. #. type: lisp
  7583. #: guix-git/doc/guix.texi:3400
  7584. #, no-wrap
  7585. msgid ""
  7586. "(specifications->manifest\n"
  7587. " '(\"emacs\" \"guile@@2.2\" \"guile@@2.2:debug\"))\n"
  7588. msgstr ""
  7589. #. type: findex
  7590. #: guix-git/doc/guix.texi:3402
  7591. #, no-wrap
  7592. msgid "package->development-manifest"
  7593. msgstr ""
  7594. #. type: table
  7595. #: guix-git/doc/guix.texi:3405
  7596. msgid "You might also want to create a manifest for all the dependencies of a package, rather than the package itself:"
  7597. msgstr ""
  7598. #. type: lisp
  7599. #: guix-git/doc/guix.texi:3408
  7600. #, no-wrap
  7601. msgid "(package->development-manifest (specification->package \"emacs\"))\n"
  7602. msgstr ""
  7603. #. type: table
  7604. #: guix-git/doc/guix.texi:3412
  7605. msgid "The example above gives you all the software required to develop Emacs, similar to what @command{guix environment emacs} provides."
  7606. msgstr ""
  7607. #. type: table
  7608. #: guix-git/doc/guix.texi:3415
  7609. msgid "@xref{export-manifest, @option{--export-manifest}}, to learn how to obtain a manifest file from an existing profile."
  7610. msgstr ""
  7611. #. type: item
  7612. #: guix-git/doc/guix.texi:3416 guix-git/doc/guix.texi:4530
  7613. #, no-wrap
  7614. msgid "--roll-back"
  7615. msgstr ""
  7616. #. type: cindex
  7617. #: guix-git/doc/guix.texi:3417 guix-git/doc/guix.texi:4531
  7618. #: guix-git/doc/guix.texi:35559 guix-git/doc/guix.texi:38314
  7619. #, no-wrap
  7620. msgid "rolling back"
  7621. msgstr ""
  7622. #. type: cindex
  7623. #: guix-git/doc/guix.texi:3418 guix-git/doc/guix.texi:4532
  7624. #, no-wrap
  7625. msgid "undoing transactions"
  7626. msgstr ""
  7627. #. type: cindex
  7628. #: guix-git/doc/guix.texi:3419 guix-git/doc/guix.texi:4533
  7629. #, no-wrap
  7630. msgid "transactions, undoing"
  7631. msgstr ""
  7632. #. type: table
  7633. #: guix-git/doc/guix.texi:3422
  7634. msgid "Roll back to the previous @dfn{generation} of the profile---i.e., undo the last transaction."
  7635. msgstr ""
  7636. #. type: table
  7637. #: guix-git/doc/guix.texi:3425
  7638. msgid "When combined with options such as @option{--install}, roll back occurs before any other actions."
  7639. msgstr ""
  7640. #. type: table
  7641. #: guix-git/doc/guix.texi:3429
  7642. msgid "When rolling back from the first generation that actually contains installed packages, the profile is made to point to the @dfn{zeroth generation}, which contains no files apart from its own metadata."
  7643. msgstr ""
  7644. #. type: table
  7645. #: guix-git/doc/guix.texi:3433
  7646. msgid "After having rolled back, installing, removing, or upgrading packages overwrites previous future generations. Thus, the history of the generations in a profile is always linear."
  7647. msgstr ""
  7648. #. type: item
  7649. #: guix-git/doc/guix.texi:3434 guix-git/doc/guix.texi:4537
  7650. #, no-wrap
  7651. msgid "--switch-generation=@var{pattern}"
  7652. msgstr ""
  7653. #. type: itemx
  7654. #: guix-git/doc/guix.texi:3435 guix-git/doc/guix.texi:4538
  7655. #, no-wrap
  7656. msgid "-S @var{pattern}"
  7657. msgstr ""
  7658. #. type: cindex
  7659. #: guix-git/doc/guix.texi:3436 guix-git/doc/guix.texi:3669
  7660. #: guix-git/doc/guix.texi:4539 guix-git/doc/guix.texi:35517
  7661. #, no-wrap
  7662. msgid "generations"
  7663. msgstr ""
  7664. #. type: table
  7665. #: guix-git/doc/guix.texi:3438 guix-git/doc/guix.texi:4541
  7666. msgid "Switch to a particular generation defined by @var{pattern}."
  7667. msgstr ""
  7668. #. type: table
  7669. #: guix-git/doc/guix.texi:3444 guix-git/doc/guix.texi:4547
  7670. msgid "@var{pattern} may be either a generation number or a number prefixed with ``+'' or ``-''. The latter means: move forward/backward by a specified number of generations. For example, if you want to return to the latest generation after @option{--roll-back}, use @option{--switch-generation=+1}."
  7671. msgstr ""
  7672. #. type: table
  7673. #: guix-git/doc/guix.texi:3449
  7674. msgid "The difference between @option{--roll-back} and @option{--switch-generation=-1} is that @option{--switch-generation} will not make a zeroth generation, so if a specified generation does not exist, the current generation will not be changed."
  7675. msgstr ""
  7676. #. type: item
  7677. #: guix-git/doc/guix.texi:3450
  7678. #, no-wrap
  7679. msgid "--search-paths[=@var{kind}]"
  7680. msgstr ""
  7681. #. type: table
  7682. #: guix-git/doc/guix.texi:3456
  7683. msgid "Report environment variable definitions, in Bash syntax, that may be needed in order to use the set of installed packages. These environment variables are used to specify @dfn{search paths} for files used by some of the installed packages."
  7684. msgstr ""
  7685. #. type: table
  7686. #: guix-git/doc/guix.texi:3465
  7687. msgid "For example, GCC needs the @env{CPATH} and @env{LIBRARY_PATH} environment variables to be defined so it can look for headers and libraries in the user's profile (@pxref{Environment Variables,,, gcc, Using the GNU Compiler Collection (GCC)}). If GCC and, say, the C library are installed in the profile, then @option{--search-paths} will suggest setting these variables to @file{@var{profile}/include} and @file{@var{profile}/lib}, respectively (@pxref{Search Paths}, for info on search path specifications associated with packages.)"
  7688. msgstr ""
  7689. #. type: table
  7690. #: guix-git/doc/guix.texi:3468
  7691. msgid "The typical use case is to define these environment variables in the shell:"
  7692. msgstr ""
  7693. #. type: example
  7694. #: guix-git/doc/guix.texi:3471
  7695. #, no-wrap
  7696. msgid "$ eval `guix package --search-paths`\n"
  7697. msgstr ""
  7698. #. type: table
  7699. #: guix-git/doc/guix.texi:3477
  7700. msgid "@var{kind} may be one of @code{exact}, @code{prefix}, or @code{suffix}, meaning that the returned environment variable definitions will either be exact settings, or prefixes or suffixes of the current value of these variables. When omitted, @var{kind} defaults to @code{exact}."
  7701. msgstr ""
  7702. #. type: table
  7703. #: guix-git/doc/guix.texi:3480
  7704. msgid "This option can also be used to compute the @emph{combined} search paths of several profiles. Consider this example:"
  7705. msgstr ""
  7706. #. type: example
  7707. #: guix-git/doc/guix.texi:3485
  7708. #, no-wrap
  7709. msgid ""
  7710. "$ guix package -p foo -i guile\n"
  7711. "$ guix package -p bar -i guile-json\n"
  7712. "$ guix package -p foo -p bar --search-paths\n"
  7713. msgstr ""
  7714. #. type: table
  7715. #: guix-git/doc/guix.texi:3490
  7716. msgid "The last command above reports about the @env{GUILE_LOAD_PATH} variable, even though, taken individually, neither @file{foo} nor @file{bar} would lead to that recommendation."
  7717. msgstr ""
  7718. #. type: cindex
  7719. #: guix-git/doc/guix.texi:3492
  7720. #, no-wrap
  7721. msgid "profile, choosing"
  7722. msgstr ""
  7723. #. type: item
  7724. #: guix-git/doc/guix.texi:3493 guix-git/doc/guix.texi:4567
  7725. #: guix-git/doc/guix.texi:4896 guix-git/doc/guix.texi:5849
  7726. #: guix-git/doc/guix.texi:6262
  7727. #, no-wrap
  7728. msgid "--profile=@var{profile}"
  7729. msgstr ""
  7730. #. type: itemx
  7731. #: guix-git/doc/guix.texi:3494 guix-git/doc/guix.texi:4568
  7732. #: guix-git/doc/guix.texi:4897 guix-git/doc/guix.texi:5850
  7733. #: guix-git/doc/guix.texi:6263
  7734. #, no-wrap
  7735. msgid "-p @var{profile}"
  7736. msgstr ""
  7737. #. type: table
  7738. #: guix-git/doc/guix.texi:3496
  7739. msgid "Use @var{profile} instead of the user's default profile."
  7740. msgstr ""
  7741. #. type: table
  7742. #: guix-git/doc/guix.texi:3501
  7743. msgid "@var{profile} must be the name of a file that will be created upon completion. Concretely, @var{profile} will be a mere symbolic link (``symlink'') pointing to the actual profile where packages are installed:"
  7744. msgstr ""
  7745. #. type: example
  7746. #: guix-git/doc/guix.texi:3507
  7747. #, no-wrap
  7748. msgid ""
  7749. "$ guix install hello -p ~/code/my-profile\n"
  7750. "@dots{}\n"
  7751. "$ ~/code/my-profile/bin/hello\n"
  7752. "Hello, world!\n"
  7753. msgstr ""
  7754. #. type: table
  7755. #: guix-git/doc/guix.texi:3511
  7756. msgid "All it takes to get rid of the profile is to remove this symlink and its siblings that point to specific generations:"
  7757. msgstr ""
  7758. #. type: example
  7759. #: guix-git/doc/guix.texi:3514
  7760. #, no-wrap
  7761. msgid "$ rm ~/code/my-profile ~/code/my-profile-*-link\n"
  7762. msgstr ""
  7763. #. type: item
  7764. #: guix-git/doc/guix.texi:3516
  7765. #, no-wrap
  7766. msgid "--list-profiles"
  7767. msgstr ""
  7768. #. type: table
  7769. #: guix-git/doc/guix.texi:3518
  7770. msgid "List all the user's profiles:"
  7771. msgstr ""
  7772. #. type: example
  7773. #: guix-git/doc/guix.texi:3525
  7774. #, no-wrap
  7775. msgid ""
  7776. "$ guix package --list-profiles\n"
  7777. "/home/charlie/.guix-profile\n"
  7778. "/home/charlie/code/my-profile\n"
  7779. "/home/charlie/code/devel-profile\n"
  7780. "/home/charlie/tmp/test\n"
  7781. msgstr ""
  7782. #. type: table
  7783. #: guix-git/doc/guix.texi:3528
  7784. msgid "When running as root, list all the profiles of all the users."
  7785. msgstr ""
  7786. #. type: cindex
  7787. #: guix-git/doc/guix.texi:3529
  7788. #, no-wrap
  7789. msgid "collisions, in a profile"
  7790. msgstr ""
  7791. #. type: cindex
  7792. #: guix-git/doc/guix.texi:3530
  7793. #, no-wrap
  7794. msgid "colliding packages in profiles"
  7795. msgstr ""
  7796. #. type: cindex
  7797. #: guix-git/doc/guix.texi:3531
  7798. #, no-wrap
  7799. msgid "profile collisions"
  7800. msgstr ""
  7801. #. type: item
  7802. #: guix-git/doc/guix.texi:3532
  7803. #, no-wrap
  7804. msgid "--allow-collisions"
  7805. msgstr ""
  7806. #. type: table
  7807. #: guix-git/doc/guix.texi:3534
  7808. msgid "Allow colliding packages in the new profile. Use at your own risk!"
  7809. msgstr ""
  7810. #. type: table
  7811. #: guix-git/doc/guix.texi:3538
  7812. msgid "By default, @command{guix package} reports as an error @dfn{collisions} in the profile. Collisions happen when two or more different versions or variants of a given package end up in the profile."
  7813. msgstr ""
  7814. #. type: item
  7815. #: guix-git/doc/guix.texi:3539 guix-git/doc/guix.texi:4610
  7816. #: guix-git/doc/guix.texi:6766
  7817. #, no-wrap
  7818. msgid "--bootstrap"
  7819. msgstr ""
  7820. #. type: table
  7821. #: guix-git/doc/guix.texi:3542
  7822. msgid "Use the bootstrap Guile to build the profile. This option is only useful to distribution developers."
  7823. msgstr ""
  7824. #. type: Plain text
  7825. #: guix-git/doc/guix.texi:3548
  7826. msgid "In addition to these actions, @command{guix package} supports the following options to query the current state of a profile, or the availability of packages:"
  7827. msgstr ""
  7828. #. type: item
  7829. #: guix-git/doc/guix.texi:3551
  7830. #, no-wrap
  7831. msgid "--search=@var{regexp}"
  7832. msgstr ""
  7833. #. type: itemx
  7834. #: guix-git/doc/guix.texi:3552
  7835. #, no-wrap
  7836. msgid "-s @var{regexp}"
  7837. msgstr ""
  7838. #. type: anchor{#1}
  7839. #: guix-git/doc/guix.texi:3554
  7840. msgid "guix-search"
  7841. msgstr ""
  7842. #. type: cindex
  7843. #: guix-git/doc/guix.texi:3554
  7844. #, no-wrap
  7845. msgid "searching for packages"
  7846. msgstr ""
  7847. #. type: table
  7848. #: guix-git/doc/guix.texi:3560
  7849. msgid "List the available packages whose name, synopsis, or description matches @var{regexp} (in a case-insensitive fashion), sorted by relevance. Print all the metadata of matching packages in @code{recutils} format (@pxref{Top, GNU recutils databases,, recutils, GNU recutils manual})."
  7850. msgstr ""
  7851. #. type: table
  7852. #: guix-git/doc/guix.texi:3563
  7853. msgid "This allows specific fields to be extracted using the @command{recsel} command, for instance:"
  7854. msgstr ""
  7855. #. type: example
  7856. #: guix-git/doc/guix.texi:3569
  7857. #, no-wrap
  7858. msgid ""
  7859. "$ guix package -s malloc | recsel -p name,version,relevance\n"
  7860. "name: jemalloc\n"
  7861. "version: 4.5.0\n"
  7862. "relevance: 6\n"
  7863. "\n"
  7864. msgstr ""
  7865. #. type: example
  7866. #: guix-git/doc/guix.texi:3573
  7867. #, no-wrap
  7868. msgid ""
  7869. "name: glibc\n"
  7870. "version: 2.25\n"
  7871. "relevance: 1\n"
  7872. "\n"
  7873. msgstr ""
  7874. #. type: example
  7875. #: guix-git/doc/guix.texi:3577
  7876. #, no-wrap
  7877. msgid ""
  7878. "name: libgc\n"
  7879. "version: 7.6.0\n"
  7880. "relevance: 1\n"
  7881. msgstr ""
  7882. #. type: table
  7883. #: guix-git/doc/guix.texi:3581
  7884. msgid "Similarly, to show the name of all the packages available under the terms of the GNU@tie{}LGPL version 3:"
  7885. msgstr ""
  7886. #. type: example
  7887. #: guix-git/doc/guix.texi:3585
  7888. #, no-wrap
  7889. msgid ""
  7890. "$ guix package -s \"\" | recsel -p name -e 'license ~ \"LGPL 3\"'\n"
  7891. "name: elfutils\n"
  7892. "\n"
  7893. msgstr ""
  7894. #. type: example
  7895. #: guix-git/doc/guix.texi:3588
  7896. #, no-wrap
  7897. msgid ""
  7898. "name: gmp\n"
  7899. "@dots{}\n"
  7900. msgstr ""
  7901. #. type: table
  7902. #: guix-git/doc/guix.texi:3594
  7903. msgid "It is also possible to refine search results using several @code{-s} flags to @command{guix package}, or several arguments to @command{guix search}. For example, the following command returns a list of board games (this time using the @command{guix search} alias):"
  7904. msgstr ""
  7905. #. type: example
  7906. #: guix-git/doc/guix.texi:3599
  7907. #, no-wrap
  7908. msgid ""
  7909. "$ guix search '\\<board\\>' game | recsel -p name\n"
  7910. "name: gnubg\n"
  7911. "@dots{}\n"
  7912. msgstr ""
  7913. #. type: table
  7914. #: guix-git/doc/guix.texi:3605
  7915. msgid "If we were to omit @code{-s game}, we would also get software packages that deal with printed circuit boards; removing the angle brackets around @code{board} would further add packages that have to do with keyboards."
  7916. msgstr ""
  7917. #. type: table
  7918. #: guix-git/doc/guix.texi:3609
  7919. msgid "And now for a more elaborate example. The following command searches for cryptographic libraries, filters out Haskell, Perl, Python, and Ruby libraries, and prints the name and synopsis of the matching packages:"
  7920. msgstr ""
  7921. #. type: example
  7922. #: guix-git/doc/guix.texi:3613
  7923. #, no-wrap
  7924. msgid ""
  7925. "$ guix search crypto library | \\\n"
  7926. " recsel -e '! (name ~ \"^(ghc|perl|python|ruby)\")' -p name,synopsis\n"
  7927. msgstr ""
  7928. #. type: table
  7929. #: guix-git/doc/guix.texi:3618
  7930. msgid "@xref{Selection Expressions,,, recutils, GNU recutils manual}, for more information on @dfn{selection expressions} for @code{recsel -e}."
  7931. msgstr ""
  7932. #. type: item
  7933. #: guix-git/doc/guix.texi:3619
  7934. #, no-wrap
  7935. msgid "--show=@var{package}"
  7936. msgstr ""
  7937. #. type: table
  7938. #: guix-git/doc/guix.texi:3623
  7939. msgid "Show details about @var{package}, taken from the list of available packages, in @code{recutils} format (@pxref{Top, GNU recutils databases,, recutils, GNU recutils manual})."
  7940. msgstr ""
  7941. #. type: example
  7942. #: guix-git/doc/guix.texi:3628
  7943. #, no-wrap
  7944. msgid ""
  7945. "$ guix package --show=guile | recsel -p name,version\n"
  7946. "name: guile\n"
  7947. "version: 3.0.5\n"
  7948. "\n"
  7949. msgstr ""
  7950. #. type: example
  7951. #: guix-git/doc/guix.texi:3631
  7952. #, no-wrap
  7953. msgid ""
  7954. "name: guile\n"
  7955. "version: 3.0.2\n"
  7956. "\n"
  7957. msgstr ""
  7958. #. type: example
  7959. #: guix-git/doc/guix.texi:3635
  7960. #, no-wrap
  7961. msgid ""
  7962. "name: guile\n"
  7963. "version: 2.2.7\n"
  7964. "@dots{}\n"
  7965. msgstr ""
  7966. #. type: table
  7967. #: guix-git/doc/guix.texi:3639
  7968. msgid "You may also specify the full name of a package to only get details about a specific version of it (this time using the @command{guix show} alias):"
  7969. msgstr ""
  7970. #. type: example
  7971. #: guix-git/doc/guix.texi:3643
  7972. #, no-wrap
  7973. msgid ""
  7974. "$ guix show guile@@3.0.5 | recsel -p name,version\n"
  7975. "name: guile\n"
  7976. "version: 3.0.5\n"
  7977. msgstr ""
  7978. #. type: item
  7979. #: guix-git/doc/guix.texi:3645
  7980. #, no-wrap
  7981. msgid "--list-installed[=@var{regexp}]"
  7982. msgstr ""
  7983. #. type: itemx
  7984. #: guix-git/doc/guix.texi:3646
  7985. #, no-wrap
  7986. msgid "-I [@var{regexp}]"
  7987. msgstr ""
  7988. #. type: table
  7989. #: guix-git/doc/guix.texi:3650
  7990. msgid "List the currently installed packages in the specified profile, with the most recently installed packages shown last. When @var{regexp} is specified, list only installed packages whose name matches @var{regexp}."
  7991. msgstr ""
  7992. #. type: table
  7993. #: guix-git/doc/guix.texi:3656
  7994. msgid "For each installed package, print the following items, separated by tabs: the package name, its version string, the part of the package that is installed (for instance, @code{out} for the default output, @code{include} for its headers, etc.), and the path of this package in the store."
  7995. msgstr ""
  7996. #. type: item
  7997. #: guix-git/doc/guix.texi:3657
  7998. #, no-wrap
  7999. msgid "--list-available[=@var{regexp}]"
  8000. msgstr ""
  8001. #. type: itemx
  8002. #: guix-git/doc/guix.texi:3658
  8003. #, no-wrap
  8004. msgid "-A [@var{regexp}]"
  8005. msgstr ""
  8006. #. type: table
  8007. #: guix-git/doc/guix.texi:3662
  8008. msgid "List packages currently available in the distribution for this system (@pxref{GNU Distribution}). When @var{regexp} is specified, list only available packages whose name matches @var{regexp}."
  8009. msgstr ""
  8010. #. type: table
  8011. #: guix-git/doc/guix.texi:3666
  8012. msgid "For each package, print the following items separated by tabs: its name, its version string, the parts of the package (@pxref{Packages with Multiple Outputs}), and the source location of its definition."
  8013. msgstr ""
  8014. #. type: item
  8015. #: guix-git/doc/guix.texi:3667 guix-git/doc/guix.texi:4513
  8016. #, no-wrap
  8017. msgid "--list-generations[=@var{pattern}]"
  8018. msgstr ""
  8019. #. type: itemx
  8020. #: guix-git/doc/guix.texi:3668 guix-git/doc/guix.texi:4514
  8021. #, no-wrap
  8022. msgid "-l [@var{pattern}]"
  8023. msgstr ""
  8024. #. type: table
  8025. #: guix-git/doc/guix.texi:3674
  8026. msgid "Return a list of generations along with their creation dates; for each generation, show the installed packages, with the most recently installed packages shown last. Note that the zeroth generation is never shown."
  8027. msgstr ""
  8028. #. type: table
  8029. #: guix-git/doc/guix.texi:3679
  8030. msgid "For each installed package, print the following items, separated by tabs: the name of a package, its version string, the part of the package that is installed (@pxref{Packages with Multiple Outputs}), and the location of this package in the store."
  8031. msgstr ""
  8032. #. type: table
  8033. #: guix-git/doc/guix.texi:3682
  8034. msgid "When @var{pattern} is used, the command returns only matching generations. Valid patterns include:"
  8035. msgstr ""
  8036. #. type: item
  8037. #: guix-git/doc/guix.texi:3684
  8038. #, no-wrap
  8039. msgid "@emph{Integers and comma-separated integers}. Both patterns denote"
  8040. msgstr ""
  8041. #. type: itemize
  8042. #: guix-git/doc/guix.texi:3687
  8043. msgid "generation numbers. For instance, @option{--list-generations=1} returns the first one."
  8044. msgstr ""
  8045. #. type: itemize
  8046. #: guix-git/doc/guix.texi:3690
  8047. msgid "And @option{--list-generations=1,8,2} outputs three generations in the specified order. Neither spaces nor trailing commas are allowed."
  8048. msgstr ""
  8049. #. type: item
  8050. #: guix-git/doc/guix.texi:3691
  8051. #, no-wrap
  8052. msgid "@emph{Ranges}. @option{--list-generations=2..9} prints the"
  8053. msgstr ""
  8054. #. type: itemize
  8055. #: guix-git/doc/guix.texi:3694
  8056. msgid "specified generations and everything in between. Note that the start of a range must be smaller than its end."
  8057. msgstr ""
  8058. #. type: itemize
  8059. #: guix-git/doc/guix.texi:3698
  8060. msgid "It is also possible to omit the endpoint. For example, @option{--list-generations=2..}, returns all generations starting from the second one."
  8061. msgstr ""
  8062. #. type: item
  8063. #: guix-git/doc/guix.texi:3699
  8064. #, no-wrap
  8065. msgid "@emph{Durations}. You can also get the last @emph{N}@tie{}days, weeks,"
  8066. msgstr ""
  8067. #. type: itemize
  8068. #: guix-git/doc/guix.texi:3703
  8069. msgid "or months by passing an integer along with the first letter of the duration. For example, @option{--list-generations=20d} lists generations that are up to 20 days old."
  8070. msgstr ""
  8071. #. type: item
  8072. #: guix-git/doc/guix.texi:3705 guix-git/doc/guix.texi:4548
  8073. #, no-wrap
  8074. msgid "--delete-generations[=@var{pattern}]"
  8075. msgstr ""
  8076. #. type: itemx
  8077. #: guix-git/doc/guix.texi:3706 guix-git/doc/guix.texi:4549
  8078. #, no-wrap
  8079. msgid "-d [@var{pattern}]"
  8080. msgstr ""
  8081. #. type: table
  8082. #: guix-git/doc/guix.texi:3709 guix-git/doc/guix.texi:4552
  8083. msgid "When @var{pattern} is omitted, delete all generations except the current one."
  8084. msgstr ""
  8085. #. type: table
  8086. #: guix-git/doc/guix.texi:3715 guix-git/doc/guix.texi:4558
  8087. msgid "This command accepts the same patterns as @option{--list-generations}. When @var{pattern} is specified, delete the matching generations. When @var{pattern} specifies a duration, generations @emph{older} than the specified duration match. For instance, @option{--delete-generations=1m} deletes generations that are more than one month old."
  8088. msgstr ""
  8089. #. type: table
  8090. #: guix-git/doc/guix.texi:3718
  8091. msgid "If the current generation matches, it is @emph{not} deleted. Also, the zeroth generation is never deleted."
  8092. msgstr ""
  8093. #. type: table
  8094. #: guix-git/doc/guix.texi:3721 guix-git/doc/guix.texi:4563
  8095. msgid "Note that deleting generations prevents rolling back to them. Consequently, this command must be used with care."
  8096. msgstr ""
  8097. #. type: cindex
  8098. #: guix-git/doc/guix.texi:3722
  8099. #, no-wrap
  8100. msgid "manifest, exporting"
  8101. msgstr ""
  8102. #. type: anchor{#1}
  8103. #: guix-git/doc/guix.texi:3724
  8104. msgid "export-manifest"
  8105. msgstr ""
  8106. #. type: item
  8107. #: guix-git/doc/guix.texi:3724
  8108. #, no-wrap
  8109. msgid "--export-manifest"
  8110. msgstr ""
  8111. #. type: table
  8112. #: guix-git/doc/guix.texi:3727
  8113. msgid "Write to standard output a manifest suitable for @option{--manifest} corresponding to the chosen profile(s)."
  8114. msgstr ""
  8115. #. type: table
  8116. #: guix-git/doc/guix.texi:3731
  8117. msgid "This option is meant to help you migrate from the ``imperative'' operating mode---running @command{guix install}, @command{guix upgrade}, etc.---to the declarative mode that @option{--manifest} offers."
  8118. msgstr ""
  8119. #. type: table
  8120. #: guix-git/doc/guix.texi:3736
  8121. msgid "Be aware that the resulting manifest @emph{approximates} what your profile actually contains; for instance, depending on how your profile was created, it can refer to packages or package versions that are not exactly what you specified."
  8122. msgstr ""
  8123. #. type: table
  8124. #: guix-git/doc/guix.texi:3741
  8125. msgid "Keep in mind that a manifest is purely symbolic: it only contains package names and possibly versions, and their meaning varies over time. If you wish to ``pin'' channels to the revisions that were used to build the profile(s), see @option{--export-channels} below."
  8126. msgstr ""
  8127. #. type: cindex
  8128. #: guix-git/doc/guix.texi:3742
  8129. #, no-wrap
  8130. msgid "pinning, channel revisions of a profile"
  8131. msgstr ""
  8132. #. type: item
  8133. #: guix-git/doc/guix.texi:3743
  8134. #, no-wrap
  8135. msgid "--export-channels"
  8136. msgstr ""
  8137. #. type: table
  8138. #: guix-git/doc/guix.texi:3747
  8139. msgid "Write to standard output the list of channels used by the chosen profile(s), in a format suitable for @command{guix pull --channels} or @command{guix time-machine --channels} (@pxref{Channels})."
  8140. msgstr ""
  8141. #. type: table
  8142. #: guix-git/doc/guix.texi:3751
  8143. msgid "Together with @option{--export-manifest}, this option provides information allowing you to replicate the current profile (@pxref{Replicating Guix})."
  8144. msgstr ""
  8145. #. type: table
  8146. #: guix-git/doc/guix.texi:3759
  8147. msgid "However, note that the output of this command @emph{approximates} what was actually used to build this profile. In particular, a single profile might have been built from several different revisions of the same channel. In that case, @option{--export-manifest} chooses the last one and writes the list of other revisions in a comment. If you really need to pick packages from different channel revisions, you can use inferiors in your manifest to do so (@pxref{Inferiors})."
  8148. msgstr ""
  8149. #. type: table
  8150. #: guix-git/doc/guix.texi:3764
  8151. msgid "Together with @option{--export-manifest}, this is a good starting point if you are willing to migrate from the ``imperative'' model to the fully declarative model consisting of a manifest file along with a channels file pinning the exact channel revision(s) you want."
  8152. msgstr ""
  8153. #. type: Plain text
  8154. #: guix-git/doc/guix.texi:3771
  8155. msgid "Finally, since @command{guix package} may actually start build processes, it supports all the common build options (@pxref{Common Build Options}). It also supports package transformation options, such as @option{--with-source}, and preserves them across upgrades (@pxref{Package Transformation Options})."
  8156. msgstr ""
  8157. #. type: cindex
  8158. #: guix-git/doc/guix.texi:3776
  8159. #, no-wrap
  8160. msgid "pre-built binaries"
  8161. msgstr ""
  8162. #. type: Plain text
  8163. #: guix-git/doc/guix.texi:3782
  8164. msgid "Guix supports transparent source/binary deployment, which means that it can either build things locally, or download pre-built items from a server, or both. We call these pre-built items @dfn{substitutes}---they are substitutes for local build results. In many cases, downloading a substitute is much faster than building things locally."
  8165. msgstr ""
  8166. #. type: Plain text
  8167. #: guix-git/doc/guix.texi:3787
  8168. msgid "Substitutes can be anything resulting from a derivation build (@pxref{Derivations}). Of course, in the common case, they are pre-built package binaries, but source tarballs, for instance, which also result from derivation builds, can be available as substitutes."
  8169. msgstr ""
  8170. #. type: cindex
  8171. #: guix-git/doc/guix.texi:3801
  8172. #, no-wrap
  8173. msgid "build farm"
  8174. msgstr ""
  8175. #. type: Plain text
  8176. #: guix-git/doc/guix.texi:3812
  8177. msgid "@code{@value{SUBSTITUTE-SERVER-1}} and @code{@value{SUBSTITUTE-SERVER-2}} are both front-ends to official build farms that build packages from Guix continuously for some architectures, and make them available as substitutes. These are the default source of substitutes; which can be overridden by passing the @option{--substitute-urls} option either to @command{guix-daemon} (@pxref{daemon-substitute-urls,, @code{guix-daemon --substitute-urls}}) or to client tools such as @command{guix package} (@pxref{client-substitute-urls,, client @option{--substitute-urls} option})."
  8178. msgstr ""
  8179. #. type: Plain text
  8180. #: guix-git/doc/guix.texi:3818
  8181. msgid "Substitute URLs can be either HTTP or HTTPS. HTTPS is recommended because communications are encrypted; conversely, using HTTP makes all communications visible to an eavesdropper, who could use the information gathered to determine, for instance, whether your system has unpatched security vulnerabilities."
  8182. msgstr ""
  8183. #. type: Plain text
  8184. #: guix-git/doc/guix.texi:3827
  8185. msgid "Substitutes from the official build farms are enabled by default when using Guix System (@pxref{GNU Distribution}). However, they are disabled by default when using Guix on a foreign distribution, unless you have explicitly enabled them via one of the recommended installation steps (@pxref{Installation}). The following paragraphs describe how to enable or disable substitutes for the official build farm; the same procedure can also be used to enable substitutes for any other substitute server."
  8186. msgstr ""
  8187. #. type: cindex
  8188. #: guix-git/doc/guix.texi:3831
  8189. #, no-wrap
  8190. msgid "security"
  8191. msgstr "turvallisuus"
  8192. #. type: cindex
  8193. #: guix-git/doc/guix.texi:3833
  8194. #, no-wrap
  8195. msgid "access control list (ACL), for substitutes"
  8196. msgstr ""
  8197. #. type: cindex
  8198. #: guix-git/doc/guix.texi:3834
  8199. #, no-wrap
  8200. msgid "ACL (access control list), for substitutes"
  8201. msgstr ""
  8202. #. type: Plain text
  8203. #: guix-git/doc/guix.texi:3840
  8204. msgid "To allow Guix to download substitutes from @code{@value{SUBSTITUTE-SERVER-1}}, @code{@value{SUBSTITUTE-SERVER-2}} or a mirror, you must add the relevant public key to the access control list (ACL) of archive imports, using the @command{guix archive} command (@pxref{Invoking guix archive}). Doing so implies that you trust the substitute server to not be compromised and to serve genuine substitutes."
  8205. msgstr ""
  8206. #. type: quotation
  8207. #: guix-git/doc/guix.texi:3845
  8208. msgid "If you are using Guix System, you can skip this section: Guix System authorizes substitutes from @code{@value{SUBSTITUTE-SERVER-1}} and @code{@value{SUBSTITUTE-SERVER-2}} by default."
  8209. msgstr ""
  8210. #. type: Plain text
  8211. #: guix-git/doc/guix.texi:3853
  8212. msgid "The public keys for each of the project maintained substitute servers are installed along with Guix, in @code{@var{prefix}/share/guix/}, where @var{prefix} is the installation prefix of Guix. If you installed Guix from source, make sure you checked the GPG signature of @file{guix-@value{VERSION}.tar.gz}, which contains this public key file. Then, you can run something like this:"
  8213. msgstr ""
  8214. #. type: example
  8215. #: guix-git/doc/guix.texi:3857
  8216. #, no-wrap
  8217. msgid ""
  8218. "# guix archive --authorize < @var{prefix}/share/guix/@value{SUBSTITUTE-SERVER-1}.pub\n"
  8219. "# guix archive --authorize < @var{prefix}/share/guix/@value{SUBSTITUTE-SERVER-2}.pub\n"
  8220. msgstr ""
  8221. #. type: Plain text
  8222. #: guix-git/doc/guix.texi:3861
  8223. msgid "Once this is in place, the output of a command like @code{guix build} should change from something like:"
  8224. msgstr ""
  8225. #. type: example
  8226. #: guix-git/doc/guix.texi:3870
  8227. #, no-wrap
  8228. msgid ""
  8229. "$ guix build emacs --dry-run\n"
  8230. "The following derivations would be built:\n"
  8231. " /gnu/store/yr7bnx8xwcayd6j95r2clmkdl1qh688w-emacs-24.3.drv\n"
  8232. " /gnu/store/x8qsh1hlhgjx6cwsjyvybnfv2i37z23w-dbus-1.6.4.tar.gz.drv\n"
  8233. " /gnu/store/1ixwp12fl950d15h2cj11c73733jay0z-alsa-lib-1.0.27.1.tar.bz2.drv\n"
  8234. " /gnu/store/nlma1pw0p603fpfiqy7kn4zm105r5dmw-util-linux-2.21.drv\n"
  8235. "@dots{}\n"
  8236. msgstr ""
  8237. #. type: Plain text
  8238. #: guix-git/doc/guix.texi:3874
  8239. msgid "to something like:"
  8240. msgstr ""
  8241. #. type: example
  8242. #: guix-git/doc/guix.texi:3883
  8243. #, no-wrap
  8244. msgid ""
  8245. "$ guix build emacs --dry-run\n"
  8246. "112.3 MB would be downloaded:\n"
  8247. " /gnu/store/pk3n22lbq6ydamyymqkkz7i69wiwjiwi-emacs-24.3\n"
  8248. " /gnu/store/2ygn4ncnhrpr61rssa6z0d9x22si0va3-libjpeg-8d\n"
  8249. " /gnu/store/71yz6lgx4dazma9dwn2mcjxaah9w77jq-cairo-1.12.16\n"
  8250. " /gnu/store/7zdhgp0n1518lvfn8mb96sxqfmvqrl7v-libxrender-0.9.7\n"
  8251. "@dots{}\n"
  8252. msgstr ""
  8253. #. type: Plain text
  8254. #: guix-git/doc/guix.texi:3890
  8255. msgid "The text changed from ``The following derivations would be built'' to ``112.3 MB would be downloaded''. This indicates that substitutes from the configured substitute servers are usable and will be downloaded, when possible, for future builds."
  8256. msgstr ""
  8257. #. type: cindex
  8258. #: guix-git/doc/guix.texi:3891
  8259. #, no-wrap
  8260. msgid "substitutes, how to disable"
  8261. msgstr ""
  8262. #. type: Plain text
  8263. #: guix-git/doc/guix.texi:3897
  8264. msgid "The substitute mechanism can be disabled globally by running @code{guix-daemon} with @option{--no-substitutes} (@pxref{Invoking guix-daemon}). It can also be disabled temporarily by passing the @option{--no-substitutes} option to @command{guix package}, @command{guix build}, and other command-line tools."
  8265. msgstr ""
  8266. #. type: cindex
  8267. #: guix-git/doc/guix.texi:3901
  8268. #, no-wrap
  8269. msgid "substitute servers, adding more"
  8270. msgstr ""
  8271. #. type: Plain text
  8272. #: guix-git/doc/guix.texi:3908
  8273. msgid "Guix can look up and fetch substitutes from several servers. This is useful when you are using packages from additional channels for which the official server does not have substitutes but another server provides them. Another situation where this is useful is when you would prefer to download from your organization's substitute server, resorting to the official server only as a fallback or dismissing it altogether."
  8274. msgstr ""
  8275. #. type: Plain text
  8276. #: guix-git/doc/guix.texi:3913
  8277. msgid "You can give Guix a list of substitute server URLs and it will check them in the specified order. You also need to explicitly authorize the public keys of substitute servers to instruct Guix to accept the substitutes they sign."
  8278. msgstr ""
  8279. #. type: Plain text
  8280. #: guix-git/doc/guix.texi:3920
  8281. msgid "On Guix System, this is achieved by modifying the configuration of the @code{guix} service. Since the @code{guix} service is part of the default lists of services, @code{%base-services} and @code{%desktop-services}, you can use @code{modify-services} to change its configuration and add the URLs and substitute keys that you want (@pxref{Service Reference, @code{modify-services}})."
  8282. msgstr ""
  8283. #. type: Plain text
  8284. #: guix-git/doc/guix.texi:3926
  8285. msgid "As an example, suppose you want to fetch substitutes from @code{guix.example.org} and to authorize the signing key of that server, in addition to the default @code{@value{SUBSTITUTE-SERVER-1}} and @code{@value{SUBSTITUTE-SERVER-2}}. The resulting operating system configuration will look something like:"
  8286. msgstr ""
  8287. #. type: lisp
  8288. #: guix-git/doc/guix.texi:3943
  8289. #, no-wrap
  8290. msgid ""
  8291. "(operating-system\n"
  8292. " ;; @dots{}\n"
  8293. " (services\n"
  8294. " ;; Assume we're starting from '%desktop-services'. Replace it\n"
  8295. " ;; with the list of services you're actually using.\n"
  8296. " (modify-services %desktop-services\n"
  8297. " (guix-service-type config =>\n"
  8298. " (guix-configuration\n"
  8299. " (inherit config)\n"
  8300. " (substitute-urls\n"
  8301. " (append (list \"https://guix.example.org\")\n"
  8302. " %default-substitute-urls))\n"
  8303. " (authorized-keys\n"
  8304. " (append (list (local-file \"./key.pub\"))\n"
  8305. " %default-authorized-guix-keys)))))))\n"
  8306. msgstr ""
  8307. #. type: Plain text
  8308. #: guix-git/doc/guix.texi:3950
  8309. msgid "This assumes that the file @file{key.pub} contains the signing key of @code{guix.example.org}. With this change in place in your operating system configuration file (say @file{/etc/config.scm}), you can reconfigure and restart the @code{guix-daemon} service or reboot so the changes take effect:"
  8310. msgstr ""
  8311. #. type: example
  8312. #: guix-git/doc/guix.texi:3954
  8313. #, no-wrap
  8314. msgid ""
  8315. "$ sudo guix system reconfigure /etc/config.scm\n"
  8316. "$ sudo herd restart guix-daemon\n"
  8317. msgstr ""
  8318. #. type: Plain text
  8319. #: guix-git/doc/guix.texi:3958
  8320. msgid "If you're running Guix on a ``foreign distro'', you would instead take the following steps to get substitutes from additional servers:"
  8321. msgstr ""
  8322. #. type: enumerate
  8323. #: guix-git/doc/guix.texi:3967
  8324. msgid "Edit the service configuration file for @code{guix-daemon}; when using systemd, this is normally @file{/etc/systemd/system/guix-daemon.service}. Add the @option{--substitute-urls} option on the @command{guix-daemon} command line and list the URLs of interest (@pxref{daemon-substitute-urls, @code{guix-daemon --substitute-urls}}):"
  8325. msgstr ""
  8326. #. type: example
  8327. #: guix-git/doc/guix.texi:3970
  8328. #, no-wrap
  8329. msgid "@dots{} --substitute-urls='https://guix.example.org @value{SUBSTITUTE-URLS}'\n"
  8330. msgstr ""
  8331. #. type: enumerate
  8332. #: guix-git/doc/guix.texi:3974
  8333. msgid "Restart the daemon. For systemd, it goes like this:"
  8334. msgstr ""
  8335. #. type: example
  8336. #: guix-git/doc/guix.texi:3978
  8337. #, no-wrap
  8338. msgid ""
  8339. "systemctl daemon-reload\n"
  8340. "systemctl restart guix-daemon.service\n"
  8341. msgstr ""
  8342. #. type: enumerate
  8343. #: guix-git/doc/guix.texi:3982
  8344. msgid "Authorize the key of the new server (@pxref{Invoking guix archive}):"
  8345. msgstr ""
  8346. #. type: example
  8347. #: guix-git/doc/guix.texi:3985
  8348. #, no-wrap
  8349. msgid "guix archive --authorize < key.pub\n"
  8350. msgstr ""
  8351. #. type: enumerate
  8352. #: guix-git/doc/guix.texi:3989
  8353. msgid "Again this assumes @file{key.pub} contains the public key that @code{guix.example.org} uses to sign substitutes."
  8354. msgstr ""
  8355. #. type: Plain text
  8356. #: guix-git/doc/guix.texi:3998
  8357. msgid "Now you're all set! Substitutes will be preferably taken from @code{https://guix.example.org}, using @code{@value{SUBSTITUTE-SERVER-1}} then @code{@value{SUBSTITUTE-SERVER-2}} as fallback options. Of course you can list as many substitute servers as you like, with the caveat that substitute lookup can be slowed down if too many servers need to be contacted."
  8358. msgstr ""
  8359. #. type: Plain text
  8360. #: guix-git/doc/guix.texi:4002
  8361. msgid "Note that there are also situations where one may want to add the URL of a substitute server @emph{without} authorizing its key. @xref{Substitute Authentication}, to understand this fine point."
  8362. msgstr ""
  8363. #. type: cindex
  8364. #: guix-git/doc/guix.texi:4006
  8365. #, no-wrap
  8366. msgid "digital signatures"
  8367. msgstr ""
  8368. #. type: Plain text
  8369. #: guix-git/doc/guix.texi:4010
  8370. msgid "Guix detects and raises an error when attempting to use a substitute that has been tampered with. Likewise, it ignores substitutes that are not signed, or that are not signed by one of the keys listed in the ACL."
  8371. msgstr ""
  8372. #. type: Plain text
  8373. #: guix-git/doc/guix.texi:4016
  8374. msgid "There is one exception though: if an unauthorized server provides substitutes that are @emph{bit-for-bit identical} to those provided by an authorized server, then the unauthorized server becomes eligible for downloads. For example, assume we have chosen two substitute servers with this option:"
  8375. msgstr ""
  8376. #. type: example
  8377. #: guix-git/doc/guix.texi:4019
  8378. #, no-wrap
  8379. msgid "--substitute-urls=\"https://a.example.org https://b.example.org\"\n"
  8380. msgstr ""
  8381. #. type: Plain text
  8382. #: guix-git/doc/guix.texi:4030
  8383. msgid "If the ACL contains only the key for @samp{b.example.org}, and if @samp{a.example.org} happens to serve the @emph{exact same} substitutes, then Guix will download substitutes from @samp{a.example.org} because it comes first in the list and can be considered a mirror of @samp{b.example.org}. In practice, independent build machines usually produce the same binaries, thanks to bit-reproducible builds (see below)."
  8384. msgstr ""
  8385. #. type: Plain text
  8386. #: guix-git/doc/guix.texi:4037
  8387. msgid "When using HTTPS, the server's X.509 certificate is @emph{not} validated (in other words, the server is not authenticated), contrary to what HTTPS clients such as Web browsers usually do. This is because Guix authenticates substitute information itself, as explained above, which is what we care about (whereas X.509 certificates are about authenticating bindings between domain names and public keys)."
  8388. msgstr ""
  8389. #. type: Plain text
  8390. #: guix-git/doc/guix.texi:4049
  8391. msgid "Substitutes are downloaded over HTTP or HTTPS@. The @env{http_proxy} and @env{https_proxy} environment variables can be set in the environment of @command{guix-daemon} and are honored for downloads of substitutes. Note that the value of those environment variables in the environment where @command{guix build}, @command{guix package}, and other client commands are run has @emph{absolutely no effect}."
  8392. msgstr ""
  8393. #. type: Plain text
  8394. #: guix-git/doc/guix.texi:4058
  8395. msgid "Even when a substitute for a derivation is available, sometimes the substitution attempt will fail. This can happen for a variety of reasons: the substitute server might be offline, the substitute may recently have been deleted, the connection might have been interrupted, etc."
  8396. msgstr ""
  8397. #. type: Plain text
  8398. #: guix-git/doc/guix.texi:4072
  8399. msgid "When substitutes are enabled and a substitute for a derivation is available, but the substitution attempt fails, Guix will attempt to build the derivation locally depending on whether or not @option{--fallback} was given (@pxref{fallback-option,, common build option @option{--fallback}}). Specifically, if @option{--fallback} was omitted, then no local build will be performed, and the derivation is considered to have failed. However, if @option{--fallback} was given, then Guix will attempt to build the derivation locally, and the success or failure of the derivation depends on the success or failure of the local build. Note that when substitutes are disabled or no substitute is available for the derivation in question, a local build will @emph{always} be performed, regardless of whether or not @option{--fallback} was given."
  8400. msgstr ""
  8401. #. type: Plain text
  8402. #: guix-git/doc/guix.texi:4077
  8403. msgid "To get an idea of how many substitutes are available right now, you can try running the @command{guix weather} command (@pxref{Invoking guix weather}). This command provides statistics on the substitutes provided by a server."
  8404. msgstr ""
  8405. #. type: cindex
  8406. #: guix-git/doc/guix.texi:4081
  8407. #, no-wrap
  8408. msgid "trust, of pre-built binaries"
  8409. msgstr ""
  8410. #. type: Plain text
  8411. #: guix-git/doc/guix.texi:4091
  8412. msgid "Today, each individual's control over their own computing is at the mercy of institutions, corporations, and groups with enough power and determination to subvert the computing infrastructure and exploit its weaknesses. While using substitutes can be convenient, we encourage users to also build on their own, or even run their own build farm, such that the project run substitute servers are less of an interesting target. One way to help is by publishing the software you build using @command{guix publish} so that others have one more choice of server to download substitutes from (@pxref{Invoking guix publish})."
  8413. msgstr ""
  8414. #. type: Plain text
  8415. #: guix-git/doc/guix.texi:4103
  8416. msgid "Guix has the foundations to maximize build reproducibility (@pxref{Features}). In most cases, independent builds of a given package or derivation should yield bit-identical results. Thus, through a diverse set of independent package builds, we can strengthen the integrity of our systems. The @command{guix challenge} command aims to help users assess substitute servers, and to assist developers in finding out about non-deterministic package builds (@pxref{Invoking guix challenge}). Similarly, the @option{--check} option of @command{guix build} allows users to check whether previously-installed substitutes are genuine by rebuilding them locally (@pxref{build-check, @command{guix build --check}})."
  8417. msgstr ""
  8418. #. type: Plain text
  8419. #: guix-git/doc/guix.texi:4107
  8420. msgid "In the future, we want Guix to have support to publish and retrieve binaries to/from other users, in a peer-to-peer fashion. If you would like to discuss this project, join us on @email{guix-devel@@gnu.org}."
  8421. msgstr ""
  8422. #. type: cindex
  8423. #: guix-git/doc/guix.texi:4111
  8424. #, no-wrap
  8425. msgid "multiple-output packages"
  8426. msgstr ""
  8427. #. type: cindex
  8428. #: guix-git/doc/guix.texi:4112
  8429. #, no-wrap
  8430. msgid "package outputs"
  8431. msgstr ""
  8432. #. type: cindex
  8433. #: guix-git/doc/guix.texi:4113
  8434. #, no-wrap
  8435. msgid "outputs"
  8436. msgstr "ulostulot"
  8437. #. type: Plain text
  8438. #: guix-git/doc/guix.texi:4123
  8439. msgid "Often, packages defined in Guix have a single @dfn{output}---i.e., the source package leads to exactly one directory in the store. When running @command{guix install glibc}, one installs the default output of the GNU libc package; the default output is called @code{out}, but its name can be omitted as shown in this command. In this particular case, the default output of @code{glibc} contains all the C header files, shared libraries, static libraries, Info documentation, and other supporting files."
  8440. msgstr ""
  8441. #. type: Plain text
  8442. #: guix-git/doc/guix.texi:4131
  8443. msgid "Sometimes it is more appropriate to separate the various types of files produced from a single source package into separate outputs. For instance, the GLib C library (used by GTK+ and related packages) installs more than 20 MiB of reference documentation as HTML pages. To save space for users who do not need it, the documentation goes to a separate output, called @code{doc}. To install the main GLib output, which contains everything but the documentation, one would run:"
  8444. msgstr ""
  8445. #. type: example
  8446. #: guix-git/doc/guix.texi:4134
  8447. #, no-wrap
  8448. msgid "guix install glib\n"
  8449. msgstr ""
  8450. #. type: item
  8451. #: guix-git/doc/guix.texi:4136 guix-git/doc/guix.texi:36972
  8452. #: guix-git/doc/guix.texi:37029
  8453. #, no-wrap
  8454. msgid "documentation"
  8455. msgstr "dokumentaatio"
  8456. #. type: Plain text
  8457. #: guix-git/doc/guix.texi:4138
  8458. msgid "The command to install its documentation is:"
  8459. msgstr ""
  8460. #. type: example
  8461. #: guix-git/doc/guix.texi:4141
  8462. #, no-wrap
  8463. msgid "guix install glib:doc\n"
  8464. msgstr ""
  8465. #. type: Plain text
  8466. #: guix-git/doc/guix.texi:4152
  8467. msgid "Some packages install programs with different ``dependency footprints''. For instance, the WordNet package installs both command-line tools and graphical user interfaces (GUIs). The former depend solely on the C library, whereas the latter depend on Tcl/Tk and the underlying X libraries. In this case, we leave the command-line tools in the default output, whereas the GUIs are in a separate output. This allows users who do not need the GUIs to save space. The @command{guix size} command can help find out about such situations (@pxref{Invoking guix size}). @command{guix graph} can also be helpful (@pxref{Invoking guix graph})."
  8468. msgstr ""
  8469. #. type: Plain text
  8470. #: guix-git/doc/guix.texi:4160
  8471. msgid "There are several such multiple-output packages in the GNU distribution. Other conventional output names include @code{lib} for libraries and possibly header files, @code{bin} for stand-alone programs, and @code{debug} for debugging information (@pxref{Installing Debugging Files}). The outputs of a packages are listed in the third column of the output of @command{guix package --list-available} (@pxref{Invoking guix package})."
  8472. msgstr ""
  8473. #. type: section
  8474. #: guix-git/doc/guix.texi:4163
  8475. #, no-wrap
  8476. msgid "Invoking @command{guix gc}"
  8477. msgstr ""
  8478. #. type: cindex
  8479. #: guix-git/doc/guix.texi:4165
  8480. #, no-wrap
  8481. msgid "garbage collector"
  8482. msgstr ""
  8483. #. type: cindex
  8484. #: guix-git/doc/guix.texi:4166
  8485. #, no-wrap
  8486. msgid "disk space"
  8487. msgstr "levytila"
  8488. #. type: Plain text
  8489. #: guix-git/doc/guix.texi:4172
  8490. msgid "Packages that are installed, but not used, may be @dfn{garbage-collected}. The @command{guix gc} command allows users to explicitly run the garbage collector to reclaim space from the @file{/gnu/store} directory. It is the @emph{only} way to remove files from @file{/gnu/store}---removing files or directories manually may break it beyond repair!"
  8491. msgstr ""
  8492. #. type: Plain text
  8493. #: guix-git/doc/guix.texi:4183
  8494. msgid "The garbage collector has a set of known @dfn{roots}: any file under @file{/gnu/store} reachable from a root is considered @dfn{live} and cannot be deleted; any other file is considered @dfn{dead} and may be deleted. The set of garbage collector roots (``GC roots'' for short) includes default user profiles; by default, the symlinks under @file{/var/guix/gcroots} represent these GC roots. New GC roots can be added with @command{guix build --root}, for example (@pxref{Invoking guix build}). The @command{guix gc --list-roots} command lists them."
  8495. msgstr ""
  8496. #. type: Plain text
  8497. #: guix-git/doc/guix.texi:4189
  8498. msgid "Prior to running @code{guix gc --collect-garbage} to make space, it is often useful to remove old generations from user profiles; that way, old package builds referenced by those generations can be reclaimed. This is achieved by running @code{guix package --delete-generations} (@pxref{Invoking guix package})."
  8499. msgstr ""
  8500. #. type: Plain text
  8501. #: guix-git/doc/guix.texi:4193
  8502. msgid "Our recommendation is to run a garbage collection periodically, or when you are short on disk space. For instance, to guarantee that at least 5@tie{}GB are available on your disk, simply run:"
  8503. msgstr ""
  8504. #. type: example
  8505. #: guix-git/doc/guix.texi:4196
  8506. #, no-wrap
  8507. msgid "guix gc -F 5G\n"
  8508. msgstr ""
  8509. #. type: Plain text
  8510. #: guix-git/doc/guix.texi:4205
  8511. msgid "It is perfectly safe to run as a non-interactive periodic job (@pxref{Scheduled Job Execution}, for how to set up such a job). Running @command{guix gc} with no arguments will collect as much garbage as it can, but that is often inconvenient: you may find yourself having to rebuild or re-download software that is ``dead'' from the GC viewpoint but that is necessary to build other pieces of software---e.g., the compiler tool chain."
  8512. msgstr ""
  8513. #. type: Plain text
  8514. #: guix-git/doc/guix.texi:4211
  8515. msgid "The @command{guix gc} command has three modes of operation: it can be used to garbage-collect any dead files (the default), to delete specific files (the @option{--delete} option), to print garbage-collector information, or for more advanced queries. The garbage collection options are as follows:"
  8516. msgstr ""
  8517. #. type: item
  8518. #: guix-git/doc/guix.texi:4213
  8519. #, no-wrap
  8520. msgid "--collect-garbage[=@var{min}]"
  8521. msgstr ""
  8522. #. type: itemx
  8523. #: guix-git/doc/guix.texi:4214
  8524. #, no-wrap
  8525. msgid "-C [@var{min}]"
  8526. msgstr ""
  8527. #. type: table
  8528. #: guix-git/doc/guix.texi:4218
  8529. msgid "Collect garbage---i.e., unreachable @file{/gnu/store} files and sub-directories. This is the default operation when no option is specified."
  8530. msgstr ""
  8531. #. type: table
  8532. #: guix-git/doc/guix.texi:4223
  8533. msgid "When @var{min} is given, stop once @var{min} bytes have been collected. @var{min} may be a number of bytes, or it may include a unit as a suffix, such as @code{MiB} for mebibytes and @code{GB} for gigabytes (@pxref{Block size, size specifications,, coreutils, GNU Coreutils})."
  8534. msgstr ""
  8535. #. type: table
  8536. #: guix-git/doc/guix.texi:4225
  8537. msgid "When @var{min} is omitted, collect all the garbage."
  8538. msgstr ""
  8539. #. type: item
  8540. #: guix-git/doc/guix.texi:4226
  8541. #, no-wrap
  8542. msgid "--free-space=@var{free}"
  8543. msgstr ""
  8544. #. type: itemx
  8545. #: guix-git/doc/guix.texi:4227
  8546. #, no-wrap
  8547. msgid "-F @var{free}"
  8548. msgstr ""
  8549. #. type: table
  8550. #: guix-git/doc/guix.texi:4231
  8551. msgid "Collect garbage until @var{free} space is available under @file{/gnu/store}, if possible; @var{free} denotes storage space, such as @code{500MiB}, as described above."
  8552. msgstr ""
  8553. #. type: table
  8554. #: guix-git/doc/guix.texi:4234
  8555. msgid "When @var{free} or more is already available in @file{/gnu/store}, do nothing and exit immediately."
  8556. msgstr ""
  8557. #. type: item
  8558. #: guix-git/doc/guix.texi:4235
  8559. #, no-wrap
  8560. msgid "--delete-generations[=@var{duration}]"
  8561. msgstr ""
  8562. #. type: itemx
  8563. #: guix-git/doc/guix.texi:4236
  8564. #, no-wrap
  8565. msgid "-d [@var{duration}]"
  8566. msgstr ""
  8567. #. type: table
  8568. #: guix-git/doc/guix.texi:4240
  8569. msgid "Before starting the garbage collection process, delete all the generations older than @var{duration}, for all the user profiles; when run as root, this applies to all the profiles @emph{of all the users}."
  8570. msgstr ""
  8571. #. type: table
  8572. #: guix-git/doc/guix.texi:4244
  8573. msgid "For example, this command deletes all the generations of all your profiles that are older than 2 months (except generations that are current), and then proceeds to free space until at least 10 GiB are available:"
  8574. msgstr ""
  8575. #. type: example
  8576. #: guix-git/doc/guix.texi:4247
  8577. #, no-wrap
  8578. msgid "guix gc -d 2m -F 10G\n"
  8579. msgstr ""
  8580. #. type: item
  8581. #: guix-git/doc/guix.texi:4249
  8582. #, no-wrap
  8583. msgid "--delete"
  8584. msgstr ""
  8585. #. type: itemx
  8586. #: guix-git/doc/guix.texi:4250 guix-git/doc/guix.texi:5780
  8587. #, no-wrap
  8588. msgid "-D"
  8589. msgstr ""
  8590. #. type: table
  8591. #: guix-git/doc/guix.texi:4254
  8592. msgid "Attempt to delete all the store files and directories specified as arguments. This fails if some of the files are not in the store, or if they are still live."
  8593. msgstr ""
  8594. #. type: item
  8595. #: guix-git/doc/guix.texi:4255
  8596. #, no-wrap
  8597. msgid "--list-failures"
  8598. msgstr ""
  8599. #. type: table
  8600. #: guix-git/doc/guix.texi:4257
  8601. msgid "List store items corresponding to cached build failures."
  8602. msgstr ""
  8603. #. type: table
  8604. #: guix-git/doc/guix.texi:4261
  8605. msgid "This prints nothing unless the daemon was started with @option{--cache-failures} (@pxref{Invoking guix-daemon, @option{--cache-failures}})."
  8606. msgstr ""
  8607. #. type: item
  8608. #: guix-git/doc/guix.texi:4262
  8609. #, no-wrap
  8610. msgid "--list-roots"
  8611. msgstr ""
  8612. #. type: table
  8613. #: guix-git/doc/guix.texi:4265
  8614. msgid "List the GC roots owned by the user; when run as root, list @emph{all} the GC roots."
  8615. msgstr ""
  8616. #. type: item
  8617. #: guix-git/doc/guix.texi:4266
  8618. #, no-wrap
  8619. msgid "--list-busy"
  8620. msgstr ""
  8621. #. type: table
  8622. #: guix-git/doc/guix.texi:4269
  8623. msgid "List store items in use by currently running processes. These store items are effectively considered GC roots: they cannot be deleted."
  8624. msgstr ""
  8625. #. type: item
  8626. #: guix-git/doc/guix.texi:4270
  8627. #, no-wrap
  8628. msgid "--clear-failures"
  8629. msgstr ""
  8630. #. type: table
  8631. #: guix-git/doc/guix.texi:4272
  8632. msgid "Remove the specified store items from the failed-build cache."
  8633. msgstr ""
  8634. #. type: table
  8635. #: guix-git/doc/guix.texi:4275
  8636. msgid "Again, this option only makes sense when the daemon is started with @option{--cache-failures}. Otherwise, it does nothing."
  8637. msgstr ""
  8638. #. type: item
  8639. #: guix-git/doc/guix.texi:4276
  8640. #, no-wrap
  8641. msgid "--list-dead"
  8642. msgstr ""
  8643. #. type: table
  8644. #: guix-git/doc/guix.texi:4279
  8645. msgid "Show the list of dead files and directories still present in the store---i.e., files and directories no longer reachable from any root."
  8646. msgstr ""
  8647. #. type: item
  8648. #: guix-git/doc/guix.texi:4280
  8649. #, no-wrap
  8650. msgid "--list-live"
  8651. msgstr ""
  8652. #. type: table
  8653. #: guix-git/doc/guix.texi:4282
  8654. msgid "Show the list of live store files and directories."
  8655. msgstr ""
  8656. #. type: Plain text
  8657. #: guix-git/doc/guix.texi:4286
  8658. msgid "In addition, the references among existing store files can be queried:"
  8659. msgstr ""
  8660. #. type: item
  8661. #: guix-git/doc/guix.texi:4289
  8662. #, no-wrap
  8663. msgid "--references"
  8664. msgstr "--viitteet"
  8665. #. type: itemx
  8666. #: guix-git/doc/guix.texi:4290
  8667. #, no-wrap
  8668. msgid "--referrers"
  8669. msgstr ""
  8670. #. type: cindex
  8671. #: guix-git/doc/guix.texi:4291 guix-git/doc/guix.texi:13666
  8672. #, no-wrap
  8673. msgid "package dependencies"
  8674. msgstr ""
  8675. #. type: table
  8676. #: guix-git/doc/guix.texi:4294
  8677. msgid "List the references (respectively, the referrers) of store files given as arguments."
  8678. msgstr ""
  8679. #. type: item
  8680. #: guix-git/doc/guix.texi:4295
  8681. #, no-wrap
  8682. msgid "--requisites"
  8683. msgstr ""
  8684. #. type: itemx
  8685. #: guix-git/doc/guix.texi:4296 guix-git/doc/guix.texi:6566
  8686. #, no-wrap
  8687. msgid "-R"
  8688. msgstr ""
  8689. #. type: item
  8690. #: guix-git/doc/guix.texi:4297 guix-git/doc/guix.texi:13522
  8691. #: guix-git/doc/guix.texi:13550 guix-git/doc/guix.texi:13631
  8692. #, no-wrap
  8693. msgid "closure"
  8694. msgstr ""
  8695. #. type: table
  8696. #: guix-git/doc/guix.texi:4302
  8697. msgid "List the requisites of the store files passed as arguments. Requisites include the store files themselves, their references, and the references of these, recursively. In other words, the returned list is the @dfn{transitive closure} of the store files."
  8698. msgstr ""
  8699. #. type: table
  8700. #: guix-git/doc/guix.texi:4306
  8701. msgid "@xref{Invoking guix size}, for a tool to profile the size of the closure of an element. @xref{Invoking guix graph}, for a tool to visualize the graph of references."
  8702. msgstr ""
  8703. #. type: item
  8704. #: guix-git/doc/guix.texi:4307
  8705. #, no-wrap
  8706. msgid "--derivers"
  8707. msgstr ""
  8708. #. type: item
  8709. #: guix-git/doc/guix.texi:4308 guix-git/doc/guix.texi:6880
  8710. #: guix-git/doc/guix.texi:13378 guix-git/doc/guix.texi:13775
  8711. #, no-wrap
  8712. msgid "derivation"
  8713. msgstr ""
  8714. #. type: table
  8715. #: guix-git/doc/guix.texi:4311
  8716. msgid "Return the derivation(s) leading to the given store items (@pxref{Derivations})."
  8717. msgstr ""
  8718. #. type: table
  8719. #: guix-git/doc/guix.texi:4313
  8720. msgid "For example, this command:"
  8721. msgstr ""
  8722. #. type: example
  8723. #: guix-git/doc/guix.texi:4316
  8724. #, no-wrap
  8725. msgid "guix gc --derivers $(guix package -I ^emacs$ | cut -f4)\n"
  8726. msgstr ""
  8727. #. type: table
  8728. #: guix-git/doc/guix.texi:4321
  8729. msgid "returns the @file{.drv} file(s) leading to the @code{emacs} package installed in your profile."
  8730. msgstr ""
  8731. #. type: table
  8732. #: guix-git/doc/guix.texi:4325
  8733. msgid "Note that there may be zero matching @file{.drv} files, for instance because these files have been garbage-collected. There can also be more than one matching @file{.drv} due to fixed-output derivations."
  8734. msgstr ""
  8735. #. type: Plain text
  8736. #: guix-git/doc/guix.texi:4329
  8737. msgid "Lastly, the following options allow you to check the integrity of the store and to control disk usage."
  8738. msgstr ""
  8739. #. type: item
  8740. #: guix-git/doc/guix.texi:4332
  8741. #, no-wrap
  8742. msgid "--verify[=@var{options}]"
  8743. msgstr ""
  8744. #. type: cindex
  8745. #: guix-git/doc/guix.texi:4333
  8746. #, no-wrap
  8747. msgid "integrity, of the store"
  8748. msgstr ""
  8749. #. type: cindex
  8750. #: guix-git/doc/guix.texi:4334
  8751. #, no-wrap
  8752. msgid "integrity checking"
  8753. msgstr ""
  8754. #. type: table
  8755. #: guix-git/doc/guix.texi:4336
  8756. msgid "Verify the integrity of the store."
  8757. msgstr ""
  8758. #. type: table
  8759. #: guix-git/doc/guix.texi:4339
  8760. msgid "By default, make sure that all the store items marked as valid in the database of the daemon actually exist in @file{/gnu/store}."
  8761. msgstr ""
  8762. #. type: table
  8763. #: guix-git/doc/guix.texi:4342
  8764. msgid "When provided, @var{options} must be a comma-separated list containing one or more of @code{contents} and @code{repair}."
  8765. msgstr ""
  8766. #. type: table
  8767. #: guix-git/doc/guix.texi:4348
  8768. msgid "When passing @option{--verify=contents}, the daemon computes the content hash of each store item and compares it against its hash in the database. Hash mismatches are reported as data corruptions. Because it traverses @emph{all the files in the store}, this command can take a long time, especially on systems with a slow disk drive."
  8769. msgstr ""
  8770. #. type: cindex
  8771. #: guix-git/doc/guix.texi:4349
  8772. #, no-wrap
  8773. msgid "repairing the store"
  8774. msgstr ""
  8775. #. type: cindex
  8776. #: guix-git/doc/guix.texi:4350 guix-git/doc/guix.texi:11982
  8777. #, no-wrap
  8778. msgid "corruption, recovering from"
  8779. msgstr ""
  8780. #. type: table
  8781. #: guix-git/doc/guix.texi:4358
  8782. msgid "Using @option{--verify=repair} or @option{--verify=contents,repair} causes the daemon to try to repair corrupt store items by fetching substitutes for them (@pxref{Substitutes}). Because repairing is not atomic, and thus potentially dangerous, it is available only to the system administrator. A lightweight alternative, when you know exactly which items in the store are corrupt, is @command{guix build --repair} (@pxref{Invoking guix build})."
  8783. msgstr ""
  8784. #. type: item
  8785. #: guix-git/doc/guix.texi:4359
  8786. #, no-wrap
  8787. msgid "--optimize"
  8788. msgstr ""
  8789. #. type: table
  8790. #: guix-git/doc/guix.texi:4363
  8791. msgid "Optimize the store by hard-linking identical files---this is @dfn{deduplication}."
  8792. msgstr ""
  8793. #. type: table
  8794. #: guix-git/doc/guix.texi:4369
  8795. msgid "The daemon performs deduplication after each successful build or archive import, unless it was started with @option{--disable-deduplication} (@pxref{Invoking guix-daemon, @option{--disable-deduplication}}). Thus, this option is primarily useful when the daemon was running with @option{--disable-deduplication}."
  8796. msgstr ""
  8797. #. type: section
  8798. #: guix-git/doc/guix.texi:4373
  8799. #, no-wrap
  8800. msgid "Invoking @command{guix pull}"
  8801. msgstr ""
  8802. #. type: cindex
  8803. #: guix-git/doc/guix.texi:4375
  8804. #, no-wrap
  8805. msgid "upgrading Guix"
  8806. msgstr ""
  8807. #. type: cindex
  8808. #: guix-git/doc/guix.texi:4376
  8809. #, no-wrap
  8810. msgid "updating Guix"
  8811. msgstr ""
  8812. #. type: command{#1}
  8813. #: guix-git/doc/guix.texi:4377
  8814. #, no-wrap
  8815. msgid "guix pull"
  8816. msgstr ""
  8817. #. type: cindex
  8818. #: guix-git/doc/guix.texi:4378
  8819. #, no-wrap
  8820. msgid "pull"
  8821. msgstr ""
  8822. #. type: cindex
  8823. #: guix-git/doc/guix.texi:4379
  8824. #, no-wrap
  8825. msgid "security, @command{guix pull}"
  8826. msgstr ""
  8827. #. type: cindex
  8828. #: guix-git/doc/guix.texi:4380
  8829. #, no-wrap
  8830. msgid "authenticity, of code obtained with @command{guix pull}"
  8831. msgstr ""
  8832. #. type: Plain text
  8833. #: guix-git/doc/guix.texi:4390
  8834. msgid "Packages are installed or upgraded to the latest version available in the distribution currently available on your local machine. To update that distribution, along with the Guix tools, you must run @command{guix pull}: the command downloads the latest Guix source code and package descriptions, and deploys it. Source code is downloaded from a @uref{https://git-scm.com, Git} repository, by default the official GNU@tie{}Guix repository, though this can be customized. @command{guix pull} ensures that the code it downloads is @emph{authentic} by verifying that commits are signed by Guix developers."
  8835. msgstr ""
  8836. #. type: Plain text
  8837. #: guix-git/doc/guix.texi:4393
  8838. msgid "Specifically, @command{guix pull} downloads code from the @dfn{channels} (@pxref{Channels}) specified by one of the followings, in this order:"
  8839. msgstr ""
  8840. #. type: enumerate
  8841. #: guix-git/doc/guix.texi:4397
  8842. msgid "the @option{--channels} option;"
  8843. msgstr ""
  8844. #. type: enumerate
  8845. #: guix-git/doc/guix.texi:4399
  8846. msgid "the user's @file{~/.config/guix/channels.scm} file;"
  8847. msgstr ""
  8848. #. type: enumerate
  8849. #: guix-git/doc/guix.texi:4401
  8850. msgid "the system-wide @file{/etc/guix/channels.scm} file;"
  8851. msgstr ""
  8852. #. type: enumerate
  8853. #: guix-git/doc/guix.texi:4404
  8854. msgid "the built-in default channels specified in the @code{%default-channels} variable."
  8855. msgstr ""
  8856. #. type: Plain text
  8857. #: guix-git/doc/guix.texi:4411
  8858. msgid "On completion, @command{guix package} will use packages and package versions from this just-retrieved copy of Guix. Not only that, but all the Guix commands and Scheme modules will also be taken from that latest version. New @command{guix} sub-commands added by the update also become available."
  8859. msgstr ""
  8860. #. type: Plain text
  8861. #: guix-git/doc/guix.texi:4417
  8862. msgid "Any user can update their Guix copy using @command{guix pull}, and the effect is limited to the user who ran @command{guix pull}. For instance, when user @code{root} runs @command{guix pull}, this has no effect on the version of Guix that user @code{alice} sees, and vice versa."
  8863. msgstr ""
  8864. #. type: Plain text
  8865. #: guix-git/doc/guix.texi:4423
  8866. msgid "The result of running @command{guix pull} is a @dfn{profile} available under @file{~/.config/guix/current} containing the latest Guix. Thus, make sure to add it to the beginning of your search path so that you use the latest version, and similarly for the Info manual (@pxref{Documentation}):"
  8867. msgstr ""
  8868. #. type: example
  8869. #: guix-git/doc/guix.texi:4427
  8870. #, no-wrap
  8871. msgid ""
  8872. "export PATH=\"$HOME/.config/guix/current/bin:$PATH\"\n"
  8873. "export INFOPATH=\"$HOME/.config/guix/current/share/info:$INFOPATH\"\n"
  8874. msgstr ""
  8875. #. type: Plain text
  8876. #: guix-git/doc/guix.texi:4431
  8877. msgid "The @option{--list-generations} or @option{-l} option lists past generations produced by @command{guix pull}, along with details about their provenance:"
  8878. msgstr ""
  8879. #. type: example
  8880. #: guix-git/doc/guix.texi:4439
  8881. #, no-wrap
  8882. msgid ""
  8883. "$ guix pull -l\n"
  8884. "Generation 1\tJun 10 2018 00:18:18\n"
  8885. " guix 65956ad\n"
  8886. " repository URL: https://git.savannah.gnu.org/git/guix.git\n"
  8887. " branch: origin/master\n"
  8888. " commit: 65956ad3526ba09e1f7a40722c96c6ef7c0936fe\n"
  8889. "\n"
  8890. msgstr ""
  8891. #. type: example
  8892. #: guix-git/doc/guix.texi:4445
  8893. #, no-wrap
  8894. msgid ""
  8895. "Generation 2\tJun 11 2018 11:02:49\n"
  8896. " guix e0cc7f6\n"
  8897. " repository URL: https://git.savannah.gnu.org/git/guix.git\n"
  8898. " branch: origin/master\n"
  8899. " commit: e0cc7f669bec22c37481dd03a7941c7d11a64f1d\n"
  8900. "\n"
  8901. msgstr ""
  8902. #. type: example
  8903. #: guix-git/doc/guix.texi:4451
  8904. #, no-wrap
  8905. msgid ""
  8906. "Generation 3\tJun 13 2018 23:31:07\t(current)\n"
  8907. " guix 844cc1c\n"
  8908. " repository URL: https://git.savannah.gnu.org/git/guix.git\n"
  8909. " branch: origin/master\n"
  8910. " commit: 844cc1c8f394f03b404c5bb3aee086922373490c\n"
  8911. msgstr ""
  8912. #. type: Plain text
  8913. #: guix-git/doc/guix.texi:4455
  8914. msgid "@xref{Invoking guix describe, @command{guix describe}}, for other ways to describe the current status of Guix."
  8915. msgstr ""
  8916. #. type: Plain text
  8917. #: guix-git/doc/guix.texi:4460
  8918. msgid "This @code{~/.config/guix/current} profile works exactly like the profiles created by @command{guix package} (@pxref{Invoking guix package}). That is, you can list generations, roll back to the previous generation---i.e., the previous Guix---and so on:"
  8919. msgstr ""
  8920. #. type: example
  8921. #: guix-git/doc/guix.texi:4466
  8922. #, no-wrap
  8923. msgid ""
  8924. "$ guix pull --roll-back\n"
  8925. "switched from generation 3 to 2\n"
  8926. "$ guix pull --delete-generations=1\n"
  8927. "deleting /var/guix/profiles/per-user/charlie/current-guix-1-link\n"
  8928. msgstr ""
  8929. #. type: Plain text
  8930. #: guix-git/doc/guix.texi:4470
  8931. msgid "You can also use @command{guix package} (@pxref{Invoking guix package}) to manage the profile by naming it explicitly:"
  8932. msgstr ""
  8933. #. type: example
  8934. #: guix-git/doc/guix.texi:4475
  8935. #, no-wrap
  8936. msgid ""
  8937. "$ guix package -p ~/.config/guix/current --roll-back\n"
  8938. "switched from generation 3 to 2\n"
  8939. "$ guix package -p ~/.config/guix/current --delete-generations=1\n"
  8940. "deleting /var/guix/profiles/per-user/charlie/current-guix-1-link\n"
  8941. msgstr ""
  8942. #. type: Plain text
  8943. #: guix-git/doc/guix.texi:4479
  8944. msgid "The @command{guix pull} command is usually invoked with no arguments, but it supports the following options:"
  8945. msgstr ""
  8946. #. type: item
  8947. #: guix-git/doc/guix.texi:4481 guix-git/doc/guix.texi:4649
  8948. #, no-wrap
  8949. msgid "--url=@var{url}"
  8950. msgstr ""
  8951. #. type: itemx
  8952. #: guix-git/doc/guix.texi:4482 guix-git/doc/guix.texi:4650
  8953. #, no-wrap
  8954. msgid "--commit=@var{commit}"
  8955. msgstr ""
  8956. #. type: itemx
  8957. #: guix-git/doc/guix.texi:4483 guix-git/doc/guix.texi:4651
  8958. #, no-wrap
  8959. msgid "--branch=@var{branch}"
  8960. msgstr ""
  8961. #. type: table
  8962. #: guix-git/doc/guix.texi:4487
  8963. msgid "Download code for the @code{guix} channel from the specified @var{url}, at the given @var{commit} (a valid Git commit ID represented as a hexadecimal string), or @var{branch}."
  8964. msgstr ""
  8965. #. type: cindex
  8966. #: guix-git/doc/guix.texi:4488 guix-git/doc/guix.texi:5095
  8967. #, no-wrap
  8968. msgid "@file{channels.scm}, configuration file"
  8969. msgstr ""
  8970. #. type: cindex
  8971. #: guix-git/doc/guix.texi:4489 guix-git/doc/guix.texi:5096
  8972. #, no-wrap
  8973. msgid "configuration file for channels"
  8974. msgstr ""
  8975. #. type: table
  8976. #: guix-git/doc/guix.texi:4493
  8977. msgid "These options are provided for convenience, but you can also specify your configuration in the @file{~/.config/guix/channels.scm} file or using the @option{--channels} option (see below)."
  8978. msgstr ""
  8979. #. type: item
  8980. #: guix-git/doc/guix.texi:4494 guix-git/doc/guix.texi:4656
  8981. #, no-wrap
  8982. msgid "--channels=@var{file}"
  8983. msgstr ""
  8984. #. type: itemx
  8985. #: guix-git/doc/guix.texi:4495 guix-git/doc/guix.texi:4657
  8986. #, no-wrap
  8987. msgid "-C @var{file}"
  8988. msgstr ""
  8989. #. type: table
  8990. #: guix-git/doc/guix.texi:4501
  8991. msgid "Read the list of channels from @var{file} instead of @file{~/.config/guix/channels.scm} or @file{/etc/guix/channels.scm}. @var{file} must contain Scheme code that evaluates to a list of channel objects. @xref{Channels}, for more information."
  8992. msgstr ""
  8993. #. type: cindex
  8994. #: guix-git/doc/guix.texi:4502
  8995. #, no-wrap
  8996. msgid "channel news"
  8997. msgstr ""
  8998. #. type: item
  8999. #: guix-git/doc/guix.texi:4503
  9000. #, no-wrap
  9001. msgid "--news"
  9002. msgstr ""
  9003. #. type: itemx
  9004. #: guix-git/doc/guix.texi:4504 guix-git/doc/guix.texi:5899
  9005. #: guix-git/doc/guix.texi:6312 guix-git/doc/guix.texi:35862
  9006. #, no-wrap
  9007. msgid "-N"
  9008. msgstr ""
  9009. #. type: table
  9010. #: guix-git/doc/guix.texi:4509
  9011. msgid "Display news written by channel authors for their users for changes made since the previous generation (@pxref{Channels, Writing Channel News}). When @option{--details} is passed, additionally display new and upgraded packages."
  9012. msgstr ""
  9013. #. type: table
  9014. #: guix-git/doc/guix.texi:4512
  9015. msgid "You can view that information for previous generations with @command{guix pull -l}."
  9016. msgstr ""
  9017. #. type: table
  9018. #: guix-git/doc/guix.texi:4519
  9019. msgid "List all the generations of @file{~/.config/guix/current} or, if @var{pattern} is provided, the subset of generations that match @var{pattern}. The syntax of @var{pattern} is the same as with @code{guix package --list-generations} (@pxref{Invoking guix package})."
  9020. msgstr ""
  9021. #. type: table
  9022. #: guix-git/doc/guix.texi:4524
  9023. msgid "By default, this prints information about the channels used in each revision as well as the corresponding news entries. If you pass @option{--details}, it will also print the list of packages added and upgraded in each generation compared to the previous one."
  9024. msgstr ""
  9025. #. type: item
  9026. #: guix-git/doc/guix.texi:4525
  9027. #, no-wrap
  9028. msgid "--details"
  9029. msgstr ""
  9030. #. type: table
  9031. #: guix-git/doc/guix.texi:4529
  9032. msgid "Instruct @option{--list-generations} or @option{--news} to display more information about the differences between subsequent generations---see above."
  9033. msgstr ""
  9034. #. type: table
  9035. #: guix-git/doc/guix.texi:4536
  9036. msgid "Roll back to the previous @dfn{generation} of @file{~/.config/guix/current}---i.e., undo the last transaction."
  9037. msgstr ""
  9038. #. type: table
  9039. #: guix-git/doc/guix.texi:4560
  9040. msgid "If the current generation matches, it is @emph{not} deleted."
  9041. msgstr ""
  9042. #. type: table
  9043. #: guix-git/doc/guix.texi:4566
  9044. msgid "@xref{Invoking guix describe}, for a way to display information about the current generation only."
  9045. msgstr ""
  9046. #. type: table
  9047. #: guix-git/doc/guix.texi:4570
  9048. msgid "Use @var{profile} instead of @file{~/.config/guix/current}."
  9049. msgstr ""
  9050. #. type: item
  9051. #: guix-git/doc/guix.texi:4571 guix-git/doc/guix.texi:11311
  9052. #: guix-git/doc/guix.texi:13266
  9053. #, no-wrap
  9054. msgid "--dry-run"
  9055. msgstr ""
  9056. #. type: itemx
  9057. #: guix-git/doc/guix.texi:4572 guix-git/doc/guix.texi:11312
  9058. #: guix-git/doc/guix.texi:13267 guix-git/doc/guix.texi:13504
  9059. #, no-wrap
  9060. msgid "-n"
  9061. msgstr ""
  9062. #. type: table
  9063. #: guix-git/doc/guix.texi:4575
  9064. msgid "Show which channel commit(s) would be used and what would be built or substituted but do not actually do it."
  9065. msgstr ""
  9066. #. type: item
  9067. #: guix-git/doc/guix.texi:4576 guix-git/doc/guix.texi:35881
  9068. #: guix-git/doc/guix.texi:38392
  9069. #, no-wrap
  9070. msgid "--allow-downgrades"
  9071. msgstr ""
  9072. #. type: table
  9073. #: guix-git/doc/guix.texi:4579
  9074. msgid "Allow pulling older or unrelated revisions of channels than those currently in use."
  9075. msgstr ""
  9076. #. type: cindex
  9077. #: guix-git/doc/guix.texi:4580
  9078. #, no-wrap
  9079. msgid "downgrade attacks, protection against"
  9080. msgstr ""
  9081. #. type: table
  9082. #: guix-git/doc/guix.texi:4585
  9083. msgid "By default, @command{guix pull} protects against so-called ``downgrade attacks'' whereby the Git repository of a channel would be reset to an earlier or unrelated revision of itself, potentially leading you to install older, known-vulnerable versions of software packages."
  9084. msgstr ""
  9085. #. type: quotation
  9086. #: guix-git/doc/guix.texi:4589 guix-git/doc/guix.texi:35895
  9087. msgid "Make sure you understand its security implications before using @option{--allow-downgrades}."
  9088. msgstr ""
  9089. #. type: item
  9090. #: guix-git/doc/guix.texi:4591
  9091. #, no-wrap
  9092. msgid "--disable-authentication"
  9093. msgstr ""
  9094. #. type: table
  9095. #: guix-git/doc/guix.texi:4593
  9096. msgid "Allow pulling channel code without authenticating it."
  9097. msgstr ""
  9098. #. type: cindex
  9099. #: guix-git/doc/guix.texi:4594 guix-git/doc/guix.texi:5241
  9100. #, no-wrap
  9101. msgid "authentication, of channel code"
  9102. msgstr ""
  9103. #. type: table
  9104. #: guix-git/doc/guix.texi:4599
  9105. msgid "By default, @command{guix pull} authenticates code downloaded from channels by verifying that its commits are signed by authorized developers, and raises an error if this is not the case. This option instructs it to not perform any such verification."
  9106. msgstr ""
  9107. #. type: quotation
  9108. #: guix-git/doc/guix.texi:4603
  9109. msgid "Make sure you understand its security implications before using @option{--disable-authentication}."
  9110. msgstr ""
  9111. #. type: itemx
  9112. #: guix-git/doc/guix.texi:4606 guix-git/doc/guix.texi:5882
  9113. #: guix-git/doc/guix.texi:6295 guix-git/doc/guix.texi:6695
  9114. #: guix-git/doc/guix.texi:11924 guix-git/doc/guix.texi:13649
  9115. #: guix-git/doc/guix.texi:13914 guix-git/doc/guix.texi:14591
  9116. #: guix-git/doc/guix.texi:35810
  9117. #, no-wrap
  9118. msgid "-s @var{system}"
  9119. msgstr ""
  9120. #. type: table
  9121. #: guix-git/doc/guix.texi:4609 guix-git/doc/guix.texi:6698
  9122. msgid "Attempt to build for @var{system}---e.g., @code{i686-linux}---instead of the system type of the build host."
  9123. msgstr ""
  9124. #. type: table
  9125. #: guix-git/doc/guix.texi:4613
  9126. msgid "Use the bootstrap Guile to build the latest Guix. This option is only useful to Guix developers."
  9127. msgstr ""
  9128. #. type: Plain text
  9129. #: guix-git/doc/guix.texi:4619
  9130. msgid "The @dfn{channel} mechanism allows you to instruct @command{guix pull} which repository and branch to pull from, as well as @emph{additional} repositories containing package modules that should be deployed. @xref{Channels}, for more information."
  9131. msgstr ""
  9132. #. type: Plain text
  9133. #: guix-git/doc/guix.texi:4622
  9134. msgid "In addition, @command{guix pull} supports all the common build options (@pxref{Common Build Options})."
  9135. msgstr ""
  9136. #. type: section
  9137. #: guix-git/doc/guix.texi:4624
  9138. #, no-wrap
  9139. msgid "Invoking @command{guix time-machine}"
  9140. msgstr ""
  9141. #. type: command{#1}
  9142. #: guix-git/doc/guix.texi:4626
  9143. #, no-wrap
  9144. msgid "guix time-machine"
  9145. msgstr ""
  9146. #. type: cindex
  9147. #: guix-git/doc/guix.texi:4627 guix-git/doc/guix.texi:5199
  9148. #, no-wrap
  9149. msgid "pinning, channels"
  9150. msgstr ""
  9151. #. type: cindex
  9152. #: guix-git/doc/guix.texi:4628 guix-git/doc/guix.texi:4810
  9153. #: guix-git/doc/guix.texi:5200
  9154. #, no-wrap
  9155. msgid "replicating Guix"
  9156. msgstr ""
  9157. #. type: cindex
  9158. #: guix-git/doc/guix.texi:4629 guix-git/doc/guix.texi:5201
  9159. #, no-wrap
  9160. msgid "reproducibility, of Guix"
  9161. msgstr ""
  9162. #. type: Plain text
  9163. #: guix-git/doc/guix.texi:4637
  9164. msgid "The @command{guix time-machine} command provides access to other revisions of Guix, for example to install older versions of packages, or to reproduce a computation in an identical environment. The revision of Guix to be used is defined by a commit or by a channel description file created by @command{guix describe} (@pxref{Invoking guix describe})."
  9165. msgstr ""
  9166. #. type: Plain text
  9167. #: guix-git/doc/guix.texi:4639 guix-git/doc/guix.texi:5663
  9168. #: guix-git/doc/guix.texi:6033 guix-git/doc/guix.texi:6818
  9169. #: guix-git/doc/guix.texi:11107 guix-git/doc/guix.texi:11231
  9170. #: guix-git/doc/guix.texi:12215 guix-git/doc/guix.texi:12311
  9171. #: guix-git/doc/guix.texi:13252 guix-git/doc/guix.texi:13479
  9172. #: guix-git/doc/guix.texi:13972 guix-git/doc/guix.texi:14345
  9173. #: guix-git/doc/guix.texi:14434 guix-git/doc/guix.texi:14473
  9174. #: guix-git/doc/guix.texi:14570
  9175. msgid "The general syntax is:"
  9176. msgstr ""
  9177. #. type: example
  9178. #: guix-git/doc/guix.texi:4642
  9179. #, no-wrap
  9180. msgid "guix time-machine @var{options}@dots{} -- @var{command} @var {arg}@dots{}\n"
  9181. msgstr ""
  9182. #. type: Plain text
  9183. #: guix-git/doc/guix.texi:4647
  9184. msgid "where @var{command} and @var{arg}@dots{} are passed unmodified to the @command{guix} command of the specified revision. The @var{options} that define this revision are the same as for @command{guix pull} (@pxref{Invoking guix pull}):"
  9185. msgstr ""
  9186. #. type: table
  9187. #: guix-git/doc/guix.texi:4655
  9188. msgid "Use the @code{guix} channel from the specified @var{url}, at the given @var{commit} (a valid Git commit ID represented as a hexadecimal string), or @var{branch}."
  9189. msgstr ""
  9190. #. type: table
  9191. #: guix-git/doc/guix.texi:4661
  9192. msgid "Read the list of channels from @var{file}. @var{file} must contain Scheme code that evaluates to a list of channel objects. @xref{Channels} for more information."
  9193. msgstr ""
  9194. #. type: Plain text
  9195. #: guix-git/doc/guix.texi:4665
  9196. msgid "As for @command{guix pull}, the absence of any options means that the latest commit on the master branch will be used. The command"
  9197. msgstr ""
  9198. #. type: example
  9199. #: guix-git/doc/guix.texi:4668
  9200. #, no-wrap
  9201. msgid "guix time-machine -- build hello\n"
  9202. msgstr ""
  9203. #. type: Plain text
  9204. #: guix-git/doc/guix.texi:4673
  9205. msgid "will thus build the package @code{hello} as defined in the master branch, which is in general a newer revision of Guix than you have installed. Time travel works in both directions!"
  9206. msgstr ""
  9207. #. type: Plain text
  9208. #: guix-git/doc/guix.texi:4677
  9209. msgid "Note that @command{guix time-machine} can trigger builds of channels and their dependencies, and these are controlled by the standard build options (@pxref{Common Build Options})."
  9210. msgstr ""
  9211. #. type: quotation
  9212. #: guix-git/doc/guix.texi:4685
  9213. msgid "The functionality described here is a ``technology preview'' as of version @value{VERSION}. As such, the interface is subject to change."
  9214. msgstr ""
  9215. #. type: cindex
  9216. #: guix-git/doc/guix.texi:4687 guix-git/doc/guix.texi:11144
  9217. #, no-wrap
  9218. msgid "inferiors"
  9219. msgstr ""
  9220. #. type: cindex
  9221. #: guix-git/doc/guix.texi:4688
  9222. #, no-wrap
  9223. msgid "composition of Guix revisions"
  9224. msgstr ""
  9225. #. type: Plain text
  9226. #: guix-git/doc/guix.texi:4693
  9227. msgid "Sometimes you might need to mix packages from the revision of Guix you're currently running with packages available in a different revision of Guix. Guix @dfn{inferiors} allow you to achieve that by composing different Guix revisions in arbitrary ways."
  9228. msgstr ""
  9229. #. type: cindex
  9230. #: guix-git/doc/guix.texi:4694 guix-git/doc/guix.texi:4759
  9231. #, no-wrap
  9232. msgid "inferior packages"
  9233. msgstr ""
  9234. #. type: Plain text
  9235. #: guix-git/doc/guix.texi:4700
  9236. msgid "Technically, an ``inferior'' is essentially a separate Guix process connected to your main Guix process through a REPL (@pxref{Invoking guix repl}). The @code{(guix inferior)} module allows you to create inferiors and to communicate with them. It also provides a high-level interface to browse and manipulate the packages that an inferior provides---@dfn{inferior packages}."
  9237. msgstr ""
  9238. #. type: Plain text
  9239. #: guix-git/doc/guix.texi:4710
  9240. msgid "When combined with channels (@pxref{Channels}), inferiors provide a simple way to interact with a separate revision of Guix. For example, let's assume you want to install in your profile the current @code{guile} package, along with the @code{guile-json} as it existed in an older revision of Guix---perhaps because the newer @code{guile-json} has an incompatible API and you want to run your code against the old API@. To do that, you could write a manifest for use by @code{guix package --manifest} (@pxref{Invoking guix package}); in that manifest, you would create an inferior for that old Guix revision you care about, and you would look up the @code{guile-json} package in the inferior:"
  9241. msgstr ""
  9242. #. type: lisp
  9243. #: guix-git/doc/guix.texi:4714
  9244. #, no-wrap
  9245. msgid ""
  9246. "(use-modules (guix inferior) (guix channels)\n"
  9247. " (srfi srfi-1)) ;for 'first'\n"
  9248. "\n"
  9249. msgstr ""
  9250. #. type: lisp
  9251. #: guix-git/doc/guix.texi:4723
  9252. #, no-wrap
  9253. msgid ""
  9254. "(define channels\n"
  9255. " ;; This is the old revision from which we want to\n"
  9256. " ;; extract guile-json.\n"
  9257. " (list (channel\n"
  9258. " (name 'guix)\n"
  9259. " (url \"https://git.savannah.gnu.org/git/guix.git\")\n"
  9260. " (commit\n"
  9261. " \"65956ad3526ba09e1f7a40722c96c6ef7c0936fe\"))))\n"
  9262. "\n"
  9263. msgstr ""
  9264. #. type: lisp
  9265. #: guix-git/doc/guix.texi:4727
  9266. #, no-wrap
  9267. msgid ""
  9268. "(define inferior\n"
  9269. " ;; An inferior representing the above revision.\n"
  9270. " (inferior-for-channels channels))\n"
  9271. "\n"
  9272. msgstr ""
  9273. #. type: lisp
  9274. #: guix-git/doc/guix.texi:4733
  9275. #, no-wrap
  9276. msgid ""
  9277. ";; Now create a manifest with the current \"guile\" package\n"
  9278. ";; and the old \"guile-json\" package.\n"
  9279. "(packages->manifest\n"
  9280. " (list (first (lookup-inferior-packages inferior \"guile-json\"))\n"
  9281. " (specification->package \"guile\")))\n"
  9282. msgstr ""
  9283. #. type: Plain text
  9284. #: guix-git/doc/guix.texi:4738
  9285. msgid "On its first run, @command{guix package --manifest} might have to build the channel you specified before it can create the inferior; subsequent runs will be much faster because the Guix revision will be cached."
  9286. msgstr ""
  9287. #. type: Plain text
  9288. #: guix-git/doc/guix.texi:4741
  9289. msgid "The @code{(guix inferior)} module provides the following procedures to open an inferior:"
  9290. msgstr ""
  9291. #. type: deffn
  9292. #: guix-git/doc/guix.texi:4742
  9293. #, no-wrap
  9294. msgid "{Scheme Procedure} inferior-for-channels @var{channels} @"
  9295. msgstr ""
  9296. #. type: deffn
  9297. #: guix-git/doc/guix.texi:4747
  9298. msgid "[#:cache-directory] [#:ttl] Return an inferior for @var{channels}, a list of channels. Use the cache at @var{cache-directory}, where entries can be reclaimed after @var{ttl} seconds. This procedure opens a new connection to the build daemon."
  9299. msgstr ""
  9300. #. type: deffn
  9301. #: guix-git/doc/guix.texi:4750
  9302. msgid "As a side effect, this procedure may build or substitute binaries for @var{channels}, which can take time."
  9303. msgstr ""
  9304. #. type: deffn
  9305. #: guix-git/doc/guix.texi:4752
  9306. #, no-wrap
  9307. msgid "{Scheme Procedure} open-inferior @var{directory} @"
  9308. msgstr ""
  9309. #. type: deffn
  9310. #: guix-git/doc/guix.texi:4757
  9311. msgid "[#:command \"bin/guix\"] Open the inferior Guix in @var{directory}, running @code{@var{directory}/@var{command} repl} or equivalent. Return @code{#f} if the inferior could not be launched."
  9312. msgstr ""
  9313. #. type: Plain text
  9314. #: guix-git/doc/guix.texi:4762
  9315. msgid "The procedures listed below allow you to obtain and manipulate inferior packages."
  9316. msgstr ""
  9317. #. type: deffn
  9318. #: guix-git/doc/guix.texi:4763
  9319. #, no-wrap
  9320. msgid "{Scheme Procedure} inferior-packages @var{inferior}"
  9321. msgstr ""
  9322. #. type: deffn
  9323. #: guix-git/doc/guix.texi:4765
  9324. msgid "Return the list of packages known to @var{inferior}."
  9325. msgstr ""
  9326. #. type: deffn
  9327. #: guix-git/doc/guix.texi:4767
  9328. #, no-wrap
  9329. msgid "{Scheme Procedure} lookup-inferior-packages @var{inferior} @var{name} @"
  9330. msgstr ""
  9331. #. type: deffn
  9332. #: guix-git/doc/guix.texi:4772
  9333. msgid "[@var{version}] Return the sorted list of inferior packages matching @var{name} in @var{inferior}, with highest version numbers first. If @var{version} is true, return only packages with a version number prefixed by @var{version}."
  9334. msgstr ""
  9335. #. type: deffn
  9336. #: guix-git/doc/guix.texi:4774
  9337. #, no-wrap
  9338. msgid "{Scheme Procedure} inferior-package? @var{obj}"
  9339. msgstr ""
  9340. #. type: deffn
  9341. #: guix-git/doc/guix.texi:4776
  9342. msgid "Return true if @var{obj} is an inferior package."
  9343. msgstr ""
  9344. #. type: deffn
  9345. #: guix-git/doc/guix.texi:4778
  9346. #, no-wrap
  9347. msgid "{Scheme Procedure} inferior-package-name @var{package}"
  9348. msgstr ""
  9349. #. type: deffnx
  9350. #: guix-git/doc/guix.texi:4779
  9351. #, no-wrap
  9352. msgid "{Scheme Procedure} inferior-package-version @var{package}"
  9353. msgstr ""
  9354. #. type: deffnx
  9355. #: guix-git/doc/guix.texi:4780
  9356. #, no-wrap
  9357. msgid "{Scheme Procedure} inferior-package-synopsis @var{package}"
  9358. msgstr ""
  9359. #. type: deffnx
  9360. #: guix-git/doc/guix.texi:4781
  9361. #, no-wrap
  9362. msgid "{Scheme Procedure} inferior-package-description @var{package}"
  9363. msgstr ""
  9364. #. type: deffnx
  9365. #: guix-git/doc/guix.texi:4782
  9366. #, no-wrap
  9367. msgid "{Scheme Procedure} inferior-package-home-page @var{package}"
  9368. msgstr ""
  9369. #. type: deffnx
  9370. #: guix-git/doc/guix.texi:4783
  9371. #, no-wrap
  9372. msgid "{Scheme Procedure} inferior-package-location @var{package}"
  9373. msgstr ""
  9374. #. type: deffnx
  9375. #: guix-git/doc/guix.texi:4784
  9376. #, no-wrap
  9377. msgid "{Scheme Procedure} inferior-package-inputs @var{package}"
  9378. msgstr ""
  9379. #. type: deffnx
  9380. #: guix-git/doc/guix.texi:4785
  9381. #, no-wrap
  9382. msgid "{Scheme Procedure} inferior-package-native-inputs @var{package}"
  9383. msgstr ""
  9384. #. type: deffnx
  9385. #: guix-git/doc/guix.texi:4786
  9386. #, no-wrap
  9387. msgid "{Scheme Procedure} inferior-package-propagated-inputs @var{package}"
  9388. msgstr ""
  9389. #. type: deffnx
  9390. #: guix-git/doc/guix.texi:4787
  9391. #, no-wrap
  9392. msgid "{Scheme Procedure} inferior-package-transitive-propagated-inputs @var{package}"
  9393. msgstr ""
  9394. #. type: deffnx
  9395. #: guix-git/doc/guix.texi:4788
  9396. #, no-wrap
  9397. msgid "{Scheme Procedure} inferior-package-native-search-paths @var{package}"
  9398. msgstr ""
  9399. #. type: deffnx
  9400. #: guix-git/doc/guix.texi:4789
  9401. #, no-wrap
  9402. msgid "{Scheme Procedure} inferior-package-transitive-native-search-paths @var{package}"
  9403. msgstr ""
  9404. #. type: deffnx
  9405. #: guix-git/doc/guix.texi:4790
  9406. #, no-wrap
  9407. msgid "{Scheme Procedure} inferior-package-search-paths @var{package}"
  9408. msgstr ""
  9409. #. type: deffn
  9410. #: guix-git/doc/guix.texi:4795
  9411. msgid "These procedures are the counterpart of package record accessors (@pxref{package Reference}). Most of them work by querying the inferior @var{package} comes from, so the inferior must still be live when you call these procedures."
  9412. msgstr ""
  9413. #. type: Plain text
  9414. #: guix-git/doc/guix.texi:4805
  9415. msgid "Inferior packages can be used transparently like any other package or file-like object in G-expressions (@pxref{G-Expressions}). They are also transparently handled by the @code{packages->manifest} procedure, which is commonly used in manifests (@pxref{Invoking guix package, the @option{--manifest} option of @command{guix package}}). Thus you can insert an inferior package pretty much anywhere you would insert a regular package: in manifests, in the @code{packages} field of your @code{operating-system} declaration, and so on."
  9416. msgstr ""
  9417. #. type: section
  9418. #: guix-git/doc/guix.texi:4807
  9419. #, no-wrap
  9420. msgid "Invoking @command{guix describe}"
  9421. msgstr ""
  9422. #. type: Plain text
  9423. #: guix-git/doc/guix.texi:4818
  9424. msgid "Often you may want to answer questions like: ``Which revision of Guix am I using?'' or ``Which channels am I using?'' This is useful information in many situations: if you want to @emph{replicate} an environment on a different machine or user account, if you want to report a bug or to determine what change in the channels you are using caused it, or if you want to record your system state for reproducibility purposes. The @command{guix describe} command answers these questions."
  9425. msgstr ""
  9426. #. type: Plain text
  9427. #: guix-git/doc/guix.texi:4822
  9428. msgid "When run from a @command{guix pull}ed @command{guix}, @command{guix describe} displays the channel(s) that it was built from, including their repository URL and commit IDs (@pxref{Channels}):"
  9429. msgstr ""
  9430. #. type: example
  9431. #: guix-git/doc/guix.texi:4830
  9432. #, no-wrap
  9433. msgid ""
  9434. "$ guix describe\n"
  9435. "Generation 10\tSep 03 2018 17:32:44\t(current)\n"
  9436. " guix e0fa68c\n"
  9437. " repository URL: https://git.savannah.gnu.org/git/guix.git\n"
  9438. " branch: master\n"
  9439. " commit: e0fa68c7718fffd33d81af415279d6ddb518f727\n"
  9440. msgstr ""
  9441. #. type: Plain text
  9442. #: guix-git/doc/guix.texi:4839
  9443. msgid "If you're familiar with the Git version control system, this is similar in spirit to @command{git describe}; the output is also similar to that of @command{guix pull --list-generations}, but limited to the current generation (@pxref{Invoking guix pull, the @option{--list-generations} option}). Because the Git commit ID shown above unambiguously refers to a snapshot of Guix, this information is all it takes to describe the revision of Guix you're using, and also to replicate it."
  9444. msgstr ""
  9445. #. type: Plain text
  9446. #: guix-git/doc/guix.texi:4842
  9447. msgid "To make it easier to replicate Guix, @command{guix describe} can also be asked to return a list of channels instead of the human-readable description above:"
  9448. msgstr ""
  9449. #. type: example
  9450. #: guix-git/doc/guix.texi:4855
  9451. #, no-wrap
  9452. msgid ""
  9453. "$ guix describe -f channels\n"
  9454. "(list (channel\n"
  9455. " (name 'guix)\n"
  9456. " (url \"https://git.savannah.gnu.org/git/guix.git\")\n"
  9457. " (commit\n"
  9458. " \"e0fa68c7718fffd33d81af415279d6ddb518f727\")\n"
  9459. " (introduction\n"
  9460. " (make-channel-introduction\n"
  9461. " \"9edb3f66fd807b096b48283debdcddccfea34bad\"\n"
  9462. " (openpgp-fingerprint\n"
  9463. " \"BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA\")))))\n"
  9464. msgstr ""
  9465. #. type: Plain text
  9466. #: guix-git/doc/guix.texi:4864
  9467. msgid "You can save this to a file and feed it to @command{guix pull -C} on some other machine or at a later point in time, which will instantiate @emph{this exact Guix revision} (@pxref{Invoking guix pull, the @option{-C} option}). From there on, since you're able to deploy the same revision of Guix, you can just as well @emph{replicate a complete software environment}. We humbly think that this is @emph{awesome}, and we hope you'll like it too!"
  9468. msgstr ""
  9469. #. type: Plain text
  9470. #: guix-git/doc/guix.texi:4867
  9471. msgid "The details of the options supported by @command{guix describe} are as follows:"
  9472. msgstr ""
  9473. #. type: item
  9474. #: guix-git/doc/guix.texi:4869 guix-git/doc/guix.texi:6496
  9475. #: guix-git/doc/guix.texi:14703
  9476. #, no-wrap
  9477. msgid "--format=@var{format}"
  9478. msgstr ""
  9479. #. type: itemx
  9480. #: guix-git/doc/guix.texi:4870 guix-git/doc/guix.texi:6497
  9481. #: guix-git/doc/guix.texi:14704
  9482. #, no-wrap
  9483. msgid "-f @var{format}"
  9484. msgstr ""
  9485. #. type: table
  9486. #: guix-git/doc/guix.texi:4872 guix-git/doc/guix.texi:14706
  9487. msgid "Produce output in the specified @var{format}, one of:"
  9488. msgstr ""
  9489. #. type: item
  9490. #: guix-git/doc/guix.texi:4874
  9491. #, no-wrap
  9492. msgid "human"
  9493. msgstr ""
  9494. #. type: table
  9495. #: guix-git/doc/guix.texi:4876
  9496. msgid "produce human-readable output;"
  9497. msgstr ""
  9498. #. type: cindex
  9499. #: guix-git/doc/guix.texi:4876 guix-git/doc/guix.texi:5094
  9500. #, no-wrap
  9501. msgid "channels"
  9502. msgstr "kanavat"
  9503. #. type: table
  9504. #: guix-git/doc/guix.texi:4880
  9505. msgid "produce a list of channel specifications that can be passed to @command{guix pull -C} or installed as @file{~/.config/guix/channels.scm} (@pxref{Invoking guix pull});"
  9506. msgstr ""
  9507. #. type: item
  9508. #: guix-git/doc/guix.texi:4880
  9509. #, no-wrap
  9510. msgid "channels-sans-intro"
  9511. msgstr ""
  9512. #. type: table
  9513. #: guix-git/doc/guix.texi:4886
  9514. msgid "like @code{channels}, but omit the @code{introduction} field; use it to produce a channel specification suitable for Guix version 1.1.0 or earlier---the @code{introduction} field has to do with channel authentication (@pxref{Channels, Channel Authentication}) and is not supported by these older versions;"
  9515. msgstr ""
  9516. #. type: item
  9517. #: guix-git/doc/guix.texi:4886 guix-git/doc/guix.texi:12528
  9518. #, no-wrap
  9519. msgid "json"
  9520. msgstr ""
  9521. #. type: cindex
  9522. #: guix-git/doc/guix.texi:4887
  9523. #, no-wrap
  9524. msgid "JSON"
  9525. msgstr ""
  9526. #. type: table
  9527. #: guix-git/doc/guix.texi:4889
  9528. msgid "produce a list of channel specifications in JSON format;"
  9529. msgstr ""
  9530. #. type: item
  9531. #: guix-git/doc/guix.texi:4889 guix-git/doc/guix.texi:14708
  9532. #, no-wrap
  9533. msgid "recutils"
  9534. msgstr ""
  9535. #. type: table
  9536. #: guix-git/doc/guix.texi:4891
  9537. msgid "produce a list of channel specifications in Recutils format."
  9538. msgstr ""
  9539. #. type: item
  9540. #: guix-git/doc/guix.texi:4893
  9541. #, no-wrap
  9542. msgid "--list-formats"
  9543. msgstr ""
  9544. #. type: table
  9545. #: guix-git/doc/guix.texi:4895
  9546. msgid "Display available formats for @option{--format} option."
  9547. msgstr ""
  9548. #. type: table
  9549. #: guix-git/doc/guix.texi:4899
  9550. msgid "Display information about @var{profile}."
  9551. msgstr ""
  9552. #. type: section
  9553. #: guix-git/doc/guix.texi:4902
  9554. #, no-wrap
  9555. msgid "Invoking @command{guix archive}"
  9556. msgstr ""
  9557. #. type: command{#1}
  9558. #: guix-git/doc/guix.texi:4904
  9559. #, no-wrap
  9560. msgid "guix archive"
  9561. msgstr ""
  9562. #. type: cindex
  9563. #: guix-git/doc/guix.texi:4905
  9564. #, no-wrap
  9565. msgid "archive"
  9566. msgstr "arkisto"
  9567. #. type: Plain text
  9568. #: guix-git/doc/guix.texi:4911
  9569. msgid "The @command{guix archive} command allows users to @dfn{export} files from the store into a single archive, and to later @dfn{import} them on a machine that runs Guix. In particular, it allows store files to be transferred from one machine to the store on another machine."
  9570. msgstr ""
  9571. #. type: quotation
  9572. #: guix-git/doc/guix.texi:4915
  9573. msgid "If you're looking for a way to produce archives in a format suitable for tools other than Guix, @pxref{Invoking guix pack}."
  9574. msgstr ""
  9575. #. type: cindex
  9576. #: guix-git/doc/guix.texi:4917
  9577. #, no-wrap
  9578. msgid "exporting store items"
  9579. msgstr ""
  9580. #. type: Plain text
  9581. #: guix-git/doc/guix.texi:4919
  9582. msgid "To export store files as an archive to standard output, run:"
  9583. msgstr ""
  9584. #. type: example
  9585. #: guix-git/doc/guix.texi:4922
  9586. #, no-wrap
  9587. msgid "guix archive --export @var{options} @var{specifications}...\n"
  9588. msgstr ""
  9589. #. type: Plain text
  9590. #: guix-git/doc/guix.texi:4929
  9591. msgid "@var{specifications} may be either store file names or package specifications, as for @command{guix package} (@pxref{Invoking guix package}). For instance, the following command creates an archive containing the @code{gui} output of the @code{git} package and the main output of @code{emacs}:"
  9592. msgstr ""
  9593. #. type: example
  9594. #: guix-git/doc/guix.texi:4932
  9595. #, no-wrap
  9596. msgid "guix archive --export git:gui /gnu/store/...-emacs-24.3 > great.nar\n"
  9597. msgstr ""
  9598. #. type: Plain text
  9599. #: guix-git/doc/guix.texi:4937
  9600. msgid "If the specified packages are not built yet, @command{guix archive} automatically builds them. The build process may be controlled with the common build options (@pxref{Common Build Options})."
  9601. msgstr ""
  9602. #. type: Plain text
  9603. #: guix-git/doc/guix.texi:4940
  9604. msgid "To transfer the @code{emacs} package to a machine connected over SSH, one would run:"
  9605. msgstr ""
  9606. #. type: example
  9607. #: guix-git/doc/guix.texi:4943
  9608. #, no-wrap
  9609. msgid "guix archive --export -r emacs | ssh the-machine guix archive --import\n"
  9610. msgstr ""
  9611. #. type: Plain text
  9612. #: guix-git/doc/guix.texi:4948
  9613. msgid "Similarly, a complete user profile may be transferred from one machine to another like this:"
  9614. msgstr ""
  9615. #. type: example
  9616. #: guix-git/doc/guix.texi:4952
  9617. #, no-wrap
  9618. msgid ""
  9619. "guix archive --export -r $(readlink -f ~/.guix-profile) | \\\n"
  9620. " ssh the-machine guix archive --import\n"
  9621. msgstr ""
  9622. #. type: Plain text
  9623. #: guix-git/doc/guix.texi:4962
  9624. msgid "However, note that, in both examples, all of @code{emacs} and the profile as well as all of their dependencies are transferred (due to @option{-r}), regardless of what is already available in the store on the target machine. The @option{--missing} option can help figure out which items are missing from the target store. The @command{guix copy} command simplifies and optimizes this whole process, so this is probably what you should use in this case (@pxref{Invoking guix copy})."
  9625. msgstr ""
  9626. #. type: cindex
  9627. #: guix-git/doc/guix.texi:4963
  9628. #, no-wrap
  9629. msgid "nar, archive format"
  9630. msgstr ""
  9631. #. type: cindex
  9632. #: guix-git/doc/guix.texi:4964
  9633. #, no-wrap
  9634. msgid "normalized archive (nar)"
  9635. msgstr ""
  9636. #. type: cindex
  9637. #: guix-git/doc/guix.texi:4965
  9638. #, no-wrap
  9639. msgid "nar bundle, archive format"
  9640. msgstr ""
  9641. #. type: Plain text
  9642. #: guix-git/doc/guix.texi:4970
  9643. msgid "Each store item is written in the @dfn{normalized archive} or @dfn{nar} format (described below), and the output of @command{guix archive --export} (and input of @command{guix archive --import}) is a @dfn{nar bundle}."
  9644. msgstr ""
  9645. #. type: Plain text
  9646. #: guix-git/doc/guix.texi:4980
  9647. msgid "The nar format is comparable in spirit to `tar', but with differences that make it more appropriate for our purposes. First, rather than recording all Unix metadata for each file, the nar format only mentions the file type (regular, directory, or symbolic link); Unix permissions and owner/group are dismissed. Second, the order in which directory entries are stored always follows the order of file names according to the C locale collation order. This makes archive production fully deterministic."
  9648. msgstr ""
  9649. #. type: Plain text
  9650. #: guix-git/doc/guix.texi:4984
  9651. msgid "That nar bundle format is essentially the concatenation of zero or more nars along with metadata for each store item it contains: its file name, references, corresponding derivation, and a digital signature."
  9652. msgstr ""
  9653. #. type: Plain text
  9654. #: guix-git/doc/guix.texi:4990
  9655. msgid "When exporting, the daemon digitally signs the contents of the archive, and that digital signature is appended. When importing, the daemon verifies the signature and rejects the import in case of an invalid signature or if the signing key is not authorized."
  9656. msgstr ""
  9657. #. type: Plain text
  9658. #: guix-git/doc/guix.texi:4992
  9659. msgid "The main options are:"
  9660. msgstr ""
  9661. #. type: item
  9662. #: guix-git/doc/guix.texi:4994
  9663. #, no-wrap
  9664. msgid "--export"
  9665. msgstr ""
  9666. #. type: table
  9667. #: guix-git/doc/guix.texi:4997
  9668. msgid "Export the specified store files or packages (see below). Write the resulting archive to the standard output."
  9669. msgstr ""
  9670. #. type: table
  9671. #: guix-git/doc/guix.texi:5000
  9672. msgid "Dependencies are @emph{not} included in the output, unless @option{--recursive} is passed."
  9673. msgstr ""
  9674. #. type: itemx
  9675. #: guix-git/doc/guix.texi:5001 guix-git/doc/guix.texi:12248
  9676. #: guix-git/doc/guix.texi:12375 guix-git/doc/guix.texi:12400
  9677. #: guix-git/doc/guix.texi:12432 guix-git/doc/guix.texi:12603
  9678. #: guix-git/doc/guix.texi:12644 guix-git/doc/guix.texi:12695
  9679. #: guix-git/doc/guix.texi:12720 guix-git/doc/guix.texi:12736
  9680. #: guix-git/doc/guix.texi:12784 guix-git/doc/guix.texi:12820
  9681. #, no-wrap
  9682. msgid "-r"
  9683. msgstr ""
  9684. #. type: item
  9685. #: guix-git/doc/guix.texi:5002 guix-git/doc/guix.texi:12247
  9686. #: guix-git/doc/guix.texi:12374 guix-git/doc/guix.texi:12399
  9687. #: guix-git/doc/guix.texi:12431 guix-git/doc/guix.texi:12602
  9688. #: guix-git/doc/guix.texi:12643 guix-git/doc/guix.texi:12694
  9689. #: guix-git/doc/guix.texi:12719 guix-git/doc/guix.texi:12735
  9690. #: guix-git/doc/guix.texi:12783 guix-git/doc/guix.texi:12819
  9691. #: guix-git/doc/guix.texi:12868
  9692. #, no-wrap
  9693. msgid "--recursive"
  9694. msgstr ""
  9695. #. type: table
  9696. #: guix-git/doc/guix.texi:5007
  9697. msgid "When combined with @option{--export}, this instructs @command{guix archive} to include dependencies of the given items in the archive. Thus, the resulting archive is self-contained: it contains the closure of the exported store items."
  9698. msgstr ""
  9699. #. type: item
  9700. #: guix-git/doc/guix.texi:5008
  9701. #, no-wrap
  9702. msgid "--import"
  9703. msgstr ""
  9704. #. type: table
  9705. #: guix-git/doc/guix.texi:5013
  9706. msgid "Read an archive from the standard input, and import the files listed therein into the store. Abort if the archive has an invalid digital signature, or if it is signed by a public key not among the authorized keys (see @option{--authorize} below)."
  9707. msgstr ""
  9708. #. type: item
  9709. #: guix-git/doc/guix.texi:5014
  9710. #, no-wrap
  9711. msgid "--missing"
  9712. msgstr ""
  9713. #. type: table
  9714. #: guix-git/doc/guix.texi:5018
  9715. msgid "Read a list of store file names from the standard input, one per line, and write on the standard output the subset of these files missing from the store."
  9716. msgstr ""
  9717. #. type: item
  9718. #: guix-git/doc/guix.texi:5019
  9719. #, no-wrap
  9720. msgid "--generate-key[=@var{parameters}]"
  9721. msgstr ""
  9722. #. type: cindex
  9723. #: guix-git/doc/guix.texi:5020
  9724. #, no-wrap
  9725. msgid "signing, archives"
  9726. msgstr ""
  9727. #. type: table
  9728. #: guix-git/doc/guix.texi:5027
  9729. msgid "Generate a new key pair for the daemon. This is a prerequisite before archives can be exported with @option{--export}. This operation is usually instantaneous but it can take time if the system's entropy pool needs to be refilled. On Guix System, @code{guix-service-type} takes care of generating this key pair the first boot."
  9730. msgstr ""
  9731. #. type: table
  9732. #: guix-git/doc/guix.texi:5037
  9733. msgid "The generated key pair is typically stored under @file{/etc/guix}, in @file{signing-key.pub} (public key) and @file{signing-key.sec} (private key, which must be kept secret). When @var{parameters} is omitted, an ECDSA key using the Ed25519 curve is generated, or, for Libgcrypt versions before 1.6.0, it is a 4096-bit RSA key. Alternatively, @var{parameters} can specify @code{genkey} parameters suitable for Libgcrypt (@pxref{General public-key related Functions, @code{gcry_pk_genkey},, gcrypt, The Libgcrypt Reference Manual})."
  9734. msgstr ""
  9735. #. type: item
  9736. #: guix-git/doc/guix.texi:5038
  9737. #, no-wrap
  9738. msgid "--authorize"
  9739. msgstr ""
  9740. #. type: cindex
  9741. #: guix-git/doc/guix.texi:5039
  9742. #, no-wrap
  9743. msgid "authorizing, archives"
  9744. msgstr ""
  9745. #. type: table
  9746. #: guix-git/doc/guix.texi:5043
  9747. msgid "Authorize imports signed by the public key passed on standard input. The public key must be in ``s-expression advanced format''---i.e., the same format as the @file{signing-key.pub} file."
  9748. msgstr ""
  9749. #. type: table
  9750. #: guix-git/doc/guix.texi:5050
  9751. msgid "The list of authorized keys is kept in the human-editable file @file{/etc/guix/acl}. The file contains @url{https://people.csail.mit.edu/rivest/Sexp.txt, ``advanced-format s-expressions''} and is structured as an access-control list in the @url{https://theworld.com/~cme/spki.txt, Simple Public-Key Infrastructure (SPKI)}."
  9752. msgstr ""
  9753. #. type: item
  9754. #: guix-git/doc/guix.texi:5051
  9755. #, no-wrap
  9756. msgid "--extract=@var{directory}"
  9757. msgstr ""
  9758. #. type: itemx
  9759. #: guix-git/doc/guix.texi:5052
  9760. #, no-wrap
  9761. msgid "-x @var{directory}"
  9762. msgstr ""
  9763. #. type: table
  9764. #: guix-git/doc/guix.texi:5056
  9765. msgid "Read a single-item archive as served by substitute servers (@pxref{Substitutes}) and extract it to @var{directory}. This is a low-level operation needed in only very narrow use cases; see below."
  9766. msgstr ""
  9767. #. type: table
  9768. #: guix-git/doc/guix.texi:5059
  9769. msgid "For example, the following command extracts the substitute for Emacs served by @code{@value{SUBSTITUTE-SERVER-1}} to @file{/tmp/emacs}:"
  9770. msgstr ""
  9771. #. type: example
  9772. #: guix-git/doc/guix.texi:5064
  9773. #, no-wrap
  9774. msgid ""
  9775. "$ wget -O - \\\n"
  9776. " https://@value{SUBSTITUTE-SERVER-1}/nar/gzip/@dots{}-emacs-24.5 \\\n"
  9777. " | gunzip | guix archive -x /tmp/emacs\n"
  9778. msgstr ""
  9779. #. type: table
  9780. #: guix-git/doc/guix.texi:5071
  9781. msgid "Single-item archives are different from multiple-item archives produced by @command{guix archive --export}; they contain a single store item, and they do @emph{not} embed a signature. Thus this operation does @emph{no} signature verification and its output should be considered unsafe."
  9782. msgstr ""
  9783. #. type: table
  9784. #: guix-git/doc/guix.texi:5075
  9785. msgid "The primary purpose of this operation is to facilitate inspection of archive contents coming from possibly untrusted substitute servers (@pxref{Invoking guix challenge})."
  9786. msgstr ""
  9787. #. type: item
  9788. #: guix-git/doc/guix.texi:5076
  9789. #, no-wrap
  9790. msgid "--list"
  9791. msgstr ""
  9792. #. type: itemx
  9793. #: guix-git/doc/guix.texi:5077 guix-git/doc/guix.texi:12590
  9794. #: guix-git/doc/guix.texi:12637
  9795. #, no-wrap
  9796. msgid "-t"
  9797. msgstr ""
  9798. #. type: table
  9799. #: guix-git/doc/guix.texi:5081
  9800. msgid "Read a single-item archive as served by substitute servers (@pxref{Substitutes}) and print the list of files it contains, as in this example:"
  9801. msgstr ""
  9802. #. type: example
  9803. #: guix-git/doc/guix.texi:5086
  9804. #, no-wrap
  9805. msgid ""
  9806. "$ wget -O - \\\n"
  9807. " https://@value{SUBSTITUTE-SERVER-1}/nar/lzip/@dots{}-emacs-26.3 \\\n"
  9808. " | lzip -d | guix archive -t\n"
  9809. msgstr ""
  9810. #. type: cindex
  9811. #: guix-git/doc/guix.texi:5097
  9812. #, no-wrap
  9813. msgid "@command{guix pull}, configuration file"
  9814. msgstr ""
  9815. #. type: cindex
  9816. #: guix-git/doc/guix.texi:5098
  9817. #, no-wrap
  9818. msgid "configuration of @command{guix pull}"
  9819. msgstr ""
  9820. #. type: Plain text
  9821. #: guix-git/doc/guix.texi:5109
  9822. msgid "Guix and its package collection are updated by running @command{guix pull} (@pxref{Invoking guix pull}). By default @command{guix pull} downloads and deploys Guix itself from the official GNU@tie{}Guix repository. This can be customized by defining @dfn{channels} in the @file{~/.config/guix/channels.scm} file. A channel specifies a URL and branch of a Git repository to be deployed, and @command{guix pull} can be instructed to pull from one or more channels. In other words, channels can be used to @emph{customize} and to @emph{extend} Guix, as we will see below. Guix is able to take into account security concerns and deal with authenticated updates."
  9823. msgstr ""
  9824. #. type: cindex
  9825. #: guix-git/doc/guix.texi:5127
  9826. #, no-wrap
  9827. msgid "extending the package collection (channels)"
  9828. msgstr ""
  9829. #. type: cindex
  9830. #: guix-git/doc/guix.texi:5128
  9831. #, no-wrap
  9832. msgid "variant packages (channels)"
  9833. msgstr ""
  9834. #. type: Plain text
  9835. #: guix-git/doc/guix.texi:5132
  9836. msgid "You can specify @emph{additional channels} to pull from. To use a channel, write @code{~/.config/guix/channels.scm} to instruct @command{guix pull} to pull from it @emph{in addition} to the default Guix channel(s):"
  9837. msgstr ""
  9838. #. type: vindex
  9839. #: guix-git/doc/guix.texi:5133
  9840. #, no-wrap
  9841. msgid "%default-channels"
  9842. msgstr ""
  9843. #. type: lisp
  9844. #: guix-git/doc/guix.texi:5140
  9845. #, no-wrap
  9846. msgid ""
  9847. ";; Add variant packages to those Guix provides.\n"
  9848. "(cons (channel\n"
  9849. " (name 'variant-packages)\n"
  9850. " (url \"https://example.org/variant-packages.git\"))\n"
  9851. " %default-channels)\n"
  9852. msgstr ""
  9853. #. type: Plain text
  9854. #: guix-git/doc/guix.texi:5150
  9855. msgid "Note that the snippet above is (as always!)@: Scheme code; we use @code{cons} to add a channel the list of channels that the variable @code{%default-channels} is bound to (@pxref{Pairs, @code{cons} and lists,, guile, GNU Guile Reference Manual}). With this file in place, @command{guix pull} builds not only Guix but also the package modules from your own repository. The result in @file{~/.config/guix/current} is the union of Guix with your own package modules:"
  9856. msgstr ""
  9857. #. type: example
  9858. #: guix-git/doc/guix.texi:5165
  9859. #, no-wrap
  9860. msgid ""
  9861. "$ guix pull --list-generations\n"
  9862. "@dots{}\n"
  9863. "Generation 19\tAug 27 2018 16:20:48\n"
  9864. " guix d894ab8\n"
  9865. " repository URL: https://git.savannah.gnu.org/git/guix.git\n"
  9866. " branch: master\n"
  9867. " commit: d894ab8e9bfabcefa6c49d9ba2e834dd5a73a300\n"
  9868. " variant-packages dd3df5e\n"
  9869. " repository URL: https://example.org/variant-packages.git\n"
  9870. " branch: master\n"
  9871. " commit: dd3df5e2c8818760a8fc0bd699e55d3b69fef2bb\n"
  9872. " 11 new packages: variant-gimp, variant-emacs-with-cool-features, @dots{}\n"
  9873. " 4 packages upgraded: emacs-racket-mode@@0.0.2-2.1b78827, @dots{}\n"
  9874. msgstr ""
  9875. #. type: Plain text
  9876. #: guix-git/doc/guix.texi:5173
  9877. msgid "The output of @command{guix pull} above shows that Generation@tie{}19 includes both Guix and packages from the @code{variant-personal-packages} channel. Among the new and upgraded packages that are listed, some like @code{variant-gimp} and @code{variant-emacs-with-cool-features} might come from @code{variant-packages}, while others come from the Guix default channel."
  9878. msgstr ""
  9879. #. type: Plain text
  9880. #: guix-git/doc/guix.texi:5182
  9881. msgid "The channel called @code{guix} specifies where Guix itself---its command-line tools as well as its package collection---should be downloaded. For instance, suppose you want to update from another copy of the Guix repository at @code{example.org}, and specifically the @code{super-hacks} branch, you can write in @code{~/.config/guix/channels.scm} this specification:"
  9882. msgstr ""
  9883. #. type: lisp
  9884. #: guix-git/doc/guix.texi:5189
  9885. #, no-wrap
  9886. msgid ""
  9887. ";; Tell 'guix pull' to use another repo.\n"
  9888. "(list (channel\n"
  9889. " (name 'guix)\n"
  9890. " (url \"https://example.org/another-guix.git\")\n"
  9891. " (branch \"super-hacks\")))\n"
  9892. msgstr ""
  9893. #. type: Plain text
  9894. #: guix-git/doc/guix.texi:5195
  9895. msgid "From there on, @command{guix pull} will fetch code from the @code{super-hacks} branch of the repository at @code{example.org}. The authentication concern is addressed below ((@pxref{Channel Authentication})."
  9896. msgstr ""
  9897. #. type: Plain text
  9898. #: guix-git/doc/guix.texi:5206
  9899. msgid "The @command{guix pull --list-generations} output above shows precisely which commits were used to build this instance of Guix. We can thus replicate it, say, on another machine, by providing a channel specification in @file{~/.config/guix/channels.scm} that is ``pinned'' to these commits:"
  9900. msgstr ""
  9901. #. type: lisp
  9902. #: guix-git/doc/guix.texi:5217
  9903. #, no-wrap
  9904. msgid ""
  9905. ";; Deploy specific commits of my channels of interest.\n"
  9906. "(list (channel\n"
  9907. " (name 'guix)\n"
  9908. " (url \"https://git.savannah.gnu.org/git/guix.git\")\n"
  9909. " (commit \"6298c3ffd9654d3231a6f25390b056483e8f407c\"))\n"
  9910. " (channel\n"
  9911. " (name 'variant-packages)\n"
  9912. " (url \"https://example.org/variant-packages.git\")\n"
  9913. " (commit \"dd3df5e2c8818760a8fc0bd699e55d3b69fef2bb\")))\n"
  9914. msgstr ""
  9915. #. type: Plain text
  9916. #: guix-git/doc/guix.texi:5224
  9917. msgid "The @command{guix describe --format=channels} command can even generate this list of channels directly (@pxref{Invoking guix describe}). The resulting file can be used with the -C options of @command{guix pull} (@pxref{Invoking guix pull}) or @command{guix time-machine} (@pxref{Invoking guix time-machine})."
  9918. msgstr ""
  9919. #. type: Plain text
  9920. #: guix-git/doc/guix.texi:5231
  9921. msgid "At this point the two machines run the @emph{exact same Guix}, with access to the @emph{exact same packages}. The output of @command{guix build gimp} on one machine will be exactly the same, bit for bit, as the output of the same command on the other machine. It also means both machines have access to all the source code of Guix and, transitively, to all the source code of every package it defines."
  9922. msgstr ""
  9923. #. type: Plain text
  9924. #: guix-git/doc/guix.texi:5236
  9925. msgid "This gives you super powers, allowing you to track the provenance of binary artifacts with very fine grain, and to reproduce software environments at will---some sort of ``meta reproducibility'' capabilities, if you will. @xref{Inferiors}, for another way to take advantage of these super powers."
  9926. msgstr ""
  9927. #. type: anchor{#1}
  9928. #: guix-git/doc/guix.texi:5241
  9929. msgid "channel-authentication"
  9930. msgstr ""
  9931. #. type: Plain text
  9932. #: guix-git/doc/guix.texi:5247
  9933. msgid "The @command{guix pull} and @command{guix time-machine} commands @dfn{authenticate} the code retrieved from channels: they make sure each commit that is fetched is signed by an authorized developer. The goal is to protect from unauthorized modifications to the channel that would lead users to run malicious code."
  9934. msgstr ""
  9935. #. type: Plain text
  9936. #: guix-git/doc/guix.texi:5252
  9937. msgid "As a user, you must provide a @dfn{channel introduction} in your channels file so that Guix knows how to authenticate its first commit. A channel specification, including its introduction, looks something along these lines:"
  9938. msgstr ""
  9939. #. type: lisp
  9940. #: guix-git/doc/guix.texi:5262
  9941. #, no-wrap
  9942. msgid ""
  9943. "(channel\n"
  9944. " (name 'some-channel)\n"
  9945. " (url \"https://example.org/some-channel.git\")\n"
  9946. " (introduction\n"
  9947. " (make-channel-introduction\n"
  9948. " \"6f0d8cc0d88abb59c324b2990bfee2876016bb86\"\n"
  9949. " (openpgp-fingerprint\n"
  9950. " \"CABB A931 C0FF EEC6 900D 0CFB 090B 1199 3D9A EBB5\"))))\n"
  9951. msgstr ""
  9952. #. type: Plain text
  9953. #: guix-git/doc/guix.texi:5268
  9954. msgid "The specification above shows the name and URL of the channel. The call to @code{make-channel-introduction} above specifies that authentication of this channel starts at commit @code{6f0d8cc@dots{}}, which is signed by the OpenPGP key with fingerprint @code{CABB A931@dots{}}."
  9955. msgstr ""
  9956. #. type: Plain text
  9957. #: guix-git/doc/guix.texi:5274
  9958. msgid "For the main channel, called @code{guix}, you automatically get that information from your Guix installation. For other channels, include the channel introduction provided by the channel authors in your @file{channels.scm} file. Make sure you retrieve the channel introduction from a trusted source since that is the root of your trust."
  9959. msgstr ""
  9960. #. type: Plain text
  9961. #: guix-git/doc/guix.texi:5276
  9962. msgid "If you're curious about the authentication mechanics, read on!"
  9963. msgstr ""
  9964. #. type: Plain text
  9965. #: guix-git/doc/guix.texi:5287
  9966. msgid "When running @command{guix pull}, Guix will first compile the definitions of every available package. This is an expensive operation for which substitutes (@pxref{Substitutes}) may be available. The following snippet in @file{channels.scm} will ensure that @command{guix pull} uses the latest commit with available substitutes for the package definitions: this is done by querying the continuous integration server at @url{https://ci.guix.gnu.org}."
  9967. msgstr ""
  9968. #. type: lisp
  9969. #: guix-git/doc/guix.texi:5290
  9970. #, no-wrap
  9971. msgid ""
  9972. "(use-modules (guix ci))\n"
  9973. "\n"
  9974. msgstr ""
  9975. #. type: lisp
  9976. #: guix-git/doc/guix.texi:5294
  9977. #, no-wrap
  9978. msgid ""
  9979. "(list (channel-with-substitutes-available\n"
  9980. " %default-guix-channel\n"
  9981. " \"https://ci.guix.gnu.org\"))\n"
  9982. msgstr ""
  9983. #. type: Plain text
  9984. #: guix-git/doc/guix.texi:5301
  9985. msgid "Note that this does not mean that all the packages that you will install after running @command{guix pull} will have available substitutes. It only ensures that @command{guix pull} will not try to compile package definitions. This is particularly useful when using machines with limited resources."
  9986. msgstr ""
  9987. #. type: cindex
  9988. #: guix-git/doc/guix.texi:5305
  9989. #, no-wrap
  9990. msgid "personal packages (channels)"
  9991. msgstr ""
  9992. #. type: cindex
  9993. #: guix-git/doc/guix.texi:5306
  9994. #, no-wrap
  9995. msgid "channels, for personal packages"
  9996. msgstr ""
  9997. #. type: Plain text
  9998. #: guix-git/doc/guix.texi:5314
  9999. msgid "Let's say you have a bunch of custom package variants or personal packages that you think would make little sense to contribute to the Guix project, but would like to have these packages transparently available to you at the command line. You would first write modules containing those package definitions (@pxref{Package Modules}), maintain them in a Git repository, and then you and anyone else can use it as an additional channel to get packages from. Neat, no?"
  10000. msgstr ""
  10001. #. type: quotation
  10002. #: guix-git/doc/guix.texi:5322
  10003. msgid "Before you, dear user, shout---``woow this is @emph{soooo coool}!''---and publish your personal channel to the world, we would like to share a few words of caution:"
  10004. msgstr ""
  10005. #. type: itemize
  10006. #: guix-git/doc/guix.texi:5330
  10007. msgid "Before publishing a channel, please consider contributing your package definitions to Guix proper (@pxref{Contributing}). Guix as a project is open to free software of all sorts, and packages in Guix proper are readily available to all Guix users and benefit from the project's quality assurance process."
  10008. msgstr ""
  10009. #. type: itemize
  10010. #: guix-git/doc/guix.texi:5339
  10011. msgid "When you maintain package definitions outside Guix, we, Guix developers, consider that @emph{the compatibility burden is on you}. Remember that package modules and package definitions are just Scheme code that uses various programming interfaces (APIs). We want to remain free to change these APIs to keep improving Guix, possibly in ways that break your channel. We never change APIs gratuitously, but we will @emph{not} commit to freezing APIs either."
  10012. msgstr ""
  10013. #. type: itemize
  10014. #: guix-git/doc/guix.texi:5343
  10015. msgid "Corollary: if you're using an external channel and that channel breaks, please @emph{report the issue to the channel authors}, not to the Guix project."
  10016. msgstr ""
  10017. #. type: quotation
  10018. #: guix-git/doc/guix.texi:5350
  10019. msgid "You've been warned! Having said this, we believe external channels are a practical way to exert your freedom to augment Guix' package collection and to share your improvements, which are basic tenets of @uref{https://www.gnu.org/philosophy/free-sw.html, free software}. Please email us at @email{guix-devel@@gnu.org} if you'd like to discuss this."
  10020. msgstr ""
  10021. #. type: Plain text
  10022. #: guix-git/doc/guix.texi:5362
  10023. msgid "To create a channel, create a Git repository containing your own package modules and make it available. The repository can contain anything, but a useful channel will contain Guile modules that export packages. Once you start using a channel, Guix will behave as if the root directory of that channel's Git repository has been added to the Guile load path (@pxref{Load Paths,,, guile, GNU Guile Reference Manual}). For example, if your channel contains a file at @file{my-packages/my-tools.scm} that defines a Guile module, then the module will be available under the name @code{(my-packages my-tools)}, and you will be able to use it like any other module (@pxref{Modules,,, guile, GNU Guile Reference Manual})."
  10024. msgstr ""
  10025. #. type: Plain text
  10026. #: guix-git/doc/guix.texi:5367
  10027. msgid "As a channel author, consider bundling authentication material with your channel so that users can authenticate it. @xref{Channel Authentication}, and @ref{Specifying Channel Authorizations}, for info on how to do it."
  10028. msgstr ""
  10029. #. type: cindex
  10030. #: guix-git/doc/guix.texi:5372
  10031. #, no-wrap
  10032. msgid "subdirectory, channels"
  10033. msgstr ""
  10034. #. type: Plain text
  10035. #: guix-git/doc/guix.texi:5376
  10036. msgid "As a channel author, you may want to keep your channel modules in a sub-directory. If your modules are in the sub-directory @file{guix}, you must add a meta-data file @file{.guix-channel} that contains:"
  10037. msgstr ""
  10038. #. type: lisp
  10039. #: guix-git/doc/guix.texi:5381
  10040. #, no-wrap
  10041. msgid ""
  10042. "(channel\n"
  10043. " (version 0)\n"
  10044. " (directory \"guix\"))\n"
  10045. msgstr ""
  10046. #. type: cindex
  10047. #: guix-git/doc/guix.texi:5386
  10048. #, no-wrap
  10049. msgid "dependencies, channels"
  10050. msgstr ""
  10051. #. type: cindex
  10052. #: guix-git/doc/guix.texi:5387
  10053. #, no-wrap
  10054. msgid "meta-data, channels"
  10055. msgstr ""
  10056. #. type: Plain text
  10057. #: guix-git/doc/guix.texi:5392
  10058. msgid "Channel authors may decide to augment a package collection provided by other channels. They can declare their channel to be dependent on other channels in a meta-data file @file{.guix-channel}, which is to be placed in the root of the channel repository."
  10059. msgstr ""
  10060. #. type: Plain text
  10061. #: guix-git/doc/guix.texi:5394
  10062. msgid "The meta-data file should contain a simple S-expression like this:"
  10063. msgstr ""
  10064. #. type: lisp
  10065. #: guix-git/doc/guix.texi:5402
  10066. #, no-wrap
  10067. msgid ""
  10068. "(channel\n"
  10069. " (version 0)\n"
  10070. " (dependencies\n"
  10071. " (channel\n"
  10072. " (name some-collection)\n"
  10073. " (url \"https://example.org/first-collection.git\")\n"
  10074. "\n"
  10075. msgstr ""
  10076. #. type: lisp
  10077. #: guix-git/doc/guix.texi:5414
  10078. #, no-wrap
  10079. msgid ""
  10080. " ;; The 'introduction' bit below is optional: you would\n"
  10081. " ;; provide it for dependencies that can be authenticated.\n"
  10082. " (introduction\n"
  10083. " (channel-introduction\n"
  10084. " (version 0)\n"
  10085. " (commit \"a8883b58dc82e167c96506cf05095f37c2c2c6cd\")\n"
  10086. " (signer \"CABB A931 C0FF EEC6 900D 0CFB 090B 1199 3D9A EBB5\"))))\n"
  10087. " (channel\n"
  10088. " (name some-other-collection)\n"
  10089. " (url \"https://example.org/second-collection.git\")\n"
  10090. " (branch \"testing\"))))\n"
  10091. msgstr ""
  10092. #. type: Plain text
  10093. #: guix-git/doc/guix.texi:5420
  10094. msgid "In the above example this channel is declared to depend on two other channels, which will both be fetched automatically. The modules provided by the channel will be compiled in an environment where the modules of all these declared channels are available."
  10095. msgstr ""
  10096. #. type: Plain text
  10097. #: guix-git/doc/guix.texi:5424
  10098. msgid "For the sake of reliability and maintainability, you should avoid dependencies on channels that you don't control, and you should aim to keep the number of dependencies to a minimum."
  10099. msgstr ""
  10100. #. type: cindex
  10101. #: guix-git/doc/guix.texi:5428
  10102. #, no-wrap
  10103. msgid "channel authorizations"
  10104. msgstr ""
  10105. #. type: anchor{#1}
  10106. #: guix-git/doc/guix.texi:5442
  10107. msgid "channel-authorizations"
  10108. msgstr ""
  10109. #. type: Plain text
  10110. #: guix-git/doc/guix.texi:5442
  10111. msgid "As we saw above, Guix ensures the source code it pulls from channels comes from authorized developers. As a channel author, you need to specify the list of authorized developers in the @file{.guix-authorizations} file in the channel's Git repository. The authentication rule is simple: each commit must be signed by a key listed in the @file{.guix-authorizations} file of its parent commit(s)@footnote{Git commits form a @dfn{directed acyclic graph} (DAG). Each commit can have zero or more parents; ``regular'' commits have one parent and merge commits have two parent commits. Read @uref{https://eagain.net/articles/git-for-computer-scientists/, @i{Git for Computer Scientists}} for a great overview.} The @file{.guix-authorizations} file looks like this:"
  10112. msgstr ""
  10113. #. type: lisp
  10114. #: guix-git/doc/guix.texi:5445
  10115. #, no-wrap
  10116. msgid ""
  10117. ";; Example '.guix-authorizations' file.\n"
  10118. "\n"
  10119. msgstr ""
  10120. #. type: lisp
  10121. #: guix-git/doc/guix.texi:5448
  10122. #, no-wrap
  10123. msgid ""
  10124. "(authorizations\n"
  10125. " (version 0) ;current file format version\n"
  10126. "\n"
  10127. msgstr ""
  10128. #. type: lisp
  10129. #: guix-git/doc/guix.texi:5455
  10130. #, no-wrap
  10131. msgid ""
  10132. " ((\"AD17 A21E F8AE D8F1 CC02 DBD9 F8AE D8F1 765C 61E3\"\n"
  10133. " (name \"alice\"))\n"
  10134. " (\"2A39 3FFF 68F4 EF7A 3D29 12AF 68F4 EF7A 22FB B2D5\"\n"
  10135. " (name \"bob\"))\n"
  10136. " (\"CABB A931 C0FF EEC6 900D 0CFB 090B 1199 3D9A EBB5\"\n"
  10137. " (name \"charlie\"))))\n"
  10138. msgstr ""
  10139. #. type: Plain text
  10140. #: guix-git/doc/guix.texi:5459
  10141. msgid "Each fingerprint is followed by optional key/value pairs, as in the example above. Currently these key/value pairs are ignored."
  10142. msgstr ""
  10143. #. type: Plain text
  10144. #: guix-git/doc/guix.texi:5464
  10145. msgid "This authentication rule creates a chicken-and-egg issue: how do we authenticate the first commit? Related to that: how do we deal with channels whose repository history contains unsigned commits and lack @file{.guix-authorizations}? And how do we fork existing channels?"
  10146. msgstr ""
  10147. #. type: cindex
  10148. #: guix-git/doc/guix.texi:5465
  10149. #, no-wrap
  10150. msgid "channel introduction"
  10151. msgstr ""
  10152. #. type: Plain text
  10153. #: guix-git/doc/guix.texi:5474
  10154. msgid "Channel introductions answer these questions by describing the first commit of a channel that should be authenticated. The first time a channel is fetched with @command{guix pull} or @command{guix time-machine}, the command looks up the introductory commit and verifies that it is signed by the specified OpenPGP key. From then on, it authenticates commits according to the rule above. Authentication fails if the target commit is neither a descendant nor an ancestor of the introductory commit."
  10155. msgstr ""
  10156. #. type: Plain text
  10157. #: guix-git/doc/guix.texi:5481
  10158. msgid "Additionally, your channel must provide all the OpenPGP keys that were ever mentioned in @file{.guix-authorizations}, stored as @file{.key} files, which can be either binary or ``ASCII-armored''. By default, those @file{.key} files are searched for in the branch named @code{keyring} but you can specify a different branch name in @code{.guix-channel} like so:"
  10159. msgstr ""
  10160. #. type: lisp
  10161. #: guix-git/doc/guix.texi:5486
  10162. #, no-wrap
  10163. msgid ""
  10164. "(channel\n"
  10165. " (version 0)\n"
  10166. " (keyring-reference \"my-keyring-branch\"))\n"
  10167. msgstr ""
  10168. #. type: Plain text
  10169. #: guix-git/doc/guix.texi:5490
  10170. msgid "To summarize, as the author of a channel, there are three things you have to do to allow users to authenticate your code:"
  10171. msgstr ""
  10172. #. type: enumerate
  10173. #: guix-git/doc/guix.texi:5496
  10174. msgid "Export the OpenPGP keys of past and present committers with @command{gpg --export} and store them in @file{.key} files, by default in a branch named @code{keyring} (we recommend making it an @dfn{orphan branch})."
  10175. msgstr ""
  10176. #. type: enumerate
  10177. #: guix-git/doc/guix.texi:5501
  10178. msgid "Introduce an initial @file{.guix-authorizations} in the channel's repository. Do that in a signed commit (@pxref{Commit Access}, for information on how to sign Git commits.)"
  10179. msgstr ""
  10180. #. type: enumerate
  10181. #: guix-git/doc/guix.texi:5507
  10182. msgid "Advertise the channel introduction, for instance on your channel's web page. The channel introduction, as we saw above, is the commit/key pair---i.e., the commit that introduced @file{.guix-authorizations}, and the fingerprint of the OpenPGP used to sign it."
  10183. msgstr ""
  10184. #. type: Plain text
  10185. #: guix-git/doc/guix.texi:5512
  10186. msgid "Before pushing to your public Git repository, you can run @command{guix git-authenticate} to verify that you did sign all the commits you are about to push with an authorized key:"
  10187. msgstr ""
  10188. #. type: example
  10189. #: guix-git/doc/guix.texi:5515
  10190. #, no-wrap
  10191. msgid "guix git authenticate @var{commit} @var{signer}\n"
  10192. msgstr ""
  10193. #. type: Plain text
  10194. #: guix-git/doc/guix.texi:5520
  10195. msgid "where @var{commit} and @var{signer} are your channel introduction. @xref{Invoking guix git authenticate}, for details."
  10196. msgstr ""
  10197. #. type: Plain text
  10198. #: guix-git/doc/guix.texi:5527
  10199. msgid "Publishing a signed channel requires discipline: any mistake, such as an unsigned commit or a commit signed by an unauthorized key, will prevent users from pulling from your channel---well, that's the whole point of authentication! Pay attention to merges in particular: merge commits are considered authentic if and only if they are signed by a key present in the @file{.guix-authorizations} file of @emph{both} branches."
  10200. msgstr ""
  10201. #. type: cindex
  10202. #: guix-git/doc/guix.texi:5531
  10203. #, no-wrap
  10204. msgid "primary URL, channels"
  10205. msgstr ""
  10206. #. type: Plain text
  10207. #: guix-git/doc/guix.texi:5534
  10208. msgid "Channel authors can indicate the primary URL of their channel's Git repository in the @file{.guix-channel} file, like so:"
  10209. msgstr ""
  10210. #. type: lisp
  10211. #: guix-git/doc/guix.texi:5539
  10212. #, no-wrap
  10213. msgid ""
  10214. "(channel\n"
  10215. " (version 0)\n"
  10216. " (url \"https://example.org/guix.git\"))\n"
  10217. msgstr ""
  10218. #. type: Plain text
  10219. #: guix-git/doc/guix.texi:5546
  10220. msgid "This allows @command{guix pull} to determine whether it is pulling code from a mirror of the channel; when that is the case, it warns the user that the mirror might be stale and displays the primary URL@. That way, users cannot be tricked into fetching code from a stale mirror that does not receive security updates."
  10221. msgstr ""
  10222. #. type: Plain text
  10223. #: guix-git/doc/guix.texi:5550
  10224. msgid "This feature only makes sense for authenticated repositories, such as the official @code{guix} channel, for which @command{guix pull} ensures the code it fetches is authentic."
  10225. msgstr ""
  10226. #. type: cindex
  10227. #: guix-git/doc/guix.texi:5554
  10228. #, no-wrap
  10229. msgid "news, for channels"
  10230. msgstr ""
  10231. #. type: Plain text
  10232. #: guix-git/doc/guix.texi:5558
  10233. msgid "Channel authors may occasionally want to communicate to their users information about important changes in the channel. You'd send them all an email, but that's not convenient."
  10234. msgstr ""
  10235. #. type: Plain text
  10236. #: guix-git/doc/guix.texi:5563
  10237. msgid "Instead, channels can provide a @dfn{news file}; when the channel users run @command{guix pull}, that news file is automatically read and @command{guix pull --news} can display the announcements that correspond to the new commits that have been pulled, if any."
  10238. msgstr ""
  10239. #. type: Plain text
  10240. #: guix-git/doc/guix.texi:5566
  10241. msgid "To do that, channel authors must first declare the name of the news file in their @file{.guix-channel} file:"
  10242. msgstr ""
  10243. #. type: lisp
  10244. #: guix-git/doc/guix.texi:5571
  10245. #, no-wrap
  10246. msgid ""
  10247. "(channel\n"
  10248. " (version 0)\n"
  10249. " (news-file \"etc/news.txt\"))\n"
  10250. msgstr ""
  10251. #. type: Plain text
  10252. #: guix-git/doc/guix.texi:5575
  10253. msgid "The news file itself, @file{etc/news.txt} in this example, must look something like this:"
  10254. msgstr ""
  10255. #. type: lisp
  10256. #: guix-git/doc/guix.texi:5588
  10257. #, no-wrap
  10258. msgid ""
  10259. "(channel-news\n"
  10260. " (version 0)\n"
  10261. " (entry (tag \"the-bug-fix\")\n"
  10262. " (title (en \"Fixed terrible bug\")\n"
  10263. " (fr \"Oh la la\"))\n"
  10264. " (body (en \"@@emph@{Good news@}! It's fixed!\")\n"
  10265. " (eo \"Certe ĝi pli bone funkcias nun!\")))\n"
  10266. " (entry (commit \"bdcabe815cd28144a2d2b4bc3c5057b051fa9906\")\n"
  10267. " (title (en \"Added a great package\")\n"
  10268. " (ca \"Què vol dir guix?\"))\n"
  10269. " (body (en \"Don't miss the @@code@{hello@} package!\"))))\n"
  10270. msgstr ""
  10271. #. type: Plain text
  10272. #: guix-git/doc/guix.texi:5595
  10273. msgid "While the news file is using the Scheme syntax, avoid naming it with a @file{.scm} extension or else it will get picked up when building the channel and yield an error since it is not a valid module. Alternatively, you can move the channel module to a subdirectory and store the news file in another directory."
  10274. msgstr ""
  10275. #. type: Plain text
  10276. #: guix-git/doc/guix.texi:5600
  10277. msgid "The file consists of a list of @dfn{news entries}. Each entry is associated with a commit or tag: it describes changes made in this commit, possibly in preceding commits as well. Users see entries only the first time they obtain the commit the entry refers to."
  10278. msgstr ""
  10279. #. type: Plain text
  10280. #: guix-git/doc/guix.texi:5606
  10281. msgid "The @code{title} field should be a one-line summary while @code{body} can be arbitrarily long, and both can contain Texinfo markup (@pxref{Overview,,, texinfo, GNU Texinfo}). Both the title and body are a list of language tag/message tuples, which allows @command{guix pull} to display news in the language that corresponds to the user's locale."
  10282. msgstr ""
  10283. #. type: Plain text
  10284. #: guix-git/doc/guix.texi:5612
  10285. msgid "If you want to translate news using a gettext-based workflow, you can extract translatable strings with @command{xgettext} (@pxref{xgettext Invocation,,, gettext, GNU Gettext Utilities}). For example, assuming you write news entries in English first, the command below creates a PO file containing the strings to translate:"
  10286. msgstr ""
  10287. #. type: example
  10288. #: guix-git/doc/guix.texi:5615
  10289. #, no-wrap
  10290. msgid "xgettext -o news.po -l scheme -ken etc/news.txt\n"
  10291. msgstr ""
  10292. #. type: Plain text
  10293. #: guix-git/doc/guix.texi:5619
  10294. msgid "To sum up, yes, you could use your channel as a blog. But beware, this is @emph{not quite} what your users might expect."
  10295. msgstr ""
  10296. #. type: cindex
  10297. #: guix-git/doc/guix.texi:5624
  10298. #, no-wrap
  10299. msgid "software development"
  10300. msgstr "ohjelmistokehitys"
  10301. #. type: Plain text
  10302. #: guix-git/doc/guix.texi:5628
  10303. msgid "If you are a software developer, Guix provides tools that you should find helpful---independently of the language you're developing in. This is what this chapter is about."
  10304. msgstr ""
  10305. #. type: Plain text
  10306. #: guix-git/doc/guix.texi:5634
  10307. msgid "The @command{guix shell} command provides a convenient way to set up one-off software environments, be it for development purposes or to run a command without installing it in your profile. The @command{guix pack} command allows you to create @dfn{application bundles} that can be easily distributed to users who do not run Guix."
  10308. msgstr ""
  10309. #. type: section
  10310. #: guix-git/doc/guix.texi:5644
  10311. #, no-wrap
  10312. msgid "Invoking @command{guix shell}"
  10313. msgstr ""
  10314. #. type: cindex
  10315. #: guix-git/doc/guix.texi:5646
  10316. #, no-wrap
  10317. msgid "reproducible build environments"
  10318. msgstr ""
  10319. #. type: cindex
  10320. #: guix-git/doc/guix.texi:5647
  10321. #, no-wrap
  10322. msgid "development environments"
  10323. msgstr ""
  10324. #. type: command{#1}
  10325. #: guix-git/doc/guix.texi:5648
  10326. #, no-wrap
  10327. msgid "guix environment"
  10328. msgstr ""
  10329. #. type: cindex
  10330. #: guix-git/doc/guix.texi:5649
  10331. #, no-wrap
  10332. msgid "environment, package build environment"
  10333. msgstr ""
  10334. #. type: Plain text
  10335. #: guix-git/doc/guix.texi:5654
  10336. msgid "The purpose of @command{guix shell} is to make it easy to create one-off software environments, without changing one's profile. It is typically used to create development environments; it is also a convenient way to run applications without ``polluting'' your profile."
  10337. msgstr ""
  10338. #. type: quotation
  10339. #: guix-git/doc/guix.texi:5660
  10340. msgid "The @command{guix shell} command was recently introduced to supersede @command{guix environment} (@pxref{Invoking guix environment}). If you are familiar with @command{guix environment}, you will notice that it is similar but also---we hope!---more convenient."
  10341. msgstr ""
  10342. #. type: example
  10343. #: guix-git/doc/guix.texi:5666
  10344. #, no-wrap
  10345. msgid "guix shell [@var{options}] [@var{package}@dots{}]\n"
  10346. msgstr ""
  10347. #. type: Plain text
  10348. #: guix-git/doc/guix.texi:5671
  10349. msgid "The following example creates an environment containing Python and NumPy, building or downloading any missing package, and runs the @command{python3} command in that environment:"
  10350. msgstr ""
  10351. #. type: example
  10352. #: guix-git/doc/guix.texi:5674
  10353. #, no-wrap
  10354. msgid "guix shell python python-numpy -- python3\n"
  10355. msgstr ""
  10356. #. type: Plain text
  10357. #: guix-git/doc/guix.texi:5679
  10358. msgid "Development environments can be created as in the example below, which spawns an interactive shell containing all the dependencies and environment variables needed to work on Inkscape:"
  10359. msgstr ""
  10360. #. type: example
  10361. #: guix-git/doc/guix.texi:5682
  10362. #, no-wrap
  10363. msgid "guix shell --development inkscape\n"
  10364. msgstr ""
  10365. #. type: Plain text
  10366. #: guix-git/doc/guix.texi:5688
  10367. msgid "Exiting the shell places the user back in the original environment before @command{guix shell} was invoked. The next garbage collection (@pxref{Invoking guix gc}) may clean up packages that were installed in the environment and that are no longer used outside of it."
  10368. msgstr ""
  10369. #. type: Plain text
  10370. #: guix-git/doc/guix.texi:5695
  10371. msgid "As an added convenience, when running from a directory that contains a @file{manifest.scm} or a @file{guix.scm} file (in this order), possibly in a parent directory, @command{guix shell} automatically loads the file---provided the directory is listed in @file{~/.config/guix/shell-authorized-directories}, and only for interactive use:"
  10372. msgstr ""
  10373. #. type: example
  10374. #: guix-git/doc/guix.texi:5698
  10375. #, no-wrap
  10376. msgid "guix shell\n"
  10377. msgstr ""
  10378. #. type: Plain text
  10379. #: guix-git/doc/guix.texi:5702
  10380. msgid "This provides an easy way to define, share, and enter development environments."
  10381. msgstr ""
  10382. #. type: Plain text
  10383. #: guix-git/doc/guix.texi:5713
  10384. msgid "By default, the shell session or command runs in an @emph{augmented} environment, where the new packages are added to search path environment variables such as @code{PATH}. You can, instead, choose to create an @emph{isolated} environment containing nothing but the packages you asked for. Passing the @option{--pure} option clears environment variable definitions found in the parent environment@footnote{Be sure to use the @option{--check} option the first time you use @command{guix shell} interactively to make sure the shell does not undo the effect of @option{--pure}.}; passing @option{--container} goes one step further by spawning a @dfn{container} isolated from the rest of the system:"
  10385. msgstr ""
  10386. #. type: example
  10387. #: guix-git/doc/guix.texi:5716
  10388. #, no-wrap
  10389. msgid "guix shell --container emacs gcc-toolchain\n"
  10390. msgstr ""
  10391. #. type: Plain text
  10392. #: guix-git/doc/guix.texi:5724
  10393. msgid "The command above spawns an interactive shell in a container where nothing but @code{emacs}, @code{gcc-toolchain}, and their dependencies is available. The container lacks network access and shares no files other than the current working directory with the surrounding environment. This is useful to prevent access to system-wide resources such as @file{/usr/bin} on foreign distros."
  10394. msgstr ""
  10395. #. type: Plain text
  10396. #: guix-git/doc/guix.texi:5731
  10397. msgid "This @option{--container} option can also prove useful if you wish to run a security-sensitive application, such as a web browser, in an isolated environment. For example, the command below launches Ungoogled-Chromium in an isolated environment, this time sharing network access with the host and preserving its @code{DISPLAY} environment variable, but without even sharing the current directory:"
  10398. msgstr ""
  10399. #. type: example
  10400. #: guix-git/doc/guix.texi:5735
  10401. #, no-wrap
  10402. msgid ""
  10403. "guix shell --container --network --no-cwd ungoogled-chromium \\\n"
  10404. " --preserve='^DISPLAY$' -- chromium\n"
  10405. msgstr ""
  10406. #. type: vindex
  10407. #: guix-git/doc/guix.texi:5737 guix-git/doc/guix.texi:6067
  10408. #, no-wrap
  10409. msgid "GUIX_ENVIRONMENT"
  10410. msgstr ""
  10411. #. type: Plain text
  10412. #: guix-git/doc/guix.texi:5743
  10413. msgid "@command{guix shell} defines the @env{GUIX_ENVIRONMENT} variable in the shell it spawns; its value is the file name of the profile of this environment. This allows users to, say, define a specific prompt for development environments in their @file{.bashrc} (@pxref{Bash Startup Files,,, bash, The GNU Bash Reference Manual}):"
  10414. msgstr ""
  10415. #. type: example
  10416. #: guix-git/doc/guix.texi:5749 guix-git/doc/guix.texi:6079
  10417. #, no-wrap
  10418. msgid ""
  10419. "if [ -n \"$GUIX_ENVIRONMENT\" ]\n"
  10420. "then\n"
  10421. " export PS1=\"\\u@@\\h \\w [dev]\\$ \"\n"
  10422. "fi\n"
  10423. msgstr ""
  10424. #. type: Plain text
  10425. #: guix-git/doc/guix.texi:5753 guix-git/doc/guix.texi:6083
  10426. msgid "...@: or to browse the profile:"
  10427. msgstr ""
  10428. #. type: example
  10429. #: guix-git/doc/guix.texi:5756 guix-git/doc/guix.texi:6086
  10430. #, no-wrap
  10431. msgid "$ ls \"$GUIX_ENVIRONMENT/bin\"\n"
  10432. msgstr ""
  10433. #. type: Plain text
  10434. #: guix-git/doc/guix.texi:5759 guix-git/doc/guix.texi:6162
  10435. msgid "The available options are summarized below."
  10436. msgstr ""
  10437. #. type: item
  10438. #: guix-git/doc/guix.texi:5761 guix-git/doc/guix.texi:6164
  10439. #: guix-git/doc/guix.texi:11964
  10440. #, no-wrap
  10441. msgid "--check"
  10442. msgstr ""
  10443. #. type: table
  10444. #: guix-git/doc/guix.texi:5766
  10445. msgid "Set up the environment and check whether the shell would clobber environment variables. It's a good idea to use this option the first time you run @command{guix shell} for an interactive session to make sure your setup is correct."
  10446. msgstr ""
  10447. #. type: table
  10448. #: guix-git/doc/guix.texi:5770
  10449. msgid "For example, if the shell modifies the @env{PATH} environment variable, report it since you would get a different environment than what you asked for."
  10450. msgstr ""
  10451. #. type: table
  10452. #: guix-git/doc/guix.texi:5778
  10453. msgid "Such problems usually indicate that the shell startup files are unexpectedly modifying those environment variables. For example, if you are using Bash, make sure that environment variables are set or modified in @file{~/.bash_profile} and @emph{not} in @file{~/.bashrc}---the former is sourced only by log-in shells. @xref{Bash Startup Files,,, bash, The GNU Bash Reference Manual}, for details on Bash start-up files."
  10454. msgstr ""
  10455. #. type: item
  10456. #: guix-git/doc/guix.texi:5779
  10457. #, no-wrap
  10458. msgid "--development"
  10459. msgstr ""
  10460. #. type: table
  10461. #: guix-git/doc/guix.texi:5786
  10462. msgid "Cause @command{guix shell} to include in the environment the dependencies of the following package rather than the package itself. This can be combined with other packages. For instance, the command below starts an interactive shell containing the build-time dependencies of GNU@tie{}Guile, plus Autoconf, Automake, and Libtool:"
  10463. msgstr ""
  10464. #. type: example
  10465. #: guix-git/doc/guix.texi:5789
  10466. #, no-wrap
  10467. msgid "guix shell -D guile autoconf automake libtool\n"
  10468. msgstr ""
  10469. #. type: item
  10470. #: guix-git/doc/guix.texi:5791 guix-git/doc/guix.texi:6185
  10471. #: guix-git/doc/guix.texi:6672 guix-git/doc/guix.texi:11839
  10472. #: guix-git/doc/guix.texi:12913 guix-git/doc/guix.texi:13305
  10473. #: guix-git/doc/guix.texi:13903 guix-git/doc/guix.texi:35801
  10474. #: guix-git/doc/guix.texi:38386
  10475. #, no-wrap
  10476. msgid "--expression=@var{expr}"
  10477. msgstr ""
  10478. #. type: itemx
  10479. #: guix-git/doc/guix.texi:5792 guix-git/doc/guix.texi:6186
  10480. #: guix-git/doc/guix.texi:6673 guix-git/doc/guix.texi:11840
  10481. #: guix-git/doc/guix.texi:12914 guix-git/doc/guix.texi:13306
  10482. #: guix-git/doc/guix.texi:13904 guix-git/doc/guix.texi:35802
  10483. #: guix-git/doc/guix.texi:38387
  10484. #, no-wrap
  10485. msgid "-e @var{expr}"
  10486. msgstr ""
  10487. #. type: table
  10488. #: guix-git/doc/guix.texi:5795 guix-git/doc/guix.texi:6189
  10489. msgid "Create an environment for the package or list of packages that @var{expr} evaluates to."
  10490. msgstr ""
  10491. #. type: table
  10492. #: guix-git/doc/guix.texi:5797 guix-git/doc/guix.texi:6191
  10493. #: guix-git/doc/guix.texi:13310
  10494. msgid "For example, running:"
  10495. msgstr ""
  10496. #. type: example
  10497. #: guix-git/doc/guix.texi:5800
  10498. #, no-wrap
  10499. msgid "guix shell -D -e '(@@ (gnu packages maths) petsc-openmpi)'\n"
  10500. msgstr ""
  10501. #. type: table
  10502. #: guix-git/doc/guix.texi:5804 guix-git/doc/guix.texi:6198
  10503. msgid "starts a shell with the environment for this specific variant of the PETSc package."
  10504. msgstr ""
  10505. #. type: table
  10506. #: guix-git/doc/guix.texi:5806 guix-git/doc/guix.texi:6200
  10507. msgid "Running:"
  10508. msgstr "Käynnissä:"
  10509. #. type: example
  10510. #: guix-git/doc/guix.texi:5809
  10511. #, no-wrap
  10512. msgid "guix shell -e '(@@ (gnu) %base-packages)'\n"
  10513. msgstr ""
  10514. #. type: table
  10515. #: guix-git/doc/guix.texi:5812 guix-git/doc/guix.texi:6206
  10516. msgid "starts a shell with all the base system packages available."
  10517. msgstr ""
  10518. #. type: table
  10519. #: guix-git/doc/guix.texi:5815 guix-git/doc/guix.texi:6209
  10520. msgid "The above commands only use the default output of the given packages. To select other outputs, two element tuples can be specified:"
  10521. msgstr ""
  10522. #. type: example
  10523. #: guix-git/doc/guix.texi:5818
  10524. #, no-wrap
  10525. msgid "guix shell -e '(list (@@ (gnu packages bash) bash) \"include\")'\n"
  10526. msgstr ""
  10527. #. type: item
  10528. #: guix-git/doc/guix.texi:5820 guix-git/doc/guix.texi:11813
  10529. #, no-wrap
  10530. msgid "--file=@var{file}"
  10531. msgstr ""
  10532. #. type: table
  10533. #: guix-git/doc/guix.texi:5824
  10534. msgid "Create an environment containing the package or list of packages that the code within @var{file} evaluates to."
  10535. msgstr ""
  10536. #. type: lisp
  10537. #: guix-git/doc/guix.texi:5830 guix-git/doc/guix.texi:6224
  10538. #, no-wrap
  10539. msgid "@verbatiminclude environment-gdb.scm\n"
  10540. msgstr ""
  10541. #. type: table
  10542. #: guix-git/doc/guix.texi:5834
  10543. msgid "With the file above, you can enter a development environment for GDB by running:"
  10544. msgstr ""
  10545. #. type: example
  10546. #: guix-git/doc/guix.texi:5837
  10547. #, no-wrap
  10548. msgid "guix shell -D -f gdb-devel.scm\n"
  10549. msgstr ""
  10550. #. type: table
  10551. #: guix-git/doc/guix.texi:5844 guix-git/doc/guix.texi:6231
  10552. msgid "Create an environment for the packages contained in the manifest object returned by the Scheme code in @var{file}. This option can be repeated several times, in which case the manifests are concatenated."
  10553. msgstr ""
  10554. #. type: table
  10555. #: guix-git/doc/guix.texi:5848 guix-git/doc/guix.texi:6235
  10556. msgid "This is similar to the same-named option in @command{guix package} (@pxref{profile-manifest, @option{--manifest}}) and uses the same manifest files."
  10557. msgstr ""
  10558. #. type: table
  10559. #: guix-git/doc/guix.texi:5854 guix-git/doc/guix.texi:6267
  10560. msgid "Create an environment containing the packages installed in @var{profile}. Use @command{guix package} (@pxref{Invoking guix package}) to create and manage profiles."
  10561. msgstr ""
  10562. #. type: item
  10563. #: guix-git/doc/guix.texi:5855 guix-git/doc/guix.texi:6268
  10564. #, no-wrap
  10565. msgid "--pure"
  10566. msgstr ""
  10567. #. type: table
  10568. #: guix-git/doc/guix.texi:5859 guix-git/doc/guix.texi:6272
  10569. msgid "Unset existing environment variables when building the new environment, except those specified with @option{--preserve} (see below). This has the effect of creating an environment in which search paths only contain package inputs."
  10570. msgstr ""
  10571. #. type: item
  10572. #: guix-git/doc/guix.texi:5860 guix-git/doc/guix.texi:6273
  10573. #, no-wrap
  10574. msgid "--preserve=@var{regexp}"
  10575. msgstr ""
  10576. #. type: itemx
  10577. #: guix-git/doc/guix.texi:5861 guix-git/doc/guix.texi:6274
  10578. #, no-wrap
  10579. msgid "-E @var{regexp}"
  10580. msgstr ""
  10581. #. type: table
  10582. #: guix-git/doc/guix.texi:5866 guix-git/doc/guix.texi:6279
  10583. msgid "When used alongside @option{--pure}, preserve the environment variables matching @var{regexp}---in other words, put them on a ``white list'' of environment variables that must be preserved. This option can be repeated several times."
  10584. msgstr ""
  10585. #. type: example
  10586. #: guix-git/doc/guix.texi:5870
  10587. #, no-wrap
  10588. msgid ""
  10589. "guix shell --pure --preserve=^SLURM openmpi @dots{} \\\n"
  10590. " -- mpirun @dots{}\n"
  10591. msgstr ""
  10592. #. type: table
  10593. #: guix-git/doc/guix.texi:5876 guix-git/doc/guix.texi:6289
  10594. msgid "This example runs @command{mpirun} in a context where the only environment variables defined are @env{PATH}, environment variables whose name starts with @samp{SLURM}, as well as the usual ``precious'' variables (@env{HOME}, @env{USER}, etc.)."
  10595. msgstr ""
  10596. #. type: item
  10597. #: guix-git/doc/guix.texi:5877 guix-git/doc/guix.texi:6290
  10598. #, no-wrap
  10599. msgid "--search-paths"
  10600. msgstr ""
  10601. #. type: table
  10602. #: guix-git/doc/guix.texi:5880 guix-git/doc/guix.texi:6293
  10603. msgid "Display the environment variable definitions that make up the environment."
  10604. msgstr ""
  10605. #. type: table
  10606. #: guix-git/doc/guix.texi:5884 guix-git/doc/guix.texi:6297
  10607. msgid "Attempt to build for @var{system}---e.g., @code{i686-linux}."
  10608. msgstr ""
  10609. #. type: item
  10610. #: guix-git/doc/guix.texi:5885 guix-git/doc/guix.texi:6298
  10611. #, no-wrap
  10612. msgid "--container"
  10613. msgstr "--kontti"
  10614. #. type: itemx
  10615. #: guix-git/doc/guix.texi:5886 guix-git/doc/guix.texi:6299
  10616. #, no-wrap
  10617. msgid "-C"
  10618. msgstr ""
  10619. #. type: item
  10620. #: guix-git/doc/guix.texi:5887 guix-git/doc/guix.texi:6128
  10621. #: guix-git/doc/guix.texi:6300 guix-git/doc/guix.texi:14459
  10622. #: guix-git/doc/guix.texi:35769
  10623. #, no-wrap
  10624. msgid "container"
  10625. msgstr "kontti"
  10626. #. type: table
  10627. #: guix-git/doc/guix.texi:5893 guix-git/doc/guix.texi:6306
  10628. msgid "Run @var{command} within an isolated container. The current working directory outside the container is mapped inside the container. Additionally, unless overridden with @option{--user}, a dummy home directory is created that matches the current user's home directory, and @file{/etc/passwd} is configured accordingly."
  10629. msgstr ""
  10630. #. type: table
  10631. #: guix-git/doc/guix.texi:5897 guix-git/doc/guix.texi:6310
  10632. msgid "The spawned process runs as the current user outside the container. Inside the container, it has the same UID and GID as the current user, unless @option{--user} is passed (see below)."
  10633. msgstr ""
  10634. #. type: item
  10635. #: guix-git/doc/guix.texi:5898 guix-git/doc/guix.texi:6311
  10636. #: guix-git/doc/guix.texi:35861
  10637. #, no-wrap
  10638. msgid "--network"
  10639. msgstr ""
  10640. #. type: table
  10641. #: guix-git/doc/guix.texi:5903 guix-git/doc/guix.texi:6316
  10642. msgid "For containers, share the network namespace with the host system. Containers created without this flag only have access to the loopback device."
  10643. msgstr ""
  10644. #. type: item
  10645. #: guix-git/doc/guix.texi:5904 guix-git/doc/guix.texi:6317
  10646. #, no-wrap
  10647. msgid "--link-profile"
  10648. msgstr ""
  10649. #. type: itemx
  10650. #: guix-git/doc/guix.texi:5905 guix-git/doc/guix.texi:6318
  10651. #, no-wrap
  10652. msgid "-P"
  10653. msgstr ""
  10654. #. type: table
  10655. #: guix-git/doc/guix.texi:5913
  10656. msgid "For containers, link the environment profile to @file{~/.guix-profile} within the container and set @code{GUIX_ENVIRONMENT} to that. This is equivalent to making @file{~/.guix-profile} a symlink to the actual profile within the container. Linking will fail and abort the environment if the directory already exists, which will certainly be the case if @command{guix shell} was invoked in the user's home directory."
  10657. msgstr ""
  10658. #. type: table
  10659. #: guix-git/doc/guix.texi:5919 guix-git/doc/guix.texi:6332
  10660. msgid "Certain packages are configured to look in @file{~/.guix-profile} for configuration files and data;@footnote{For example, the @code{fontconfig} package inspects @file{~/.guix-profile/share/fonts} for additional fonts.} @option{--link-profile} allows these programs to behave as expected within the environment."
  10661. msgstr ""
  10662. #. type: item
  10663. #: guix-git/doc/guix.texi:5920 guix-git/doc/guix.texi:6333
  10664. #: guix-git/doc/guix.texi:14036
  10665. #, no-wrap
  10666. msgid "--user=@var{user}"
  10667. msgstr ""
  10668. #. type: itemx
  10669. #: guix-git/doc/guix.texi:5921 guix-git/doc/guix.texi:6334
  10670. #: guix-git/doc/guix.texi:14037
  10671. #, no-wrap
  10672. msgid "-u @var{user}"
  10673. msgstr ""
  10674. #. type: table
  10675. #: guix-git/doc/guix.texi:5928 guix-git/doc/guix.texi:6341
  10676. msgid "For containers, use the username @var{user} in place of the current user. The generated @file{/etc/passwd} entry within the container will contain the name @var{user}, the home directory will be @file{/home/@var{user}}, and no user GECOS data will be copied. Furthermore, the UID and GID inside the container are 1000. @var{user} need not exist on the system."
  10677. msgstr ""
  10678. #. type: table
  10679. #: guix-git/doc/guix.texi:5933 guix-git/doc/guix.texi:6346
  10680. msgid "Additionally, any shared or exposed path (see @option{--share} and @option{--expose} respectively) whose target is within the current user's home directory will be remapped relative to @file{/home/USER}; this includes the automatic mapping of the current working directory."
  10681. msgstr ""
  10682. #. type: example
  10683. #: guix-git/doc/guix.texi:5940
  10684. #, no-wrap
  10685. msgid ""
  10686. "# will expose paths as /home/foo/wd, /home/foo/test, and /home/foo/target\n"
  10687. "cd $HOME/wd\n"
  10688. "guix shell --container --user=foo \\\n"
  10689. " --expose=$HOME/test \\\n"
  10690. " --expose=/tmp/target=$HOME/target\n"
  10691. msgstr ""
  10692. #. type: table
  10693. #: guix-git/doc/guix.texi:5945 guix-git/doc/guix.texi:6358
  10694. msgid "While this will limit the leaking of user identity through home paths and each of the user fields, this is only one useful component of a broader privacy/anonymity solution---not one in and of itself."
  10695. msgstr ""
  10696. #. type: item
  10697. #: guix-git/doc/guix.texi:5946 guix-git/doc/guix.texi:6359
  10698. #, no-wrap
  10699. msgid "--no-cwd"
  10700. msgstr ""
  10701. #. type: table
  10702. #: guix-git/doc/guix.texi:5953 guix-git/doc/guix.texi:6366
  10703. msgid "For containers, the default behavior is to share the current working directory with the isolated container and immediately change to that directory within the container. If this is undesirable, @option{--no-cwd} will cause the current working directory to @emph{not} be automatically shared and will change to the user's home directory within the container instead. See also @option{--user}."
  10704. msgstr ""
  10705. #. type: item
  10706. #: guix-git/doc/guix.texi:5954 guix-git/doc/guix.texi:6367
  10707. #, no-wrap
  10708. msgid "--expose=@var{source}[=@var{target}]"
  10709. msgstr ""
  10710. #. type: itemx
  10711. #: guix-git/doc/guix.texi:5955 guix-git/doc/guix.texi:6368
  10712. #, no-wrap
  10713. msgid "--share=@var{source}[=@var{target}]"
  10714. msgstr ""
  10715. #. type: table
  10716. #: guix-git/doc/guix.texi:5961 guix-git/doc/guix.texi:6374
  10717. msgid "For containers, @option{--expose} (resp. @option{--share}) exposes the file system @var{source} from the host system as the read-only (resp. writable) file system @var{target} within the container. If @var{target} is not specified, @var{source} is used as the target mount point in the container."
  10718. msgstr ""
  10719. #. type: table
  10720. #: guix-git/doc/guix.texi:5965 guix-git/doc/guix.texi:6378
  10721. msgid "The example below spawns a Guile REPL in a container in which the user's home directory is accessible read-only via the @file{/exchange} directory:"
  10722. msgstr ""
  10723. #. type: example
  10724. #: guix-git/doc/guix.texi:5968
  10725. #, no-wrap
  10726. msgid "guix shell --container --expose=$HOME=/exchange guile -- guile\n"
  10727. msgstr ""
  10728. #. type: item
  10729. #: guix-git/doc/guix.texi:5970
  10730. #, no-wrap
  10731. msgid "--rebuild-cache"
  10732. msgstr ""
  10733. #. type: cindex
  10734. #: guix-git/doc/guix.texi:5971
  10735. #, no-wrap
  10736. msgid "caching, of profiles"
  10737. msgstr ""
  10738. #. type: cindex
  10739. #: guix-git/doc/guix.texi:5972
  10740. #, no-wrap
  10741. msgid "caching, in @command{guix shell}"
  10742. msgstr ""
  10743. #. type: table
  10744. #: guix-git/doc/guix.texi:5978
  10745. msgid "In most cases, @command{guix shell} caches the environment so that subsequent uses are instantaneous. Least-recently used cache entries are periodically removed. The cache is also invalidated, when using @option{--file} or @option{--manifest}, anytime the corresponding file is modified."
  10746. msgstr ""
  10747. #. type: table
  10748. #: guix-git/doc/guix.texi:5984
  10749. msgid "The @option{--rebuild-cache} forces the cached environment to be refreshed. This is useful when using @option{--file} or @option{--manifest} and the @command{guix.scm} or @command{manifest.scm} file has external dependencies, or if its behavior depends, say, on environment variables."
  10750. msgstr ""
  10751. #. type: item
  10752. #: guix-git/doc/guix.texi:5985 guix-git/doc/guix.texi:6169
  10753. #: guix-git/doc/guix.texi:6740 guix-git/doc/guix.texi:11993
  10754. #: guix-git/doc/guix.texi:35866
  10755. #, no-wrap
  10756. msgid "--root=@var{file}"
  10757. msgstr ""
  10758. #. type: itemx
  10759. #: guix-git/doc/guix.texi:5986 guix-git/doc/guix.texi:6170
  10760. #: guix-git/doc/guix.texi:6741 guix-git/doc/guix.texi:11994
  10761. #: guix-git/doc/guix.texi:35867
  10762. #, no-wrap
  10763. msgid "-r @var{file}"
  10764. msgstr ""
  10765. #. type: cindex
  10766. #: guix-git/doc/guix.texi:5987 guix-git/doc/guix.texi:6171
  10767. #, no-wrap
  10768. msgid "persistent environment"
  10769. msgstr ""
  10770. #. type: cindex
  10771. #: guix-git/doc/guix.texi:5988 guix-git/doc/guix.texi:6172
  10772. #, no-wrap
  10773. msgid "garbage collector root, for environments"
  10774. msgstr ""
  10775. #. type: table
  10776. #: guix-git/doc/guix.texi:5991 guix-git/doc/guix.texi:6175
  10777. msgid "Make @var{file} a symlink to the profile for this environment, and register it as a garbage collector root."
  10778. msgstr ""
  10779. #. type: table
  10780. #: guix-git/doc/guix.texi:5994 guix-git/doc/guix.texi:6178
  10781. msgid "This is useful if you want to protect your environment from garbage collection, to make it ``persistent''."
  10782. msgstr ""
  10783. #. type: table
  10784. #: guix-git/doc/guix.texi:6000
  10785. msgid "When this option is omitted, @command{guix shell} caches profiles so that subsequent uses of the same environment are instantaneous---this is comparable to using @option{--root} except that @command{guix shell} takes care of periodically removing the least-recently used garbage collector roots."
  10786. msgstr ""
  10787. #. type: table
  10788. #: guix-git/doc/guix.texi:6007
  10789. msgid "In some cases, @command{guix shell} does not cache profiles---e.g., if transformation options such as @option{--with-latest} are used. In those cases, the environment is protected from garbage collection only for the duration of the @command{guix shell} session. This means that next time you recreate the same environment, you could have to rebuild or re-download packages."
  10790. msgstr ""
  10791. #. type: table
  10792. #: guix-git/doc/guix.texi:6009
  10793. msgid "@xref{Invoking guix gc}, for more on GC roots."
  10794. msgstr ""
  10795. #. type: Plain text
  10796. #: guix-git/doc/guix.texi:6014
  10797. msgid "@command{guix shell} also supports all of the common build options that @command{guix build} supports (@pxref{Common Build Options}) as well as package transformation options (@pxref{Package Transformation Options})."
  10798. msgstr ""
  10799. #. type: section
  10800. #: guix-git/doc/guix.texi:6016
  10801. #, no-wrap
  10802. msgid "Invoking @command{guix environment}"
  10803. msgstr ""
  10804. #. type: Plain text
  10805. #: guix-git/doc/guix.texi:6020
  10806. msgid "The purpose of @command{guix environment} is to assist in creating development environments."
  10807. msgstr ""
  10808. #. type: quotation
  10809. #: guix-git/doc/guix.texi:6021
  10810. #, no-wrap
  10811. msgid "Deprecation warning"
  10812. msgstr ""
  10813. #. type: quotation
  10814. #: guix-git/doc/guix.texi:6025
  10815. msgid "The @command{guix environment} command is deprecated in favor of @command{guix shell}, which performs similar functions but is more convenient to use. @xref{Invoking guix shell}."
  10816. msgstr ""
  10817. #. type: quotation
  10818. #: guix-git/doc/guix.texi:6030
  10819. msgid "Being deprecated, @command{guix environment} is slated for eventual removal, but the Guix project is committed to keeping it until May 1st, 2023. Please get in touch with us at @email{guix-devel@@gnu.org} if you would like to discuss it."
  10820. msgstr ""
  10821. #. type: example
  10822. #: guix-git/doc/guix.texi:6036
  10823. #, no-wrap
  10824. msgid "guix environment @var{options} @var{package}@dots{}\n"
  10825. msgstr ""
  10826. #. type: Plain text
  10827. #: guix-git/doc/guix.texi:6040
  10828. msgid "The following example spawns a new shell set up for the development of GNU@tie{}Guile:"
  10829. msgstr ""
  10830. #. type: example
  10831. #: guix-git/doc/guix.texi:6043
  10832. #, no-wrap
  10833. msgid "guix environment guile\n"
  10834. msgstr ""
  10835. #. type: Plain text
  10836. #: guix-git/doc/guix.texi:6060
  10837. msgid "If the needed dependencies are not built yet, @command{guix environment} automatically builds them. The environment of the new shell is an augmented version of the environment that @command{guix environment} was run in. It contains the necessary search paths for building the given package added to the existing environment variables. To create a ``pure'' environment, in which the original environment variables have been unset, use the @option{--pure} option@footnote{Users sometimes wrongfully augment environment variables such as @env{PATH} in their @file{~/.bashrc} file. As a consequence, when @command{guix environment} launches it, Bash may read @file{~/.bashrc}, thereby introducing ``impurities'' in these environment variables. It is an error to define such environment variables in @file{.bashrc}; instead, they should be defined in @file{.bash_profile}, which is sourced only by log-in shells. @xref{Bash Startup Files,,, bash, The GNU Bash Reference Manual}, for details on Bash start-up files.}."
  10838. msgstr ""
  10839. #. type: Plain text
  10840. #: guix-git/doc/guix.texi:6066
  10841. msgid "Exiting from a Guix environment is the same as exiting from the shell, and will place the user back in the old environment before @command{guix environment} was invoked. The next garbage collection (@pxref{Invoking guix gc}) will clean up packages that were installed from within the environment and are no longer used outside of it."
  10842. msgstr ""
  10843. #. type: Plain text
  10844. #: guix-git/doc/guix.texi:6073
  10845. msgid "@command{guix environment} defines the @env{GUIX_ENVIRONMENT} variable in the shell it spawns; its value is the file name of the profile of this environment. This allows users to, say, define a specific prompt for development environments in their @file{.bashrc} (@pxref{Bash Startup Files,,, bash, The GNU Bash Reference Manual}):"
  10846. msgstr ""
  10847. #. type: Plain text
  10848. #: guix-git/doc/guix.texi:6092
  10849. msgid "Additionally, more than one package may be specified, in which case the union of the inputs for the given packages are used. For example, the command below spawns a shell where all of the dependencies of both Guile and Emacs are available:"
  10850. msgstr ""
  10851. #. type: example
  10852. #: guix-git/doc/guix.texi:6095
  10853. #, no-wrap
  10854. msgid "guix environment guile emacs\n"
  10855. msgstr ""
  10856. #. type: Plain text
  10857. #: guix-git/doc/guix.texi:6100
  10858. msgid "Sometimes an interactive shell session is not desired. An arbitrary command may be invoked by placing the @code{--} token to separate the command from the rest of the arguments:"
  10859. msgstr ""
  10860. #. type: example
  10861. #: guix-git/doc/guix.texi:6103
  10862. #, no-wrap
  10863. msgid "guix environment guile -- make -j4\n"
  10864. msgstr ""
  10865. #. type: Plain text
  10866. #: guix-git/doc/guix.texi:6109
  10867. msgid "In other situations, it is more convenient to specify the list of packages needed in the environment. For example, the following command runs @command{python} from an environment containing Python@tie{}3 and NumPy:"
  10868. msgstr ""
  10869. #. type: example
  10870. #: guix-git/doc/guix.texi:6112
  10871. #, no-wrap
  10872. msgid "guix environment --ad-hoc python-numpy python -- python3\n"
  10873. msgstr ""
  10874. #. type: Plain text
  10875. #: guix-git/doc/guix.texi:6123
  10876. msgid "Furthermore, one might want the dependencies of a package and also some additional packages that are not build-time or runtime dependencies, but are useful when developing nonetheless. Because of this, the @option{--ad-hoc} flag is positional. Packages appearing before @option{--ad-hoc} are interpreted as packages whose dependencies will be added to the environment. Packages appearing after are interpreted as packages that will be added to the environment directly. For example, the following command creates a Guix development environment that additionally includes Git and strace:"
  10877. msgstr ""
  10878. #. type: example
  10879. #: guix-git/doc/guix.texi:6126
  10880. #, no-wrap
  10881. msgid "guix environment --pure guix --ad-hoc git strace\n"
  10882. msgstr ""
  10883. #. type: Plain text
  10884. #: guix-git/doc/guix.texi:6136
  10885. msgid "Sometimes it is desirable to isolate the environment as much as possible, for maximal purity and reproducibility. In particular, when using Guix on a host distro that is not Guix System, it is desirable to prevent access to @file{/usr/bin} and other system-wide resources from the development environment. For example, the following command spawns a Guile REPL in a ``container'' where only the store and the current working directory are mounted:"
  10886. msgstr ""
  10887. #. type: example
  10888. #: guix-git/doc/guix.texi:6139
  10889. #, no-wrap
  10890. msgid "guix environment --ad-hoc --container guile -- guile\n"
  10891. msgstr ""
  10892. #. type: quotation
  10893. #: guix-git/doc/guix.texi:6143
  10894. msgid "The @option{--container} option requires Linux-libre 3.19 or newer."
  10895. msgstr ""
  10896. #. type: cindex
  10897. #: guix-git/doc/guix.texi:6145
  10898. #, no-wrap
  10899. msgid "certificates"
  10900. msgstr ""
  10901. #. type: Plain text
  10902. #: guix-git/doc/guix.texi:6152
  10903. msgid "Another typical use case for containers is to run security-sensitive applications such as a web browser. To run Eolie, we must expose and share some files and directories; we include @code{nss-certs} and expose @file{/etc/ssl/certs/} for HTTPS authentication; finally we preserve the @env{DISPLAY} environment variable since containerized graphical applications won't display without it."
  10904. msgstr ""
  10905. #. type: example
  10906. #: guix-git/doc/guix.texi:6159
  10907. #, no-wrap
  10908. msgid ""
  10909. "guix environment --preserve='^DISPLAY$' --container --network \\\n"
  10910. " --expose=/etc/machine-id \\\n"
  10911. " --expose=/etc/ssl/certs/ \\\n"
  10912. " --share=$HOME/.local/share/eolie/=$HOME/.local/share/eolie/ \\\n"
  10913. " --ad-hoc eolie nss-certs dbus -- eolie\n"
  10914. msgstr ""
  10915. #. type: table
  10916. #: guix-git/doc/guix.texi:6168
  10917. msgid "Set up the environment and check whether the shell would clobber environment variables. @xref{Invoking guix shell, @option{--check}}, for more info."
  10918. msgstr ""
  10919. #. type: table
  10920. #: guix-git/doc/guix.texi:6184
  10921. msgid "When this option is omitted, the environment is protected from garbage collection only for the duration of the @command{guix environment} session. This means that next time you recreate the same environment, you could have to rebuild or re-download packages. @xref{Invoking guix gc}, for more on GC roots."
  10922. msgstr ""
  10923. #. type: example
  10924. #: guix-git/doc/guix.texi:6194
  10925. #, no-wrap
  10926. msgid "guix environment -e '(@@ (gnu packages maths) petsc-openmpi)'\n"
  10927. msgstr ""
  10928. #. type: example
  10929. #: guix-git/doc/guix.texi:6203
  10930. #, no-wrap
  10931. msgid "guix environment --ad-hoc -e '(@@ (gnu) %base-packages)'\n"
  10932. msgstr ""
  10933. #. type: example
  10934. #: guix-git/doc/guix.texi:6212
  10935. #, no-wrap
  10936. msgid "guix environment --ad-hoc -e '(list (@@ (gnu packages bash) bash) \"include\")'\n"
  10937. msgstr ""
  10938. #. type: item
  10939. #: guix-git/doc/guix.texi:6214
  10940. #, no-wrap
  10941. msgid "--load=@var{file}"
  10942. msgstr ""
  10943. #. type: itemx
  10944. #: guix-git/doc/guix.texi:6215
  10945. #, no-wrap
  10946. msgid "-l @var{file}"
  10947. msgstr ""
  10948. #. type: table
  10949. #: guix-git/doc/guix.texi:6218
  10950. msgid "Create an environment for the package or list of packages that the code within @var{file} evaluates to."
  10951. msgstr ""
  10952. #. type: item
  10953. #: guix-git/doc/guix.texi:6236
  10954. #, no-wrap
  10955. msgid "--ad-hoc"
  10956. msgstr ""
  10957. #. type: table
  10958. #: guix-git/doc/guix.texi:6241
  10959. msgid "Include all specified packages in the resulting environment, as if an @i{ad hoc} package were defined with them as inputs. This option is useful for quickly creating an environment without having to write a package expression to contain the desired inputs."
  10960. msgstr ""
  10961. #. type: table
  10962. #: guix-git/doc/guix.texi:6243
  10963. msgid "For instance, the command:"
  10964. msgstr ""
  10965. #. type: example
  10966. #: guix-git/doc/guix.texi:6246
  10967. #, no-wrap
  10968. msgid "guix environment --ad-hoc guile guile-sdl -- guile\n"
  10969. msgstr ""
  10970. #. type: table
  10971. #: guix-git/doc/guix.texi:6250
  10972. msgid "runs @command{guile} in an environment where Guile and Guile-SDL are available."
  10973. msgstr ""
  10974. #. type: table
  10975. #: guix-git/doc/guix.texi:6255
  10976. msgid "Note that this example implicitly asks for the default output of @code{guile} and @code{guile-sdl}, but it is possible to ask for a specific output---e.g., @code{glib:bin} asks for the @code{bin} output of @code{glib} (@pxref{Packages with Multiple Outputs})."
  10977. msgstr ""
  10978. #. type: table
  10979. #: guix-git/doc/guix.texi:6261
  10980. msgid "This option may be composed with the default behavior of @command{guix environment}. Packages appearing before @option{--ad-hoc} are interpreted as packages whose dependencies will be added to the environment, the default behavior. Packages appearing after are interpreted as packages that will be added to the environment directly."
  10981. msgstr ""
  10982. #. type: example
  10983. #: guix-git/doc/guix.texi:6283
  10984. #, no-wrap
  10985. msgid ""
  10986. "guix environment --pure --preserve=^SLURM --ad-hoc openmpi @dots{} \\\n"
  10987. " -- mpirun @dots{}\n"
  10988. msgstr ""
  10989. #. type: table
  10990. #: guix-git/doc/guix.texi:6326
  10991. msgid "For containers, link the environment profile to @file{~/.guix-profile} within the container and set @code{GUIX_ENVIRONMENT} to that. This is equivalent to making @file{~/.guix-profile} a symlink to the actual profile within the container. Linking will fail and abort the environment if the directory already exists, which will certainly be the case if @command{guix environment} was invoked in the user's home directory."
  10992. msgstr ""
  10993. #. type: example
  10994. #: guix-git/doc/guix.texi:6353
  10995. #, no-wrap
  10996. msgid ""
  10997. "# will expose paths as /home/foo/wd, /home/foo/test, and /home/foo/target\n"
  10998. "cd $HOME/wd\n"
  10999. "guix environment --container --user=foo \\\n"
  11000. " --expose=$HOME/test \\\n"
  11001. " --expose=/tmp/target=$HOME/target\n"
  11002. msgstr ""
  11003. #. type: example
  11004. #: guix-git/doc/guix.texi:6381
  11005. #, no-wrap
  11006. msgid "guix environment --container --expose=$HOME=/exchange --ad-hoc guile -- guile\n"
  11007. msgstr ""
  11008. #. type: Plain text
  11009. #: guix-git/doc/guix.texi:6389
  11010. msgid "@command{guix environment} also supports all of the common build options that @command{guix build} supports (@pxref{Common Build Options}) as well as package transformation options (@pxref{Package Transformation Options})."
  11011. msgstr ""
  11012. #. type: section
  11013. #: guix-git/doc/guix.texi:6391
  11014. #, no-wrap
  11015. msgid "Invoking @command{guix pack}"
  11016. msgstr ""
  11017. #. type: Plain text
  11018. #: guix-git/doc/guix.texi:6397
  11019. msgid "Occasionally you want to pass software to people who are not (yet!) lucky enough to be using Guix. You'd tell them to run @command{guix package -i @var{something}}, but that's not possible in this case. This is where @command{guix pack} comes in."
  11020. msgstr ""
  11021. #. type: quotation
  11022. #: guix-git/doc/guix.texi:6402
  11023. msgid "If you are looking for ways to exchange binaries among machines that already run Guix, @pxref{Invoking guix copy}, @ref{Invoking guix publish}, and @ref{Invoking guix archive}."
  11024. msgstr ""
  11025. #. type: cindex
  11026. #: guix-git/doc/guix.texi:6404
  11027. #, no-wrap
  11028. msgid "pack"
  11029. msgstr ""
  11030. #. type: cindex
  11031. #: guix-git/doc/guix.texi:6405
  11032. #, no-wrap
  11033. msgid "bundle"
  11034. msgstr ""
  11035. #. type: cindex
  11036. #: guix-git/doc/guix.texi:6406
  11037. #, no-wrap
  11038. msgid "application bundle"
  11039. msgstr ""
  11040. #. type: cindex
  11041. #: guix-git/doc/guix.texi:6407
  11042. #, no-wrap
  11043. msgid "software bundle"
  11044. msgstr ""
  11045. #. type: Plain text
  11046. #: guix-git/doc/guix.texi:6416
  11047. msgid "The @command{guix pack} command creates a shrink-wrapped @dfn{pack} or @dfn{software bundle}: it creates a tarball or some other archive containing the binaries of the software you're interested in, and all its dependencies. The resulting archive can be used on any machine that does not have Guix, and people can run the exact same binaries as those you have with Guix. The pack itself is created in a bit-reproducible fashion, so anyone can verify that it really contains the build results that you pretend to be shipping."
  11048. msgstr ""
  11049. #. type: Plain text
  11050. #: guix-git/doc/guix.texi:6419
  11051. msgid "For example, to create a bundle containing Guile, Emacs, Geiser, and all their dependencies, you can run:"
  11052. msgstr ""
  11053. #. type: example
  11054. #: guix-git/doc/guix.texi:6424
  11055. #, no-wrap
  11056. msgid ""
  11057. "$ guix pack guile emacs emacs-geiser\n"
  11058. "@dots{}\n"
  11059. "/gnu/store/@dots{}-pack.tar.gz\n"
  11060. msgstr ""
  11061. #. type: Plain text
  11062. #: guix-git/doc/guix.texi:6432
  11063. msgid "The result here is a tarball containing a @file{/gnu/store} directory with all the relevant packages. The resulting tarball contains a @dfn{profile} with the three packages of interest; the profile is the same as would be created by @command{guix package -i}. It is this mechanism that is used to create Guix's own standalone binary tarball (@pxref{Binary Installation})."
  11064. msgstr ""
  11065. #. type: Plain text
  11066. #: guix-git/doc/guix.texi:6437
  11067. msgid "Users of this pack would have to run @file{/gnu/store/@dots{}-profile/bin/guile} to run Guile, which you may find inconvenient. To work around it, you can create, say, a @file{/opt/gnu/bin} symlink to the profile:"
  11068. msgstr ""
  11069. #. type: example
  11070. #: guix-git/doc/guix.texi:6440
  11071. #, no-wrap
  11072. msgid "guix pack -S /opt/gnu/bin=bin guile emacs emacs-geiser\n"
  11073. msgstr ""
  11074. #. type: Plain text
  11075. #: guix-git/doc/guix.texi:6444
  11076. msgid "That way, users can happily type @file{/opt/gnu/bin/guile} and enjoy."
  11077. msgstr ""
  11078. #. type: cindex
  11079. #: guix-git/doc/guix.texi:6445
  11080. #, no-wrap
  11081. msgid "relocatable binaries, with @command{guix pack}"
  11082. msgstr ""
  11083. #. type: Plain text
  11084. #: guix-git/doc/guix.texi:6453
  11085. msgid "What if the recipient of your pack does not have root privileges on their machine, and thus cannot unpack it in the root file system? In that case, you will want to use the @option{--relocatable} option (see below). This option produces @dfn{relocatable binaries}, meaning they they can be placed anywhere in the file system hierarchy: in the example above, users can unpack your tarball in their home directory and directly run @file{./opt/gnu/bin/guile}."
  11086. msgstr ""
  11087. #. type: cindex
  11088. #: guix-git/doc/guix.texi:6454
  11089. #, no-wrap
  11090. msgid "Docker, build an image with guix pack"
  11091. msgstr ""
  11092. #. type: Plain text
  11093. #: guix-git/doc/guix.texi:6457
  11094. msgid "Alternatively, you can produce a pack in the Docker image format using the following command:"
  11095. msgstr ""
  11096. #. type: example
  11097. #: guix-git/doc/guix.texi:6460
  11098. #, no-wrap
  11099. msgid "guix pack -f docker -S /bin=bin guile guile-readline\n"
  11100. msgstr ""
  11101. #. type: Plain text
  11102. #: guix-git/doc/guix.texi:6465
  11103. msgid "The result is a tarball that can be passed to the @command{docker load} command, followed by @code{docker run}:"
  11104. msgstr ""
  11105. #. type: example
  11106. #: guix-git/doc/guix.texi:6469
  11107. #, no-wrap
  11108. msgid ""
  11109. "docker load < @var{file}\n"
  11110. "docker run -ti guile-guile-readline /bin/guile\n"
  11111. msgstr ""
  11112. #. type: Plain text
  11113. #: guix-git/doc/guix.texi:6476
  11114. msgid "where @var{file} is the image returned by @var{guix pack}, and @code{guile-guile-readline} is its ``image tag''. See the @uref{https://docs.docker.com/engine/reference/commandline/load/, Docker documentation} for more information."
  11115. msgstr ""
  11116. #. type: cindex
  11117. #: guix-git/doc/guix.texi:6477
  11118. #, no-wrap
  11119. msgid "Singularity, build an image with guix pack"
  11120. msgstr ""
  11121. #. type: cindex
  11122. #: guix-git/doc/guix.texi:6478
  11123. #, no-wrap
  11124. msgid "SquashFS, build an image with guix pack"
  11125. msgstr ""
  11126. #. type: Plain text
  11127. #: guix-git/doc/guix.texi:6481
  11128. msgid "Yet another option is to produce a SquashFS image with the following command:"
  11129. msgstr ""
  11130. #. type: example
  11131. #: guix-git/doc/guix.texi:6484
  11132. #, no-wrap
  11133. msgid "guix pack -f squashfs bash guile emacs emacs-geiser\n"
  11134. msgstr ""
  11135. #. type: Plain text
  11136. #: guix-git/doc/guix.texi:6492
  11137. msgid "The result is a SquashFS file system image that can either be mounted or directly be used as a file system container image with the @uref{https://www.sylabs.io/docs/, Singularity container execution environment}, using commands like @command{singularity shell} or @command{singularity exec}."
  11138. msgstr ""
  11139. #. type: Plain text
  11140. #: guix-git/doc/guix.texi:6494
  11141. msgid "Several command-line options allow you to customize your pack:"
  11142. msgstr ""
  11143. #. type: table
  11144. #: guix-git/doc/guix.texi:6499
  11145. msgid "Produce a pack in the given @var{format}."
  11146. msgstr ""
  11147. #. type: table
  11148. #: guix-git/doc/guix.texi:6501
  11149. msgid "The available formats are:"
  11150. msgstr ""
  11151. #. type: item
  11152. #: guix-git/doc/guix.texi:6503
  11153. #, no-wrap
  11154. msgid "tarball"
  11155. msgstr ""
  11156. #. type: table
  11157. #: guix-git/doc/guix.texi:6506
  11158. msgid "This is the default format. It produces a tarball containing all the specified binaries and symlinks."
  11159. msgstr ""
  11160. #. type: item
  11161. #: guix-git/doc/guix.texi:6507
  11162. #, no-wrap
  11163. msgid "docker"
  11164. msgstr "Docker"
  11165. #. type: table
  11166. #: guix-git/doc/guix.texi:6513
  11167. msgid "This produces a tarball that follows the @uref{https://github.com/docker/docker/blob/master/image/spec/v1.2.md, Docker Image Specification}. The ``repository name'' as it appears in the output of the @command{docker images} command is computed from package names passed on the command line or in the manifest file."
  11168. msgstr ""
  11169. #. type: item
  11170. #: guix-git/doc/guix.texi:6514
  11171. #, no-wrap
  11172. msgid "squashfs"
  11173. msgstr ""
  11174. #. type: table
  11175. #: guix-git/doc/guix.texi:6518
  11176. msgid "This produces a SquashFS image containing all the specified binaries and symlinks, as well as empty mount points for virtual file systems like procfs."
  11177. msgstr ""
  11178. #. type: quotation
  11179. #: guix-git/doc/guix.texi:6524
  11180. msgid "Singularity @emph{requires} you to provide @file{/bin/sh} in the image. For that reason, @command{guix pack -f squashfs} always implies @code{-S /bin=bin}. Thus, your @command{guix pack} invocation must always start with something like:"
  11181. msgstr ""
  11182. #. type: example
  11183. #: guix-git/doc/guix.texi:6527
  11184. #, no-wrap
  11185. msgid "guix pack -f squashfs bash @dots{}\n"
  11186. msgstr ""
  11187. #. type: quotation
  11188. #: guix-git/doc/guix.texi:6532
  11189. msgid "If you forget the @code{bash} (or similar) package, @command{singularity run} and @command{singularity exec} will fail with an unhelpful ``no such file or directory'' message."
  11190. msgstr ""
  11191. #. type: item
  11192. #: guix-git/doc/guix.texi:6534
  11193. #, no-wrap
  11194. msgid "deb"
  11195. msgstr ""
  11196. #. type: table
  11197. #: guix-git/doc/guix.texi:6542
  11198. msgid "This produces a Debian archive (a package with the @samp{.deb} file extension) containing all the specified binaries and symbolic links, that can be installed on top of any dpkg-based GNU(/Linux) distribution. Advanced options can be revealed via the @option{--help-deb-format} option. They allow embedding control files for more fine-grained control, such as activating specific triggers or providing a maintainer configure script to run arbitrary setup code upon installation."
  11199. msgstr ""
  11200. #. type: example
  11201. #: guix-git/doc/guix.texi:6545
  11202. #, no-wrap
  11203. msgid "guix pack -f deb -C xz -S /usr/bin/hello=bin/hello hello\n"
  11204. msgstr ""
  11205. #. type: quotation
  11206. #: guix-git/doc/guix.texi:6552
  11207. msgid "Because archives produced with @command{guix pack} contain a collection of store items and because each @command{dpkg} package must not have conflicting files, in practice that means you likely won't be able to install more than one such archive on a given system."
  11208. msgstr ""
  11209. #. type: quotation
  11210. #: guix-git/doc/guix.texi:6560
  11211. msgid "@command{dpkg} will assume ownership of any files contained in the pack that it does @emph{not} know about. It is unwise to install Guix-produced @samp{.deb} files on a system where @file{/gnu/store} is shared by other software, such as a Guix installation or other, non-deb packs."
  11212. msgstr ""
  11213. #. type: cindex
  11214. #: guix-git/doc/guix.texi:6564
  11215. #, no-wrap
  11216. msgid "relocatable binaries"
  11217. msgstr ""
  11218. #. type: item
  11219. #: guix-git/doc/guix.texi:6565
  11220. #, no-wrap
  11221. msgid "--relocatable"
  11222. msgstr ""
  11223. #. type: table
  11224. #: guix-git/doc/guix.texi:6569
  11225. msgid "Produce @dfn{relocatable binaries}---i.e., binaries that can be placed anywhere in the file system hierarchy and run from there."
  11226. msgstr ""
  11227. #. type: table
  11228. #: guix-git/doc/guix.texi:6577
  11229. msgid "When this option is passed once, the resulting binaries require support for @dfn{user namespaces} in the kernel Linux; when passed @emph{twice}@footnote{Here's a trick to memorize it: @code{-RR}, which adds PRoot support, can be thought of as the abbreviation of ``Really Relocatable''. Neat, isn't it?}, relocatable binaries fall to back to other techniques if user namespaces are unavailable, and essentially work anywhere---see below for the implications."
  11230. msgstr ""
  11231. #. type: table
  11232. #: guix-git/doc/guix.texi:6579
  11233. msgid "For example, if you create a pack containing Bash with:"
  11234. msgstr ""
  11235. #. type: example
  11236. #: guix-git/doc/guix.texi:6582
  11237. #, no-wrap
  11238. msgid "guix pack -RR -S /mybin=bin bash\n"
  11239. msgstr ""
  11240. #. type: table
  11241. #: guix-git/doc/guix.texi:6587
  11242. msgid "...@: you can copy that pack to a machine that lacks Guix, and from your home directory as a normal user, run:"
  11243. msgstr ""
  11244. #. type: example
  11245. #: guix-git/doc/guix.texi:6591
  11246. #, no-wrap
  11247. msgid ""
  11248. "tar xf pack.tar.gz\n"
  11249. "./mybin/sh\n"
  11250. msgstr ""
  11251. #. type: table
  11252. #: guix-git/doc/guix.texi:6599
  11253. msgid "In that shell, if you type @code{ls /gnu/store}, you'll notice that @file{/gnu/store} shows up and contains all the dependencies of @code{bash}, even though the machine actually lacks @file{/gnu/store} altogether! That is probably the simplest way to deploy Guix-built software on a non-Guix machine."
  11254. msgstr ""
  11255. #. type: quotation
  11256. #: guix-git/doc/guix.texi:6605
  11257. msgid "By default, relocatable binaries rely on the @dfn{user namespace} feature of the kernel Linux, which allows unprivileged users to mount or change root. Old versions of Linux did not support it, and some GNU/Linux distributions turn it off."
  11258. msgstr ""
  11259. #. type: quotation
  11260. #: guix-git/doc/guix.texi:6611
  11261. msgid "To produce relocatable binaries that work even in the absence of user namespaces, pass @option{--relocatable} or @option{-R} @emph{twice}. In that case, binaries will try user namespace support and fall back to another @dfn{execution engine} if user namespaces are not supported. The following execution engines are supported:"
  11262. msgstr ""
  11263. #. type: item
  11264. #: guix-git/doc/guix.texi:6613 guix-git/doc/guix.texi:17858
  11265. #, no-wrap
  11266. msgid "default"
  11267. msgstr "oletus"
  11268. #. type: table
  11269. #: guix-git/doc/guix.texi:6616
  11270. msgid "Try user namespaces and fall back to PRoot if user namespaces are not supported (see below)."
  11271. msgstr ""
  11272. #. type: item
  11273. #: guix-git/doc/guix.texi:6617
  11274. #, no-wrap
  11275. msgid "performance"
  11276. msgstr "suorituskyky"
  11277. #. type: table
  11278. #: guix-git/doc/guix.texi:6620
  11279. msgid "Try user namespaces and fall back to Fakechroot if user namespaces are not supported (see below)."
  11280. msgstr ""
  11281. #. type: item
  11282. #: guix-git/doc/guix.texi:6621
  11283. #, no-wrap
  11284. msgid "userns"
  11285. msgstr ""
  11286. #. type: table
  11287. #: guix-git/doc/guix.texi:6624
  11288. msgid "Run the program through user namespaces and abort if they are not supported."
  11289. msgstr ""
  11290. #. type: item
  11291. #: guix-git/doc/guix.texi:6625
  11292. #, no-wrap
  11293. msgid "proot"
  11294. msgstr ""
  11295. #. type: table
  11296. #: guix-git/doc/guix.texi:6632
  11297. msgid "Run through PRoot. The @uref{https://proot-me.github.io/, PRoot} program provides the necessary support for file system virtualization. It achieves that by using the @code{ptrace} system call on the running program. This approach has the advantage to work without requiring special kernel support, but it incurs run-time overhead every time a system call is made."
  11298. msgstr ""
  11299. #. type: item
  11300. #: guix-git/doc/guix.texi:6633
  11301. #, no-wrap
  11302. msgid "fakechroot"
  11303. msgstr ""
  11304. #. type: table
  11305. #: guix-git/doc/guix.texi:6641
  11306. msgid "Run through Fakechroot. @uref{https://github.com/dex4er/fakechroot/, Fakechroot} virtualizes file system accesses by intercepting calls to C library functions such as @code{open}, @code{stat}, @code{exec}, and so on. Unlike PRoot, it incurs very little overhead. However, it does not always work: for example, some file system accesses made from within the C library are not intercepted, and file system accesses made @i{via} direct syscalls are not intercepted either, leading to erratic behavior."
  11307. msgstr ""
  11308. #. type: vindex
  11309. #: guix-git/doc/guix.texi:6643
  11310. #, no-wrap
  11311. msgid "GUIX_EXECUTION_ENGINE"
  11312. msgstr ""
  11313. #. type: quotation
  11314. #: guix-git/doc/guix.texi:6647
  11315. msgid "When running a wrapped program, you can explicitly request one of the execution engines listed above by setting the @env{GUIX_EXECUTION_ENGINE} environment variable accordingly."
  11316. msgstr ""
  11317. #. type: cindex
  11318. #: guix-git/doc/guix.texi:6649
  11319. #, no-wrap
  11320. msgid "entry point, for Docker images"
  11321. msgstr ""
  11322. #. type: item
  11323. #: guix-git/doc/guix.texi:6650
  11324. #, no-wrap
  11325. msgid "--entry-point=@var{command}"
  11326. msgstr ""
  11327. #. type: table
  11328. #: guix-git/doc/guix.texi:6655
  11329. msgid "Use @var{command} as the @dfn{entry point} of the resulting pack, if the pack format supports it---currently @code{docker} and @code{squashfs} (Singularity) support it. @var{command} must be relative to the profile contained in the pack."
  11330. msgstr ""
  11331. #. type: table
  11332. #: guix-git/doc/guix.texi:6659
  11333. msgid "The entry point specifies the command that tools like @code{docker run} or @code{singularity run} automatically start by default. For example, you can do:"
  11334. msgstr ""
  11335. #. type: example
  11336. #: guix-git/doc/guix.texi:6662
  11337. #, no-wrap
  11338. msgid "guix pack -f docker --entry-point=bin/guile guile\n"
  11339. msgstr ""
  11340. #. type: table
  11341. #: guix-git/doc/guix.texi:6666
  11342. msgid "The resulting pack can easily be loaded and @code{docker run} with no extra arguments will spawn @code{bin/guile}:"
  11343. msgstr ""
  11344. #. type: example
  11345. #: guix-git/doc/guix.texi:6670
  11346. #, no-wrap
  11347. msgid ""
  11348. "docker load -i pack.tar.gz\n"
  11349. "docker run @var{image-id}\n"
  11350. msgstr ""
  11351. #. type: table
  11352. #: guix-git/doc/guix.texi:6675 guix-git/doc/guix.texi:12916
  11353. #: guix-git/doc/guix.texi:13906
  11354. msgid "Consider the package @var{expr} evaluates to."
  11355. msgstr ""
  11356. #. type: table
  11357. #: guix-git/doc/guix.texi:6679
  11358. msgid "This has the same purpose as the same-named option in @command{guix build} (@pxref{Additional Build Options, @option{--expression} in @command{guix build}})."
  11359. msgstr ""
  11360. #. type: table
  11361. #: guix-git/doc/guix.texi:6685
  11362. msgid "Use the packages contained in the manifest object returned by the Scheme code in @var{file}. This option can be repeated several times, in which case the manifests are concatenated."
  11363. msgstr ""
  11364. #. type: table
  11365. #: guix-git/doc/guix.texi:6693
  11366. msgid "This has a similar purpose as the same-named option in @command{guix package} (@pxref{profile-manifest, @option{--manifest}}) and uses the same manifest files. It allows you to define a collection of packages once and use it both for creating profiles and for creating archives for use on machines that do not have Guix installed. Note that you can specify @emph{either} a manifest file @emph{or} a list of packages, but not both."
  11367. msgstr ""
  11368. #. type: item
  11369. #: guix-git/doc/guix.texi:6699 guix-git/doc/guix.texi:11957
  11370. #, no-wrap
  11371. msgid "--target=@var{triplet}"
  11372. msgstr ""
  11373. #. type: cindex
  11374. #: guix-git/doc/guix.texi:6700 guix-git/doc/guix.texi:7146
  11375. #: guix-git/doc/guix.texi:11958
  11376. #, no-wrap
  11377. msgid "cross-compilation"
  11378. msgstr ""
  11379. #. type: table
  11380. #: guix-git/doc/guix.texi:6704
  11381. msgid "Cross-build for @var{triplet}, which must be a valid GNU triplet, such as @code{\"aarch64-linux-gnu\"} (@pxref{Specifying target triplets, GNU configuration triplets,, autoconf, Autoconf})."
  11382. msgstr ""
  11383. #. type: item
  11384. #: guix-git/doc/guix.texi:6705
  11385. #, no-wrap
  11386. msgid "--compression=@var{tool}"
  11387. msgstr ""
  11388. #. type: itemx
  11389. #: guix-git/doc/guix.texi:6706
  11390. #, no-wrap
  11391. msgid "-C @var{tool}"
  11392. msgstr ""
  11393. #. type: table
  11394. #: guix-git/doc/guix.texi:6710
  11395. msgid "Compress the resulting tarball using @var{tool}---one of @code{gzip}, @code{zstd}, @code{bzip2}, @code{xz}, @code{lzip}, or @code{none} for no compression."
  11396. msgstr ""
  11397. #. type: item
  11398. #: guix-git/doc/guix.texi:6711
  11399. #, no-wrap
  11400. msgid "--symlink=@var{spec}"
  11401. msgstr ""
  11402. #. type: itemx
  11403. #: guix-git/doc/guix.texi:6712
  11404. #, no-wrap
  11405. msgid "-S @var{spec}"
  11406. msgstr ""
  11407. #. type: table
  11408. #: guix-git/doc/guix.texi:6715
  11409. msgid "Add the symlinks specified by @var{spec} to the pack. This option can appear several times."
  11410. msgstr ""
  11411. #. type: table
  11412. #: guix-git/doc/guix.texi:6719
  11413. msgid "@var{spec} has the form @code{@var{source}=@var{target}}, where @var{source} is the symlink that will be created and @var{target} is the symlink target."
  11414. msgstr ""
  11415. #. type: table
  11416. #: guix-git/doc/guix.texi:6722
  11417. msgid "For instance, @code{-S /opt/gnu/bin=bin} creates a @file{/opt/gnu/bin} symlink pointing to the @file{bin} sub-directory of the profile."
  11418. msgstr ""
  11419. #. type: item
  11420. #: guix-git/doc/guix.texi:6723 guix-git/doc/guix.texi:35820
  11421. #, no-wrap
  11422. msgid "--save-provenance"
  11423. msgstr ""
  11424. #. type: table
  11425. #: guix-git/doc/guix.texi:6727
  11426. msgid "Save provenance information for the packages passed on the command line. Provenance information includes the URL and commit of the channels in use (@pxref{Channels})."
  11427. msgstr ""
  11428. #. type: table
  11429. #: guix-git/doc/guix.texi:6733
  11430. msgid "Provenance information is saved in the @file{/gnu/store/@dots{}-profile/manifest} file in the pack, along with the usual package metadata---the name and version of each package, their propagated inputs, and so on. It is useful information to the recipient of the pack, who then knows how the pack was (supposedly) obtained."
  11431. msgstr ""
  11432. #. type: table
  11433. #: guix-git/doc/guix.texi:6739
  11434. msgid "This option is not enabled by default because, like timestamps, provenance information contributes nothing to the build process. In other words, there is an infinity of channel URLs and commit IDs that can lead to the same pack. Recording such ``silent'' metadata in the output thus potentially breaks the source-to-binary bitwise reproducibility property."
  11435. msgstr ""
  11436. #. type: cindex
  11437. #: guix-git/doc/guix.texi:6742
  11438. #, no-wrap
  11439. msgid "garbage collector root, for packs"
  11440. msgstr ""
  11441. #. type: table
  11442. #: guix-git/doc/guix.texi:6745
  11443. msgid "Make @var{file} a symlink to the resulting pack, and register it as a garbage collector root."
  11444. msgstr ""
  11445. #. type: item
  11446. #: guix-git/doc/guix.texi:6746
  11447. #, no-wrap
  11448. msgid "--localstatedir"
  11449. msgstr ""
  11450. #. type: itemx
  11451. #: guix-git/doc/guix.texi:6747
  11452. #, no-wrap
  11453. msgid "--profile-name=@var{name}"
  11454. msgstr ""
  11455. #. type: table
  11456. #: guix-git/doc/guix.texi:6752
  11457. msgid "Include the ``local state directory'', @file{/var/guix}, in the resulting pack, and notably the @file{/var/guix/profiles/per-user/root/@var{name}} profile---by default @var{name} is @code{guix-profile}, which corresponds to @file{~root/.guix-profile}."
  11458. msgstr ""
  11459. #. type: table
  11460. #: guix-git/doc/guix.texi:6758
  11461. msgid "@file{/var/guix} contains the store database (@pxref{The Store}) as well as garbage-collector roots (@pxref{Invoking guix gc}). Providing it in the pack means that the store is ``complete'' and manageable by Guix; not providing it pack means that the store is ``dead'': items cannot be added to it or removed from it after extraction of the pack."
  11462. msgstr ""
  11463. #. type: table
  11464. #: guix-git/doc/guix.texi:6761
  11465. msgid "One use case for this is the Guix self-contained binary tarball (@pxref{Binary Installation})."
  11466. msgstr ""
  11467. #. type: item
  11468. #: guix-git/doc/guix.texi:6762 guix-git/doc/guix.texi:35814
  11469. #, no-wrap
  11470. msgid "--derivation"
  11471. msgstr ""
  11472. #. type: itemx
  11473. #: guix-git/doc/guix.texi:6763 guix-git/doc/guix.texi:11989
  11474. #: guix-git/doc/guix.texi:35815
  11475. #, no-wrap
  11476. msgid "-d"
  11477. msgstr ""
  11478. #. type: table
  11479. #: guix-git/doc/guix.texi:6765
  11480. msgid "Print the name of the derivation that builds the pack."
  11481. msgstr ""
  11482. #. type: table
  11483. #: guix-git/doc/guix.texi:6769
  11484. msgid "Use the bootstrap binaries to build the pack. This option is only useful to Guix developers."
  11485. msgstr ""
  11486. #. type: Plain text
  11487. #: guix-git/doc/guix.texi:6774
  11488. msgid "In addition, @command{guix pack} supports all the common build options (@pxref{Common Build Options}) and all the package transformation options (@pxref{Package Transformation Options})."
  11489. msgstr ""
  11490. #. type: cindex
  11491. #: guix-git/doc/guix.texi:6779
  11492. #, no-wrap
  11493. msgid "GCC"
  11494. msgstr ""
  11495. #. type: cindex
  11496. #: guix-git/doc/guix.texi:6780
  11497. #, no-wrap
  11498. msgid "ld-wrapper"
  11499. msgstr ""
  11500. #. type: cindex
  11501. #: guix-git/doc/guix.texi:6781
  11502. #, no-wrap
  11503. msgid "linker wrapper"
  11504. msgstr ""
  11505. #. type: cindex
  11506. #: guix-git/doc/guix.texi:6782
  11507. #, no-wrap
  11508. msgid "toolchain, for C development"
  11509. msgstr ""
  11510. #. type: cindex
  11511. #: guix-git/doc/guix.texi:6783
  11512. #, no-wrap
  11513. msgid "toolchain, for Fortran development"
  11514. msgstr ""
  11515. #. type: Plain text
  11516. #: guix-git/doc/guix.texi:6790
  11517. msgid "If you need a complete toolchain for compiling and linking C or C++ source code, use the @code{gcc-toolchain} package. This package provides a complete GCC toolchain for C/C++ development, including GCC itself, the GNU C Library (headers and binaries, plus debugging symbols in the @code{debug} output), Binutils, and a linker wrapper."
  11518. msgstr ""
  11519. #. type: Plain text
  11520. #: guix-git/doc/guix.texi:6796
  11521. msgid "The wrapper's purpose is to inspect the @code{-L} and @code{-l} switches passed to the linker, add corresponding @code{-rpath} arguments, and invoke the actual linker with this new set of arguments. You can instruct the wrapper to refuse to link against libraries not in the store by setting the @env{GUIX_LD_WRAPPER_ALLOW_IMPURITIES} environment variable to @code{no}."
  11522. msgstr ""
  11523. #. type: Plain text
  11524. #: guix-git/doc/guix.texi:6800
  11525. msgid "The package @code{gfortran-toolchain} provides a complete GCC toolchain for Fortran development. For other languages, please use @samp{guix search gcc toolchain} (@pxref{guix-search,, Invoking guix package})."
  11526. msgstr ""
  11527. #. type: section
  11528. #: guix-git/doc/guix.texi:6803
  11529. #, no-wrap
  11530. msgid "Invoking @command{guix git authenticate}"
  11531. msgstr ""
  11532. #. type: Plain text
  11533. #: guix-git/doc/guix.texi:6811
  11534. msgid "The @command{guix git authenticate} command authenticates a Git checkout following the same rule as for channels (@pxref{channel-authentication, channel authentication}). That is, starting from a given commit, it ensures that all subsequent commits are signed by an OpenPGP key whose fingerprint appears in the @file{.guix-authorizations} file of its parent commit(s)."
  11535. msgstr ""
  11536. #. type: Plain text
  11537. #: guix-git/doc/guix.texi:6816
  11538. msgid "You will find this command useful if you maintain a channel. But in fact, this authentication mechanism is useful in a broader context, so you might want to use it for Git repositories that have nothing to do with Guix."
  11539. msgstr ""
  11540. #. type: example
  11541. #: guix-git/doc/guix.texi:6821
  11542. #, no-wrap
  11543. msgid "guix git authenticate @var{commit} @var{signer} [@var{options}@dots{}]\n"
  11544. msgstr ""
  11545. #. type: Plain text
  11546. #: guix-git/doc/guix.texi:6830
  11547. msgid "By default, this command authenticates the Git checkout in the current directory; it outputs nothing and exits with exit code zero on success and non-zero on failure. @var{commit} above denotes the first commit where authentication takes place, and @var{signer} is the OpenPGP fingerprint of public key used to sign @var{commit}. Together, they form a ``channel introduction'' (@pxref{channel-authentication, channel introduction}). The options below allow you to fine-tune the process."
  11548. msgstr ""
  11549. #. type: item
  11550. #: guix-git/doc/guix.texi:6832
  11551. #, no-wrap
  11552. msgid "--repository=@var{directory}"
  11553. msgstr ""
  11554. #. type: itemx
  11555. #: guix-git/doc/guix.texi:6833
  11556. #, no-wrap
  11557. msgid "-r @var{directory}"
  11558. msgstr ""
  11559. #. type: table
  11560. #: guix-git/doc/guix.texi:6836
  11561. msgid "Open the Git repository in @var{directory} instead of the current directory."
  11562. msgstr ""
  11563. #. type: item
  11564. #: guix-git/doc/guix.texi:6837
  11565. #, no-wrap
  11566. msgid "--keyring=@var{reference}"
  11567. msgstr ""
  11568. #. type: itemx
  11569. #: guix-git/doc/guix.texi:6838
  11570. #, no-wrap
  11571. msgid "-k @var{reference}"
  11572. msgstr ""
  11573. #. type: table
  11574. #: guix-git/doc/guix.texi:6844
  11575. msgid "Load OpenPGP keyring from @var{reference}, the reference of a branch such as @code{origin/keyring} or @code{my-keyring}. The branch must contain OpenPGP public keys in @file{.key} files, either in binary form or ``ASCII-armored''. By default the keyring is loaded from the branch named @code{keyring}."
  11576. msgstr ""
  11577. #. type: item
  11578. #: guix-git/doc/guix.texi:6845
  11579. #, no-wrap
  11580. msgid "--stats"
  11581. msgstr ""
  11582. #. type: table
  11583. #: guix-git/doc/guix.texi:6847
  11584. msgid "Display commit signing statistics upon completion."
  11585. msgstr ""
  11586. #. type: item
  11587. #: guix-git/doc/guix.texi:6848
  11588. #, no-wrap
  11589. msgid "--cache-key=@var{key}"
  11590. msgstr ""
  11591. #. type: table
  11592. #: guix-git/doc/guix.texi:6852
  11593. msgid "Previously-authenticated commits are cached in a file under @file{~/.cache/guix/authentication}. This option forces the cache to be stored in file @var{key} in that directory."
  11594. msgstr ""
  11595. #. type: item
  11596. #: guix-git/doc/guix.texi:6853
  11597. #, no-wrap
  11598. msgid "--historical-authorizations=@var{file}"
  11599. msgstr ""
  11600. #. type: table
  11601. #: guix-git/doc/guix.texi:6860
  11602. msgid "By default, any commit whose parent commit(s) lack the @file{.guix-authorizations} file is considered inauthentic. In contrast, this option considers the authorizations in @var{file} for any commit that lacks @file{.guix-authorizations}. The format of @var{file} is the same as that of @file{.guix-authorizations} (@pxref{channel-authorizations, @file{.guix-authorizations} format})."
  11603. msgstr ""
  11604. #. type: Plain text
  11605. #: guix-git/doc/guix.texi:6873
  11606. msgid "GNU Guix provides several Scheme programming interfaces (APIs) to define, build, and query packages. The first interface allows users to write high-level package definitions. These definitions refer to familiar packaging concepts, such as the name and version of a package, its build system, and its dependencies. These definitions can then be turned into concrete build actions."
  11607. msgstr ""
  11608. #. type: Plain text
  11609. #: guix-git/doc/guix.texi:6879
  11610. msgid "Build actions are performed by the Guix daemon, on behalf of users. In a standard setup, the daemon has write access to the store---the @file{/gnu/store} directory---whereas users do not. The recommended setup also has the daemon perform builds in chroots, under specific build users, to minimize interference with the rest of the system."
  11611. msgstr ""
  11612. #. type: Plain text
  11613. #: guix-git/doc/guix.texi:6888
  11614. msgid "Lower-level APIs are available to interact with the daemon and the store. To instruct the daemon to perform a build action, users actually provide it with a @dfn{derivation}. A derivation is a low-level representation of the build actions to be taken, and the environment in which they should occur---derivations are to package definitions what assembly is to C programs. The term ``derivation'' comes from the fact that build results @emph{derive} from them."
  11615. msgstr ""
  11616. #. type: Plain text
  11617. #: guix-git/doc/guix.texi:6891
  11618. msgid "This chapter describes all these APIs in turn, starting from high-level package definitions."
  11619. msgstr ""
  11620. #. type: menuentry
  11621. #: guix-git/doc/guix.texi:6905
  11622. msgid "Programming Guix in Guile"
  11623. msgstr ""
  11624. #. type: Plain text
  11625. #: guix-git/doc/guix.texi:6921
  11626. msgid "From a programming viewpoint, the package definitions of the GNU distribution are provided by Guile modules in the @code{(gnu packages @dots{})} name space@footnote{Note that packages under the @code{(gnu packages @dots{})} module name space are not necessarily ``GNU packages''. This module naming scheme follows the usual Guile module naming convention: @code{gnu} means that these modules are distributed as part of the GNU system, and @code{packages} identifies modules that define packages.} (@pxref{Modules, Guile modules,, guile, GNU Guile Reference Manual}). For instance, the @code{(gnu packages emacs)} module exports a variable named @code{emacs}, which is bound to a @code{<package>} object (@pxref{Defining Packages})."
  11627. msgstr ""
  11628. #. type: Plain text
  11629. #: guix-git/doc/guix.texi:6928
  11630. msgid "The @code{(gnu packages @dots{})} module name space is automatically scanned for packages by the command-line tools. For instance, when running @code{guix install emacs}, all the @code{(gnu packages @dots{})} modules are scanned until one that exports a package object whose name is @code{emacs} is found. This package search facility is implemented in the @code{(gnu packages)} module."
  11631. msgstr ""
  11632. #. type: cindex
  11633. #: guix-git/doc/guix.texi:6930
  11634. #, no-wrap
  11635. msgid "package module search path"
  11636. msgstr ""
  11637. #. type: Plain text
  11638. #: guix-git/doc/guix.texi:6939
  11639. msgid "Users can store package definitions in modules with different names---e.g., @code{(my-packages emacs)}@footnote{Note that the file name and module name must match. For instance, the @code{(my-packages emacs)} module must be stored in a @file{my-packages/emacs.scm} file relative to the load path specified with @option{--load-path} or @env{GUIX_PACKAGE_PATH}. @xref{Modules and the File System,,, guile, GNU Guile Reference Manual}, for details.}. There are two ways to make these package definitions visible to the user interfaces:"
  11640. msgstr ""
  11641. #. type: enumerate
  11642. #: guix-git/doc/guix.texi:6946
  11643. msgid "By adding the directory containing your package modules to the search path with the @code{-L} flag of @command{guix package} and other commands (@pxref{Common Build Options}), or by setting the @env{GUIX_PACKAGE_PATH} environment variable described below."
  11644. msgstr ""
  11645. #. type: enumerate
  11646. #: guix-git/doc/guix.texi:6952
  11647. msgid "By defining a @dfn{channel} and configuring @command{guix pull} so that it pulls from it. A channel is essentially a Git repository containing package modules. @xref{Channels}, for more information on how to define and use channels."
  11648. msgstr ""
  11649. #. type: Plain text
  11650. #: guix-git/doc/guix.texi:6955
  11651. msgid "@env{GUIX_PACKAGE_PATH} works similarly to other search path variables:"
  11652. msgstr ""
  11653. #. type: defvr
  11654. #: guix-git/doc/guix.texi:6956
  11655. #, no-wrap
  11656. msgid "{Environment Variable} GUIX_PACKAGE_PATH"
  11657. msgstr ""
  11658. #. type: defvr
  11659. #: guix-git/doc/guix.texi:6960
  11660. msgid "This is a colon-separated list of directories to search for additional package modules. Directories listed in this variable take precedence over the own modules of the distribution."
  11661. msgstr ""
  11662. #. type: Plain text
  11663. #: guix-git/doc/guix.texi:6968
  11664. msgid "The distribution is fully @dfn{bootstrapped} and @dfn{self-contained}: each package is built based solely on other packages in the distribution. The root of this dependency graph is a small set of @dfn{bootstrap binaries}, provided by the @code{(gnu packages bootstrap)} module. For more information on bootstrapping, @pxref{Bootstrapping}."
  11665. msgstr ""
  11666. #. type: Plain text
  11667. #: guix-git/doc/guix.texi:6976
  11668. msgid "The high-level interface to package definitions is implemented in the @code{(guix packages)} and @code{(guix build-system)} modules. As an example, the package definition, or @dfn{recipe}, for the GNU Hello package looks like this:"
  11669. msgstr ""
  11670. #. type: lisp
  11671. #: guix-git/doc/guix.texi:6984
  11672. #, no-wrap
  11673. msgid ""
  11674. "(define-module (gnu packages hello)\n"
  11675. " #:use-module (guix packages)\n"
  11676. " #:use-module (guix download)\n"
  11677. " #:use-module (guix build-system gnu)\n"
  11678. " #:use-module (guix licenses)\n"
  11679. " #:use-module (gnu packages gawk))\n"
  11680. "\n"
  11681. msgstr ""
  11682. #. type: lisp
  11683. #: guix-git/doc/guix.texi:7003
  11684. #, no-wrap
  11685. msgid ""
  11686. "(define-public hello\n"
  11687. " (package\n"
  11688. " (name \"hello\")\n"
  11689. " (version \"2.10\")\n"
  11690. " (source (origin\n"
  11691. " (method url-fetch)\n"
  11692. " (uri (string-append \"mirror://gnu/hello/hello-\" version\n"
  11693. " \".tar.gz\"))\n"
  11694. " (sha256\n"
  11695. " (base32\n"
  11696. " \"0ssi1wpaf7plaswqqjwigppsg5fyh99vdlb9kzl7c9lng89ndq1i\"))))\n"
  11697. " (build-system gnu-build-system)\n"
  11698. " (arguments '(#:configure-flags '(\"--enable-silent-rules\")))\n"
  11699. " (inputs (list gawk))\n"
  11700. " (synopsis \"Hello, GNU world: An example GNU package\")\n"
  11701. " (description \"Guess what GNU Hello prints!\")\n"
  11702. " (home-page \"https://www.gnu.org/software/hello/\")\n"
  11703. " (license gpl3+)))\n"
  11704. msgstr ""
  11705. #. type: Plain text
  11706. #: guix-git/doc/guix.texi:7013
  11707. msgid "Without being a Scheme expert, the reader may have guessed the meaning of the various fields here. This expression binds the variable @code{hello} to a @code{<package>} object, which is essentially a record (@pxref{SRFI-9, Scheme records,, guile, GNU Guile Reference Manual}). This package object can be inspected using procedures found in the @code{(guix packages)} module; for instance, @code{(package-name hello)} returns---surprise!---@code{\"hello\"}."
  11708. msgstr ""
  11709. #. type: Plain text
  11710. #: guix-git/doc/guix.texi:7017
  11711. msgid "With luck, you may be able to import part or all of the definition of the package you are interested in from another repository, using the @code{guix import} command (@pxref{Invoking guix import})."
  11712. msgstr ""
  11713. #. type: Plain text
  11714. #: guix-git/doc/guix.texi:7023
  11715. msgid "In the example above, @code{hello} is defined in a module of its own, @code{(gnu packages hello)}. Technically, this is not strictly necessary, but it is convenient to do so: all the packages defined in modules under @code{(gnu packages @dots{})} are automatically known to the command-line tools (@pxref{Package Modules})."
  11716. msgstr ""
  11717. #. type: Plain text
  11718. #: guix-git/doc/guix.texi:7025
  11719. msgid "There are a few points worth noting in the above package definition:"
  11720. msgstr ""
  11721. #. type: itemize
  11722. #: guix-git/doc/guix.texi:7032
  11723. msgid "The @code{source} field of the package is an @code{<origin>} object (@pxref{origin Reference}, for the complete reference). Here, the @code{url-fetch} method from @code{(guix download)} is used, meaning that the source is a file to be downloaded over FTP or HTTP."
  11724. msgstr ""
  11725. #. type: itemize
  11726. #: guix-git/doc/guix.texi:7035
  11727. msgid "The @code{mirror://gnu} prefix instructs @code{url-fetch} to use one of the GNU mirrors defined in @code{(guix download)}."
  11728. msgstr ""
  11729. #. type: itemize
  11730. #: guix-git/doc/guix.texi:7042
  11731. msgid "The @code{sha256} field specifies the expected SHA256 hash of the file being downloaded. It is mandatory, and allows Guix to check the integrity of the file. The @code{(base32 @dots{})} form introduces the base32 representation of the hash. You can obtain this information with @code{guix download} (@pxref{Invoking guix download}) and @code{guix hash} (@pxref{Invoking guix hash})."
  11732. msgstr ""
  11733. #. type: cindex
  11734. #: guix-git/doc/guix.texi:7043
  11735. #, no-wrap
  11736. msgid "patches"
  11737. msgstr "paikkauksia"
  11738. #. type: itemize
  11739. #: guix-git/doc/guix.texi:7047
  11740. msgid "When needed, the @code{origin} form can also have a @code{patches} field listing patches to be applied, and a @code{snippet} field giving a Scheme expression to modify the source code."
  11741. msgstr ""
  11742. #. type: cindex
  11743. #: guix-git/doc/guix.texi:7049
  11744. #, no-wrap
  11745. msgid "GNU Build System"
  11746. msgstr ""
  11747. #. type: itemize
  11748. #: guix-git/doc/guix.texi:7055
  11749. msgid "The @code{build-system} field specifies the procedure to build the package (@pxref{Build Systems}). Here, @code{gnu-build-system} represents the familiar GNU Build System, where packages may be configured, built, and installed with the usual @code{./configure && make && make check && make install} command sequence."
  11750. msgstr ""
  11751. #. type: itemize
  11752. #: guix-git/doc/guix.texi:7059
  11753. msgid "When you start packaging non-trivial software, you may need tools to manipulate those build phases, manipulate files, and so on. @xref{Build Utilities}, for more on this."
  11754. msgstr ""
  11755. #. type: itemize
  11756. #: guix-git/doc/guix.texi:7065
  11757. msgid "The @code{arguments} field specifies options for the build system (@pxref{Build Systems}). Here it is interpreted by @code{gnu-build-system} as a request run @file{configure} with the @option{--enable-silent-rules} flag."
  11758. msgstr ""
  11759. #. type: findex
  11760. #: guix-git/doc/guix.texi:7066 guix-git/doc/guix.texi:7069
  11761. #, no-wrap
  11762. msgid "quote"
  11763. msgstr ""
  11764. #. type: cindex
  11765. #: guix-git/doc/guix.texi:7067
  11766. #, no-wrap
  11767. msgid "quoting"
  11768. msgstr ""
  11769. #. type: findex
  11770. #: guix-git/doc/guix.texi:7068
  11771. #, no-wrap
  11772. msgid "'"
  11773. msgstr ""
  11774. #. type: cindex
  11775. #: guix-git/doc/guix.texi:7070
  11776. #, no-wrap
  11777. msgid "backquote (quasiquote)"
  11778. msgstr ""
  11779. #. type: findex
  11780. #: guix-git/doc/guix.texi:7071
  11781. #, no-wrap
  11782. msgid "`"
  11783. msgstr ""
  11784. #. type: findex
  11785. #: guix-git/doc/guix.texi:7072
  11786. #, no-wrap
  11787. msgid "quasiquote"
  11788. msgstr ""
  11789. #. type: cindex
  11790. #: guix-git/doc/guix.texi:7073
  11791. #, no-wrap
  11792. msgid "comma (unquote)"
  11793. msgstr ""
  11794. #. type: findex
  11795. #: guix-git/doc/guix.texi:7074
  11796. #, no-wrap
  11797. msgid ","
  11798. msgstr ""
  11799. #. type: findex
  11800. #: guix-git/doc/guix.texi:7075
  11801. #, no-wrap
  11802. msgid "unquote"
  11803. msgstr ""
  11804. #. type: itemize
  11805. #: guix-git/doc/guix.texi:7085
  11806. msgid "What about these quote (@code{'}) characters? They are Scheme syntax to introduce a literal list; @code{'} is synonymous with @code{quote}. Sometimes you'll also see @code{`} (a backquote, synonymous with @code{quasiquote}) and @code{,} (a comma, synonymous with @code{unquote}). @xref{Expression Syntax, quoting,, guile, GNU Guile Reference Manual}, for details. Here the value of the @code{arguments} field is a list of arguments passed to the build system down the road, as with @code{apply} (@pxref{Fly Evaluation, @code{apply},, guile, GNU Guile Reference Manual})."
  11807. msgstr ""
  11808. #. type: itemize
  11809. #: guix-git/doc/guix.texi:7091
  11810. msgid "The hash-colon (@code{#:}) sequence defines a Scheme @dfn{keyword} (@pxref{Keywords,,, guile, GNU Guile Reference Manual}), and @code{#:configure-flags} is a keyword used to pass a keyword argument to the build system (@pxref{Coding With Keywords,,, guile, GNU Guile Reference Manual})."
  11811. msgstr ""
  11812. #. type: itemize
  11813. #: guix-git/doc/guix.texi:7097
  11814. msgid "The @code{inputs} field specifies inputs to the build process---i.e., build-time or run-time dependencies of the package. Here, we add an input, a reference to the @code{gawk} variable; @code{gawk} is itself bound to a @code{<package>} object."
  11815. msgstr ""
  11816. #. type: itemize
  11817. #: guix-git/doc/guix.texi:7101
  11818. msgid "Note that GCC, Coreutils, Bash, and other essential tools do not need to be specified as inputs here. Instead, @code{gnu-build-system} takes care of ensuring that they are present (@pxref{Build Systems})."
  11819. msgstr ""
  11820. #. type: itemize
  11821. #: guix-git/doc/guix.texi:7105
  11822. msgid "However, any other dependencies need to be specified in the @code{inputs} field. Any dependency not specified here will simply be unavailable to the build process, possibly leading to a build failure."
  11823. msgstr ""
  11824. #. type: Plain text
  11825. #: guix-git/doc/guix.texi:7108
  11826. msgid "@xref{package Reference}, for a full description of possible fields."
  11827. msgstr ""
  11828. #. type: Plain text
  11829. #: guix-git/doc/guix.texi:7119
  11830. msgid "Once a package definition is in place, the package may actually be built using the @code{guix build} command-line tool (@pxref{Invoking guix build}), troubleshooting any build failures you encounter (@pxref{Debugging Build Failures}). You can easily jump back to the package definition using the @command{guix edit} command (@pxref{Invoking guix edit}). @xref{Packaging Guidelines}, for more information on how to test package definitions, and @ref{Invoking guix lint}, for information on how to check a definition for style conformance."
  11831. msgstr ""
  11832. #. type: vindex
  11833. #: guix-git/doc/guix.texi:7119
  11834. #, no-wrap
  11835. msgid "GUIX_PACKAGE_PATH"
  11836. msgstr ""
  11837. #. type: Plain text
  11838. #: guix-git/doc/guix.texi:7123
  11839. msgid "Lastly, @pxref{Channels}, for information on how to extend the distribution by adding your own package definitions in a ``channel''."
  11840. msgstr ""
  11841. #. type: Plain text
  11842. #: guix-git/doc/guix.texi:7127
  11843. msgid "Finally, updating the package definition to a new upstream version can be partly automated by the @command{guix refresh} command (@pxref{Invoking guix refresh})."
  11844. msgstr ""
  11845. #. type: Plain text
  11846. #: guix-git/doc/guix.texi:7133
  11847. msgid "Behind the scenes, a derivation corresponding to the @code{<package>} object is first computed by the @code{package-derivation} procedure. That derivation is stored in a @file{.drv} file under @file{/gnu/store}. The build actions it prescribes may then be realized by using the @code{build-derivations} procedure (@pxref{The Store})."
  11848. msgstr ""
  11849. #. type: deffn
  11850. #: guix-git/doc/guix.texi:7134
  11851. #, no-wrap
  11852. msgid "{Scheme Procedure} package-derivation @var{store} @var{package} [@var{system}]"
  11853. msgstr ""
  11854. #. type: deffn
  11855. #: guix-git/doc/guix.texi:7137
  11856. msgid "Return the @code{<derivation>} object of @var{package} for @var{system} (@pxref{Derivations})."
  11857. msgstr ""
  11858. #. type: deffn
  11859. #: guix-git/doc/guix.texi:7143
  11860. msgid "@var{package} must be a valid @code{<package>} object, and @var{system} must be a string denoting the target system type---e.g., @code{\"x86_64-linux\"} for an x86_64 Linux-based GNU system. @var{store} must be a connection to the daemon, which operates on the store (@pxref{The Store})."
  11861. msgstr ""
  11862. #. type: Plain text
  11863. #: guix-git/doc/guix.texi:7149
  11864. msgid "Similarly, it is possible to compute a derivation that cross-builds a package for some other system:"
  11865. msgstr ""
  11866. #. type: deffn
  11867. #: guix-git/doc/guix.texi:7150
  11868. #, no-wrap
  11869. msgid "{Scheme Procedure} package-cross-derivation @var{store} @"
  11870. msgstr ""
  11871. #. type: deffn
  11872. #: guix-git/doc/guix.texi:7154
  11873. msgid "@var{package} @var{target} [@var{system}] Return the @code{<derivation>} object of @var{package} cross-built from @var{system} to @var{target}."
  11874. msgstr ""
  11875. #. type: deffn
  11876. #: guix-git/doc/guix.texi:7158
  11877. msgid "@var{target} must be a valid GNU triplet denoting the target hardware and operating system, such as @code{\"aarch64-linux-gnu\"} (@pxref{Specifying Target Triplets,,, autoconf, Autoconf})."
  11878. msgstr ""
  11879. #. type: Plain text
  11880. #: guix-git/doc/guix.texi:7162
  11881. msgid "Once you have package definitions, you can easily define @emph{variants} of those packages. @xref{Defining Package Variants}, for more on that."
  11882. msgstr ""
  11883. #. type: subsection
  11884. #: guix-git/doc/guix.texi:7170
  11885. #, no-wrap
  11886. msgid "@code{package} Reference"
  11887. msgstr ""
  11888. #. type: Plain text
  11889. #: guix-git/doc/guix.texi:7174
  11890. msgid "This section summarizes all the options available in @code{package} declarations (@pxref{Defining Packages})."
  11891. msgstr ""
  11892. #. type: deftp
  11893. #: guix-git/doc/guix.texi:7175
  11894. #, no-wrap
  11895. msgid "{Data Type} package"
  11896. msgstr ""
  11897. #. type: deftp
  11898. #: guix-git/doc/guix.texi:7177
  11899. msgid "This is the data type representing a package recipe."
  11900. msgstr ""
  11901. #. type: table
  11902. #: guix-git/doc/guix.texi:7181
  11903. msgid "The name of the package, as a string."
  11904. msgstr ""
  11905. #. type: code{#1}
  11906. #: guix-git/doc/guix.texi:7182
  11907. #, no-wrap
  11908. msgid "version"
  11909. msgstr "versio"
  11910. #. type: table
  11911. #: guix-git/doc/guix.texi:7185
  11912. msgid "The version of the package, as a string. @xref{Version Numbers}, for guidelines."
  11913. msgstr ""
  11914. #. type: code{#1}
  11915. #: guix-git/doc/guix.texi:7186 guix-git/doc/guix.texi:13361
  11916. #: guix-git/doc/guix.texi:15642 guix-git/doc/guix.texi:16268
  11917. #, no-wrap
  11918. msgid "source"
  11919. msgstr "lähde"
  11920. #. type: table
  11921. #: guix-git/doc/guix.texi:7193
  11922. msgid "An object telling how the source code for the package should be acquired. Most of the time, this is an @code{origin} object, which denotes a file fetched from the Internet (@pxref{origin Reference}). It can also be any other ``file-like'' object such as a @code{local-file}, which denotes a file from the local file system (@pxref{G-Expressions, @code{local-file}})."
  11923. msgstr ""
  11924. #. type: code{#1}
  11925. #: guix-git/doc/guix.texi:7194
  11926. #, no-wrap
  11927. msgid "build-system"
  11928. msgstr ""
  11929. #. type: table
  11930. #: guix-git/doc/guix.texi:7197
  11931. msgid "The build system that should be used to build the package (@pxref{Build Systems})."
  11932. msgstr ""
  11933. #. type: item
  11934. #: guix-git/doc/guix.texi:7198 guix-git/doc/guix.texi:18440
  11935. #, no-wrap
  11936. msgid "@code{arguments} (default: @code{'()})"
  11937. msgstr ""
  11938. #. type: table
  11939. #: guix-git/doc/guix.texi:7201
  11940. msgid "The arguments that should be passed to the build system. This is a list, typically containing sequential keyword-value pairs."
  11941. msgstr ""
  11942. #. type: item
  11943. #: guix-git/doc/guix.texi:7202
  11944. #, no-wrap
  11945. msgid "@code{inputs} (default: @code{'()})"
  11946. msgstr ""
  11947. #. type: itemx
  11948. #: guix-git/doc/guix.texi:7203
  11949. #, no-wrap
  11950. msgid "@code{native-inputs} (default: @code{'()})"
  11951. msgstr ""
  11952. #. type: itemx
  11953. #: guix-git/doc/guix.texi:7204
  11954. #, no-wrap
  11955. msgid "@code{propagated-inputs} (default: @code{'()})"
  11956. msgstr ""
  11957. #. type: cindex
  11958. #: guix-git/doc/guix.texi:7205
  11959. #, no-wrap
  11960. msgid "inputs, of packages"
  11961. msgstr ""
  11962. #. type: table
  11963. #: guix-git/doc/guix.texi:7212
  11964. msgid "These fields list dependencies of the package. Each element of these lists is either a package, origin, or other ``file-like object'' (@pxref{G-Expressions}); to specify the output of that file-like object that should be used, pass a two-element list where the second element is the output (@pxref{Packages with Multiple Outputs}, for more on package outputs). For example, the list below specifies three inputs:"
  11965. msgstr ""
  11966. #. type: lisp
  11967. #: guix-git/doc/guix.texi:7216
  11968. #, no-wrap
  11969. msgid ""
  11970. "(list libffi libunistring\n"
  11971. " `(,glib \"bin\")) ;the \"bin\" output of GLib\n"
  11972. msgstr ""
  11973. #. type: table
  11974. #: guix-git/doc/guix.texi:7220
  11975. msgid "In the example above, the @code{\"out\"} output of @code{libffi} and @code{libunistring} is used."
  11976. msgstr ""
  11977. #. type: quotation
  11978. #: guix-git/doc/guix.texi:7221
  11979. #, no-wrap
  11980. msgid "Compatibility Note"
  11981. msgstr ""
  11982. #. type: quotation
  11983. #: guix-git/doc/guix.texi:7228
  11984. msgid "Until version 1.3.0, input lists were a list of tuples, where each tuple has a label for the input (a string) as its first element, a package, origin, or derivation as its second element, and optionally the name of the output thereof that should be used, which defaults to @code{\"out\"}. For example, the list below is equivalent to the one above, but using the @dfn{old input style}:"
  11985. msgstr ""
  11986. #. type: lisp
  11987. #: guix-git/doc/guix.texi:7234
  11988. #, no-wrap
  11989. msgid ""
  11990. ";; Old input style (deprecated).\n"
  11991. "`((\"libffi\" ,libffi)\n"
  11992. " (\"libunistring\" ,libunistring)\n"
  11993. " (\"glib:bin\" ,glib \"bin\")) ;the \"bin\" output of GLib\n"
  11994. msgstr ""
  11995. #. type: quotation
  11996. #: guix-git/doc/guix.texi:7240
  11997. msgid "This style is now deprecated; it is still supported but support will be removed in a future version. It should not be used for new package definitions. @xref{Invoking guix style}, on how to migrate to the new style."
  11998. msgstr ""
  11999. #. type: cindex
  12000. #: guix-git/doc/guix.texi:7242
  12001. #, no-wrap
  12002. msgid "cross compilation, package dependencies"
  12003. msgstr ""
  12004. #. type: table
  12005. #: guix-git/doc/guix.texi:7248
  12006. msgid "The distinction between @code{native-inputs} and @code{inputs} is necessary when considering cross-compilation. When cross-compiling, dependencies listed in @code{inputs} are built for the @emph{target} architecture; conversely, dependencies listed in @code{native-inputs} are built for the architecture of the @emph{build} machine."
  12007. msgstr ""
  12008. #. type: table
  12009. #: guix-git/doc/guix.texi:7253
  12010. msgid "@code{native-inputs} is typically used to list tools needed at build time, but not at run time, such as Autoconf, Automake, pkg-config, Gettext, or Bison. @command{guix lint} can report likely mistakes in this area (@pxref{Invoking guix lint})."
  12011. msgstr ""
  12012. #. type: anchor{#1}
  12013. #: guix-git/doc/guix.texi:7261
  12014. msgid "package-propagated-inputs"
  12015. msgstr ""
  12016. #. type: table
  12017. #: guix-git/doc/guix.texi:7261
  12018. msgid "Lastly, @code{propagated-inputs} is similar to @code{inputs}, but the specified packages will be automatically installed to profiles (@pxref{Features, the role of profiles in Guix}) alongside the package they belong to (@pxref{package-cmd-propagated-inputs, @command{guix package}}, for information on how @command{guix package} deals with propagated inputs)."
  12019. msgstr ""
  12020. #. type: table
  12021. #: guix-git/doc/guix.texi:7265
  12022. msgid "For example this is necessary when packaging a C/C++ library that needs headers of another library to compile, or when a pkg-config file refers to another one @i{via} its @code{Requires} field."
  12023. msgstr ""
  12024. #. type: table
  12025. #: guix-git/doc/guix.texi:7272
  12026. msgid "Another example where @code{propagated-inputs} is useful is for languages that lack a facility to record the run-time search path akin to the @code{RUNPATH} of ELF files; this includes Guile, Python, Perl, and more. When packaging libraries written in those languages, ensure they can find library code they depend on at run time by listing run-time dependencies in @code{propagated-inputs} rather than @code{inputs}."
  12027. msgstr ""
  12028. #. type: item
  12029. #: guix-git/doc/guix.texi:7273
  12030. #, no-wrap
  12031. msgid "@code{outputs} (default: @code{'(\"out\")})"
  12032. msgstr ""
  12033. #. type: table
  12034. #: guix-git/doc/guix.texi:7276
  12035. msgid "The list of output names of the package. @xref{Packages with Multiple Outputs}, for typical uses of additional outputs."
  12036. msgstr ""
  12037. #. type: item
  12038. #: guix-git/doc/guix.texi:7277
  12039. #, no-wrap
  12040. msgid "@code{native-search-paths} (default: @code{'()})"
  12041. msgstr ""
  12042. #. type: itemx
  12043. #: guix-git/doc/guix.texi:7278
  12044. #, no-wrap
  12045. msgid "@code{search-paths} (default: @code{'()})"
  12046. msgstr ""
  12047. #. type: table
  12048. #: guix-git/doc/guix.texi:7282
  12049. msgid "A list of @code{search-path-specification} objects describing search-path environment variables honored by the package. @xref{Search Paths}, for more on search path specifications."
  12050. msgstr ""
  12051. #. type: table
  12052. #: guix-git/doc/guix.texi:7288
  12053. msgid "As for inputs, the distinction between @code{native-search-paths} and @code{search-paths} only matters when cross-compiling. In a cross-compilation context, @code{native-search-paths} applies exclusively to native inputs whereas @code{search-paths} applies only to host inputs."
  12054. msgstr ""
  12055. #. type: table
  12056. #: guix-git/doc/guix.texi:7295
  12057. msgid "Packages such as cross-compilers care about target inputs---for instance, our (modified) GCC cross-compiler has @env{CROSS_C_INCLUDE_PATH} in @code{search-paths}, which allows it to pick @file{.h} files for the target system and @emph{not} those of native inputs. For the majority of packages though, only @code{native-search-paths} makes sense."
  12058. msgstr ""
  12059. #. type: item
  12060. #: guix-git/doc/guix.texi:7296
  12061. #, no-wrap
  12062. msgid "@code{replacement} (default: @code{#f})"
  12063. msgstr ""
  12064. #. type: table
  12065. #: guix-git/doc/guix.texi:7300
  12066. msgid "This must be either @code{#f} or a package object that will be used as a @dfn{replacement} for this package. @xref{Security Updates, grafts}, for details."
  12067. msgstr ""
  12068. #. type: item
  12069. #: guix-git/doc/guix.texi:7301 guix-git/doc/guix.texi:13353
  12070. #, no-wrap
  12071. msgid "synopsis"
  12072. msgstr ""
  12073. #. type: table
  12074. #: guix-git/doc/guix.texi:7303
  12075. msgid "A one-line description of the package."
  12076. msgstr ""
  12077. #. type: code{#1}
  12078. #: guix-git/doc/guix.texi:7304 guix-git/doc/guix.texi:13354
  12079. #: guix-git/doc/guix.texi:36563 guix-git/doc/guix.texi:36723
  12080. #, no-wrap
  12081. msgid "description"
  12082. msgstr "kuvaus"
  12083. #. type: table
  12084. #: guix-git/doc/guix.texi:7306
  12085. msgid "A more elaborate description of the package."
  12086. msgstr ""
  12087. #. type: code{#1}
  12088. #: guix-git/doc/guix.texi:7307
  12089. #, no-wrap
  12090. msgid "license"
  12091. msgstr "lisenssi"
  12092. #. type: cindex
  12093. #: guix-git/doc/guix.texi:7308
  12094. #, no-wrap
  12095. msgid "license, of packages"
  12096. msgstr ""
  12097. #. type: table
  12098. #: guix-git/doc/guix.texi:7311
  12099. msgid "The license of the package; a value from @code{(guix licenses)}, or a list of such values."
  12100. msgstr ""
  12101. #. type: itemx
  12102. #: guix-git/doc/guix.texi:7312 guix-git/doc/guix.texi:13362
  12103. #, no-wrap
  12104. msgid "home-page"
  12105. msgstr ""
  12106. #. type: table
  12107. #: guix-git/doc/guix.texi:7314
  12108. msgid "The URL to the home-page of the package, as a string."
  12109. msgstr ""
  12110. #. type: item
  12111. #: guix-git/doc/guix.texi:7315
  12112. #, no-wrap
  12113. msgid "@code{supported-systems} (default: @code{%supported-systems})"
  12114. msgstr ""
  12115. #. type: table
  12116. #: guix-git/doc/guix.texi:7318
  12117. msgid "The list of systems supported by the package, as strings of the form @code{architecture-kernel}, for example @code{\"x86_64-linux\"}."
  12118. msgstr ""
  12119. #. type: item
  12120. #: guix-git/doc/guix.texi:7319
  12121. #, no-wrap
  12122. msgid "@code{location} (default: source location of the @code{package} form)"
  12123. msgstr ""
  12124. #. type: table
  12125. #: guix-git/doc/guix.texi:7323
  12126. msgid "The source location of the package. It is useful to override this when inheriting from another package, in which case this field is not automatically corrected."
  12127. msgstr ""
  12128. #. type: deffn
  12129. #: guix-git/doc/guix.texi:7326
  12130. #, no-wrap
  12131. msgid "{Scheme Syntax} this-package"
  12132. msgstr ""
  12133. #. type: deffn
  12134. #: guix-git/doc/guix.texi:7329
  12135. msgid "When used in the @emph{lexical scope} of a package field definition, this identifier resolves to the package being defined."
  12136. msgstr ""
  12137. #. type: deffn
  12138. #: guix-git/doc/guix.texi:7332
  12139. msgid "The example below shows how to add a package as a native input of itself when cross-compiling:"
  12140. msgstr ""
  12141. #. type: lisp
  12142. #: guix-git/doc/guix.texi:7337
  12143. #, no-wrap
  12144. msgid ""
  12145. "(package\n"
  12146. " (name \"guile\")\n"
  12147. " ;; ...\n"
  12148. "\n"
  12149. msgstr ""
  12150. #. type: lisp
  12151. #: guix-git/doc/guix.texi:7343
  12152. #, no-wrap
  12153. msgid ""
  12154. " ;; When cross-compiled, Guile, for example, depends on\n"
  12155. " ;; a native version of itself. Add it here.\n"
  12156. " (native-inputs (if (%current-target-system)\n"
  12157. " (list this-package)\n"
  12158. " '())))\n"
  12159. msgstr ""
  12160. #. type: deffn
  12161. #: guix-git/doc/guix.texi:7346
  12162. msgid "It is an error to refer to @code{this-package} outside a package definition."
  12163. msgstr ""
  12164. #. type: Plain text
  12165. #: guix-git/doc/guix.texi:7350
  12166. msgid "The following helper procedures are provided to help deal with package inputs."
  12167. msgstr ""
  12168. #. type: deffn
  12169. #: guix-git/doc/guix.texi:7351
  12170. #, no-wrap
  12171. msgid "{Scheme Procedure} lookup-package-input @var{package} @var{name}"
  12172. msgstr ""
  12173. #. type: deffnx
  12174. #: guix-git/doc/guix.texi:7352
  12175. #, no-wrap
  12176. msgid "{Scheme Procedure} lookup-package-native-input @var{package} @var{name}"
  12177. msgstr ""
  12178. #. type: deffnx
  12179. #: guix-git/doc/guix.texi:7353
  12180. #, no-wrap
  12181. msgid "{Scheme Procedure} lookup-package-propagated-input @var{package} @var{name}"
  12182. msgstr ""
  12183. #. type: deffnx
  12184. #: guix-git/doc/guix.texi:7354
  12185. #, no-wrap
  12186. msgid "{Scheme Procedure} lookup-package-direct-input @var{package} @var{name}"
  12187. msgstr ""
  12188. #. type: deffn
  12189. #: guix-git/doc/guix.texi:7357
  12190. msgid "Look up @var{name} among @var{package}'s inputs (or native, propagated, or direct inputs). Return it if found, @code{#f} otherwise."
  12191. msgstr ""
  12192. #. type: deffn
  12193. #: guix-git/doc/guix.texi:7360
  12194. msgid "@var{name} is the name of a package depended on. Here's how you might use it:"
  12195. msgstr ""
  12196. #. type: lisp
  12197. #: guix-git/doc/guix.texi:7363
  12198. #, no-wrap
  12199. msgid ""
  12200. "(use-modules (guix packages) (gnu packages base))\n"
  12201. "\n"
  12202. msgstr ""
  12203. #. type: lisp
  12204. #: guix-git/doc/guix.texi:7366
  12205. #, no-wrap
  12206. msgid ""
  12207. "(lookup-package-direct-input coreutils \"gmp\")\n"
  12208. "@result{} #<package gmp@@6.2.1 @dots{}>\n"
  12209. msgstr ""
  12210. #. type: deffn
  12211. #: guix-git/doc/guix.texi:7370
  12212. msgid "In this example we obtain the @code{gmp} package that is among the direct inputs of @code{coreutils}."
  12213. msgstr ""
  12214. #. type: cindex
  12215. #: guix-git/doc/guix.texi:7372
  12216. #, no-wrap
  12217. msgid "development inputs, of a package"
  12218. msgstr ""
  12219. #. type: cindex
  12220. #: guix-git/doc/guix.texi:7373
  12221. #, no-wrap
  12222. msgid "implicit inputs, of a package"
  12223. msgstr ""
  12224. #. type: Plain text
  12225. #: guix-git/doc/guix.texi:7378
  12226. msgid "Sometimes you will want to obtain the list of inputs needed to @emph{develop} a package---all the inputs that are visible when the package is compiled. This is what the @code{package-development-inputs} procedure returns."
  12227. msgstr ""
  12228. #. type: deffn
  12229. #: guix-git/doc/guix.texi:7379
  12230. #, no-wrap
  12231. msgid "{Scheme Procedure} package-development-inputs @var{package} @"
  12232. msgstr ""
  12233. #. type: deffn
  12234. #: guix-git/doc/guix.texi:7386
  12235. msgid "[@var{system}] [#:target #f] Return the list of inputs required by @var{package} for development purposes on @var{system}. When @var{target} is true, return the inputs needed to cross-compile @var{package} from @var{system} to @var{triplet}, where @var{triplet} is a triplet such as @code{\"aarch64-linux-gnu\"}."
  12236. msgstr ""
  12237. #. type: deffn
  12238. #: guix-git/doc/guix.texi:7390
  12239. msgid "Note that the result includes both explicit inputs and implicit inputs---inputs automatically added by the build system (@pxref{Build Systems}). Let us take the @code{hello} package to illustrate that:"
  12240. msgstr ""
  12241. #. type: lisp
  12242. #: guix-git/doc/guix.texi:7393
  12243. #, no-wrap
  12244. msgid ""
  12245. "(use-modules (gnu packages base) (guix packages))\n"
  12246. "\n"
  12247. msgstr ""
  12248. #. type: lisp
  12249. #: guix-git/doc/guix.texi:7396
  12250. #, no-wrap
  12251. msgid ""
  12252. "hello\n"
  12253. "@result{} #<package hello@@2.10 gnu/packages/base.scm:79 7f585d4f6790>\n"
  12254. "\n"
  12255. msgstr ""
  12256. #. type: lisp
  12257. #: guix-git/doc/guix.texi:7399
  12258. #, no-wrap
  12259. msgid ""
  12260. "(package-direct-inputs hello)\n"
  12261. "@result{} ()\n"
  12262. "\n"
  12263. msgstr ""
  12264. #. type: lisp
  12265. #: guix-git/doc/guix.texi:7402
  12266. #, no-wrap
  12267. msgid ""
  12268. "(package-development-inputs hello)\n"
  12269. "@result{} ((\"source\" @dots{}) (\"tar\" #<package tar@@1.32 @dots{}>) @dots{})\n"
  12270. msgstr ""
  12271. #. type: deffn
  12272. #: guix-git/doc/guix.texi:7411
  12273. msgid "In this example, @code{package-direct-inputs} returns the empty list, because @code{hello} has zero explicit dependencies. Conversely, @code{package-development-inputs} includes inputs implicitly added by @code{gnu-build-system} that are required to build @code{hello}: tar, gzip, GCC, libc, Bash, and more. To visualize it, @command{guix graph hello} would show you explicit inputs, whereas @command{guix graph -t bag hello} would include implicit inputs (@pxref{Invoking guix graph})."
  12274. msgstr ""
  12275. #. type: Plain text
  12276. #: guix-git/doc/guix.texi:7417
  12277. msgid "Because packages are regular Scheme objects that capture a complete dependency graph and associated build procedures, it is often useful to write procedures that take a package and return a modified version thereof according to some parameters. Below are a few examples."
  12278. msgstr ""
  12279. #. type: cindex
  12280. #: guix-git/doc/guix.texi:7418
  12281. #, no-wrap
  12282. msgid "tool chain, choosing a package's tool chain"
  12283. msgstr ""
  12284. #. type: deffn
  12285. #: guix-git/doc/guix.texi:7419
  12286. #, no-wrap
  12287. msgid "{Scheme Procedure} package-with-c-toolchain @var{package} @var{toolchain}"
  12288. msgstr ""
  12289. #. type: deffn
  12290. #: guix-git/doc/guix.texi:7424
  12291. msgid "Return a variant of @var{package} that uses @var{toolchain} instead of the default GNU C/C++ toolchain. @var{toolchain} must be a list of inputs (label/package tuples) providing equivalent functionality, such as the @code{gcc-toolchain} package."
  12292. msgstr ""
  12293. #. type: deffn
  12294. #: guix-git/doc/guix.texi:7428
  12295. msgid "The example below returns a variant of the @code{hello} package built with GCC@tie{}10.x and the rest of the GNU tool chain (Binutils and the GNU C Library) instead of the default tool chain:"
  12296. msgstr ""
  12297. #. type: lisp
  12298. #: guix-git/doc/guix.texi:7432
  12299. #, no-wrap
  12300. msgid ""
  12301. "(let ((toolchain (specification->package \"gcc-toolchain@@10\")))\n"
  12302. " (package-with-c-toolchain hello `((\"toolchain\" ,toolchain))))\n"
  12303. msgstr ""
  12304. #. type: deffn
  12305. #: guix-git/doc/guix.texi:7440
  12306. msgid "The build tool chain is part of the @dfn{implicit inputs} of packages---it's usually not listed as part of the various ``inputs'' fields and is instead pulled in by the build system. Consequently, this procedure works by changing the build system of @var{package} so that it pulls in @var{toolchain} instead of the defaults. @ref{Build Systems}, for more on build systems."
  12307. msgstr ""
  12308. #. type: subsection
  12309. #: guix-git/doc/guix.texi:7443
  12310. #, no-wrap
  12311. msgid "@code{origin} Reference"
  12312. msgstr ""
  12313. #. type: Plain text
  12314. #: guix-git/doc/guix.texi:7451
  12315. msgid "This section documents @dfn{origins}. An @code{origin} declaration specifies data that must be ``produced''---downloaded, usually---and whose content hash is known in advance. Origins are primarily used to represent the source code of packages (@pxref{Defining Packages}). For that reason, the @code{origin} form allows you to declare patches to apply to the original source code as well as code snippets to modify it."
  12316. msgstr ""
  12317. #. type: deftp
  12318. #: guix-git/doc/guix.texi:7452
  12319. #, no-wrap
  12320. msgid "{Data Type} origin"
  12321. msgstr ""
  12322. #. type: deftp
  12323. #: guix-git/doc/guix.texi:7454
  12324. msgid "This is the data type representing a source code origin."
  12325. msgstr ""
  12326. #. type: code{#1}
  12327. #: guix-git/doc/guix.texi:7456 guix-git/doc/guix.texi:26983
  12328. #, no-wrap
  12329. msgid "uri"
  12330. msgstr ""
  12331. #. type: table
  12332. #: guix-git/doc/guix.texi:7461
  12333. msgid "An object containing the URI of the source. The object type depends on the @code{method} (see below). For example, when using the @var{url-fetch} method of @code{(guix download)}, the valid @code{uri} values are: a URL represented as a string, or a list thereof."
  12334. msgstr ""
  12335. #. type: cindex
  12336. #: guix-git/doc/guix.texi:7462
  12337. #, no-wrap
  12338. msgid "fixed-output derivations, for download"
  12339. msgstr ""
  12340. #. type: code{#1}
  12341. #: guix-git/doc/guix.texi:7463
  12342. #, no-wrap
  12343. msgid "method"
  12344. msgstr "menetelmä"
  12345. #. type: table
  12346. #: guix-git/doc/guix.texi:7470
  12347. msgid "A monadic procedure that handles the given URI@. The procedure must accept at least three arguments: the value of the @code{uri} field and the hash algorithm and hash value specified by the @code{hash} field. It must return a store item or a derivation in the store monad (@pxref{The Store Monad}); most methods return a fixed-output derivation (@pxref{Derivations})."
  12348. msgstr ""
  12349. #. type: table
  12350. #: guix-git/doc/guix.texi:7474
  12351. msgid "Commonly used methods include @code{url-fetch}, which fetches data from a URL, and @code{git-fetch}, which fetches data from a Git repository (see below)."
  12352. msgstr ""
  12353. #. type: code{#1}
  12354. #: guix-git/doc/guix.texi:7475
  12355. #, no-wrap
  12356. msgid "sha256"
  12357. msgstr ""
  12358. #. type: table
  12359. #: guix-git/doc/guix.texi:7479
  12360. msgid "A bytevector containing the SHA-256 hash of the source. This is equivalent to providing a @code{content-hash} SHA256 object in the @code{hash} field described below."
  12361. msgstr ""
  12362. #. type: code{#1}
  12363. #: guix-git/doc/guix.texi:7480
  12364. #, no-wrap
  12365. msgid "hash"
  12366. msgstr ""
  12367. #. type: table
  12368. #: guix-git/doc/guix.texi:7483
  12369. msgid "The @code{content-hash} object of the source---see below for how to use @code{content-hash}."
  12370. msgstr ""
  12371. #. type: table
  12372. #: guix-git/doc/guix.texi:7487
  12373. msgid "You can obtain this information using @code{guix download} (@pxref{Invoking guix download}) or @code{guix hash} (@pxref{Invoking guix hash})."
  12374. msgstr ""
  12375. #. type: item
  12376. #: guix-git/doc/guix.texi:7488
  12377. #, no-wrap
  12378. msgid "@code{file-name} (default: @code{#f})"
  12379. msgstr ""
  12380. #. type: table
  12381. #: guix-git/doc/guix.texi:7494
  12382. msgid "The file name under which the source code should be saved. When this is @code{#f}, a sensible default value will be used in most cases. In case the source is fetched from a URL, the file name from the URL will be used. For version control checkouts, it is recommended to provide the file name explicitly because the default is not very descriptive."
  12383. msgstr ""
  12384. #. type: item
  12385. #: guix-git/doc/guix.texi:7495
  12386. #, no-wrap
  12387. msgid "@code{patches} (default: @code{'()})"
  12388. msgstr ""
  12389. #. type: table
  12390. #: guix-git/doc/guix.texi:7498
  12391. msgid "A list of file names, origins, or file-like objects (@pxref{G-Expressions, file-like objects}) pointing to patches to be applied to the source."
  12392. msgstr ""
  12393. #. type: table
  12394. #: guix-git/doc/guix.texi:7502
  12395. msgid "This list of patches must be unconditional. In particular, it cannot depend on the value of @code{%current-system} or @code{%current-target-system}."
  12396. msgstr ""
  12397. #. type: item
  12398. #: guix-git/doc/guix.texi:7503
  12399. #, no-wrap
  12400. msgid "@code{snippet} (default: @code{#f})"
  12401. msgstr ""
  12402. #. type: table
  12403. #: guix-git/doc/guix.texi:7507
  12404. msgid "A G-expression (@pxref{G-Expressions}) or S-expression that will be run in the source directory. This is a convenient way to modify the source, sometimes more convenient than a patch."
  12405. msgstr ""
  12406. #. type: item
  12407. #: guix-git/doc/guix.texi:7508
  12408. #, no-wrap
  12409. msgid "@code{patch-flags} (default: @code{'(\"-p1\")})"
  12410. msgstr ""
  12411. #. type: table
  12412. #: guix-git/doc/guix.texi:7511
  12413. msgid "A list of command-line flags that should be passed to the @code{patch} command."
  12414. msgstr ""
  12415. #. type: item
  12416. #: guix-git/doc/guix.texi:7512
  12417. #, no-wrap
  12418. msgid "@code{patch-inputs} (default: @code{#f})"
  12419. msgstr ""
  12420. #. type: table
  12421. #: guix-git/doc/guix.texi:7516
  12422. msgid "Input packages or derivations to the patching process. When this is @code{#f}, the usual set of inputs necessary for patching are provided, such as GNU@tie{}Patch."
  12423. msgstr ""
  12424. #. type: item
  12425. #: guix-git/doc/guix.texi:7517 guix-git/doc/guix.texi:26855
  12426. #, no-wrap
  12427. msgid "@code{modules} (default: @code{'()})"
  12428. msgstr ""
  12429. #. type: table
  12430. #: guix-git/doc/guix.texi:7520
  12431. msgid "A list of Guile modules that should be loaded during the patching process and while running the code in the @code{snippet} field."
  12432. msgstr ""
  12433. #. type: item
  12434. #: guix-git/doc/guix.texi:7521
  12435. #, no-wrap
  12436. msgid "@code{patch-guile} (default: @code{#f})"
  12437. msgstr ""
  12438. #. type: table
  12439. #: guix-git/doc/guix.texi:7524
  12440. msgid "The Guile package that should be used in the patching process. When this is @code{#f}, a sensible default is used."
  12441. msgstr ""
  12442. #. type: deftp
  12443. #: guix-git/doc/guix.texi:7527
  12444. #, no-wrap
  12445. msgid "{Data Type} content-hash @var{value} [@var{algorithm}]"
  12446. msgstr ""
  12447. #. type: deftp
  12448. #: guix-git/doc/guix.texi:7531
  12449. msgid "Construct a content hash object for the given @var{algorithm}, and with @var{value} as its hash value. When @var{algorithm} is omitted, assume it is @code{sha256}."
  12450. msgstr ""
  12451. #. type: deftp
  12452. #: guix-git/doc/guix.texi:7534
  12453. msgid "@var{value} can be a literal string, in which case it is base32-decoded, or it can be a bytevector."
  12454. msgstr ""
  12455. #. type: deftp
  12456. #: guix-git/doc/guix.texi:7536
  12457. msgid "The following forms are all equivalent:"
  12458. msgstr ""
  12459. #. type: lisp
  12460. #: guix-git/doc/guix.texi:7545
  12461. #, no-wrap
  12462. msgid ""
  12463. "(content-hash \"05zxkyz9bv3j9h0xyid1rhvh3klhsmrpkf3bcs6frvlgyr2gwilj\")\n"
  12464. "(content-hash \"05zxkyz9bv3j9h0xyid1rhvh3klhsmrpkf3bcs6frvlgyr2gwilj\"\n"
  12465. " sha256)\n"
  12466. "(content-hash (base32\n"
  12467. " \"05zxkyz9bv3j9h0xyid1rhvh3klhsmrpkf3bcs6frvlgyr2gwilj\"))\n"
  12468. "(content-hash (base64 \"kkb+RPaP7uyMZmu4eXPVkM4BN8yhRd8BTHLslb6f/Rc=\")\n"
  12469. " sha256)\n"
  12470. msgstr ""
  12471. #. type: deftp
  12472. #: guix-git/doc/guix.texi:7550
  12473. msgid "Technically, @code{content-hash} is currently implemented as a macro. It performs sanity checks at macro-expansion time, when possible, such as ensuring that @var{value} has the right size for @var{algorithm}."
  12474. msgstr ""
  12475. #. type: Plain text
  12476. #: guix-git/doc/guix.texi:7556
  12477. msgid "As we have seen above, how exactly the data an origin refers to is retrieved is determined by its @code{method} field. The @code{(guix download)} module provides the most common method, @code{url-fetch}, described below."
  12478. msgstr ""
  12479. #. type: deffn
  12480. #: guix-git/doc/guix.texi:7557
  12481. #, no-wrap
  12482. msgid "{Scheme Procedure} url-fetch @var{url} @var{hash-algo} @var{hash} @"
  12483. msgstr ""
  12484. #. type: deffn
  12485. #: guix-git/doc/guix.texi:7565
  12486. msgid "[name] [#:executable? #f] Return a fixed-output derivation that fetches data from @var{url} (a string, or a list of strings denoting alternate URLs), which is expected to have hash @var{hash} of type @var{hash-algo} (a symbol). By default, the file name is the base name of URL; optionally, @var{name} can specify a different file name. When @var{executable?} is true, make the downloaded file executable."
  12487. msgstr ""
  12488. #. type: deffn
  12489. #: guix-git/doc/guix.texi:7568
  12490. msgid "When one of the URL starts with @code{mirror://}, then its host part is interpreted as the name of a mirror scheme, taken from @file{%mirror-file}."
  12491. msgstr ""
  12492. #. type: deffn
  12493. #: guix-git/doc/guix.texi:7571
  12494. msgid "Alternatively, when URL starts with @code{file://}, return the corresponding file name in the store."
  12495. msgstr ""
  12496. #. type: Plain text
  12497. #: guix-git/doc/guix.texi:7577
  12498. msgid "Likewise, the @code{(guix git-download)} module defines the @code{git-fetch} origin method, which fetches data from a Git version control repository, and the @code{git-reference} data type to describe the repository and revision to fetch."
  12499. msgstr ""
  12500. #. type: deffn
  12501. #: guix-git/doc/guix.texi:7578
  12502. #, no-wrap
  12503. msgid "{Scheme Procedure} git-fetch @var{ref} @var{hash-algo} @var{hash}"
  12504. msgstr ""
  12505. #. type: deffn
  12506. #: guix-git/doc/guix.texi:7583
  12507. msgid "Return a fixed-output derivation that fetches @var{ref}, a @code{<git-reference>} object. The output is expected to have recursive hash @var{hash} of type @var{hash-algo} (a symbol). Use @var{name} as the file name, or a generic name if @code{#f}."
  12508. msgstr ""
  12509. #. type: deftp
  12510. #: guix-git/doc/guix.texi:7585
  12511. #, no-wrap
  12512. msgid "{Data Type} git-reference"
  12513. msgstr ""
  12514. #. type: deftp
  12515. #: guix-git/doc/guix.texi:7588
  12516. msgid "This data type represents a Git reference for @code{git-fetch} to retrieve."
  12517. msgstr ""
  12518. #. type: code{#1}
  12519. #: guix-git/doc/guix.texi:7590 guix-git/doc/guix.texi:24706
  12520. #, no-wrap
  12521. msgid "url"
  12522. msgstr ""
  12523. #. type: table
  12524. #: guix-git/doc/guix.texi:7592
  12525. msgid "The URL of the Git repository to clone."
  12526. msgstr ""
  12527. #. type: code{#1}
  12528. #: guix-git/doc/guix.texi:7593
  12529. #, no-wrap
  12530. msgid "commit"
  12531. msgstr "kommitointi"
  12532. #. type: table
  12533. #: guix-git/doc/guix.texi:7598
  12534. msgid "This string denotes either the commit to fetch (a hexadecimal string), or the tag to fetch. You can also use a ``short'' commit ID or a @command{git describe} style identifier such as @code{v1.0.1-10-g58d7909c97}."
  12535. msgstr ""
  12536. #. type: item
  12537. #: guix-git/doc/guix.texi:7599
  12538. #, no-wrap
  12539. msgid "@code{recursive?} (default: @code{#f})"
  12540. msgstr ""
  12541. #. type: table
  12542. #: guix-git/doc/guix.texi:7601
  12543. msgid "This Boolean indicates whether to recursively fetch Git sub-modules."
  12544. msgstr ""
  12545. #. type: deftp
  12546. #: guix-git/doc/guix.texi:7605
  12547. msgid "The example below denotes the @code{v2.10} tag of the GNU@tie{}Hello repository:"
  12548. msgstr ""
  12549. #. type: lisp
  12550. #: guix-git/doc/guix.texi:7610
  12551. #, no-wrap
  12552. msgid ""
  12553. "(git-reference\n"
  12554. " (url \"https://git.savannah.gnu.org/git/hello.git\")\n"
  12555. " (commit \"v2.10\"))\n"
  12556. msgstr ""
  12557. #. type: deftp
  12558. #: guix-git/doc/guix.texi:7614
  12559. msgid "This is equivalent to the reference below, which explicitly names the commit:"
  12560. msgstr ""
  12561. #. type: lisp
  12562. #: guix-git/doc/guix.texi:7619
  12563. #, no-wrap
  12564. msgid ""
  12565. "(git-reference\n"
  12566. " (url \"https://git.savannah.gnu.org/git/hello.git\")\n"
  12567. " (commit \"dc7dc56a00e48fe6f231a58f6537139fe2908fb9\"))\n"
  12568. msgstr ""
  12569. #. type: Plain text
  12570. #: guix-git/doc/guix.texi:7625
  12571. msgid "For Mercurial repositories, the module @code{(guix hg-download)} defines the @code{hg-fetch} origin method and @code{hg-reference} data type for support of the Mercurial version control system."
  12572. msgstr ""
  12573. #. type: deffn
  12574. #: guix-git/doc/guix.texi:7626
  12575. #, no-wrap
  12576. msgid "{Scheme Procedure} hg-fetch @var{ref} @var{hash-algo} @var{hash} @"
  12577. msgstr ""
  12578. #. type: deffn
  12579. #: guix-git/doc/guix.texi:7632
  12580. msgid "[name] Return a fixed-output derivation that fetches @var{ref}, a @code{<hg-reference>} object. The output is expected to have recursive hash @var{hash} of type @var{hash-algo} (a symbol). Use @var{name} as the file name, or a generic name if @code{#false}."
  12581. msgstr ""
  12582. #. type: cindex
  12583. #: guix-git/doc/guix.texi:7637
  12584. #, no-wrap
  12585. msgid "customizing packages"
  12586. msgstr ""
  12587. #. type: cindex
  12588. #: guix-git/doc/guix.texi:7638
  12589. #, no-wrap
  12590. msgid "variants, of packages"
  12591. msgstr ""
  12592. #. type: Plain text
  12593. #: guix-git/doc/guix.texi:7648
  12594. msgid "One of the nice things with Guix is that, given a package definition, you can easily @emph{derive} variants of that package---for a different upstream version, with different dependencies, different compilation options, and so on. Some of these custom packages can be defined straight from the command line (@pxref{Package Transformation Options}). This section describes how to define package variants in code. This can be useful in ``manifests'' (@pxref{profile-manifest, @option{--manifest}}) and in your own package collection (@pxref{Creating a Channel}), among others!"
  12595. msgstr ""
  12596. #. type: cindex
  12597. #: guix-git/doc/guix.texi:7649
  12598. #, no-wrap
  12599. msgid "inherit, for package definitions"
  12600. msgstr ""
  12601. #. type: Plain text
  12602. #: guix-git/doc/guix.texi:7656
  12603. msgid "As discussed earlier, packages are first-class objects in the Scheme language. The @code{(guix packages)} module provides the @code{package} construct to define new package objects (@pxref{package Reference}). The easiest way to define a package variant is using the @code{inherit} keyword together with @code{package}. This allows you to inherit from a package definition while overriding the fields you want."
  12604. msgstr ""
  12605. #. type: Plain text
  12606. #: guix-git/doc/guix.texi:7661
  12607. msgid "For example, given the @code{hello} variable, which contains a definition for the current version of GNU@tie{}Hello, here's how you would define a variant for version 2.2 (released in 2006, it's vintage!):"
  12608. msgstr ""
  12609. #. type: lisp
  12610. #: guix-git/doc/guix.texi:7664
  12611. #, no-wrap
  12612. msgid ""
  12613. "(use-modules (gnu packages base)) ;for 'hello'\n"
  12614. "\n"
  12615. msgstr ""
  12616. #. type: lisp
  12617. #: guix-git/doc/guix.texi:7676
  12618. #, no-wrap
  12619. msgid ""
  12620. "(define hello-2.2\n"
  12621. " (package\n"
  12622. " (inherit hello)\n"
  12623. " (version \"2.2\")\n"
  12624. " (source (origin\n"
  12625. " (method url-fetch)\n"
  12626. " (uri (string-append \"mirror://gnu/hello/hello-\" version\n"
  12627. " \".tar.gz\"))\n"
  12628. " (sha256\n"
  12629. " (base32\n"
  12630. " \"0lappv4slgb5spyqbh6yl5r013zv72yqg2pcl30mginf3wdqd8k9\"))))))\n"
  12631. msgstr ""
  12632. #. type: Plain text
  12633. #: guix-git/doc/guix.texi:7685
  12634. msgid "The example above corresponds to what the @option{--with-source} package transformation option does. Essentially @code{hello-2.2} preserves all the fields of @code{hello}, except @code{version} and @code{source}, which it overrides. Note that the original @code{hello} variable is still there, in the @code{(gnu packages base)} module, unchanged. When you define a custom package like this, you are really @emph{adding} a new package definition; the original one remains available."
  12635. msgstr ""
  12636. #. type: Plain text
  12637. #: guix-git/doc/guix.texi:7691
  12638. msgid "You can just as well define variants with a different set of dependencies than the original package. For example, the default @code{gdb} package depends on @code{guile}, but since that is an optional dependency, you can define a variant that removes that dependency like so:"
  12639. msgstr ""
  12640. #. type: lisp
  12641. #: guix-git/doc/guix.texi:7694
  12642. #, no-wrap
  12643. msgid ""
  12644. "(use-modules (gnu packages gdb)) ;for 'gdb'\n"
  12645. "\n"
  12646. msgstr ""
  12647. #. type: lisp
  12648. #: guix-git/doc/guix.texi:7700
  12649. #, no-wrap
  12650. msgid ""
  12651. "(define gdb-sans-guile\n"
  12652. " (package\n"
  12653. " (inherit gdb)\n"
  12654. " (inputs (modify-inputs (package-inputs gdb)\n"
  12655. " (delete \"guile\")))))\n"
  12656. msgstr ""
  12657. #. type: Plain text
  12658. #: guix-git/doc/guix.texi:7706
  12659. msgid "The @code{modify-inputs} form above removes the @code{\"guile\"} package from the @code{inputs} field of @code{gdb}. The @code{modify-inputs} macro is a helper that can prove useful anytime you want to remove, add, or replace package inputs."
  12660. msgstr ""
  12661. #. type: deffn
  12662. #: guix-git/doc/guix.texi:7707
  12663. #, no-wrap
  12664. msgid "{Scheme Syntax} modify-inputs @var{inputs} @var{clauses}"
  12665. msgstr ""
  12666. #. type: deffn
  12667. #: guix-git/doc/guix.texi:7711
  12668. msgid "Modify the given package inputs, as returned by @code{package-inputs} & co., according to the given clauses. Each clause must have one of the following forms:"
  12669. msgstr ""
  12670. #. type: item
  12671. #: guix-git/doc/guix.texi:7713
  12672. #, no-wrap
  12673. msgid "(delete @var{name}@dots{})"
  12674. msgstr ""
  12675. #. type: table
  12676. #: guix-git/doc/guix.texi:7715
  12677. msgid "Delete from the inputs packages with the given @var{name}s (strings)."
  12678. msgstr ""
  12679. #. type: item
  12680. #: guix-git/doc/guix.texi:7716
  12681. #, no-wrap
  12682. msgid "(append @var{package}@dots{})"
  12683. msgstr ""
  12684. #. type: table
  12685. #: guix-git/doc/guix.texi:7718
  12686. msgid "Add @var{package}s to the end of the input list."
  12687. msgstr ""
  12688. #. type: item
  12689. #: guix-git/doc/guix.texi:7719
  12690. #, no-wrap
  12691. msgid "(prepend @var{package}@dots{})"
  12692. msgstr ""
  12693. #. type: table
  12694. #: guix-git/doc/guix.texi:7721
  12695. msgid "Add @var{package}s to the front of the input list."
  12696. msgstr ""
  12697. #. type: deffn
  12698. #: guix-git/doc/guix.texi:7725
  12699. msgid "The example below removes the GMP and ACL inputs of Coreutils and adds libcap to the back of the input list:"
  12700. msgstr ""
  12701. #. type: lisp
  12702. #: guix-git/doc/guix.texi:7730
  12703. #, no-wrap
  12704. msgid ""
  12705. "(modify-inputs (package-inputs coreutils)\n"
  12706. " (delete \"gmp\" \"acl\")\n"
  12707. " (append libcap))\n"
  12708. msgstr ""
  12709. #. type: deffn
  12710. #: guix-git/doc/guix.texi:7734
  12711. msgid "The example below replaces the @code{guile} package from the inputs of @code{guile-redis} with @code{guile-2.2}:"
  12712. msgstr ""
  12713. #. type: lisp
  12714. #: guix-git/doc/guix.texi:7738
  12715. #, no-wrap
  12716. msgid ""
  12717. "(modify-inputs (package-inputs guile-redis)\n"
  12718. " (replace \"guile\" guile-2.2))\n"
  12719. msgstr ""
  12720. #. type: deffn
  12721. #: guix-git/doc/guix.texi:7742
  12722. msgid "The last type of clause is @code{prepend}, to add inputs to the front of the list."
  12723. msgstr ""
  12724. #. type: Plain text
  12725. #: guix-git/doc/guix.texi:7751
  12726. msgid "In some cases, you may find it useful to write functions (``procedures'', in Scheme parlance) that return a package based on some parameters. For example, consider the @code{luasocket} library for the Lua programming language. We want to create @code{luasocket} packages for major versions of Lua. One way to do that is to define a procedure that takes a Lua package and returns a @code{luasocket} package that depends on it:"
  12727. msgstr ""
  12728. #. type: lisp
  12729. #: guix-git/doc/guix.texi:7761
  12730. #, no-wrap
  12731. msgid ""
  12732. "(define (make-lua-socket name lua)\n"
  12733. " ;; Return a luasocket package built with LUA.\n"
  12734. " (package\n"
  12735. " (name name)\n"
  12736. " (version \"3.0\")\n"
  12737. " ;; several fields omitted\n"
  12738. " (inputs (list lua))\n"
  12739. " (synopsis \"Socket library for Lua\")))\n"
  12740. "\n"
  12741. msgstr ""
  12742. #. type: lisp
  12743. #: guix-git/doc/guix.texi:7764
  12744. #, no-wrap
  12745. msgid ""
  12746. "(define-public lua5.1-socket\n"
  12747. " (make-lua-socket \"lua5.1-socket\" lua-5.1))\n"
  12748. "\n"
  12749. msgstr ""
  12750. #. type: lisp
  12751. #: guix-git/doc/guix.texi:7767
  12752. #, no-wrap
  12753. msgid ""
  12754. "(define-public lua5.2-socket\n"
  12755. " (make-lua-socket \"lua5.2-socket\" lua-5.2))\n"
  12756. msgstr ""
  12757. #. type: Plain text
  12758. #: guix-git/doc/guix.texi:7775
  12759. msgid "Here we have defined packages @code{lua5.1-socket} and @code{lua5.2-socket} by calling @code{make-lua-socket} with different arguments. @xref{Procedures,,, guile, GNU Guile Reference Manual}, for more info on procedures. Having top-level public definitions for these two packages means that they can be referred to from the command line (@pxref{Package Modules})."
  12760. msgstr ""
  12761. #. type: cindex
  12762. #: guix-git/doc/guix.texi:7776
  12763. #, no-wrap
  12764. msgid "package transformations"
  12765. msgstr ""
  12766. #. type: Plain text
  12767. #: guix-git/doc/guix.texi:7781
  12768. msgid "These are pretty simple package variants. As a convenience, the @code{(guix transformations)} module provides a high-level interface that directly maps to the more sophisticated package transformation options (@pxref{Package Transformation Options}):"
  12769. msgstr ""
  12770. #. type: deffn
  12771. #: guix-git/doc/guix.texi:7782
  12772. #, no-wrap
  12773. msgid "{Scheme Procedure} options->transformation @var{opts}"
  12774. msgstr ""
  12775. #. type: deffn
  12776. #: guix-git/doc/guix.texi:7786
  12777. msgid "Return a procedure that, when passed an object to build (package, derivation, etc.), applies the transformations specified by @var{opts} and returns the resulting objects. @var{opts} must be a list of symbol/string pairs such as:"
  12778. msgstr ""
  12779. #. type: lisp
  12780. #: guix-git/doc/guix.texi:7790
  12781. #, no-wrap
  12782. msgid ""
  12783. "((with-branch . \"guile-gcrypt=master\")\n"
  12784. " (without-tests . \"libgcrypt\"))\n"
  12785. msgstr ""
  12786. #. type: deffn
  12787. #: guix-git/doc/guix.texi:7794
  12788. msgid "Each symbol names a transformation and the corresponding string is an argument to that transformation."
  12789. msgstr ""
  12790. #. type: Plain text
  12791. #: guix-git/doc/guix.texi:7797
  12792. msgid "For instance, a manifest equivalent to this command:"
  12793. msgstr ""
  12794. #. type: example
  12795. #: guix-git/doc/guix.texi:7802
  12796. #, no-wrap
  12797. msgid ""
  12798. "guix build guix \\\n"
  12799. " --with-branch=guile-gcrypt=master \\\n"
  12800. " --with-debug-info=zlib\n"
  12801. msgstr ""
  12802. #. type: Plain text
  12803. #: guix-git/doc/guix.texi:7806
  12804. msgid "... would look like this:"
  12805. msgstr ""
  12806. #. type: lisp
  12807. #: guix-git/doc/guix.texi:7809
  12808. #, no-wrap
  12809. msgid ""
  12810. "(use-modules (guix transformations))\n"
  12811. "\n"
  12812. msgstr ""
  12813. #. type: lisp
  12814. #: guix-git/doc/guix.texi:7815
  12815. #, no-wrap
  12816. msgid ""
  12817. "(define transform\n"
  12818. " ;; The package transformation procedure.\n"
  12819. " (options->transformation\n"
  12820. " '((with-branch . \"guile-gcrypt=master\")\n"
  12821. " (with-debug-info . \"zlib\"))))\n"
  12822. "\n"
  12823. msgstr ""
  12824. #. type: lisp
  12825. #: guix-git/doc/guix.texi:7818
  12826. #, no-wrap
  12827. msgid ""
  12828. "(packages->manifest\n"
  12829. " (list (transform (specification->package \"guix\"))))\n"
  12830. msgstr ""
  12831. #. type: cindex
  12832. #: guix-git/doc/guix.texi:7820
  12833. #, no-wrap
  12834. msgid "input rewriting"
  12835. msgstr ""
  12836. #. type: cindex
  12837. #: guix-git/doc/guix.texi:7821
  12838. #, no-wrap
  12839. msgid "dependency graph rewriting"
  12840. msgstr ""
  12841. #. type: Plain text
  12842. #: guix-git/doc/guix.texi:7828
  12843. msgid "The @code{options->transformation} procedure is convenient, but it's perhaps also not as flexible as you may like. How is it implemented? The astute reader probably noticed that most package transformation options go beyond the superficial changes shown in the first examples of this section: they involve @dfn{input rewriting}, whereby the dependency graph of a package is rewritten by replacing specific inputs by others."
  12844. msgstr ""
  12845. #. type: Plain text
  12846. #: guix-git/doc/guix.texi:7832
  12847. msgid "Dependency graph rewriting, for the purposes of swapping packages in the graph, is what the @code{package-input-rewriting} procedure in @code{(guix packages)} implements."
  12848. msgstr ""
  12849. #. type: deffn
  12850. #: guix-git/doc/guix.texi:7833
  12851. #, no-wrap
  12852. msgid "{Scheme Procedure} package-input-rewriting @var{replacements} @"
  12853. msgstr ""
  12854. #. type: deffn
  12855. #: guix-git/doc/guix.texi:7840
  12856. msgid "[@var{rewrite-name}] [#:deep? #t] Return a procedure that, when passed a package, replaces its direct and indirect dependencies, including implicit inputs when @var{deep?} is true, according to @var{replacements}. @var{replacements} is a list of package pairs; the first element of each pair is the package to replace, and the second one is the replacement."
  12857. msgstr ""
  12858. #. type: deffn
  12859. #: guix-git/doc/guix.texi:7843
  12860. msgid "Optionally, @var{rewrite-name} is a one-argument procedure that takes the name of a package and returns its new name after rewrite."
  12861. msgstr ""
  12862. #. type: table
  12863. #: guix-git/doc/guix.texi:7847 guix-git/doc/guix.texi:11634
  12864. msgid "Consider this example:"
  12865. msgstr ""
  12866. #. type: lisp
  12867. #: guix-git/doc/guix.texi:7853
  12868. #, no-wrap
  12869. msgid ""
  12870. "(define libressl-instead-of-openssl\n"
  12871. " ;; This is a procedure to replace OPENSSL by LIBRESSL,\n"
  12872. " ;; recursively.\n"
  12873. " (package-input-rewriting `((,openssl . ,libressl))))\n"
  12874. "\n"
  12875. msgstr ""
  12876. #. type: lisp
  12877. #: guix-git/doc/guix.texi:7856
  12878. #, no-wrap
  12879. msgid ""
  12880. "(define git-with-libressl\n"
  12881. " (libressl-instead-of-openssl git))\n"
  12882. msgstr ""
  12883. #. type: Plain text
  12884. #: guix-git/doc/guix.texi:7864
  12885. msgid "Here we first define a rewriting procedure that replaces @var{openssl} with @var{libressl}. Then we use it to define a @dfn{variant} of the @var{git} package that uses @var{libressl} instead of @var{openssl}. This is exactly what the @option{--with-input} command-line option does (@pxref{Package Transformation Options, @option{--with-input}})."
  12886. msgstr ""
  12887. #. type: Plain text
  12888. #: guix-git/doc/guix.texi:7867
  12889. msgid "The following variant of @code{package-input-rewriting} can match packages to be replaced by name rather than by identity."
  12890. msgstr ""
  12891. #. type: deffn
  12892. #: guix-git/doc/guix.texi:7868
  12893. #, no-wrap
  12894. msgid "{Scheme Procedure} package-input-rewriting/spec @var{replacements} [#:deep? #t]"
  12895. msgstr ""
  12896. #. type: deffn
  12897. #: guix-git/doc/guix.texi:7875
  12898. msgid "Return a procedure that, given a package, applies the given @var{replacements} to all the package graph, including implicit inputs unless @var{deep?} is false. @var{replacements} is a list of spec/procedures pair; each spec is a package specification such as @code{\"gcc\"} or @code{\"guile@@2\"}, and each procedure takes a matching package and returns a replacement for that package."
  12899. msgstr ""
  12900. #. type: Plain text
  12901. #: guix-git/doc/guix.texi:7878
  12902. msgid "The example above could be rewritten this way:"
  12903. msgstr ""
  12904. #. type: lisp
  12905. #: guix-git/doc/guix.texi:7883
  12906. #, no-wrap
  12907. msgid ""
  12908. "(define libressl-instead-of-openssl\n"
  12909. " ;; Replace all the packages called \"openssl\" with LibreSSL.\n"
  12910. " (package-input-rewriting/spec `((\"openssl\" . ,(const libressl)))))\n"
  12911. msgstr ""
  12912. #. type: Plain text
  12913. #: guix-git/doc/guix.texi:7888
  12914. msgid "The key difference here is that, this time, packages are matched by spec and not by identity. In other words, any package in the graph that is called @code{openssl} will be replaced."
  12915. msgstr ""
  12916. #. type: Plain text
  12917. #: guix-git/doc/guix.texi:7892
  12918. msgid "A more generic procedure to rewrite a package dependency graph is @code{package-mapping}: it supports arbitrary changes to nodes in the graph."
  12919. msgstr ""
  12920. #. type: deffn
  12921. #: guix-git/doc/guix.texi:7893
  12922. #, no-wrap
  12923. msgid "{Scheme Procedure} package-mapping @var{proc} [@var{cut?}] [#:deep? #f]"
  12924. msgstr ""
  12925. #. type: deffn
  12926. #: guix-git/doc/guix.texi:7898
  12927. msgid "Return a procedure that, given a package, applies @var{proc} to all the packages depended on and returns the resulting package. The procedure stops recursion when @var{cut?} returns true for a given package. When @var{deep?} is true, @var{proc} is applied to implicit inputs as well."
  12928. msgstr ""
  12929. #. type: cindex
  12930. #: guix-git/doc/guix.texi:7904
  12931. #, no-wrap
  12932. msgid "build system"
  12933. msgstr ""
  12934. #. type: Plain text
  12935. #: guix-git/doc/guix.texi:7909
  12936. msgid "Each package definition specifies a @dfn{build system} and arguments for that build system (@pxref{Defining Packages}). This @code{build-system} field represents the build procedure of the package, as well as implicit dependencies of that build procedure."
  12937. msgstr ""
  12938. #. type: Plain text
  12939. #: guix-git/doc/guix.texi:7913
  12940. msgid "Build systems are @code{<build-system>} objects. The interface to create and manipulate them is provided by the @code{(guix build-system)} module, and actual build systems are exported by specific modules."
  12941. msgstr ""
  12942. #. type: cindex
  12943. #: guix-git/doc/guix.texi:7914
  12944. #, no-wrap
  12945. msgid "bag (low-level package representation)"
  12946. msgstr ""
  12947. #. type: Plain text
  12948. #: guix-git/doc/guix.texi:7924
  12949. msgid "Under the hood, build systems first compile package objects to @dfn{bags}. A @dfn{bag} is like a package, but with less ornamentation---in other words, a bag is a lower-level representation of a package, which includes all the inputs of that package, including some that were implicitly added by the build system. This intermediate representation is then compiled to a derivation (@pxref{Derivations}). The @code{package-with-c-toolchain} is an example of a way to change the implicit inputs that a package's build system pulls in (@pxref{package Reference, @code{package-with-c-toolchain}})."
  12950. msgstr ""
  12951. #. type: Plain text
  12952. #: guix-git/doc/guix.texi:7932
  12953. msgid "Build systems accept an optional list of @dfn{arguments}. In package definitions, these are passed @i{via} the @code{arguments} field (@pxref{Defining Packages}). They are typically keyword arguments (@pxref{Optional Arguments, keyword arguments in Guile,, guile, GNU Guile Reference Manual}). The value of these arguments is usually evaluated in the @dfn{build stratum}---i.e., by a Guile process launched by the daemon (@pxref{Derivations})."
  12954. msgstr ""
  12955. #. type: Plain text
  12956. #: guix-git/doc/guix.texi:7936
  12957. msgid "The main build system is @code{gnu-build-system}, which implements the standard build procedure for GNU and many other packages. It is provided by the @code{(guix build-system gnu)} module."
  12958. msgstr ""
  12959. #. type: defvr
  12960. #: guix-git/doc/guix.texi:7937
  12961. #, no-wrap
  12962. msgid "{Scheme Variable} gnu-build-system"
  12963. msgstr ""
  12964. #. type: defvr
  12965. #: guix-git/doc/guix.texi:7941
  12966. msgid "@code{gnu-build-system} represents the GNU Build System, and variants thereof (@pxref{Configuration, configuration and makefile conventions,, standards, GNU Coding Standards})."
  12967. msgstr ""
  12968. #. type: cindex
  12969. #: guix-git/doc/guix.texi:7942 guix-git/doc/guix.texi:8891
  12970. #: guix-git/doc/guix.texi:9451
  12971. #, no-wrap
  12972. msgid "build phases"
  12973. msgstr ""
  12974. #. type: defvr
  12975. #: guix-git/doc/guix.texi:7949
  12976. msgid "In a nutshell, packages using it are configured, built, and installed with the usual @code{./configure && make && make check && make install} command sequence. In practice, a few additional steps are often needed. All these steps are split up in separate @dfn{phases}. @xref{Build Phases}, for more info on build phases and ways to customize them."
  12977. msgstr ""
  12978. #. type: defvr
  12979. #: guix-git/doc/guix.texi:7956
  12980. msgid "In addition, this build system ensures that the ``standard'' environment for GNU packages is available. This includes tools such as GCC, libc, Coreutils, Bash, Make, Diffutils, grep, and sed (see the @code{(guix build-system gnu)} module for a complete list). We call these the @dfn{implicit inputs} of a package, because package definitions do not have to mention them."
  12981. msgstr ""
  12982. #. type: defvr
  12983. #: guix-git/doc/guix.texi:7960
  12984. msgid "This build system supports a number of keyword arguments, which can be passed @i{via} the @code{arguments} field of a package. Here are some of the main parameters:"
  12985. msgstr ""
  12986. #. type: item
  12987. #: guix-git/doc/guix.texi:7962
  12988. #, no-wrap
  12989. msgid "#:phases"
  12990. msgstr ""
  12991. #. type: table
  12992. #: guix-git/doc/guix.texi:7965
  12993. msgid "This argument specifies build-side code that evaluates to an alist of build phases. @xref{Build Phases}, for more information."
  12994. msgstr ""
  12995. #. type: item
  12996. #: guix-git/doc/guix.texi:7966
  12997. #, no-wrap
  12998. msgid "#:configure-flags"
  12999. msgstr ""
  13000. #. type: table
  13001. #: guix-git/doc/guix.texi:7969
  13002. msgid "This is a list of flags (strings) passed to the @command{configure} script. @xref{Defining Packages}, for an example."
  13003. msgstr ""
  13004. #. type: item
  13005. #: guix-git/doc/guix.texi:7970
  13006. #, no-wrap
  13007. msgid "#:make-flags"
  13008. msgstr ""
  13009. #. type: table
  13010. #: guix-git/doc/guix.texi:7974
  13011. msgid "This list of strings contains flags passed as arguments to @command{make} invocations in the @code{build}, @code{check}, and @code{install} phases."
  13012. msgstr ""
  13013. #. type: item
  13014. #: guix-git/doc/guix.texi:7975
  13015. #, no-wrap
  13016. msgid "#:out-of-source?"
  13017. msgstr ""
  13018. #. type: table
  13019. #: guix-git/doc/guix.texi:7978
  13020. msgid "This Boolean, @code{#f} by default, indicates whether to run builds in a build directory separate from the source tree."
  13021. msgstr ""
  13022. #. type: table
  13023. #: guix-git/doc/guix.texi:7983
  13024. msgid "When it is true, the @code{configure} phase creates a separate build directory, changes to that directory, and runs the @code{configure} script from there. This is useful for packages that require it, such as @code{glibc}."
  13025. msgstr ""
  13026. #. type: item
  13027. #: guix-git/doc/guix.texi:7984
  13028. #, no-wrap
  13029. msgid "#:tests?"
  13030. msgstr ""
  13031. #. type: table
  13032. #: guix-git/doc/guix.texi:7987
  13033. msgid "This Boolean, @code{#t} by default, indicates whether the @code{check} phase should run the package's test suite."
  13034. msgstr ""
  13035. #. type: item
  13036. #: guix-git/doc/guix.texi:7988
  13037. #, no-wrap
  13038. msgid "#:test-target"
  13039. msgstr ""
  13040. #. type: table
  13041. #: guix-git/doc/guix.texi:7991
  13042. msgid "This string, @code{\"check\"} by default, gives the name of the makefile target used by the @code{check} phase."
  13043. msgstr ""
  13044. #. type: item
  13045. #: guix-git/doc/guix.texi:7992
  13046. #, no-wrap
  13047. msgid "#:parallel-build?"
  13048. msgstr ""
  13049. #. type: itemx
  13050. #: guix-git/doc/guix.texi:7993
  13051. #, no-wrap
  13052. msgid "#:parallel-tests?"
  13053. msgstr ""
  13054. #. type: table
  13055. #: guix-git/doc/guix.texi:8000
  13056. msgid "These Boolean values specify whether to build, respectively run the test suite, in parallel, with the @code{-j} flag of @command{make}. When they are true, @code{make} is passed @code{-j@var{n}}, where @var{n} is the number specified as the @option{--cores} option of @command{guix-daemon} or that of the @command{guix} client command (@pxref{Common Build Options, @option{--cores}})."
  13057. msgstr ""
  13058. #. type: cindex
  13059. #: guix-git/doc/guix.texi:8001
  13060. #, no-wrap
  13061. msgid "RUNPATH, validation"
  13062. msgstr ""
  13063. #. type: item
  13064. #: guix-git/doc/guix.texi:8002
  13065. #, no-wrap
  13066. msgid "#:validate-runpath?"
  13067. msgstr ""
  13068. #. type: table
  13069. #: guix-git/doc/guix.texi:8006
  13070. msgid "This Boolean, @code{#t} by default, determines whether to ``validate'' the @code{RUNPATH} of ELF binaries (@code{.so} shared libraries as well as executables) previously installed by the @code{install} phase."
  13071. msgstr ""
  13072. #. type: table
  13073. #: guix-git/doc/guix.texi:8014
  13074. msgid "This validation step consists in making sure that all the shared libraries needed by an ELF binary, which are listed as @code{DT_NEEDED} entries in its @code{PT_DYNAMIC} segment, appear in the @code{DT_RUNPATH} entry of that binary. In other words, it ensures that running or using those binaries will not result in a ``file not found'' error at run time. @xref{Options, @option{-rpath},, ld, The GNU Linker}, for more information on @code{RUNPATH}."
  13075. msgstr ""
  13076. #. type: item
  13077. #: guix-git/doc/guix.texi:8015
  13078. #, no-wrap
  13079. msgid "#:substitutable?"
  13080. msgstr ""
  13081. #. type: table
  13082. #: guix-git/doc/guix.texi:8019
  13083. msgid "This Boolean, @code{#t} by default, tells whether the package outputs should be substitutable---i.e., whether users should be able to obtain substitutes for them instead of building locally (@pxref{Substitutes})."
  13084. msgstr ""
  13085. #. type: item
  13086. #: guix-git/doc/guix.texi:8020
  13087. #, no-wrap
  13088. msgid "#:allowed-references"
  13089. msgstr ""
  13090. #. type: itemx
  13091. #: guix-git/doc/guix.texi:8021
  13092. #, no-wrap
  13093. msgid "#:disallowed-references"
  13094. msgstr ""
  13095. #. type: table
  13096. #: guix-git/doc/guix.texi:8026
  13097. msgid "When true, these arguments must be a list of dependencies that must not appear among the references of the build results. If, upon build completion, some of these references are retained, the build process fails."
  13098. msgstr ""
  13099. #. type: table
  13100. #: guix-git/doc/guix.texi:8031
  13101. msgid "This is useful to ensure that a package does not erroneously keep a reference to some of it build-time inputs, in cases where doing so would, for example, unnecessarily increase its size (@pxref{Invoking guix size})."
  13102. msgstr ""
  13103. #. type: defvr
  13104. #: guix-git/doc/guix.texi:8034
  13105. msgid "Most other build systems support these keyword arguments."
  13106. msgstr ""
  13107. #. type: Plain text
  13108. #: guix-git/doc/guix.texi:8041
  13109. msgid "Other @code{<build-system>} objects are defined to support other conventions and tools used by free software packages. They inherit most of @code{gnu-build-system}, and differ mainly in the set of inputs implicitly added to the build process, and in the list of phases executed. Some of these build systems are listed below."
  13110. msgstr ""
  13111. #. type: defvr
  13112. #: guix-git/doc/guix.texi:8042
  13113. #, no-wrap
  13114. msgid "{Scheme Variable} ant-build-system"
  13115. msgstr ""
  13116. #. type: defvr
  13117. #: guix-git/doc/guix.texi:8046
  13118. msgid "This variable is exported by @code{(guix build-system ant)}. It implements the build procedure for Java packages that can be built with @url{https://ant.apache.org/, Ant build tool}."
  13119. msgstr ""
  13120. #. type: defvr
  13121. #: guix-git/doc/guix.texi:8051
  13122. msgid "It adds both @code{ant} and the @dfn{Java Development Kit} (JDK) as provided by the @code{icedtea} package to the set of inputs. Different packages can be specified with the @code{#:ant} and @code{#:jdk} parameters, respectively."
  13123. msgstr ""
  13124. #. type: defvr
  13125. #: guix-git/doc/guix.texi:8057
  13126. msgid "When the original package does not provide a suitable Ant build file, the parameter @code{#:jar-name} can be used to generate a minimal Ant build file @file{build.xml} with tasks to build the specified jar archive. In this case the parameter @code{#:source-dir} can be used to specify the source sub-directory, defaulting to ``src''."
  13127. msgstr ""
  13128. #. type: defvr
  13129. #: guix-git/doc/guix.texi:8065
  13130. msgid "The @code{#:main-class} parameter can be used with the minimal ant buildfile to specify the main class of the resulting jar. This makes the jar file executable. The @code{#:test-include} parameter can be used to specify the list of junit tests to run. It defaults to @code{(list \"**/*Test.java\")}. The @code{#:test-exclude} can be used to disable some tests. It defaults to @code{(list \"**/Abstract*.java\")}, because abstract classes cannot be run as tests."
  13131. msgstr ""
  13132. #. type: defvr
  13133. #: guix-git/doc/guix.texi:8069
  13134. msgid "The parameter @code{#:build-target} can be used to specify the Ant task that should be run during the @code{build} phase. By default the ``jar'' task will be run."
  13135. msgstr ""
  13136. #. type: defvr
  13137. #: guix-git/doc/guix.texi:8072
  13138. #, no-wrap
  13139. msgid "{Scheme Variable} android-ndk-build-system"
  13140. msgstr ""
  13141. #. type: cindex
  13142. #: guix-git/doc/guix.texi:8073
  13143. #, no-wrap
  13144. msgid "Android distribution"
  13145. msgstr ""
  13146. #. type: cindex
  13147. #: guix-git/doc/guix.texi:8074
  13148. #, no-wrap
  13149. msgid "Android NDK build system"
  13150. msgstr ""
  13151. #. type: defvr
  13152. #: guix-git/doc/guix.texi:8078
  13153. msgid "This variable is exported by @code{(guix build-system android-ndk)}. It implements a build procedure for Android NDK (native development kit) packages using a Guix-specific build process."
  13154. msgstr ""
  13155. #. type: defvr
  13156. #: guix-git/doc/guix.texi:8082
  13157. msgid "The build system assumes that packages install their public interface (header) files to the subdirectory @file{include} of the @code{out} output and their libraries to the subdirectory @file{lib} the @code{out} output."
  13158. msgstr ""
  13159. #. type: defvr
  13160. #: guix-git/doc/guix.texi:8085
  13161. msgid "It's also assumed that the union of all the dependencies of a package has no conflicting files."
  13162. msgstr ""
  13163. #. type: defvr
  13164. #: guix-git/doc/guix.texi:8088
  13165. msgid "For the time being, cross-compilation is not supported - so right now the libraries and header files are assumed to be host tools."
  13166. msgstr ""
  13167. #. type: defvr
  13168. #: guix-git/doc/guix.texi:8091
  13169. #, no-wrap
  13170. msgid "{Scheme Variable} asdf-build-system/source"
  13171. msgstr ""
  13172. #. type: defvrx
  13173. #: guix-git/doc/guix.texi:8092
  13174. #, no-wrap
  13175. msgid "{Scheme Variable} asdf-build-system/sbcl"
  13176. msgstr ""
  13177. #. type: defvrx
  13178. #: guix-git/doc/guix.texi:8093
  13179. #, no-wrap
  13180. msgid "{Scheme Variable} asdf-build-system/ecl"
  13181. msgstr ""
  13182. #. type: defvr
  13183. #: guix-git/doc/guix.texi:8099
  13184. msgid "These variables, exported by @code{(guix build-system asdf)}, implement build procedures for Common Lisp packages using @url{https://common-lisp.net/project/asdf/, ``ASDF''}. ASDF is a system definition facility for Common Lisp programs and libraries."
  13185. msgstr ""
  13186. #. type: defvr
  13187. #: guix-git/doc/guix.texi:8106
  13188. msgid "The @code{asdf-build-system/source} system installs the packages in source form, and can be loaded using any common lisp implementation, via ASDF@. The others, such as @code{asdf-build-system/sbcl}, install binary systems in the format which a particular implementation understands. These build systems can also be used to produce executable programs, or lisp images which contain a set of packages pre-loaded."
  13189. msgstr ""
  13190. #. type: defvr
  13191. #: guix-git/doc/guix.texi:8110
  13192. msgid "The build system uses naming conventions. For binary packages, the package name should be prefixed with the lisp implementation, such as @code{sbcl-} for @code{asdf-build-system/sbcl}."
  13193. msgstr ""
  13194. #. type: defvr
  13195. #: guix-git/doc/guix.texi:8114
  13196. msgid "Additionally, the corresponding source package should be labeled using the same convention as python packages (see @ref{Python Modules}), using the @code{cl-} prefix."
  13197. msgstr ""
  13198. #. type: defvr
  13199. #: guix-git/doc/guix.texi:8122
  13200. msgid "In order to create executable programs and images, the build-side procedures @code{build-program} and @code{build-image} can be used. They should be called in a build phase after the @code{create-asdf-configuration} phase, so that the system which was just built can be used within the resulting image. @code{build-program} requires a list of Common Lisp expressions to be passed as the @code{#:entry-program} argument."
  13201. msgstr ""
  13202. #. type: defvr
  13203. #: guix-git/doc/guix.texi:8131
  13204. msgid "By default, all the @file{.asd} files present in the sources are read to find system definitions. The @code{#:asd-files} parameter can be used to specify the list of @file{.asd} files to read. Furthermore, if the package defines a system for its tests in a separate file, it will be loaded before the tests are run if it is specified by the @code{#:test-asd-file} parameter. If it is not set, the files @code{<system>-tests.asd}, @code{<system>-test.asd}, @code{tests.asd}, and @code{test.asd} will be tried if they exist."
  13205. msgstr ""
  13206. #. type: defvr
  13207. #: guix-git/doc/guix.texi:8136
  13208. msgid "If for some reason the package must be named in a different way than the naming conventions suggest, or if several systems must be compiled, the @code{#:asd-systems} parameter can be used to specify the list of system names."
  13209. msgstr ""
  13210. #. type: defvr
  13211. #: guix-git/doc/guix.texi:8139
  13212. #, no-wrap
  13213. msgid "{Scheme Variable} cargo-build-system"
  13214. msgstr ""
  13215. #. type: cindex
  13216. #: guix-git/doc/guix.texi:8140
  13217. #, no-wrap
  13218. msgid "Rust programming language"
  13219. msgstr ""
  13220. #. type: cindex
  13221. #: guix-git/doc/guix.texi:8141
  13222. #, no-wrap
  13223. msgid "Cargo (Rust build system)"
  13224. msgstr ""
  13225. #. type: defvr
  13226. #: guix-git/doc/guix.texi:8145
  13227. msgid "This variable is exported by @code{(guix build-system cargo)}. It supports builds of packages using Cargo, the build tool of the @uref{https://www.rust-lang.org, Rust programming language}."
  13228. msgstr ""
  13229. #. type: defvr
  13230. #: guix-git/doc/guix.texi:8148
  13231. msgid "It adds @code{rustc} and @code{cargo} to the set of inputs. A different Rust package can be specified with the @code{#:rust} parameter."
  13232. msgstr ""
  13233. #. type: defvr
  13234. #: guix-git/doc/guix.texi:8158
  13235. msgid "Regular cargo dependencies should be added to the package definition similarly to other packages; those needed only at build time to native-inputs, others to inputs. If you need to add source-only crates then you should add them to via the @code{#:cargo-inputs} parameter as a list of name and spec pairs, where the spec can be a package or a source definition. Note that the spec must evaluate to a path to a gzipped tarball which includes a @code{Cargo.toml} file at its root, or it will be ignored. Similarly, cargo dev-dependencies should be added to the package definition via the @code{#:cargo-development-inputs} parameter."
  13236. msgstr ""
  13237. #. type: defvr
  13238. #: guix-git/doc/guix.texi:8168
  13239. msgid "In its @code{configure} phase, this build system will make any source inputs specified in the @code{#:cargo-inputs} and @code{#:cargo-development-inputs} parameters available to cargo. It will also remove an included @code{Cargo.lock} file to be recreated by @code{cargo} during the @code{build} phase. The @code{package} phase will run @code{cargo package} to create a source crate for future use. The @code{install} phase installs the binaries defined by the crate. Unless @code{install-source? #f} is defined it will also install a source crate repository of itself and unpacked sources, to ease in future hacking on rust packages."
  13240. msgstr ""
  13241. #. type: defvr
  13242. #: guix-git/doc/guix.texi:8170
  13243. #, no-wrap
  13244. msgid "{Scheme Variable} chicken-build-system"
  13245. msgstr ""
  13246. #. type: defvr
  13247. #: guix-git/doc/guix.texi:8175
  13248. msgid "This variable is exported by @code{(guix build-system chicken)}. It builds @uref{https://call-cc.org/, CHICKEN Scheme} modules, also called ``eggs'' or ``extensions''. CHICKEN generates C source code, which then gets compiled by a C compiler, in this case GCC."
  13249. msgstr ""
  13250. #. type: defvr
  13251. #: guix-git/doc/guix.texi:8178
  13252. msgid "This build system adds @code{chicken} to the package inputs, as well as the packages of @code{gnu-build-system}."
  13253. msgstr ""
  13254. #. type: defvr
  13255. #: guix-git/doc/guix.texi:8182
  13256. msgid "The build system can't (yet) deduce the egg's name automatically, so just like with @code{go-build-system} and its @code{#:import-path}, you should define @code{#:egg-name} in the package's @code{arguments} field."
  13257. msgstr ""
  13258. #. type: defvr
  13259. #: guix-git/doc/guix.texi:8184
  13260. msgid "For example, if you are packaging the @code{srfi-1} egg:"
  13261. msgstr ""
  13262. #. type: lisp
  13263. #: guix-git/doc/guix.texi:8187
  13264. #, no-wrap
  13265. msgid "(arguments '(#:egg-name \"srfi-1\"))\n"
  13266. msgstr ""
  13267. #. type: defvr
  13268. #: guix-git/doc/guix.texi:8192
  13269. msgid "Egg dependencies must be defined in @code{propagated-inputs}, not @code{inputs} because CHICKEN doesn't embed absolute references in compiled eggs. Test dependencies should go to @code{native-inputs}, as usual."
  13270. msgstr ""
  13271. #. type: defvr
  13272. #: guix-git/doc/guix.texi:8194
  13273. #, no-wrap
  13274. msgid "{Scheme Variable} copy-build-system"
  13275. msgstr ""
  13276. #. type: defvr
  13277. #: guix-git/doc/guix.texi:8198
  13278. msgid "This variable is exported by @code{(guix build-system copy)}. It supports builds of simple packages that don't require much compiling, mostly just moving files around."
  13279. msgstr ""
  13280. #. type: defvr
  13281. #: guix-git/doc/guix.texi:8203
  13282. msgid "It adds much of the @code{gnu-build-system} packages to the set of inputs. Because of this, the @code{copy-build-system} does not require all the boilerplate code often needed for the @code{trivial-build-system}."
  13283. msgstr ""
  13284. #. type: defvr
  13285. #: guix-git/doc/guix.texi:8208
  13286. msgid "To further simplify the file installation process, an @code{#:install-plan} argument is exposed to let the packager specify which files go where. The install plan is a list of @code{(@var{source} @var{target} [@var{filters}])}. @var{filters} are optional."
  13287. msgstr ""
  13288. #. type: item
  13289. #: guix-git/doc/guix.texi:8210
  13290. #, no-wrap
  13291. msgid "When @var{source} matches a file or directory without trailing slash, install it to @var{target}."
  13292. msgstr ""
  13293. #. type: item
  13294. #: guix-git/doc/guix.texi:8212
  13295. #, no-wrap
  13296. msgid "If @var{target} has a trailing slash, install @var{source} basename beneath @var{target}."
  13297. msgstr ""
  13298. #. type: item
  13299. #: guix-git/doc/guix.texi:8213
  13300. #, no-wrap
  13301. msgid "Otherwise install @var{source} as @var{target}."
  13302. msgstr ""
  13303. #. type: item
  13304. #: guix-git/doc/guix.texi:8216
  13305. #, no-wrap
  13306. msgid "When @var{source} is a directory with a trailing slash, or when @var{filters} are used,"
  13307. msgstr ""
  13308. #. type: itemize
  13309. #: guix-git/doc/guix.texi:8219
  13310. msgid "the trailing slash of @var{target} is implied with the same meaning as above."
  13311. msgstr ""
  13312. #. type: item
  13313. #: guix-git/doc/guix.texi:8220
  13314. #, no-wrap
  13315. msgid "Without @var{filters}, install the full @var{source} @emph{content} to @var{target}."
  13316. msgstr ""
  13317. #. type: item
  13318. #: guix-git/doc/guix.texi:8221
  13319. #, no-wrap
  13320. msgid "With @var{filters} among @code{#:include}, @code{#:include-regexp}, @code{#:exclude},"
  13321. msgstr ""
  13322. #. type: itemize
  13323. #: guix-git/doc/guix.texi:8224
  13324. msgid "@code{#:exclude-regexp}, only select files are installed depending on the filters. Each filters is specified by a list of strings."
  13325. msgstr ""
  13326. #. type: item
  13327. #: guix-git/doc/guix.texi:8225
  13328. #, no-wrap
  13329. msgid "With @code{#:include}, install all the files which the path suffix matches"
  13330. msgstr ""
  13331. #. type: itemize
  13332. #: guix-git/doc/guix.texi:8227
  13333. msgid "at least one of the elements in the given list."
  13334. msgstr ""
  13335. #. type: item
  13336. #: guix-git/doc/guix.texi:8227
  13337. #, no-wrap
  13338. msgid "With @code{#:include-regexp}, install all the files which the"
  13339. msgstr ""
  13340. #. type: itemize
  13341. #: guix-git/doc/guix.texi:8230
  13342. msgid "subpaths match at least one of the regular expressions in the given list."
  13343. msgstr ""
  13344. #. type: item
  13345. #: guix-git/doc/guix.texi:8230
  13346. #, no-wrap
  13347. msgid "The @code{#:exclude} and @code{#:exclude-regexp} filters"
  13348. msgstr ""
  13349. #. type: itemize
  13350. #: guix-git/doc/guix.texi:8235
  13351. msgid "are the complement of their inclusion counterpart. Without @code{#:include} flags, install all files but those matching the exclusion filters. If both inclusions and exclusions are specified, the exclusions are done on top of the inclusions."
  13352. msgstr ""
  13353. #. type: itemize
  13354. #: guix-git/doc/guix.texi:8239
  13355. msgid "In all cases, the paths relative to @var{source} are preserved within @var{target}."
  13356. msgstr ""
  13357. #. type: defvr
  13358. #: guix-git/doc/guix.texi:8242
  13359. msgid "Examples:"
  13360. msgstr "Esimerkkejä:"
  13361. #. type: item
  13362. #: guix-git/doc/guix.texi:8244
  13363. #, no-wrap
  13364. msgid "@code{(\"foo/bar\" \"share/my-app/\")}: Install @file{bar} to @file{share/my-app/bar}."
  13365. msgstr ""
  13366. #. type: item
  13367. #: guix-git/doc/guix.texi:8245
  13368. #, no-wrap
  13369. msgid "@code{(\"foo/bar\" \"share/my-app/baz\")}: Install @file{bar} to @file{share/my-app/baz}."
  13370. msgstr ""
  13371. #. type: item
  13372. #: guix-git/doc/guix.texi:8246
  13373. #, no-wrap
  13374. msgid "@code{(\"foo/\" \"share/my-app\")}: Install the content of @file{foo} inside @file{share/my-app},"
  13375. msgstr ""
  13376. #. type: itemize
  13377. #: guix-git/doc/guix.texi:8248
  13378. msgid "e.g., install @file{foo/sub/file} to @file{share/my-app/sub/file}."
  13379. msgstr ""
  13380. #. type: item
  13381. #: guix-git/doc/guix.texi:8248
  13382. #, no-wrap
  13383. msgid "@code{(\"foo/\" \"share/my-app\" #:include (\"sub/file\"))}: Install only @file{foo/sub/file} to"
  13384. msgstr ""
  13385. #. type: itemize
  13386. #: guix-git/doc/guix.texi:8250
  13387. msgid "@file{share/my-app/sub/file}."
  13388. msgstr ""
  13389. #. type: item
  13390. #: guix-git/doc/guix.texi:8250
  13391. #, no-wrap
  13392. msgid "@code{(\"foo/sub\" \"share/my-app\" #:include (\"file\"))}: Install @file{foo/sub/file} to"
  13393. msgstr ""
  13394. #. type: itemize
  13395. #: guix-git/doc/guix.texi:8252
  13396. msgid "@file{share/my-app/file}."
  13397. msgstr ""
  13398. #. type: cindex
  13399. #: guix-git/doc/guix.texi:8256
  13400. #, no-wrap
  13401. msgid "Clojure (programming language)"
  13402. msgstr ""
  13403. #. type: cindex
  13404. #: guix-git/doc/guix.texi:8257
  13405. #, no-wrap
  13406. msgid "simple Clojure build system"
  13407. msgstr ""
  13408. #. type: defvr
  13409. #: guix-git/doc/guix.texi:8258
  13410. #, no-wrap
  13411. msgid "{Scheme Variable} clojure-build-system"
  13412. msgstr ""
  13413. #. type: defvr
  13414. #: guix-git/doc/guix.texi:8263
  13415. msgid "This variable is exported by @code{(guix build-system clojure)}. It implements a simple build procedure for @uref{https://clojure.org/, Clojure} packages using plain old @code{compile} in Clojure. Cross-compilation is not supported yet."
  13416. msgstr ""
  13417. #. type: defvr
  13418. #: guix-git/doc/guix.texi:8267
  13419. msgid "It adds @code{clojure}, @code{icedtea} and @code{zip} to the set of inputs. Different packages can be specified with the @code{#:clojure}, @code{#:jdk} and @code{#:zip} parameters, respectively."
  13420. msgstr ""
  13421. #. type: defvr
  13422. #: guix-git/doc/guix.texi:8273
  13423. msgid "A list of source directories, test directories and jar names can be specified with the @code{#:source-dirs}, @code{#:test-dirs} and @code{#:jar-names} parameters, respectively. Compile directory and main class can be specified with the @code{#:compile-dir} and @code{#:main-class} parameters, respectively. Other parameters are documented below."
  13424. msgstr ""
  13425. #. type: defvr
  13426. #: guix-git/doc/guix.texi:8276
  13427. msgid "This build system is an extension of @code{ant-build-system}, but with the following phases changed:"
  13428. msgstr ""
  13429. #. type: item
  13430. #: guix-git/doc/guix.texi:8279 guix-git/doc/guix.texi:8852
  13431. #: guix-git/doc/guix.texi:8901 guix-git/doc/guix.texi:8974
  13432. #: guix-git/doc/guix.texi:35595 guix-git/doc/guix.texi:38341
  13433. #, no-wrap
  13434. msgid "build"
  13435. msgstr ""
  13436. #. type: table
  13437. #: guix-git/doc/guix.texi:8288
  13438. msgid "This phase calls @code{compile} in Clojure to compile source files and runs @command{jar} to create jars from both source files and compiled files according to the include list and exclude list specified in @code{#:aot-include} and @code{#:aot-exclude}, respectively. The exclude list has priority over the include list. These lists consist of symbols representing Clojure libraries or the special keyword @code{#:all} representing all Clojure libraries found under the source directories. The parameter @code{#:omit-source?} decides if source should be included into the jars."
  13439. msgstr ""
  13440. #. type: item
  13441. #: guix-git/doc/guix.texi:8289 guix-git/doc/guix.texi:8856
  13442. #: guix-git/doc/guix.texi:8979
  13443. #, no-wrap
  13444. msgid "check"
  13445. msgstr ""
  13446. #. type: table
  13447. #: guix-git/doc/guix.texi:8296
  13448. msgid "This phase runs tests according to the include list and exclude list specified in @code{#:test-include} and @code{#:test-exclude}, respectively. Their meanings are analogous to that of @code{#:aot-include} and @code{#:aot-exclude}, except that the special keyword @code{#:all} now stands for all Clojure libraries found under the test directories. The parameter @code{#:tests?} decides if tests should be run."
  13449. msgstr ""
  13450. #. type: item
  13451. #: guix-git/doc/guix.texi:8297 guix-git/doc/guix.texi:8862
  13452. #: guix-git/doc/guix.texi:8905 guix-git/doc/guix.texi:8985
  13453. #, no-wrap
  13454. msgid "install"
  13455. msgstr "asenna"
  13456. #. type: table
  13457. #: guix-git/doc/guix.texi:8299
  13458. msgid "This phase installs all jars built previously."
  13459. msgstr ""
  13460. #. type: defvr
  13461. #: guix-git/doc/guix.texi:8302
  13462. msgid "Apart from the above, this build system also contains an additional phase:"
  13463. msgstr ""
  13464. #. type: item
  13465. #: guix-git/doc/guix.texi:8305
  13466. #, no-wrap
  13467. msgid "install-doc"
  13468. msgstr ""
  13469. #. type: table
  13470. #: guix-git/doc/guix.texi:8310
  13471. msgid "This phase installs all top-level files with base name matching @code{%doc-regex}. A different regex can be specified with the @code{#:doc-regex} parameter. All files (recursively) inside the documentation directories specified in @code{#:doc-dirs} are installed as well."
  13472. msgstr ""
  13473. #. type: defvr
  13474. #: guix-git/doc/guix.texi:8313
  13475. #, no-wrap
  13476. msgid "{Scheme Variable} cmake-build-system"
  13477. msgstr ""
  13478. #. type: defvr
  13479. #: guix-git/doc/guix.texi:8317
  13480. msgid "This variable is exported by @code{(guix build-system cmake)}. It implements the build procedure for packages using the @url{https://www.cmake.org, CMake build tool}."
  13481. msgstr ""
  13482. #. type: defvr
  13483. #: guix-git/doc/guix.texi:8321
  13484. msgid "It automatically adds the @code{cmake} package to the set of inputs. Which package is used can be specified with the @code{#:cmake} parameter."
  13485. msgstr ""
  13486. #. type: defvr
  13487. #: guix-git/doc/guix.texi:8328
  13488. msgid "The @code{#:configure-flags} parameter is taken as a list of flags passed to the @command{cmake} command. The @code{#:build-type} parameter specifies in abstract terms the flags passed to the compiler; it defaults to @code{\"RelWithDebInfo\"} (short for ``release mode with debugging information''), which roughly means that code is compiled with @code{-O2 -g}, as is the case for Autoconf-based packages by default."
  13489. msgstr ""
  13490. #. type: defvr
  13491. #: guix-git/doc/guix.texi:8330
  13492. #, no-wrap
  13493. msgid "{Scheme Variable} dune-build-system"
  13494. msgstr ""
  13495. #. type: defvr
  13496. #: guix-git/doc/guix.texi:8337
  13497. msgid "This variable is exported by @code{(guix build-system dune)}. It supports builds of packages using @uref{https://dune.build/, Dune}, a build tool for the OCaml programming language. It is implemented as an extension of the @code{ocaml-build-system} which is described below. As such, the @code{#:ocaml} and @code{#:findlib} parameters can be passed to this build system."
  13498. msgstr ""
  13499. #. type: defvr
  13500. #: guix-git/doc/guix.texi:8341
  13501. msgid "It automatically adds the @code{dune} package to the set of inputs. Which package is used can be specified with the @code{#:dune} parameter."
  13502. msgstr ""
  13503. #. type: defvr
  13504. #: guix-git/doc/guix.texi:8345
  13505. msgid "There is no @code{configure} phase because dune packages typically don't need to be configured. The @code{#:build-flags} parameter is taken as a list of flags passed to the @code{dune} command during the build."
  13506. msgstr ""
  13507. #. type: defvr
  13508. #: guix-git/doc/guix.texi:8349
  13509. msgid "The @code{#:jbuild?} parameter can be passed to use the @code{jbuild} command instead of the more recent @code{dune} command while building a package. Its default value is @code{#f}."
  13510. msgstr ""
  13511. #. type: defvr
  13512. #: guix-git/doc/guix.texi:8354
  13513. msgid "The @code{#:package} parameter can be passed to specify a package name, which is useful when a package contains multiple packages and you want to build only one of them. This is equivalent to passing the @code{-p} argument to @code{dune}."
  13514. msgstr ""
  13515. #. type: defvr
  13516. #: guix-git/doc/guix.texi:8357
  13517. #, no-wrap
  13518. msgid "{Scheme Variable} go-build-system"
  13519. msgstr ""
  13520. #. type: defvr
  13521. #: guix-git/doc/guix.texi:8362
  13522. msgid "This variable is exported by @code{(guix build-system go)}. It implements a build procedure for Go packages using the standard @url{https://golang.org/cmd/go/#hdr-Compile_packages_and_dependencies, Go build mechanisms}."
  13523. msgstr ""
  13524. #. type: defvr
  13525. #: guix-git/doc/guix.texi:8373
  13526. msgid "The user is expected to provide a value for the key @code{#:import-path} and, in some cases, @code{#:unpack-path}. The @url{https://golang.org/doc/code.html#ImportPaths, import path} corresponds to the file system path expected by the package's build scripts and any referring packages, and provides a unique way to refer to a Go package. It is typically based on a combination of the package source code's remote URI and file system hierarchy structure. In some cases, you will need to unpack the package's source code to a different directory structure than the one indicated by the import path, and @code{#:unpack-path} should be used in such cases."
  13527. msgstr ""
  13528. #. type: defvr
  13529. #: guix-git/doc/guix.texi:8378
  13530. msgid "Packages that provide Go libraries should install their source code into the built output. The key @code{#:install-source?}, which defaults to @code{#t}, controls whether or not the source code is installed. It can be set to @code{#f} for packages that only provide executable files."
  13531. msgstr ""
  13532. #. type: defvr
  13533. #: guix-git/doc/guix.texi:8385
  13534. msgid "Packages can be cross-built, and if a specific architecture or operating system is desired then the keywords @code{#:goarch} and @code{#:goos} can be used to force the package to be built for that architecture and operating system. The combinations known to Go can be found @url{\"https://golang.org/doc/install/source#environment\", in their documentation}."
  13535. msgstr ""
  13536. #. type: defvr
  13537. #: guix-git/doc/guix.texi:8387
  13538. #, no-wrap
  13539. msgid "{Scheme Variable} glib-or-gtk-build-system"
  13540. msgstr ""
  13541. #. type: defvr
  13542. #: guix-git/doc/guix.texi:8390
  13543. msgid "This variable is exported by @code{(guix build-system glib-or-gtk)}. It is intended for use with packages making use of GLib or GTK+."
  13544. msgstr ""
  13545. #. type: defvr
  13546. #: guix-git/doc/guix.texi:8393
  13547. msgid "This build system adds the following two phases to the ones defined by @code{gnu-build-system}:"
  13548. msgstr ""
  13549. #. type: item
  13550. #: guix-git/doc/guix.texi:8395 guix-git/doc/guix.texi:8878
  13551. #, no-wrap
  13552. msgid "glib-or-gtk-wrap"
  13553. msgstr ""
  13554. #. type: table
  13555. #: guix-git/doc/guix.texi:8402
  13556. msgid "The phase @code{glib-or-gtk-wrap} ensures that programs in @file{bin/} are able to find GLib ``schemas'' and @uref{https://developer.gnome.org/gtk3/stable/gtk-running.html, GTK+ modules}. This is achieved by wrapping the programs in launch scripts that appropriately set the @env{XDG_DATA_DIRS} and @env{GTK_PATH} environment variables."
  13557. msgstr ""
  13558. #. type: table
  13559. #: guix-git/doc/guix.texi:8409
  13560. msgid "It is possible to exclude specific package outputs from that wrapping process by listing their names in the @code{#:glib-or-gtk-wrap-excluded-outputs} parameter. This is useful when an output is known not to contain any GLib or GTK+ binaries, and where wrapping would gratuitously add a dependency of that output on GLib and GTK+."
  13561. msgstr ""
  13562. #. type: item
  13563. #: guix-git/doc/guix.texi:8410 guix-git/doc/guix.texi:8882
  13564. #, no-wrap
  13565. msgid "glib-or-gtk-compile-schemas"
  13566. msgstr ""
  13567. #. type: table
  13568. #: guix-git/doc/guix.texi:8418
  13569. msgid "The phase @code{glib-or-gtk-compile-schemas} makes sure that all @uref{https://developer.gnome.org/gio/stable/glib-compile-schemas.html, GSettings schemas} of GLib are compiled. Compilation is performed by the @command{glib-compile-schemas} program. It is provided by the package @code{glib:bin} which is automatically imported by the build system. The @code{glib} package providing @command{glib-compile-schemas} can be specified with the @code{#:glib} parameter."
  13570. msgstr ""
  13571. #. type: defvr
  13572. #: guix-git/doc/guix.texi:8421
  13573. msgid "Both phases are executed after the @code{install} phase."
  13574. msgstr ""
  13575. #. type: defvr
  13576. #: guix-git/doc/guix.texi:8423
  13577. #, no-wrap
  13578. msgid "{Scheme Variable} guile-build-system"
  13579. msgstr ""
  13580. #. type: defvr
  13581. #: guix-git/doc/guix.texi:8430
  13582. msgid "This build system is for Guile packages that consist exclusively of Scheme code and that are so lean that they don't even have a makefile, let alone a @file{configure} script. It compiles Scheme code using @command{guild compile} (@pxref{Compilation,,, guile, GNU Guile Reference Manual}) and installs the @file{.scm} and @file{.go} files in the right place. It also installs documentation."
  13583. msgstr ""
  13584. #. type: defvr
  13585. #: guix-git/doc/guix.texi:8433
  13586. msgid "This build system supports cross-compilation by using the @option{--target} option of @samp{guild compile}."
  13587. msgstr ""
  13588. #. type: defvr
  13589. #: guix-git/doc/guix.texi:8436
  13590. msgid "Packages built with @code{guile-build-system} must provide a Guile package in their @code{native-inputs} field."
  13591. msgstr ""
  13592. #. type: defvr
  13593. #: guix-git/doc/guix.texi:8438
  13594. #, no-wrap
  13595. msgid "{Scheme Variable} julia-build-system"
  13596. msgstr ""
  13597. #. type: defvr
  13598. #: guix-git/doc/guix.texi:8445
  13599. msgid "This variable is exported by @code{(guix build-system julia)}. It implements the build procedure used by @uref{https://julialang.org/, julia} packages, which essentially is similar to running @samp{julia -e 'using Pkg; Pkg.add(package)'} in an environment where @env{JULIA_LOAD_PATH} contains the paths to all Julia package inputs. Tests are run by calling @code{/test/runtests.jl}."
  13600. msgstr ""
  13601. #. type: defvr
  13602. #: guix-git/doc/guix.texi:8450
  13603. msgid "The Julia package name and uuid is read from the file @file{Project.toml}. These values can be overridden by passing the argument @code{#:julia-package-name} (which must be correctly capitalized) or @code{#:julia-package-uuid}."
  13604. msgstr ""
  13605. #. type: defvr
  13606. #: guix-git/doc/guix.texi:8454
  13607. msgid "Julia packages usually manage their binary dependencies via @code{JLLWrappers.jl}, a Julia package that creates a module (named after the wrapped library followed by @code{_jll.jl}."
  13608. msgstr ""
  13609. #. type: defvr
  13610. #: guix-git/doc/guix.texi:8459
  13611. msgid "To add the binary path @code{_jll.jl} packages, you need to patch the files under @file{src/wrappers/}, replacing the call to the macro @code{JLLWrappers.@@generate_wrapper_header}, adding as a second argument containing the store path the binary."
  13612. msgstr ""
  13613. #. type: defvr
  13614. #: guix-git/doc/guix.texi:8463
  13615. msgid "As an example, in the MbedTLS Julia package, we add a build phase (@pxref{Build Phases}) to insert the absolute file name of the wrapped MbedTLS package:"
  13616. msgstr ""
  13617. #. type: lisp
  13618. #: guix-git/doc/guix.texi:8475
  13619. #, no-wrap
  13620. msgid ""
  13621. "(add-after 'unpack 'override-binary-path\n"
  13622. " (lambda* (#:key inputs #:allow-other-keys)\n"
  13623. " (for-each (lambda (wrapper)\n"
  13624. " (substitute* wrapper\n"
  13625. " ((\"generate_wrapper_header.*\")\n"
  13626. " (string-append\n"
  13627. " \"generate_wrapper_header(\\\"MbedTLS\\\", \\\"\"\n"
  13628. " (assoc-ref inputs \"mbedtls-apache\") \"\\\")\\n\"))))\n"
  13629. " ;; There's a Julia file for each platform, override them all.\n"
  13630. " (find-files \"src/wrappers/\" \"\\\\.jl$\"))))\n"
  13631. msgstr ""
  13632. #. type: defvr
  13633. #: guix-git/doc/guix.texi:8481
  13634. msgid "Some older packages that aren't using @file{Project.toml} yet, will require this file to be created, too. It is internally done if the arguments @code{#:julia-package-name} and @code{#:julia-package-uuid} are provided."
  13635. msgstr ""
  13636. #. type: defvr
  13637. #: guix-git/doc/guix.texi:8483
  13638. #, no-wrap
  13639. msgid "{Scheme Variable} maven-build-system"
  13640. msgstr ""
  13641. #. type: defvr
  13642. #: guix-git/doc/guix.texi:8490
  13643. msgid "This variable is exported by @code{(guix build-system maven)}. It implements a build procedure for @uref{https://maven.apache.org, Maven} packages. Maven is a dependency and lifecycle management tool for Java. A user of Maven specifies dependencies and plugins in a @file{pom.xml} file that Maven reads. When Maven does not have one of the dependencies or plugins in its repository, it will download them and use them to build the package."
  13644. msgstr ""
  13645. #. type: defvr
  13646. #: guix-git/doc/guix.texi:8500
  13647. msgid "The maven build system ensures that maven will not try to download any dependency by running in offline mode. Maven will fail if a dependency is missing. Before running Maven, the @file{pom.xml} (and subprojects) are modified to specify the version of dependencies and plugins that match the versions available in the guix build environment. Dependencies and plugins must be installed in the fake maven repository at @file{lib/m2}, and are symlinked into a proper repository before maven is run. Maven is instructed to use that repository for the build and installs built artifacts there. Changed files are copied to the @file{lib/m2} directory of the package output."
  13648. msgstr ""
  13649. #. type: defvr
  13650. #: guix-git/doc/guix.texi:8503
  13651. msgid "You can specify a @file{pom.xml} file with the @code{#:pom-file} argument, or let the build system use the default @file{pom.xml} file in the sources."
  13652. msgstr ""
  13653. #. type: defvr
  13654. #: guix-git/doc/guix.texi:8509
  13655. msgid "In case you need to specify a dependency's version manually, you can use the @code{#:local-packages} argument. It takes an association list where the key is the groupId of the package and its value is an association list where the key is the artifactId of the package and its value is the version you want to override in the @file{pom.xml}."
  13656. msgstr ""
  13657. #. type: defvr
  13658. #: guix-git/doc/guix.texi:8515
  13659. msgid "Some packages use dependencies or plugins that are not useful at runtime nor at build time in Guix. You can alter the @file{pom.xml} file to remove them using the @code{#:exclude} argument. Its value is an association list where the key is the groupId of the plugin or dependency you want to remove, and the value is a list of artifactId you want to remove."
  13660. msgstr ""
  13661. #. type: defvr
  13662. #: guix-git/doc/guix.texi:8518
  13663. msgid "You can override the default @code{jdk} and @code{maven} packages with the corresponding argument, @code{#:jdk} and @code{#:maven}."
  13664. msgstr ""
  13665. #. type: defvr
  13666. #: guix-git/doc/guix.texi:8523
  13667. msgid "The @code{#:maven-plugins} argument is a list of maven plugins used during the build, with the same format as the @code{inputs} fields of the package declaration. Its default value is @code{(default-maven-plugins)} which is also exported."
  13668. msgstr ""
  13669. #. type: defvr
  13670. #: guix-git/doc/guix.texi:8525
  13671. #, no-wrap
  13672. msgid "{Scheme Variable} minetest-mod-build-system"
  13673. msgstr ""
  13674. #. type: defvr
  13675. #: guix-git/doc/guix.texi:8531
  13676. msgid "This variable is exported by @code{(guix build-system minetest)}. It implements a build procedure for @uref{https://www.minetest.net, Minetest} mods, which consists of copying Lua code, images and other resources to the location Minetest searches for mods. The build system also minimises PNG images and verifies that Minetest can load the mod without errors."
  13677. msgstr ""
  13678. #. type: defvr
  13679. #: guix-git/doc/guix.texi:8533
  13680. #, no-wrap
  13681. msgid "{Scheme Variable} minify-build-system"
  13682. msgstr ""
  13683. #. type: defvr
  13684. #: guix-git/doc/guix.texi:8536
  13685. msgid "This variable is exported by @code{(guix build-system minify)}. It implements a minification procedure for simple JavaScript packages."
  13686. msgstr ""
  13687. #. type: defvr
  13688. #: guix-git/doc/guix.texi:8542
  13689. msgid "It adds @code{uglify-js} to the set of inputs and uses it to compress all JavaScript files in the @file{src} directory. A different minifier package can be specified with the @code{#:uglify-js} parameter, but it is expected that the package writes the minified code to the standard output."
  13690. msgstr ""
  13691. #. type: defvr
  13692. #: guix-git/doc/guix.texi:8546
  13693. msgid "When the input JavaScript files are not all located in the @file{src} directory, the parameter @code{#:javascript-files} can be used to specify a list of file names to feed to the minifier."
  13694. msgstr ""
  13695. #. type: defvr
  13696. #: guix-git/doc/guix.texi:8548
  13697. #, no-wrap
  13698. msgid "{Scheme Variable} ocaml-build-system"
  13699. msgstr ""
  13700. #. type: defvr
  13701. #: guix-git/doc/guix.texi:8554
  13702. msgid "This variable is exported by @code{(guix build-system ocaml)}. It implements a build procedure for @uref{https://ocaml.org, OCaml} packages, which consists of choosing the correct set of commands to run for each package. OCaml packages can expect many different commands to be run. This build system will try some of them."
  13703. msgstr ""
  13704. #. type: defvr
  13705. #: guix-git/doc/guix.texi:8564
  13706. msgid "When the package has a @file{setup.ml} file present at the top-level, it will run @code{ocaml setup.ml -configure}, @code{ocaml setup.ml -build} and @code{ocaml setup.ml -install}. The build system will assume that this file was generated by @uref{http://oasis.forge.ocamlcore.org/, OASIS} and will take care of setting the prefix and enabling tests if they are not disabled. You can pass configure and build flags with the @code{#:configure-flags} and @code{#:build-flags}. The @code{#:test-flags} key can be passed to change the set of flags used to enable tests. The @code{#:use-make?} key can be used to bypass this system in the build and install phases."
  13707. msgstr ""
  13708. #. type: defvr
  13709. #: guix-git/doc/guix.texi:8569
  13710. msgid "When the package has a @file{configure} file, it is assumed that it is a hand-made configure script that requires a different argument format than in the @code{gnu-build-system}. You can add more flags with the @code{#:configure-flags} key."
  13711. msgstr ""
  13712. #. type: defvr
  13713. #: guix-git/doc/guix.texi:8573
  13714. msgid "When the package has a @file{Makefile} file (or @code{#:use-make?} is @code{#t}), it will be used and more flags can be passed to the build and install phases with the @code{#:make-flags} key."
  13715. msgstr ""
  13716. #. type: defvr
  13717. #: guix-git/doc/guix.texi:8581
  13718. msgid "Finally, some packages do not have these files and use a somewhat standard location for its build system. In that case, the build system will run @code{ocaml pkg/pkg.ml} or @code{ocaml pkg/build.ml} and take care of providing the path to the required findlib module. Additional flags can be passed via the @code{#:build-flags} key. Install is taken care of by @command{opam-installer}. In this case, the @code{opam} package must be added to the @code{native-inputs} field of the package definition."
  13719. msgstr ""
  13720. #. type: defvr
  13721. #: guix-git/doc/guix.texi:8589
  13722. msgid "Note that most OCaml packages assume they will be installed in the same directory as OCaml, which is not what we want in guix. In particular, they will install @file{.so} files in their module's directory, which is usually fine because it is in the OCaml compiler directory. In guix though, these libraries cannot be found and we use @env{CAML_LD_LIBRARY_PATH}. This variable points to @file{lib/ocaml/site-lib/stubslibs} and this is where @file{.so} libraries should be installed."
  13723. msgstr ""
  13724. #. type: defvr
  13725. #: guix-git/doc/guix.texi:8591
  13726. #, no-wrap
  13727. msgid "{Scheme Variable} python-build-system"
  13728. msgstr ""
  13729. #. type: defvr
  13730. #: guix-git/doc/guix.texi:8596
  13731. msgid "This variable is exported by @code{(guix build-system python)}. It implements the more or less standard build procedure used by Python packages, which consists in running @code{python setup.py build} and then @code{python setup.py install --prefix=/gnu/store/@dots{}}."
  13732. msgstr ""
  13733. #. type: defvr
  13734. #: guix-git/doc/guix.texi:8601
  13735. msgid "For packages that install stand-alone Python programs under @code{bin/}, it takes care of wrapping these programs so that their @env{GUIX_PYTHONPATH} environment variable points to all the Python libraries they depend on."
  13736. msgstr ""
  13737. #. type: defvr
  13738. #: guix-git/doc/guix.texi:8607
  13739. msgid "Which Python package is used to perform the build can be specified with the @code{#:python} parameter. This is a useful way to force a package to be built for a specific version of the Python interpreter, which might be necessary if the package is only compatible with a single interpreter version."
  13740. msgstr ""
  13741. #. type: defvr
  13742. #: guix-git/doc/guix.texi:8612
  13743. msgid "By default guix calls @code{setup.py} under control of @code{setuptools}, much like @command{pip} does. Some packages are not compatible with setuptools (and pip), thus you can disable this by setting the @code{#:use-setuptools?} parameter to @code{#f}."
  13744. msgstr ""
  13745. #. type: defvr
  13746. #: guix-git/doc/guix.texi:8618
  13747. msgid "If a @code{\"python\"} output is available, the package is installed into it instead of the default @code{\"out\"} output. This is useful for packages that include a Python package as only a part of the software, and thus want to combine the phases of @code{python-build-system} with another build system. Python bindings are a common usecase."
  13748. msgstr ""
  13749. #. type: defvr
  13750. #: guix-git/doc/guix.texi:8621
  13751. #, no-wrap
  13752. msgid "{Scheme Variable} perl-build-system"
  13753. msgstr ""
  13754. #. type: defvr
  13755. #: guix-git/doc/guix.texi:8633
  13756. msgid "This variable is exported by @code{(guix build-system perl)}. It implements the standard build procedure for Perl packages, which either consists in running @code{perl Build.PL --prefix=/gnu/store/@dots{}}, followed by @code{Build} and @code{Build install}; or in running @code{perl Makefile.PL PREFIX=/gnu/store/@dots{}}, followed by @code{make} and @code{make install}, depending on which of @code{Build.PL} or @code{Makefile.PL} is present in the package distribution. Preference is given to the former if both @code{Build.PL} and @code{Makefile.PL} exist in the package distribution. This preference can be reversed by specifying @code{#t} for the @code{#:make-maker?} parameter."
  13757. msgstr ""
  13758. #. type: defvr
  13759. #: guix-git/doc/guix.texi:8637
  13760. msgid "The initial @code{perl Makefile.PL} or @code{perl Build.PL} invocation passes flags specified by the @code{#:make-maker-flags} or @code{#:module-build-flags} parameter, respectively."
  13761. msgstr ""
  13762. #. type: defvr
  13763. #: guix-git/doc/guix.texi:8639
  13764. msgid "Which Perl package is used can be specified with @code{#:perl}."
  13765. msgstr ""
  13766. #. type: defvr
  13767. #: guix-git/doc/guix.texi:8641
  13768. #, no-wrap
  13769. msgid "{Scheme Variable} renpy-build-system"
  13770. msgstr ""
  13771. #. type: defvr
  13772. #: guix-git/doc/guix.texi:8645
  13773. msgid "This variable is exported by @code{(guix build-system renpy)}. It implements the more or less standard build procedure used by Ren'py games, which consists of loading @code{#:game} once, thereby creating bytecode for it."
  13774. msgstr ""
  13775. #. type: defvr
  13776. #: guix-git/doc/guix.texi:8648
  13777. msgid "It further creates a wrapper script in @code{bin/} and a desktop entry in @code{share/applications}, both of which can be used to launch the game."
  13778. msgstr ""
  13779. #. type: defvr
  13780. #: guix-git/doc/guix.texi:8652
  13781. msgid "Which Ren'py package is used can be specified with @code{#:renpy}. Games can also be installed in outputs other than ``out'' by using @code{#:output}."
  13782. msgstr ""
  13783. #. type: defvr
  13784. #: guix-git/doc/guix.texi:8654
  13785. #, no-wrap
  13786. msgid "{Scheme Variable} qt-build-system"
  13787. msgstr ""
  13788. #. type: defvr
  13789. #: guix-git/doc/guix.texi:8657
  13790. msgid "This variable is exported by @code{(guix build-system qt)}. It is intended for use with applications using Qt or KDE."
  13791. msgstr ""
  13792. #. type: defvr
  13793. #: guix-git/doc/guix.texi:8660
  13794. msgid "This build system adds the following two phases to the ones defined by @code{cmake-build-system}:"
  13795. msgstr ""
  13796. #. type: item
  13797. #: guix-git/doc/guix.texi:8662
  13798. #, no-wrap
  13799. msgid "check-setup"
  13800. msgstr ""
  13801. #. type: table
  13802. #: guix-git/doc/guix.texi:8669
  13803. msgid "The phase @code{check-setup} prepares the environment for running the checks as commonly used by Qt test programs. For now this only sets some environment variables: @code{QT_QPA_PLATFORM=offscreen}, @code{DBUS_FATAL_WARNINGS=0} and @code{CTEST_OUTPUT_ON_FAILURE=1}."
  13804. msgstr ""
  13805. #. type: table
  13806. #: guix-git/doc/guix.texi:8672
  13807. msgid "This phase is added before the @code{check} phase. It's a separate phase to ease adjusting if necessary."
  13808. msgstr ""
  13809. #. type: item
  13810. #: guix-git/doc/guix.texi:8673
  13811. #, no-wrap
  13812. msgid "qt-wrap"
  13813. msgstr ""
  13814. #. type: table
  13815. #: guix-git/doc/guix.texi:8679
  13816. msgid "The phase @code{qt-wrap} searches for Qt5 plugin paths, QML paths and some XDG in the inputs and output. In case some path is found, all programs in the output's @file{bin/}, @file{sbin/}, @file{libexec/} and @file{lib/libexec/} directories are wrapped in scripts defining the necessary environment variables."
  13817. msgstr ""
  13818. #. type: table
  13819. #: guix-git/doc/guix.texi:8685
  13820. msgid "It is possible to exclude specific package outputs from that wrapping process by listing their names in the @code{#:qt-wrap-excluded-outputs} parameter. This is useful when an output is known not to contain any Qt binaries, and where wrapping would gratuitously add a dependency of that output on Qt, KDE, or such."
  13821. msgstr ""
  13822. #. type: table
  13823. #: guix-git/doc/guix.texi:8687
  13824. msgid "This phase is added after the @code{install} phase."
  13825. msgstr ""
  13826. #. type: defvr
  13827. #: guix-git/doc/guix.texi:8690
  13828. #, no-wrap
  13829. msgid "{Scheme Variable} r-build-system"
  13830. msgstr ""
  13831. #. type: defvr
  13832. #: guix-git/doc/guix.texi:8698
  13833. msgid "This variable is exported by @code{(guix build-system r)}. It implements the build procedure used by @uref{https://r-project.org, R} packages, which essentially is little more than running @samp{R CMD INSTALL --library=/gnu/store/@dots{}} in an environment where @env{R_LIBS_SITE} contains the paths to all R package inputs. Tests are run after installation using the R function @code{tools::testInstalledPackage}."
  13834. msgstr ""
  13835. #. type: defvr
  13836. #: guix-git/doc/guix.texi:8700
  13837. #, no-wrap
  13838. msgid "{Scheme Variable} rakudo-build-system"
  13839. msgstr ""
  13840. #. type: defvr
  13841. #: guix-git/doc/guix.texi:8708
  13842. msgid "This variable is exported by @code{(guix build-system rakudo)}. It implements the build procedure used by @uref{https://rakudo.org/, Rakudo} for @uref{https://perl6.org/, Perl6} packages. It installs the package to @code{/gnu/store/@dots{}/NAME-VERSION/share/perl6} and installs the binaries, library files and the resources, as well as wrap the files under the @code{bin/} directory. Tests can be skipped by passing @code{#f} to the @code{tests?} parameter."
  13843. msgstr ""
  13844. #. type: defvr
  13845. #: guix-git/doc/guix.texi:8716
  13846. msgid "Which rakudo package is used can be specified with @code{rakudo}. Which perl6-tap-harness package used for the tests can be specified with @code{#:prove6} or removed by passing @code{#f} to the @code{with-prove6?} parameter. Which perl6-zef package used for tests and installing can be specified with @code{#:zef} or removed by passing @code{#f} to the @code{with-zef?} parameter."
  13847. msgstr ""
  13848. #. type: defvr
  13849. #: guix-git/doc/guix.texi:8718
  13850. #, no-wrap
  13851. msgid "{Scheme Variable} texlive-build-system"
  13852. msgstr ""
  13853. #. type: defvr
  13854. #: guix-git/doc/guix.texi:8723
  13855. msgid "This variable is exported by @code{(guix build-system texlive)}. It is used to build TeX packages in batch mode with a specified engine. The build system sets the @env{TEXINPUTS} variable to find all TeX source files in the inputs."
  13856. msgstr ""
  13857. #. type: defvr
  13858. #: guix-git/doc/guix.texi:8732
  13859. msgid "By default it runs @code{luatex} on all files ending on @code{ins}. A different engine and format can be specified with the @code{#:tex-format} argument. Different build targets can be specified with the @code{#:build-targets} argument, which expects a list of file names. The build system adds only @code{texlive-bin} and @code{texlive-latex-base} (both from @code{(gnu packages tex}) to the inputs. Both can be overridden with the arguments @code{#:texlive-bin} and @code{#:texlive-latex-base}, respectively."
  13860. msgstr ""
  13861. #. type: defvr
  13862. #: guix-git/doc/guix.texi:8735
  13863. msgid "The @code{#:tex-directory} parameter tells the build system where to install the built files under the texmf tree."
  13864. msgstr ""
  13865. #. type: defvr
  13866. #: guix-git/doc/guix.texi:8737
  13867. #, no-wrap
  13868. msgid "{Scheme Variable} ruby-build-system"
  13869. msgstr ""
  13870. #. type: defvr
  13871. #: guix-git/doc/guix.texi:8741
  13872. msgid "This variable is exported by @code{(guix build-system ruby)}. It implements the RubyGems build procedure used by Ruby packages, which involves running @code{gem build} followed by @code{gem install}."
  13873. msgstr ""
  13874. #. type: defvr
  13875. #: guix-git/doc/guix.texi:8749
  13876. msgid "The @code{source} field of a package that uses this build system typically references a gem archive, since this is the format that Ruby developers use when releasing their software. The build system unpacks the gem archive, potentially patches the source, runs the test suite, repackages the gem, and installs it. Additionally, directories and tarballs may be referenced to allow building unreleased gems from Git or a traditional source release tarball."
  13877. msgstr ""
  13878. #. type: defvr
  13879. #: guix-git/doc/guix.texi:8753
  13880. msgid "Which Ruby package is used can be specified with the @code{#:ruby} parameter. A list of additional flags to be passed to the @command{gem} command can be specified with the @code{#:gem-flags} parameter."
  13881. msgstr ""
  13882. #. type: defvr
  13883. #: guix-git/doc/guix.texi:8755
  13884. #, no-wrap
  13885. msgid "{Scheme Variable} waf-build-system"
  13886. msgstr ""
  13887. #. type: defvr
  13888. #: guix-git/doc/guix.texi:8761
  13889. msgid "This variable is exported by @code{(guix build-system waf)}. It implements a build procedure around the @code{waf} script. The common phases---@code{configure}, @code{build}, and @code{install}---are implemented by passing their names as arguments to the @code{waf} script."
  13890. msgstr ""
  13891. #. type: defvr
  13892. #: guix-git/doc/guix.texi:8765
  13893. msgid "The @code{waf} script is executed by the Python interpreter. Which Python package is used to run the script can be specified with the @code{#:python} parameter."
  13894. msgstr ""
  13895. #. type: defvr
  13896. #: guix-git/doc/guix.texi:8767
  13897. #, no-wrap
  13898. msgid "{Scheme Variable} scons-build-system"
  13899. msgstr ""
  13900. #. type: defvr
  13901. #: guix-git/doc/guix.texi:8773
  13902. msgid "This variable is exported by @code{(guix build-system scons)}. It implements the build procedure used by the SCons software construction tool. This build system runs @code{scons} to build the package, @code{scons test} to run tests, and then @code{scons install} to install the package."
  13903. msgstr ""
  13904. #. type: defvr
  13905. #: guix-git/doc/guix.texi:8780
  13906. msgid "Additional flags to be passed to @code{scons} can be specified with the @code{#:scons-flags} parameter. The default build and install targets can be overridden with @code{#:build-targets} and @code{#:install-targets} respectively. The version of Python used to run SCons can be specified by selecting the appropriate SCons package with the @code{#:scons} parameter."
  13907. msgstr ""
  13908. #. type: defvr
  13909. #: guix-git/doc/guix.texi:8782
  13910. #, no-wrap
  13911. msgid "{Scheme Variable} haskell-build-system"
  13912. msgstr ""
  13913. #. type: defvr
  13914. #: guix-git/doc/guix.texi:8796
  13915. msgid "This variable is exported by @code{(guix build-system haskell)}. It implements the Cabal build procedure used by Haskell packages, which involves running @code{runhaskell Setup.hs configure --prefix=/gnu/store/@dots{}} and @code{runhaskell Setup.hs build}. Instead of installing the package by running @code{runhaskell Setup.hs install}, to avoid trying to register libraries in the read-only compiler store directory, the build system uses @code{runhaskell Setup.hs copy}, followed by @code{runhaskell Setup.hs register}. In addition, the build system generates the package documentation by running @code{runhaskell Setup.hs haddock}, unless @code{#:haddock? #f} is passed. Optional Haddock parameters can be passed with the help of the @code{#:haddock-flags} parameter. If the file @code{Setup.hs} is not found, the build system looks for @code{Setup.lhs} instead."
  13916. msgstr ""
  13917. #. type: defvr
  13918. #: guix-git/doc/guix.texi:8799
  13919. msgid "Which Haskell compiler is used can be specified with the @code{#:haskell} parameter which defaults to @code{ghc}."
  13920. msgstr ""
  13921. #. type: defvr
  13922. #: guix-git/doc/guix.texi:8801
  13923. #, no-wrap
  13924. msgid "{Scheme Variable} dub-build-system"
  13925. msgstr ""
  13926. #. type: defvr
  13927. #: guix-git/doc/guix.texi:8806
  13928. msgid "This variable is exported by @code{(guix build-system dub)}. It implements the Dub build procedure used by D packages, which involves running @code{dub build} and @code{dub run}. Installation is done by copying the files manually."
  13929. msgstr ""
  13930. #. type: defvr
  13931. #: guix-git/doc/guix.texi:8809
  13932. msgid "Which D compiler is used can be specified with the @code{#:ldc} parameter which defaults to @code{ldc}."
  13933. msgstr ""
  13934. #. type: anchor{#1}
  13935. #: guix-git/doc/guix.texi:8812
  13936. msgid "emacs-build-system"
  13937. msgstr ""
  13938. #. type: defvr
  13939. #: guix-git/doc/guix.texi:8812
  13940. #, no-wrap
  13941. msgid "{Scheme Variable} emacs-build-system"
  13942. msgstr ""
  13943. #. type: defvr
  13944. #: guix-git/doc/guix.texi:8816
  13945. msgid "This variable is exported by @code{(guix build-system emacs)}. It implements an installation procedure similar to the packaging system of Emacs itself (@pxref{Packages,,, emacs, The GNU Emacs Manual})."
  13946. msgstr ""
  13947. #. type: defvr
  13948. #: guix-git/doc/guix.texi:8822
  13949. msgid "It first creates the @code{@code{package}-autoloads.el} file, then it byte compiles all Emacs Lisp files. Differently from the Emacs packaging system, the Info documentation files are moved to the standard documentation directory and the @file{dir} file is deleted. The Elisp package files are installed directly under @file{share/emacs/site-lisp}."
  13950. msgstr ""
  13951. #. type: defvr
  13952. #: guix-git/doc/guix.texi:8824
  13953. #, no-wrap
  13954. msgid "{Scheme Variable} font-build-system"
  13955. msgstr ""
  13956. #. type: defvr
  13957. #: guix-git/doc/guix.texi:8830
  13958. msgid "This variable is exported by @code{(guix build-system font)}. It implements an installation procedure for font packages where upstream provides pre-compiled TrueType, OpenType, etc.@: font files that merely need to be copied into place. It copies font files to standard locations in the output directory."
  13959. msgstr ""
  13960. #. type: defvr
  13961. #: guix-git/doc/guix.texi:8832
  13962. #, no-wrap
  13963. msgid "{Scheme Variable} meson-build-system"
  13964. msgstr ""
  13965. #. type: defvr
  13966. #: guix-git/doc/guix.texi:8836
  13967. msgid "This variable is exported by @code{(guix build-system meson)}. It implements the build procedure for packages that use @url{https://mesonbuild.com, Meson} as their build system."
  13968. msgstr ""
  13969. #. type: defvr
  13970. #: guix-git/doc/guix.texi:8840
  13971. msgid "It adds both Meson and @uref{https://ninja-build.org/, Ninja} to the set of inputs, and they can be changed with the parameters @code{#:meson} and @code{#:ninja} if needed."
  13972. msgstr ""
  13973. #. type: defvr
  13974. #: guix-git/doc/guix.texi:8843
  13975. msgid "This build system is an extension of @code{gnu-build-system}, but with the following phases changed to some specific for Meson:"
  13976. msgstr ""
  13977. #. type: item
  13978. #: guix-git/doc/guix.texi:8846 guix-git/doc/guix.texi:8897
  13979. #: guix-git/doc/guix.texi:8969
  13980. #, no-wrap
  13981. msgid "configure"
  13982. msgstr "muokkaa asetuksia"
  13983. #. type: table
  13984. #: guix-git/doc/guix.texi:8851
  13985. msgid "The phase runs @code{meson} with the flags specified in @code{#:configure-flags}. The flag @option{--buildtype} is always set to @code{debugoptimized} unless something else is specified in @code{#:build-type}."
  13986. msgstr ""
  13987. #. type: table
  13988. #: guix-git/doc/guix.texi:8855
  13989. msgid "The phase runs @code{ninja} to build the package in parallel by default, but this can be changed with @code{#:parallel-build?}."
  13990. msgstr ""
  13991. #. type: table
  13992. #: guix-git/doc/guix.texi:8861
  13993. msgid "The phase runs @samp{meson test} with a base set of options that cannot be overridden. This base set of options can be extended via the @code{#:test-options} argument, for example to select or skip a specific test suite."
  13994. msgstr ""
  13995. #. type: table
  13996. #: guix-git/doc/guix.texi:8864
  13997. msgid "The phase runs @code{ninja install} and can not be changed."
  13998. msgstr ""
  13999. #. type: defvr
  14000. #: guix-git/doc/guix.texi:8867
  14001. msgid "Apart from that, the build system also adds the following phases:"
  14002. msgstr ""
  14003. #. type: item
  14004. #: guix-git/doc/guix.texi:8870
  14005. #, no-wrap
  14006. msgid "fix-runpath"
  14007. msgstr ""
  14008. #. type: table
  14009. #: guix-git/doc/guix.texi:8877
  14010. msgid "This phase ensures that all binaries can find the libraries they need. It searches for required libraries in subdirectories of the package being built, and adds those to @code{RUNPATH} where needed. It also removes references to libraries left over from the build phase by @code{meson}, such as test dependencies, that aren't actually required for the program to run."
  14011. msgstr ""
  14012. #. type: table
  14013. #: guix-git/doc/guix.texi:8881 guix-git/doc/guix.texi:8885
  14014. msgid "This phase is the phase provided by @code{glib-or-gtk-build-system}, and it is not enabled by default. It can be enabled with @code{#:glib-or-gtk?}."
  14015. msgstr ""
  14016. #. type: defvr
  14017. #: guix-git/doc/guix.texi:8888
  14018. #, no-wrap
  14019. msgid "{Scheme Variable} linux-module-build-system"
  14020. msgstr ""
  14021. #. type: defvr
  14022. #: guix-git/doc/guix.texi:8890
  14023. msgid "@code{linux-module-build-system} allows building Linux kernel modules."
  14024. msgstr ""
  14025. #. type: defvr
  14026. #: guix-git/doc/guix.texi:8894
  14027. msgid "This build system is an extension of @code{gnu-build-system}, but with the following phases changed:"
  14028. msgstr ""
  14029. #. type: table
  14030. #: guix-git/doc/guix.texi:8900
  14031. msgid "This phase configures the environment so that the Linux kernel's Makefile can be used to build the external kernel module."
  14032. msgstr ""
  14033. #. type: table
  14034. #: guix-git/doc/guix.texi:8904
  14035. msgid "This phase uses the Linux kernel's Makefile in order to build the external kernel module."
  14036. msgstr ""
  14037. #. type: table
  14038. #: guix-git/doc/guix.texi:8908
  14039. msgid "This phase uses the Linux kernel's Makefile in order to install the external kernel module."
  14040. msgstr ""
  14041. #. type: defvr
  14042. #: guix-git/doc/guix.texi:8913
  14043. msgid "It is possible and useful to specify the Linux kernel to use for building the module (in the @code{arguments} form of a package using the @code{linux-module-build-system}, use the key @code{#:linux} to specify it)."
  14044. msgstr ""
  14045. #. type: defvr
  14046. #: guix-git/doc/guix.texi:8915
  14047. #, no-wrap
  14048. msgid "{Scheme Variable} node-build-system"
  14049. msgstr ""
  14050. #. type: defvr
  14051. #: guix-git/doc/guix.texi:8920
  14052. msgid "This variable is exported by @code{(guix build-system node)}. It implements the build procedure used by @uref{https://nodejs.org, Node.js}, which implements an approximation of the @code{npm install} command, followed by an @code{npm test} command."
  14053. msgstr ""
  14054. #. type: defvr
  14055. #: guix-git/doc/guix.texi:8924
  14056. msgid "Which Node.js package is used to interpret the @code{npm} commands can be specified with the @code{#:node} parameter which defaults to @code{node}."
  14057. msgstr ""
  14058. #. type: Plain text
  14059. #: guix-git/doc/guix.texi:8930
  14060. msgid "Lastly, for packages that do not need anything as sophisticated, a ``trivial'' build system is provided. It is trivial in the sense that it provides basically no support: it does not pull any implicit inputs, and does not have a notion of build phases."
  14061. msgstr ""
  14062. #. type: defvr
  14063. #: guix-git/doc/guix.texi:8931
  14064. #, no-wrap
  14065. msgid "{Scheme Variable} trivial-build-system"
  14066. msgstr ""
  14067. #. type: defvr
  14068. #: guix-git/doc/guix.texi:8933
  14069. msgid "This variable is exported by @code{(guix build-system trivial)}."
  14070. msgstr ""
  14071. #. type: defvr
  14072. #: guix-git/doc/guix.texi:8938
  14073. msgid "This build system requires a @code{#:builder} argument. This argument must be a Scheme expression that builds the package output(s)---as with @code{build-expression->derivation} (@pxref{Derivations, @code{build-expression->derivation}})."
  14074. msgstr ""
  14075. #. type: cindex
  14076. #: guix-git/doc/guix.texi:8943
  14077. #, no-wrap
  14078. msgid "build phases, for packages"
  14079. msgstr ""
  14080. #. type: Plain text
  14081. #: guix-git/doc/guix.texi:8949
  14082. msgid "Almost all package build systems implement a notion @dfn{build phases}: a sequence of actions that the build system executes, when you build the package, leading to the installed byproducts in the store. A notable exception is the ``bare-bones'' @code{trivial-build-system} (@pxref{Build Systems})."
  14083. msgstr ""
  14084. #. type: Plain text
  14085. #: guix-git/doc/guix.texi:8953
  14086. msgid "As discussed in the previous section, those build systems provide a standard list of phases. For @code{gnu-build-system}, the main build phases are the following:"
  14087. msgstr ""
  14088. #. type: item
  14089. #: guix-git/doc/guix.texi:8955
  14090. #, no-wrap
  14091. msgid "set-paths"
  14092. msgstr ""
  14093. #. type: table
  14094. #: guix-git/doc/guix.texi:8958
  14095. msgid "Define search path environment variables for all the input packages, including @env{PATH} (@pxref{Search Paths})."
  14096. msgstr ""
  14097. #. type: item
  14098. #: guix-git/doc/guix.texi:8959
  14099. #, no-wrap
  14100. msgid "unpack"
  14101. msgstr ""
  14102. #. type: table
  14103. #: guix-git/doc/guix.texi:8963
  14104. msgid "Unpack the source tarball, and change the current directory to the extracted source tree. If the source is actually a directory, copy it to the build tree, and enter that directory."
  14105. msgstr ""
  14106. #. type: item
  14107. #: guix-git/doc/guix.texi:8964
  14108. #, no-wrap
  14109. msgid "patch-source-shebangs"
  14110. msgstr ""
  14111. #. type: table
  14112. #: guix-git/doc/guix.texi:8968
  14113. msgid "Patch shebangs encountered in source files so they refer to the right store file names. For instance, this changes @code{#!/bin/sh} to @code{#!/gnu/store/@dots{}-bash-4.3/bin/sh}."
  14114. msgstr ""
  14115. #. type: table
  14116. #: guix-git/doc/guix.texi:8973
  14117. msgid "Run the @file{configure} script with a number of default options, such as @option{--prefix=/gnu/store/@dots{}}, as well as the options specified by the @code{#:configure-flags} argument."
  14118. msgstr ""
  14119. #. type: table
  14120. #: guix-git/doc/guix.texi:8978
  14121. msgid "Run @code{make} with the list of flags specified with @code{#:make-flags}. If the @code{#:parallel-build?} argument is true (the default), build with @code{make -j}."
  14122. msgstr ""
  14123. #. type: table
  14124. #: guix-git/doc/guix.texi:8984
  14125. msgid "Run @code{make check}, or some other target specified with @code{#:test-target}, unless @code{#:tests? #f} is passed. If the @code{#:parallel-tests?} argument is true (the default), run @code{make check -j}."
  14126. msgstr ""
  14127. #. type: table
  14128. #: guix-git/doc/guix.texi:8987
  14129. msgid "Run @code{make install} with the flags listed in @code{#:make-flags}."
  14130. msgstr ""
  14131. #. type: item
  14132. #: guix-git/doc/guix.texi:8988
  14133. #, no-wrap
  14134. msgid "patch-shebangs"
  14135. msgstr ""
  14136. #. type: table
  14137. #: guix-git/doc/guix.texi:8990
  14138. msgid "Patch shebangs on the installed executable files."
  14139. msgstr ""
  14140. #. type: item
  14141. #: guix-git/doc/guix.texi:8991
  14142. #, no-wrap
  14143. msgid "strip"
  14144. msgstr ""
  14145. #. type: table
  14146. #: guix-git/doc/guix.texi:8995
  14147. msgid "Strip debugging symbols from ELF files (unless @code{#:strip-binaries?} is false), copying them to the @code{debug} output when available (@pxref{Installing Debugging Files})."
  14148. msgstr ""
  14149. #. type: Plain text
  14150. #: guix-git/doc/guix.texi:9004
  14151. msgid "Other build systems have similar phases, with some variations. For example, @code{cmake-build-system} has same-named phases but its @code{configure} phases runs @code{cmake} instead of @code{./configure}. Others, such as @code{python-build-system}, have a wholly different list of standard phases. All this code runs on the @dfn{build side}: it is evaluated when you actually build the package, in a dedicated build process spawned by the build daemon (@pxref{Invoking guix-daemon})."
  14152. msgstr ""
  14153. #. type: Plain text
  14154. #: guix-git/doc/guix.texi:9011
  14155. msgid "Build phases are represented as association lists or ``alists'' (@pxref{Association Lists,,, guile, GNU Guile Reference Manual}) where each key is a symbol for the name of the phase and the associated value is a procedure that accepts an arbitrary number of arguments. By convention, those procedures receive information about the build in the form of @dfn{keyword parameters}, which they can use or ignore."
  14156. msgstr ""
  14157. #. type: vindex
  14158. #: guix-git/doc/guix.texi:9012
  14159. #, no-wrap
  14160. msgid "%standard-phases"
  14161. msgstr ""
  14162. #. type: Plain text
  14163. #: guix-git/doc/guix.texi:9018
  14164. msgid "For example, here is how @code{(guix build gnu-build-system)} defines @code{%standard-phases}, the variable holding its alist of build phases@footnote{We present a simplified view of those build phases, but do take a look at @code{(guix build gnu-build-system)} to see all the details!}:"
  14165. msgstr ""
  14166. #. type: lisp
  14167. #: guix-git/doc/guix.texi:9021
  14168. #, no-wrap
  14169. msgid ""
  14170. ";; The build phases of 'gnu-build-system'.\n"
  14171. "\n"
  14172. msgstr ""
  14173. #. type: lisp
  14174. #: guix-git/doc/guix.texi:9025
  14175. #, no-wrap
  14176. msgid ""
  14177. "(define* (unpack #:key source #:allow-other-keys)\n"
  14178. " ;; Extract the source tarball.\n"
  14179. " (invoke \"tar\" \"xvf\" source))\n"
  14180. "\n"
  14181. msgstr ""
  14182. #. type: lisp
  14183. #: guix-git/doc/guix.texi:9031
  14184. #, no-wrap
  14185. msgid ""
  14186. "(define* (configure #:key outputs #:allow-other-keys)\n"
  14187. " ;; Run the 'configure' script. Install to output \"out\".\n"
  14188. " (let ((out (assoc-ref outputs \"out\")))\n"
  14189. " (invoke \"./configure\"\n"
  14190. " (string-append \"--prefix=\" out))))\n"
  14191. "\n"
  14192. msgstr ""
  14193. #. type: lisp
  14194. #: guix-git/doc/guix.texi:9035
  14195. #, no-wrap
  14196. msgid ""
  14197. "(define* (build #:allow-other-keys)\n"
  14198. " ;; Compile.\n"
  14199. " (invoke \"make\"))\n"
  14200. "\n"
  14201. msgstr ""
  14202. #. type: lisp
  14203. #: guix-git/doc/guix.texi:9042
  14204. #, no-wrap
  14205. msgid ""
  14206. "(define* (check #:key (test-target \"check\") (tests? #true)\n"
  14207. " #:allow-other-keys)\n"
  14208. " ;; Run the test suite.\n"
  14209. " (if tests?\n"
  14210. " (invoke \"make\" test-target)\n"
  14211. " (display \"test suite not run\\n\")))\n"
  14212. "\n"
  14213. msgstr ""
  14214. #. type: lisp
  14215. #: guix-git/doc/guix.texi:9046
  14216. #, no-wrap
  14217. msgid ""
  14218. "(define* (install #:allow-other-keys)\n"
  14219. " ;; Install files to the prefix 'configure' specified.\n"
  14220. " (invoke \"make\" \"install\"))\n"
  14221. "\n"
  14222. msgstr ""
  14223. #. type: lisp
  14224. #: guix-git/doc/guix.texi:9055
  14225. #, no-wrap
  14226. msgid ""
  14227. "(define %standard-phases\n"
  14228. " ;; The list of standard phases (quite a few are omitted\n"
  14229. " ;; for brevity). Each element is a symbol/procedure pair.\n"
  14230. " (list (cons 'unpack unpack)\n"
  14231. " (cons 'configure configure)\n"
  14232. " (cons 'build build)\n"
  14233. " (cons 'check check)\n"
  14234. " (cons 'install install)))\n"
  14235. msgstr ""
  14236. #. type: Plain text
  14237. #: guix-git/doc/guix.texi:9065
  14238. msgid "This shows how @code{%standard-phases} is defined as a list of symbol/procedure pairs (@pxref{Pairs,,, guile, GNU Guile Reference Manual}). The first pair associates the @code{unpack} procedure with the @code{unpack} symbol---a name; the second pair defines the @code{configure} phase similarly, and so on. When building a package that uses @code{gnu-build-system} with its default list of phases, those phases are executed sequentially. You can see the name of each phase started and completed in the build log of packages that you build."
  14239. msgstr ""
  14240. #. type: Plain text
  14241. #: guix-git/doc/guix.texi:9071
  14242. msgid "Let's now look at the procedures themselves. Each one is defined with @code{define*}: @code{#:key} lists keyword parameters the procedure accepts, possibly with a default value, and @code{#:allow-other-keys} specifies that other keyword parameters are ignored (@pxref{Optional Arguments,,, guile, GNU Guile Reference Manual})."
  14243. msgstr ""
  14244. #. type: Plain text
  14245. #: guix-git/doc/guix.texi:9087
  14246. msgid "The @code{unpack} procedure honors the @code{source} parameter, which the build system uses to pass the file name of the source tarball (or version control checkout), and it ignores other parameters. The @code{configure} phase only cares about the @code{outputs} parameter, an alist mapping package output names to their store file name (@pxref{Packages with Multiple Outputs}). It extracts the file name of for @code{out}, the default output, and passes it to @command{./configure} as the installation prefix, meaning that @command{make install} will eventually copy all the files in that directory (@pxref{Configuration, configuration and makefile conventions,, standards, GNU Coding Standards}). @code{build} and @code{install} ignore all their arguments. @code{check} honors the @code{test-target} argument, which specifies the name of the Makefile target to run tests; it prints a message and skips tests when @code{tests?} is false."
  14247. msgstr ""
  14248. #. type: cindex
  14249. #: guix-git/doc/guix.texi:9088
  14250. #, no-wrap
  14251. msgid "build phases, customizing"
  14252. msgstr ""
  14253. #. type: Plain text
  14254. #: guix-git/doc/guix.texi:9097
  14255. msgid "The list of phases used for a particular package can be changed with the @code{#:phases} parameter of the build system. Changing the set of build phases boils down to building a new alist of phases based on the @code{%standard-phases} alist described above. This can be done with standard alist procedures such as @code{alist-delete} (@pxref{SRFI-1 Association Lists,,, guile, GNU Guile Reference Manual}); however, it is more convenient to do so with @code{modify-phases} (@pxref{Build Utilities, @code{modify-phases}})."
  14256. msgstr ""
  14257. #. type: Plain text
  14258. #: guix-git/doc/guix.texi:9102
  14259. msgid "Here is an example of a package definition that removes the @code{configure} phase of @code{%standard-phases} and inserts a new phase before the @code{build} phase, called @code{set-prefix-in-makefile}:"
  14260. msgstr ""
  14261. #. type: lisp
  14262. #: guix-git/doc/guix.texi:9122
  14263. #, no-wrap
  14264. msgid ""
  14265. "(define-public example\n"
  14266. " (package\n"
  14267. " (name \"example\")\n"
  14268. " ;; other fields omitted\n"
  14269. " (build-system gnu-build-system)\n"
  14270. " (arguments\n"
  14271. " '(#:phases (modify-phases %standard-phases\n"
  14272. " (delete 'configure)\n"
  14273. " (add-before 'build 'set-prefix-in-makefile\n"
  14274. " (lambda* (#:key outputs #:allow-other-keys)\n"
  14275. " ;; Modify the makefile so that its\n"
  14276. " ;; 'PREFIX' variable points to \"out\".\n"
  14277. " (let ((out (assoc-ref outputs \"out\")))\n"
  14278. " (substitute* \"Makefile\"\n"
  14279. " ((\"PREFIX =.*\")\n"
  14280. " (string-append \"PREFIX = \"\n"
  14281. " out \"\\n\")))\n"
  14282. " #true))))))))\n"
  14283. msgstr ""
  14284. #. type: Plain text
  14285. #: guix-git/doc/guix.texi:9128
  14286. msgid "The new phase that is inserted is written as an anonymous procedure, introduced with @code{lambda*}; it honors the @code{outputs} parameter we have seen before. @xref{Build Utilities}, for more about the helpers used by this phase, and for more examples of @code{modify-phases}."
  14287. msgstr ""
  14288. #. type: cindex
  14289. #: guix-git/doc/guix.texi:9129 guix-git/doc/guix.texi:10464
  14290. #, no-wrap
  14291. msgid "code staging"
  14292. msgstr ""
  14293. #. type: cindex
  14294. #: guix-git/doc/guix.texi:9130 guix-git/doc/guix.texi:10465
  14295. #, no-wrap
  14296. msgid "staging, of code"
  14297. msgstr ""
  14298. #. type: Plain text
  14299. #: guix-git/doc/guix.texi:9137
  14300. msgid "Keep in mind that build phases are code evaluated at the time the package is actually built. This explains why the whole @code{modify-phases} expression above is quoted (it comes after the @code{'} or apostrophe): it is @dfn{staged} for later execution. @xref{G-Expressions}, for an explanation of code staging and the @dfn{code strata} involved."
  14301. msgstr ""
  14302. #. type: Plain text
  14303. #: guix-git/doc/guix.texi:9147
  14304. msgid "As soon as you start writing non-trivial package definitions (@pxref{Defining Packages}) or other build actions (@pxref{G-Expressions}), you will likely start looking for helpers for ``shell-like'' actions---creating directories, copying and deleting files recursively, manipulating build phases, and so on. The @code{(guix build utils)} module provides such utility procedures."
  14305. msgstr ""
  14306. #. type: Plain text
  14307. #: guix-git/doc/guix.texi:9151
  14308. msgid "Most build systems load @code{(guix build utils)} (@pxref{Build Systems}). Thus, when writing custom build phases for your package definitions, you can usually assume those procedures are in scope."
  14309. msgstr ""
  14310. #. type: Plain text
  14311. #: guix-git/doc/guix.texi:9156
  14312. msgid "When writing G-expressions, you can import @code{(guix build utils)} on the ``build side'' using @code{with-imported-modules} and then put it in scope with the @code{use-modules} form (@pxref{Using Guile Modules,,, guile, GNU Guile Reference Manual}):"
  14313. msgstr ""
  14314. #. type: lisp
  14315. #: guix-git/doc/guix.texi:9163
  14316. #, no-wrap
  14317. msgid ""
  14318. "(with-imported-modules '((guix build utils)) ;import it\n"
  14319. " (computed-file \"empty-tree\"\n"
  14320. " #~(begin\n"
  14321. " ;; Put it in scope.\n"
  14322. " (use-modules (guix build utils))\n"
  14323. "\n"
  14324. msgstr ""
  14325. #. type: lisp
  14326. #: guix-git/doc/guix.texi:9166
  14327. #, no-wrap
  14328. msgid ""
  14329. " ;; Happily use its 'mkdir-p' procedure.\n"
  14330. " (mkdir-p (string-append #$output \"/a/b/c\")))))\n"
  14331. msgstr ""
  14332. #. type: Plain text
  14333. #: guix-git/doc/guix.texi:9170
  14334. msgid "The remainder of this section is the reference for most of the utility procedures provided by @code{(guix build utils)}."
  14335. msgstr ""
  14336. #. type: subsection
  14337. #: guix-git/doc/guix.texi:9173
  14338. #, no-wrap
  14339. msgid "Dealing with Store File Names"
  14340. msgstr ""
  14341. #. type: Plain text
  14342. #: guix-git/doc/guix.texi:9176
  14343. msgid "This section documents procedures that deal with store file names."
  14344. msgstr ""
  14345. #. type: deffn
  14346. #: guix-git/doc/guix.texi:9177
  14347. #, no-wrap
  14348. msgid "{Scheme Procedure} %store-directory"
  14349. msgstr ""
  14350. #. type: deffn
  14351. #: guix-git/doc/guix.texi:9179
  14352. msgid "Return the directory name of the store."
  14353. msgstr ""
  14354. #. type: deffn
  14355. #: guix-git/doc/guix.texi:9181
  14356. #, no-wrap
  14357. msgid "{Scheme Procedure} store-file-name? @var{file}"
  14358. msgstr ""
  14359. #. type: deffn
  14360. #: guix-git/doc/guix.texi:9183
  14361. msgid "Return true if @var{file} is in the store."
  14362. msgstr ""
  14363. #. type: deffn
  14364. #: guix-git/doc/guix.texi:9185
  14365. #, no-wrap
  14366. msgid "{Scheme Procedure} strip-store-file-name @var{file}"
  14367. msgstr ""
  14368. #. type: deffn
  14369. #: guix-git/doc/guix.texi:9188
  14370. msgid "Strip the @file{/gnu/store} and hash from @var{file}, a store file name. The result is typically a @code{\"@var{package}-@var{version}\"} string."
  14371. msgstr ""
  14372. #. type: deffn
  14373. #: guix-git/doc/guix.texi:9190
  14374. #, no-wrap
  14375. msgid "{Scheme Procedure} package-name->name+version @var{name}"
  14376. msgstr ""
  14377. #. type: deffn
  14378. #: guix-git/doc/guix.texi:9195
  14379. msgid "Given @var{name}, a package name like @code{\"foo-0.9.1b\"}, return two values: @code{\"foo\"} and @code{\"0.9.1b\"}. When the version part is unavailable, @var{name} and @code{#f} are returned. The first hyphen followed by a digit is considered to introduce the version part."
  14380. msgstr ""
  14381. #. type: subsection
  14382. #: guix-git/doc/guix.texi:9197
  14383. #, no-wrap
  14384. msgid "File Types"
  14385. msgstr "Tiedostotyyppejä"
  14386. #. type: Plain text
  14387. #: guix-git/doc/guix.texi:9200
  14388. msgid "The procedures below deal with files and file types."
  14389. msgstr ""
  14390. #. type: deffn
  14391. #: guix-git/doc/guix.texi:9201
  14392. #, no-wrap
  14393. msgid "{Scheme Procedure} directory-exists? @var{dir}"
  14394. msgstr ""
  14395. #. type: deffn
  14396. #: guix-git/doc/guix.texi:9203
  14397. msgid "Return @code{#t} if @var{dir} exists and is a directory."
  14398. msgstr ""
  14399. #. type: deffn
  14400. #: guix-git/doc/guix.texi:9205
  14401. #, no-wrap
  14402. msgid "{Scheme Procedure} executable-file? @var{file}"
  14403. msgstr ""
  14404. #. type: deffn
  14405. #: guix-git/doc/guix.texi:9207
  14406. msgid "Return @code{#t} if @var{file} exists and is executable."
  14407. msgstr ""
  14408. #. type: deffn
  14409. #: guix-git/doc/guix.texi:9209
  14410. #, no-wrap
  14411. msgid "{Scheme Procedure} symbolic-link? @var{file}"
  14412. msgstr ""
  14413. #. type: deffn
  14414. #: guix-git/doc/guix.texi:9211
  14415. msgid "Return @code{#t} if @var{file} is a symbolic link (aka. a ``symlink'')."
  14416. msgstr ""
  14417. #. type: deffn
  14418. #: guix-git/doc/guix.texi:9213
  14419. #, no-wrap
  14420. msgid "{Scheme Procedure} elf-file? @var{file}"
  14421. msgstr ""
  14422. #. type: deffnx
  14423. #: guix-git/doc/guix.texi:9214
  14424. #, no-wrap
  14425. msgid "{Scheme Procedure} ar-file? @var{file}"
  14426. msgstr ""
  14427. #. type: deffnx
  14428. #: guix-git/doc/guix.texi:9215
  14429. #, no-wrap
  14430. msgid "{Scheme Procedure} gzip-file? @var{file}"
  14431. msgstr ""
  14432. #. type: deffn
  14433. #: guix-git/doc/guix.texi:9218
  14434. msgid "Return @code{#t} if @var{file} is, respectively, an ELF file, an @code{ar} archive (such as a @file{.a} static library), or a gzip file."
  14435. msgstr ""
  14436. #. type: deffn
  14437. #: guix-git/doc/guix.texi:9220
  14438. #, no-wrap
  14439. msgid "{Scheme Procedure} reset-gzip-timestamp @var{file} [#:keep-mtime? #t]"
  14440. msgstr ""
  14441. #. type: deffn
  14442. #: guix-git/doc/guix.texi:9224
  14443. msgid "If @var{file} is a gzip file, reset its embedded timestamp (as with @command{gzip --no-name}) and return true. Otherwise return @code{#f}. When @var{keep-mtime?} is true, preserve @var{file}'s modification time."
  14444. msgstr ""
  14445. #. type: subsection
  14446. #: guix-git/doc/guix.texi:9226
  14447. #, no-wrap
  14448. msgid "File Manipulation"
  14449. msgstr ""
  14450. #. type: Plain text
  14451. #: guix-git/doc/guix.texi:9233
  14452. msgid "The following procedures and macros help create, modify, and delete files. They provide functionality comparable to common shell utilities such as @command{mkdir -p}, @command{cp -r}, @command{rm -r}, and @command{sed}. They complement Guile's extensive, but low-level, file system interface (@pxref{POSIX,,, guile, GNU Guile Reference Manual})."
  14453. msgstr ""
  14454. #. type: deffn
  14455. #: guix-git/doc/guix.texi:9234
  14456. #, no-wrap
  14457. msgid "{Scheme Syntax} with-directory-excursion @var{directory} @var{body}@dots{}"
  14458. msgstr ""
  14459. #. type: deffn
  14460. #: guix-git/doc/guix.texi:9236
  14461. msgid "Run @var{body} with @var{directory} as the process's current directory."
  14462. msgstr ""
  14463. #. type: deffn
  14464. #: guix-git/doc/guix.texi:9243
  14465. msgid "Essentially, this macro changes the current directory to @var{directory} before evaluating @var{body}, using @code{chdir} (@pxref{Processes,,, guile, GNU Guile Reference Manual}). It changes back to the initial directory when the dynamic extent of @var{body} is left, be it @i{via} normal procedure return or @i{via} a non-local exit such as an exception."
  14466. msgstr ""
  14467. #. type: deffn
  14468. #: guix-git/doc/guix.texi:9245
  14469. #, no-wrap
  14470. msgid "{Scheme Procedure} mkdir-p @var{dir}"
  14471. msgstr ""
  14472. #. type: deffn
  14473. #: guix-git/doc/guix.texi:9247
  14474. msgid "Create directory @var{dir} and all its ancestors."
  14475. msgstr ""
  14476. #. type: deffn
  14477. #: guix-git/doc/guix.texi:9249
  14478. #, no-wrap
  14479. msgid "{Scheme Procedure} install-file @var{file} @var{directory}"
  14480. msgstr ""
  14481. #. type: deffn
  14482. #: guix-git/doc/guix.texi:9252
  14483. msgid "Create @var{directory} if it does not exist and copy @var{file} in there under the same name."
  14484. msgstr ""
  14485. #. type: deffn
  14486. #: guix-git/doc/guix.texi:9254
  14487. #, no-wrap
  14488. msgid "{Scheme Procedure} make-file-writable @var{file}"
  14489. msgstr ""
  14490. #. type: deffn
  14491. #: guix-git/doc/guix.texi:9256
  14492. msgid "Make @var{file} writable for its owner."
  14493. msgstr ""
  14494. #. type: deffn
  14495. #: guix-git/doc/guix.texi:9258
  14496. #, no-wrap
  14497. msgid "{Scheme Procedure} copy-recursively @var{source} @var{destination} @"
  14498. msgstr ""
  14499. #. type: deffn
  14500. #: guix-git/doc/guix.texi:9267
  14501. msgid "[#:log (current-output-port)] [#:follow-symlinks? #f] @ [#:copy-file copy-file] [#:keep-mtime? #f] [#:keep-permissions? #t] Copy @var{source} directory to @var{destination}. Follow symlinks if @var{follow-symlinks?} is true; otherwise, just preserve them. Call @var{copy-file} to copy regular files. When @var{keep-mtime?} is true, keep the modification time of the files in @var{source} on those of @var{destination}. When @var{keep-permissions?} is true, preserve file permissions. Write verbose output to the @var{log} port."
  14502. msgstr ""
  14503. #. type: deffn
  14504. #: guix-git/doc/guix.texi:9269
  14505. #, no-wrap
  14506. msgid "{Scheme Procedure} delete-file-recursively @var{dir} @"
  14507. msgstr ""
  14508. #. type: deffn
  14509. #: guix-git/doc/guix.texi:9274
  14510. msgid "[#:follow-mounts? #f] Delete @var{dir} recursively, like @command{rm -rf}, without following symlinks. Don't follow mount points either, unless @var{follow-mounts?} is true. Report but ignore errors."
  14511. msgstr ""
  14512. #. type: deffn
  14513. #: guix-git/doc/guix.texi:9276
  14514. #, no-wrap
  14515. msgid "{Scheme Syntax} substitute* @var{file} @"
  14516. msgstr ""
  14517. #. type: deffn
  14518. #: guix-git/doc/guix.texi:9281
  14519. msgid "((@var{regexp} @var{match-var}@dots{}) @var{body}@dots{}) @dots{} Substitute @var{regexp} in @var{file} by the string returned by @var{body}. @var{body} is evaluated with each @var{match-var} bound to the corresponding positional regexp sub-expression. For example:"
  14520. msgstr ""
  14521. #. type: lisp
  14522. #: guix-git/doc/guix.texi:9288
  14523. #, no-wrap
  14524. msgid ""
  14525. "(substitute* file\n"
  14526. " ((\"hello\")\n"
  14527. " \"good morning\\n\")\n"
  14528. " ((\"foo([a-z]+)bar(.*)$\" all letters end)\n"
  14529. " (string-append \"baz\" letters end)))\n"
  14530. msgstr ""
  14531. #. type: deffn
  14532. #: guix-git/doc/guix.texi:9294
  14533. msgid "Here, anytime a line of @var{file} contains @code{hello}, it is replaced by @code{good morning}. Anytime a line of @var{file} matches the second regexp, @code{all} is bound to the complete match, @code{letters} is bound to the first sub-expression, and @code{end} is bound to the last one."
  14534. msgstr ""
  14535. #. type: deffn
  14536. #: guix-git/doc/guix.texi:9297
  14537. msgid "When one of the @var{match-var} is @code{_}, no variable is bound to the corresponding match substring."
  14538. msgstr ""
  14539. #. type: deffn
  14540. #: guix-git/doc/guix.texi:9300
  14541. msgid "Alternatively, @var{file} may be a list of file names, in which case they are all subject to the substitutions."
  14542. msgstr ""
  14543. #. type: deffn
  14544. #: guix-git/doc/guix.texi:9303
  14545. msgid "Be careful about using @code{$} to match the end of a line; by itself it won't match the terminating newline of a line."
  14546. msgstr ""
  14547. #. type: subsection
  14548. #: guix-git/doc/guix.texi:9305
  14549. #, no-wrap
  14550. msgid "File Search"
  14551. msgstr ""
  14552. #. type: cindex
  14553. #: guix-git/doc/guix.texi:9307
  14554. #, no-wrap
  14555. msgid "file, searching"
  14556. msgstr ""
  14557. #. type: Plain text
  14558. #: guix-git/doc/guix.texi:9309
  14559. msgid "This section documents procedures to search and filter files."
  14560. msgstr ""
  14561. #. type: deffn
  14562. #: guix-git/doc/guix.texi:9310
  14563. #, no-wrap
  14564. msgid "{Scheme Procedure} file-name-predicate @var{regexp}"
  14565. msgstr ""
  14566. #. type: deffn
  14567. #: guix-git/doc/guix.texi:9313
  14568. msgid "Return a predicate that returns true when passed a file name whose base name matches @var{regexp}."
  14569. msgstr ""
  14570. #. type: deffn
  14571. #: guix-git/doc/guix.texi:9315
  14572. #, no-wrap
  14573. msgid "{Scheme Procedure} find-files @var{dir} [@var{pred}] @"
  14574. msgstr ""
  14575. #. type: deffn
  14576. #: guix-git/doc/guix.texi:9326
  14577. msgid "[#:stat lstat] [#:directories? #f] [#:fail-on-error? #f] Return the lexicographically sorted list of files under @var{dir} for which @var{pred} returns true. @var{pred} is passed two arguments: the absolute file name, and its stat buffer; the default predicate always returns true. @var{pred} can also be a regular expression, in which case it is equivalent to @code{(file-name-predicate @var{pred})}. @var{stat} is used to obtain file information; using @code{lstat} means that symlinks are not followed. If @var{directories?} is true, then directories will also be included. If @var{fail-on-error?} is true, raise an exception upon error."
  14578. msgstr ""
  14579. #. type: Plain text
  14580. #: guix-git/doc/guix.texi:9330
  14581. msgid "Here are a few examples where we assume that the current directory is the root of the Guix source tree:"
  14582. msgstr ""
  14583. #. type: lisp
  14584. #: guix-git/doc/guix.texi:9335
  14585. #, no-wrap
  14586. msgid ""
  14587. ";; List all the regular files in the current directory.\n"
  14588. "(find-files \".\")\n"
  14589. "@result{} (\"./.dir-locals.el\" \"./.gitignore\" @dots{})\n"
  14590. "\n"
  14591. msgstr ""
  14592. #. type: lisp
  14593. #: guix-git/doc/guix.texi:9339
  14594. #, no-wrap
  14595. msgid ""
  14596. ";; List all the .scm files under gnu/services.\n"
  14597. "(find-files \"gnu/services\" \"\\\\.scm$\")\n"
  14598. "@result{} (\"gnu/services/admin.scm\" \"gnu/services/audio.scm\" @dots{})\n"
  14599. "\n"
  14600. msgstr ""
  14601. #. type: lisp
  14602. #: guix-git/doc/guix.texi:9343
  14603. #, no-wrap
  14604. msgid ""
  14605. ";; List ar files in the current directory.\n"
  14606. "(find-files \".\" (lambda (file stat) (ar-file? file)))\n"
  14607. "@result{} (\"./libformat.a\" \"./libstore.a\" @dots{})\n"
  14608. msgstr ""
  14609. #. type: deffn
  14610. #: guix-git/doc/guix.texi:9345
  14611. #, no-wrap
  14612. msgid "{Scheme Procedure} which @var{program}"
  14613. msgstr ""
  14614. #. type: deffn
  14615. #: guix-git/doc/guix.texi:9348
  14616. msgid "Return the complete file name for @var{program} as found in @code{$PATH}, or @code{#f} if @var{program} could not be found."
  14617. msgstr ""
  14618. #. type: deffn
  14619. #: guix-git/doc/guix.texi:9350
  14620. #, no-wrap
  14621. msgid "{Scheme Procedure} search-input-file @var{inputs} @var{name}"
  14622. msgstr ""
  14623. #. type: deffnx
  14624. #: guix-git/doc/guix.texi:9351
  14625. #, no-wrap
  14626. msgid "{Scheme Procedure} search-input-directory @var{inputs} @var{name}"
  14627. msgstr ""
  14628. #. type: deffn
  14629. #: guix-git/doc/guix.texi:9356
  14630. msgid "Return the complete file name for @var{name} as found in @var{inputs}; @code{search-input-file} searches for a regular file and @code{search-input-directory} searches for a directory. If @var{name} could not be found, an exception is raised."
  14631. msgstr ""
  14632. #. type: deffn
  14633. #: guix-git/doc/guix.texi:9360
  14634. msgid "Here, @var{inputs} must be an association list like @code{inputs} and @code{native-inputs} as available to build phases (@pxref{Build Phases})."
  14635. msgstr ""
  14636. #. type: Plain text
  14637. #: guix-git/doc/guix.texi:9364
  14638. msgid "Here is a (simplified) example of how @code{search-input-file} is used in a build phase of the @code{wireguard-tools} package:"
  14639. msgstr ""
  14640. #. type: lisp
  14641. #: guix-git/doc/guix.texi:9373
  14642. #, no-wrap
  14643. msgid ""
  14644. "(add-after 'install 'wrap-wg-quick\n"
  14645. " (lambda* (#:key inputs outputs #:allow-other-keys)\n"
  14646. " (let ((coreutils (string-append (assoc-ref inputs \"coreutils\")\n"
  14647. " \"/bin\")))\n"
  14648. " (wrap-program (search-input-file outputs \"bin/wg-quick\")\n"
  14649. " #:sh (search-input-file inputs \"bin/bash\")\n"
  14650. " `(\"PATH\" \":\" prefix ,(list coreutils))))))\n"
  14651. msgstr ""
  14652. #. type: subsection
  14653. #: guix-git/doc/guix.texi:9375
  14654. #, no-wrap
  14655. msgid "Program Invocation"
  14656. msgstr ""
  14657. #. type: cindex
  14658. #: guix-git/doc/guix.texi:9377
  14659. #, no-wrap
  14660. msgid "program invocation, from Scheme"
  14661. msgstr ""
  14662. #. type: cindex
  14663. #: guix-git/doc/guix.texi:9378
  14664. #, no-wrap
  14665. msgid "invoking programs, from Scheme"
  14666. msgstr ""
  14667. #. type: Plain text
  14668. #: guix-git/doc/guix.texi:9382
  14669. msgid "You'll find handy procedures to spawn processes in this module, essentially convenient wrappers around Guile's @code{system*} (@pxref{Processes, @code{system*},, guile, GNU Guile Reference Manual})."
  14670. msgstr ""
  14671. #. type: deffn
  14672. #: guix-git/doc/guix.texi:9383
  14673. #, no-wrap
  14674. msgid "{Scheme Procedure} invoke @var{program} @var{args}@dots{}"
  14675. msgstr ""
  14676. #. type: deffn
  14677. #: guix-git/doc/guix.texi:9387
  14678. msgid "Invoke @var{program} with the given @var{args}. Raise an @code{&invoke-error} exception if the exit code is non-zero; otherwise return @code{#t}."
  14679. msgstr ""
  14680. #. type: deffn
  14681. #: guix-git/doc/guix.texi:9391
  14682. msgid "The advantage compared to @code{system*} is that you do not need to check the return value. This reduces boilerplate in shell-script-like snippets for instance in package build phases."
  14683. msgstr ""
  14684. #. type: deffn
  14685. #: guix-git/doc/guix.texi:9393
  14686. #, no-wrap
  14687. msgid "{Scheme Procedure} invoke-error? @var{c}"
  14688. msgstr ""
  14689. #. type: deffn
  14690. #: guix-git/doc/guix.texi:9395
  14691. msgid "Return true if @var{c} is an @code{&invoke-error} condition."
  14692. msgstr ""
  14693. #. type: deffn
  14694. #: guix-git/doc/guix.texi:9397
  14695. #, no-wrap
  14696. msgid "{Scheme Procedure} invoke-error-program @var{c}"
  14697. msgstr ""
  14698. #. type: deffnx
  14699. #: guix-git/doc/guix.texi:9398
  14700. #, no-wrap
  14701. msgid "{Scheme Procedure} invoke-error-arguments @var{c}"
  14702. msgstr ""
  14703. #. type: deffnx
  14704. #: guix-git/doc/guix.texi:9399
  14705. #, no-wrap
  14706. msgid "{Scheme Procedure} invoke-error-exit-status @var{c}"
  14707. msgstr ""
  14708. #. type: deffnx
  14709. #: guix-git/doc/guix.texi:9400
  14710. #, no-wrap
  14711. msgid "{Scheme Procedure} invoke-error-term-signal @var{c}"
  14712. msgstr ""
  14713. #. type: deffnx
  14714. #: guix-git/doc/guix.texi:9401
  14715. #, no-wrap
  14716. msgid "{Scheme Procedure} invoke-error-stop-signal @var{c}"
  14717. msgstr ""
  14718. #. type: deffn
  14719. #: guix-git/doc/guix.texi:9403
  14720. msgid "Access specific fields of @var{c}, an @code{&invoke-error} condition."
  14721. msgstr ""
  14722. #. type: deffn
  14723. #: guix-git/doc/guix.texi:9405
  14724. #, no-wrap
  14725. msgid "{Scheme Procedure} report-invoke-error @var{c} [@var{port}]"
  14726. msgstr ""
  14727. #. type: deffn
  14728. #: guix-git/doc/guix.texi:9408
  14729. msgid "Report to @var{port} (by default the current error port) about @var{c}, an @code{&invoke-error} condition, in a human-friendly way."
  14730. msgstr ""
  14731. #. type: deffn
  14732. #: guix-git/doc/guix.texi:9410
  14733. msgid "Typical usage would look like this:"
  14734. msgstr ""
  14735. #. type: lisp
  14736. #: guix-git/doc/guix.texi:9414
  14737. #, no-wrap
  14738. msgid ""
  14739. "(use-modules (srfi srfi-34) ;for 'guard'\n"
  14740. " (guix build utils))\n"
  14741. "\n"
  14742. msgstr ""
  14743. #. type: lisp
  14744. #: guix-git/doc/guix.texi:9418
  14745. #, no-wrap
  14746. msgid ""
  14747. "(guard (c ((invoke-error? c)\n"
  14748. " (report-invoke-error c)))\n"
  14749. " (invoke \"date\" \"--imaginary-option\"))\n"
  14750. "\n"
  14751. msgstr ""
  14752. #. type: lisp
  14753. #: guix-git/doc/guix.texi:9420
  14754. #, no-wrap
  14755. msgid "@print{} command \"date\" \"--imaginary-option\" failed with status 1\n"
  14756. msgstr ""
  14757. #. type: deffn
  14758. #: guix-git/doc/guix.texi:9423
  14759. #, no-wrap
  14760. msgid "{Scheme Procedure} invoke/quiet @var{program} @var{args}@dots{}"
  14761. msgstr ""
  14762. #. type: deffn
  14763. #: guix-git/doc/guix.texi:9429
  14764. msgid "Invoke @var{program} with @var{args} and capture @var{program}'s standard output and standard error. If @var{program} succeeds, print nothing and return the unspecified value; otherwise, raise a @code{&message} error condition that includes the status code and the output of @var{program}."
  14765. msgstr ""
  14766. #. type: deffn
  14767. #: guix-git/doc/guix.texi:9431
  14768. #, fuzzy
  14769. #| msgid "For example:"
  14770. msgid "Here's an example:"
  14771. msgstr "Esimerkiksi:"
  14772. #. type: lisp
  14773. #: guix-git/doc/guix.texi:9436
  14774. #, no-wrap
  14775. msgid ""
  14776. "(use-modules (srfi srfi-34) ;for 'guard'\n"
  14777. " (srfi srfi-35) ;for 'message-condition?'\n"
  14778. " (guix build utils))\n"
  14779. "\n"
  14780. msgstr ""
  14781. #. type: lisp
  14782. #: guix-git/doc/guix.texi:9441
  14783. #, no-wrap
  14784. msgid ""
  14785. "(guard (c ((message-condition? c)\n"
  14786. " (display (condition-message c))))\n"
  14787. " (invoke/quiet \"date\") ;all is fine\n"
  14788. " (invoke/quiet \"date\" \"--imaginary-option\"))\n"
  14789. "\n"
  14790. msgstr ""
  14791. #. type: lisp
  14792. #: guix-git/doc/guix.texi:9443
  14793. #, no-wrap
  14794. msgid ""
  14795. "@print{} 'date --imaginary-option' exited with status 1; output follows:\n"
  14796. "\n"
  14797. msgstr ""
  14798. #. type: lisp
  14799. #: guix-git/doc/guix.texi:9446
  14800. #, no-wrap
  14801. msgid ""
  14802. " date: unrecognized option '--imaginary-option'\n"
  14803. " Try 'date --help' for more information.\n"
  14804. msgstr ""
  14805. #. type: Plain text
  14806. #: guix-git/doc/guix.texi:9458
  14807. 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})."
  14808. msgstr ""
  14809. #. type: Plain text
  14810. #: guix-git/doc/guix.texi:9462
  14811. 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."
  14812. msgstr ""
  14813. #. type: cindex
  14814. #: guix-git/doc/guix.texi:9463
  14815. #, no-wrap
  14816. msgid "build phases, modifying"
  14817. msgstr ""
  14818. #. type: deffn
  14819. #: guix-git/doc/guix.texi:9464
  14820. #, no-wrap
  14821. msgid "{Scheme Syntax} modify-phases @var{phases} @var{clause}@dots{}"
  14822. msgstr ""
  14823. #. type: deffn
  14824. #: guix-git/doc/guix.texi:9467
  14825. msgid "Modify @var{phases} sequentially as per each @var{clause}, which may have one of the following forms:"
  14826. msgstr ""
  14827. #. type: lisp
  14828. #: guix-git/doc/guix.texi:9473
  14829. #, no-wrap
  14830. msgid ""
  14831. "(delete @var{old-phase-name})\n"
  14832. "(replace @var{old-phase-name} @var{new-phase})\n"
  14833. "(add-before @var{old-phase-name} @var{new-phase-name} @var{new-phase})\n"
  14834. "(add-after @var{old-phase-name} @var{new-phase-name} @var{new-phase})\n"
  14835. msgstr ""
  14836. #. type: deffn
  14837. #: guix-git/doc/guix.texi:9477
  14838. msgid "Where every @var{phase-name} above is an expression evaluating to a symbol, and @var{new-phase} an expression evaluating to a procedure."
  14839. msgstr ""
  14840. #. type: Plain text
  14841. #: guix-git/doc/guix.texi:9488
  14842. 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:"
  14843. msgstr ""
  14844. #. type: lisp
  14845. #: guix-git/doc/guix.texi:9501
  14846. #, no-wrap
  14847. msgid ""
  14848. "(modify-phases %standard-phases\n"
  14849. " (add-after 'install 'fix-egrep-and-fgrep\n"
  14850. " ;; Patch 'egrep' and 'fgrep' to execute 'grep' via its\n"
  14851. " ;; absolute file name instead of searching for it in $PATH.\n"
  14852. " (lambda* (#:key outputs #:allow-other-keys)\n"
  14853. " (let* ((out (assoc-ref outputs \"out\"))\n"
  14854. " (bin (string-append out \"/bin\")))\n"
  14855. " (substitute* (list (string-append bin \"/egrep\")\n"
  14856. " (string-append bin \"/fgrep\"))\n"
  14857. " ((\"^exec grep\")\n"
  14858. " (string-append \"exec \" bin \"/grep\")))))))\n"
  14859. msgstr ""
  14860. #. type: Plain text
  14861. #: guix-git/doc/guix.texi:9508
  14862. 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:"
  14863. msgstr ""
  14864. #. type: lisp
  14865. #: guix-git/doc/guix.texi:9520
  14866. #, no-wrap
  14867. msgid ""
  14868. "(modify-phases %standard-phases\n"
  14869. " (delete 'configure) ;no 'configure' script\n"
  14870. " (replace 'install\n"
  14871. " (lambda* (#:key outputs #:allow-other-keys)\n"
  14872. " ;; The package's Makefile doesn't provide an \"install\"\n"
  14873. " ;; rule so do it by ourselves.\n"
  14874. " (let ((bin (string-append (assoc-ref outputs \"out\")\n"
  14875. " \"/bin\")))\n"
  14876. " (install-file \"footswitch\" bin)\n"
  14877. " (install-file \"scythe\" bin)))))\n"
  14878. msgstr ""
  14879. #. type: subsection
  14880. #: guix-git/doc/guix.texi:9524
  14881. #, no-wrap
  14882. msgid "Wrappers"
  14883. msgstr ""
  14884. #. type: cindex
  14885. #: guix-git/doc/guix.texi:9526
  14886. #, no-wrap
  14887. msgid "program wrappers"
  14888. msgstr ""
  14889. #. type: cindex
  14890. #: guix-git/doc/guix.texi:9527
  14891. #, no-wrap
  14892. msgid "wrapping programs"
  14893. msgstr ""
  14894. #. type: Plain text
  14895. #: guix-git/doc/guix.texi:9533
  14896. msgid "It is not unusual for a command to require certain environment variables to be set for proper functioning, typically search paths (@pxref{Search Paths}). Failing to do that, the command might fail to find files or other commands it relies on, or it might pick the ``wrong'' ones---depending on the environment in which it runs. Examples include:"
  14897. msgstr ""
  14898. #. type: itemize
  14899. #: guix-git/doc/guix.texi:9537
  14900. msgid "a shell script that assumes all the commands it uses are in @env{PATH};"
  14901. msgstr ""
  14902. #. type: itemize
  14903. #: guix-git/doc/guix.texi:9541
  14904. msgid "a Guile program that assumes all its modules are in @env{GUILE_LOAD_PATH} and @env{GUILE_LOAD_COMPILED_PATH};"
  14905. msgstr ""
  14906. #. type: itemize
  14907. #: guix-git/doc/guix.texi:9545
  14908. msgid "a Qt application that expects to find certain plugins in @env{QT_PLUGIN_PATH}."
  14909. msgstr ""
  14910. #. type: Plain text
  14911. #: guix-git/doc/guix.texi:9553
  14912. msgid "For a package writer, the goal is to make sure commands always work the same rather than depend on some external settings. One way to achieve that is to @dfn{wrap} commands in a thin script that sets those environment variables, thereby ensuring that those run-time dependencies are always found. The wrapper would be used to set @env{PATH}, @env{GUILE_LOAD_PATH}, or @env{QT_PLUGIN_PATH} in the examples above."
  14913. msgstr ""
  14914. #. type: Plain text
  14915. #: guix-git/doc/guix.texi:9556
  14916. msgid "To ease that task, the @code{(guix build utils)} module provides a couple of helpers to wrap commands."
  14917. msgstr ""
  14918. #. type: deffn
  14919. #: guix-git/doc/guix.texi:9557
  14920. #, no-wrap
  14921. msgid "{Scheme Procedure} wrap-program @var{program} @"
  14922. msgstr ""
  14923. #. type: deffn
  14924. #: guix-git/doc/guix.texi:9560
  14925. msgid "[#:sh @var{sh}] [#:rest @var{variables}] Make a wrapper for @var{program}. @var{variables} should look like this:"
  14926. msgstr ""
  14927. #. type: lisp
  14928. #: guix-git/doc/guix.texi:9563
  14929. #, no-wrap
  14930. msgid "'(@var{variable} @var{delimiter} @var{position} @var{list-of-directories})\n"
  14931. msgstr ""
  14932. #. type: deffn
  14933. #: guix-git/doc/guix.texi:9567
  14934. msgid "where @var{delimiter} is optional. @code{:} will be used if @var{delimiter} is not given."
  14935. msgstr ""
  14936. #. type: deffn
  14937. #: guix-git/doc/guix.texi:9569
  14938. #, fuzzy
  14939. #| msgid "For example:"
  14940. msgid "For example, this call:"
  14941. msgstr "Esimerkiksi:"
  14942. #. type: lisp
  14943. #: guix-git/doc/guix.texi:9575
  14944. #, no-wrap
  14945. msgid ""
  14946. "(wrap-program \"foo\"\n"
  14947. " '(\"PATH\" \":\" = (\"/gnu/.../bar/bin\"))\n"
  14948. " '(\"CERT_PATH\" suffix (\"/gnu/.../baz/certs\"\n"
  14949. " \"/qux/certs\")))\n"
  14950. msgstr ""
  14951. #. type: deffn
  14952. #: guix-git/doc/guix.texi:9579
  14953. msgid "will copy @file{foo} to @file{.foo-real} and create the file @file{foo} with the following contents:"
  14954. msgstr ""
  14955. #. type: example
  14956. #: guix-git/doc/guix.texi:9585
  14957. #, no-wrap
  14958. msgid ""
  14959. "#!location/of/bin/bash\n"
  14960. "export PATH=\"/gnu/.../bar/bin\"\n"
  14961. "export CERT_PATH=\"$CERT_PATH$@{CERT_PATH:+:@}/gnu/.../baz/certs:/qux/certs\"\n"
  14962. "exec -a $0 location/of/.foo-real \"$@@\"\n"
  14963. msgstr ""
  14964. #. type: deffn
  14965. #: guix-git/doc/guix.texi:9590
  14966. msgid "If @var{program} has previously been wrapped by @code{wrap-program}, the wrapper is extended with definitions for @var{variables}. If it is not, @var{sh} will be used as the interpreter."
  14967. msgstr ""
  14968. #. type: deffn
  14969. #: guix-git/doc/guix.texi:9592
  14970. #, no-wrap
  14971. msgid "{Scheme Procedure} wrap-script @var{program} @"
  14972. msgstr ""
  14973. #. type: deffn
  14974. #: guix-git/doc/guix.texi:9600
  14975. msgid "[#:guile @var{guile}] [#:rest @var{variables}] Wrap the script @var{program} such that @var{variables} are set first. The format of @var{variables} is the same as in the @code{wrap-program} procedure. This procedure differs from @code{wrap-program} in that it does not create a separate shell script. Instead, @var{program} is modified directly by prepending a Guile script, which is interpreted as a comment in the script's language."
  14976. msgstr ""
  14977. #. type: deffn
  14978. #: guix-git/doc/guix.texi:9603
  14979. msgid "Special encoding comments as supported by Python are recreated on the second line."
  14980. msgstr ""
  14981. #. type: deffn
  14982. #: guix-git/doc/guix.texi:9606
  14983. msgid "Note that this procedure can only be used once per file as Guile scripts are not supported."
  14984. msgstr ""
  14985. #. type: cindex
  14986. #: guix-git/doc/guix.texi:9611
  14987. #, fuzzy, no-wrap
  14988. #| msgid "search"
  14989. msgid "search path"
  14990. msgstr "haku"
  14991. #. type: Plain text
  14992. #: guix-git/doc/guix.texi:9618
  14993. msgid "Many programs and libraries look for input data in a @dfn{search path}, a list of directories: shells like Bash look for executables in the command search path, a C compiler looks for @file{.h} files in its header search path, the Python interpreter looks for @file{.py} files in its search path, the spell checker has a search path for dictionaries, and so on."
  14994. msgstr ""
  14995. #. type: Plain text
  14996. #: guix-git/doc/guix.texi:9626
  14997. msgid "Search paths can usually be defined or overridden @i{via} environment variables (@pxref{Environment Variables,,, libc, The GNU C Library Reference Manual}). For example, the search paths mentioned above can be changed by defining the @env{PATH}, @env{C_INCLUDE_PATH}, @env{PYTHONPATH} (or @env{GUIX_PYTHONPATH}), and @env{DICPATH} environment variables---you know, all these something-PATH variables that you need to get right or things ``won't be found''."
  14998. msgstr ""
  14999. #. type: Plain text
  15000. #: guix-git/doc/guix.texi:9636
  15001. msgid "You may have noticed from the command line that Guix ``knows'' which search path environment variables should be defined, and how. When you install packages in your default profile, the file @file{~/.guix-profile/etc/profile} is created, which you can ``source'' from the shell to set those variables. Likewise, if you ask @command{guix shell} to create an environment containing Python and NumPy, a Python library, and if you pass it the @option{--search-paths} option, it will tell you about @env{PATH} and @env{GUIX_PYTHONPATH} (@pxref{Invoking guix shell}):"
  15002. msgstr ""
  15003. #. type: example
  15004. #: guix-git/doc/guix.texi:9641
  15005. #, no-wrap
  15006. msgid ""
  15007. "$ guix shell python python-numpy --pure --search-paths\n"
  15008. "export PATH=\"/gnu/store/@dots{}-profile/bin\"\n"
  15009. "export GUIX_PYTHONPATH=\"/gnu/store/@dots{}-profile/lib/python3.9/site-packages\"\n"
  15010. msgstr ""
  15011. #. type: Plain text
  15012. #: guix-git/doc/guix.texi:9645
  15013. msgid "When you omit @option{--search-paths}, it defines these environment variables right away, such that Python can readily find NumPy:"
  15014. msgstr ""
  15015. #. type: example
  15016. #: guix-git/doc/guix.texi:9654
  15017. #, no-wrap
  15018. msgid ""
  15019. "$ guix shell python python-numpy -- python3\n"
  15020. "Python 3.9.6 (default, Jan 1 1970, 00:00:01)\n"
  15021. "[GCC 10.3.0] on linux\n"
  15022. "Type \"help\", \"copyright\", \"credits\" or \"license\" for more information.\n"
  15023. ">>> import numpy\n"
  15024. ">>> numpy.version.version\n"
  15025. "'1.20.3'\n"
  15026. msgstr ""
  15027. #. type: Plain text
  15028. #: guix-git/doc/guix.texi:9659
  15029. msgid "For this to work, the definition of the @code{python} package @emph{declares} the search path it cares about and its associated environment variable, @env{GUIX_PYTHONPATH}. It looks like this:"
  15030. msgstr ""
  15031. #. type: lisp
  15032. #: guix-git/doc/guix.texi:9669
  15033. #, no-wrap
  15034. msgid ""
  15035. "(package\n"
  15036. " (name \"python\")\n"
  15037. " (version \"3.9.9\")\n"
  15038. " ;; some fields omitted...\n"
  15039. " (native-search-paths\n"
  15040. " (list (search-path-specification\n"
  15041. " (variable \"GUIX_PYTHONPATH\")\n"
  15042. " (files (list \"lib/python/3.9/site-packages\"))))))\n"
  15043. msgstr ""
  15044. #. type: Plain text
  15045. #: guix-git/doc/guix.texi:9684
  15046. msgid "What this @code{native-search-paths} field says is that, when the @code{python} package is used, the @env{GUIX_PYTHONPATH} environment variable must be defined to include all the @file{lib/python/3.9/site-packages} sub-directories encountered in its environment. (The @code{native-} bit means that, if we are in a cross-compilation environment, only native inputs may be added to the search path; @pxref{package Reference, @code{search-paths}}.) In the NumPy example above, the profile where @code{python} appears contains exactly one such sub-directory, and @env{GUIX_PYTHONPATH} is set to that. When there are several @file{lib/python/3.9/site-packages}---this is the case in package build environments---they are all added to @env{GUIX_PYTHONPATH}, separated by colons (@code{:})."
  15047. msgstr ""
  15048. #. type: quotation
  15049. #: guix-git/doc/guix.texi:9691
  15050. msgid "Notice that @env{GUIX_PYTHONPATH} is specified as part of the definition of the @code{python} package, and @emph{not} as part of that of @code{python-numpy}. This is because this environment variable ``belongs'' to Python, not NumPy: Python actually reads the value of that variable and honors it."
  15051. msgstr ""
  15052. #. type: quotation
  15053. #: guix-git/doc/guix.texi:9695
  15054. msgid "Corollary: if you create a profile that does not contain @code{python}, @code{GUIX_PYTHONPATH} will @emph{not} be defined, even if it contains packages that provide @file{.py} files:"
  15055. msgstr ""
  15056. #. type: example
  15057. #: guix-git/doc/guix.texi:9699
  15058. #, no-wrap
  15059. msgid ""
  15060. "$ guix shell python-numpy --search-paths --pure\n"
  15061. "export PATH=\"/gnu/store/@dots{}-profile/bin\"\n"
  15062. msgstr ""
  15063. #. type: quotation
  15064. #: guix-git/doc/guix.texi:9703
  15065. msgid "This makes a lot of sense if we look at this profile in isolation: no software in this profile would read @env{GUIX_PYTHONPATH}."
  15066. msgstr ""
  15067. #. type: Plain text
  15068. #: guix-git/doc/guix.texi:9713
  15069. msgid "Of course, there are many variations on that theme: some packages honor more than one search path, some use separators other than colon, some accumulate several directories in their search path, and so on. A more complex example is the search path of libxml2: the value of the @env{XML_CATALOG_FILES} environment variable is space-separated, it must contain a list of @file{catalog.xml} files (not directories), which are to be found in @file{xml} sub-directories---nothing less. The search path specification looks like this:"
  15070. msgstr ""
  15071. #. type: lisp
  15072. #: guix-git/doc/guix.texi:9725
  15073. #, no-wrap
  15074. msgid ""
  15075. "(package\n"
  15076. " (name \"libxml2\")\n"
  15077. " ;; some fields omitted\n"
  15078. " (native-search-paths\n"
  15079. " (list (search-path-specification\n"
  15080. " (variable \"XML_CATALOG_FILES\")\n"
  15081. " (separator \" \")\n"
  15082. " (files '(\"xml\"))\n"
  15083. " (file-pattern \"^catalog\\\\.xml$\")\n"
  15084. " (file-type 'regular)))))\n"
  15085. msgstr ""
  15086. #. type: Plain text
  15087. #: guix-git/doc/guix.texi:9728
  15088. msgid "Worry not, search path specifications are usually not this tricky."
  15089. msgstr ""
  15090. #. type: Plain text
  15091. #: guix-git/doc/guix.texi:9732
  15092. msgid "The @code{(guix search-paths)} module defines the data type of search path specifications and a number of helper procedures. Below is the reference of search path specifications."
  15093. msgstr ""
  15094. #. type: deftp
  15095. #: guix-git/doc/guix.texi:9733
  15096. #, no-wrap
  15097. msgid "{Data Type} search-path-specification"
  15098. msgstr ""
  15099. #. type: deftp
  15100. #: guix-git/doc/guix.texi:9735
  15101. msgid "The data type for search path specifications."
  15102. msgstr ""
  15103. #. type: code{#1}
  15104. #: guix-git/doc/guix.texi:9737
  15105. #, no-wrap
  15106. msgid "variable"
  15107. msgstr ""
  15108. #. type: table
  15109. #: guix-git/doc/guix.texi:9739
  15110. msgid "The name of the environment variable for this search path (a string)."
  15111. msgstr ""
  15112. #. type: code{#1}
  15113. #: guix-git/doc/guix.texi:9740 guix-git/doc/guix.texi:17607
  15114. #, no-wrap
  15115. msgid "files"
  15116. msgstr "tiedostot"
  15117. #. type: table
  15118. #: guix-git/doc/guix.texi:9743
  15119. msgid "The list of sub-directories (strings) that should be added to the search path."
  15120. msgstr ""
  15121. #. type: item
  15122. #: guix-git/doc/guix.texi:9744
  15123. #, no-wrap
  15124. msgid "@code{separator} (default: @code{\":\"})"
  15125. msgstr ""
  15126. #. type: table
  15127. #: guix-git/doc/guix.texi:9746
  15128. msgid "The string used to separate search path components."
  15129. msgstr ""
  15130. #. type: table
  15131. #: guix-git/doc/guix.texi:9754
  15132. msgid "As a special case, a @code{separator} value of @code{#f} specifies a ``single-component search path''---in other words, a search path that cannot contain more than one element. This is useful in some cases, such as the @code{SSL_CERT_DIR} variable (honored by OpenSSL, cURL, and a few other packages) or the @code{ASPELL_DICT_DIR} variable (honored by the GNU Aspell spell checker), both of which must point to a single directory."
  15133. msgstr ""
  15134. #. type: item
  15135. #: guix-git/doc/guix.texi:9755
  15136. #, no-wrap
  15137. msgid "@code{file-type} (default: @code{'directory})"
  15138. msgstr ""
  15139. #. type: table
  15140. #: guix-git/doc/guix.texi:9759
  15141. msgid "The type of file being matched---@code{'directory} or @code{'regular}, though it can be any symbol returned by @code{stat:type} (@pxref{File System, @code{stat},, guile, GNU Guile Reference Manual})."
  15142. msgstr ""
  15143. #. type: table
  15144. #: guix-git/doc/guix.texi:9762
  15145. msgid "In the libxml2 example above, we would match regular files; in the Python example, we would match directories."
  15146. msgstr ""
  15147. #. type: item
  15148. #: guix-git/doc/guix.texi:9763
  15149. #, no-wrap
  15150. msgid "@code{file-pattern} (default: @code{#f})"
  15151. msgstr ""
  15152. #. type: table
  15153. #: guix-git/doc/guix.texi:9767
  15154. msgid "This must be either @code{#f} or a regular expression specifying files to be matched @emph{within} the sub-directories specified by the @code{files} field."
  15155. msgstr ""
  15156. #. type: table
  15157. #: guix-git/doc/guix.texi:9769
  15158. msgid "Again, the libxml2 example shows a situation where this is needed."
  15159. msgstr ""
  15160. #. type: Plain text
  15161. #: guix-git/doc/guix.texi:9775
  15162. msgid "How do you turn search path specifications on one hand and a bunch of directories on the other hand in a set of environment variable definitions? That's the job of @code{evaluate-search-paths}."
  15163. msgstr ""
  15164. #. type: deffn
  15165. #: guix-git/doc/guix.texi:9776
  15166. #, no-wrap
  15167. msgid "{Scheme Procedure} evaluate-search-paths @var{search-paths} @"
  15168. msgstr ""
  15169. #. type: deffn
  15170. #: guix-git/doc/guix.texi:9782
  15171. msgid "@var{directories} [@var{getenv}] Evaluate @var{search-paths}, a list of search-path specifications, for @var{directories}, a list of directory names, and return a list of specification/value pairs. Use @var{getenv} to determine the current settings and report only settings not already effective."
  15172. msgstr ""
  15173. #. type: Plain text
  15174. #: guix-git/doc/guix.texi:9786
  15175. msgid "The @code{(guix profiles)} provides a higher-level helper procedure, @code{load-profile}, that sets the environment variables of a profile."
  15176. msgstr ""
  15177. #. type: cindex
  15178. #: guix-git/doc/guix.texi:9791
  15179. #, no-wrap
  15180. msgid "store items"
  15181. msgstr ""
  15182. #. type: cindex
  15183. #: guix-git/doc/guix.texi:9792
  15184. #, no-wrap
  15185. msgid "store paths"
  15186. msgstr ""
  15187. #. type: Plain text
  15188. #: guix-git/doc/guix.texi:9803
  15189. msgid "Conceptually, the @dfn{store} is the place where derivations that have been built successfully are stored---by default, @file{/gnu/store}. Sub-directories in the store are referred to as @dfn{store items} or sometimes @dfn{store paths}. The store has an associated database that contains information such as the store paths referred to by each store path, and the list of @emph{valid} store items---results of successful builds. This database resides in @file{@var{localstatedir}/guix/db}, where @var{localstatedir} is the state directory specified @i{via} @option{--localstatedir} at configure time, usually @file{/var}."
  15190. msgstr ""
  15191. #. type: Plain text
  15192. #: guix-git/doc/guix.texi:9808
  15193. msgid "The store is @emph{always} accessed by the daemon on behalf of its clients (@pxref{Invoking guix-daemon}). To manipulate the store, clients connect to the daemon over a Unix-domain socket, send requests to it, and read the result---these are remote procedure calls, or RPCs."
  15194. msgstr ""
  15195. #. type: quotation
  15196. #: guix-git/doc/guix.texi:9813
  15197. msgid "Users must @emph{never} modify files under @file{/gnu/store} directly. This would lead to inconsistencies and break the immutability assumptions of Guix's functional model (@pxref{Introduction})."
  15198. msgstr ""
  15199. #. type: quotation
  15200. #: guix-git/doc/guix.texi:9817
  15201. msgid "@xref{Invoking guix gc, @command{guix gc --verify}}, for information on how to check the integrity of the store and attempt recovery from accidental modifications."
  15202. msgstr ""
  15203. #. type: Plain text
  15204. #: guix-git/doc/guix.texi:9824
  15205. msgid "The @code{(guix store)} module provides procedures to connect to the daemon, and to perform RPCs. These are described below. By default, @code{open-connection}, and thus all the @command{guix} commands, connect to the local daemon or to the URI specified by the @env{GUIX_DAEMON_SOCKET} environment variable."
  15206. msgstr ""
  15207. #. type: defvr
  15208. #: guix-git/doc/guix.texi:9825
  15209. #, no-wrap
  15210. msgid "{Environment Variable} GUIX_DAEMON_SOCKET"
  15211. msgstr ""
  15212. #. type: defvr
  15213. #: guix-git/doc/guix.texi:9830
  15214. msgid "When set, the value of this variable should be a file name or a URI designating the daemon endpoint. When it is a file name, it denotes a Unix-domain socket to connect to. In addition to file names, the supported URI schemes are:"
  15215. msgstr ""
  15216. #. type: code{#1}
  15217. #: guix-git/doc/guix.texi:9832 guix-git/doc/guix.texi:26613
  15218. #, no-wrap
  15219. msgid "file"
  15220. msgstr "tiedosto"
  15221. #. type: itemx
  15222. #: guix-git/doc/guix.texi:9833
  15223. #, no-wrap
  15224. msgid "unix"
  15225. msgstr ""
  15226. #. type: table
  15227. #: guix-git/doc/guix.texi:9837
  15228. msgid "These are for Unix-domain sockets. @code{file:///var/guix/daemon-socket/socket} is equivalent to @file{/var/guix/daemon-socket/socket}."
  15229. msgstr ""
  15230. #. type: table
  15231. #: guix-git/doc/guix.texi:9846
  15232. msgid "These URIs denote connections over TCP/IP, without encryption nor authentication of the remote host. The URI must specify the host name and optionally a port number (by default port 44146 is used):"
  15233. msgstr ""
  15234. #. type: example
  15235. #: guix-git/doc/guix.texi:9849
  15236. #, no-wrap
  15237. msgid "guix://master.guix.example.org:1234\n"
  15238. msgstr ""
  15239. #. type: table
  15240. #: guix-git/doc/guix.texi:9854
  15241. msgid "This setup is suitable on local networks, such as clusters, where only trusted nodes may connect to the build daemon at @code{master.guix.example.org}."
  15242. msgstr ""
  15243. #. type: table
  15244. #: guix-git/doc/guix.texi:9858
  15245. msgid "The @option{--listen} option of @command{guix-daemon} can be used to instruct it to listen for TCP connections (@pxref{Invoking guix-daemon, @option{--listen}})."
  15246. msgstr ""
  15247. #. type: item
  15248. #: guix-git/doc/guix.texi:9859
  15249. #, no-wrap
  15250. msgid "ssh"
  15251. msgstr "ssh"
  15252. #. type: cindex
  15253. #: guix-git/doc/guix.texi:9860
  15254. #, no-wrap
  15255. msgid "SSH access to build daemons"
  15256. msgstr ""
  15257. #. type: table
  15258. #: guix-git/doc/guix.texi:9866
  15259. msgid "These URIs allow you to connect to a remote daemon over SSH@. This feature requires Guile-SSH (@pxref{Requirements}) and a working @command{guile} binary in @env{PATH} on the destination machine. It supports public key and GSSAPI authentication. A typical URL might look like this:"
  15260. msgstr ""
  15261. #. type: example
  15262. #: guix-git/doc/guix.texi:9869
  15263. #, no-wrap
  15264. msgid "ssh://charlie@@guix.example.org:22\n"
  15265. msgstr ""
  15266. #. type: table
  15267. #: guix-git/doc/guix.texi:9873
  15268. msgid "As for @command{guix copy}, the usual OpenSSH client configuration files are honored (@pxref{Invoking guix copy})."
  15269. msgstr ""
  15270. #. type: defvr
  15271. #: guix-git/doc/guix.texi:9876
  15272. msgid "Additional URI schemes may be supported in the future."
  15273. msgstr ""
  15274. #. type: quotation
  15275. #: guix-git/doc/guix.texi:9883
  15276. msgid "The ability to connect to remote build daemons is considered experimental as of @value{VERSION}. Please get in touch with us to share any problems or suggestions you may have (@pxref{Contributing})."
  15277. msgstr ""
  15278. #. type: deffn
  15279. #: guix-git/doc/guix.texi:9886
  15280. #, no-wrap
  15281. msgid "{Scheme Procedure} open-connection [@var{uri}] [#:reserve-space? #t]"
  15282. msgstr ""
  15283. #. type: deffn
  15284. #: guix-git/doc/guix.texi:9891
  15285. msgid "Connect to the daemon over the Unix-domain socket at @var{uri} (a string). When @var{reserve-space?} is true, instruct it to reserve a little bit of extra space on the file system so that the garbage collector can still operate should the disk become full. Return a server object."
  15286. msgstr ""
  15287. #. type: deffn
  15288. #: guix-git/doc/guix.texi:9894
  15289. msgid "@var{file} defaults to @code{%default-socket-path}, which is the normal location given the options that were passed to @command{configure}."
  15290. msgstr ""
  15291. #. type: deffn
  15292. #: guix-git/doc/guix.texi:9896
  15293. #, no-wrap
  15294. msgid "{Scheme Procedure} close-connection @var{server}"
  15295. msgstr ""
  15296. #. type: deffn
  15297. #: guix-git/doc/guix.texi:9898
  15298. msgid "Close the connection to @var{server}."
  15299. msgstr ""
  15300. #. type: defvr
  15301. #: guix-git/doc/guix.texi:9900
  15302. #, no-wrap
  15303. msgid "{Scheme Variable} current-build-output-port"
  15304. msgstr ""
  15305. #. type: defvr
  15306. #: guix-git/doc/guix.texi:9903
  15307. msgid "This variable is bound to a SRFI-39 parameter, which refers to the port where build and error logs sent by the daemon should be written."
  15308. msgstr ""
  15309. #. type: Plain text
  15310. #: guix-git/doc/guix.texi:9907
  15311. msgid "Procedures that make RPCs all take a server object as their first argument."
  15312. msgstr ""
  15313. #. type: deffn
  15314. #: guix-git/doc/guix.texi:9908
  15315. #, no-wrap
  15316. msgid "{Scheme Procedure} valid-path? @var{server} @var{path}"
  15317. msgstr ""
  15318. #. type: cindex
  15319. #: guix-git/doc/guix.texi:9909
  15320. #, no-wrap
  15321. msgid "invalid store items"
  15322. msgstr ""
  15323. #. type: deffn
  15324. #: guix-git/doc/guix.texi:9914
  15325. msgid "Return @code{#t} when @var{path} designates a valid store item and @code{#f} otherwise (an invalid item may exist on disk but still be invalid, for instance because it is the result of an aborted or failed build)."
  15326. msgstr ""
  15327. #. type: deffn
  15328. #: guix-git/doc/guix.texi:9917
  15329. msgid "A @code{&store-protocol-error} condition is raised if @var{path} is not prefixed by the store directory (@file{/gnu/store})."
  15330. msgstr ""
  15331. #. type: deffn
  15332. #: guix-git/doc/guix.texi:9919
  15333. #, no-wrap
  15334. msgid "{Scheme Procedure} add-text-to-store @var{server} @var{name} @var{text} [@var{references}]"
  15335. msgstr ""
  15336. #. type: deffn
  15337. #: guix-git/doc/guix.texi:9923
  15338. msgid "Add @var{text} under file @var{name} in the store, and return its store path. @var{references} is the list of store paths referred to by the resulting store path."
  15339. msgstr ""
  15340. #. type: deffn
  15341. #: guix-git/doc/guix.texi:9925
  15342. #, no-wrap
  15343. msgid "{Scheme Procedure} build-derivations @var{store} @var{derivations} @"
  15344. msgstr ""
  15345. #. type: deffn
  15346. #: guix-git/doc/guix.texi:9930
  15347. msgid "[@var{mode}] Build @var{derivations}, a list of @code{<derivation>} objects, @file{.drv} file names, or derivation/output pairs, using the specified @var{mode}---@code{(build-mode normal)} by default."
  15348. msgstr ""
  15349. #. type: Plain text
  15350. #: guix-git/doc/guix.texi:9936
  15351. msgid "Note that the @code{(guix monads)} module provides a monad as well as monadic versions of the above procedures, with the goal of making it more convenient to work with code that accesses the store (@pxref{The Store Monad})."
  15352. msgstr ""
  15353. #. type: i{#1}
  15354. #: guix-git/doc/guix.texi:9939
  15355. msgid "This section is currently incomplete."
  15356. msgstr ""
  15357. #. type: cindex
  15358. #: guix-git/doc/guix.texi:9943
  15359. #, no-wrap
  15360. msgid "derivations"
  15361. msgstr ""
  15362. #. type: Plain text
  15363. #: guix-git/doc/guix.texi:9947
  15364. msgid "Low-level build actions and the environment in which they are performed are represented by @dfn{derivations}. A derivation contains the following pieces of information:"
  15365. msgstr ""
  15366. #. type: itemize
  15367. #: guix-git/doc/guix.texi:9952
  15368. msgid "The outputs of the derivation---derivations produce at least one file or directory in the store, but may produce more."
  15369. msgstr ""
  15370. #. type: cindex
  15371. #: guix-git/doc/guix.texi:9954
  15372. #, no-wrap
  15373. msgid "build-time dependencies"
  15374. msgstr ""
  15375. #. type: cindex
  15376. #: guix-git/doc/guix.texi:9955
  15377. #, no-wrap
  15378. msgid "dependencies, build-time"
  15379. msgstr ""
  15380. #. type: itemize
  15381. #: guix-git/doc/guix.texi:9959
  15382. msgid "The inputs of the derivations---i.e., its build-time dependencies---which may be other derivations or plain files in the store (patches, build scripts, etc.)."
  15383. msgstr ""
  15384. #. type: itemize
  15385. #: guix-git/doc/guix.texi:9962
  15386. msgid "The system type targeted by the derivation---e.g., @code{x86_64-linux}."
  15387. msgstr ""
  15388. #. type: itemize
  15389. #: guix-git/doc/guix.texi:9966
  15390. msgid "The file name of a build script in the store, along with the arguments to be passed."
  15391. msgstr ""
  15392. #. type: itemize
  15393. #: guix-git/doc/guix.texi:9969
  15394. msgid "A list of environment variables to be defined."
  15395. msgstr ""
  15396. #. type: cindex
  15397. #: guix-git/doc/guix.texi:9972
  15398. #, no-wrap
  15399. msgid "derivation path"
  15400. msgstr ""
  15401. #. type: Plain text
  15402. #: guix-git/doc/guix.texi:9980
  15403. msgid "Derivations allow clients of the daemon to communicate build actions to the store. They exist in two forms: as an in-memory representation, both on the client- and daemon-side, and as files in the store whose name end in @file{.drv}---these files are referred to as @dfn{derivation paths}. Derivations paths can be passed to the @code{build-derivations} procedure to perform the build actions they prescribe (@pxref{The Store})."
  15404. msgstr ""
  15405. #. type: cindex
  15406. #: guix-git/doc/guix.texi:9981
  15407. #, no-wrap
  15408. msgid "fixed-output derivations"
  15409. msgstr ""
  15410. #. type: Plain text
  15411. #: guix-git/doc/guix.texi:9988
  15412. msgid "Operations such as file downloads and version-control checkouts for which the expected content hash is known in advance are modeled as @dfn{fixed-output derivations}. Unlike regular derivations, the outputs of a fixed-output derivation are independent of its inputs---e.g., a source code download produces the same result regardless of the download method and tools being used."
  15413. msgstr ""
  15414. #. type: item
  15415. #: guix-git/doc/guix.texi:9989 guix-git/doc/guix.texi:13802
  15416. #, no-wrap
  15417. msgid "references"
  15418. msgstr "viitteet"
  15419. #. type: cindex
  15420. #: guix-git/doc/guix.texi:9990
  15421. #, no-wrap
  15422. msgid "run-time dependencies"
  15423. msgstr ""
  15424. #. type: cindex
  15425. #: guix-git/doc/guix.texi:9991
  15426. #, no-wrap
  15427. msgid "dependencies, run-time"
  15428. msgstr ""
  15429. #. type: Plain text
  15430. #: guix-git/doc/guix.texi:9998
  15431. msgid "The outputs of derivations---i.e., the build results---have a set of @dfn{references}, as reported by the @code{references} RPC or the @command{guix gc --references} command (@pxref{Invoking guix gc}). References are the set of run-time dependencies of the build results. References are a subset of the inputs of the derivation; this subset is automatically computed by the build daemon by scanning all the files in the outputs."
  15432. msgstr ""
  15433. #. type: Plain text
  15434. #: guix-git/doc/guix.texi:10003
  15435. msgid "The @code{(guix derivations)} module provides a representation of derivations as Scheme objects, along with procedures to create and otherwise manipulate derivations. The lowest-level primitive to create a derivation is the @code{derivation} procedure:"
  15436. msgstr ""
  15437. #. type: deffn
  15438. #: guix-git/doc/guix.texi:10004
  15439. #, no-wrap
  15440. msgid "{Scheme Procedure} derivation @var{store} @var{name} @var{builder} @"
  15441. msgstr ""
  15442. #. type: deffn
  15443. #: guix-git/doc/guix.texi:10013
  15444. msgid "@var{args} [#:outputs '(\"out\")] [#:hash #f] [#:hash-algo #f] @ [#:recursive? #f] [#:inputs '()] [#:env-vars '()] @ [#:system (%current-system)] [#:references-graphs #f] @ [#:allowed-references #f] [#:disallowed-references #f] @ [#:leaked-env-vars #f] [#:local-build? #f] @ [#:substitutable? #t] [#:properties '()] Build a derivation with the given arguments, and return the resulting @code{<derivation>} object."
  15445. msgstr ""
  15446. #. type: deffn
  15447. #: guix-git/doc/guix.texi:10020
  15448. msgid "When @var{hash} and @var{hash-algo} are given, a @dfn{fixed-output derivation} is created---i.e., one whose result is known in advance, such as a file download. If, in addition, @var{recursive?} is true, then that fixed output may be an executable file or a directory and @var{hash} must be the hash of an archive containing this output."
  15449. msgstr ""
  15450. #. type: deffn
  15451. #: guix-git/doc/guix.texi:10025
  15452. msgid "When @var{references-graphs} is true, it must be a list of file name/store path pairs. In that case, the reference graph of each store path is exported in the build environment in the corresponding file, in a simple text format."
  15453. msgstr ""
  15454. #. type: deffn
  15455. #: guix-git/doc/guix.texi:10030
  15456. msgid "When @var{allowed-references} is true, it must be a list of store items or outputs that the derivation's output may refer to. Likewise, @var{disallowed-references}, if true, must be a list of things the outputs may @emph{not} refer to."
  15457. msgstr ""
  15458. #. type: deffn
  15459. #: guix-git/doc/guix.texi:10037
  15460. msgid "When @var{leaked-env-vars} is true, it must be a list of strings denoting environment variables that are allowed to ``leak'' from the daemon's environment to the build environment. This is only applicable to fixed-output derivations---i.e., when @var{hash} is true. The main use is to allow variables such as @code{http_proxy} to be passed to derivations that download files."
  15461. msgstr ""
  15462. #. type: deffn
  15463. #: guix-git/doc/guix.texi:10042
  15464. msgid "When @var{local-build?} is true, declare that the derivation is not a good candidate for offloading and should rather be built locally (@pxref{Daemon Offload Setup}). This is the case for small derivations where the costs of data transfers would outweigh the benefits."
  15465. msgstr ""
  15466. #. type: deffn
  15467. #: guix-git/doc/guix.texi:10047
  15468. msgid "When @var{substitutable?} is false, declare that substitutes of the derivation's output should not be used (@pxref{Substitutes}). This is useful, for instance, when building packages that capture details of the host CPU instruction set."
  15469. msgstr ""
  15470. #. type: deffn
  15471. #: guix-git/doc/guix.texi:10050
  15472. msgid "@var{properties} must be an association list describing ``properties'' of the derivation. It is kept as-is, uninterpreted, in the derivation."
  15473. msgstr ""
  15474. #. type: Plain text
  15475. #: guix-git/doc/guix.texi:10056
  15476. msgid "Here's an example with a shell script as its builder, assuming @var{store} is an open connection to the daemon, and @var{bash} points to a Bash executable in the store:"
  15477. msgstr ""
  15478. #. type: lisp
  15479. #: guix-git/doc/guix.texi:10061
  15480. #, no-wrap
  15481. msgid ""
  15482. "(use-modules (guix utils)\n"
  15483. " (guix store)\n"
  15484. " (guix derivations))\n"
  15485. "\n"
  15486. msgstr ""
  15487. #. type: lisp
  15488. #: guix-git/doc/guix.texi:10070
  15489. #, no-wrap
  15490. msgid ""
  15491. "(let ((builder ; add the Bash script to the store\n"
  15492. " (add-text-to-store store \"my-builder.sh\"\n"
  15493. " \"echo hello world > $out\\n\" '())))\n"
  15494. " (derivation store \"foo\"\n"
  15495. " bash `(\"-e\" ,builder)\n"
  15496. " #:inputs `((,bash) (,builder))\n"
  15497. " #:env-vars '((\"HOME\" . \"/homeless\"))))\n"
  15498. "@result{} #<derivation /gnu/store/@dots{}-foo.drv => /gnu/store/@dots{}-foo>\n"
  15499. msgstr ""
  15500. #. type: Plain text
  15501. #: guix-git/doc/guix.texi:10077
  15502. msgid "As can be guessed, this primitive is cumbersome to use directly. A better approach is to write build scripts in Scheme, of course! The best course of action for that is to write the build code as a ``G-expression'', and to pass it to @code{gexp->derivation}. For more information, @pxref{G-Expressions}."
  15503. msgstr ""
  15504. #. type: Plain text
  15505. #: guix-git/doc/guix.texi:10082
  15506. msgid "Once upon a time, @code{gexp->derivation} did not exist and constructing derivations with build code written in Scheme was achieved with @code{build-expression->derivation}, documented below. This procedure is now deprecated in favor of the much nicer @code{gexp->derivation}."
  15507. msgstr ""
  15508. #. type: deffn
  15509. #: guix-git/doc/guix.texi:10083
  15510. #, no-wrap
  15511. msgid "{Scheme Procedure} build-expression->derivation @var{store} @"
  15512. msgstr ""
  15513. #. type: deffn
  15514. #: guix-git/doc/guix.texi:10099
  15515. msgid "@var{name} @var{exp} @ [#:system (%current-system)] [#:inputs '()] @ [#:outputs '(\"out\")] [#:hash #f] [#:hash-algo #f] @ [#:recursive? #f] [#:env-vars '()] [#:modules '()] @ [#:references-graphs #f] [#:allowed-references #f] @ [#:disallowed-references #f] @ [#:local-build? #f] [#:substitutable? #t] [#:guile-for-build #f] Return a derivation that executes Scheme expression @var{exp} as a builder for derivation @var{name}. @var{inputs} must be a list of @code{(name drv-path sub-drv)} tuples; when @var{sub-drv} is omitted, @code{\"out\"} is assumed. @var{modules} is a list of names of Guile modules from the current search path to be copied in the store, compiled, and made available in the load path during the execution of @var{exp}---e.g., @code{((guix build utils) (guix build gnu-build-system))}."
  15516. msgstr ""
  15517. #. type: deffn
  15518. #: guix-git/doc/guix.texi:10107
  15519. msgid "@var{exp} is evaluated in an environment where @code{%outputs} is bound to a list of output/path pairs, and where @code{%build-inputs} is bound to a list of string/output-path pairs made from @var{inputs}. Optionally, @var{env-vars} is a list of string pairs specifying the name and value of environment variables visible to the builder. The builder terminates by passing the result of @var{exp} to @code{exit}; thus, when @var{exp} returns @code{#f}, the build is considered to have failed."
  15520. msgstr ""
  15521. #. type: deffn
  15522. #: guix-git/doc/guix.texi:10111
  15523. msgid "@var{exp} is built using @var{guile-for-build} (a derivation). When @var{guile-for-build} is omitted or is @code{#f}, the value of the @code{%guile-for-build} fluid is used instead."
  15524. msgstr ""
  15525. #. type: deffn
  15526. #: guix-git/doc/guix.texi:10116
  15527. msgid "See the @code{derivation} procedure for the meaning of @var{references-graphs}, @var{allowed-references}, @var{disallowed-references}, @var{local-build?}, and @var{substitutable?}."
  15528. msgstr ""
  15529. #. type: Plain text
  15530. #: guix-git/doc/guix.texi:10121
  15531. msgid "Here's an example of a single-output derivation that creates a directory containing one file:"
  15532. msgstr ""
  15533. #. type: lisp
  15534. #: guix-git/doc/guix.texi:10129
  15535. #, no-wrap
  15536. msgid ""
  15537. "(let ((builder '(let ((out (assoc-ref %outputs \"out\")))\n"
  15538. " (mkdir out) ; create /gnu/store/@dots{}-goo\n"
  15539. " (call-with-output-file (string-append out \"/test\")\n"
  15540. " (lambda (p)\n"
  15541. " (display '(hello guix) p))))))\n"
  15542. " (build-expression->derivation store \"goo\" builder))\n"
  15543. "\n"
  15544. msgstr ""
  15545. #. type: lisp
  15546. #: guix-git/doc/guix.texi:10131
  15547. #, no-wrap
  15548. msgid "@result{} #<derivation /gnu/store/@dots{}-goo.drv => @dots{}>\n"
  15549. msgstr ""
  15550. #. type: cindex
  15551. #: guix-git/doc/guix.texi:10137
  15552. #, no-wrap
  15553. msgid "monad"
  15554. msgstr ""
  15555. #. type: Plain text
  15556. #: guix-git/doc/guix.texi:10143
  15557. msgid "The procedures that operate on the store described in the previous sections all take an open connection to the build daemon as their first argument. Although the underlying model is functional, they either have side effects or depend on the current state of the store."
  15558. msgstr ""
  15559. #. type: Plain text
  15560. #: guix-git/doc/guix.texi:10149
  15561. msgid "The former is inconvenient: the connection to the build daemon has to be carried around in all those functions, making it impossible to compose functions that do not take that parameter with functions that do. The latter can be problematic: since store operations have side effects and/or depend on external state, they have to be properly sequenced."
  15562. msgstr ""
  15563. #. type: cindex
  15564. #: guix-git/doc/guix.texi:10150
  15565. #, no-wrap
  15566. msgid "monadic values"
  15567. msgstr ""
  15568. #. type: cindex
  15569. #: guix-git/doc/guix.texi:10151
  15570. #, no-wrap
  15571. msgid "monadic functions"
  15572. msgstr ""
  15573. #. type: Plain text
  15574. #: guix-git/doc/guix.texi:10161
  15575. msgid "This is where the @code{(guix monads)} module comes in. This module provides a framework for working with @dfn{monads}, and a particularly useful monad for our uses, the @dfn{store monad}. Monads are a construct that allows two things: associating ``context'' with values (in our case, the context is the store), and building sequences of computations (here computations include accesses to the store). Values in a monad---values that carry this additional context---are called @dfn{monadic values}; procedures that return such values are called @dfn{monadic procedures}."
  15576. msgstr ""
  15577. #. type: Plain text
  15578. #: guix-git/doc/guix.texi:10163
  15579. msgid "Consider this ``normal'' procedure:"
  15580. msgstr ""
  15581. #. type: lisp
  15582. #: guix-git/doc/guix.texi:10172
  15583. #, no-wrap
  15584. msgid ""
  15585. "(define (sh-symlink store)\n"
  15586. " ;; Return a derivation that symlinks the 'bash' executable.\n"
  15587. " (let* ((drv (package-derivation store bash))\n"
  15588. " (out (derivation->output-path drv))\n"
  15589. " (sh (string-append out \"/bin/bash\")))\n"
  15590. " (build-expression->derivation store \"sh\"\n"
  15591. " `(symlink ,sh %output))))\n"
  15592. msgstr ""
  15593. #. type: Plain text
  15594. #: guix-git/doc/guix.texi:10176
  15595. msgid "Using @code{(guix monads)} and @code{(guix gexp)}, it may be rewritten as a monadic function:"
  15596. msgstr ""
  15597. #. type: lisp
  15598. #: guix-git/doc/guix.texi:10184
  15599. #, no-wrap
  15600. msgid ""
  15601. "(define (sh-symlink)\n"
  15602. " ;; Same, but return a monadic value.\n"
  15603. " (mlet %store-monad ((drv (package->derivation bash)))\n"
  15604. " (gexp->derivation \"sh\"\n"
  15605. " #~(symlink (string-append #$drv \"/bin/bash\")\n"
  15606. " #$output))))\n"
  15607. msgstr ""
  15608. #. type: Plain text
  15609. #: guix-git/doc/guix.texi:10191
  15610. msgid "There are several things to note in the second version: the @code{store} parameter is now implicit and is ``threaded'' in the calls to the @code{package->derivation} and @code{gexp->derivation} monadic procedures, and the monadic value returned by @code{package->derivation} is @dfn{bound} using @code{mlet} instead of plain @code{let}."
  15611. msgstr ""
  15612. #. type: Plain text
  15613. #: guix-git/doc/guix.texi:10195
  15614. msgid "As it turns out, the call to @code{package->derivation} can even be omitted since it will take place implicitly, as we will see later (@pxref{G-Expressions}):"
  15615. msgstr ""
  15616. #. type: lisp
  15617. #: guix-git/doc/guix.texi:10201
  15618. #, no-wrap
  15619. msgid ""
  15620. "(define (sh-symlink)\n"
  15621. " (gexp->derivation \"sh\"\n"
  15622. " #~(symlink (string-append #$bash \"/bin/bash\")\n"
  15623. " #$output)))\n"
  15624. msgstr ""
  15625. #. type: Plain text
  15626. #: guix-git/doc/guix.texi:10210
  15627. msgid "Calling the monadic @code{sh-symlink} has no effect. As someone once said, ``you exit a monad like you exit a building on fire: by running''. So, to exit the monad and get the desired effect, one must use @code{run-with-store}:"
  15628. msgstr ""
  15629. #. type: lisp
  15630. #: guix-git/doc/guix.texi:10214
  15631. #, no-wrap
  15632. msgid ""
  15633. "(run-with-store (open-connection) (sh-symlink))\n"
  15634. "@result{} /gnu/store/...-sh-symlink\n"
  15635. msgstr ""
  15636. #. type: Plain text
  15637. #: guix-git/doc/guix.texi:10220
  15638. msgid "Note that the @code{(guix monad-repl)} module extends the Guile REPL with new ``meta-commands'' to make it easier to deal with monadic procedures: @code{run-in-store}, and @code{enter-store-monad}. The former is used to ``run'' a single monadic value through the store:"
  15639. msgstr ""
  15640. #. type: example
  15641. #: guix-git/doc/guix.texi:10224
  15642. #, no-wrap
  15643. msgid ""
  15644. "scheme@@(guile-user)> ,run-in-store (package->derivation hello)\n"
  15645. "$1 = #<derivation /gnu/store/@dots{}-hello-2.9.drv => @dots{}>\n"
  15646. msgstr ""
  15647. #. type: Plain text
  15648. #: guix-git/doc/guix.texi:10228
  15649. msgid "The latter enters a recursive REPL, where all the return values are automatically run through the store:"
  15650. msgstr ""
  15651. #. type: example
  15652. #: guix-git/doc/guix.texi:10237
  15653. #, no-wrap
  15654. msgid ""
  15655. "scheme@@(guile-user)> ,enter-store-monad\n"
  15656. "store-monad@@(guile-user) [1]> (package->derivation hello)\n"
  15657. "$2 = #<derivation /gnu/store/@dots{}-hello-2.9.drv => @dots{}>\n"
  15658. "store-monad@@(guile-user) [1]> (text-file \"foo\" \"Hello!\")\n"
  15659. "$3 = \"/gnu/store/@dots{}-foo\"\n"
  15660. "store-monad@@(guile-user) [1]> ,q\n"
  15661. "scheme@@(guile-user)>\n"
  15662. msgstr ""
  15663. #. type: Plain text
  15664. #: guix-git/doc/guix.texi:10242
  15665. msgid "Note that non-monadic values cannot be returned in the @code{store-monad} REPL."
  15666. msgstr ""
  15667. #. type: Plain text
  15668. #: guix-git/doc/guix.texi:10245
  15669. msgid "The main syntactic forms to deal with monads in general are provided by the @code{(guix monads)} module and are described below."
  15670. msgstr ""
  15671. #. type: deffn
  15672. #: guix-git/doc/guix.texi:10246
  15673. #, no-wrap
  15674. msgid "{Scheme Syntax} with-monad @var{monad} @var{body} ..."
  15675. msgstr ""
  15676. #. type: deffn
  15677. #: guix-git/doc/guix.texi:10249
  15678. msgid "Evaluate any @code{>>=} or @code{return} forms in @var{body} as being in @var{monad}."
  15679. msgstr ""
  15680. #. type: deffn
  15681. #: guix-git/doc/guix.texi:10251
  15682. #, no-wrap
  15683. msgid "{Scheme Syntax} return @var{val}"
  15684. msgstr ""
  15685. #. type: deffn
  15686. #: guix-git/doc/guix.texi:10253
  15687. msgid "Return a monadic value that encapsulates @var{val}."
  15688. msgstr ""
  15689. #. type: deffn
  15690. #: guix-git/doc/guix.texi:10255
  15691. #, no-wrap
  15692. msgid "{Scheme Syntax} >>= @var{mval} @var{mproc} ..."
  15693. msgstr ""
  15694. #. type: deffn
  15695. #: guix-git/doc/guix.texi:10262
  15696. msgid "@dfn{Bind} monadic value @var{mval}, passing its ``contents'' to monadic procedures @var{mproc}@dots{}@footnote{This operation is commonly referred to as ``bind'', but that name denotes an unrelated procedure in Guile. Thus we use this somewhat cryptic symbol inherited from the Haskell language.}. There can be one @var{mproc} or several of them, as in this example:"
  15697. msgstr ""
  15698. #. type: lisp
  15699. #: guix-git/doc/guix.texi:10270
  15700. #, no-wrap
  15701. msgid ""
  15702. "(run-with-state\n"
  15703. " (with-monad %state-monad\n"
  15704. " (>>= (return 1)\n"
  15705. " (lambda (x) (return (+ 1 x)))\n"
  15706. " (lambda (x) (return (* 2 x)))))\n"
  15707. " 'some-state)\n"
  15708. "\n"
  15709. msgstr ""
  15710. #. type: lisp
  15711. #: guix-git/doc/guix.texi:10273
  15712. #, no-wrap
  15713. msgid ""
  15714. "@result{} 4\n"
  15715. "@result{} some-state\n"
  15716. msgstr ""
  15717. #. type: deffn
  15718. #: guix-git/doc/guix.texi:10276
  15719. #, no-wrap
  15720. msgid "{Scheme Syntax} mlet @var{monad} ((@var{var} @var{mval}) ...) @"
  15721. msgstr ""
  15722. #. type: deffn
  15723. #: guix-git/doc/guix.texi:10278
  15724. msgid "@var{body} ..."
  15725. msgstr ""
  15726. #. type: deffnx
  15727. #: guix-git/doc/guix.texi:10278
  15728. #, no-wrap
  15729. msgid "{Scheme Syntax} mlet* @var{monad} ((@var{var} @var{mval}) ...) @"
  15730. msgstr ""
  15731. #. type: deffn
  15732. #: guix-git/doc/guix.texi:10290
  15733. msgid "@var{body} ... Bind the variables @var{var} to the monadic values @var{mval} in @var{body}, which is a sequence of expressions. As with the bind operator, this can be thought of as ``unpacking'' the raw, non-monadic value ``contained'' in @var{mval} and making @var{var} refer to that raw, non-monadic value within the scope of the @var{body}. The form (@var{var} -> @var{val}) binds @var{var} to the ``normal'' value @var{val}, as per @code{let}. The binding operations occur in sequence from left to right. The last expression of @var{body} must be a monadic expression, and its result will become the result of the @code{mlet} or @code{mlet*} when run in the @var{monad}."
  15734. msgstr ""
  15735. #. type: deffn
  15736. #: guix-git/doc/guix.texi:10293
  15737. msgid "@code{mlet*} is to @code{mlet} what @code{let*} is to @code{let} (@pxref{Local Bindings,,, guile, GNU Guile Reference Manual})."
  15738. msgstr ""
  15739. #. type: deffn
  15740. #: guix-git/doc/guix.texi:10295
  15741. #, no-wrap
  15742. msgid "{Scheme System} mbegin @var{monad} @var{mexp} ..."
  15743. msgstr ""
  15744. #. type: deffn
  15745. #: guix-git/doc/guix.texi:10299
  15746. msgid "Bind @var{mexp} and the following monadic expressions in sequence, returning the result of the last expression. Every expression in the sequence must be a monadic expression."
  15747. msgstr ""
  15748. #. type: deffn
  15749. #: guix-git/doc/guix.texi:10303
  15750. msgid "This is akin to @code{mlet}, except that the return values of the monadic expressions are ignored. In that sense, it is analogous to @code{begin}, but applied to monadic expressions."
  15751. msgstr ""
  15752. #. type: deffn
  15753. #: guix-git/doc/guix.texi:10305
  15754. #, no-wrap
  15755. msgid "{Scheme System} mwhen @var{condition} @var{mexp0} @var{mexp*} ..."
  15756. msgstr ""
  15757. #. type: deffn
  15758. #: guix-git/doc/guix.texi:10310
  15759. msgid "When @var{condition} is true, evaluate the sequence of monadic expressions @var{mexp0}..@var{mexp*} as in an @code{mbegin}. When @var{condition} is false, return @code{*unspecified*} in the current monad. Every expression in the sequence must be a monadic expression."
  15760. msgstr ""
  15761. #. type: deffn
  15762. #: guix-git/doc/guix.texi:10312
  15763. #, no-wrap
  15764. msgid "{Scheme System} munless @var{condition} @var{mexp0} @var{mexp*} ..."
  15765. msgstr ""
  15766. #. type: deffn
  15767. #: guix-git/doc/guix.texi:10317
  15768. msgid "When @var{condition} is false, evaluate the sequence of monadic expressions @var{mexp0}..@var{mexp*} as in an @code{mbegin}. When @var{condition} is true, return @code{*unspecified*} in the current monad. Every expression in the sequence must be a monadic expression."
  15769. msgstr ""
  15770. #. type: cindex
  15771. #: guix-git/doc/guix.texi:10319
  15772. #, no-wrap
  15773. msgid "state monad"
  15774. msgstr ""
  15775. #. type: Plain text
  15776. #: guix-git/doc/guix.texi:10323
  15777. msgid "The @code{(guix monads)} module provides the @dfn{state monad}, which allows an additional value---the state---to be @emph{threaded} through monadic procedure calls."
  15778. msgstr ""
  15779. #. type: defvr
  15780. #: guix-git/doc/guix.texi:10324
  15781. #, no-wrap
  15782. msgid "{Scheme Variable} %state-monad"
  15783. msgstr ""
  15784. #. type: defvr
  15785. #: guix-git/doc/guix.texi:10327
  15786. msgid "The state monad. Procedures in the state monad can access and change the state that is threaded."
  15787. msgstr ""
  15788. #. type: defvr
  15789. #: guix-git/doc/guix.texi:10331
  15790. msgid "Consider the example below. The @code{square} procedure returns a value in the state monad. It returns the square of its argument, but also increments the current state value:"
  15791. msgstr ""
  15792. #. type: lisp
  15793. #: guix-git/doc/guix.texi:10338
  15794. #, no-wrap
  15795. msgid ""
  15796. "(define (square x)\n"
  15797. " (mlet %state-monad ((count (current-state)))\n"
  15798. " (mbegin %state-monad\n"
  15799. " (set-current-state (+ 1 count))\n"
  15800. " (return (* x x)))))\n"
  15801. "\n"
  15802. msgstr ""
  15803. #. type: lisp
  15804. #: guix-git/doc/guix.texi:10342
  15805. #, no-wrap
  15806. msgid ""
  15807. "(run-with-state (sequence %state-monad (map square (iota 3))) 0)\n"
  15808. "@result{} (0 1 4)\n"
  15809. "@result{} 3\n"
  15810. msgstr ""
  15811. #. type: defvr
  15812. #: guix-git/doc/guix.texi:10346
  15813. msgid "When ``run'' through @code{%state-monad}, we obtain that additional state value, which is the number of @code{square} calls."
  15814. msgstr ""
  15815. #. type: deffn
  15816. #: guix-git/doc/guix.texi:10348
  15817. #, no-wrap
  15818. msgid "{Monadic Procedure} current-state"
  15819. msgstr ""
  15820. #. type: deffn
  15821. #: guix-git/doc/guix.texi:10350
  15822. msgid "Return the current state as a monadic value."
  15823. msgstr ""
  15824. #. type: deffn
  15825. #: guix-git/doc/guix.texi:10352
  15826. #, no-wrap
  15827. msgid "{Monadic Procedure} set-current-state @var{value}"
  15828. msgstr ""
  15829. #. type: deffn
  15830. #: guix-git/doc/guix.texi:10355
  15831. msgid "Set the current state to @var{value} and return the previous state as a monadic value."
  15832. msgstr ""
  15833. #. type: deffn
  15834. #: guix-git/doc/guix.texi:10357
  15835. #, no-wrap
  15836. msgid "{Monadic Procedure} state-push @var{value}"
  15837. msgstr ""
  15838. #. type: deffn
  15839. #: guix-git/doc/guix.texi:10360
  15840. msgid "Push @var{value} to the current state, which is assumed to be a list, and return the previous state as a monadic value."
  15841. msgstr ""
  15842. #. type: deffn
  15843. #: guix-git/doc/guix.texi:10362
  15844. #, no-wrap
  15845. msgid "{Monadic Procedure} state-pop"
  15846. msgstr ""
  15847. #. type: deffn
  15848. #: guix-git/doc/guix.texi:10365
  15849. msgid "Pop a value from the current state and return it as a monadic value. The state is assumed to be a list."
  15850. msgstr ""
  15851. #. type: deffn
  15852. #: guix-git/doc/guix.texi:10367
  15853. #, no-wrap
  15854. msgid "{Scheme Procedure} run-with-state @var{mval} [@var{state}]"
  15855. msgstr ""
  15856. #. type: deffn
  15857. #: guix-git/doc/guix.texi:10370
  15858. msgid "Run monadic value @var{mval} starting with @var{state} as the initial state. Return two values: the resulting value, and the resulting state."
  15859. msgstr ""
  15860. #. type: Plain text
  15861. #: guix-git/doc/guix.texi:10374
  15862. msgid "The main interface to the store monad, provided by the @code{(guix store)} module, is as follows."
  15863. msgstr ""
  15864. #. type: defvr
  15865. #: guix-git/doc/guix.texi:10375
  15866. #, no-wrap
  15867. msgid "{Scheme Variable} %store-monad"
  15868. msgstr ""
  15869. #. type: defvr
  15870. #: guix-git/doc/guix.texi:10377
  15871. msgid "The store monad---an alias for @code{%state-monad}."
  15872. msgstr ""
  15873. #. type: defvr
  15874. #: guix-git/doc/guix.texi:10381
  15875. msgid "Values in the store monad encapsulate accesses to the store. When its effect is needed, a value of the store monad must be ``evaluated'' by passing it to the @code{run-with-store} procedure (see below)."
  15876. msgstr ""
  15877. #. type: deffn
  15878. #: guix-git/doc/guix.texi:10383
  15879. #, no-wrap
  15880. msgid "{Scheme Procedure} run-with-store @var{store} @var{mval} [#:guile-for-build] [#:system (%current-system)]"
  15881. msgstr ""
  15882. #. type: deffn
  15883. #: guix-git/doc/guix.texi:10386
  15884. msgid "Run @var{mval}, a monadic value in the store monad, in @var{store}, an open store connection."
  15885. msgstr ""
  15886. #. type: deffn
  15887. #: guix-git/doc/guix.texi:10388
  15888. #, no-wrap
  15889. msgid "{Monadic Procedure} text-file @var{name} @var{text} [@var{references}]"
  15890. msgstr ""
  15891. #. type: deffn
  15892. #: guix-git/doc/guix.texi:10392
  15893. msgid "Return as a monadic value the absolute file name in the store of the file containing @var{text}, a string. @var{references} is a list of store items that the resulting text file refers to; it defaults to the empty list."
  15894. msgstr ""
  15895. #. type: deffn
  15896. #: guix-git/doc/guix.texi:10394
  15897. #, no-wrap
  15898. msgid "{Monadic Procedure} binary-file @var{name} @var{data} [@var{references}]"
  15899. msgstr ""
  15900. #. type: deffn
  15901. #: guix-git/doc/guix.texi:10398
  15902. msgid "Return as a monadic value the absolute file name in the store of the file containing @var{data}, a bytevector. @var{references} is a list of store items that the resulting binary file refers to; it defaults to the empty list."
  15903. msgstr ""
  15904. #. type: deffn
  15905. #: guix-git/doc/guix.texi:10400
  15906. #, no-wrap
  15907. msgid "{Monadic Procedure} interned-file @var{file} [@var{name}] @"
  15908. msgstr ""
  15909. #. type: deffn
  15910. #: guix-git/doc/guix.texi:10405
  15911. msgid "[#:recursive? #t] [#:select? (const #t)] Return the name of @var{file} once interned in the store. Use @var{name} as its store name, or the basename of @var{file} if @var{name} is omitted."
  15912. msgstr ""
  15913. #. type: deffn
  15914. #: guix-git/doc/guix.texi:10409 guix-git/doc/guix.texi:10832
  15915. msgid "When @var{recursive?} is true, the contents of @var{file} are added recursively; if @var{file} designates a flat file and @var{recursive?} is true, its contents are added, and its permission bits are kept."
  15916. msgstr ""
  15917. #. type: deffn
  15918. #: guix-git/doc/guix.texi:10414 guix-git/doc/guix.texi:10837
  15919. msgid "When @var{recursive?} is true, call @code{(@var{select?} @var{file} @var{stat})} for each directory entry, where @var{file} is the entry's absolute file name and @var{stat} is the result of @code{lstat}; exclude entries for which @var{select?} does not return true."
  15920. msgstr ""
  15921. #. type: deffn
  15922. #: guix-git/doc/guix.texi:10416
  15923. msgid "The example below adds a file to the store, under two different names:"
  15924. msgstr ""
  15925. #. type: lisp
  15926. #: guix-git/doc/guix.texi:10422
  15927. #, no-wrap
  15928. msgid ""
  15929. "(run-with-store (open-connection)\n"
  15930. " (mlet %store-monad ((a (interned-file \"README\"))\n"
  15931. " (b (interned-file \"README\" \"LEGU-MIN\")))\n"
  15932. " (return (list a b))))\n"
  15933. "\n"
  15934. msgstr ""
  15935. #. type: lisp
  15936. #: guix-git/doc/guix.texi:10424
  15937. #, no-wrap
  15938. msgid "@result{} (\"/gnu/store/rwm@dots{}-README\" \"/gnu/store/44i@dots{}-LEGU-MIN\")\n"
  15939. msgstr ""
  15940. #. type: Plain text
  15941. #: guix-git/doc/guix.texi:10430
  15942. msgid "The @code{(guix packages)} module exports the following package-related monadic procedures:"
  15943. msgstr ""
  15944. #. type: deffn
  15945. #: guix-git/doc/guix.texi:10431
  15946. #, no-wrap
  15947. msgid "{Monadic Procedure} package-file @var{package} [@var{file}] @"
  15948. msgstr ""
  15949. #. type: deffn
  15950. #: guix-git/doc/guix.texi:10439
  15951. msgid "[#:system (%current-system)] [#:target #f] @ [#:output \"out\"] Return as a monadic value in the absolute file name of @var{file} within the @var{output} directory of @var{package}. When @var{file} is omitted, return the name of the @var{output} directory of @var{package}. When @var{target} is true, use it as a cross-compilation target triplet."
  15952. msgstr ""
  15953. #. type: deffn
  15954. #: guix-git/doc/guix.texi:10443
  15955. msgid "Note that this procedure does @emph{not} build @var{package}. Thus, the result might or might not designate an existing file. We recommend not using this procedure unless you know what you are doing."
  15956. msgstr ""
  15957. #. type: deffn
  15958. #: guix-git/doc/guix.texi:10445
  15959. #, no-wrap
  15960. msgid "{Monadic Procedure} package->derivation @var{package} [@var{system}]"
  15961. msgstr ""
  15962. #. type: deffnx
  15963. #: guix-git/doc/guix.texi:10446
  15964. #, no-wrap
  15965. msgid "{Monadic Procedure} package->cross-derivation @var{package} @"
  15966. msgstr ""
  15967. #. type: deffn
  15968. #: guix-git/doc/guix.texi:10450
  15969. msgid "@var{target} [@var{system}] Monadic version of @code{package-derivation} and @code{package-cross-derivation} (@pxref{Defining Packages})."
  15970. msgstr ""
  15971. #. type: cindex
  15972. #: guix-git/doc/guix.texi:10456
  15973. #, no-wrap
  15974. msgid "G-expression"
  15975. msgstr ""
  15976. #. type: cindex
  15977. #: guix-git/doc/guix.texi:10457
  15978. #, no-wrap
  15979. msgid "build code quoting"
  15980. msgstr ""
  15981. #. type: Plain text
  15982. #: guix-git/doc/guix.texi:10463
  15983. msgid "So we have ``derivations'', which represent a sequence of build actions to be performed to produce an item in the store (@pxref{Derivations}). These build actions are performed when asking the daemon to actually build the derivations; they are run by the daemon in a container (@pxref{Invoking guix-daemon})."
  15984. msgstr ""
  15985. #. type: cindex
  15986. #: guix-git/doc/guix.texi:10466
  15987. #, no-wrap
  15988. msgid "strata of code"
  15989. msgstr ""
  15990. #. type: Plain text
  15991. #: guix-git/doc/guix.texi:10478
  15992. msgid "It should come as no surprise that we like to write these build actions in Scheme. When we do that, we end up with two @dfn{strata} of Scheme code@footnote{The term @dfn{stratum} in this context was coined by Manuel Serrano et al.@: in the context of their work on Hop. Oleg Kiselyov, who has written insightful @url{http://okmij.org/ftp/meta-programming/#meta-scheme, essays and code on this topic}, refers to this kind of code generation as @dfn{staging}.}: the ``host code''---code that defines packages, talks to the daemon, etc.---and the ``build code''---code that actually performs build actions, such as making directories, invoking @command{make}, and so on (@pxref{Build Phases})."
  15993. msgstr ""
  15994. #. type: Plain text
  15995. #: guix-git/doc/guix.texi:10485
  15996. msgid "To describe a derivation and its build actions, one typically needs to embed build code inside host code. It boils down to manipulating build code as data, and the homoiconicity of Scheme---code has a direct representation as data---comes in handy for that. But we need more than the normal @code{quasiquote} mechanism in Scheme to construct build expressions."
  15997. msgstr ""
  15998. #. type: Plain text
  15999. #: guix-git/doc/guix.texi:10494
  16000. msgid "The @code{(guix gexp)} module implements @dfn{G-expressions}, a form of S-expressions adapted to build expressions. G-expressions, or @dfn{gexps}, consist essentially of three syntactic forms: @code{gexp}, @code{ungexp}, and @code{ungexp-splicing} (or simply: @code{#~}, @code{#$}, and @code{#$@@}), which are comparable to @code{quasiquote}, @code{unquote}, and @code{unquote-splicing}, respectively (@pxref{Expression Syntax, @code{quasiquote},, guile, GNU Guile Reference Manual}). However, there are major differences:"
  16001. msgstr ""
  16002. #. type: itemize
  16003. #: guix-git/doc/guix.texi:10499
  16004. msgid "Gexps are meant to be written to a file and run or manipulated by other processes."
  16005. msgstr ""
  16006. #. type: itemize
  16007. #: guix-git/doc/guix.texi:10504
  16008. msgid "When a high-level object such as a package or derivation is unquoted inside a gexp, the result is as if its output file name had been introduced."
  16009. msgstr ""
  16010. #. type: itemize
  16011. #: guix-git/doc/guix.texi:10509
  16012. msgid "Gexps carry information about the packages or derivations they refer to, and these dependencies are automatically added as inputs to the build processes that use them."
  16013. msgstr ""
  16014. #. type: cindex
  16015. #: guix-git/doc/guix.texi:10511 guix-git/doc/guix.texi:11068
  16016. #, no-wrap
  16017. msgid "lowering, of high-level objects in gexps"
  16018. msgstr ""
  16019. #. type: Plain text
  16020. #: guix-git/doc/guix.texi:10521
  16021. msgid "This mechanism is not limited to package and derivation objects: @dfn{compilers} able to ``lower'' other high-level objects to derivations or files in the store can be defined, such that these objects can also be inserted into gexps. For example, a useful type of high-level objects that can be inserted in a gexp is ``file-like objects'', which make it easy to add files to the store and to refer to them in derivations and such (see @code{local-file} and @code{plain-file} below)."
  16022. msgstr ""
  16023. #. type: Plain text
  16024. #: guix-git/doc/guix.texi:10523
  16025. msgid "To illustrate the idea, here is an example of a gexp:"
  16026. msgstr ""
  16027. #. type: lisp
  16028. #: guix-git/doc/guix.texi:10531
  16029. #, no-wrap
  16030. msgid ""
  16031. "(define build-exp\n"
  16032. " #~(begin\n"
  16033. " (mkdir #$output)\n"
  16034. " (chdir #$output)\n"
  16035. " (symlink (string-append #$coreutils \"/bin/ls\")\n"
  16036. " \"list-files\")))\n"
  16037. msgstr ""
  16038. #. type: Plain text
  16039. #: guix-git/doc/guix.texi:10536
  16040. msgid "This gexp can be passed to @code{gexp->derivation}; we obtain a derivation that builds a directory containing exactly one symlink to @file{/gnu/store/@dots{}-coreutils-8.22/bin/ls}:"
  16041. msgstr ""
  16042. #. type: lisp
  16043. #: guix-git/doc/guix.texi:10539
  16044. #, no-wrap
  16045. msgid "(gexp->derivation \"the-thing\" build-exp)\n"
  16046. msgstr ""
  16047. #. type: Plain text
  16048. #: guix-git/doc/guix.texi:10547
  16049. msgid "As one would expect, the @code{\"/gnu/store/@dots{}-coreutils-8.22\"} string is substituted to the reference to the @var{coreutils} package in the actual build code, and @var{coreutils} is automatically made an input to the derivation. Likewise, @code{#$output} (equivalent to @code{(ungexp output)}) is replaced by a string containing the directory name of the output of the derivation."
  16050. msgstr ""
  16051. #. type: cindex
  16052. #: guix-git/doc/guix.texi:10548
  16053. #, no-wrap
  16054. msgid "cross compilation"
  16055. msgstr ""
  16056. #. type: Plain text
  16057. #: guix-git/doc/guix.texi:10554
  16058. msgid "In a cross-compilation context, it is useful to distinguish between references to the @emph{native} build of a package---that can run on the host---versus references to cross builds of a package. To that end, the @code{#+} plays the same role as @code{#$}, but is a reference to a native package build:"
  16059. msgstr ""
  16060. #. type: lisp
  16061. #: guix-git/doc/guix.texi:10565
  16062. #, no-wrap
  16063. msgid ""
  16064. "(gexp->derivation \"vi\"\n"
  16065. " #~(begin\n"
  16066. " (mkdir #$output)\n"
  16067. " (mkdir (string-append #$output \"/bin\"))\n"
  16068. " (system* (string-append #+coreutils \"/bin/ln\")\n"
  16069. " \"-s\"\n"
  16070. " (string-append #$emacs \"/bin/emacs\")\n"
  16071. " (string-append #$output \"/bin/vi\")))\n"
  16072. " #:target \"aarch64-linux-gnu\")\n"
  16073. msgstr ""
  16074. #. type: Plain text
  16075. #: guix-git/doc/guix.texi:10571
  16076. msgid "In the example above, the native build of @var{coreutils} is used, so that @command{ln} can actually run on the host; but then the cross-compiled build of @var{emacs} is referenced."
  16077. msgstr ""
  16078. #. type: cindex
  16079. #: guix-git/doc/guix.texi:10572
  16080. #, no-wrap
  16081. msgid "imported modules, for gexps"
  16082. msgstr ""
  16083. #. type: findex
  16084. #: guix-git/doc/guix.texi:10573
  16085. #, no-wrap
  16086. msgid "with-imported-modules"
  16087. msgstr ""
  16088. #. type: Plain text
  16089. #: guix-git/doc/guix.texi:10578
  16090. msgid "Another gexp feature is @dfn{imported modules}: sometimes you want to be able to use certain Guile modules from the ``host environment'' in the gexp, so those modules should be imported in the ``build environment''. The @code{with-imported-modules} form allows you to express that:"
  16091. msgstr ""
  16092. #. type: lisp
  16093. #: guix-git/doc/guix.texi:10589
  16094. #, no-wrap
  16095. msgid ""
  16096. "(let ((build (with-imported-modules '((guix build utils))\n"
  16097. " #~(begin\n"
  16098. " (use-modules (guix build utils))\n"
  16099. " (mkdir-p (string-append #$output \"/bin\"))))))\n"
  16100. " (gexp->derivation \"empty-dir\"\n"
  16101. " #~(begin\n"
  16102. " #$build\n"
  16103. " (display \"success!\\n\")\n"
  16104. " #t)))\n"
  16105. msgstr ""
  16106. #. type: Plain text
  16107. #: guix-git/doc/guix.texi:10595
  16108. msgid "In this example, the @code{(guix build utils)} module is automatically pulled into the isolated build environment of our gexp, such that @code{(use-modules (guix build utils))} works as expected."
  16109. msgstr ""
  16110. #. type: cindex
  16111. #: guix-git/doc/guix.texi:10596
  16112. #, no-wrap
  16113. msgid "module closure"
  16114. msgstr ""
  16115. #. type: findex
  16116. #: guix-git/doc/guix.texi:10597
  16117. #, no-wrap
  16118. msgid "source-module-closure"
  16119. msgstr ""
  16120. #. type: Plain text
  16121. #: guix-git/doc/guix.texi:10604
  16122. msgid "Usually you want the @emph{closure} of the module to be imported---i.e., the module itself and all the modules it depends on---rather than just the module; failing to do that, attempts to use the module will fail because of missing dependent modules. The @code{source-module-closure} procedure computes the closure of a module by looking at its source file headers, which comes in handy in this case:"
  16123. msgstr ""
  16124. #. type: lisp
  16125. #: guix-git/doc/guix.texi:10607
  16126. #, no-wrap
  16127. msgid ""
  16128. "(use-modules (guix modules)) ;for 'source-module-closure'\n"
  16129. "\n"
  16130. msgstr ""
  16131. #. type: lisp
  16132. #: guix-git/doc/guix.texi:10616
  16133. #, no-wrap
  16134. msgid ""
  16135. "(with-imported-modules (source-module-closure\n"
  16136. " '((guix build utils)\n"
  16137. " (gnu build image)))\n"
  16138. " (gexp->derivation \"something-with-vms\"\n"
  16139. " #~(begin\n"
  16140. " (use-modules (guix build utils)\n"
  16141. " (gnu build image))\n"
  16142. " @dots{})))\n"
  16143. msgstr ""
  16144. #. type: cindex
  16145. #: guix-git/doc/guix.texi:10618
  16146. #, no-wrap
  16147. msgid "extensions, for gexps"
  16148. msgstr ""
  16149. #. type: findex
  16150. #: guix-git/doc/guix.texi:10619
  16151. #, no-wrap
  16152. msgid "with-extensions"
  16153. msgstr ""
  16154. #. type: Plain text
  16155. #: guix-git/doc/guix.texi:10624
  16156. msgid "In the same vein, sometimes you want to import not just pure-Scheme modules, but also ``extensions'' such as Guile bindings to C libraries or other ``full-blown'' packages. Say you need the @code{guile-json} package available on the build side, here's how you would do it:"
  16157. msgstr ""
  16158. #. type: lisp
  16159. #: guix-git/doc/guix.texi:10627
  16160. #, no-wrap
  16161. msgid ""
  16162. "(use-modules (gnu packages guile)) ;for 'guile-json'\n"
  16163. "\n"
  16164. msgstr ""
  16165. #. type: lisp
  16166. #: guix-git/doc/guix.texi:10633
  16167. #, no-wrap
  16168. msgid ""
  16169. "(with-extensions (list guile-json)\n"
  16170. " (gexp->derivation \"something-with-json\"\n"
  16171. " #~(begin\n"
  16172. " (use-modules (json))\n"
  16173. " @dots{})))\n"
  16174. msgstr ""
  16175. #. type: Plain text
  16176. #: guix-git/doc/guix.texi:10636
  16177. msgid "The syntactic form to construct gexps is summarized below."
  16178. msgstr ""
  16179. #. type: deffn
  16180. #: guix-git/doc/guix.texi:10637
  16181. #, no-wrap
  16182. msgid "{Scheme Syntax} #~@var{exp}"
  16183. msgstr ""
  16184. #. type: deffnx
  16185. #: guix-git/doc/guix.texi:10638
  16186. #, no-wrap
  16187. msgid "{Scheme Syntax} (gexp @var{exp})"
  16188. msgstr ""
  16189. #. type: deffn
  16190. #: guix-git/doc/guix.texi:10641
  16191. msgid "Return a G-expression containing @var{exp}. @var{exp} may contain one or more of the following forms:"
  16192. msgstr ""
  16193. #. type: item
  16194. #: guix-git/doc/guix.texi:10643
  16195. #, no-wrap
  16196. msgid "#$@var{obj}"
  16197. msgstr ""
  16198. #. type: itemx
  16199. #: guix-git/doc/guix.texi:10644
  16200. #, no-wrap
  16201. msgid "(ungexp @var{obj})"
  16202. msgstr ""
  16203. #. type: table
  16204. #: guix-git/doc/guix.texi:10649
  16205. msgid "Introduce a reference to @var{obj}. @var{obj} may have one of the supported types, for example a package or a derivation, in which case the @code{ungexp} form is replaced by its output file name---e.g., @code{\"/gnu/store/@dots{}-coreutils-8.22}."
  16206. msgstr ""
  16207. #. type: table
  16208. #: guix-git/doc/guix.texi:10652
  16209. msgid "If @var{obj} is a list, it is traversed and references to supported objects are substituted similarly."
  16210. msgstr ""
  16211. #. type: table
  16212. #: guix-git/doc/guix.texi:10655
  16213. msgid "If @var{obj} is another gexp, its contents are inserted and its dependencies are added to those of the containing gexp."
  16214. msgstr ""
  16215. #. type: table
  16216. #: guix-git/doc/guix.texi:10657
  16217. msgid "If @var{obj} is another kind of object, it is inserted as is."
  16218. msgstr ""
  16219. #. type: item
  16220. #: guix-git/doc/guix.texi:10658
  16221. #, no-wrap
  16222. msgid "#$@var{obj}:@var{output}"
  16223. msgstr ""
  16224. #. type: itemx
  16225. #: guix-git/doc/guix.texi:10659
  16226. #, no-wrap
  16227. msgid "(ungexp @var{obj} @var{output})"
  16228. msgstr ""
  16229. #. type: table
  16230. #: guix-git/doc/guix.texi:10663
  16231. msgid "This is like the form above, but referring explicitly to the @var{output} of @var{obj}---this is useful when @var{obj} produces multiple outputs (@pxref{Packages with Multiple Outputs})."
  16232. msgstr ""
  16233. #. type: item
  16234. #: guix-git/doc/guix.texi:10664
  16235. #, no-wrap
  16236. msgid "#+@var{obj}"
  16237. msgstr ""
  16238. #. type: itemx
  16239. #: guix-git/doc/guix.texi:10665
  16240. #, no-wrap
  16241. msgid "#+@var{obj}:output"
  16242. msgstr ""
  16243. #. type: itemx
  16244. #: guix-git/doc/guix.texi:10666
  16245. #, no-wrap
  16246. msgid "(ungexp-native @var{obj})"
  16247. msgstr ""
  16248. #. type: itemx
  16249. #: guix-git/doc/guix.texi:10667
  16250. #, no-wrap
  16251. msgid "(ungexp-native @var{obj} @var{output})"
  16252. msgstr ""
  16253. #. type: table
  16254. #: guix-git/doc/guix.texi:10670
  16255. msgid "Same as @code{ungexp}, but produces a reference to the @emph{native} build of @var{obj} when used in a cross compilation context."
  16256. msgstr ""
  16257. #. type: item
  16258. #: guix-git/doc/guix.texi:10671
  16259. #, no-wrap
  16260. msgid "#$output[:@var{output}]"
  16261. msgstr ""
  16262. #. type: itemx
  16263. #: guix-git/doc/guix.texi:10672
  16264. #, no-wrap
  16265. msgid "(ungexp output [@var{output}])"
  16266. msgstr ""
  16267. #. type: table
  16268. #: guix-git/doc/guix.texi:10675
  16269. msgid "Insert a reference to derivation output @var{output}, or to the main output when @var{output} is omitted."
  16270. msgstr ""
  16271. #. type: table
  16272. #: guix-git/doc/guix.texi:10677
  16273. msgid "This only makes sense for gexps passed to @code{gexp->derivation}."
  16274. msgstr ""
  16275. #. type: item
  16276. #: guix-git/doc/guix.texi:10678
  16277. #, no-wrap
  16278. msgid "#$@@@var{lst}"
  16279. msgstr ""
  16280. #. type: itemx
  16281. #: guix-git/doc/guix.texi:10679
  16282. #, no-wrap
  16283. msgid "(ungexp-splicing @var{lst})"
  16284. msgstr ""
  16285. #. type: table
  16286. #: guix-git/doc/guix.texi:10682
  16287. msgid "Like the above, but splices the contents of @var{lst} inside the containing list."
  16288. msgstr ""
  16289. #. type: item
  16290. #: guix-git/doc/guix.texi:10683
  16291. #, no-wrap
  16292. msgid "#+@@@var{lst}"
  16293. msgstr ""
  16294. #. type: itemx
  16295. #: guix-git/doc/guix.texi:10684
  16296. #, no-wrap
  16297. msgid "(ungexp-native-splicing @var{lst})"
  16298. msgstr ""
  16299. #. type: table
  16300. #: guix-git/doc/guix.texi:10687
  16301. msgid "Like the above, but refers to native builds of the objects listed in @var{lst}."
  16302. msgstr ""
  16303. #. type: deffn
  16304. #: guix-git/doc/guix.texi:10692
  16305. msgid "G-expressions created by @code{gexp} or @code{#~} are run-time objects of the @code{gexp?} type (see below)."
  16306. msgstr ""
  16307. #. type: deffn
  16308. #: guix-git/doc/guix.texi:10694
  16309. #, no-wrap
  16310. msgid "{Scheme Syntax} with-imported-modules @var{modules} @var{body}@dots{}"
  16311. msgstr ""
  16312. #. type: deffn
  16313. #: guix-git/doc/guix.texi:10697
  16314. msgid "Mark the gexps defined in @var{body}@dots{} as requiring @var{modules} in their execution environment."
  16315. msgstr ""
  16316. #. type: deffn
  16317. #: guix-git/doc/guix.texi:10701
  16318. msgid "Each item in @var{modules} can be the name of a module, such as @code{(guix build utils)}, or it can be a module name, followed by an arrow, followed by a file-like object:"
  16319. msgstr ""
  16320. #. type: lisp
  16321. #: guix-git/doc/guix.texi:10707
  16322. #, no-wrap
  16323. msgid ""
  16324. "`((guix build utils)\n"
  16325. " (guix gcrypt)\n"
  16326. " ((guix config) => ,(scheme-file \"config.scm\"\n"
  16327. " #~(define-module @dots{}))))\n"
  16328. msgstr ""
  16329. #. type: deffn
  16330. #: guix-git/doc/guix.texi:10712
  16331. msgid "In the example above, the first two modules are taken from the search path, and the last one is created from the given file-like object."
  16332. msgstr ""
  16333. #. type: deffn
  16334. #: guix-git/doc/guix.texi:10716
  16335. msgid "This form has @emph{lexical} scope: it has an effect on the gexps directly defined in @var{body}@dots{}, but not on those defined, say, in procedures called from @var{body}@dots{}."
  16336. msgstr ""
  16337. #. type: deffn
  16338. #: guix-git/doc/guix.texi:10718
  16339. #, no-wrap
  16340. msgid "{Scheme Syntax} with-extensions @var{extensions} @var{body}@dots{}"
  16341. msgstr ""
  16342. #. type: deffn
  16343. #: guix-git/doc/guix.texi:10723
  16344. msgid "Mark the gexps defined in @var{body}@dots{} as requiring @var{extensions} in their build and execution environment. @var{extensions} is typically a list of package objects such as those defined in the @code{(gnu packages guile)} module."
  16345. msgstr ""
  16346. #. type: deffn
  16347. #: guix-git/doc/guix.texi:10728
  16348. msgid "Concretely, the packages listed in @var{extensions} are added to the load path while compiling imported modules in @var{body}@dots{}; they are also added to the load path of the gexp returned by @var{body}@dots{}."
  16349. msgstr ""
  16350. #. type: deffn
  16351. #: guix-git/doc/guix.texi:10730
  16352. #, no-wrap
  16353. msgid "{Scheme Procedure} gexp? @var{obj}"
  16354. msgstr ""
  16355. #. type: deffn
  16356. #: guix-git/doc/guix.texi:10732
  16357. msgid "Return @code{#t} if @var{obj} is a G-expression."
  16358. msgstr ""
  16359. #. type: Plain text
  16360. #: guix-git/doc/guix.texi:10738
  16361. msgid "G-expressions are meant to be written to disk, either as code building some derivation, or as plain files in the store. The monadic procedures below allow you to do that (@pxref{The Store Monad}, for more information about monads)."
  16362. msgstr ""
  16363. #. type: deffn
  16364. #: guix-git/doc/guix.texi:10739
  16365. #, no-wrap
  16366. msgid "{Monadic Procedure} gexp->derivation @var{name} @var{exp} @"
  16367. msgstr ""
  16368. #. type: deffn
  16369. #: guix-git/doc/guix.texi:10757
  16370. msgid "[#:system (%current-system)] [#:target #f] [#:graft? #t] @ [#:hash #f] [#:hash-algo #f] @ [#:recursive? #f] [#:env-vars '()] [#:modules '()] @ [#:module-path @code{%load-path}] @ [#:effective-version \"2.2\"] @ [#:references-graphs #f] [#:allowed-references #f] @ [#:disallowed-references #f] @ [#:leaked-env-vars #f] @ [#:script-name (string-append @var{name} \"-builder\")] @ [#:deprecation-warnings #f] @ [#:local-build? #f] [#:substitutable? #t] @ [#:properties '()] [#:guile-for-build #f] Return a derivation @var{name} that runs @var{exp} (a gexp) with @var{guile-for-build} (a derivation) on @var{system}; @var{exp} is stored in a file called @var{script-name}. When @var{target} is true, it is used as the cross-compilation target triplet for packages referred to by @var{exp}."
  16371. msgstr ""
  16372. #. type: deffn
  16373. #: guix-git/doc/guix.texi:10765
  16374. msgid "@var{modules} is deprecated in favor of @code{with-imported-modules}. Its meaning is to make @var{modules} available in the evaluation context of @var{exp}; @var{modules} is a list of names of Guile modules searched in @var{module-path} to be copied in the store, compiled, and made available in the load path during the execution of @var{exp}---e.g., @code{((guix build utils) (guix build gnu-build-system))}."
  16375. msgstr ""
  16376. #. type: deffn
  16377. #: guix-git/doc/guix.texi:10768
  16378. msgid "@var{effective-version} determines the string to use when adding extensions of @var{exp} (see @code{with-extensions}) to the search path---e.g., @code{\"2.2\"}."
  16379. msgstr ""
  16380. #. type: deffn
  16381. #: guix-git/doc/guix.texi:10771
  16382. msgid "@var{graft?} determines whether packages referred to by @var{exp} should be grafted when applicable."
  16383. msgstr ""
  16384. #. type: deffn
  16385. #: guix-git/doc/guix.texi:10774
  16386. msgid "When @var{references-graphs} is true, it must be a list of tuples of one of the following forms:"
  16387. msgstr ""
  16388. #. type: example
  16389. #: guix-git/doc/guix.texi:10781
  16390. #, no-wrap
  16391. msgid ""
  16392. "(@var{file-name} @var{package})\n"
  16393. "(@var{file-name} @var{package} @var{output})\n"
  16394. "(@var{file-name} @var{derivation})\n"
  16395. "(@var{file-name} @var{derivation} @var{output})\n"
  16396. "(@var{file-name} @var{store-item})\n"
  16397. msgstr ""
  16398. #. type: deffn
  16399. #: guix-git/doc/guix.texi:10787
  16400. msgid "The right-hand-side of each element of @var{references-graphs} is automatically made an input of the build process of @var{exp}. In the build environment, each @var{file-name} contains the reference graph of the corresponding item, in a simple text format."
  16401. msgstr ""
  16402. #. type: deffn
  16403. #: guix-git/doc/guix.texi:10793
  16404. msgid "@var{allowed-references} must be either @code{#f} or a list of output names and packages. In the latter case, the list denotes store items that the result is allowed to refer to. Any reference to another store item will lead to a build error. Similarly for @var{disallowed-references}, which can list items that must not be referenced by the outputs."
  16405. msgstr ""
  16406. #. type: deffn
  16407. #: guix-git/doc/guix.texi:10796
  16408. msgid "@var{deprecation-warnings} determines whether to show deprecation warnings while compiling modules. It can be @code{#f}, @code{#t}, or @code{'detailed}."
  16409. msgstr ""
  16410. #. type: deffn
  16411. #: guix-git/doc/guix.texi:10798
  16412. msgid "The other arguments are as for @code{derivation} (@pxref{Derivations})."
  16413. msgstr ""
  16414. #. type: cindex
  16415. #: guix-git/doc/guix.texi:10800
  16416. #, no-wrap
  16417. msgid "file-like objects"
  16418. msgstr ""
  16419. #. type: Plain text
  16420. #: guix-git/doc/guix.texi:10805
  16421. msgid "The @code{local-file}, @code{plain-file}, @code{computed-file}, @code{program-file}, and @code{scheme-file} procedures below return @dfn{file-like objects}. That is, when unquoted in a G-expression, these objects lead to a file in the store. Consider this G-expression:"
  16422. msgstr ""
  16423. #. type: lisp
  16424. #: guix-git/doc/guix.texi:10809
  16425. #, no-wrap
  16426. msgid ""
  16427. "#~(system* #$(file-append glibc \"/sbin/nscd\") \"-f\"\n"
  16428. " #$(local-file \"/tmp/my-nscd.conf\"))\n"
  16429. msgstr ""
  16430. #. type: Plain text
  16431. #: guix-git/doc/guix.texi:10818
  16432. msgid "The effect here is to ``intern'' @file{/tmp/my-nscd.conf} by copying it to the store. Once expanded, for instance @i{via} @code{gexp->derivation}, the G-expression refers to that copy under @file{/gnu/store}; thus, modifying or removing the file in @file{/tmp} does not have any effect on what the G-expression does. @code{plain-file} can be used similarly; it differs in that the file content is directly passed as a string."
  16433. msgstr ""
  16434. #. type: deffn
  16435. #: guix-git/doc/guix.texi:10819
  16436. #, no-wrap
  16437. msgid "{Scheme Procedure} local-file @var{file} [@var{name}] @"
  16438. msgstr ""
  16439. #. type: deffn
  16440. #: guix-git/doc/guix.texi:10828
  16441. msgid "[#:recursive? #f] [#:select? (const #t)] Return an object representing local file @var{file} to add to the store; this object can be used in a gexp. If @var{file} is a literal string denoting a relative file name, it is looked up relative to the source file where it appears; if @var{file} is not a literal string, it is looked up relative to the current working directory at run time. @var{file} will be added to the store under @var{name}--by default the base name of @var{file}."
  16442. msgstr ""
  16443. #. type: deffn
  16444. #: guix-git/doc/guix.texi:10840
  16445. msgid "This is the declarative counterpart of the @code{interned-file} monadic procedure (@pxref{The Store Monad, @code{interned-file}})."
  16446. msgstr ""
  16447. #. type: deffn
  16448. #: guix-git/doc/guix.texi:10842
  16449. #, no-wrap
  16450. msgid "{Scheme Procedure} plain-file @var{name} @var{content}"
  16451. msgstr ""
  16452. #. type: deffn
  16453. #: guix-git/doc/guix.texi:10845
  16454. msgid "Return an object representing a text file called @var{name} with the given @var{content} (a string or a bytevector) to be added to the store."
  16455. msgstr ""
  16456. #. type: deffn
  16457. #: guix-git/doc/guix.texi:10847
  16458. msgid "This is the declarative counterpart of @code{text-file}."
  16459. msgstr ""
  16460. #. type: deffn
  16461. #: guix-git/doc/guix.texi:10849
  16462. #, no-wrap
  16463. msgid "{Scheme Procedure} computed-file @var{name} @var{gexp} @"
  16464. msgstr ""
  16465. #. type: deffn
  16466. #: guix-git/doc/guix.texi:10856
  16467. msgid "[#:local-build? #t] [#:options '()] Return an object representing the store item @var{name}, a file or directory computed by @var{gexp}. When @var{local-build?} is true (the default), the derivation is built locally. @var{options} is a list of additional arguments to pass to @code{gexp->derivation}."
  16468. msgstr ""
  16469. #. type: deffn
  16470. #: guix-git/doc/guix.texi:10858
  16471. msgid "This is the declarative counterpart of @code{gexp->derivation}."
  16472. msgstr ""
  16473. #. type: deffn
  16474. #: guix-git/doc/guix.texi:10860
  16475. #, no-wrap
  16476. msgid "{Monadic Procedure} gexp->script @var{name} @var{exp} @"
  16477. msgstr ""
  16478. #. type: deffn
  16479. #: guix-git/doc/guix.texi:10866
  16480. msgid "[#:guile (default-guile)] [#:module-path %load-path] @ [#:system (%current-system)] [#:target #f] Return an executable script @var{name} that runs @var{exp} using @var{guile}, with @var{exp}'s imported modules in its search path. Look up @var{exp}'s modules in @var{module-path}."
  16481. msgstr ""
  16482. #. type: deffn
  16483. #: guix-git/doc/guix.texi:10869
  16484. msgid "The example below builds a script that simply invokes the @command{ls} command:"
  16485. msgstr ""
  16486. #. type: lisp
  16487. #: guix-git/doc/guix.texi:10872
  16488. #, no-wrap
  16489. msgid ""
  16490. "(use-modules (guix gexp) (gnu packages base))\n"
  16491. "\n"
  16492. msgstr ""
  16493. #. type: lisp
  16494. #: guix-git/doc/guix.texi:10876
  16495. #, no-wrap
  16496. msgid ""
  16497. "(gexp->script \"list-files\"\n"
  16498. " #~(execl #$(file-append coreutils \"/bin/ls\")\n"
  16499. " \"ls\"))\n"
  16500. msgstr ""
  16501. #. type: deffn
  16502. #: guix-git/doc/guix.texi:10881
  16503. msgid "When ``running'' it through the store (@pxref{The Store Monad, @code{run-with-store}}), we obtain a derivation that produces an executable file @file{/gnu/store/@dots{}-list-files} along these lines:"
  16504. msgstr ""
  16505. #. type: example
  16506. #: guix-git/doc/guix.texi:10886
  16507. #, no-wrap
  16508. msgid ""
  16509. "#!/gnu/store/@dots{}-guile-2.0.11/bin/guile -ds\n"
  16510. "!#\n"
  16511. "(execl \"/gnu/store/@dots{}-coreutils-8.22\"/bin/ls\" \"ls\")\n"
  16512. msgstr ""
  16513. #. type: deffn
  16514. #: guix-git/doc/guix.texi:10889
  16515. #, no-wrap
  16516. msgid "{Scheme Procedure} program-file @var{name} @var{exp} @"
  16517. msgstr ""
  16518. #. type: deffn
  16519. #: guix-git/doc/guix.texi:10894
  16520. msgid "[#:guile #f] [#:module-path %load-path] Return an object representing the executable store item @var{name} that runs @var{gexp}. @var{guile} is the Guile package used to execute that script. Imported modules of @var{gexp} are looked up in @var{module-path}."
  16521. msgstr ""
  16522. #. type: deffn
  16523. #: guix-git/doc/guix.texi:10896
  16524. msgid "This is the declarative counterpart of @code{gexp->script}."
  16525. msgstr ""
  16526. #. type: deffn
  16527. #: guix-git/doc/guix.texi:10898
  16528. #, no-wrap
  16529. msgid "{Monadic Procedure} gexp->file @var{name} @var{exp} @"
  16530. msgstr ""
  16531. #. type: deffn
  16532. #: guix-git/doc/guix.texi:10905
  16533. msgid "[#:set-load-path? #t] [#:module-path %load-path] @ [#:splice? #f] @ [#:guile (default-guile)] Return a derivation that builds a file @var{name} containing @var{exp}. When @var{splice?} is true, @var{exp} is considered to be a list of expressions that will be spliced in the resulting file."
  16534. msgstr ""
  16535. #. type: deffn
  16536. #: guix-git/doc/guix.texi:10910
  16537. msgid "When @var{set-load-path?} is true, emit code in the resulting file to set @code{%load-path} and @code{%load-compiled-path} to honor @var{exp}'s imported modules. Look up @var{exp}'s modules in @var{module-path}."
  16538. msgstr ""
  16539. #. type: deffn
  16540. #: guix-git/doc/guix.texi:10913
  16541. msgid "The resulting file holds references to all the dependencies of @var{exp} or a subset thereof."
  16542. msgstr ""
  16543. #. type: deffn
  16544. #: guix-git/doc/guix.texi:10915
  16545. #, no-wrap
  16546. msgid "{Scheme Procedure} scheme-file @var{name} @var{exp} @"
  16547. msgstr ""
  16548. #. type: deffn
  16549. #: guix-git/doc/guix.texi:10919
  16550. msgid "[#:splice? #f] [#:set-load-path? #t] Return an object representing the Scheme file @var{name} that contains @var{exp}."
  16551. msgstr ""
  16552. #. type: deffn
  16553. #: guix-git/doc/guix.texi:10921
  16554. msgid "This is the declarative counterpart of @code{gexp->file}."
  16555. msgstr ""
  16556. #. type: deffn
  16557. #: guix-git/doc/guix.texi:10923
  16558. #, no-wrap
  16559. msgid "{Monadic Procedure} text-file* @var{name} @var{text} @dots{}"
  16560. msgstr ""
  16561. #. type: deffn
  16562. #: guix-git/doc/guix.texi:10929
  16563. msgid "Return as a monadic value a derivation that builds a text file containing all of @var{text}. @var{text} may list, in addition to strings, objects of any type that can be used in a gexp: packages, derivations, local file objects, etc. The resulting store file holds references to all these."
  16564. msgstr ""
  16565. #. type: deffn
  16566. #: guix-git/doc/guix.texi:10934
  16567. msgid "This variant should be preferred over @code{text-file} anytime the file to create will reference items from the store. This is typically the case when building a configuration file that embeds store file names, like this:"
  16568. msgstr ""
  16569. #. type: lisp
  16570. #: guix-git/doc/guix.texi:10942
  16571. #, no-wrap
  16572. msgid ""
  16573. "(define (profile.sh)\n"
  16574. " ;; Return the name of a shell script in the store that\n"
  16575. " ;; initializes the 'PATH' environment variable.\n"
  16576. " (text-file* \"profile.sh\"\n"
  16577. " \"export PATH=\" coreutils \"/bin:\"\n"
  16578. " grep \"/bin:\" sed \"/bin\\n\"))\n"
  16579. msgstr ""
  16580. #. type: deffn
  16581. #: guix-git/doc/guix.texi:10947
  16582. msgid "In this example, the resulting @file{/gnu/store/@dots{}-profile.sh} file will reference @var{coreutils}, @var{grep}, and @var{sed}, thereby preventing them from being garbage-collected during its lifetime."
  16583. msgstr ""
  16584. #. type: deffn
  16585. #: guix-git/doc/guix.texi:10949
  16586. #, no-wrap
  16587. msgid "{Scheme Procedure} mixed-text-file @var{name} @var{text} @dots{}"
  16588. msgstr ""
  16589. #. type: deffn
  16590. #: guix-git/doc/guix.texi:10953
  16591. msgid "Return an object representing store file @var{name} containing @var{text}. @var{text} is a sequence of strings and file-like objects, as in:"
  16592. msgstr ""
  16593. #. type: lisp
  16594. #: guix-git/doc/guix.texi:10957
  16595. #, no-wrap
  16596. msgid ""
  16597. "(mixed-text-file \"profile\"\n"
  16598. " \"export PATH=\" coreutils \"/bin:\" grep \"/bin\")\n"
  16599. msgstr ""
  16600. #. type: deffn
  16601. #: guix-git/doc/guix.texi:10960
  16602. msgid "This is the declarative counterpart of @code{text-file*}."
  16603. msgstr ""
  16604. #. type: deffn
  16605. #: guix-git/doc/guix.texi:10962
  16606. #, no-wrap
  16607. msgid "{Scheme Procedure} file-union @var{name} @var{files}"
  16608. msgstr ""
  16609. #. type: deffn
  16610. #: guix-git/doc/guix.texi:10967
  16611. msgid "Return a @code{<computed-file>} that builds a directory containing all of @var{files}. Each item in @var{files} must be a two-element list where the first element is the file name to use in the new directory, and the second element is a gexp denoting the target file. Here's an example:"
  16612. msgstr ""
  16613. #. type: lisp
  16614. #: guix-git/doc/guix.texi:10974
  16615. #, no-wrap
  16616. msgid ""
  16617. "(file-union \"etc\"\n"
  16618. " `((\"hosts\" ,(plain-file \"hosts\"\n"
  16619. " \"127.0.0.1 localhost\"))\n"
  16620. " (\"bashrc\" ,(plain-file \"bashrc\"\n"
  16621. " \"alias ls='ls --color=auto'\"))))\n"
  16622. msgstr ""
  16623. #. type: deffn
  16624. #: guix-git/doc/guix.texi:10977
  16625. msgid "This yields an @code{etc} directory containing these two files."
  16626. msgstr ""
  16627. #. type: deffn
  16628. #: guix-git/doc/guix.texi:10979
  16629. #, no-wrap
  16630. msgid "{Scheme Procedure} directory-union @var{name} @var{things}"
  16631. msgstr ""
  16632. #. type: deffn
  16633. #: guix-git/doc/guix.texi:10982
  16634. msgid "Return a directory that is the union of @var{things}, where @var{things} is a list of file-like objects denoting directories. For example:"
  16635. msgstr ""
  16636. #. type: lisp
  16637. #: guix-git/doc/guix.texi:10985
  16638. #, no-wrap
  16639. msgid "(directory-union \"guile+emacs\" (list guile emacs))\n"
  16640. msgstr ""
  16641. #. type: deffn
  16642. #: guix-git/doc/guix.texi:10988
  16643. msgid "yields a directory that is the union of the @code{guile} and @code{emacs} packages."
  16644. msgstr ""
  16645. #. type: deffn
  16646. #: guix-git/doc/guix.texi:10990
  16647. #, no-wrap
  16648. msgid "{Scheme Procedure} file-append @var{obj} @var{suffix} @dots{}"
  16649. msgstr ""
  16650. #. type: deffn
  16651. #: guix-git/doc/guix.texi:10994
  16652. msgid "Return a file-like object that expands to the concatenation of @var{obj} and @var{suffix}, where @var{obj} is a lowerable object and each @var{suffix} is a string."
  16653. msgstr ""
  16654. #. type: deffn
  16655. #: guix-git/doc/guix.texi:10996
  16656. msgid "As an example, consider this gexp:"
  16657. msgstr ""
  16658. #. type: lisp
  16659. #: guix-git/doc/guix.texi:11001
  16660. #, no-wrap
  16661. msgid ""
  16662. "(gexp->script \"run-uname\"\n"
  16663. " #~(system* #$(file-append coreutils\n"
  16664. " \"/bin/uname\")))\n"
  16665. msgstr ""
  16666. #. type: deffn
  16667. #: guix-git/doc/guix.texi:11004
  16668. msgid "The same effect could be achieved with:"
  16669. msgstr ""
  16670. #. type: lisp
  16671. #: guix-git/doc/guix.texi:11009
  16672. #, no-wrap
  16673. msgid ""
  16674. "(gexp->script \"run-uname\"\n"
  16675. " #~(system* (string-append #$coreutils\n"
  16676. " \"/bin/uname\")))\n"
  16677. msgstr ""
  16678. #. type: deffn
  16679. #: guix-git/doc/guix.texi:11015
  16680. msgid "There is one difference though: in the @code{file-append} case, the resulting script contains the absolute file name as a string, whereas in the second case, the resulting script contains a @code{(string-append @dots{})} expression to construct the file name @emph{at run time}."
  16681. msgstr ""
  16682. #. type: deffn
  16683. #: guix-git/doc/guix.texi:11017
  16684. #, no-wrap
  16685. msgid "{Scheme Syntax} let-system @var{system} @var{body}@dots{}"
  16686. msgstr ""
  16687. #. type: deffnx
  16688. #: guix-git/doc/guix.texi:11018
  16689. #, no-wrap
  16690. msgid "{Scheme Syntax} let-system (@var{system} @var{target}) @var{body}@dots{}"
  16691. msgstr ""
  16692. #. type: deffn
  16693. #: guix-git/doc/guix.texi:11021
  16694. msgid "Bind @var{system} to the currently targeted system---e.g., @code{\"x86_64-linux\"}---within @var{body}."
  16695. msgstr ""
  16696. #. type: deffn
  16697. #: guix-git/doc/guix.texi:11026
  16698. msgid "In the second case, additionally bind @var{target} to the current cross-compilation target---a GNU triplet such as @code{\"arm-linux-gnueabihf\"}---or @code{#f} if we are not cross-compiling."
  16699. msgstr ""
  16700. #. type: deffn
  16701. #: guix-git/doc/guix.texi:11029
  16702. msgid "@code{let-system} is useful in the occasional case where the object spliced into the gexp depends on the target system, as in this example:"
  16703. msgstr ""
  16704. #. type: lisp
  16705. #: guix-git/doc/guix.texi:11040
  16706. #, no-wrap
  16707. msgid ""
  16708. "#~(system*\n"
  16709. " #+(let-system system\n"
  16710. " (cond ((string-prefix? \"armhf-\" system)\n"
  16711. " (file-append qemu \"/bin/qemu-system-arm\"))\n"
  16712. " ((string-prefix? \"x86_64-\" system)\n"
  16713. " (file-append qemu \"/bin/qemu-system-x86_64\"))\n"
  16714. " (else\n"
  16715. " (error \"dunno!\"))))\n"
  16716. " \"-net\" \"user\" #$image)\n"
  16717. msgstr ""
  16718. #. type: deffn
  16719. #: guix-git/doc/guix.texi:11043
  16720. #, no-wrap
  16721. msgid "{Scheme Syntax} with-parameters ((@var{parameter} @var{value}) @dots{}) @var{exp}"
  16722. msgstr ""
  16723. #. type: deffn
  16724. #: guix-git/doc/guix.texi:11049
  16725. msgid "This macro is similar to the @code{parameterize} form for dynamically-bound @dfn{parameters} (@pxref{Parameters,,, guile, GNU Guile Reference Manual}). The key difference is that it takes effect when the file-like object returned by @var{exp} is lowered to a derivation or store item."
  16726. msgstr ""
  16727. #. type: deffn
  16728. #: guix-git/doc/guix.texi:11052
  16729. msgid "A typical use of @code{with-parameters} is to force the system in effect for a given object:"
  16730. msgstr ""
  16731. #. type: lisp
  16732. #: guix-git/doc/guix.texi:11056
  16733. #, no-wrap
  16734. msgid ""
  16735. "(with-parameters ((%current-system \"i686-linux\"))\n"
  16736. " coreutils)\n"
  16737. msgstr ""
  16738. #. type: deffn
  16739. #: guix-git/doc/guix.texi:11060
  16740. msgid "The example above returns an object that corresponds to the i686 build of Coreutils, regardless of the current value of @code{%current-system}."
  16741. msgstr ""
  16742. #. type: Plain text
  16743. #: guix-git/doc/guix.texi:11067
  16744. msgid "Of course, in addition to gexps embedded in ``host'' code, there are also modules containing build tools. To make it clear that they are meant to be used in the build stratum, these modules are kept in the @code{(guix build @dots{})} name space."
  16745. msgstr ""
  16746. #. type: Plain text
  16747. #: guix-git/doc/guix.texi:11073
  16748. msgid "Internally, high-level objects are @dfn{lowered}, using their compiler, to either derivations or store items. For instance, lowering a package yields a derivation, and lowering a @code{plain-file} yields a store item. This is achieved using the @code{lower-object} monadic procedure."
  16749. msgstr ""
  16750. #. type: deffn
  16751. #: guix-git/doc/guix.texi:11074
  16752. #, no-wrap
  16753. msgid "{Monadic Procedure} lower-object @var{obj} [@var{system}] @"
  16754. msgstr ""
  16755. #. type: deffn
  16756. #: guix-git/doc/guix.texi:11080
  16757. msgid "[#:target #f] Return as a value in @code{%store-monad} the derivation or store item corresponding to @var{obj} for @var{system}, cross-compiling for @var{target} if @var{target} is true. @var{obj} must be an object that has an associated gexp compiler, such as a @code{<package>}."
  16758. msgstr ""
  16759. #. type: deffn
  16760. #: guix-git/doc/guix.texi:11082
  16761. #, no-wrap
  16762. msgid "{Procedure} gexp->approximate-sexp @var{gexp}"
  16763. msgstr ""
  16764. #. type: deffn
  16765. #: guix-git/doc/guix.texi:11090
  16766. msgid "Sometimes, it may be useful to convert a G-exp into a S-exp. For example, some linters (@pxref{Invoking guix lint}) peek into the build phases of a package to detect potential problems. This conversion can be achieved with this procedure. However, some information can be lost in the process. More specifically, lowerable objects will be silently replaced with some arbitrary object -- currently the list @code{(*approximate*)}, but this may change."
  16767. msgstr ""
  16768. #. type: section
  16769. #: guix-git/doc/guix.texi:11093
  16770. #, no-wrap
  16771. msgid "Invoking @command{guix repl}"
  16772. msgstr ""
  16773. #. type: cindex
  16774. #: guix-git/doc/guix.texi:11095
  16775. #, no-wrap
  16776. msgid "REPL, read-eval-print loop, script"
  16777. msgstr ""
  16778. #. type: Plain text
  16779. #: guix-git/doc/guix.texi:11105
  16780. msgid "The @command{guix repl} command makes it easier to program Guix in Guile by launching a Guile @dfn{read-eval-print loop} (REPL) for interactive programming (@pxref{Using Guile Interactively,,, guile, GNU Guile Reference Manual}), or by running Guile scripts (@pxref{Running Guile Scripts,,, guile, GNU Guile Reference Manual}). Compared to just launching the @command{guile} command, @command{guix repl} guarantees that all the Guix modules and all its dependencies are available in the search path."
  16781. msgstr ""
  16782. #. type: example
  16783. #: guix-git/doc/guix.texi:11110
  16784. #, no-wrap
  16785. msgid "guix repl @var{options} [@var{file} @var{args}]\n"
  16786. msgstr ""
  16787. #. type: Plain text
  16788. #: guix-git/doc/guix.texi:11114
  16789. msgid "When a @var{file} argument is provided, @var{file} is executed as a Guile scripts:"
  16790. msgstr ""
  16791. #. type: example
  16792. #: guix-git/doc/guix.texi:11117
  16793. #, no-wrap
  16794. msgid "guix repl my-script.scm\n"
  16795. msgstr ""
  16796. #. type: Plain text
  16797. #: guix-git/doc/guix.texi:11121
  16798. msgid "To pass arguments to the script, use @code{--} to prevent them from being interpreted as arguments to @command{guix repl} itself:"
  16799. msgstr ""
  16800. #. type: example
  16801. #: guix-git/doc/guix.texi:11124
  16802. #, no-wrap
  16803. msgid "guix repl -- my-script.scm --input=foo.txt\n"
  16804. msgstr ""
  16805. #. type: Plain text
  16806. #: guix-git/doc/guix.texi:11129
  16807. msgid "To make a script executable directly from the shell, using the guix executable that is on the user's search path, add the following two lines at the top of the script:"
  16808. msgstr ""
  16809. #. type: example
  16810. #: guix-git/doc/guix.texi:11133
  16811. #, no-wrap
  16812. msgid ""
  16813. "@code{#!/usr/bin/env -S guix repl --}\n"
  16814. "@code{!#}\n"
  16815. msgstr ""
  16816. #. type: Plain text
  16817. #: guix-git/doc/guix.texi:11136
  16818. msgid "Without a file name argument, a Guile REPL is started:"
  16819. msgstr ""
  16820. #. type: example
  16821. #: guix-git/doc/guix.texi:11142
  16822. #, no-wrap
  16823. msgid ""
  16824. "$ guix repl\n"
  16825. "scheme@@(guile-user)> ,use (gnu packages base)\n"
  16826. "scheme@@(guile-user)> coreutils\n"
  16827. "$1 = #<package coreutils@@8.29 gnu/packages/base.scm:327 3e28300>\n"
  16828. msgstr ""
  16829. #. type: Plain text
  16830. #: guix-git/doc/guix.texi:11149
  16831. msgid "In addition, @command{guix repl} implements a simple machine-readable REPL protocol for use by @code{(guix inferior)}, a facility to interact with @dfn{inferiors}, separate processes running a potentially different revision of Guix."
  16832. msgstr ""
  16833. #. type: Plain text
  16834. #: guix-git/doc/guix.texi:11151
  16835. msgid "The available options are as follows:"
  16836. msgstr ""
  16837. #. type: item
  16838. #: guix-git/doc/guix.texi:11153 guix-git/doc/guix.texi:13872
  16839. #, no-wrap
  16840. msgid "--type=@var{type}"
  16841. msgstr ""
  16842. #. type: itemx
  16843. #: guix-git/doc/guix.texi:11154 guix-git/doc/guix.texi:13873
  16844. #: guix-git/doc/guix.texi:35839
  16845. #, no-wrap
  16846. msgid "-t @var{type}"
  16847. msgstr ""
  16848. #. type: table
  16849. #: guix-git/doc/guix.texi:11156
  16850. msgid "Start a REPL of the given @var{TYPE}, which can be one of the following:"
  16851. msgstr ""
  16852. #. type: item
  16853. #: guix-git/doc/guix.texi:11158
  16854. #, no-wrap
  16855. msgid "guile"
  16856. msgstr ""
  16857. #. type: table
  16858. #: guix-git/doc/guix.texi:11160
  16859. msgid "This is default, and it spawns a standard full-featured Guile REPL."
  16860. msgstr ""
  16861. #. type: item
  16862. #: guix-git/doc/guix.texi:11160
  16863. #, no-wrap
  16864. msgid "machine"
  16865. msgstr "kone"
  16866. #. type: table
  16867. #: guix-git/doc/guix.texi:11163
  16868. msgid "Spawn a REPL that uses the machine-readable protocol. This is the protocol that the @code{(guix inferior)} module speaks."
  16869. msgstr ""
  16870. #. type: table
  16871. #: guix-git/doc/guix.texi:11169
  16872. msgid "By default, @command{guix repl} reads from standard input and writes to standard output. When this option is passed, it will instead listen for connections on @var{endpoint}. Here are examples of valid options:"
  16873. msgstr ""
  16874. #. type: item
  16875. #: guix-git/doc/guix.texi:11171
  16876. #, no-wrap
  16877. msgid "--listen=tcp:37146"
  16878. msgstr ""
  16879. #. type: table
  16880. #: guix-git/doc/guix.texi:11173
  16881. msgid "Accept connections on localhost on port 37146."
  16882. msgstr ""
  16883. #. type: item
  16884. #: guix-git/doc/guix.texi:11174
  16885. #, no-wrap
  16886. msgid "--listen=unix:/tmp/socket"
  16887. msgstr ""
  16888. #. type: table
  16889. #: guix-git/doc/guix.texi:11176
  16890. msgid "Accept connections on the Unix-domain socket @file{/tmp/socket}."
  16891. msgstr ""
  16892. #. type: item
  16893. #: guix-git/doc/guix.texi:11178 guix-git/doc/guix.texi:11283
  16894. #: guix-git/doc/guix.texi:13182 guix-git/doc/guix.texi:13300
  16895. #: guix-git/doc/guix.texi:13507 guix-git/doc/guix.texi:13652
  16896. #: guix-git/doc/guix.texi:13920
  16897. #, no-wrap
  16898. msgid "--load-path=@var{directory}"
  16899. msgstr ""
  16900. #. type: itemx
  16901. #: guix-git/doc/guix.texi:11179 guix-git/doc/guix.texi:11284
  16902. #: guix-git/doc/guix.texi:13301 guix-git/doc/guix.texi:13508
  16903. #: guix-git/doc/guix.texi:13653 guix-git/doc/guix.texi:13921
  16904. #, no-wrap
  16905. msgid "-L @var{directory}"
  16906. msgstr ""
  16907. #. type: table
  16908. #: guix-git/doc/guix.texi:11182 guix-git/doc/guix.texi:11287
  16909. #: guix-git/doc/guix.texi:13185 guix-git/doc/guix.texi:13304
  16910. #: guix-git/doc/guix.texi:13511 guix-git/doc/guix.texi:13656
  16911. #: guix-git/doc/guix.texi:13924
  16912. msgid "Add @var{directory} to the front of the package module search path (@pxref{Package Modules})."
  16913. msgstr ""
  16914. #. type: table
  16915. #: guix-git/doc/guix.texi:11185
  16916. msgid "This allows users to define their own packages and make them visible to the script or REPL."
  16917. msgstr ""
  16918. #. type: itemx
  16919. #: guix-git/doc/guix.texi:11186 guix-git/doc/guix.texi:11808
  16920. #, no-wrap
  16921. msgid "-q"
  16922. msgstr ""
  16923. #. type: table
  16924. #: guix-git/doc/guix.texi:11189
  16925. msgid "Inhibit loading of the @file{~/.guile} file. By default, that configuration file is loaded when spawning a @code{guile} REPL."
  16926. msgstr ""
  16927. #. type: Plain text
  16928. #: guix-git/doc/guix.texi:11199
  16929. msgid "This section describes Guix command-line utilities. Some of them are primarily targeted at developers and users who write new package definitions, while others are more generally useful. They complement the Scheme programming interface of Guix in a convenient way."
  16930. msgstr ""
  16931. #. type: cindex
  16932. #: guix-git/doc/guix.texi:11222
  16933. #, no-wrap
  16934. msgid "package building"
  16935. msgstr ""
  16936. #. type: command{#1}
  16937. #: guix-git/doc/guix.texi:11223
  16938. #, no-wrap
  16939. msgid "guix build"
  16940. msgstr ""
  16941. #. type: Plain text
  16942. #: guix-git/doc/guix.texi:11229
  16943. msgid "The @command{guix build} command builds packages or derivations and their dependencies, and prints the resulting store paths. Note that it does not modify the user's profile---this is the job of the @command{guix package} command (@pxref{Invoking guix package}). Thus, it is mainly useful for distribution developers."
  16944. msgstr ""
  16945. #. type: example
  16946. #: guix-git/doc/guix.texi:11234
  16947. #, no-wrap
  16948. msgid "guix build @var{options} @var{package-or-derivation}@dots{}\n"
  16949. msgstr ""
  16950. #. type: Plain text
  16951. #: guix-git/doc/guix.texi:11239
  16952. msgid "As an example, the following command builds the latest versions of Emacs and of Guile, displays their build logs, and finally displays the resulting directories:"
  16953. msgstr ""
  16954. #. type: example
  16955. #: guix-git/doc/guix.texi:11242
  16956. #, no-wrap
  16957. msgid "guix build emacs guile\n"
  16958. msgstr ""
  16959. #. type: Plain text
  16960. #: guix-git/doc/guix.texi:11245
  16961. msgid "Similarly, the following command builds all the available packages:"
  16962. msgstr ""
  16963. #. type: example
  16964. #: guix-git/doc/guix.texi:11249
  16965. #, no-wrap
  16966. msgid ""
  16967. "guix build --quiet --keep-going \\\n"
  16968. " $(guix package -A | awk '@{ print $1 \"@@\" $2 @}')\n"
  16969. msgstr ""
  16970. #. type: Plain text
  16971. #: guix-git/doc/guix.texi:11257
  16972. msgid "@var{package-or-derivation} may be either the name of a package found in the software distribution such as @code{coreutils} or @code{coreutils@@8.20}, or a derivation such as @file{/gnu/store/@dots{}-coreutils-8.19.drv}. In the former case, a package with the corresponding name (and optionally version) is searched for among the GNU distribution modules (@pxref{Package Modules})."
  16973. msgstr ""
  16974. #. type: Plain text
  16975. #: guix-git/doc/guix.texi:11262
  16976. msgid "Alternatively, the @option{--expression} option may be used to specify a Scheme expression that evaluates to a package; this is useful when disambiguating among several same-named packages or package variants is needed."
  16977. msgstr ""
  16978. #. type: Plain text
  16979. #: guix-git/doc/guix.texi:11265
  16980. msgid "There may be zero or more @var{options}. The available options are described in the subsections below."
  16981. msgstr ""
  16982. #. type: Plain text
  16983. #: guix-git/doc/guix.texi:11280
  16984. msgid "A number of options that control the build process are common to @command{guix build} and other commands that can spawn builds, such as @command{guix package} or @command{guix archive}. These are the following:"
  16985. msgstr ""
  16986. #. type: table
  16987. #: guix-git/doc/guix.texi:11290 guix-git/doc/guix.texi:13188
  16988. #: guix-git/doc/guix.texi:13514 guix-git/doc/guix.texi:13659
  16989. #: guix-git/doc/guix.texi:13927
  16990. msgid "This allows users to define their own packages and make them visible to the command-line tools."
  16991. msgstr ""
  16992. #. type: item
  16993. #: guix-git/doc/guix.texi:11291
  16994. #, no-wrap
  16995. msgid "--keep-failed"
  16996. msgstr ""
  16997. #. type: itemx
  16998. #: guix-git/doc/guix.texi:11292
  16999. #, no-wrap
  17000. msgid "-K"
  17001. msgstr ""
  17002. #. type: table
  17003. #: guix-git/doc/guix.texi:11298
  17004. msgid "Keep the build tree of failed builds. Thus, if a build fails, its build tree is kept under @file{/tmp}, in a directory whose name is shown at the end of the build log. This is useful when debugging build issues. @xref{Debugging Build Failures}, for tips and tricks on how to debug build issues."
  17005. msgstr ""
  17006. #. type: table
  17007. #: guix-git/doc/guix.texi:11302
  17008. msgid "This option implies @option{--no-offload}, and it has no effect when connecting to a remote daemon with a @code{guix://} URI (@pxref{The Store, the @env{GUIX_DAEMON_SOCKET} variable})."
  17009. msgstr ""
  17010. #. type: item
  17011. #: guix-git/doc/guix.texi:11303
  17012. #, no-wrap
  17013. msgid "--keep-going"
  17014. msgstr ""
  17015. #. type: itemx
  17016. #: guix-git/doc/guix.texi:11304
  17017. #, no-wrap
  17018. msgid "-k"
  17019. msgstr ""
  17020. #. type: table
  17021. #: guix-git/doc/guix.texi:11307
  17022. msgid "Keep going when some of the derivations fail to build; return only once all the builds have either completed or failed."
  17023. msgstr ""
  17024. #. type: table
  17025. #: guix-git/doc/guix.texi:11310
  17026. msgid "The default behavior is to stop as soon as one of the specified derivations has failed."
  17027. msgstr ""
  17028. #. type: table
  17029. #: guix-git/doc/guix.texi:11314
  17030. msgid "Do not build the derivations."
  17031. msgstr ""
  17032. #. type: anchor{#1}
  17033. #: guix-git/doc/guix.texi:11316
  17034. msgid "fallback-option"
  17035. msgstr ""
  17036. #. type: item
  17037. #: guix-git/doc/guix.texi:11316
  17038. #, no-wrap
  17039. msgid "--fallback"
  17040. msgstr ""
  17041. #. type: table
  17042. #: guix-git/doc/guix.texi:11319
  17043. msgid "When substituting a pre-built binary fails, fall back to building packages locally (@pxref{Substitution Failure})."
  17044. msgstr ""
  17045. #. type: anchor{#1}
  17046. #: guix-git/doc/guix.texi:11325
  17047. msgid "client-substitute-urls"
  17048. msgstr ""
  17049. #. type: table
  17050. #: guix-git/doc/guix.texi:11325
  17051. msgid "Consider @var{urls} the whitespace-separated list of substitute source URLs, overriding the default list of URLs of @command{guix-daemon} (@pxref{daemon-substitute-urls,, @command{guix-daemon} URLs})."
  17052. msgstr ""
  17053. #. type: table
  17054. #: guix-git/doc/guix.texi:11329
  17055. msgid "This means that substitutes may be downloaded from @var{urls}, provided they are signed by a key authorized by the system administrator (@pxref{Substitutes})."
  17056. msgstr ""
  17057. #. type: table
  17058. #: guix-git/doc/guix.texi:11332
  17059. msgid "When @var{urls} is the empty string, substitutes are effectively disabled."
  17060. msgstr ""
  17061. #. type: item
  17062. #: guix-git/doc/guix.texi:11338
  17063. #, no-wrap
  17064. msgid "--no-grafts"
  17065. msgstr ""
  17066. #. type: table
  17067. #: guix-git/doc/guix.texi:11342
  17068. msgid "Do not ``graft'' packages. In practice, this means that package updates available as grafts are not applied. @xref{Security Updates}, for more information on grafts."
  17069. msgstr ""
  17070. #. type: item
  17071. #: guix-git/doc/guix.texi:11343
  17072. #, no-wrap
  17073. msgid "--rounds=@var{n}"
  17074. msgstr ""
  17075. #. type: table
  17076. #: guix-git/doc/guix.texi:11346
  17077. msgid "Build each derivation @var{n} times in a row, and raise an error if consecutive build results are not bit-for-bit identical."
  17078. msgstr ""
  17079. #. type: table
  17080. #: guix-git/doc/guix.texi:11351
  17081. msgid "This is a useful way to detect non-deterministic builds processes. Non-deterministic build processes are a problem because they make it practically impossible for users to @emph{verify} whether third-party binaries are genuine. @xref{Invoking guix challenge}, for more."
  17082. msgstr ""
  17083. #. type: table
  17084. #: guix-git/doc/guix.texi:11367
  17085. msgid "By default, the daemon's setting is honored (@pxref{Invoking guix-daemon, @option{--max-silent-time}})."
  17086. msgstr ""
  17087. #. type: table
  17088. #: guix-git/doc/guix.texi:11374
  17089. msgid "By default, the daemon's setting is honored (@pxref{Invoking guix-daemon, @option{--timeout}})."
  17090. msgstr ""
  17091. #. type: cindex
  17092. #: guix-git/doc/guix.texi:11377
  17093. #, no-wrap
  17094. msgid "verbosity, of the command-line tools"
  17095. msgstr ""
  17096. #. type: cindex
  17097. #: guix-git/doc/guix.texi:11378
  17098. #, no-wrap
  17099. msgid "build logs, verbosity"
  17100. msgstr ""
  17101. #. type: item
  17102. #: guix-git/doc/guix.texi:11379
  17103. #, no-wrap
  17104. msgid "-v @var{level}"
  17105. msgstr ""
  17106. #. type: itemx
  17107. #: guix-git/doc/guix.texi:11380
  17108. #, no-wrap
  17109. msgid "--verbosity=@var{level}"
  17110. msgstr ""
  17111. #. type: table
  17112. #: guix-git/doc/guix.texi:11385
  17113. msgid "Use the given verbosity @var{level}, an integer. Choosing 0 means that no output is produced, 1 is for quiet output; 2 is similar to 1 but it additionally displays download URLs; 3 shows all the build log output on standard error."
  17114. msgstr ""
  17115. #. type: table
  17116. #: guix-git/doc/guix.texi:11390
  17117. msgid "Allow the use of up to @var{n} CPU cores for the build. The special value @code{0} means to use as many CPU cores as available."
  17118. msgstr ""
  17119. #. type: table
  17120. #: guix-git/doc/guix.texi:11396
  17121. msgid "Allow at most @var{n} build jobs in parallel. @xref{Invoking guix-daemon, @option{--max-jobs}}, for details about this option and the equivalent @command{guix-daemon} option."
  17122. msgstr ""
  17123. #. type: item
  17124. #: guix-git/doc/guix.texi:11397
  17125. #, no-wrap
  17126. msgid "--debug=@var{level}"
  17127. msgstr ""
  17128. #. type: table
  17129. #: guix-git/doc/guix.texi:11401
  17130. msgid "Produce debugging output coming from the build daemon. @var{level} must be an integer between 0 and 5; higher means more verbose output. Setting a level of 4 or more may be helpful when debugging setup issues with the build daemon."
  17131. msgstr ""
  17132. #. type: Plain text
  17133. #: guix-git/doc/guix.texi:11408
  17134. msgid "Behind the scenes, @command{guix build} is essentially an interface to the @code{package-derivation} procedure of the @code{(guix packages)} module, and to the @code{build-derivations} procedure of the @code{(guix derivations)} module."
  17135. msgstr ""
  17136. #. type: Plain text
  17137. #: guix-git/doc/guix.texi:11412
  17138. msgid "In addition to options explicitly passed on the command line, @command{guix build} and other @command{guix} commands that support building honor the @env{GUIX_BUILD_OPTIONS} environment variable."
  17139. msgstr ""
  17140. #. type: defvr
  17141. #: guix-git/doc/guix.texi:11413
  17142. #, no-wrap
  17143. msgid "{Environment Variable} GUIX_BUILD_OPTIONS"
  17144. msgstr ""
  17145. #. type: defvr
  17146. #: guix-git/doc/guix.texi:11418
  17147. msgid "Users can define this variable to a list of command line options that will automatically be used by @command{guix build} and other @command{guix} commands that can perform builds, as in the example below:"
  17148. msgstr ""
  17149. #. type: example
  17150. #: guix-git/doc/guix.texi:11421
  17151. #, no-wrap
  17152. msgid "$ export GUIX_BUILD_OPTIONS=\"--no-substitutes -c 2 -L /foo/bar\"\n"
  17153. msgstr ""
  17154. #. type: defvr
  17155. #: guix-git/doc/guix.texi:11425
  17156. msgid "These options are parsed independently, and the result is appended to the parsed command-line options."
  17157. msgstr ""
  17158. #. type: cindex
  17159. #: guix-git/doc/guix.texi:11431
  17160. #, no-wrap
  17161. msgid "package variants"
  17162. msgstr ""
  17163. #. type: Plain text
  17164. #: guix-git/doc/guix.texi:11439
  17165. msgid "Another set of command-line options supported by @command{guix build} and also @command{guix package} are @dfn{package transformation options}. These are options that make it possible to define @dfn{package variants}---for instance, packages built from different source code. This is a convenient way to create customized packages on the fly without having to type in the definitions of package variants (@pxref{Defining Packages})."
  17166. msgstr ""
  17167. #. type: Plain text
  17168. #: guix-git/doc/guix.texi:11443
  17169. msgid "Package transformation options are preserved across upgrades: @command{guix upgrade} attempts to apply transformation options initially used when creating the profile to the upgraded packages."
  17170. msgstr ""
  17171. #. type: Plain text
  17172. #: guix-git/doc/guix.texi:11448
  17173. msgid "The available options are listed below. Most commands support them and also support a @option{--help-transform} option that lists all the available options and a synopsis (these options are not shown in the @option{--help} output for brevity)."
  17174. msgstr ""
  17175. #. type: cindex
  17176. #: guix-git/doc/guix.texi:11451
  17177. #, no-wrap
  17178. msgid "performance, tuning code"
  17179. msgstr "suorituskyky, virityskoodi"
  17180. #. type: cindex
  17181. #: guix-git/doc/guix.texi:11452
  17182. #, no-wrap
  17183. msgid "optimization, of package code"
  17184. msgstr ""
  17185. #. type: cindex
  17186. #: guix-git/doc/guix.texi:11453
  17187. #, no-wrap
  17188. msgid "tuning, of package code"
  17189. msgstr ""
  17190. #. type: cindex
  17191. #: guix-git/doc/guix.texi:11454
  17192. #, no-wrap
  17193. msgid "SIMD support"
  17194. msgstr ""
  17195. #. type: cindex
  17196. #: guix-git/doc/guix.texi:11455
  17197. #, no-wrap
  17198. msgid "tunable packages"
  17199. msgstr "viritettävissä olevat paketit"
  17200. #. type: cindex
  17201. #: guix-git/doc/guix.texi:11456
  17202. #, no-wrap
  17203. msgid "package multi-versioning"
  17204. msgstr ""
  17205. #. type: item
  17206. #: guix-git/doc/guix.texi:11457
  17207. #, no-wrap
  17208. msgid "--tune[=@var{cpu}]"
  17209. msgstr ""
  17210. #. type: table
  17211. #: guix-git/doc/guix.texi:11461
  17212. msgid "Use versions of the packages marked as ``tunable'' optimized for @var{cpu}. When @var{cpu} is @code{native}, or when it is omitted, tune for the CPU on which the @command{guix} command is running."
  17213. msgstr ""
  17214. #. type: table
  17215. #: guix-git/doc/guix.texi:11467
  17216. msgid "Valid @var{cpu} names are those recognized by the underlying compiler, by default the GNU Compiler Collection. On x86_64 processors, this includes CPU names such as @code{nehalem}, @code{haswell}, and @code{skylake} (@pxref{x86 Options, @code{-march},, gcc, Using the GNU Compiler Collection (GCC)})."
  17217. msgstr ""
  17218. #. type: table
  17219. #: guix-git/doc/guix.texi:11474
  17220. msgid "As new generations of CPUs come out, they augment the standard instruction set architecture (ISA) with additional instructions, in particular instructions for single-instruction/multiple-data (SIMD) parallel processing. For example, while Core2 and Skylake CPUs both implement the x86_64 ISA, only the latter supports AVX2 SIMD instructions."
  17221. msgstr ""
  17222. #. type: table
  17223. #: guix-git/doc/guix.texi:11481
  17224. msgid "The primary gain one can expect from @option{--tune} is for programs that can make use of those SIMD capabilities @emph{and} that do not already have a mechanism to select the right optimized code at run time. Packages that have the @code{tunable?} property set are considered @dfn{tunable packages} by the @option{--tune} option; a package definition with the property set looks like this:"
  17225. msgstr ""
  17226. #. type: lisp
  17227. #: guix-git/doc/guix.texi:11486
  17228. #, no-wrap
  17229. msgid ""
  17230. "(package\n"
  17231. " (name \"hello-simd\")\n"
  17232. " ;; ...\n"
  17233. "\n"
  17234. msgstr ""
  17235. #. type: lisp
  17236. #: guix-git/doc/guix.texi:11490
  17237. #, no-wrap
  17238. msgid ""
  17239. " ;; This package may benefit from SIMD extensions so\n"
  17240. " ;; mark it as \"tunable\".\n"
  17241. " (properties '((tunable? . #t))))\n"
  17242. msgstr ""
  17243. #. type: table
  17244. #: guix-git/doc/guix.texi:11495
  17245. msgid "Other packages are not considered tunable. This allows Guix to use generic binaries in the cases where tuning for a specific CPU is unlikely to provide any gain."
  17246. msgstr ""
  17247. #. type: table
  17248. #: guix-git/doc/guix.texi:11501
  17249. msgid "Tuned packages are built with @code{-march=@var{CPU}}; under the hood, the @option{-march} option is passed to the actual wrapper by a compiler wrapper. Since the build machine may not be able to run code for the target CPU micro-architecture, the test suite is not run when building a tuned package."
  17250. msgstr ""
  17251. #. type: table
  17252. #: guix-git/doc/guix.texi:11505
  17253. msgid "To reduce rebuilds to the minimum, tuned packages are @emph{grafted} onto packages that depend on them (@pxref{Security Updates, grafts}). Thus, using @option{--no-grafts} cancels the effect of @option{--tune}."
  17254. msgstr ""
  17255. #. type: table
  17256. #: guix-git/doc/guix.texi:11511
  17257. msgid "We call this technique @dfn{package multi-versioning}: several variants of tunable packages may be built, one for each CPU variant. It is the coarse-grain counterpart of @dfn{function multi-versioning} as implemented by the GNU tool chain (@pxref{Function Multiversioning,,, gcc, Using the GNU Compiler Collection (GCC)})."
  17258. msgstr ""
  17259. #. type: item
  17260. #: guix-git/doc/guix.texi:11512
  17261. #, no-wrap
  17262. msgid "--with-source=@var{source}"
  17263. msgstr ""
  17264. #. type: itemx
  17265. #: guix-git/doc/guix.texi:11513
  17266. #, no-wrap
  17267. msgid "--with-source=@var{package}=@var{source}"
  17268. msgstr ""
  17269. #. type: itemx
  17270. #: guix-git/doc/guix.texi:11514
  17271. #, no-wrap
  17272. msgid "--with-source=@var{package}@@@var{version}=@var{source}"
  17273. msgstr ""
  17274. #. type: table
  17275. #: guix-git/doc/guix.texi:11519
  17276. msgid "Use @var{source} as the source of @var{package}, and @var{version} as its version number. @var{source} must be a file name or a URL, as for @command{guix download} (@pxref{Invoking guix download})."
  17277. msgstr ""
  17278. #. type: table
  17279. #: guix-git/doc/guix.texi:11525
  17280. msgid "When @var{package} is omitted, it is taken to be the package name specified on the command line that matches the base of @var{source}---e.g., if @var{source} is @code{/src/guile-2.0.10.tar.gz}, the corresponding package is @code{guile}."
  17281. msgstr ""
  17282. #. type: table
  17283. #: guix-git/doc/guix.texi:11528
  17284. msgid "Likewise, when @var{version} is omitted, the version string is inferred from @var{source}; in the previous example, it is @code{2.0.10}."
  17285. msgstr ""
  17286. #. type: table
  17287. #: guix-git/doc/guix.texi:11533
  17288. msgid "This option allows users to try out versions of packages other than the one provided by the distribution. The example below downloads @file{ed-1.7.tar.gz} from a GNU mirror and uses that as the source for the @code{ed} package:"
  17289. msgstr ""
  17290. #. type: example
  17291. #: guix-git/doc/guix.texi:11536
  17292. #, no-wrap
  17293. msgid "guix build ed --with-source=mirror://gnu/ed/ed-1.7.tar.gz\n"
  17294. msgstr ""
  17295. #. type: table
  17296. #: guix-git/doc/guix.texi:11540
  17297. msgid "As a developer, @option{--with-source} makes it easy to test release candidates:"
  17298. msgstr ""
  17299. #. type: example
  17300. #: guix-git/doc/guix.texi:11543
  17301. #, no-wrap
  17302. msgid "guix build guile --with-source=../guile-2.0.9.219-e1bb7.tar.xz\n"
  17303. msgstr ""
  17304. #. type: table
  17305. #: guix-git/doc/guix.texi:11546
  17306. msgid "@dots{} or to build from a checkout in a pristine environment:"
  17307. msgstr ""
  17308. #. type: example
  17309. #: guix-git/doc/guix.texi:11550
  17310. #, no-wrap
  17311. msgid ""
  17312. "$ git clone git://git.sv.gnu.org/guix.git\n"
  17313. "$ guix build guix --with-source=guix@@1.0=./guix\n"
  17314. msgstr ""
  17315. #. type: item
  17316. #: guix-git/doc/guix.texi:11552
  17317. #, no-wrap
  17318. msgid "--with-input=@var{package}=@var{replacement}"
  17319. msgstr ""
  17320. #. type: table
  17321. #: guix-git/doc/guix.texi:11557
  17322. msgid "Replace dependency on @var{package} by a dependency on @var{replacement}. @var{package} must be a package name, and @var{replacement} must be a package specification such as @code{guile} or @code{guile@@1.8}."
  17323. msgstr ""
  17324. #. type: table
  17325. #: guix-git/doc/guix.texi:11561
  17326. msgid "For instance, the following command builds Guix, but replaces its dependency on the current stable version of Guile with a dependency on the legacy version of Guile, @code{guile@@2.0}:"
  17327. msgstr ""
  17328. #. type: example
  17329. #: guix-git/doc/guix.texi:11564
  17330. #, no-wrap
  17331. msgid "guix build --with-input=guile=guile@@2.0 guix\n"
  17332. msgstr ""
  17333. #. type: table
  17334. #: guix-git/doc/guix.texi:11569
  17335. msgid "This is a recursive, deep replacement. So in this example, both @code{guix} and its dependency @code{guile-json} (which also depends on @code{guile}) get rebuilt against @code{guile@@2.0}."
  17336. msgstr ""
  17337. #. type: table
  17338. #: guix-git/doc/guix.texi:11572
  17339. msgid "This is implemented using the @code{package-input-rewriting} Scheme procedure (@pxref{Defining Packages, @code{package-input-rewriting}})."
  17340. msgstr ""
  17341. #. type: item
  17342. #: guix-git/doc/guix.texi:11573
  17343. #, no-wrap
  17344. msgid "--with-graft=@var{package}=@var{replacement}"
  17345. msgstr ""
  17346. #. type: table
  17347. #: guix-git/doc/guix.texi:11579
  17348. msgid "This is similar to @option{--with-input} but with an important difference: instead of rebuilding the whole dependency chain, @var{replacement} is built and then @dfn{grafted} onto the binaries that were initially referring to @var{package}. @xref{Security Updates}, for more information on grafts."
  17349. msgstr ""
  17350. #. type: table
  17351. #: guix-git/doc/guix.texi:11583
  17352. msgid "For example, the command below grafts version 3.5.4 of GnuTLS onto Wget and all its dependencies, replacing references to the version of GnuTLS they currently refer to:"
  17353. msgstr ""
  17354. #. type: example
  17355. #: guix-git/doc/guix.texi:11586
  17356. #, no-wrap
  17357. msgid "guix build --with-graft=gnutls=gnutls@@3.5.4 wget\n"
  17358. msgstr ""
  17359. #. type: table
  17360. #: guix-git/doc/guix.texi:11595
  17361. msgid "This has the advantage of being much faster than rebuilding everything. But there is a caveat: it works if and only if @var{package} and @var{replacement} are strictly compatible---for example, if they provide a library, the application binary interface (ABI) of those libraries must be compatible. If @var{replacement} is somehow incompatible with @var{package}, then the resulting package may be unusable. Use with care!"
  17362. msgstr ""
  17363. #. type: cindex
  17364. #: guix-git/doc/guix.texi:11596 guix-git/doc/guix.texi:38565
  17365. #, no-wrap
  17366. msgid "debugging info, rebuilding"
  17367. msgstr ""
  17368. #. type: item
  17369. #: guix-git/doc/guix.texi:11597
  17370. #, no-wrap
  17371. msgid "--with-debug-info=@var{package}"
  17372. msgstr ""
  17373. #. type: table
  17374. #: guix-git/doc/guix.texi:11602
  17375. msgid "Build @var{package} in a way that preserves its debugging info and graft it onto packages that depend on it. This is useful if @var{package} does not already provide debugging info as a @code{debug} output (@pxref{Installing Debugging Files})."
  17376. msgstr ""
  17377. #. type: table
  17378. #: guix-git/doc/guix.texi:11608
  17379. msgid "For example, suppose you're experiencing a crash in Inkscape and would like to see what's up in GLib, a library deep down in Inkscape's dependency graph. GLib lacks a @code{debug} output, so debugging is tough. Fortunately, you rebuild GLib with debugging info and tack it on Inkscape:"
  17380. msgstr ""
  17381. #. type: example
  17382. #: guix-git/doc/guix.texi:11611 guix-git/doc/guix.texi:38596
  17383. #, no-wrap
  17384. msgid "guix install inkscape --with-debug-info=glib\n"
  17385. msgstr ""
  17386. #. type: table
  17387. #: guix-git/doc/guix.texi:11615
  17388. msgid "Only GLib needs to be recompiled so this takes a reasonable amount of time. @xref{Installing Debugging Files}, for more info."
  17389. msgstr ""
  17390. #. type: quotation
  17391. #: guix-git/doc/guix.texi:11621
  17392. msgid "Under the hood, this option works by passing the @samp{#:strip-binaries? #f} to the build system of the package of interest (@pxref{Build Systems}). Most build systems support that option but some do not. In that case, an error is raised."
  17393. msgstr ""
  17394. #. type: quotation
  17395. #: guix-git/doc/guix.texi:11625
  17396. msgid "Likewise, if a C/C++ package is built without @code{-g} (which is rarely the case), debugging info will remain unavailable even when @code{#:strip-binaries?} is false."
  17397. msgstr ""
  17398. #. type: cindex
  17399. #: guix-git/doc/guix.texi:11627
  17400. #, no-wrap
  17401. msgid "tool chain, changing the build tool chain of a package"
  17402. msgstr ""
  17403. #. type: item
  17404. #: guix-git/doc/guix.texi:11628
  17405. #, no-wrap
  17406. msgid "--with-c-toolchain=@var{package}=@var{toolchain}"
  17407. msgstr ""
  17408. #. type: table
  17409. #: guix-git/doc/guix.texi:11632
  17410. msgid "This option changes the compilation of @var{package} and everything that depends on it so that they get built with @var{toolchain} instead of the default GNU tool chain for C/C++."
  17411. msgstr ""
  17412. #. type: example
  17413. #: guix-git/doc/guix.texi:11639
  17414. #, no-wrap
  17415. msgid ""
  17416. "guix build octave-cli \\\n"
  17417. " --with-c-toolchain=fftw=gcc-toolchain@@10 \\\n"
  17418. " --with-c-toolchain=fftwf=gcc-toolchain@@10\n"
  17419. msgstr ""
  17420. #. type: table
  17421. #: guix-git/doc/guix.texi:11646
  17422. msgid "The command above builds a variant of the @code{fftw} and @code{fftwf} packages using version 10 of @code{gcc-toolchain} instead of the default tool chain, and then builds a variant of the GNU@tie{}Octave command-line interface using them. GNU@tie{}Octave itself is also built with @code{gcc-toolchain@@10}."
  17423. msgstr ""
  17424. #. type: table
  17425. #: guix-git/doc/guix.texi:11650
  17426. msgid "This other example builds the Hardware Locality (@code{hwloc}) library and its dependents up to @code{intel-mpi-benchmarks} with the Clang C compiler:"
  17427. msgstr ""
  17428. #. type: example
  17429. #: guix-git/doc/guix.texi:11654
  17430. #, no-wrap
  17431. msgid ""
  17432. "guix build --with-c-toolchain=hwloc=clang-toolchain \\\n"
  17433. " intel-mpi-benchmarks\n"
  17434. msgstr ""
  17435. #. type: quotation
  17436. #: guix-git/doc/guix.texi:11663
  17437. msgid "There can be application binary interface (ABI) incompatibilities among tool chains. This is particularly true of the C++ standard library and run-time support libraries such as that of OpenMP@. By rebuilding all dependents with the same tool chain, @option{--with-c-toolchain} minimizes the risks of incompatibility but cannot entirely eliminate them. Choose @var{package} wisely."
  17438. msgstr ""
  17439. #. type: item
  17440. #: guix-git/doc/guix.texi:11665
  17441. #, no-wrap
  17442. msgid "--with-git-url=@var{package}=@var{url}"
  17443. msgstr ""
  17444. #. type: cindex
  17445. #: guix-git/doc/guix.texi:11666
  17446. #, no-wrap
  17447. msgid "Git, using the latest commit"
  17448. msgstr ""
  17449. #. type: cindex
  17450. #: guix-git/doc/guix.texi:11667
  17451. #, no-wrap
  17452. msgid "latest commit, building"
  17453. msgstr ""
  17454. #. type: table
  17455. #: guix-git/doc/guix.texi:11671
  17456. msgid "Build @var{package} from the latest commit of the @code{master} branch of the Git repository at @var{url}. Git sub-modules of the repository are fetched, recursively."
  17457. msgstr ""
  17458. #. type: table
  17459. #: guix-git/doc/guix.texi:11674
  17460. msgid "For example, the following command builds the NumPy Python library against the latest commit of the master branch of Python itself:"
  17461. msgstr ""
  17462. #. type: example
  17463. #: guix-git/doc/guix.texi:11678
  17464. #, no-wrap
  17465. msgid ""
  17466. "guix build python-numpy \\\n"
  17467. " --with-git-url=python=https://github.com/python/cpython\n"
  17468. msgstr ""
  17469. #. type: table
  17470. #: guix-git/doc/guix.texi:11682
  17471. msgid "This option can also be combined with @option{--with-branch} or @option{--with-commit} (see below)."
  17472. msgstr ""
  17473. #. type: cindex
  17474. #: guix-git/doc/guix.texi:11683 guix-git/doc/guix.texi:29390
  17475. #, no-wrap
  17476. msgid "continuous integration"
  17477. msgstr ""
  17478. #. type: table
  17479. #: guix-git/doc/guix.texi:11689
  17480. msgid "Obviously, since it uses the latest commit of the given branch, the result of such a command varies over time. Nevertheless it is a convenient way to rebuild entire software stacks against the latest commit of one or more packages. This is particularly useful in the context of continuous integration (CI)."
  17481. msgstr ""
  17482. #. type: table
  17483. #: guix-git/doc/guix.texi:11693
  17484. msgid "Checkouts are kept in a cache under @file{~/.cache/guix/checkouts} to speed up consecutive accesses to the same repository. You may want to clean it up once in a while to save disk space."
  17485. msgstr ""
  17486. #. type: item
  17487. #: guix-git/doc/guix.texi:11694
  17488. #, no-wrap
  17489. msgid "--with-branch=@var{package}=@var{branch}"
  17490. msgstr ""
  17491. #. type: table
  17492. #: guix-git/doc/guix.texi:11700
  17493. msgid "Build @var{package} from the latest commit of @var{branch}. If the @code{source} field of @var{package} is an origin with the @code{git-fetch} method (@pxref{origin Reference}) or a @code{git-checkout} object, the repository URL is taken from that @code{source}. Otherwise you have to use @option{--with-git-url} to specify the URL of the Git repository."
  17494. msgstr ""
  17495. #. type: table
  17496. #: guix-git/doc/guix.texi:11705
  17497. msgid "For instance, the following command builds @code{guile-sqlite3} from the latest commit of its @code{master} branch, and then builds @code{guix} (which depends on it) and @code{cuirass} (which depends on @code{guix}) against this specific @code{guile-sqlite3} build:"
  17498. msgstr ""
  17499. #. type: example
  17500. #: guix-git/doc/guix.texi:11708
  17501. #, no-wrap
  17502. msgid "guix build --with-branch=guile-sqlite3=master cuirass\n"
  17503. msgstr ""
  17504. #. type: item
  17505. #: guix-git/doc/guix.texi:11710
  17506. #, no-wrap
  17507. msgid "--with-commit=@var{package}=@var{commit}"
  17508. msgstr ""
  17509. #. type: table
  17510. #: guix-git/doc/guix.texi:11715
  17511. msgid "This is similar to @option{--with-branch}, except that it builds from @var{commit} rather than the tip of a branch. @var{commit} must be a valid Git commit SHA1 identifier, a tag, or a @command{git describe} style identifier such as @code{1.0-3-gabc123}."
  17512. msgstr ""
  17513. #. type: item
  17514. #: guix-git/doc/guix.texi:11716
  17515. #, no-wrap
  17516. msgid "--with-patch=@var{package}=@var{file}"
  17517. msgstr ""
  17518. #. type: table
  17519. #: guix-git/doc/guix.texi:11723
  17520. msgid "Add @var{file} to the list of patches applied to @var{package}, where @var{package} is a spec such as @code{python@@3.8} or @code{glibc}. @var{file} must contain a patch; it is applied with the flags specified in the @code{origin} of @var{package} (@pxref{origin Reference}), which by default includes @code{-p1} (@pxref{patch Directories,,, diffutils, Comparing and Merging Files})."
  17521. msgstr ""
  17522. #. type: table
  17523. #: guix-git/doc/guix.texi:11726
  17524. msgid "As an example, the command below rebuilds Coreutils with the GNU C Library (glibc) patched with the given patch:"
  17525. msgstr ""
  17526. #. type: example
  17527. #: guix-git/doc/guix.texi:11729
  17528. #, no-wrap
  17529. msgid "guix build coreutils --with-patch=glibc=./glibc-frob.patch\n"
  17530. msgstr ""
  17531. #. type: table
  17532. #: guix-git/doc/guix.texi:11733
  17533. msgid "In this example, glibc itself as well as everything that leads to Coreutils in the dependency graph is rebuilt."
  17534. msgstr ""
  17535. #. type: cindex
  17536. #: guix-git/doc/guix.texi:11734
  17537. #, no-wrap
  17538. msgid "upstream, latest version"
  17539. msgstr ""
  17540. #. type: item
  17541. #: guix-git/doc/guix.texi:11735
  17542. #, no-wrap
  17543. msgid "--with-latest=@var{package}"
  17544. msgstr ""
  17545. #. type: table
  17546. #: guix-git/doc/guix.texi:11740
  17547. msgid "So you like living on the bleeding edge? This option is for you! It replaces occurrences of @var{package} in the dependency graph with its latest upstream version, as reported by @command{guix refresh} (@pxref{Invoking guix refresh})."
  17548. msgstr ""
  17549. #. type: table
  17550. #: guix-git/doc/guix.texi:11744
  17551. msgid "It does so by determining the latest upstream release of @var{package} (if possible), downloading it, and authenticating it @emph{if} it comes with an OpenPGP signature."
  17552. msgstr ""
  17553. #. type: table
  17554. #: guix-git/doc/guix.texi:11747
  17555. msgid "As an example, the command below builds Guix against the latest version of Guile-JSON:"
  17556. msgstr ""
  17557. #. type: example
  17558. #: guix-git/doc/guix.texi:11750
  17559. #, no-wrap
  17560. msgid "guix build guix --with-latest=guile-json\n"
  17561. msgstr ""
  17562. #. type: table
  17563. #: guix-git/doc/guix.texi:11759
  17564. msgid "There are limitations. First, in cases where the tool cannot or does not know how to authenticate source code, you are at risk of running malicious code; a warning is emitted in this case. Second, this option simply changes the source used in the existing package definitions, which is not always sufficient: there might be additional dependencies that need to be added, patches to apply, and more generally the quality assurance work that Guix developers normally do will be missing."
  17565. msgstr ""
  17566. #. type: table
  17567. #: guix-git/doc/guix.texi:11764
  17568. msgid "You've been warned! In all the other cases, it's a snappy way to stay on top. We encourage you to submit patches updating the actual package definitions once you have successfully tested an upgrade (@pxref{Contributing})."
  17569. msgstr ""
  17570. #. type: cindex
  17571. #: guix-git/doc/guix.texi:11765
  17572. #, no-wrap
  17573. msgid "test suite, skipping"
  17574. msgstr ""
  17575. #. type: item
  17576. #: guix-git/doc/guix.texi:11766
  17577. #, no-wrap
  17578. msgid "--without-tests=@var{package}"
  17579. msgstr ""
  17580. #. type: table
  17581. #: guix-git/doc/guix.texi:11772
  17582. msgid "Build @var{package} without running its tests. This can be useful in situations where you want to skip the lengthy test suite of a intermediate package, or if a package's test suite fails in a non-deterministic fashion. It should be used with care because running the test suite is a good way to ensure a package is working as intended."
  17583. msgstr ""
  17584. #. type: table
  17585. #: guix-git/doc/guix.texi:11776
  17586. msgid "Turning off tests leads to a different store item. Consequently, when using this option, anything that depends on @var{package} must be rebuilt, as in this example:"
  17587. msgstr ""
  17588. #. type: example
  17589. #: guix-git/doc/guix.texi:11779
  17590. #, no-wrap
  17591. msgid "guix install --without-tests=python python-notebook\n"
  17592. msgstr ""
  17593. #. type: table
  17594. #: guix-git/doc/guix.texi:11785
  17595. msgid "The command above installs @code{python-notebook} on top of @code{python} built without running its test suite. To do so, it also rebuilds everything that depends on @code{python}, including @code{python-notebook} itself."
  17596. msgstr ""
  17597. #. type: table
  17598. #: guix-git/doc/guix.texi:11791
  17599. msgid "Internally, @option{--without-tests} relies on changing the @code{#:tests?} option of a package's @code{check} phase (@pxref{Build Systems}). Note that some packages use a customized @code{check} phase that does not respect a @code{#:tests? #f} setting. Therefore, @option{--without-tests} has no effect on these packages."
  17600. msgstr ""
  17601. #. type: Plain text
  17602. #: guix-git/doc/guix.texi:11798
  17603. msgid "Wondering how to achieve the same effect using Scheme code, for example in your manifest, or how to write your own package transformation? @xref{Defining Package Variants}, for an overview of the programming interfaces available."
  17604. msgstr ""
  17605. #. type: Plain text
  17606. #: guix-git/doc/guix.texi:11804
  17607. msgid "The command-line options presented below are specific to @command{guix build}."
  17608. msgstr ""
  17609. #. type: item
  17610. #: guix-git/doc/guix.texi:11807
  17611. #, no-wrap
  17612. msgid "--quiet"
  17613. msgstr ""
  17614. #. type: table
  17615. #: guix-git/doc/guix.texi:11812
  17616. msgid "Build quietly, without displaying the build log; this is equivalent to @option{--verbosity=0}. Upon completion, the build log is kept in @file{/var} (or similar) and can always be retrieved using the @option{--log-file} option."
  17617. msgstr ""
  17618. #. type: table
  17619. #: guix-git/doc/guix.texi:11817
  17620. msgid "Build the package, derivation, or other file-like object that the code within @var{file} evaluates to (@pxref{G-Expressions, file-like objects})."
  17621. msgstr ""
  17622. #. type: table
  17623. #: guix-git/doc/guix.texi:11820
  17624. msgid "As an example, @var{file} might contain a package definition like this (@pxref{Defining Packages}):"
  17625. msgstr ""
  17626. #. type: table
  17627. #: guix-git/doc/guix.texi:11829
  17628. msgid "The @var{file} may also contain a JSON representation of one or more package definitions. Running @code{guix build -f} on @file{hello.json} with the following contents would result in building the packages @code{myhello} and @code{greeter}:"
  17629. msgstr ""
  17630. #. type: item
  17631. #: guix-git/doc/guix.texi:11834
  17632. #, no-wrap
  17633. msgid "--manifest=@var{manifest}"
  17634. msgstr ""
  17635. #. type: itemx
  17636. #: guix-git/doc/guix.texi:11835
  17637. #, no-wrap
  17638. msgid "-m @var{manifest}"
  17639. msgstr ""
  17640. #. type: table
  17641. #: guix-git/doc/guix.texi:11838
  17642. msgid "Build all packages listed in the given @var{manifest} (@pxref{profile-manifest, @option{--manifest}})."
  17643. msgstr ""
  17644. #. type: table
  17645. #: guix-git/doc/guix.texi:11842
  17646. msgid "Build the package or derivation @var{expr} evaluates to."
  17647. msgstr ""
  17648. #. type: table
  17649. #: guix-git/doc/guix.texi:11846
  17650. msgid "For example, @var{expr} may be @code{(@@ (gnu packages guile) guile-1.8)}, which unambiguously designates this specific variant of version 1.8 of Guile."
  17651. msgstr ""
  17652. #. type: table
  17653. #: guix-git/doc/guix.texi:11850
  17654. msgid "Alternatively, @var{expr} may be a G-expression, in which case it is used as a build program passed to @code{gexp->derivation} (@pxref{G-Expressions})."
  17655. msgstr ""
  17656. #. type: table
  17657. #: guix-git/doc/guix.texi:11854
  17658. msgid "Lastly, @var{expr} may refer to a zero-argument monadic procedure (@pxref{The Store Monad}). The procedure must return a derivation as a monadic value, which is then passed through @code{run-with-store}."
  17659. msgstr ""
  17660. #. type: item
  17661. #: guix-git/doc/guix.texi:11855
  17662. #, no-wrap
  17663. msgid "--source"
  17664. msgstr ""
  17665. #. type: itemx
  17666. #: guix-git/doc/guix.texi:11856
  17667. #, no-wrap
  17668. msgid "-S"
  17669. msgstr ""
  17670. #. type: table
  17671. #: guix-git/doc/guix.texi:11859
  17672. msgid "Build the source derivations of the packages, rather than the packages themselves."
  17673. msgstr ""
  17674. #. type: table
  17675. #: guix-git/doc/guix.texi:11863
  17676. msgid "For instance, @code{guix build -S gcc} returns something like @file{/gnu/store/@dots{}-gcc-4.7.2.tar.bz2}, which is the GCC source tarball."
  17677. msgstr ""
  17678. #. type: table
  17679. #: guix-git/doc/guix.texi:11867
  17680. msgid "The returned source tarball is the result of applying any patches and code snippets specified in the package @code{origin} (@pxref{Defining Packages})."
  17681. msgstr ""
  17682. #. type: cindex
  17683. #: guix-git/doc/guix.texi:11868
  17684. #, no-wrap
  17685. msgid "source, verification"
  17686. msgstr ""
  17687. #. type: table
  17688. #: guix-git/doc/guix.texi:11874
  17689. msgid "As with other derivations, the result of building a source derivation can be verified using the @option{--check} option (@pxref{build-check}). This is useful to validate that a (potentially already built or substituted, thus cached) package source matches against its declared hash."
  17690. msgstr ""
  17691. #. type: table
  17692. #: guix-git/doc/guix.texi:11879
  17693. msgid "Note that @command{guix build -S} compiles the sources only of the specified packages. They do not include the sources of statically linked dependencies and by themselves are insufficient for reproducing the packages."
  17694. msgstr ""
  17695. #. type: item
  17696. #: guix-git/doc/guix.texi:11880
  17697. #, no-wrap
  17698. msgid "--sources"
  17699. msgstr ""
  17700. #. type: table
  17701. #: guix-git/doc/guix.texi:11887
  17702. msgid "Fetch and return the source of @var{package-or-derivation} and all their dependencies, recursively. This is a handy way to obtain a local copy of all the source code needed to build @var{packages}, allowing you to eventually build them even without network access. It is an extension of the @option{--source} option and can accept one of the following optional argument values:"
  17703. msgstr ""
  17704. #. type: item
  17705. #: guix-git/doc/guix.texi:11889 guix-git/doc/guix.texi:13713
  17706. #, no-wrap
  17707. msgid "package"
  17708. msgstr "paketti"
  17709. #. type: table
  17710. #: guix-git/doc/guix.texi:11892
  17711. msgid "This value causes the @option{--sources} option to behave in the same way as the @option{--source} option."
  17712. msgstr ""
  17713. #. type: item
  17714. #: guix-git/doc/guix.texi:11893 guix-git/doc/guix.texi:20169
  17715. #, no-wrap
  17716. msgid "all"
  17717. msgstr "kaikki"
  17718. #. type: table
  17719. #: guix-git/doc/guix.texi:11896
  17720. msgid "Build the source derivations of all packages, including any source that might be listed as @code{inputs}. This is the default value."
  17721. msgstr ""
  17722. #. type: example
  17723. #: guix-git/doc/guix.texi:11902
  17724. #, no-wrap
  17725. msgid ""
  17726. "$ guix build --sources tzdata\n"
  17727. "The following derivations will be built:\n"
  17728. " /gnu/store/@dots{}-tzdata2015b.tar.gz.drv\n"
  17729. " /gnu/store/@dots{}-tzcode2015b.tar.gz.drv\n"
  17730. msgstr ""
  17731. #. type: item
  17732. #: guix-git/doc/guix.texi:11904
  17733. #, no-wrap
  17734. msgid "transitive"
  17735. msgstr ""
  17736. #. type: table
  17737. #: guix-git/doc/guix.texi:11908
  17738. msgid "Build the source derivations of all packages, as well of all transitive inputs to the packages. This can be used e.g.@: to prefetch package source for later offline building."
  17739. msgstr ""
  17740. #. type: example
  17741. #: guix-git/doc/guix.texi:11919
  17742. #, no-wrap
  17743. msgid ""
  17744. "$ guix build --sources=transitive tzdata\n"
  17745. "The following derivations will be built:\n"
  17746. " /gnu/store/@dots{}-tzcode2015b.tar.gz.drv\n"
  17747. " /gnu/store/@dots{}-findutils-4.4.2.tar.xz.drv\n"
  17748. " /gnu/store/@dots{}-grep-2.21.tar.xz.drv\n"
  17749. " /gnu/store/@dots{}-coreutils-8.23.tar.xz.drv\n"
  17750. " /gnu/store/@dots{}-make-4.1.tar.xz.drv\n"
  17751. " /gnu/store/@dots{}-bash-4.3.tar.xz.drv\n"
  17752. "@dots{}\n"
  17753. msgstr ""
  17754. #. type: table
  17755. #: guix-git/doc/guix.texi:11929
  17756. msgid "Attempt to build for @var{system}---e.g., @code{i686-linux}---instead of the system type of the build host. The @command{guix build} command allows you to repeat this option several times, in which case it builds for all the specified systems; other commands ignore extraneous @option{-s} options."
  17757. msgstr ""
  17758. #. type: quotation
  17759. #: guix-git/doc/guix.texi:11934
  17760. msgid "The @option{--system} flag is for @emph{native} compilation and must not be confused with cross-compilation. See @option{--target} below for information on cross-compilation."
  17761. msgstr ""
  17762. #. type: table
  17763. #: guix-git/doc/guix.texi:11941
  17764. msgid "An example use of this is on Linux-based systems, which can emulate different personalities. For instance, passing @option{--system=i686-linux} on an @code{x86_64-linux} system or @option{--system=armhf-linux} on an @code{aarch64-linux} system allows you to build packages in a complete 32-bit environment."
  17765. msgstr ""
  17766. #. type: quotation
  17767. #: guix-git/doc/guix.texi:11946
  17768. msgid "Building for an @code{armhf-linux} system is unconditionally enabled on @code{aarch64-linux} machines, although certain aarch64 chipsets do not allow for this functionality, notably the ThunderX."
  17769. msgstr ""
  17770. #. type: table
  17771. #: guix-git/doc/guix.texi:11952
  17772. msgid "Similarly, when transparent emulation with QEMU and @code{binfmt_misc} is enabled (@pxref{Virtualization Services, @code{qemu-binfmt-service-type}}), you can build for any system for which a QEMU @code{binfmt_misc} handler is installed."
  17773. msgstr ""
  17774. #. type: table
  17775. #: guix-git/doc/guix.texi:11956
  17776. msgid "Builds for a system other than that of the machine you are using can also be offloaded to a remote machine of the right architecture. @xref{Daemon Offload Setup}, for more information on offloading."
  17777. msgstr ""
  17778. #. type: table
  17779. #: guix-git/doc/guix.texi:11962
  17780. msgid "Cross-build for @var{triplet}, which must be a valid GNU triplet, such as @code{\"aarch64-linux-gnu\"} (@pxref{Specifying Target Triplets, GNU configuration triplets,, autoconf, Autoconf})."
  17781. msgstr ""
  17782. #. type: anchor{#1}
  17783. #: guix-git/doc/guix.texi:11964
  17784. msgid "build-check"
  17785. msgstr ""
  17786. #. type: cindex
  17787. #: guix-git/doc/guix.texi:11965
  17788. #, no-wrap
  17789. msgid "determinism, checking"
  17790. msgstr ""
  17791. #. type: cindex
  17792. #: guix-git/doc/guix.texi:11966
  17793. #, no-wrap
  17794. msgid "reproducibility, checking"
  17795. msgstr ""
  17796. #. type: table
  17797. #: guix-git/doc/guix.texi:11970
  17798. msgid "Rebuild @var{package-or-derivation}, which are already available in the store, and raise an error if the build results are not bit-for-bit identical."
  17799. msgstr ""
  17800. #. type: table
  17801. #: guix-git/doc/guix.texi:11975
  17802. msgid "This mechanism allows you to check whether previously installed substitutes are genuine (@pxref{Substitutes}), or whether the build result of a package is deterministic. @xref{Invoking guix challenge}, for more background information and tools."
  17803. msgstr ""
  17804. #. type: item
  17805. #: guix-git/doc/guix.texi:11980
  17806. #, no-wrap
  17807. msgid "--repair"
  17808. msgstr ""
  17809. #. type: cindex
  17810. #: guix-git/doc/guix.texi:11981
  17811. #, no-wrap
  17812. msgid "repairing store items"
  17813. msgstr ""
  17814. #. type: table
  17815. #: guix-git/doc/guix.texi:11985
  17816. msgid "Attempt to repair the specified store items, if they are corrupt, by re-downloading or rebuilding them."
  17817. msgstr ""
  17818. #. type: table
  17819. #: guix-git/doc/guix.texi:11987
  17820. msgid "This operation is not atomic and thus restricted to @code{root}."
  17821. msgstr ""
  17822. #. type: item
  17823. #: guix-git/doc/guix.texi:11988
  17824. #, no-wrap
  17825. msgid "--derivations"
  17826. msgstr ""
  17827. #. type: table
  17828. #: guix-git/doc/guix.texi:11992
  17829. msgid "Return the derivation paths, not the output paths, of the given packages."
  17830. msgstr ""
  17831. #. type: cindex
  17832. #: guix-git/doc/guix.texi:11995
  17833. #, no-wrap
  17834. msgid "GC roots, adding"
  17835. msgstr ""
  17836. #. type: cindex
  17837. #: guix-git/doc/guix.texi:11996
  17838. #, no-wrap
  17839. msgid "garbage collector roots, adding"
  17840. msgstr ""
  17841. #. type: table
  17842. #: guix-git/doc/guix.texi:11999 guix-git/doc/guix.texi:35870
  17843. msgid "Make @var{file} a symlink to the result, and register it as a garbage collector root."
  17844. msgstr ""
  17845. #. type: table
  17846. #: guix-git/doc/guix.texi:12005
  17847. msgid "Consequently, the results of this @command{guix build} invocation are protected from garbage collection until @var{file} is removed. When that option is omitted, build results are eligible for garbage collection as soon as the build completes. @xref{Invoking guix gc}, for more on GC roots."
  17848. msgstr ""
  17849. #. type: item
  17850. #: guix-git/doc/guix.texi:12006
  17851. #, no-wrap
  17852. msgid "--log-file"
  17853. msgstr ""
  17854. #. type: cindex
  17855. #: guix-git/doc/guix.texi:12007
  17856. #, no-wrap
  17857. msgid "build logs, access"
  17858. msgstr ""
  17859. #. type: table
  17860. #: guix-git/doc/guix.texi:12011
  17861. msgid "Return the build log file names or URLs for the given @var{package-or-derivation}, or raise an error if build logs are missing."
  17862. msgstr ""
  17863. #. type: table
  17864. #: guix-git/doc/guix.texi:12014
  17865. msgid "This works regardless of how packages or derivations are specified. For instance, the following invocations are equivalent:"
  17866. msgstr ""
  17867. #. type: example
  17868. #: guix-git/doc/guix.texi:12020
  17869. #, no-wrap
  17870. msgid ""
  17871. "guix build --log-file $(guix build -d guile)\n"
  17872. "guix build --log-file $(guix build guile)\n"
  17873. "guix build --log-file guile\n"
  17874. "guix build --log-file -e '(@@ (gnu packages guile) guile-2.0)'\n"
  17875. msgstr ""
  17876. #. type: table
  17877. #: guix-git/doc/guix.texi:12025
  17878. msgid "If a log is unavailable locally, and unless @option{--no-substitutes} is passed, the command looks for a corresponding log on one of the substitute servers (as specified with @option{--substitute-urls})."
  17879. msgstr ""
  17880. #. type: table
  17881. #: guix-git/doc/guix.texi:12028
  17882. msgid "So for instance, imagine you want to see the build log of GDB on MIPS, but you are actually on an @code{x86_64} machine:"
  17883. msgstr ""
  17884. #. type: example
  17885. #: guix-git/doc/guix.texi:12032
  17886. #, no-wrap
  17887. msgid ""
  17888. "$ guix build --log-file gdb -s aarch64-linux\n"
  17889. "https://@value{SUBSTITUTE-SERVER-1}/log/@dots{}-gdb-7.10\n"
  17890. msgstr ""
  17891. #. type: table
  17892. #: guix-git/doc/guix.texi:12035
  17893. msgid "You can freely access a huge library of build logs!"
  17894. msgstr ""
  17895. #. type: cindex
  17896. #: guix-git/doc/guix.texi:12040
  17897. #, no-wrap
  17898. msgid "build failures, debugging"
  17899. msgstr ""
  17900. #. type: Plain text
  17901. #: guix-git/doc/guix.texi:12046
  17902. msgid "When defining a new package (@pxref{Defining Packages}), you will probably find yourself spending some time debugging and tweaking the build until it succeeds. To do that, you need to operate the build commands yourself in an environment as close as possible to the one the build daemon uses."
  17903. msgstr ""
  17904. #. type: Plain text
  17905. #: guix-git/doc/guix.texi:12051
  17906. msgid "To that end, the first thing to do is to use the @option{--keep-failed} or @option{-K} option of @command{guix build}, which will keep the failed build tree in @file{/tmp} or whatever directory you specified as @env{TMPDIR} (@pxref{Common Build Options, @option{--keep-failed}})."
  17907. msgstr ""
  17908. #. type: Plain text
  17909. #: guix-git/doc/guix.texi:12057
  17910. msgid "From there on, you can @command{cd} to the failed build tree and source the @file{environment-variables} file, which contains all the environment variable definitions that were in place when the build failed. So let's say you're debugging a build failure in package @code{foo}; a typical session would look like this:"
  17911. msgstr ""
  17912. #. type: example
  17913. #: guix-git/doc/guix.texi:12064
  17914. #, no-wrap
  17915. msgid ""
  17916. "$ guix build foo -K\n"
  17917. "@dots{} @i{build fails}\n"
  17918. "$ cd /tmp/guix-build-foo.drv-0\n"
  17919. "$ source ./environment-variables\n"
  17920. "$ cd foo-1.2\n"
  17921. msgstr ""
  17922. #. type: Plain text
  17923. #: guix-git/doc/guix.texi:12068
  17924. msgid "Now, you can invoke commands as if you were the daemon (almost) and troubleshoot your build process."
  17925. msgstr ""
  17926. #. type: Plain text
  17927. #: guix-git/doc/guix.texi:12074
  17928. msgid "Sometimes it happens that, for example, a package's tests pass when you run them manually but they fail when the daemon runs them. This can happen because the daemon runs builds in containers where, unlike in our environment above, network access is missing, @file{/bin/sh} does not exist, etc. (@pxref{Build Environment Setup})."
  17929. msgstr ""
  17930. #. type: Plain text
  17931. #: guix-git/doc/guix.texi:12077
  17932. msgid "In such cases, you may need to run inspect the build process from within a container similar to the one the build daemon creates:"
  17933. msgstr ""
  17934. #. type: example
  17935. #: guix-git/doc/guix.texi:12085
  17936. #, no-wrap
  17937. msgid ""
  17938. "$ guix build -K foo\n"
  17939. "@dots{}\n"
  17940. "$ cd /tmp/guix-build-foo.drv-0\n"
  17941. "$ guix shell --no-grafts -C -D foo strace gdb\n"
  17942. "[env]# source ./environment-variables\n"
  17943. "[env]# cd foo-1.2\n"
  17944. msgstr ""
  17945. #. type: Plain text
  17946. #: guix-git/doc/guix.texi:12094
  17947. msgid "Here, @command{guix shell -C} creates a container and spawns a new shell in it (@pxref{Invoking guix shell}). The @command{strace gdb} part adds the @command{strace} and @command{gdb} commands to the container, which you may find handy while debugging. The @option{--no-grafts} option makes sure we get the exact same environment, with ungrafted packages (@pxref{Security Updates}, for more info on grafts)."
  17948. msgstr ""
  17949. #. type: Plain text
  17950. #: guix-git/doc/guix.texi:12097
  17951. msgid "To get closer to a container like that used by the build daemon, we can remove @file{/bin/sh}:"
  17952. msgstr ""
  17953. #. type: example
  17954. #: guix-git/doc/guix.texi:12100
  17955. #, no-wrap
  17956. msgid "[env]# rm /bin/sh\n"
  17957. msgstr ""
  17958. #. type: Plain text
  17959. #: guix-git/doc/guix.texi:12104
  17960. msgid "(Don't worry, this is harmless: this is all happening in the throw-away container created by @command{guix shell}.)"
  17961. msgstr ""
  17962. #. type: Plain text
  17963. #: guix-git/doc/guix.texi:12107
  17964. msgid "The @command{strace} command is probably not in the search path, but we can run:"
  17965. msgstr ""
  17966. #. type: example
  17967. #: guix-git/doc/guix.texi:12110
  17968. #, no-wrap
  17969. msgid "[env]# $GUIX_ENVIRONMENT/bin/strace -f -o log make check\n"
  17970. msgstr ""
  17971. #. type: Plain text
  17972. #: guix-git/doc/guix.texi:12115
  17973. msgid "In this way, not only you will have reproduced the environment variables the daemon uses, you will also be running the build process in a container similar to the one the daemon uses."
  17974. msgstr ""
  17975. #. type: section
  17976. #: guix-git/doc/guix.texi:12118
  17977. #, no-wrap
  17978. msgid "Invoking @command{guix edit}"
  17979. msgstr ""
  17980. #. type: command{#1}
  17981. #: guix-git/doc/guix.texi:12120
  17982. #, no-wrap
  17983. msgid "guix edit"
  17984. msgstr ""
  17985. #. type: cindex
  17986. #: guix-git/doc/guix.texi:12121
  17987. #, no-wrap
  17988. msgid "package definition, editing"
  17989. msgstr ""
  17990. #. type: Plain text
  17991. #: guix-git/doc/guix.texi:12126
  17992. msgid "So many packages, so many source files! The @command{guix edit} command facilitates the life of users and packagers by pointing their editor at the source file containing the definition of the specified packages. For instance:"
  17993. msgstr ""
  17994. #. type: example
  17995. #: guix-git/doc/guix.texi:12129
  17996. #, no-wrap
  17997. msgid "guix edit gcc@@4.9 vim\n"
  17998. msgstr ""
  17999. #. type: Plain text
  18000. #: guix-git/doc/guix.texi:12135
  18001. msgid "launches the program specified in the @env{VISUAL} or in the @env{EDITOR} environment variable to view the recipe of GCC@tie{}4.9.3 and that of Vim."
  18002. msgstr ""
  18003. #. type: Plain text
  18004. #: guix-git/doc/guix.texi:12141
  18005. msgid "If you are using a Guix Git checkout (@pxref{Building from Git}), or have created your own packages on @env{GUIX_PACKAGE_PATH} (@pxref{Package Modules}), you will be able to edit the package recipes. In other cases, you will be able to examine the read-only recipes for packages currently in the store."
  18006. msgstr ""
  18007. #. type: Plain text
  18008. #: guix-git/doc/guix.texi:12146
  18009. msgid "Instead of @env{GUIX_PACKAGE_PATH}, the command-line option @option{--load-path=@var{directory}} (or in short @option{-L @var{directory}}) allows you to add @var{directory} to the front of the package module search path and so make your own packages visible."
  18010. msgstr ""
  18011. #. type: section
  18012. #: guix-git/doc/guix.texi:12148
  18013. #, no-wrap
  18014. msgid "Invoking @command{guix download}"
  18015. msgstr ""
  18016. #. type: command{#1}
  18017. #: guix-git/doc/guix.texi:12150
  18018. #, no-wrap
  18019. msgid "guix download"
  18020. msgstr ""
  18021. #. type: cindex
  18022. #: guix-git/doc/guix.texi:12151
  18023. #, no-wrap
  18024. msgid "downloading package sources"
  18025. msgstr ""
  18026. #. type: Plain text
  18027. #: guix-git/doc/guix.texi:12158
  18028. msgid "When writing a package definition, developers typically need to download a source tarball, compute its SHA256 hash, and write that hash in the package definition (@pxref{Defining Packages}). The @command{guix download} tool helps with this task: it downloads a file from the given URI, adds it to the store, and prints both its file name in the store and its SHA256 hash."
  18029. msgstr ""
  18030. #. type: Plain text
  18031. #: guix-git/doc/guix.texi:12165
  18032. msgid "The fact that the downloaded file is added to the store saves bandwidth: when the developer eventually tries to build the newly defined package with @command{guix build}, the source tarball will not have to be downloaded again because it is already in the store. It is also a convenient way to temporarily stash files, which may be deleted eventually (@pxref{Invoking guix gc})."
  18033. msgstr ""
  18034. #. type: Plain text
  18035. #: guix-git/doc/guix.texi:12173
  18036. msgid "The @command{guix download} command supports the same URIs as used in package definitions. In particular, it supports @code{mirror://} URIs. @code{https} URIs (HTTP over TLS) are supported @emph{provided} the Guile bindings for GnuTLS are available in the user's environment; when they are not available, an error is raised. @xref{Guile Preparations, how to install the GnuTLS bindings for Guile,, gnutls-guile, GnuTLS-Guile}, for more information."
  18037. msgstr ""
  18038. #. type: Plain text
  18039. #: guix-git/doc/guix.texi:12178
  18040. msgid "@command{guix download} verifies HTTPS server certificates by loading the certificates of X.509 authorities from the directory pointed to by the @env{SSL_CERT_DIR} environment variable (@pxref{X.509 Certificates}), unless @option{--no-check-certificate} is used."
  18041. msgstr ""
  18042. #. type: Plain text
  18043. #: guix-git/doc/guix.texi:12180 guix-git/doc/guix.texi:14026
  18044. msgid "The following options are available:"
  18045. msgstr ""
  18046. #. type: item
  18047. #: guix-git/doc/guix.texi:12182 guix-git/doc/guix.texi:12226
  18048. #, no-wrap
  18049. msgid "--hash=@var{algorithm}"
  18050. msgstr ""
  18051. #. type: itemx
  18052. #: guix-git/doc/guix.texi:12183 guix-git/doc/guix.texi:12227
  18053. #, no-wrap
  18054. msgid "-H @var{algorithm}"
  18055. msgstr ""
  18056. #. type: table
  18057. #: guix-git/doc/guix.texi:12186
  18058. msgid "Compute a hash using the specified @var{algorithm}. @xref{Invoking guix hash}, for more information."
  18059. msgstr ""
  18060. #. type: item
  18061. #: guix-git/doc/guix.texi:12187 guix-git/doc/guix.texi:12236
  18062. #, no-wrap
  18063. msgid "--format=@var{fmt}"
  18064. msgstr ""
  18065. #. type: itemx
  18066. #: guix-git/doc/guix.texi:12188 guix-git/doc/guix.texi:12237
  18067. #, no-wrap
  18068. msgid "-f @var{fmt}"
  18069. msgstr ""
  18070. #. type: table
  18071. #: guix-git/doc/guix.texi:12191
  18072. msgid "Write the hash in the format specified by @var{fmt}. For more information on the valid values for @var{fmt}, @pxref{Invoking guix hash}."
  18073. msgstr ""
  18074. #. type: item
  18075. #: guix-git/doc/guix.texi:12192
  18076. #, no-wrap
  18077. msgid "--no-check-certificate"
  18078. msgstr ""
  18079. #. type: table
  18080. #: guix-git/doc/guix.texi:12194
  18081. msgid "Do not validate the X.509 certificates of HTTPS servers."
  18082. msgstr ""
  18083. #. type: table
  18084. #: guix-git/doc/guix.texi:12198
  18085. msgid "When using this option, you have @emph{absolutely no guarantee} that you are communicating with the authentic server responsible for the given URL, which makes you vulnerable to ``man-in-the-middle'' attacks."
  18086. msgstr ""
  18087. #. type: item
  18088. #: guix-git/doc/guix.texi:12199
  18089. #, no-wrap
  18090. msgid "--output=@var{file}"
  18091. msgstr ""
  18092. #. type: itemx
  18093. #: guix-git/doc/guix.texi:12200
  18094. #, no-wrap
  18095. msgid "-o @var{file}"
  18096. msgstr ""
  18097. #. type: table
  18098. #: guix-git/doc/guix.texi:12203
  18099. msgid "Save the downloaded file to @var{file} instead of adding it to the store."
  18100. msgstr ""
  18101. #. type: section
  18102. #: guix-git/doc/guix.texi:12206
  18103. #, no-wrap
  18104. msgid "Invoking @command{guix hash}"
  18105. msgstr ""
  18106. #. type: command{#1}
  18107. #: guix-git/doc/guix.texi:12208
  18108. #, no-wrap
  18109. msgid "guix hash"
  18110. msgstr ""
  18111. #. type: Plain text
  18112. #: guix-git/doc/guix.texi:12213
  18113. msgid "The @command{guix hash} command computes the hash of a file. It is primarily a convenience tool for anyone contributing to the distribution: it computes the cryptographic hash of one or more files, which can be used in the definition of a package (@pxref{Defining Packages})."
  18114. msgstr ""
  18115. #. type: example
  18116. #: guix-git/doc/guix.texi:12218
  18117. #, no-wrap
  18118. msgid "guix hash @var{option} @var{file} ...\n"
  18119. msgstr ""
  18120. #. type: Plain text
  18121. #: guix-git/doc/guix.texi:12223
  18122. msgid "When @var{file} is @code{-} (a hyphen), @command{guix hash} computes the hash of data read from standard input. @command{guix hash} has the following options:"
  18123. msgstr ""
  18124. #. type: table
  18125. #: guix-git/doc/guix.texi:12230
  18126. msgid "Compute a hash using the specified @var{algorithm}, @code{sha256} by default."
  18127. msgstr ""
  18128. #. type: table
  18129. #: guix-git/doc/guix.texi:12235
  18130. msgid "@var{algorithm} must be the name of a cryptographic hash algorithm supported by Libgcrypt @i{via} Guile-Gcrypt---e.g., @code{sha512} or @code{sha3-256} (@pxref{Hash Functions,,, guile-gcrypt, Guile-Gcrypt Reference Manual})."
  18131. msgstr ""
  18132. #. type: table
  18133. #: guix-git/doc/guix.texi:12239
  18134. msgid "Write the hash in the format specified by @var{fmt}."
  18135. msgstr ""
  18136. #. type: table
  18137. #: guix-git/doc/guix.texi:12242
  18138. msgid "Supported formats: @code{base64}, @code{nix-base32}, @code{base32}, @code{base16} (@code{hex} and @code{hexadecimal} can be used as well)."
  18139. msgstr ""
  18140. #. type: table
  18141. #: guix-git/doc/guix.texi:12246
  18142. msgid "If the @option{--format} option is not specified, @command{guix hash} will output the hash in @code{nix-base32}. This representation is used in the definitions of packages."
  18143. msgstr ""
  18144. #. type: table
  18145. #: guix-git/doc/guix.texi:12252
  18146. msgid "The @option{--recursive} option is deprecated in favor of @option{--serializer=nar} (see below); @option{-r} remains accepted as a convenient shorthand."
  18147. msgstr ""
  18148. #. type: item
  18149. #: guix-git/doc/guix.texi:12253
  18150. #, no-wrap
  18151. msgid "--serializer=@var{type}"
  18152. msgstr ""
  18153. #. type: itemx
  18154. #: guix-git/doc/guix.texi:12254
  18155. #, no-wrap
  18156. msgid "-S @var{type}"
  18157. msgstr ""
  18158. #. type: table
  18159. #: guix-git/doc/guix.texi:12256
  18160. msgid "Compute the hash on @var{file} using @var{type} serialization."
  18161. msgstr ""
  18162. #. type: table
  18163. #: guix-git/doc/guix.texi:12258
  18164. msgid "@var{type} may be one of the following:"
  18165. msgstr ""
  18166. #. type: item
  18167. #: guix-git/doc/guix.texi:12260 guix-git/doc/guix.texi:14379
  18168. #: guix-git/doc/guix.texi:17892 guix-git/doc/guix.texi:20166
  18169. #, no-wrap
  18170. msgid "none"
  18171. msgstr "ei mitään"
  18172. #. type: table
  18173. #: guix-git/doc/guix.texi:12262
  18174. msgid "This is the default: it computes the hash of a file's contents."
  18175. msgstr ""
  18176. #. type: item
  18177. #: guix-git/doc/guix.texi:12263
  18178. #, no-wrap
  18179. msgid "nar"
  18180. msgstr ""
  18181. #. type: table
  18182. #: guix-git/doc/guix.texi:12273
  18183. msgid "Compute the hash of a ``normalized archive'' (or ``nar'') containing @var{file}, including its children if it is a directory. Some of the metadata of @var{file} is part of the archive; for instance, when @var{file} is a regular file, the hash is different depending on whether @var{file} is executable or not. Metadata such as time stamps have no impact on the hash (@pxref{Invoking guix archive}, for more info on the nar format)."
  18184. msgstr ""
  18185. #. type: item
  18186. #: guix-git/doc/guix.texi:12274
  18187. #, no-wrap
  18188. msgid "git"
  18189. msgstr ""
  18190. #. type: table
  18191. #: guix-git/doc/guix.texi:12277
  18192. msgid "Compute the hash of the file or directory as a Git ``tree'', following the same method as the Git version control system."
  18193. msgstr ""
  18194. #. type: item
  18195. #: guix-git/doc/guix.texi:12279
  18196. #, no-wrap
  18197. msgid "--exclude-vcs"
  18198. msgstr ""
  18199. #. type: itemx
  18200. #: guix-git/doc/guix.texi:12280 guix-git/doc/guix.texi:13499
  18201. #, no-wrap
  18202. msgid "-x"
  18203. msgstr ""
  18204. #. type: table
  18205. #: guix-git/doc/guix.texi:12283
  18206. msgid "When combined with @option{--recursive}, exclude version control system directories (@file{.bzr}, @file{.git}, @file{.hg}, etc.)."
  18207. msgstr ""
  18208. #. type: vindex
  18209. #: guix-git/doc/guix.texi:12284
  18210. #, no-wrap
  18211. msgid "git-fetch"
  18212. msgstr ""
  18213. #. type: table
  18214. #: guix-git/doc/guix.texi:12288
  18215. msgid "As an example, here is how you would compute the hash of a Git checkout, which is useful when using the @code{git-fetch} method (@pxref{origin Reference}):"
  18216. msgstr ""
  18217. #. type: example
  18218. #: guix-git/doc/guix.texi:12293
  18219. #, no-wrap
  18220. msgid ""
  18221. "$ git clone http://example.org/foo.git\n"
  18222. "$ cd foo\n"
  18223. "$ guix hash -x --serializer=nar .\n"
  18224. msgstr ""
  18225. #. type: cindex
  18226. #: guix-git/doc/guix.texi:12297 guix-git/doc/guix.texi:12302
  18227. #, no-wrap
  18228. msgid "Invoking @command{guix import}"
  18229. msgstr ""
  18230. #. type: cindex
  18231. #: guix-git/doc/guix.texi:12299
  18232. #, no-wrap
  18233. msgid "importing packages"
  18234. msgstr ""
  18235. #. type: cindex
  18236. #: guix-git/doc/guix.texi:12300
  18237. #, no-wrap
  18238. msgid "package import"
  18239. msgstr ""
  18240. #. type: cindex
  18241. #: guix-git/doc/guix.texi:12301
  18242. #, no-wrap
  18243. msgid "package conversion"
  18244. msgstr ""
  18245. #. type: Plain text
  18246. #: guix-git/doc/guix.texi:12309
  18247. msgid "The @command{guix import} command is useful for people who would like to add a package to the distribution with as little work as possible---a legitimate demand. The command knows of a few repositories from which it can ``import'' package metadata. The result is a package definition, or a template thereof, in the format we know (@pxref{Defining Packages})."
  18248. msgstr ""
  18249. #. type: example
  18250. #: guix-git/doc/guix.texi:12314
  18251. #, no-wrap
  18252. msgid "guix import @var{importer} @var{options}@dots{}\n"
  18253. msgstr ""
  18254. #. type: Plain text
  18255. #: guix-git/doc/guix.texi:12319
  18256. msgid "@var{importer} specifies the source from which to import package metadata, and @var{options} specifies a package identifier and other options specific to @var{importer}."
  18257. msgstr ""
  18258. #. type: Plain text
  18259. #: guix-git/doc/guix.texi:12323
  18260. msgid "Some of the importers rely on the ability to run the @command{gpgv} command. For these, GnuPG must be installed and in @code{$PATH}; run @code{guix install gnupg} if needed."
  18261. msgstr ""
  18262. #. type: Plain text
  18263. #: guix-git/doc/guix.texi:12325
  18264. msgid "Currently, the available ``importers'' are:"
  18265. msgstr ""
  18266. #. type: item
  18267. #: guix-git/doc/guix.texi:12327 guix-git/doc/guix.texi:12965
  18268. #, no-wrap
  18269. msgid "gnu"
  18270. msgstr ""
  18271. #. type: table
  18272. #: guix-git/doc/guix.texi:12331
  18273. msgid "Import metadata for the given GNU package. This provides a template for the latest version of that GNU package, including the hash of its source tarball, and its canonical synopsis and description."
  18274. msgstr ""
  18275. #. type: table
  18276. #: guix-git/doc/guix.texi:12334
  18277. msgid "Additional information such as the package dependencies and its license needs to be figured out manually."
  18278. msgstr ""
  18279. #. type: table
  18280. #: guix-git/doc/guix.texi:12337
  18281. msgid "For example, the following command returns a package definition for GNU@tie{}Hello:"
  18282. msgstr ""
  18283. #. type: example
  18284. #: guix-git/doc/guix.texi:12340
  18285. #, no-wrap
  18286. msgid "guix import gnu hello\n"
  18287. msgstr ""
  18288. #. type: table
  18289. #: guix-git/doc/guix.texi:12343 guix-git/doc/guix.texi:12584
  18290. #: guix-git/doc/guix.texi:12634 guix-git/doc/guix.texi:12663
  18291. msgid "Specific command-line options are:"
  18292. msgstr ""
  18293. #. type: item
  18294. #: guix-git/doc/guix.texi:12345 guix-git/doc/guix.texi:13162
  18295. #, no-wrap
  18296. msgid "--key-download=@var{policy}"
  18297. msgstr ""
  18298. #. type: table
  18299. #: guix-git/doc/guix.texi:12349
  18300. msgid "As for @command{guix refresh}, specify the policy to handle missing OpenPGP keys when verifying the package signature. @xref{Invoking guix refresh, @option{--key-download}}."
  18301. msgstr ""
  18302. #. type: item
  18303. #: guix-git/doc/guix.texi:12351 guix-git/doc/guix.texi:12352
  18304. #: guix-git/doc/guix.texi:12989
  18305. #, no-wrap
  18306. msgid "pypi"
  18307. msgstr ""
  18308. #. type: table
  18309. #: guix-git/doc/guix.texi:12359
  18310. msgid "Import metadata from the @uref{https://pypi.python.org/, Python Package Index}. Information is taken from the JSON-formatted description available at @code{pypi.python.org} and usually includes all the relevant information, including package dependencies. For maximum efficiency, it is recommended to install the @command{unzip} utility, so that the importer can unzip Python wheels and gather data from them."
  18311. msgstr ""
  18312. #. type: table
  18313. #: guix-git/doc/guix.texi:12362
  18314. msgid "The command below imports metadata for the latest version of the @code{itsdangerous} Python package:"
  18315. msgstr ""
  18316. #. type: example
  18317. #: guix-git/doc/guix.texi:12365
  18318. #, no-wrap
  18319. msgid "guix import pypi itsdangerous\n"
  18320. msgstr ""
  18321. #. type: table
  18322. #: guix-git/doc/guix.texi:12368 guix-git/doc/guix.texi:12471
  18323. #: guix-git/doc/guix.texi:12812
  18324. msgid "You can also ask for a specific version:"
  18325. msgstr ""
  18326. #. type: example
  18327. #: guix-git/doc/guix.texi:12371
  18328. #, no-wrap
  18329. msgid "guix import pypi itsdangerous@@1.1.0\n"
  18330. msgstr ""
  18331. #. type: table
  18332. #: guix-git/doc/guix.texi:12379 guix-git/doc/guix.texi:12404
  18333. #: guix-git/doc/guix.texi:12436 guix-git/doc/guix.texi:12607
  18334. #: guix-git/doc/guix.texi:12648 guix-git/doc/guix.texi:12699
  18335. #: guix-git/doc/guix.texi:12724 guix-git/doc/guix.texi:12740
  18336. #: guix-git/doc/guix.texi:12788 guix-git/doc/guix.texi:12824
  18337. msgid "Traverse the dependency graph of the given upstream package recursively and generate package expressions for all those packages that are not yet in Guix."
  18338. msgstr ""
  18339. #. type: item
  18340. #: guix-git/doc/guix.texi:12381 guix-git/doc/guix.texi:12382
  18341. #: guix-git/doc/guix.texi:12991
  18342. #, no-wrap
  18343. msgid "gem"
  18344. msgstr ""
  18345. #. type: table
  18346. #: guix-git/doc/guix.texi:12391
  18347. msgid "Import metadata from @uref{https://rubygems.org/, RubyGems}. Information is taken from the JSON-formatted description available at @code{rubygems.org} and includes most relevant information, including runtime dependencies. There are some caveats, however. The metadata doesn't distinguish between synopses and descriptions, so the same string is used for both fields. Additionally, the details of non-Ruby dependencies required to build native extensions is unavailable and left as an exercise to the packager."
  18348. msgstr ""
  18349. #. type: table
  18350. #: guix-git/doc/guix.texi:12393
  18351. msgid "The command below imports metadata for the @code{rails} Ruby package:"
  18352. msgstr ""
  18353. #. type: example
  18354. #: guix-git/doc/guix.texi:12396
  18355. #, no-wrap
  18356. msgid "guix import gem rails\n"
  18357. msgstr ""
  18358. #. type: cindex
  18359. #: guix-git/doc/guix.texi:12406 guix-git/doc/guix.texi:12407
  18360. #, no-wrap
  18361. msgid "minetest"
  18362. msgstr ""
  18363. #. type: cindex
  18364. #: guix-git/doc/guix.texi:12408
  18365. #, no-wrap
  18366. msgid "ContentDB"
  18367. msgstr ""
  18368. #. type: table
  18369. #: guix-git/doc/guix.texi:12417
  18370. msgid "Import metadata from @uref{https://content.minetest.net, ContentDB}. Information is taken from the JSON-formatted metadata provided through @uref{https://content.minetest.net/help/api/, ContentDB's API} and includes most relevant information, including dependencies. There are some caveats, however. The license information is often incomplete. The commit hash is sometimes missing. The descriptions are in the Markdown format, but Guix uses Texinfo instead. Texture packs and subgames are unsupported."
  18371. msgstr ""
  18372. #. type: table
  18373. #: guix-git/doc/guix.texi:12419
  18374. msgid "The command below imports metadata for the Mesecons mod by Jeija:"
  18375. msgstr ""
  18376. #. type: example
  18377. #: guix-git/doc/guix.texi:12422
  18378. #, no-wrap
  18379. msgid "guix import minetest Jeija/mesecons\n"
  18380. msgstr ""
  18381. #. type: table
  18382. #: guix-git/doc/guix.texi:12425
  18383. msgid "The author name can also be left out:"
  18384. msgstr ""
  18385. #. type: example
  18386. #: guix-git/doc/guix.texi:12428
  18387. #, no-wrap
  18388. msgid "guix import minetest mesecons\n"
  18389. msgstr ""
  18390. #. type: item
  18391. #: guix-git/doc/guix.texi:12438 guix-git/doc/guix.texi:12987
  18392. #, no-wrap
  18393. msgid "cpan"
  18394. msgstr ""
  18395. #. type: cindex
  18396. #: guix-git/doc/guix.texi:12439
  18397. #, no-wrap
  18398. msgid "CPAN"
  18399. msgstr ""
  18400. #. type: table
  18401. #: guix-git/doc/guix.texi:12447
  18402. msgid "Import metadata from @uref{https://www.metacpan.org/, MetaCPAN}. Information is taken from the JSON-formatted metadata provided through @uref{https://fastapi.metacpan.org/, MetaCPAN's API} and includes most relevant information, such as module dependencies. License information should be checked closely. If Perl is available in the store, then the @code{corelist} utility will be used to filter core modules out of the list of dependencies."
  18403. msgstr ""
  18404. #. type: table
  18405. #: guix-git/doc/guix.texi:12450
  18406. msgid "The command command below imports metadata for the Acme::Boolean Perl module:"
  18407. msgstr ""
  18408. #. type: example
  18409. #: guix-git/doc/guix.texi:12453
  18410. #, no-wrap
  18411. msgid "guix import cpan Acme::Boolean\n"
  18412. msgstr ""
  18413. #. type: item
  18414. #: guix-git/doc/guix.texi:12455 guix-git/doc/guix.texi:12983
  18415. #, no-wrap
  18416. msgid "cran"
  18417. msgstr ""
  18418. #. type: cindex
  18419. #: guix-git/doc/guix.texi:12456
  18420. #, no-wrap
  18421. msgid "CRAN"
  18422. msgstr ""
  18423. #. type: cindex
  18424. #: guix-git/doc/guix.texi:12457
  18425. #, no-wrap
  18426. msgid "Bioconductor"
  18427. msgstr ""
  18428. #. type: table
  18429. #: guix-git/doc/guix.texi:12461
  18430. msgid "Import metadata from @uref{https://cran.r-project.org/, CRAN}, the central repository for the @uref{https://r-project.org, GNU@tie{}R statistical and graphical environment}."
  18431. msgstr ""
  18432. #. type: table
  18433. #: guix-git/doc/guix.texi:12463
  18434. msgid "Information is extracted from the @file{DESCRIPTION} file of the package."
  18435. msgstr ""
  18436. #. type: table
  18437. #: guix-git/doc/guix.texi:12465
  18438. msgid "The command command below imports metadata for the Cairo R package:"
  18439. msgstr ""
  18440. #. type: example
  18441. #: guix-git/doc/guix.texi:12468
  18442. #, no-wrap
  18443. msgid "guix import cran Cairo\n"
  18444. msgstr ""
  18445. #. type: example
  18446. #: guix-git/doc/guix.texi:12474
  18447. #, no-wrap
  18448. msgid "guix import cran rasterVis@@0.50.3\n"
  18449. msgstr ""
  18450. #. type: table
  18451. #: guix-git/doc/guix.texi:12479
  18452. msgid "When @option{--recursive} is added, the importer will traverse the dependency graph of the given upstream package recursively and generate package expressions for all those packages that are not yet in Guix."
  18453. msgstr ""
  18454. #. type: table
  18455. #: guix-git/doc/guix.texi:12486
  18456. msgid "When @option{--style=specification} is added, the importer will generate package definitions whose inputs are package specifications instead of references to package variables. This is useful when generated package definitions are to be appended to existing user modules, as the list of used package modules need not be changed. The default is @option{--style=variable}."
  18457. msgstr ""
  18458. #. type: table
  18459. #: guix-git/doc/guix.texi:12491
  18460. msgid "When @option{--archive=bioconductor} is added, metadata is imported from @uref{https://www.bioconductor.org/, Bioconductor}, a repository of R packages for the analysis and comprehension of high-throughput genomic data in bioinformatics."
  18461. msgstr ""
  18462. #. type: table
  18463. #: guix-git/doc/guix.texi:12494
  18464. msgid "Information is extracted from the @file{DESCRIPTION} file contained in the package archive."
  18465. msgstr ""
  18466. #. type: table
  18467. #: guix-git/doc/guix.texi:12496
  18468. msgid "The command below imports metadata for the GenomicRanges R package:"
  18469. msgstr ""
  18470. #. type: example
  18471. #: guix-git/doc/guix.texi:12499
  18472. #, no-wrap
  18473. msgid "guix import cran --archive=bioconductor GenomicRanges\n"
  18474. msgstr ""
  18475. #. type: table
  18476. #: guix-git/doc/guix.texi:12504
  18477. msgid "Finally, you can also import R packages that have not yet been published on CRAN or Bioconductor as long as they are in a git repository. Use @option{--archive=git} followed by the URL of the git repository:"
  18478. msgstr ""
  18479. #. type: example
  18480. #: guix-git/doc/guix.texi:12507
  18481. #, no-wrap
  18482. msgid "guix import cran --archive=git https://github.com/immunogenomics/harmony\n"
  18483. msgstr ""
  18484. #. type: item
  18485. #: guix-git/doc/guix.texi:12509
  18486. #, no-wrap
  18487. msgid "texlive"
  18488. msgstr ""
  18489. #. type: cindex
  18490. #: guix-git/doc/guix.texi:12510
  18491. #, no-wrap
  18492. msgid "TeX Live"
  18493. msgstr ""
  18494. #. type: cindex
  18495. #: guix-git/doc/guix.texi:12511
  18496. #, no-wrap
  18497. msgid "CTAN"
  18498. msgstr ""
  18499. #. type: table
  18500. #: guix-git/doc/guix.texi:12515
  18501. msgid "Import TeX package information from the TeX Live package database for TeX packages that are part of the @uref{https://www.tug.org/texlive/, TeX Live distribution}."
  18502. msgstr ""
  18503. #. type: table
  18504. #: guix-git/doc/guix.texi:12520
  18505. msgid "Information about the package is obtained from the TeX Live package database, a plain text file that is included in the @code{texlive-bin} package. The source code is downloaded from possibly multiple locations in the SVN repository of the Tex Live project."
  18506. msgstr ""
  18507. #. type: table
  18508. #: guix-git/doc/guix.texi:12523
  18509. msgid "The command command below imports metadata for the @code{fontspec} TeX package:"
  18510. msgstr ""
  18511. #. type: example
  18512. #: guix-git/doc/guix.texi:12526
  18513. #, no-wrap
  18514. msgid "guix import texlive fontspec\n"
  18515. msgstr ""
  18516. #. type: cindex
  18517. #: guix-git/doc/guix.texi:12529
  18518. #, no-wrap
  18519. msgid "JSON, import"
  18520. msgstr ""
  18521. #. type: table
  18522. #: guix-git/doc/guix.texi:12532
  18523. msgid "Import package metadata from a local JSON file. Consider the following example package definition in JSON format:"
  18524. msgstr ""
  18525. #. type: example
  18526. #: guix-git/doc/guix.texi:12545
  18527. #, no-wrap
  18528. msgid ""
  18529. "@{\n"
  18530. " \"name\": \"hello\",\n"
  18531. " \"version\": \"2.10\",\n"
  18532. " \"source\": \"mirror://gnu/hello/hello-2.10.tar.gz\",\n"
  18533. " \"build-system\": \"gnu\",\n"
  18534. " \"home-page\": \"https://www.gnu.org/software/hello/\",\n"
  18535. " \"synopsis\": \"Hello, GNU world: An example GNU package\",\n"
  18536. " \"description\": \"GNU Hello prints a greeting.\",\n"
  18537. " \"license\": \"GPL-3.0+\",\n"
  18538. " \"native-inputs\": [\"gettext\"]\n"
  18539. "@}\n"
  18540. msgstr ""
  18541. #. type: table
  18542. #: guix-git/doc/guix.texi:12551
  18543. msgid "The field names are the same as for the @code{<package>} record (@xref{Defining Packages}). References to other packages are provided as JSON lists of quoted package specification strings such as @code{guile} or @code{guile@@2.0}."
  18544. msgstr ""
  18545. #. type: table
  18546. #: guix-git/doc/guix.texi:12554
  18547. msgid "The importer also supports a more explicit source definition using the common fields for @code{<origin>} records:"
  18548. msgstr ""
  18549. #. type: example
  18550. #: guix-git/doc/guix.texi:12567
  18551. #, no-wrap
  18552. msgid ""
  18553. "@{\n"
  18554. " @dots{}\n"
  18555. " \"source\": @{\n"
  18556. " \"method\": \"url-fetch\",\n"
  18557. " \"uri\": \"mirror://gnu/hello/hello-2.10.tar.gz\",\n"
  18558. " \"sha256\": @{\n"
  18559. " \"base32\": \"0ssi1wpaf7plaswqqjwigppsg5fyh99vdlb9kzl7c9lng89ndq1i\"\n"
  18560. " @}\n"
  18561. " @}\n"
  18562. " @dots{}\n"
  18563. "@}\n"
  18564. msgstr ""
  18565. #. type: table
  18566. #: guix-git/doc/guix.texi:12571
  18567. msgid "The command below reads metadata from the JSON file @code{hello.json} and outputs a package expression:"
  18568. msgstr ""
  18569. #. type: example
  18570. #: guix-git/doc/guix.texi:12574
  18571. #, no-wrap
  18572. msgid "guix import json hello.json\n"
  18573. msgstr ""
  18574. #. type: item
  18575. #: guix-git/doc/guix.texi:12576 guix-git/doc/guix.texi:12577
  18576. #: guix-git/doc/guix.texi:12995
  18577. #, no-wrap
  18578. msgid "hackage"
  18579. msgstr ""
  18580. #. type: table
  18581. #: guix-git/doc/guix.texi:12582
  18582. msgid "Import metadata from the Haskell community's central package archive @uref{https://hackage.haskell.org/, Hackage}. Information is taken from Cabal files and includes all the relevant information, including package dependencies."
  18583. msgstr ""
  18584. #. type: item
  18585. #: guix-git/doc/guix.texi:12586
  18586. #, no-wrap
  18587. msgid "--stdin"
  18588. msgstr ""
  18589. #. type: itemx
  18590. #: guix-git/doc/guix.texi:12587
  18591. #, no-wrap
  18592. msgid "-s"
  18593. msgstr ""
  18594. #. type: table
  18595. #: guix-git/doc/guix.texi:12589
  18596. msgid "Read a Cabal file from standard input."
  18597. msgstr ""
  18598. #. type: item
  18599. #: guix-git/doc/guix.texi:12589 guix-git/doc/guix.texi:12636
  18600. #, no-wrap
  18601. msgid "--no-test-dependencies"
  18602. msgstr ""
  18603. #. type: table
  18604. #: guix-git/doc/guix.texi:12592 guix-git/doc/guix.texi:12639
  18605. msgid "Do not include dependencies required only by the test suites."
  18606. msgstr ""
  18607. #. type: item
  18608. #: guix-git/doc/guix.texi:12592
  18609. #, no-wrap
  18610. msgid "--cabal-environment=@var{alist}"
  18611. msgstr ""
  18612. #. type: itemx
  18613. #: guix-git/doc/guix.texi:12593
  18614. #, no-wrap
  18615. msgid "-e @var{alist}"
  18616. msgstr ""
  18617. #. type: table
  18618. #: guix-git/doc/guix.texi:12602
  18619. msgid "@var{alist} is a Scheme alist defining the environment in which the Cabal conditionals are evaluated. The accepted keys are: @code{os}, @code{arch}, @code{impl} and a string representing the name of a flag. The value associated with a flag has to be either the symbol @code{true} or @code{false}. The value associated with other keys has to conform to the Cabal file format definition. The default value associated with the keys @code{os}, @code{arch} and @code{impl} is @samp{linux}, @samp{x86_64} and @samp{ghc}, respectively."
  18620. msgstr ""
  18621. #. type: table
  18622. #: guix-git/doc/guix.texi:12612
  18623. msgid "The command below imports metadata for the latest version of the HTTP Haskell package without including test dependencies and specifying the value of the flag @samp{network-uri} as @code{false}:"
  18624. msgstr ""
  18625. #. type: example
  18626. #: guix-git/doc/guix.texi:12615
  18627. #, no-wrap
  18628. msgid "guix import hackage -t -e \"'((\\\"network-uri\\\" . false))\" HTTP\n"
  18629. msgstr ""
  18630. #. type: table
  18631. #: guix-git/doc/guix.texi:12619
  18632. msgid "A specific package version may optionally be specified by following the package name by an at-sign and a version number as in the following example:"
  18633. msgstr ""
  18634. #. type: example
  18635. #: guix-git/doc/guix.texi:12622
  18636. #, no-wrap
  18637. msgid "guix import hackage mtl@@2.1.3.1\n"
  18638. msgstr ""
  18639. #. type: item
  18640. #: guix-git/doc/guix.texi:12624 guix-git/doc/guix.texi:12625
  18641. #: guix-git/doc/guix.texi:12997
  18642. #, no-wrap
  18643. msgid "stackage"
  18644. msgstr ""
  18645. #. type: table
  18646. #: guix-git/doc/guix.texi:12632
  18647. msgid "The @code{stackage} importer is a wrapper around the @code{hackage} one. It takes a package name, looks up the package version included in a long-term support (LTS) @uref{https://www.stackage.org, Stackage} release and uses the @code{hackage} importer to retrieve its metadata. Note that it is up to you to select an LTS release compatible with the GHC compiler used by Guix."
  18648. msgstr ""
  18649. #. type: item
  18650. #: guix-git/doc/guix.texi:12639
  18651. #, no-wrap
  18652. msgid "--lts-version=@var{version}"
  18653. msgstr ""
  18654. #. type: itemx
  18655. #: guix-git/doc/guix.texi:12640
  18656. #, no-wrap
  18657. msgid "-l @var{version}"
  18658. msgstr ""
  18659. #. type: table
  18660. #: guix-git/doc/guix.texi:12643
  18661. msgid "@var{version} is the desired LTS release version. If omitted the latest release is used."
  18662. msgstr ""
  18663. #. type: table
  18664. #: guix-git/doc/guix.texi:12652
  18665. msgid "The command below imports metadata for the HTTP Haskell package included in the LTS Stackage release version 7.18:"
  18666. msgstr ""
  18667. #. type: example
  18668. #: guix-git/doc/guix.texi:12655
  18669. #, no-wrap
  18670. msgid "guix import stackage --lts-version=7.18 HTTP\n"
  18671. msgstr ""
  18672. #. type: item
  18673. #: guix-git/doc/guix.texi:12657 guix-git/doc/guix.texi:12658
  18674. #: guix-git/doc/guix.texi:12981
  18675. #, no-wrap
  18676. msgid "elpa"
  18677. msgstr ""
  18678. #. type: table
  18679. #: guix-git/doc/guix.texi:12661
  18680. msgid "Import metadata from an Emacs Lisp Package Archive (ELPA) package repository (@pxref{Packages,,, emacs, The GNU Emacs Manual})."
  18681. msgstr ""
  18682. #. type: item
  18683. #: guix-git/doc/guix.texi:12665
  18684. #, no-wrap
  18685. msgid "--archive=@var{repo}"
  18686. msgstr ""
  18687. #. type: itemx
  18688. #: guix-git/doc/guix.texi:12666
  18689. #, no-wrap
  18690. msgid "-a @var{repo}"
  18691. msgstr ""
  18692. #. type: table
  18693. #: guix-git/doc/guix.texi:12670
  18694. msgid "@var{repo} identifies the archive repository from which to retrieve the information. Currently the supported repositories and their identifiers are:"
  18695. msgstr ""
  18696. #. type: itemize
  18697. #: guix-git/doc/guix.texi:12674
  18698. msgid "@uref{https://elpa.gnu.org/packages, GNU}, selected by the @code{gnu} identifier. This is the default."
  18699. msgstr ""
  18700. #. type: itemize
  18701. #: guix-git/doc/guix.texi:12680
  18702. msgid "Packages from @code{elpa.gnu.org} are signed with one of the keys contained in the GnuPG keyring at @file{share/emacs/25.1/etc/package-keyring.gpg} (or similar) in the @code{emacs} package (@pxref{Package Installation, ELPA package signatures,, emacs, The GNU Emacs Manual})."
  18703. msgstr ""
  18704. #. type: itemize
  18705. #: guix-git/doc/guix.texi:12684
  18706. msgid "@uref{https://elpa.nongnu.org/nongnu/, NonGNU}, selected by the @code{nongnu} identifier."
  18707. msgstr ""
  18708. #. type: itemize
  18709. #: guix-git/doc/guix.texi:12688
  18710. msgid "@uref{https://stable.melpa.org/packages, MELPA-Stable}, selected by the @code{melpa-stable} identifier."
  18711. msgstr ""
  18712. #. type: itemize
  18713. #: guix-git/doc/guix.texi:12692
  18714. msgid "@uref{https://melpa.org/packages, MELPA}, selected by the @code{melpa} identifier."
  18715. msgstr ""
  18716. #. type: item
  18717. #: guix-git/doc/guix.texi:12701 guix-git/doc/guix.texi:12702
  18718. #: guix-git/doc/guix.texi:12999
  18719. #, no-wrap
  18720. msgid "crate"
  18721. msgstr ""
  18722. #. type: table
  18723. #: guix-git/doc/guix.texi:12705
  18724. msgid "Import metadata from the crates.io Rust package repository @uref{https://crates.io, crates.io}, as in this example:"
  18725. msgstr ""
  18726. #. type: example
  18727. #: guix-git/doc/guix.texi:12708
  18728. #, no-wrap
  18729. msgid "guix import crate blake2-rfc\n"
  18730. msgstr ""
  18731. #. type: table
  18732. #: guix-git/doc/guix.texi:12711
  18733. msgid "The crate importer also allows you to specify a version string:"
  18734. msgstr ""
  18735. #. type: example
  18736. #: guix-git/doc/guix.texi:12714
  18737. #, no-wrap
  18738. msgid "guix import crate constant-time-eq@@0.1.0\n"
  18739. msgstr ""
  18740. #. type: table
  18741. #: guix-git/doc/guix.texi:12717 guix-git/doc/guix.texi:12733
  18742. #: guix-git/doc/guix.texi:12781 guix-git/doc/guix.texi:12818
  18743. msgid "Additional options include:"
  18744. msgstr ""
  18745. #. type: item
  18746. #: guix-git/doc/guix.texi:12726
  18747. #, no-wrap
  18748. msgid "opam"
  18749. msgstr ""
  18750. #. type: cindex
  18751. #: guix-git/doc/guix.texi:12727
  18752. #, no-wrap
  18753. msgid "OPAM"
  18754. msgstr ""
  18755. #. type: cindex
  18756. #: guix-git/doc/guix.texi:12728
  18757. #, no-wrap
  18758. msgid "OCaml"
  18759. msgstr "OCaml"
  18760. #. type: table
  18761. #: guix-git/doc/guix.texi:12731
  18762. msgid "Import metadata from the @uref{https://opam.ocaml.org/, OPAM} package repository used by the OCaml community."
  18763. msgstr ""
  18764. #. type: item
  18765. #: guix-git/doc/guix.texi:12740
  18766. #, no-wrap
  18767. msgid "--repo"
  18768. msgstr ""
  18769. #. type: table
  18770. #: guix-git/doc/guix.texi:12744
  18771. msgid "By default, packages are searched in the official OPAM repository. This option, which can be used more than once, lets you add other repositories which will be searched for packages. It accepts as valid arguments:"
  18772. msgstr ""
  18773. #. type: item
  18774. #: guix-git/doc/guix.texi:12746
  18775. #, no-wrap
  18776. msgid "the name of a known repository - can be one of @code{opam},"
  18777. msgstr ""
  18778. #. type: itemize
  18779. #: guix-git/doc/guix.texi:12749
  18780. msgid "@code{coq} (equivalent to @code{coq-released}), @code{coq-core-dev}, @code{coq-extra-dev} or @code{grew}."
  18781. msgstr ""
  18782. #. type: item
  18783. #: guix-git/doc/guix.texi:12749
  18784. #, no-wrap
  18785. msgid "the URL of a repository as expected by the"
  18786. msgstr ""
  18787. #. type: itemize
  18788. #: guix-git/doc/guix.texi:12753
  18789. msgid "@code{opam repository add} command (for instance, the URL equivalent of the above @code{opam} name would be @uref{https://opam.ocaml.org})."
  18790. msgstr ""
  18791. #. type: item
  18792. #: guix-git/doc/guix.texi:12753
  18793. #, no-wrap
  18794. msgid "the path to a local copy of a repository (a directory containing a"
  18795. msgstr ""
  18796. #. type: itemize
  18797. #: guix-git/doc/guix.texi:12755
  18798. msgid "@file{packages/} sub-directory)."
  18799. msgstr ""
  18800. #. type: table
  18801. #: guix-git/doc/guix.texi:12760
  18802. msgid "Repositories are assumed to be passed to this option by order of preference. The additional repositories will not replace the default @code{opam} repository, which is always kept as a fallback."
  18803. msgstr ""
  18804. #. type: table
  18805. #: guix-git/doc/guix.texi:12765
  18806. msgid "Also, please note that versions are not compared across repositories. The first repository (from left to right) that has at least one version of a given package will prevail over any others, and the version imported will be the latest one found @emph{in this repository only}."
  18807. msgstr ""
  18808. #. type: cindex
  18809. #: guix-git/doc/guix.texi:12768 guix-git/doc/guix.texi:12769
  18810. #, no-wrap
  18811. msgid "go"
  18812. msgstr ""
  18813. #. type: table
  18814. #: guix-git/doc/guix.texi:12772
  18815. msgid "Import metadata for a Go module using @uref{https://proxy.golang.org, proxy.golang.org}."
  18816. msgstr ""
  18817. #. type: example
  18818. #: guix-git/doc/guix.texi:12775
  18819. #, no-wrap
  18820. msgid "guix import go gopkg.in/yaml.v2\n"
  18821. msgstr ""
  18822. #. type: table
  18823. #: guix-git/doc/guix.texi:12779
  18824. msgid "It is possible to use a package specification with a @code{@@VERSION} suffix to import a specific version."
  18825. msgstr ""
  18826. #. type: item
  18827. #: guix-git/doc/guix.texi:12788
  18828. #, no-wrap
  18829. msgid "--pin-versions"
  18830. msgstr ""
  18831. #. type: table
  18832. #: guix-git/doc/guix.texi:12796
  18833. msgid "When using this option, the importer preserves the exact versions of the Go modules dependencies instead of using their latest available versions. This can be useful when attempting to import packages that recursively depend on former versions of themselves to build. When using this mode, the symbol of the package is made by appending the version to its name, so that multiple versions of the same package can coexist."
  18834. msgstr ""
  18835. #. type: item
  18836. #: guix-git/doc/guix.texi:12798 guix-git/doc/guix.texi:12799
  18837. #: guix-git/doc/guix.texi:12979
  18838. #, no-wrap
  18839. msgid "egg"
  18840. msgstr ""
  18841. #. type: table
  18842. #: guix-git/doc/guix.texi:12806
  18843. msgid "Import metadata for @uref{https://wiki.call-cc.org/eggs, CHICKEN eggs}. The information is taken from @file{PACKAGE.egg} files found in the @uref{git://code.call-cc.org/eggs-5-all, eggs-5-all} Git repository. However, it does not provide all the information that we need, there is no ``description'' field, and the licenses used are not always precise (BSD is often used instead of BSD-N)."
  18844. msgstr ""
  18845. #. type: example
  18846. #: guix-git/doc/guix.texi:12809
  18847. #, no-wrap
  18848. msgid "guix import egg sourcehut\n"
  18849. msgstr ""
  18850. #. type: example
  18851. #: guix-git/doc/guix.texi:12815
  18852. #, no-wrap
  18853. msgid "guix import egg arrays@@1.0\n"
  18854. msgstr ""
  18855. #. type: Plain text
  18856. #: guix-git/doc/guix.texi:12830
  18857. msgid "The structure of the @command{guix import} code is modular. It would be useful to have more importers for other package formats, and your help is welcome here (@pxref{Contributing})."
  18858. msgstr ""
  18859. #. type: section
  18860. #: guix-git/doc/guix.texi:12832
  18861. #, no-wrap
  18862. msgid "Invoking @command{guix refresh}"
  18863. msgstr ""
  18864. #. type: command{#1}
  18865. #: guix-git/doc/guix.texi:12834
  18866. #, no-wrap
  18867. msgid "guix refresh"
  18868. msgstr ""
  18869. #. type: Plain text
  18870. #: guix-git/doc/guix.texi:12842
  18871. msgid "The primary audience of the @command{guix refresh} command is packagers. As a user, you may be interested in the @option{--with-latest} option, which can bring you package update superpowers built upon @command{guix refresh} (@pxref{Package Transformation Options, @option{--with-latest}}). By default, @command{guix refresh} reports any packages provided by the distribution that are outdated compared to the latest upstream version, like this:"
  18872. msgstr ""
  18873. #. type: example
  18874. #: guix-git/doc/guix.texi:12847
  18875. #, no-wrap
  18876. msgid ""
  18877. "$ guix refresh\n"
  18878. "gnu/packages/gettext.scm:29:13: gettext would be upgraded from 0.18.1.1 to 0.18.2.1\n"
  18879. "gnu/packages/glib.scm:77:12: glib would be upgraded from 2.34.3 to 2.37.0\n"
  18880. msgstr ""
  18881. #. type: Plain text
  18882. #: guix-git/doc/guix.texi:12851
  18883. msgid "Alternatively, one can specify packages to consider, in which case a warning is emitted for packages that lack an updater:"
  18884. msgstr ""
  18885. #. type: example
  18886. #: guix-git/doc/guix.texi:12856
  18887. #, no-wrap
  18888. msgid ""
  18889. "$ guix refresh coreutils guile guile-ssh\n"
  18890. "gnu/packages/ssh.scm:205:2: warning: no updater for guile-ssh\n"
  18891. "gnu/packages/guile.scm:136:12: guile would be upgraded from 2.0.12 to 2.0.13\n"
  18892. msgstr ""
  18893. #. type: Plain text
  18894. #: guix-git/doc/guix.texi:12865
  18895. msgid "@command{guix refresh} browses the upstream repository of each package and determines the highest version number of the releases therein. The command knows how to update specific types of packages: GNU packages, ELPA packages, etc.---see the documentation for @option{--type} below. There are many packages, though, for which it lacks a method to determine whether a new upstream release is available. However, the mechanism is extensible, so feel free to get in touch with us to add a new method!"
  18896. msgstr ""
  18897. #. type: table
  18898. #: guix-git/doc/guix.texi:12870
  18899. msgid "Consider the packages specified, and all the packages upon which they depend."
  18900. msgstr ""
  18901. #. type: example
  18902. #: guix-git/doc/guix.texi:12878
  18903. #, no-wrap
  18904. msgid ""
  18905. "$ guix refresh --recursive coreutils\n"
  18906. "gnu/packages/acl.scm:40:13: acl would be upgraded from 2.2.53 to 2.3.1\n"
  18907. "gnu/packages/m4.scm:30:12: 1.4.18 is already the latest version of m4\n"
  18908. "gnu/packages/xml.scm:68:2: warning: no updater for expat\n"
  18909. "gnu/packages/multiprecision.scm:40:12: 6.1.2 is already the latest version of gmp\n"
  18910. "@dots{}\n"
  18911. msgstr ""
  18912. #. type: Plain text
  18913. #: guix-git/doc/guix.texi:12886
  18914. msgid "Sometimes the upstream name differs from the package name used in Guix, and @command{guix refresh} needs a little help. Most updaters honor the @code{upstream-name} property in package definitions, which can be used to that effect:"
  18915. msgstr ""
  18916. #. type: lisp
  18917. #: guix-git/doc/guix.texi:12893
  18918. #, no-wrap
  18919. msgid ""
  18920. "(define-public network-manager\n"
  18921. " (package\n"
  18922. " (name \"network-manager\")\n"
  18923. " ;; @dots{}\n"
  18924. " (properties '((upstream-name . \"NetworkManager\")))))\n"
  18925. msgstr ""
  18926. #. type: Plain text
  18927. #: guix-git/doc/guix.texi:12902
  18928. msgid "When passed @option{--update}, it modifies distribution source files to update the version numbers and source tarball hashes of those package recipes (@pxref{Defining Packages}). This is achieved by downloading each package's latest source tarball and its associated OpenPGP signature, authenticating the downloaded tarball against its signature using @command{gpgv}, and finally computing its hash---note that GnuPG must be installed and in @code{$PATH}; run @code{guix install gnupg} if needed."
  18929. msgstr ""
  18930. #. type: Plain text
  18931. #: guix-git/doc/guix.texi:12908
  18932. msgid "When the public key used to sign the tarball is missing from the user's keyring, an attempt is made to automatically retrieve it from a public key server; when this is successful, the key is added to the user's keyring; otherwise, @command{guix refresh} reports an error."
  18933. msgstr ""
  18934. #. type: Plain text
  18935. #: guix-git/doc/guix.texi:12910
  18936. msgid "The following options are supported:"
  18937. msgstr ""
  18938. #. type: table
  18939. #: guix-git/doc/guix.texi:12918 guix-git/doc/guix.texi:13908
  18940. msgid "This is useful to precisely refer to a package, as in this example:"
  18941. msgstr ""
  18942. #. type: example
  18943. #: guix-git/doc/guix.texi:12921
  18944. #, no-wrap
  18945. msgid "guix refresh -l -e '(@@@@ (gnu packages commencement) glibc-final)'\n"
  18946. msgstr ""
  18947. #. type: table
  18948. #: guix-git/doc/guix.texi:12925
  18949. msgid "This command lists the dependents of the ``final'' libc (essentially all the packages)."
  18950. msgstr ""
  18951. #. type: item
  18952. #: guix-git/doc/guix.texi:12926
  18953. #, no-wrap
  18954. msgid "--update"
  18955. msgstr "--päivitä"
  18956. #. type: itemx
  18957. #: guix-git/doc/guix.texi:12927
  18958. #, no-wrap
  18959. msgid "-u"
  18960. msgstr ""
  18961. #. type: table
  18962. #: guix-git/doc/guix.texi:12931
  18963. msgid "Update distribution source files (package recipes) in place. This is usually run from a checkout of the Guix source tree (@pxref{Running Guix Before It Is Installed}):"
  18964. msgstr ""
  18965. #. type: example
  18966. #: guix-git/doc/guix.texi:12934
  18967. #, no-wrap
  18968. msgid "$ ./pre-inst-env guix refresh -s non-core -u\n"
  18969. msgstr ""
  18970. #. type: table
  18971. #: guix-git/doc/guix.texi:12937
  18972. msgid "@xref{Defining Packages}, for more information on package definitions."
  18973. msgstr ""
  18974. #. type: item
  18975. #: guix-git/doc/guix.texi:12938
  18976. #, no-wrap
  18977. msgid "--select=[@var{subset}]"
  18978. msgstr ""
  18979. #. type: itemx
  18980. #: guix-git/doc/guix.texi:12939
  18981. #, no-wrap
  18982. msgid "-s @var{subset}"
  18983. msgstr ""
  18984. #. type: table
  18985. #: guix-git/doc/guix.texi:12942
  18986. msgid "Select all the packages in @var{subset}, one of @code{core} or @code{non-core}."
  18987. msgstr ""
  18988. #. type: table
  18989. #: guix-git/doc/guix.texi:12949
  18990. msgid "The @code{core} subset refers to all the packages at the core of the distribution---i.e., packages that are used to build ``everything else''. This includes GCC, libc, Binutils, Bash, etc. Usually, changing one of these packages in the distribution entails a rebuild of all the others. Thus, such updates are an inconvenience to users in terms of build time or bandwidth used to achieve the upgrade."
  18991. msgstr ""
  18992. #. type: table
  18993. #: guix-git/doc/guix.texi:12953
  18994. msgid "The @code{non-core} subset refers to the remaining packages. It is typically useful in cases where an update of the core packages would be inconvenient."
  18995. msgstr ""
  18996. #. type: table
  18997. #: guix-git/doc/guix.texi:12958
  18998. msgid "Select all the packages from the manifest in @var{file}. This is useful to check if any packages of the user manifest can be updated."
  18999. msgstr ""
  19000. #. type: item
  19001. #: guix-git/doc/guix.texi:12959
  19002. #, no-wrap
  19003. msgid "--type=@var{updater}"
  19004. msgstr ""
  19005. #. type: itemx
  19006. #: guix-git/doc/guix.texi:12960
  19007. #, no-wrap
  19008. msgid "-t @var{updater}"
  19009. msgstr ""
  19010. #. type: table
  19011. #: guix-git/doc/guix.texi:12963
  19012. msgid "Select only packages handled by @var{updater} (may be a comma-separated list of updaters). Currently, @var{updater} may be one of:"
  19013. msgstr ""
  19014. #. type: table
  19015. #: guix-git/doc/guix.texi:12967
  19016. msgid "the updater for GNU packages;"
  19017. msgstr ""
  19018. #. type: item
  19019. #: guix-git/doc/guix.texi:12967
  19020. #, no-wrap
  19021. msgid "savannah"
  19022. msgstr ""
  19023. #. type: table
  19024. #: guix-git/doc/guix.texi:12969
  19025. msgid "the updater for packages hosted at @uref{https://savannah.gnu.org, Savannah};"
  19026. msgstr ""
  19027. #. type: item
  19028. #: guix-git/doc/guix.texi:12969
  19029. #, no-wrap
  19030. msgid "sourceforge"
  19031. msgstr ""
  19032. #. type: table
  19033. #: guix-git/doc/guix.texi:12971
  19034. msgid "the updater for packages hosted at @uref{https://sourceforge.net, SourceForge};"
  19035. msgstr ""
  19036. #. type: item
  19037. #: guix-git/doc/guix.texi:12971
  19038. #, no-wrap
  19039. msgid "gnome"
  19040. msgstr ""
  19041. #. type: table
  19042. #: guix-git/doc/guix.texi:12973
  19043. msgid "the updater for GNOME packages;"
  19044. msgstr ""
  19045. #. type: item
  19046. #: guix-git/doc/guix.texi:12973
  19047. #, no-wrap
  19048. msgid "kde"
  19049. msgstr ""
  19050. #. type: table
  19051. #: guix-git/doc/guix.texi:12975
  19052. msgid "the updater for KDE packages;"
  19053. msgstr ""
  19054. #. type: item
  19055. #: guix-git/doc/guix.texi:12975
  19056. #, no-wrap
  19057. msgid "xorg"
  19058. msgstr ""
  19059. #. type: table
  19060. #: guix-git/doc/guix.texi:12977
  19061. msgid "the updater for X.org packages;"
  19062. msgstr ""
  19063. #. type: item
  19064. #: guix-git/doc/guix.texi:12977
  19065. #, no-wrap
  19066. msgid "kernel.org"
  19067. msgstr ""
  19068. #. type: table
  19069. #: guix-git/doc/guix.texi:12979
  19070. msgid "the updater for packages hosted on kernel.org;"
  19071. msgstr ""
  19072. #. type: table
  19073. #: guix-git/doc/guix.texi:12981
  19074. msgid "the updater for @uref{https://wiki.call-cc.org/eggs/, Egg} packages;"
  19075. msgstr ""
  19076. #. type: table
  19077. #: guix-git/doc/guix.texi:12983
  19078. msgid "the updater for @uref{https://elpa.gnu.org/, ELPA} packages;"
  19079. msgstr ""
  19080. #. type: table
  19081. #: guix-git/doc/guix.texi:12985
  19082. msgid "the updater for @uref{https://cran.r-project.org/, CRAN} packages;"
  19083. msgstr ""
  19084. #. type: item
  19085. #: guix-git/doc/guix.texi:12985
  19086. #, no-wrap
  19087. msgid "bioconductor"
  19088. msgstr ""
  19089. #. type: table
  19090. #: guix-git/doc/guix.texi:12987
  19091. msgid "the updater for @uref{https://www.bioconductor.org/, Bioconductor} R packages;"
  19092. msgstr ""
  19093. #. type: table
  19094. #: guix-git/doc/guix.texi:12989
  19095. msgid "the updater for @uref{https://www.cpan.org/, CPAN} packages;"
  19096. msgstr ""
  19097. #. type: table
  19098. #: guix-git/doc/guix.texi:12991
  19099. msgid "the updater for @uref{https://pypi.python.org, PyPI} packages."
  19100. msgstr ""
  19101. #. type: table
  19102. #: guix-git/doc/guix.texi:12993
  19103. msgid "the updater for @uref{https://rubygems.org, RubyGems} packages."
  19104. msgstr ""
  19105. #. type: item
  19106. #: guix-git/doc/guix.texi:12993
  19107. #, no-wrap
  19108. msgid "github"
  19109. msgstr ""
  19110. #. type: table
  19111. #: guix-git/doc/guix.texi:12995
  19112. msgid "the updater for @uref{https://github.com, GitHub} packages."
  19113. msgstr ""
  19114. #. type: table
  19115. #: guix-git/doc/guix.texi:12997
  19116. msgid "the updater for @uref{https://hackage.haskell.org, Hackage} packages."
  19117. msgstr ""
  19118. #. type: table
  19119. #: guix-git/doc/guix.texi:12999
  19120. msgid "the updater for @uref{https://www.stackage.org, Stackage} packages."
  19121. msgstr ""
  19122. #. type: table
  19123. #: guix-git/doc/guix.texi:13001
  19124. msgid "the updater for @uref{https://crates.io, Crates} packages."
  19125. msgstr ""
  19126. #. type: item
  19127. #: guix-git/doc/guix.texi:13001
  19128. #, no-wrap
  19129. msgid "launchpad"
  19130. msgstr ""
  19131. #. type: table
  19132. #: guix-git/doc/guix.texi:13003
  19133. msgid "the updater for @uref{https://launchpad.net, Launchpad} packages."
  19134. msgstr ""
  19135. #. type: item
  19136. #: guix-git/doc/guix.texi:13003
  19137. #, no-wrap
  19138. msgid "generic-html"
  19139. msgstr ""
  19140. #. type: table
  19141. #: guix-git/doc/guix.texi:13006
  19142. msgid "a generic updater that crawls the HTML page where the source tarball of the package is hosted, when applicable."
  19143. msgstr ""
  19144. #. type: item
  19145. #: guix-git/doc/guix.texi:13007
  19146. #, no-wrap
  19147. msgid "generic-git"
  19148. msgstr ""
  19149. #. type: table
  19150. #: guix-git/doc/guix.texi:13012
  19151. msgid "a generic updater for packages hosted on Git repositories. It tries to be smart about parsing Git tag names, but if it is not able to parse the tag name and compare tags correctly, users can define the following properties for a package."
  19152. msgstr ""
  19153. #. type: item
  19154. #: guix-git/doc/guix.texi:13014
  19155. #, no-wrap
  19156. msgid "@code{release-tag-prefix}: a regular expression for matching a prefix of"
  19157. msgstr ""
  19158. #. type: itemize
  19159. #: guix-git/doc/guix.texi:13016 guix-git/doc/guix.texi:13019
  19160. msgid "the tag name."
  19161. msgstr ""
  19162. #. type: item
  19163. #: guix-git/doc/guix.texi:13017
  19164. #, no-wrap
  19165. msgid "@code{release-tag-suffix}: a regular expression for matching a suffix of"
  19166. msgstr ""
  19167. #. type: item
  19168. #: guix-git/doc/guix.texi:13020
  19169. #, no-wrap
  19170. msgid "@code{release-tag-version-delimiter}: a string used as the delimiter in"
  19171. msgstr ""
  19172. #. type: itemize
  19173. #: guix-git/doc/guix.texi:13022
  19174. msgid "the tag name for separating the numbers of the version."
  19175. msgstr ""
  19176. #. type: item
  19177. #: guix-git/doc/guix.texi:13023
  19178. #, no-wrap
  19179. msgid "@code{accept-pre-releases}: by default, the updater will ignore"
  19180. msgstr ""
  19181. #. type: itemize
  19182. #: guix-git/doc/guix.texi:13026
  19183. msgid "pre-releases; to make it also look for pre-releases, set the this property to @code{#t}."
  19184. msgstr ""
  19185. #. type: lisp
  19186. #: guix-git/doc/guix.texi:13037
  19187. #, no-wrap
  19188. msgid ""
  19189. "(package\n"
  19190. " (name \"foo\")\n"
  19191. " ;; ...\n"
  19192. " (properties\n"
  19193. " '((release-tag-prefix . \"^release0-\")\n"
  19194. " (release-tag-suffix . \"[a-z]?$\")\n"
  19195. " (release-tag-version-delimiter . \":\"))))\n"
  19196. msgstr ""
  19197. #. type: table
  19198. #: guix-git/doc/guix.texi:13044
  19199. msgid "For instance, the following command only checks for updates of Emacs packages hosted at @code{elpa.gnu.org} and for updates of CRAN packages:"
  19200. msgstr ""
  19201. #. type: example
  19202. #: guix-git/doc/guix.texi:13049
  19203. #, no-wrap
  19204. msgid ""
  19205. "$ guix refresh --type=elpa,cran\n"
  19206. "gnu/packages/statistics.scm:819:13: r-testthat would be upgraded from 0.10.0 to 0.11.0\n"
  19207. "gnu/packages/emacs.scm:856:13: emacs-auctex would be upgraded from 11.88.6 to 11.88.9\n"
  19208. msgstr ""
  19209. #. type: item
  19210. #: guix-git/doc/guix.texi:13051
  19211. #, no-wrap
  19212. msgid "--list-updaters"
  19213. msgstr ""
  19214. #. type: itemx
  19215. #: guix-git/doc/guix.texi:13052
  19216. #, no-wrap
  19217. msgid "-L"
  19218. msgstr ""
  19219. #. type: table
  19220. #: guix-git/doc/guix.texi:13054
  19221. msgid "List available updaters and exit (see @option{--type} above)."
  19222. msgstr ""
  19223. #. type: table
  19224. #: guix-git/doc/guix.texi:13057
  19225. msgid "For each updater, display the fraction of packages it covers; at the end, display the fraction of packages covered by all these updaters."
  19226. msgstr ""
  19227. #. type: Plain text
  19228. #: guix-git/doc/guix.texi:13061
  19229. msgid "In addition, @command{guix refresh} can be passed one or more package names, as in this example:"
  19230. msgstr ""
  19231. #. type: example
  19232. #: guix-git/doc/guix.texi:13064
  19233. #, no-wrap
  19234. msgid "$ ./pre-inst-env guix refresh -u emacs idutils gcc@@4.8\n"
  19235. msgstr ""
  19236. #. type: Plain text
  19237. #: guix-git/doc/guix.texi:13071
  19238. msgid "The command above specifically updates the @code{emacs} and @code{idutils} packages. The @option{--select} option would have no effect in this case. You might also want to update definitions that correspond to the packages installed in your profile:"
  19239. msgstr ""
  19240. #. type: example
  19241. #: guix-git/doc/guix.texi:13075
  19242. #, no-wrap
  19243. msgid ""
  19244. "$ ./pre-inst-env guix refresh -u \\\n"
  19245. " $(guix package --list-installed | cut -f1)\n"
  19246. msgstr ""
  19247. #. type: Plain text
  19248. #: guix-git/doc/guix.texi:13081
  19249. msgid "When considering whether to upgrade a package, it is sometimes convenient to know which packages would be affected by the upgrade and should be checked for compatibility. For this the following option may be used when passing @command{guix refresh} one or more package names:"
  19250. msgstr ""
  19251. #. type: item
  19252. #: guix-git/doc/guix.texi:13084
  19253. #, no-wrap
  19254. msgid "--list-dependent"
  19255. msgstr ""
  19256. #. type: itemx
  19257. #: guix-git/doc/guix.texi:13085 guix-git/doc/guix.texi:13489
  19258. #, no-wrap
  19259. msgid "-l"
  19260. msgstr ""
  19261. #. type: table
  19262. #: guix-git/doc/guix.texi:13088
  19263. msgid "List top-level dependent packages that would need to be rebuilt as a result of upgrading one or more packages."
  19264. msgstr ""
  19265. #. type: table
  19266. #: guix-git/doc/guix.texi:13092
  19267. msgid "@xref{Invoking guix graph, the @code{reverse-package} type of @command{guix graph}}, for information on how to visualize the list of dependents of a package."
  19268. msgstr ""
  19269. #. type: Plain text
  19270. #: guix-git/doc/guix.texi:13098
  19271. msgid "Be aware that the @option{--list-dependent} option only @emph{approximates} the rebuilds that would be required as a result of an upgrade. More rebuilds might be required under some circumstances."
  19272. msgstr ""
  19273. #. type: example
  19274. #: guix-git/doc/guix.texi:13103
  19275. #, no-wrap
  19276. msgid ""
  19277. "$ guix refresh --list-dependent flex\n"
  19278. "Building the following 120 packages would ensure 213 dependent packages are rebuilt:\n"
  19279. "hop@@2.4.0 emacs-geiser@@0.13 notmuch@@0.18 mu@@0.9.9.5 cflow@@1.4 idutils@@4.6 @dots{}\n"
  19280. msgstr ""
  19281. #. type: Plain text
  19282. #: guix-git/doc/guix.texi:13107
  19283. msgid "The command above lists a set of packages that could be built to check for compatibility with an upgraded @code{flex} package."
  19284. msgstr ""
  19285. #. type: item
  19286. #: guix-git/doc/guix.texi:13110
  19287. #, no-wrap
  19288. msgid "--list-transitive"
  19289. msgstr ""
  19290. #. type: table
  19291. #: guix-git/doc/guix.texi:13112
  19292. msgid "List all the packages which one or more packages depend upon."
  19293. msgstr ""
  19294. #. type: example
  19295. #: guix-git/doc/guix.texi:13117
  19296. #, no-wrap
  19297. msgid ""
  19298. "$ guix refresh --list-transitive flex\n"
  19299. "flex@@2.6.4 depends on the following 25 packages: perl@@5.28.0 help2man@@1.47.6\n"
  19300. "bison@@3.0.5 indent@@2.2.10 tar@@1.30 gzip@@1.9 bzip2@@1.0.6 xz@@5.2.4 file@@5.33 @dots{}\n"
  19301. msgstr ""
  19302. #. type: Plain text
  19303. #: guix-git/doc/guix.texi:13123
  19304. msgid "The command above lists a set of packages which, when changed, would cause @code{flex} to be rebuilt."
  19305. msgstr ""
  19306. #. type: Plain text
  19307. #: guix-git/doc/guix.texi:13125
  19308. msgid "The following options can be used to customize GnuPG operation:"
  19309. msgstr ""
  19310. #. type: item
  19311. #: guix-git/doc/guix.texi:13128
  19312. #, no-wrap
  19313. msgid "--gpg=@var{command}"
  19314. msgstr ""
  19315. #. type: table
  19316. #: guix-git/doc/guix.texi:13131
  19317. msgid "Use @var{command} as the GnuPG 2.x command. @var{command} is searched for in @code{$PATH}."
  19318. msgstr ""
  19319. #. type: item
  19320. #: guix-git/doc/guix.texi:13132
  19321. #, no-wrap
  19322. msgid "--keyring=@var{file}"
  19323. msgstr ""
  19324. #. type: table
  19325. #: guix-git/doc/guix.texi:13138
  19326. msgid "Use @var{file} as the keyring for upstream keys. @var{file} must be in the @dfn{keybox format}. Keybox files usually have a name ending in @file{.kbx} and the GNU@tie{}Privacy Guard (GPG) can manipulate these files (@pxref{kbxutil, @command{kbxutil},, gnupg, Using the GNU Privacy Guard}, for information on a tool to manipulate keybox files)."
  19327. msgstr ""
  19328. #. type: table
  19329. #: guix-git/doc/guix.texi:13144
  19330. msgid "When this option is omitted, @command{guix refresh} uses @file{~/.config/guix/upstream/trustedkeys.kbx} as the keyring for upstream signing keys. OpenPGP signatures are checked against keys from this keyring; missing keys are downloaded to this keyring as well (see @option{--key-download} below)."
  19331. msgstr ""
  19332. #. type: table
  19333. #: guix-git/doc/guix.texi:13147
  19334. msgid "You can export keys from your default GPG keyring into a keybox file using commands like this one:"
  19335. msgstr ""
  19336. #. type: example
  19337. #: guix-git/doc/guix.texi:13150
  19338. #, no-wrap
  19339. msgid "gpg --export rms@@gnu.org | kbxutil --import-openpgp >> mykeyring.kbx\n"
  19340. msgstr ""
  19341. #. type: table
  19342. #: guix-git/doc/guix.texi:13153
  19343. msgid "Likewise, you can fetch keys to a specific keybox file like this:"
  19344. msgstr ""
  19345. #. type: example
  19346. #: guix-git/doc/guix.texi:13157
  19347. #, no-wrap
  19348. msgid ""
  19349. "gpg --no-default-keyring --keyring mykeyring.kbx \\\n"
  19350. " --recv-keys @value{OPENPGP-SIGNING-KEY-ID}\n"
  19351. msgstr ""
  19352. #. type: table
  19353. #: guix-git/doc/guix.texi:13161
  19354. msgid "@xref{GPG Configuration Options, @option{--keyring},, gnupg, Using the GNU Privacy Guard}, for more information on GPG's @option{--keyring} option."
  19355. msgstr ""
  19356. #. type: table
  19357. #: guix-git/doc/guix.texi:13165
  19358. msgid "Handle missing OpenPGP keys according to @var{policy}, which may be one of:"
  19359. msgstr ""
  19360. #. type: item
  19361. #: guix-git/doc/guix.texi:13167 guix-git/doc/guix.texi:13332
  19362. #: guix-git/doc/guix.texi:22769
  19363. #, no-wrap
  19364. msgid "always"
  19365. msgstr "aina"
  19366. #. type: table
  19367. #: guix-git/doc/guix.texi:13170
  19368. msgid "Always download missing OpenPGP keys from the key server, and add them to the user's GnuPG keyring."
  19369. msgstr ""
  19370. #. type: item
  19371. #: guix-git/doc/guix.texi:13171 guix-git/doc/guix.texi:22771
  19372. #, no-wrap
  19373. msgid "never"
  19374. msgstr "ei koskaan"
  19375. #. type: table
  19376. #: guix-git/doc/guix.texi:13173
  19377. msgid "Never try to download missing OpenPGP keys. Instead just bail out."
  19378. msgstr ""
  19379. #. type: item
  19380. #: guix-git/doc/guix.texi:13174
  19381. #, no-wrap
  19382. msgid "interactive"
  19383. msgstr ""
  19384. #. type: table
  19385. #: guix-git/doc/guix.texi:13177
  19386. msgid "When a package signed with an unknown OpenPGP key is encountered, ask the user whether to download it or not. This is the default behavior."
  19387. msgstr ""
  19388. #. type: item
  19389. #: guix-git/doc/guix.texi:13179
  19390. #, no-wrap
  19391. msgid "--key-server=@var{host}"
  19392. msgstr ""
  19393. #. type: table
  19394. #: guix-git/doc/guix.texi:13181
  19395. msgid "Use @var{host} as the OpenPGP key server when importing a public key."
  19396. msgstr ""
  19397. #. type: Plain text
  19398. #: guix-git/doc/guix.texi:13201
  19399. msgid "The @code{github} updater uses the @uref{https://developer.github.com/v3/, GitHub API} to query for new releases. When used repeatedly e.g.@: when refreshing all packages, GitHub will eventually refuse to answer any further API requests. By default 60 API requests per hour are allowed, and a full refresh on all GitHub packages in Guix requires more than this. Authentication with GitHub through the use of an API token alleviates these limits. To use an API token, set the environment variable @env{GUIX_GITHUB_TOKEN} to a token procured from @uref{https://github.com/settings/tokens} or otherwise."
  19400. msgstr ""
  19401. #. type: section
  19402. #: guix-git/doc/guix.texi:13204
  19403. #, no-wrap
  19404. msgid "Invoking @command{guix style}"
  19405. msgstr ""
  19406. #. type: Plain text
  19407. #: guix-git/doc/guix.texi:13209
  19408. msgid "The @command{guix style} command helps packagers style their package definitions according to the latest fashionable trends. The command currently provides the following styling rules:"
  19409. msgstr ""
  19410. #. type: itemize
  19411. #: guix-git/doc/guix.texi:13214
  19412. msgid "formatting package definitions according to the project's conventions (@pxref{Formatting Code});"
  19413. msgstr ""
  19414. #. type: itemize
  19415. #: guix-git/doc/guix.texi:13217
  19416. msgid "rewriting package inputs to the ``new style'', as explained below."
  19417. msgstr ""
  19418. #. type: Plain text
  19419. #: guix-git/doc/guix.texi:13223
  19420. msgid "The way package inputs are written is going through a transition (@pxref{package Reference}, for more on package inputs). Until version 1.3.0, package inputs were written using the ``old style'', where each input was given an explicit label, most of the time the package name:"
  19421. msgstr ""
  19422. #. type: lisp
  19423. #: guix-git/doc/guix.texi:13230
  19424. #, no-wrap
  19425. msgid ""
  19426. "(package\n"
  19427. " ;; @dots{}\n"
  19428. " ;; The \"old style\" (deprecated).\n"
  19429. " (inputs `((\"libunistring\" ,libunistring)\n"
  19430. " (\"libffi\" ,libffi))))\n"
  19431. msgstr ""
  19432. #. type: Plain text
  19433. #: guix-git/doc/guix.texi:13234
  19434. msgid "Today, the old style is deprecated and the preferred style looks like this:"
  19435. msgstr ""
  19436. #. type: lisp
  19437. #: guix-git/doc/guix.texi:13240
  19438. #, no-wrap
  19439. msgid ""
  19440. "(package\n"
  19441. " ;; @dots{}\n"
  19442. " ;; The \"new style\".\n"
  19443. " (inputs (list libunistring libffi)))\n"
  19444. msgstr ""
  19445. #. type: Plain text
  19446. #: guix-git/doc/guix.texi:13245
  19447. msgid "Likewise, uses of @code{alist-delete} and friends to manipulate inputs is now deprecated in favor of @code{modify-inputs} (@pxref{Defining Package Variants}, for more info on @code{modify-inputs})."
  19448. msgstr ""
  19449. #. type: Plain text
  19450. #: guix-git/doc/guix.texi:13250
  19451. msgid "In the vast majority of cases, this is a purely mechanical change on the surface syntax that does not even incur a package rebuild. Running @command{guix style -S inputs} can do that for you, whether you're working on packages in Guix proper or in an external channel."
  19452. msgstr ""
  19453. #. type: example
  19454. #: guix-git/doc/guix.texi:13255
  19455. #, no-wrap
  19456. msgid "guix style [@var{options}] @var{package}@dots{}\n"
  19457. msgstr ""
  19458. #. type: Plain text
  19459. #: guix-git/doc/guix.texi:13262
  19460. msgid "This causes @command{guix style} to analyze and rewrite the definition of @var{package}@dots{} or, when @var{package} is omitted, of @emph{all} the packages. The @option{--styling} or @option{-S} option allows you to select the style rule, the default rule being @code{format}---see below."
  19461. msgstr ""
  19462. #. type: Plain text
  19463. #: guix-git/doc/guix.texi:13264 guix-git/doc/guix.texi:14583
  19464. msgid "The available options are listed below."
  19465. msgstr ""
  19466. #. type: table
  19467. #: guix-git/doc/guix.texi:13269
  19468. msgid "Show source file locations that would be edited but do not modify them."
  19469. msgstr ""
  19470. #. type: item
  19471. #: guix-git/doc/guix.texi:13270
  19472. #, no-wrap
  19473. msgid "--styling=@var{rule}"
  19474. msgstr ""
  19475. #. type: itemx
  19476. #: guix-git/doc/guix.texi:13271
  19477. #, no-wrap
  19478. msgid "-S @var{rule}"
  19479. msgstr ""
  19480. #. type: table
  19481. #: guix-git/doc/guix.texi:13273
  19482. msgid "Apply @var{rule}, one of the following styling rules:"
  19483. msgstr ""
  19484. #. type: item
  19485. #: guix-git/doc/guix.texi:13275
  19486. #, no-wrap
  19487. msgid "format"
  19488. msgstr "alusta"
  19489. #. type: table
  19490. #: guix-git/doc/guix.texi:13280
  19491. msgid "Format the given package definition(s)---this is the default styling rule. For example, a packager running Guix on a checkout (@pxref{Running Guix Before It Is Installed}) might want to reformat the definition of the Coreutils package like so:"
  19492. msgstr ""
  19493. #. type: example
  19494. #: guix-git/doc/guix.texi:13283
  19495. #, no-wrap
  19496. msgid "./pre-inst-env guix style coreutils\n"
  19497. msgstr ""
  19498. #. type: item
  19499. #: guix-git/doc/guix.texi:13285
  19500. #, no-wrap
  19501. msgid "inputs"
  19502. msgstr "sisääntulot"
  19503. #. type: table
  19504. #: guix-git/doc/guix.texi:13289
  19505. msgid "Rewrite package inputs to the ``new style'', as described above. This is how you would rewrite inputs of package @code{whatnot} in your own channel:"
  19506. msgstr ""
  19507. #. type: example
  19508. #: guix-git/doc/guix.texi:13292
  19509. #, no-wrap
  19510. msgid "guix style -L ~/my/channel -S inputs whatnot\n"
  19511. msgstr ""
  19512. #. type: table
  19513. #: guix-git/doc/guix.texi:13298
  19514. msgid "Rewriting is done in a conservative way: preserving comments and bailing out if it cannot make sense of the code that appears in an inputs field. The @option{--input-simplification} option described below provides fine-grain control over when inputs should be simplified."
  19515. msgstr ""
  19516. #. type: table
  19517. #: guix-git/doc/guix.texi:13308
  19518. msgid "Style the package @var{expr} evaluates to."
  19519. msgstr ""
  19520. #. type: example
  19521. #: guix-git/doc/guix.texi:13313
  19522. #, no-wrap
  19523. msgid "guix style -e '(@@ (gnu packages gcc) gcc-5)'\n"
  19524. msgstr ""
  19525. #. type: table
  19526. #: guix-git/doc/guix.texi:13316
  19527. msgid "styles the @code{gcc-5} package definition."
  19528. msgstr ""
  19529. #. type: item
  19530. #: guix-git/doc/guix.texi:13317
  19531. #, no-wrap
  19532. msgid "--input-simplification=@var{policy}"
  19533. msgstr ""
  19534. #. type: table
  19535. #: guix-git/doc/guix.texi:13322
  19536. msgid "When using the @code{inputs} styling rule, with @samp{-S inputs}, this option specifies the package input simplification policy for cases where an input label does not match the corresponding package name. @var{policy} may be one of the following:"
  19537. msgstr ""
  19538. #. type: item
  19539. #: guix-git/doc/guix.texi:13324
  19540. #, no-wrap
  19541. msgid "silent"
  19542. msgstr ""
  19543. #. type: table
  19544. #: guix-git/doc/guix.texi:13327
  19545. msgid "Simplify inputs only when the change is ``silent'', meaning that the package does not need to be rebuilt (its derivation is unchanged)."
  19546. msgstr ""
  19547. #. type: item
  19548. #: guix-git/doc/guix.texi:13328
  19549. #, no-wrap
  19550. msgid "safe"
  19551. msgstr ""
  19552. #. type: table
  19553. #: guix-git/doc/guix.texi:13331
  19554. msgid "Simplify inputs only when that is ``safe'' to do: the package might need to be rebuilt, but the change is known to have no observable effect."
  19555. msgstr ""
  19556. #. type: table
  19557. #: guix-git/doc/guix.texi:13335
  19558. msgid "Simplify inputs even when input labels do not match package names, and even if that might have an observable effect."
  19559. msgstr ""
  19560. #. type: table
  19561. #: guix-git/doc/guix.texi:13339
  19562. msgid "The default is @code{silent}, meaning that input simplifications do not trigger any package rebuild."
  19563. msgstr ""
  19564. #. type: section
  19565. #: guix-git/doc/guix.texi:13342
  19566. #, no-wrap
  19567. msgid "Invoking @command{guix lint}"
  19568. msgstr ""
  19569. #. type: command{#1}
  19570. #: guix-git/doc/guix.texi:13344
  19571. #, no-wrap
  19572. msgid "guix lint"
  19573. msgstr ""
  19574. #. type: cindex
  19575. #: guix-git/doc/guix.texi:13345
  19576. #, no-wrap
  19577. msgid "package, checking for errors"
  19578. msgstr ""
  19579. #. type: Plain text
  19580. #: guix-git/doc/guix.texi:13351
  19581. 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):"
  19582. msgstr ""
  19583. #. type: table
  19584. #: guix-git/doc/guix.texi:13357
  19585. msgid "Validate certain typographical and stylistic rules about package descriptions and synopses."
  19586. msgstr ""
  19587. #. type: item
  19588. #: guix-git/doc/guix.texi:13358
  19589. #, no-wrap
  19590. msgid "inputs-should-be-native"
  19591. msgstr ""
  19592. #. type: table
  19593. #: guix-git/doc/guix.texi:13360
  19594. msgid "Identify inputs that should most likely be native inputs."
  19595. msgstr ""
  19596. #. type: itemx
  19597. #: guix-git/doc/guix.texi:13363
  19598. #, no-wrap
  19599. msgid "mirror-url"
  19600. msgstr ""
  19601. #. type: itemx
  19602. #: guix-git/doc/guix.texi:13364
  19603. #, no-wrap
  19604. msgid "github-url"
  19605. msgstr ""
  19606. #. type: itemx
  19607. #: guix-git/doc/guix.texi:13365
  19608. #, no-wrap
  19609. msgid "source-file-name"
  19610. msgstr ""
  19611. #. type: table
  19612. #: guix-git/doc/guix.texi:13372
  19613. 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})."
  19614. msgstr ""
  19615. #. type: item
  19616. #: guix-git/doc/guix.texi:13373
  19617. #, no-wrap
  19618. msgid "source-unstable-tarball"
  19619. msgstr ""
  19620. #. type: table
  19621. #: guix-git/doc/guix.texi:13377
  19622. 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."
  19623. msgstr ""
  19624. #. type: table
  19625. #: guix-git/doc/guix.texi:13381
  19626. msgid "Check that the derivation of the given packages can be successfully computed for all the supported systems (@pxref{Derivations})."
  19627. msgstr ""
  19628. #. type: item
  19629. #: guix-git/doc/guix.texi:13382
  19630. #, no-wrap
  19631. msgid "profile-collisions"
  19632. msgstr ""
  19633. #. type: table
  19634. #: guix-git/doc/guix.texi:13388
  19635. 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."
  19636. msgstr ""
  19637. #. type: item
  19638. #: guix-git/doc/guix.texi:13389
  19639. #, no-wrap
  19640. msgid "archival"
  19641. msgstr ""
  19642. #. type: cindex
  19643. #: guix-git/doc/guix.texi:13390
  19644. #, no-wrap
  19645. msgid "Software Heritage, source code archive"
  19646. msgstr ""
  19647. #. type: cindex
  19648. #: guix-git/doc/guix.texi:13391
  19649. #, no-wrap
  19650. msgid "archival of source code, Software Heritage"
  19651. msgstr ""
  19652. #. type: table
  19653. #: guix-git/doc/guix.texi:13394
  19654. msgid "Checks whether the package's source code is archived at @uref{https://www.softwareheritage.org, Software Heritage}."
  19655. msgstr ""
  19656. #. type: table
  19657. #: guix-git/doc/guix.texi:13402
  19658. 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}."
  19659. msgstr ""
  19660. #. type: table
  19661. #: guix-git/doc/guix.texi:13407
  19662. 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."
  19663. msgstr ""
  19664. #. type: table
  19665. #: guix-git/doc/guix.texi:13413
  19666. 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."
  19667. msgstr ""
  19668. #. type: item
  19669. #: guix-git/doc/guix.texi:13414
  19670. #, no-wrap
  19671. msgid "cve"
  19672. msgstr ""
  19673. #. type: cindex
  19674. #: guix-git/doc/guix.texi:13415 guix-git/doc/guix.texi:38629
  19675. #, no-wrap
  19676. msgid "security vulnerabilities"
  19677. msgstr ""
  19678. #. type: cindex
  19679. #: guix-git/doc/guix.texi:13416
  19680. #, no-wrap
  19681. msgid "CVE, Common Vulnerabilities and Exposures"
  19682. msgstr ""
  19683. #. type: table
  19684. #: guix-git/doc/guix.texi:13421
  19685. 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}."
  19686. msgstr ""
  19687. #. type: table
  19688. #: guix-git/doc/guix.texi:13423
  19689. msgid "To view information about a particular vulnerability, visit pages such as:"
  19690. msgstr ""
  19691. #. type: indicateurl{#1}
  19692. #: guix-git/doc/guix.texi:13427
  19693. msgid "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-YYYY-ABCD"
  19694. msgstr ""
  19695. #. type: indicateurl{#1}
  19696. #: guix-git/doc/guix.texi:13429
  19697. msgid "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-YYYY-ABCD"
  19698. msgstr ""
  19699. #. type: table
  19700. #: guix-git/doc/guix.texi:13434
  19701. msgid "where @code{CVE-YYYY-ABCD} is the CVE identifier---e.g., @code{CVE-2015-7554}."
  19702. msgstr ""
  19703. #. type: table
  19704. #: guix-git/doc/guix.texi:13439
  19705. 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:"
  19706. msgstr ""
  19707. #. type: lisp
  19708. #: guix-git/doc/guix.texi:13447
  19709. #, no-wrap
  19710. msgid ""
  19711. "(package\n"
  19712. " (name \"grub\")\n"
  19713. " ;; @dots{}\n"
  19714. " ;; CPE calls this package \"grub2\".\n"
  19715. " (properties '((cpe-name . \"grub2\")\n"
  19716. " (cpe-version . \"2.3\"))))\n"
  19717. msgstr ""
  19718. #. type: table
  19719. #: guix-git/doc/guix.texi:13454
  19720. 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:"
  19721. msgstr ""
  19722. #. type: lisp
  19723. #: guix-git/doc/guix.texi:13464
  19724. #, no-wrap
  19725. msgid ""
  19726. "(package\n"
  19727. " (name \"t1lib\")\n"
  19728. " ;; @dots{}\n"
  19729. " ;; These CVEs no longer apply and can be safely ignored.\n"
  19730. " (properties `((lint-hidden-cve . (\"CVE-2011-0433\"\n"
  19731. " \"CVE-2011-1553\"\n"
  19732. " \"CVE-2011-1554\"\n"
  19733. " \"CVE-2011-5244\")))))\n"
  19734. msgstr ""
  19735. #. type: item
  19736. #: guix-git/doc/guix.texi:13466
  19737. #, no-wrap
  19738. msgid "formatting"
  19739. msgstr ""
  19740. #. type: table
  19741. #: guix-git/doc/guix.texi:13469
  19742. msgid "Warn about obvious source code formatting issues: trailing white space, use of tabulations, etc."
  19743. msgstr ""
  19744. #. type: item
  19745. #: guix-git/doc/guix.texi:13470
  19746. #, no-wrap
  19747. msgid "input-labels"
  19748. msgstr ""
  19749. #. type: table
  19750. #: guix-git/doc/guix.texi:13476
  19751. msgid "Report old-style input labels that do not match the name of the corresponding package. This aims to help migrate from the ``old input style''. @xref{package Reference}, for more information on package inputs and input styles. @xref{Invoking guix style}, on how to migrate to the new style."
  19752. msgstr ""
  19753. #. type: example
  19754. #: guix-git/doc/guix.texi:13482
  19755. #, no-wrap
  19756. msgid "guix lint @var{options} @var{package}@dots{}\n"
  19757. msgstr ""
  19758. #. type: Plain text
  19759. #: guix-git/doc/guix.texi:13486
  19760. 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:"
  19761. msgstr ""
  19762. #. type: item
  19763. #: guix-git/doc/guix.texi:13488
  19764. #, no-wrap
  19765. msgid "--list-checkers"
  19766. msgstr ""
  19767. #. type: table
  19768. #: guix-git/doc/guix.texi:13492
  19769. msgid "List and describe all the available checkers that will be run on packages and exit."
  19770. msgstr ""
  19771. #. type: item
  19772. #: guix-git/doc/guix.texi:13493
  19773. #, no-wrap
  19774. msgid "--checkers"
  19775. msgstr ""
  19776. #. type: itemx
  19777. #: guix-git/doc/guix.texi:13494
  19778. #, no-wrap
  19779. msgid "-c"
  19780. msgstr ""
  19781. #. type: table
  19782. #: guix-git/doc/guix.texi:13497
  19783. msgid "Only enable the checkers specified in a comma-separated list using the names returned by @option{--list-checkers}."
  19784. msgstr ""
  19785. #. type: item
  19786. #: guix-git/doc/guix.texi:13498
  19787. #, no-wrap
  19788. msgid "--exclude"
  19789. msgstr ""
  19790. #. type: table
  19791. #: guix-git/doc/guix.texi:13502
  19792. msgid "Only disable the checkers specified in a comma-separated list using the names returned by @option{--list-checkers}."
  19793. msgstr ""
  19794. #. type: item
  19795. #: guix-git/doc/guix.texi:13503
  19796. #, no-wrap
  19797. msgid "--no-network"
  19798. msgstr ""
  19799. #. type: table
  19800. #: guix-git/doc/guix.texi:13506
  19801. msgid "Only enable the checkers that do not depend on Internet access."
  19802. msgstr ""
  19803. #. type: section
  19804. #: guix-git/doc/guix.texi:13518
  19805. #, no-wrap
  19806. msgid "Invoking @command{guix size}"
  19807. msgstr ""
  19808. #. type: code{#1}
  19809. #: guix-git/doc/guix.texi:13520 guix-git/doc/guix.texi:36228
  19810. #, no-wrap
  19811. msgid "size"
  19812. msgstr ""
  19813. #. type: cindex
  19814. #: guix-git/doc/guix.texi:13521
  19815. #, no-wrap
  19816. msgid "package size"
  19817. msgstr ""
  19818. #. type: command{#1}
  19819. #: guix-git/doc/guix.texi:13523
  19820. #, no-wrap
  19821. msgid "guix size"
  19822. msgstr ""
  19823. #. type: Plain text
  19824. #: guix-git/doc/guix.texi:13530
  19825. 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."
  19826. msgstr ""
  19827. #. type: Plain text
  19828. #: guix-git/doc/guix.texi:13535
  19829. 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:"
  19830. msgstr ""
  19831. #. type: example
  19832. #: guix-git/doc/guix.texi:13548
  19833. #, no-wrap
  19834. msgid ""
  19835. "$ guix size coreutils\n"
  19836. "store item total self\n"
  19837. "/gnu/store/@dots{}-gcc-5.5.0-lib 60.4 30.1 38.1%\n"
  19838. "/gnu/store/@dots{}-glibc-2.27 30.3 28.8 36.6%\n"
  19839. "/gnu/store/@dots{}-coreutils-8.28 78.9 15.0 19.0%\n"
  19840. "/gnu/store/@dots{}-gmp-6.1.2 63.1 2.7 3.4%\n"
  19841. "/gnu/store/@dots{}-bash-static-4.4.12 1.5 1.5 1.9%\n"
  19842. "/gnu/store/@dots{}-acl-2.2.52 61.1 0.4 0.5%\n"
  19843. "/gnu/store/@dots{}-attr-2.4.47 60.6 0.2 0.3%\n"
  19844. "/gnu/store/@dots{}-libcap-2.25 60.5 0.2 0.2%\n"
  19845. "total: 78.9 MiB\n"
  19846. msgstr ""
  19847. #. type: Plain text
  19848. #: guix-git/doc/guix.texi:13554
  19849. 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:"
  19850. msgstr ""
  19851. #. type: example
  19852. #: guix-git/doc/guix.texi:13557
  19853. #, no-wrap
  19854. msgid "$ guix gc -R /gnu/store/@dots{}-coreutils-8.23\n"
  19855. msgstr ""
  19856. #. type: Plain text
  19857. #: guix-git/doc/guix.texi:13565
  19858. 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."
  19859. msgstr ""
  19860. #. type: Plain text
  19861. #: guix-git/doc/guix.texi:13571
  19862. 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.)"
  19863. msgstr ""
  19864. #. type: Plain text
  19865. #: guix-git/doc/guix.texi:13574
  19866. msgid "Since the command also accepts store file names, assessing the size of a build result is straightforward:"
  19867. msgstr ""
  19868. #. type: example
  19869. #: guix-git/doc/guix.texi:13577
  19870. #, no-wrap
  19871. msgid "guix size $(guix system build config.scm)\n"
  19872. msgstr ""
  19873. #. type: Plain text
  19874. #: guix-git/doc/guix.texi:13587
  19875. 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})."
  19876. msgstr ""
  19877. #. type: Plain text
  19878. #: guix-git/doc/guix.texi:13592
  19879. 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."
  19880. msgstr ""
  19881. #. type: Plain text
  19882. #: guix-git/doc/guix.texi:13594
  19883. msgid "You can also specify several package names:"
  19884. msgstr ""
  19885. #. type: example
  19886. #: guix-git/doc/guix.texi:13604
  19887. #, no-wrap
  19888. msgid ""
  19889. "$ guix size coreutils grep sed bash\n"
  19890. "store item total self\n"
  19891. "/gnu/store/@dots{}-coreutils-8.24 77.8 13.8 13.4%\n"
  19892. "/gnu/store/@dots{}-grep-2.22 73.1 0.8 0.8%\n"
  19893. "/gnu/store/@dots{}-bash-4.3.42 72.3 4.7 4.6%\n"
  19894. "/gnu/store/@dots{}-readline-6.3 67.6 1.2 1.2%\n"
  19895. "@dots{}\n"
  19896. "total: 102.3 MiB\n"
  19897. msgstr ""
  19898. #. type: Plain text
  19899. #: guix-git/doc/guix.texi:13610
  19900. 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."
  19901. msgstr ""
  19902. #. type: Plain text
  19903. #: guix-git/doc/guix.texi:13616
  19904. 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})."
  19905. msgstr ""
  19906. #. type: Plain text
  19907. #: guix-git/doc/guix.texi:13618
  19908. msgid "The available options are:"
  19909. msgstr ""
  19910. #. type: table
  19911. #: guix-git/doc/guix.texi:13624
  19912. msgid "Use substitute information from @var{urls}. @xref{client-substitute-urls, the same option for @code{guix build}}."
  19913. msgstr ""
  19914. #. type: item
  19915. #: guix-git/doc/guix.texi:13625
  19916. #, no-wrap
  19917. msgid "--sort=@var{key}"
  19918. msgstr ""
  19919. #. type: table
  19920. #: guix-git/doc/guix.texi:13627
  19921. msgid "Sort lines according to @var{key}, one of the following options:"
  19922. msgstr ""
  19923. #. type: item
  19924. #: guix-git/doc/guix.texi:13629
  19925. #, no-wrap
  19926. msgid "self"
  19927. msgstr ""
  19928. #. type: table
  19929. #: guix-git/doc/guix.texi:13631
  19930. msgid "the size of each item (the default);"
  19931. msgstr ""
  19932. #. type: table
  19933. #: guix-git/doc/guix.texi:13633
  19934. msgid "the total size of the item's closure."
  19935. msgstr ""
  19936. #. type: item
  19937. #: guix-git/doc/guix.texi:13635
  19938. #, no-wrap
  19939. msgid "--map-file=@var{file}"
  19940. msgstr ""
  19941. #. type: table
  19942. #: guix-git/doc/guix.texi:13637
  19943. msgid "Write a graphical map of disk usage in PNG format to @var{file}."
  19944. msgstr ""
  19945. #. type: table
  19946. #: guix-git/doc/guix.texi:13639
  19947. msgid "For the example above, the map looks like this:"
  19948. msgstr ""
  19949. #. type: table
  19950. #: guix-git/doc/guix.texi:13642
  19951. msgid "@image{images/coreutils-size-map,5in,, map of Coreutils disk usage produced by @command{guix size}}"
  19952. msgstr ""
  19953. #. type: table
  19954. #: guix-git/doc/guix.texi:13647
  19955. 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."
  19956. msgstr ""
  19957. #. type: table
  19958. #: guix-git/doc/guix.texi:13651
  19959. msgid "Consider packages for @var{system}---e.g., @code{x86_64-linux}."
  19960. msgstr ""
  19961. #. type: section
  19962. #: guix-git/doc/guix.texi:13662
  19963. #, no-wrap
  19964. msgid "Invoking @command{guix graph}"
  19965. msgstr ""
  19966. #. type: cindex
  19967. #: guix-git/doc/guix.texi:13664
  19968. #, no-wrap
  19969. msgid "DAG"
  19970. msgstr ""
  19971. #. type: command{#1}
  19972. #: guix-git/doc/guix.texi:13665
  19973. #, no-wrap
  19974. msgid "guix graph"
  19975. msgstr ""
  19976. #. type: Plain text
  19977. #: guix-git/doc/guix.texi:13680
  19978. 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:"
  19979. msgstr ""
  19980. #. type: example
  19981. #: guix-git/doc/guix.texi:13683
  19982. #, no-wrap
  19983. msgid "guix graph @var{options} @var{package}@dots{}\n"
  19984. msgstr ""
  19985. #. type: Plain text
  19986. #: guix-git/doc/guix.texi:13688
  19987. 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:"
  19988. msgstr ""
  19989. #. type: example
  19990. #: guix-git/doc/guix.texi:13691
  19991. #, no-wrap
  19992. msgid "guix graph coreutils | dot -Tpdf > dag.pdf\n"
  19993. msgstr ""
  19994. #. type: Plain text
  19995. #: guix-git/doc/guix.texi:13694
  19996. msgid "The output looks like this:"
  19997. msgstr ""
  19998. #. type: Plain text
  19999. #: guix-git/doc/guix.texi:13696
  20000. msgid "@image{images/coreutils-graph,2in,,Dependency graph of the GNU Coreutils}"
  20001. msgstr ""
  20002. #. type: Plain text
  20003. #: guix-git/doc/guix.texi:13698
  20004. msgid "Nice little graph, no?"
  20005. msgstr ""
  20006. #. type: Plain text
  20007. #: guix-git/doc/guix.texi:13701
  20008. msgid "You may find it more pleasant to navigate the graph interactively with @command{xdot} (from the @code{xdot} package):"
  20009. msgstr ""
  20010. #. type: example
  20011. #: guix-git/doc/guix.texi:13704
  20012. #, no-wrap
  20013. msgid "guix graph coreutils | xdot -\n"
  20014. msgstr ""
  20015. #. type: Plain text
  20016. #: guix-git/doc/guix.texi:13711
  20017. 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:"
  20018. msgstr ""
  20019. #. type: table
  20020. #: guix-git/doc/guix.texi:13717
  20021. 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."
  20022. msgstr ""
  20023. #. type: item
  20024. #: guix-git/doc/guix.texi:13718
  20025. #, no-wrap
  20026. msgid "reverse-package"
  20027. msgstr ""
  20028. #. type: table
  20029. #: guix-git/doc/guix.texi:13720
  20030. msgid "This shows the @emph{reverse} DAG of packages. For example:"
  20031. msgstr ""
  20032. #. type: example
  20033. #: guix-git/doc/guix.texi:13723
  20034. #, no-wrap
  20035. msgid "guix graph --type=reverse-package ocaml\n"
  20036. msgstr ""
  20037. #. type: table
  20038. #: guix-git/doc/guix.texi:13728
  20039. 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)."
  20040. msgstr ""
  20041. #. type: table
  20042. #: guix-git/doc/guix.texi:13733
  20043. 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}})."
  20044. msgstr ""
  20045. #. type: item
  20046. #: guix-git/doc/guix.texi:13734
  20047. #, no-wrap
  20048. msgid "bag-emerged"
  20049. msgstr ""
  20050. #. type: table
  20051. #: guix-git/doc/guix.texi:13736
  20052. msgid "This is the package DAG, @emph{including} implicit inputs."
  20053. msgstr ""
  20054. #. type: table
  20055. #: guix-git/doc/guix.texi:13738
  20056. msgid "For instance, the following command:"
  20057. msgstr ""
  20058. #. type: example
  20059. #: guix-git/doc/guix.texi:13741
  20060. #, no-wrap
  20061. msgid "guix graph --type=bag-emerged coreutils\n"
  20062. msgstr ""
  20063. #. type: table
  20064. #: guix-git/doc/guix.texi:13744
  20065. msgid "...@: yields this bigger graph:"
  20066. msgstr ""
  20067. #. type: table
  20068. #: guix-git/doc/guix.texi:13746
  20069. msgid "@image{images/coreutils-bag-graph,,5in,Detailed dependency graph of the GNU Coreutils}"
  20070. msgstr ""
  20071. #. type: table
  20072. #: guix-git/doc/guix.texi:13749
  20073. 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}})."
  20074. msgstr ""
  20075. #. type: table
  20076. #: guix-git/doc/guix.texi:13753
  20077. msgid "Now, note that the dependencies of these implicit inputs---that is, the @dfn{bootstrap dependencies} (@pxref{Bootstrapping})---are not shown here, for conciseness."
  20078. msgstr ""
  20079. #. type: item
  20080. #: guix-git/doc/guix.texi:13754
  20081. #, no-wrap
  20082. msgid "bag"
  20083. msgstr ""
  20084. #. type: table
  20085. #: guix-git/doc/guix.texi:13757
  20086. msgid "Similar to @code{bag-emerged}, but this time including all the bootstrap dependencies."
  20087. msgstr ""
  20088. #. type: item
  20089. #: guix-git/doc/guix.texi:13758
  20090. #, no-wrap
  20091. msgid "bag-with-origins"
  20092. msgstr ""
  20093. #. type: table
  20094. #: guix-git/doc/guix.texi:13760
  20095. msgid "Similar to @code{bag}, but also showing origins and their dependencies."
  20096. msgstr ""
  20097. #. type: item
  20098. #: guix-git/doc/guix.texi:13761
  20099. #, no-wrap
  20100. msgid "reverse-bag"
  20101. msgstr ""
  20102. #. type: table
  20103. #: guix-git/doc/guix.texi:13764
  20104. msgid "This shows the @emph{reverse} DAG of packages. Unlike @code{reverse-package}, it also takes implicit dependencies into account. For example:"
  20105. msgstr ""
  20106. #. type: example
  20107. #: guix-git/doc/guix.texi:13767
  20108. #, no-wrap
  20109. msgid "guix graph -t reverse-bag dune\n"
  20110. msgstr ""
  20111. #. type: table
  20112. #: guix-git/doc/guix.texi:13774
  20113. 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."
  20114. msgstr ""
  20115. #. type: table
  20116. #: guix-git/doc/guix.texi:13780
  20117. 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."
  20118. msgstr ""
  20119. #. type: table
  20120. #: guix-git/doc/guix.texi:13783
  20121. msgid "For this type of graph, it is also possible to pass a @file{.drv} file name instead of a package name, as in:"
  20122. msgstr ""
  20123. #. type: example
  20124. #: guix-git/doc/guix.texi:13786
  20125. #, no-wrap
  20126. msgid "guix graph -t derivation $(guix system build -d my-config.scm)\n"
  20127. msgstr ""
  20128. #. type: item
  20129. #: guix-git/doc/guix.texi:13788
  20130. #, no-wrap
  20131. msgid "module"
  20132. msgstr "moduuli"
  20133. #. type: table
  20134. #: guix-git/doc/guix.texi:13792
  20135. 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:"
  20136. msgstr ""
  20137. #. type: example
  20138. #: guix-git/doc/guix.texi:13795
  20139. #, no-wrap
  20140. msgid "guix graph -t module guile | xdot -\n"
  20141. msgstr ""
  20142. #. type: Plain text
  20143. #: guix-git/doc/guix.texi:13800
  20144. msgid "All the types above correspond to @emph{build-time dependencies}. The following graph type represents the @emph{run-time dependencies}:"
  20145. msgstr ""
  20146. #. type: table
  20147. #: guix-git/doc/guix.texi:13805
  20148. msgid "This is the graph of @dfn{references} of a package output, as returned by @command{guix gc --references} (@pxref{Invoking guix gc})."
  20149. msgstr ""
  20150. #. type: table
  20151. #: guix-git/doc/guix.texi:13808
  20152. msgid "If the given package output is not available in the store, @command{guix graph} attempts to obtain dependency information from substitutes."
  20153. msgstr ""
  20154. #. type: table
  20155. #: guix-git/doc/guix.texi:13812
  20156. 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!):"
  20157. msgstr ""
  20158. #. type: example
  20159. #: guix-git/doc/guix.texi:13815
  20160. #, no-wrap
  20161. msgid "guix graph -t references $(readlink -f ~/.guix-profile)\n"
  20162. msgstr ""
  20163. #. type: item
  20164. #: guix-git/doc/guix.texi:13817
  20165. #, no-wrap
  20166. msgid "referrers"
  20167. msgstr ""
  20168. #. type: table
  20169. #: guix-git/doc/guix.texi:13820
  20170. msgid "This is the graph of the @dfn{referrers} of a store item, as returned by @command{guix gc --referrers} (@pxref{Invoking guix gc})."
  20171. msgstr ""
  20172. #. type: table
  20173. #: guix-git/doc/guix.texi:13826
  20174. 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."
  20175. msgstr ""
  20176. #. type: table
  20177. #: guix-git/doc/guix.texi:13829
  20178. msgid "It can help determine what is preventing a store item from being garbage collected."
  20179. msgstr ""
  20180. #. type: cindex
  20181. #: guix-git/doc/guix.texi:13832
  20182. #, no-wrap
  20183. msgid "shortest path, between packages"
  20184. msgstr ""
  20185. #. type: Plain text
  20186. #: guix-git/doc/guix.texi:13839
  20187. 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.):"
  20188. msgstr ""
  20189. #. type: example
  20190. #: guix-git/doc/guix.texi:13853
  20191. #, no-wrap
  20192. msgid ""
  20193. "$ guix graph --path emacs libunistring\n"
  20194. "emacs@@26.3\n"
  20195. "mailutils@@3.9\n"
  20196. "libunistring@@0.9.10\n"
  20197. "$ guix graph --path -t derivation emacs libunistring\n"
  20198. "/gnu/store/@dots{}-emacs-26.3.drv\n"
  20199. "/gnu/store/@dots{}-mailutils-3.9.drv\n"
  20200. "/gnu/store/@dots{}-libunistring-0.9.10.drv\n"
  20201. "$ guix graph --path -t references emacs libunistring\n"
  20202. "/gnu/store/@dots{}-emacs-26.3\n"
  20203. "/gnu/store/@dots{}-libidn2-2.2.0\n"
  20204. "/gnu/store/@dots{}-libunistring-0.9.10\n"
  20205. msgstr ""
  20206. #. type: Plain text
  20207. #: guix-git/doc/guix.texi:13861
  20208. msgid "Sometimes you still want to visualize the graph but would like to trim it so it can actually be displayed. One way to do it is via the @option{--max-depth} (or @option{-M}) option, which lets you specify the maximum depth of the graph. In the example below, we visualize only @code{libreoffice} and the nodes whose distance to @code{libreoffice} is at most 2:"
  20209. msgstr ""
  20210. #. type: example
  20211. #: guix-git/doc/guix.texi:13864
  20212. #, no-wrap
  20213. msgid "guix graph -M 2 libreoffice | xdot -f fdp -\n"
  20214. msgstr ""
  20215. #. type: Plain text
  20216. #: guix-git/doc/guix.texi:13868
  20217. msgid "Mind you, that's still a big ball of spaghetti, but at least @command{dot} can render it quickly and it can be browsed somewhat."
  20218. msgstr ""
  20219. #. type: Plain text
  20220. #: guix-git/doc/guix.texi:13870
  20221. msgid "The available options are the following:"
  20222. msgstr ""
  20223. #. type: table
  20224. #: guix-git/doc/guix.texi:13876
  20225. msgid "Produce a graph output of @var{type}, where @var{type} must be one of the values listed above."
  20226. msgstr ""
  20227. #. type: item
  20228. #: guix-git/doc/guix.texi:13877
  20229. #, no-wrap
  20230. msgid "--list-types"
  20231. msgstr ""
  20232. #. type: table
  20233. #: guix-git/doc/guix.texi:13879
  20234. msgid "List the supported graph types."
  20235. msgstr ""
  20236. #. type: item
  20237. #: guix-git/doc/guix.texi:13880
  20238. #, no-wrap
  20239. msgid "--backend=@var{backend}"
  20240. msgstr ""
  20241. #. type: itemx
  20242. #: guix-git/doc/guix.texi:13881
  20243. #, no-wrap
  20244. msgid "-b @var{backend}"
  20245. msgstr ""
  20246. #. type: table
  20247. #: guix-git/doc/guix.texi:13883
  20248. msgid "Produce a graph using the selected @var{backend}."
  20249. msgstr ""
  20250. #. type: item
  20251. #: guix-git/doc/guix.texi:13884
  20252. #, no-wrap
  20253. msgid "--list-backends"
  20254. msgstr ""
  20255. #. type: table
  20256. #: guix-git/doc/guix.texi:13886
  20257. msgid "List the supported graph backends."
  20258. msgstr ""
  20259. #. type: table
  20260. #: guix-git/doc/guix.texi:13888
  20261. msgid "Currently, the available backends are Graphviz and d3.js."
  20262. msgstr ""
  20263. #. type: item
  20264. #: guix-git/doc/guix.texi:13889
  20265. #, no-wrap
  20266. msgid "--path"
  20267. msgstr ""
  20268. #. type: table
  20269. #: guix-git/doc/guix.texi:13894
  20270. 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}:"
  20271. msgstr ""
  20272. #. type: example
  20273. #: guix-git/doc/guix.texi:13901
  20274. #, no-wrap
  20275. msgid ""
  20276. "$ guix graph --path -t references libreoffice llvm\n"
  20277. "/gnu/store/@dots{}-libreoffice-6.4.2.2\n"
  20278. "/gnu/store/@dots{}-libepoxy-1.5.4\n"
  20279. "/gnu/store/@dots{}-mesa-19.3.4\n"
  20280. "/gnu/store/@dots{}-llvm-9.0.1\n"
  20281. msgstr ""
  20282. #. type: example
  20283. #: guix-git/doc/guix.texi:13911
  20284. #, no-wrap
  20285. msgid "guix graph -e '(@@@@ (gnu packages commencement) gnu-make-final)'\n"
  20286. msgstr ""
  20287. #. type: table
  20288. #: guix-git/doc/guix.texi:13916
  20289. msgid "Display the graph for @var{system}---e.g., @code{i686-linux}."
  20290. msgstr ""
  20291. #. type: table
  20292. #: guix-git/doc/guix.texi:13919
  20293. msgid "The package dependency graph is largely architecture-independent, but there are some architecture-dependent bits that this option allows you to visualize."
  20294. msgstr ""
  20295. #. type: Plain text
  20296. #: guix-git/doc/guix.texi:13935
  20297. 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:"
  20298. msgstr ""
  20299. #. type: example
  20300. #: guix-git/doc/guix.texi:13938
  20301. #, no-wrap
  20302. msgid "guix graph git --with-input=openssl=libressl\n"
  20303. msgstr ""
  20304. #. type: Plain text
  20305. #: guix-git/doc/guix.texi:13941
  20306. msgid "So many possibilities, so much fun!"
  20307. msgstr ""
  20308. #. type: section
  20309. #: guix-git/doc/guix.texi:13943
  20310. #, no-wrap
  20311. msgid "Invoking @command{guix publish}"
  20312. msgstr ""
  20313. #. type: command{#1}
  20314. #: guix-git/doc/guix.texi:13945
  20315. #, no-wrap
  20316. msgid "guix publish"
  20317. msgstr ""
  20318. #. type: Plain text
  20319. #: guix-git/doc/guix.texi:13949
  20320. 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})."
  20321. msgstr ""
  20322. #. type: Plain text
  20323. #: guix-git/doc/guix.texi:13955
  20324. 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."
  20325. msgstr ""
  20326. #. type: Plain text
  20327. #: guix-git/doc/guix.texi:13961
  20328. 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."
  20329. msgstr ""
  20330. #. type: Plain text
  20331. #: guix-git/doc/guix.texi:13965
  20332. msgid "The signing key pair must be generated before @command{guix publish} is launched, using @command{guix archive --generate-key} (@pxref{Invoking guix archive})."
  20333. msgstr ""
  20334. #. type: Plain text
  20335. #: guix-git/doc/guix.texi:13970
  20336. 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})."
  20337. msgstr ""
  20338. #. type: example
  20339. #: guix-git/doc/guix.texi:13975
  20340. #, no-wrap
  20341. msgid "guix publish @var{options}@dots{}\n"
  20342. msgstr ""
  20343. #. type: Plain text
  20344. #: guix-git/doc/guix.texi:13979
  20345. msgid "Running @command{guix publish} without any additional arguments will spawn an HTTP server on port 8080:"
  20346. msgstr ""
  20347. #. type: example
  20348. #: guix-git/doc/guix.texi:13982
  20349. #, no-wrap
  20350. msgid "guix publish\n"
  20351. msgstr ""
  20352. #. type: Plain text
  20353. #: guix-git/doc/guix.texi:13986
  20354. msgid "Once a publishing server has been authorized, the daemon may download substitutes from it. @xref{Getting Substitutes from Other Servers}."
  20355. msgstr ""
  20356. #. type: Plain text
  20357. #: guix-git/doc/guix.texi:13994
  20358. 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})."
  20359. msgstr ""
  20360. #. type: Plain text
  20361. #: guix-git/doc/guix.texi:14001
  20362. 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}):"
  20363. msgstr ""
  20364. #. type: example
  20365. #: guix-git/doc/guix.texi:14004
  20366. #, no-wrap
  20367. msgid "http://example.org/file/hello-2.10.tar.gz/sha256/0ssi1@dots{}ndq1i\n"
  20368. msgstr ""
  20369. #. type: Plain text
  20370. #: guix-git/doc/guix.texi:14008
  20371. msgid "Obviously, these URLs only work for files that are in the store; in other cases, they return 404 (``Not Found'')."
  20372. msgstr ""
  20373. #. type: cindex
  20374. #: guix-git/doc/guix.texi:14009
  20375. #, no-wrap
  20376. msgid "build logs, publication"
  20377. msgstr ""
  20378. #. type: Plain text
  20379. #: guix-git/doc/guix.texi:14011
  20380. msgid "Build logs are available from @code{/log} URLs like:"
  20381. msgstr ""
  20382. #. type: example
  20383. #: guix-git/doc/guix.texi:14014
  20384. #, no-wrap
  20385. msgid "http://example.org/log/gwspk@dots{}-guile-2.2.3\n"
  20386. msgstr ""
  20387. #. type: Plain text
  20388. #: guix-git/doc/guix.texi:14024
  20389. 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."
  20390. msgstr ""
  20391. #. type: item
  20392. #: guix-git/doc/guix.texi:14028
  20393. #, no-wrap
  20394. msgid "--port=@var{port}"
  20395. msgstr ""
  20396. #. type: itemx
  20397. #: guix-git/doc/guix.texi:14029
  20398. #, no-wrap
  20399. msgid "-p @var{port}"
  20400. msgstr ""
  20401. #. type: table
  20402. #: guix-git/doc/guix.texi:14031
  20403. msgid "Listen for HTTP requests on @var{port}."
  20404. msgstr ""
  20405. #. type: item
  20406. #: guix-git/doc/guix.texi:14032
  20407. #, no-wrap
  20408. msgid "--listen=@var{host}"
  20409. msgstr ""
  20410. #. type: table
  20411. #: guix-git/doc/guix.texi:14035
  20412. msgid "Listen on the network interface for @var{host}. The default is to accept connections from any interface."
  20413. msgstr ""
  20414. #. type: table
  20415. #: guix-git/doc/guix.texi:14040
  20416. 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."
  20417. msgstr ""
  20418. #. type: item
  20419. #: guix-git/doc/guix.texi:14041
  20420. #, no-wrap
  20421. msgid "--compression[=@var{method}[:@var{level}]]"
  20422. msgstr ""
  20423. #. type: itemx
  20424. #: guix-git/doc/guix.texi:14042
  20425. #, no-wrap
  20426. msgid "-C [@var{method}[:@var{level}]]"
  20427. msgstr ""
  20428. #. type: table
  20429. #: guix-git/doc/guix.texi:14046
  20430. 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."
  20431. msgstr ""
  20432. #. type: table
  20433. #: guix-git/doc/guix.texi:14050
  20434. 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."
  20435. msgstr ""
  20436. #. type: table
  20437. #: guix-git/doc/guix.texi:14057
  20438. 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."
  20439. msgstr ""
  20440. #. type: table
  20441. #: guix-git/doc/guix.texi:14061
  20442. 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}."
  20443. msgstr ""
  20444. #. type: table
  20445. #: guix-git/doc/guix.texi:14070
  20446. 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."
  20447. msgstr ""
  20448. #. type: table
  20449. #: guix-git/doc/guix.texi:14075
  20450. 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."
  20451. msgstr ""
  20452. #. type: item
  20453. #: guix-git/doc/guix.texi:14076
  20454. #, no-wrap
  20455. msgid "--cache=@var{directory}"
  20456. msgstr ""
  20457. #. type: itemx
  20458. #: guix-git/doc/guix.texi:14077
  20459. #, no-wrap
  20460. msgid "-c @var{directory}"
  20461. msgstr ""
  20462. #. type: table
  20463. #: guix-git/doc/guix.texi:14080
  20464. msgid "Cache archives and meta-data (@code{.narinfo} URLs) to @var{directory} and only serve archives that are in cache."
  20465. msgstr ""
  20466. #. type: table
  20467. #: guix-git/doc/guix.texi:14088
  20468. 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."
  20469. msgstr ""
  20470. #. type: table
  20471. #: guix-git/doc/guix.texi:14096
  20472. 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."
  20473. msgstr ""
  20474. #. type: table
  20475. #: guix-git/doc/guix.texi:14103
  20476. 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."
  20477. msgstr ""
  20478. #. type: table
  20479. #: guix-git/doc/guix.texi:14107
  20480. 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."
  20481. msgstr ""
  20482. #. type: table
  20483. #: guix-git/doc/guix.texi:14110
  20484. msgid "When @option{--ttl} is used, cached entries are automatically deleted when they have expired."
  20485. msgstr ""
  20486. #. type: item
  20487. #: guix-git/doc/guix.texi:14111
  20488. #, no-wrap
  20489. msgid "--workers=@var{N}"
  20490. msgstr ""
  20491. #. type: table
  20492. #: guix-git/doc/guix.texi:14114
  20493. msgid "When @option{--cache} is used, request the allocation of @var{N} worker threads to ``bake'' archives."
  20494. msgstr ""
  20495. #. type: item
  20496. #: guix-git/doc/guix.texi:14115
  20497. #, no-wrap
  20498. msgid "--ttl=@var{ttl}"
  20499. msgstr ""
  20500. #. type: table
  20501. #: guix-git/doc/guix.texi:14119 guix-git/doc/guix.texi:33828
  20502. 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."
  20503. msgstr ""
  20504. #. type: table
  20505. #: guix-git/doc/guix.texi:14124
  20506. 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}."
  20507. msgstr ""
  20508. #. type: table
  20509. #: guix-git/doc/guix.texi:14128
  20510. 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."
  20511. msgstr ""
  20512. #. type: item
  20513. #: guix-git/doc/guix.texi:14129
  20514. #, no-wrap
  20515. msgid "--negative-ttl=@var{ttl}"
  20516. msgstr ""
  20517. #. type: table
  20518. #: guix-git/doc/guix.texi:14134 guix-git/doc/guix.texi:33837
  20519. 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."
  20520. msgstr ""
  20521. #. type: table
  20522. #: guix-git/doc/guix.texi:14138
  20523. 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."
  20524. msgstr ""
  20525. #. type: item
  20526. #: guix-git/doc/guix.texi:14139
  20527. #, no-wrap
  20528. msgid "--cache-bypass-threshold=@var{size}"
  20529. msgstr ""
  20530. #. type: table
  20531. #: guix-git/doc/guix.texi:14144
  20532. 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}."
  20533. msgstr ""
  20534. #. type: table
  20535. #: guix-git/doc/guix.texi:14149
  20536. 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."
  20537. msgstr ""
  20538. #. type: table
  20539. #: guix-git/doc/guix.texi:14153
  20540. 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."
  20541. msgstr ""
  20542. #. type: item
  20543. #: guix-git/doc/guix.texi:14154
  20544. #, no-wrap
  20545. msgid "--nar-path=@var{path}"
  20546. msgstr ""
  20547. #. type: table
  20548. #: guix-git/doc/guix.texi:14157
  20549. msgid "Use @var{path} as the prefix for the URLs of ``nar'' files (@pxref{Invoking guix archive, normalized archives})."
  20550. msgstr ""
  20551. #. type: table
  20552. #: guix-git/doc/guix.texi:14161
  20553. 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}."
  20554. msgstr ""
  20555. #. type: item
  20556. #: guix-git/doc/guix.texi:14162
  20557. #, no-wrap
  20558. msgid "--public-key=@var{file}"
  20559. msgstr ""
  20560. #. type: itemx
  20561. #: guix-git/doc/guix.texi:14163
  20562. #, no-wrap
  20563. msgid "--private-key=@var{file}"
  20564. msgstr ""
  20565. #. type: table
  20566. #: guix-git/doc/guix.texi:14166 guix-git/doc/guix.texi:29574
  20567. #: guix-git/doc/guix.texi:29611
  20568. msgid "Use the specific @var{file}s as the public/private key pair used to sign the store items being published."
  20569. msgstr ""
  20570. #. type: table
  20571. #: guix-git/doc/guix.texi:14173
  20572. 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."
  20573. msgstr ""
  20574. #. type: item
  20575. #: guix-git/doc/guix.texi:14174
  20576. #, no-wrap
  20577. msgid "--repl[=@var{port}]"
  20578. msgstr ""
  20579. #. type: itemx
  20580. #: guix-git/doc/guix.texi:14175
  20581. #, no-wrap
  20582. msgid "-r [@var{port}]"
  20583. msgstr ""
  20584. #. type: table
  20585. #: guix-git/doc/guix.texi:14179
  20586. 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."
  20587. msgstr ""
  20588. #. type: Plain text
  20589. #: guix-git/doc/guix.texi:14185
  20590. 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}})."
  20591. msgstr ""
  20592. #. type: Plain text
  20593. #: guix-git/doc/guix.texi:14188
  20594. msgid "If you are instead running Guix on a ``foreign distro'', follow these instructions:"
  20595. msgstr ""
  20596. #. type: itemize
  20597. #: guix-git/doc/guix.texi:14192
  20598. msgid "If your host distro uses the systemd init system:"
  20599. msgstr ""
  20600. #. type: example
  20601. #: guix-git/doc/guix.texi:14197
  20602. #, no-wrap
  20603. msgid ""
  20604. "# ln -s ~root/.guix-profile/lib/systemd/system/guix-publish.service \\\n"
  20605. " /etc/systemd/system/\n"
  20606. "# systemctl start guix-publish && systemctl enable guix-publish\n"
  20607. msgstr ""
  20608. #. type: example
  20609. #: guix-git/doc/guix.texi:14205
  20610. #, no-wrap
  20611. msgid ""
  20612. "# ln -s ~root/.guix-profile/lib/upstart/system/guix-publish.conf /etc/init/\n"
  20613. "# start guix-publish\n"
  20614. msgstr ""
  20615. #. type: itemize
  20616. #: guix-git/doc/guix.texi:14209
  20617. msgid "Otherwise, proceed similarly with your distro's init system."
  20618. msgstr ""
  20619. #. type: section
  20620. #: guix-git/doc/guix.texi:14212
  20621. #, no-wrap
  20622. msgid "Invoking @command{guix challenge}"
  20623. msgstr ""
  20624. #. type: cindex
  20625. #: guix-git/doc/guix.texi:14215
  20626. #, no-wrap
  20627. msgid "verifiable builds"
  20628. msgstr ""
  20629. #. type: command{#1}
  20630. #: guix-git/doc/guix.texi:14216
  20631. #, no-wrap
  20632. msgid "guix challenge"
  20633. msgstr ""
  20634. #. type: cindex
  20635. #: guix-git/doc/guix.texi:14217
  20636. #, no-wrap
  20637. msgid "challenge"
  20638. msgstr ""
  20639. #. type: Plain text
  20640. #: guix-git/doc/guix.texi:14222
  20641. 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."
  20642. msgstr ""
  20643. #. type: Plain text
  20644. #: guix-git/doc/guix.texi:14230
  20645. 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."
  20646. msgstr ""
  20647. #. type: Plain text
  20648. #: guix-git/doc/guix.texi:14239
  20649. 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."
  20650. msgstr ""
  20651. #. type: Plain text
  20652. #: guix-git/doc/guix.texi:14241
  20653. msgid "The command output looks like this:"
  20654. msgstr ""
  20655. #. type: smallexample
  20656. #: guix-git/doc/guix.texi:14253
  20657. #, no-wrap
  20658. msgid ""
  20659. "$ guix challenge --substitute-urls=\"https://@value{SUBSTITUTE-SERVER-1} https://guix.example.org\"\n"
  20660. "updating list of substitutes from 'https://@value{SUBSTITUTE-SERVER-1}'... 100.0%\n"
  20661. "updating list of substitutes from 'https://guix.example.org'... 100.0%\n"
  20662. "/gnu/store/@dots{}-openssl-1.0.2d contents differ:\n"
  20663. " local hash: 0725l22r5jnzazaacncwsvp9kgf42266ayyp814v7djxs7nk963q\n"
  20664. " https://@value{SUBSTITUTE-SERVER-1}/nar/@dots{}-openssl-1.0.2d: 0725l22r5jnzazaacncwsvp9kgf42266ayyp814v7djxs7nk963q\n"
  20665. " https://guix.example.org/nar/@dots{}-openssl-1.0.2d: 1zy4fmaaqcnjrzzajkdn3f5gmjk754b43qkq47llbyak9z0qjyim\n"
  20666. " differing files:\n"
  20667. " /lib/libcrypto.so.1.1\n"
  20668. " /lib/libssl.so.1.1\n"
  20669. "\n"
  20670. msgstr ""
  20671. #. type: smallexample
  20672. #: guix-git/doc/guix.texi:14260
  20673. #, no-wrap
  20674. msgid ""
  20675. "/gnu/store/@dots{}-git-2.5.0 contents differ:\n"
  20676. " local hash: 00p3bmryhjxrhpn2gxs2fy0a15lnip05l97205pgbk5ra395hyha\n"
  20677. " https://@value{SUBSTITUTE-SERVER-1}/nar/@dots{}-git-2.5.0: 069nb85bv4d4a6slrwjdy8v1cn4cwspm3kdbmyb81d6zckj3nq9f\n"
  20678. " https://guix.example.org/nar/@dots{}-git-2.5.0: 0mdqa9w1p6cmli6976v4wi0sw9r4p5prkj7lzfd1877wk11c9c73\n"
  20679. " differing file:\n"
  20680. " /libexec/git-core/git-fsck\n"
  20681. "\n"
  20682. msgstr ""
  20683. #. type: smallexample
  20684. #: guix-git/doc/guix.texi:14267
  20685. #, no-wrap
  20686. msgid ""
  20687. "/gnu/store/@dots{}-pius-2.1.1 contents differ:\n"
  20688. " local hash: 0k4v3m9z1zp8xzzizb7d8kjj72f9172xv078sq4wl73vnq9ig3ax\n"
  20689. " https://@value{SUBSTITUTE-SERVER-1}/nar/@dots{}-pius-2.1.1: 0k4v3m9z1zp8xzzizb7d8kjj72f9172xv078sq4wl73vnq9ig3ax\n"
  20690. " https://guix.example.org/nar/@dots{}-pius-2.1.1: 1cy25x1a4fzq5rk0pmvc8xhwyffnqz95h2bpvqsz2mpvlbccy0gs\n"
  20691. " differing file:\n"
  20692. " /share/man/man1/pius.1.gz\n"
  20693. "\n"
  20694. msgstr ""
  20695. #. type: smallexample
  20696. #: guix-git/doc/guix.texi:14269
  20697. #, no-wrap
  20698. msgid ""
  20699. "@dots{}\n"
  20700. "\n"
  20701. msgstr ""
  20702. #. type: smallexample
  20703. #: guix-git/doc/guix.texi:14274
  20704. #, no-wrap
  20705. msgid ""
  20706. "6,406 store items were analyzed:\n"
  20707. " - 4,749 (74.1%) were identical\n"
  20708. " - 525 (8.2%) differed\n"
  20709. " - 1,132 (17.7%) were inconclusive\n"
  20710. msgstr ""
  20711. #. type: Plain text
  20712. #: guix-git/doc/guix.texi:14282
  20713. 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."
  20714. msgstr ""
  20715. #. type: cindex
  20716. #: guix-git/doc/guix.texi:14283
  20717. #, no-wrap
  20718. msgid "non-determinism, in package builds"
  20719. msgstr ""
  20720. #. type: Plain text
  20721. #: guix-git/doc/guix.texi:14294
  20722. 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."
  20723. msgstr ""
  20724. #. type: Plain text
  20725. #: guix-git/doc/guix.texi:14297
  20726. msgid "To find out what is wrong with this Git binary, the easiest approach is to run:"
  20727. msgstr ""
  20728. #. type: example
  20729. #: guix-git/doc/guix.texi:14302
  20730. #, no-wrap
  20731. msgid ""
  20732. "guix challenge git \\\n"
  20733. " --diff=diffoscope \\\n"
  20734. " --substitute-urls=\"https://@value{SUBSTITUTE-SERVER-1} https://guix.example.org\"\n"
  20735. msgstr ""
  20736. #. type: Plain text
  20737. #: guix-git/doc/guix.texi:14306
  20738. msgid "This automatically invokes @command{diffoscope}, which displays detailed information about files that differ."
  20739. msgstr ""
  20740. #. type: Plain text
  20741. #: guix-git/doc/guix.texi:14309
  20742. msgid "Alternatively, we can do something along these lines (@pxref{Invoking guix archive}):"
  20743. msgstr ""
  20744. #. type: example
  20745. #: guix-git/doc/guix.texi:14314
  20746. #, no-wrap
  20747. msgid ""
  20748. "$ wget -q -O - https://@value{SUBSTITUTE-SERVER-1}/nar/lzip/@dots{}-git-2.5.0 \\\n"
  20749. " | lzip -d | guix archive -x /tmp/git\n"
  20750. "$ diff -ur --no-dereference /gnu/store/@dots{}-git.2.5.0 /tmp/git\n"
  20751. msgstr ""
  20752. #. type: Plain text
  20753. #: guix-git/doc/guix.texi:14323
  20754. 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."
  20755. msgstr ""
  20756. #. type: Plain text
  20757. #: guix-git/doc/guix.texi:14331
  20758. 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."
  20759. msgstr ""
  20760. #. type: Plain text
  20761. #: guix-git/doc/guix.texi:14335
  20762. 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:"
  20763. msgstr ""
  20764. #. type: example
  20765. #: guix-git/doc/guix.texi:14338
  20766. #, no-wrap
  20767. msgid "$ guix challenge @var{package}\n"
  20768. msgstr ""
  20769. #. type: Plain text
  20770. #: guix-git/doc/guix.texi:14343
  20771. msgid "where @var{package} is a package specification such as @code{guile@@2.0} or @code{glibc:debug}."
  20772. msgstr ""
  20773. #. type: example
  20774. #: guix-git/doc/guix.texi:14348
  20775. #, no-wrap
  20776. msgid "guix challenge @var{options} [@var{packages}@dots{}]\n"
  20777. msgstr ""
  20778. #. type: Plain text
  20779. #: guix-git/doc/guix.texi:14355
  20780. 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)."
  20781. msgstr ""
  20782. #. type: Plain text
  20783. #: guix-git/doc/guix.texi:14357
  20784. msgid "The one option that matters is:"
  20785. msgstr ""
  20786. #. type: table
  20787. #: guix-git/doc/guix.texi:14363
  20788. msgid "Consider @var{urls} the whitespace-separated list of substitute source URLs to compare to."
  20789. msgstr ""
  20790. #. type: item
  20791. #: guix-git/doc/guix.texi:14364
  20792. #, no-wrap
  20793. msgid "--diff=@var{mode}"
  20794. msgstr ""
  20795. #. type: table
  20796. #: guix-git/doc/guix.texi:14366
  20797. msgid "Upon mismatches, show differences according to @var{mode}, one of:"
  20798. msgstr ""
  20799. #. type: item
  20800. #: guix-git/doc/guix.texi:14368
  20801. #, no-wrap
  20802. msgid "@code{simple} (the default)"
  20803. msgstr ""
  20804. #. type: table
  20805. #: guix-git/doc/guix.texi:14370
  20806. msgid "Show the list of files that differ."
  20807. msgstr ""
  20808. #. type: code{#1}
  20809. #: guix-git/doc/guix.texi:14371
  20810. #, no-wrap
  20811. msgid "diffoscope"
  20812. msgstr ""
  20813. #. type: var{#1}
  20814. #: guix-git/doc/guix.texi:14372
  20815. #, no-wrap
  20816. msgid "command"
  20817. msgstr "komento"
  20818. #. type: table
  20819. #: guix-git/doc/guix.texi:14375
  20820. msgid "Invoke @uref{https://diffoscope.org/, Diffoscope}, passing it two directories whose contents do not match."
  20821. msgstr ""
  20822. #. type: table
  20823. #: guix-git/doc/guix.texi:14378
  20824. msgid "When @var{command} is an absolute file name, run @var{command} instead of Diffoscope."
  20825. msgstr ""
  20826. #. type: table
  20827. #: guix-git/doc/guix.texi:14381
  20828. msgid "Do not show further details about the differences."
  20829. msgstr ""
  20830. #. type: table
  20831. #: guix-git/doc/guix.texi:14386
  20832. 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."
  20833. msgstr ""
  20834. #. type: item
  20835. #: guix-git/doc/guix.texi:14387
  20836. #, no-wrap
  20837. msgid "--verbose"
  20838. msgstr ""
  20839. #. type: itemx
  20840. #: guix-git/doc/guix.texi:14388
  20841. #, no-wrap
  20842. msgid "-v"
  20843. msgstr ""
  20844. #. type: table
  20845. #: guix-git/doc/guix.texi:14391
  20846. msgid "Show details about matches (identical contents) in addition to information about mismatches."
  20847. msgstr ""
  20848. #. type: section
  20849. #: guix-git/doc/guix.texi:14395
  20850. #, no-wrap
  20851. msgid "Invoking @command{guix copy}"
  20852. msgstr ""
  20853. #. type: cindex
  20854. #: guix-git/doc/guix.texi:14397
  20855. #, no-wrap
  20856. msgid "copy, of store items, over SSH"
  20857. msgstr ""
  20858. #. type: cindex
  20859. #: guix-git/doc/guix.texi:14398
  20860. #, no-wrap
  20861. msgid "SSH, copy of store items"
  20862. msgstr ""
  20863. #. type: cindex
  20864. #: guix-git/doc/guix.texi:14399
  20865. #, no-wrap
  20866. msgid "sharing store items across machines"
  20867. msgstr ""
  20868. #. type: cindex
  20869. #: guix-git/doc/guix.texi:14400
  20870. #, no-wrap
  20871. msgid "transferring store items across machines"
  20872. msgstr ""
  20873. #. type: Plain text
  20874. #: guix-git/doc/guix.texi:14407
  20875. 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}:"
  20876. msgstr ""
  20877. #. type: example
  20878. #: guix-git/doc/guix.texi:14411
  20879. #, no-wrap
  20880. msgid ""
  20881. "guix copy --to=@var{user}@@@var{host} \\\n"
  20882. " coreutils $(readlink -f ~/.guix-profile)\n"
  20883. msgstr ""
  20884. #. type: Plain text
  20885. #: guix-git/doc/guix.texi:14415
  20886. msgid "If some of the items to be copied are already present on @var{host}, they are not actually sent."
  20887. msgstr ""
  20888. #. type: Plain text
  20889. #: guix-git/doc/guix.texi:14418
  20890. msgid "The command below retrieves @code{libreoffice} and @code{gimp} from @var{host}, assuming they are available there:"
  20891. msgstr ""
  20892. #. type: example
  20893. #: guix-git/doc/guix.texi:14421
  20894. #, no-wrap
  20895. msgid "guix copy --from=@var{host} libreoffice gimp\n"
  20896. msgstr ""
  20897. #. type: Plain text
  20898. #: guix-git/doc/guix.texi:14426
  20899. 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."
  20900. msgstr ""
  20901. #. type: Plain text
  20902. #: guix-git/doc/guix.texi:14432
  20903. 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."
  20904. msgstr ""
  20905. #. type: example
  20906. #: guix-git/doc/guix.texi:14437
  20907. #, no-wrap
  20908. msgid "guix copy [--to=@var{spec}|--from=@var{spec}] @var{items}@dots{}\n"
  20909. msgstr ""
  20910. #. type: Plain text
  20911. #: guix-git/doc/guix.texi:14440
  20912. msgid "You must always specify one of the following options:"
  20913. msgstr ""
  20914. #. type: item
  20915. #: guix-git/doc/guix.texi:14442
  20916. #, no-wrap
  20917. msgid "--to=@var{spec}"
  20918. msgstr ""
  20919. #. type: itemx
  20920. #: guix-git/doc/guix.texi:14443
  20921. #, no-wrap
  20922. msgid "--from=@var{spec}"
  20923. msgstr ""
  20924. #. type: table
  20925. #: guix-git/doc/guix.texi:14447
  20926. 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}."
  20927. msgstr ""
  20928. #. type: Plain text
  20929. #: guix-git/doc/guix.texi:14451
  20930. 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}."
  20931. msgstr ""
  20932. #. type: Plain text
  20933. #: guix-git/doc/guix.texi:14455
  20934. 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})."
  20935. msgstr ""
  20936. #. type: section
  20937. #: guix-git/doc/guix.texi:14458
  20938. #, no-wrap
  20939. msgid "Invoking @command{guix container}"
  20940. msgstr ""
  20941. #. type: command{#1}
  20942. #: guix-git/doc/guix.texi:14460
  20943. #, no-wrap
  20944. msgid "guix container"
  20945. msgstr ""
  20946. #. type: quotation
  20947. #: guix-git/doc/guix.texi:14464
  20948. msgid "As of version @value{VERSION}, this tool is experimental. The interface is subject to radical change in the future."
  20949. msgstr ""
  20950. #. type: Plain text
  20951. #: guix-git/doc/guix.texi:14471
  20952. msgid "The purpose of @command{guix container} is to manipulate processes running within an isolated environment, commonly known as a ``container'', typically created by the @command{guix shell} (@pxref{Invoking guix shell}) and @command{guix system container} (@pxref{Invoking guix system}) commands."
  20953. msgstr ""
  20954. #. type: example
  20955. #: guix-git/doc/guix.texi:14476
  20956. #, no-wrap
  20957. msgid "guix container @var{action} @var{options}@dots{}\n"
  20958. msgstr ""
  20959. #. type: Plain text
  20960. #: guix-git/doc/guix.texi:14480
  20961. msgid "@var{action} specifies the operation to perform with a container, and @var{options} specifies the context-specific arguments for the action."
  20962. msgstr ""
  20963. #. type: Plain text
  20964. #: guix-git/doc/guix.texi:14482
  20965. msgid "The following actions are available:"
  20966. msgstr ""
  20967. #. type: item
  20968. #: guix-git/doc/guix.texi:14484
  20969. #, no-wrap
  20970. msgid "exec"
  20971. msgstr ""
  20972. #. type: table
  20973. #: guix-git/doc/guix.texi:14486
  20974. msgid "Execute a command within the context of a running container."
  20975. msgstr ""
  20976. #. type: table
  20977. #: guix-git/doc/guix.texi:14488
  20978. msgid "The syntax is:"
  20979. msgstr ""
  20980. #. type: example
  20981. #: guix-git/doc/guix.texi:14491
  20982. #, no-wrap
  20983. msgid "guix container exec @var{pid} @var{program} @var{arguments}@dots{}\n"
  20984. msgstr ""
  20985. #. type: table
  20986. #: guix-git/doc/guix.texi:14497
  20987. 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}."
  20988. msgstr ""
  20989. #. type: table
  20990. #: guix-git/doc/guix.texi:14501
  20991. 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:"
  20992. msgstr ""
  20993. #. type: example
  20994. #: guix-git/doc/guix.texi:14504
  20995. #, no-wrap
  20996. msgid "guix container exec 9001 /run/current-system/profile/bin/bash --login\n"
  20997. msgstr ""
  20998. #. type: table
  20999. #: guix-git/doc/guix.texi:14508
  21000. 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."
  21001. msgstr ""
  21002. #. type: section
  21003. #: guix-git/doc/guix.texi:14512
  21004. #, no-wrap
  21005. msgid "Invoking @command{guix weather}"
  21006. msgstr ""
  21007. #. type: Plain text
  21008. #: guix-git/doc/guix.texi:14521
  21009. 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})."
  21010. msgstr ""
  21011. #. type: cindex
  21012. #: guix-git/doc/guix.texi:14522
  21013. #, no-wrap
  21014. msgid "statistics, for substitutes"
  21015. msgstr ""
  21016. #. type: cindex
  21017. #: guix-git/doc/guix.texi:14523
  21018. #, no-wrap
  21019. msgid "availability of substitutes"
  21020. msgstr ""
  21021. #. type: cindex
  21022. #: guix-git/doc/guix.texi:14524
  21023. #, no-wrap
  21024. msgid "substitute availability"
  21025. msgstr ""
  21026. #. type: cindex
  21027. #: guix-git/doc/guix.texi:14525
  21028. #, no-wrap
  21029. msgid "weather, substitute availability"
  21030. msgstr ""
  21031. #. type: Plain text
  21032. #: guix-git/doc/guix.texi:14527
  21033. msgid "Here's a sample run:"
  21034. msgstr ""
  21035. #. type: example
  21036. #: guix-git/doc/guix.texi:14539
  21037. #, no-wrap
  21038. msgid ""
  21039. "$ guix weather --substitute-urls=https://guix.example.org\n"
  21040. "computing 5,872 package derivations for x86_64-linux...\n"
  21041. "looking for 6,128 store items on https://guix.example.org..\n"
  21042. "updating list of substitutes from 'https://guix.example.org'... 100.0%\n"
  21043. "https://guix.example.org\n"
  21044. " 43.4% substitutes available (2,658 out of 6,128)\n"
  21045. " 7,032.5 MiB of nars (compressed)\n"
  21046. " 19,824.2 MiB on disk (uncompressed)\n"
  21047. " 0.030 seconds per request (182.9 seconds in total)\n"
  21048. " 33.5 requests per second\n"
  21049. "\n"
  21050. msgstr ""
  21051. #. type: example
  21052. #: guix-git/doc/guix.texi:14549
  21053. #, no-wrap
  21054. msgid ""
  21055. " 9.8% (342 out of 3,470) of the missing items are queued\n"
  21056. " 867 queued builds\n"
  21057. " x86_64-linux: 518 (59.7%)\n"
  21058. " i686-linux: 221 (25.5%)\n"
  21059. " aarch64-linux: 128 (14.8%)\n"
  21060. " build rate: 23.41 builds per hour\n"
  21061. " x86_64-linux: 11.16 builds per hour\n"
  21062. " i686-linux: 6.03 builds per hour\n"
  21063. " aarch64-linux: 6.41 builds per hour\n"
  21064. msgstr ""
  21065. #. type: cindex
  21066. #: guix-git/doc/guix.texi:14551
  21067. #, no-wrap
  21068. msgid "continuous integration, statistics"
  21069. msgstr ""
  21070. #. type: Plain text
  21071. #: guix-git/doc/guix.texi:14562
  21072. 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)."
  21073. msgstr ""
  21074. #. type: Plain text
  21075. #: guix-git/doc/guix.texi:14568
  21076. 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."
  21077. msgstr ""
  21078. #. type: example
  21079. #: guix-git/doc/guix.texi:14573
  21080. #, no-wrap
  21081. msgid "guix weather @var{options}@dots{} [@var{packages}@dots{}]\n"
  21082. msgstr ""
  21083. #. type: Plain text
  21084. #: guix-git/doc/guix.texi:14581
  21085. 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%."
  21086. msgstr ""
  21087. #. type: table
  21088. #: guix-git/doc/guix.texi:14589
  21089. 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."
  21090. msgstr ""
  21091. #. type: table
  21092. #: guix-git/doc/guix.texi:14595
  21093. 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."
  21094. msgstr ""
  21095. #. type: table
  21096. #: guix-git/doc/guix.texi:14601
  21097. 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})."
  21098. msgstr ""
  21099. #. type: table
  21100. #: guix-git/doc/guix.texi:14604
  21101. msgid "This option can be repeated several times, in which case the manifests are concatenated."
  21102. msgstr ""
  21103. #. type: item
  21104. #: guix-git/doc/guix.texi:14605
  21105. #, no-wrap
  21106. msgid "--coverage[=@var{count}]"
  21107. msgstr ""
  21108. #. type: itemx
  21109. #: guix-git/doc/guix.texi:14606
  21110. #, no-wrap
  21111. msgid "-c [@var{count}]"
  21112. msgstr ""
  21113. #. type: table
  21114. #: guix-git/doc/guix.texi:14612
  21115. 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:"
  21116. msgstr ""
  21117. #. type: example
  21118. #: guix-git/doc/guix.texi:14626
  21119. #, no-wrap
  21120. msgid ""
  21121. "$ guix weather --substitute-urls=@value{SUBSTITUTE-URLS} -c 10\n"
  21122. "computing 8,983 package derivations for x86_64-linux...\n"
  21123. "looking for 9,343 store items on @value{SUBSTITUTE-URLS}...\n"
  21124. "updating substitutes from '@value{SUBSTITUTE-URLS}'... 100.0%\n"
  21125. "@value{SUBSTITUTE-URLS}\n"
  21126. " 64.7% substitutes available (6,047 out of 9,343)\n"
  21127. "@dots{}\n"
  21128. "2502 packages are missing from '@value{SUBSTITUTE-URLS}' for 'x86_64-linux', among which:\n"
  21129. " 58 kcoreaddons@@5.49.0 /gnu/store/@dots{}-kcoreaddons-5.49.0\n"
  21130. " 46 qgpgme@@1.11.1 /gnu/store/@dots{}-qgpgme-1.11.1\n"
  21131. " 37 perl-http-cookiejar@@0.008 /gnu/store/@dots{}-perl-http-cookiejar-0.008\n"
  21132. " @dots{}\n"
  21133. msgstr ""
  21134. #. type: table
  21135. #: guix-git/doc/guix.texi:14632
  21136. 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."
  21137. msgstr ""
  21138. #. type: table
  21139. #: guix-git/doc/guix.texi:14636
  21140. 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."
  21141. msgstr ""
  21142. #. type: item
  21143. #: guix-git/doc/guix.texi:14637
  21144. #, no-wrap
  21145. msgid "--display-missing"
  21146. msgstr ""
  21147. #. type: table
  21148. #: guix-git/doc/guix.texi:14639
  21149. msgid "Display the list of store items for which substitutes are missing."
  21150. msgstr ""
  21151. #. type: section
  21152. #: guix-git/doc/guix.texi:14642
  21153. #, no-wrap
  21154. msgid "Invoking @command{guix processes}"
  21155. msgstr ""
  21156. #. type: Plain text
  21157. #: guix-git/doc/guix.texi:14650
  21158. 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:"
  21159. msgstr ""
  21160. #. type: example
  21161. #: guix-git/doc/guix.texi:14656
  21162. #, no-wrap
  21163. msgid ""
  21164. "$ sudo guix processes\n"
  21165. "SessionPID: 19002\n"
  21166. "ClientPID: 19090\n"
  21167. "ClientCommand: guix shell python\n"
  21168. "\n"
  21169. msgstr ""
  21170. #. type: example
  21171. #: guix-git/doc/guix.texi:14660
  21172. #, no-wrap
  21173. msgid ""
  21174. "SessionPID: 19402\n"
  21175. "ClientPID: 19367\n"
  21176. "ClientCommand: guix publish -u guix-publish -p 3000 -C 9 @dots{}\n"
  21177. "\n"
  21178. msgstr ""
  21179. #. type: example
  21180. #: guix-git/doc/guix.texi:14673
  21181. #, no-wrap
  21182. msgid ""
  21183. "SessionPID: 19444\n"
  21184. "ClientPID: 19419\n"
  21185. "ClientCommand: cuirass --cache-directory /var/cache/cuirass @dots{}\n"
  21186. "LockHeld: /gnu/store/@dots{}-perl-ipc-cmd-0.96.lock\n"
  21187. "LockHeld: /gnu/store/@dots{}-python-six-bootstrap-1.11.0.lock\n"
  21188. "LockHeld: /gnu/store/@dots{}-libjpeg-turbo-2.0.0.lock\n"
  21189. "ChildPID: 20495\n"
  21190. "ChildCommand: guix offload x86_64-linux 7200 1 28800\n"
  21191. "ChildPID: 27733\n"
  21192. "ChildCommand: guix offload x86_64-linux 7200 1 28800\n"
  21193. "ChildPID: 27793\n"
  21194. "ChildCommand: guix offload x86_64-linux 7200 1 28800\n"
  21195. msgstr ""
  21196. #. type: Plain text
  21197. #: guix-git/doc/guix.texi:14680
  21198. 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."
  21199. msgstr ""
  21200. #. type: Plain text
  21201. #: guix-git/doc/guix.texi:14687
  21202. 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})."
  21203. msgstr ""
  21204. #. type: Plain text
  21205. #: guix-git/doc/guix.texi:14692
  21206. 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:"
  21207. msgstr ""
  21208. #. type: example
  21209. #: guix-git/doc/guix.texi:14698
  21210. #, no-wrap
  21211. msgid ""
  21212. "$ sudo guix processes | \\\n"
  21213. " recsel -p ClientPID,ClientCommand -e 'LockHeld ~ \"perl\"'\n"
  21214. "ClientPID: 19419\n"
  21215. "ClientCommand: cuirass --cache-directory /var/cache/cuirass @dots{}\n"
  21216. msgstr ""
  21217. #. type: Plain text
  21218. #: guix-git/doc/guix.texi:14701
  21219. msgid "Additional options are listed below."
  21220. msgstr ""
  21221. #. type: table
  21222. #: guix-git/doc/guix.texi:14711
  21223. msgid "The default option. It outputs a set of Session recutils records that include each @code{ChildProcess} as a field."
  21224. msgstr ""
  21225. #. type: item
  21226. #: guix-git/doc/guix.texi:14712
  21227. #, no-wrap
  21228. msgid "normalized"
  21229. msgstr ""
  21230. #. type: table
  21231. #: guix-git/doc/guix.texi:14719
  21232. 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}."
  21233. msgstr ""
  21234. #. type: example
  21235. #: guix-git/doc/guix.texi:14729
  21236. #, no-wrap
  21237. msgid ""
  21238. "$ guix processes --format=normalized | \\\n"
  21239. " recsel \\\n"
  21240. " -j Session \\\n"
  21241. " -t ChildProcess \\\n"
  21242. " -p Session.PID,PID \\\n"
  21243. " -e 'Session.ClientCommand ~ \"guix build\"'\n"
  21244. "PID: 4435\n"
  21245. "Session_PID: 4278\n"
  21246. "\n"
  21247. msgstr ""
  21248. #. type: example
  21249. #: guix-git/doc/guix.texi:14732
  21250. #, no-wrap
  21251. msgid ""
  21252. "PID: 4554\n"
  21253. "Session_PID: 4278\n"
  21254. "\n"
  21255. msgstr ""
  21256. #. type: example
  21257. #: guix-git/doc/guix.texi:14735
  21258. #, no-wrap
  21259. msgid ""
  21260. "PID: 4646\n"
  21261. "Session_PID: 4278\n"
  21262. msgstr ""
  21263. #. type: cindex
  21264. #: guix-git/doc/guix.texi:14742
  21265. #, no-wrap
  21266. msgid "system configuration"
  21267. msgstr ""
  21268. #. type: Plain text
  21269. #: guix-git/doc/guix.texi:14748
  21270. 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."
  21271. msgstr ""
  21272. #. type: Plain text
  21273. #: guix-git/doc/guix.texi:14758
  21274. 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."
  21275. msgstr ""
  21276. #. type: Plain text
  21277. #: guix-git/doc/guix.texi:14763
  21278. 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."
  21279. msgstr ""
  21280. #. type: Plain text
  21281. #: guix-git/doc/guix.texi:14793
  21282. 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:"
  21283. msgstr ""
  21284. #. type: code{#1}
  21285. #: guix-git/doc/guix.texi:14794 guix-git/doc/guix.texi:36147
  21286. #, no-wrap
  21287. msgid "operating-system"
  21288. msgstr "käyttöjärjestelmä"
  21289. #. type: include
  21290. #: guix-git/doc/guix.texi:14796
  21291. #, no-wrap
  21292. msgid "os-config-bare-bones.texi"
  21293. msgstr ""
  21294. #. type: Plain text
  21295. #: guix-git/doc/guix.texi:14803
  21296. 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."
  21297. msgstr ""
  21298. #. type: Plain text
  21299. #: guix-git/doc/guix.texi:14808
  21300. 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}."
  21301. msgstr ""
  21302. #. type: unnumberedsubsec
  21303. #: guix-git/doc/guix.texi:14809
  21304. #, no-wrap
  21305. msgid "Bootloader"
  21306. msgstr ""
  21307. #. type: cindex
  21308. #: guix-git/doc/guix.texi:14811
  21309. #, no-wrap
  21310. msgid "legacy boot, on Intel machines"
  21311. msgstr ""
  21312. #. type: cindex
  21313. #: guix-git/doc/guix.texi:14812
  21314. #, no-wrap
  21315. msgid "BIOS boot, on Intel machines"
  21316. msgstr ""
  21317. #. type: cindex
  21318. #: guix-git/doc/guix.texi:14813
  21319. #, no-wrap
  21320. msgid "UEFI boot"
  21321. msgstr ""
  21322. #. type: cindex
  21323. #: guix-git/doc/guix.texi:14814
  21324. #, no-wrap
  21325. msgid "EFI boot"
  21326. msgstr ""
  21327. #. type: Plain text
  21328. #: guix-git/doc/guix.texi:14820
  21329. 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:"
  21330. msgstr ""
  21331. #. type: lisp
  21332. #: guix-git/doc/guix.texi:14825
  21333. #, no-wrap
  21334. msgid ""
  21335. "(bootloader-configuration\n"
  21336. " (bootloader grub-efi-bootloader)\n"
  21337. " (targets '(\"/boot/efi\")))\n"
  21338. msgstr ""
  21339. #. type: Plain text
  21340. #: guix-git/doc/guix.texi:14829
  21341. msgid "@xref{Bootloader Configuration}, for more information on the available configuration options."
  21342. msgstr ""
  21343. #. type: unnumberedsubsec
  21344. #: guix-git/doc/guix.texi:14830
  21345. #, no-wrap
  21346. msgid "Globally-Visible Packages"
  21347. msgstr ""
  21348. #. type: vindex
  21349. #: guix-git/doc/guix.texi:14832
  21350. #, no-wrap
  21351. msgid "%base-packages"
  21352. msgstr ""
  21353. #. type: Plain text
  21354. #: guix-git/doc/guix.texi:14845
  21355. 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:"
  21356. msgstr ""
  21357. #. type: lisp
  21358. #: guix-git/doc/guix.texi:14849
  21359. #, no-wrap
  21360. msgid ""
  21361. "(use-modules (gnu packages))\n"
  21362. "(use-modules (gnu packages dns))\n"
  21363. "\n"
  21364. msgstr ""
  21365. #. type: lisp
  21366. #: guix-git/doc/guix.texi:14854
  21367. #, no-wrap
  21368. msgid ""
  21369. "(operating-system\n"
  21370. " ;; ...\n"
  21371. " (packages (cons (list isc-bind \"utils\")\n"
  21372. " %base-packages)))\n"
  21373. msgstr ""
  21374. #. type: findex
  21375. #: guix-git/doc/guix.texi:14856
  21376. #, no-wrap
  21377. msgid "specification->package"
  21378. msgstr ""
  21379. #. type: Plain text
  21380. #: guix-git/doc/guix.texi:14865
  21381. 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:"
  21382. msgstr ""
  21383. #. type: lisp
  21384. #: guix-git/doc/guix.texi:14868
  21385. #, no-wrap
  21386. msgid ""
  21387. "(use-modules (gnu packages))\n"
  21388. "\n"
  21389. msgstr ""
  21390. #. type: lisp
  21391. #: guix-git/doc/guix.texi:14874
  21392. #, no-wrap
  21393. msgid ""
  21394. "(operating-system\n"
  21395. " ;; ...\n"
  21396. " (packages (append (map specification->package\n"
  21397. " '(\"tcpdump\" \"htop\" \"gnupg@@2.0\"))\n"
  21398. " %base-packages)))\n"
  21399. msgstr ""
  21400. #. type: unnumberedsubsec
  21401. #: guix-git/doc/guix.texi:14876
  21402. #, no-wrap
  21403. msgid "System Services"
  21404. msgstr "Järjestelmäpalvelut"
  21405. #. type: cindex
  21406. #: guix-git/doc/guix.texi:14878 guix-git/doc/guix.texi:34860
  21407. #: guix-git/doc/guix.texi:36387
  21408. #, no-wrap
  21409. msgid "services"
  21410. msgstr "palvelut"
  21411. #. type: vindex
  21412. #: guix-git/doc/guix.texi:14879
  21413. #, no-wrap
  21414. msgid "%base-services"
  21415. msgstr ""
  21416. #. type: Plain text
  21417. #: guix-git/doc/guix.texi:14889
  21418. 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})."
  21419. msgstr ""
  21420. #. type: cindex
  21421. #: guix-git/doc/guix.texi:14890
  21422. #, no-wrap
  21423. msgid "customization, of services"
  21424. msgstr ""
  21425. #. type: findex
  21426. #: guix-git/doc/guix.texi:14891
  21427. #, no-wrap
  21428. msgid "modify-services"
  21429. msgstr ""
  21430. #. type: Plain text
  21431. #: guix-git/doc/guix.texi:14895
  21432. 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."
  21433. msgstr ""
  21434. #. type: anchor{#1}
  21435. #: guix-git/doc/guix.texi:14901
  21436. msgid "auto-login to TTY"
  21437. msgstr ""
  21438. #. type: Plain text
  21439. #: guix-git/doc/guix.texi:14901
  21440. 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:"
  21441. msgstr ""
  21442. #. type: lisp
  21443. #: guix-git/doc/guix.texi:14918
  21444. #, no-wrap
  21445. msgid ""
  21446. "(define %my-services\n"
  21447. " ;; My very own list of services.\n"
  21448. " (modify-services %base-services\n"
  21449. " (guix-service-type config =>\n"
  21450. " (guix-configuration\n"
  21451. " (inherit config)\n"
  21452. " ;; Fetch substitutes from example.org.\n"
  21453. " (substitute-urls\n"
  21454. " (list \"https://example.org/guix\"\n"
  21455. " \"https://ci.guix.gnu.org\"))))\n"
  21456. " (mingetty-service-type config =>\n"
  21457. " (mingetty-configuration\n"
  21458. " (inherit config)\n"
  21459. " ;; Automatically log in as \"guest\".\n"
  21460. " (auto-login \"guest\")))))\n"
  21461. "\n"
  21462. msgstr ""
  21463. #. type: lisp
  21464. #: guix-git/doc/guix.texi:14922
  21465. #, no-wrap
  21466. msgid ""
  21467. "(operating-system\n"
  21468. " ;; @dots{}\n"
  21469. " (services %my-services))\n"
  21470. msgstr ""
  21471. #. type: Plain text
  21472. #: guix-git/doc/guix.texi:14935
  21473. 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."
  21474. msgstr ""
  21475. #. type: Plain text
  21476. #: guix-git/doc/guix.texi:14942
  21477. msgid "The configuration for a typical ``desktop'' usage, with an encrypted root partition, a swap file on the root partition, the X11 display server, GNOME and Xfce (users can choose which of these desktop environments to use at the log-in screen by pressing @kbd{F1}), network management, power management, and more, would look like this:"
  21478. msgstr ""
  21479. #. type: include
  21480. #: guix-git/doc/guix.texi:14944
  21481. #, no-wrap
  21482. msgid "os-config-desktop.texi"
  21483. msgstr ""
  21484. #. type: Plain text
  21485. #: guix-git/doc/guix.texi:14949
  21486. msgid "A graphical system with a choice of lightweight window managers instead of full-blown desktop environments would look like this:"
  21487. msgstr ""
  21488. #. type: include
  21489. #: guix-git/doc/guix.texi:14951
  21490. #, no-wrap
  21491. msgid "os-config-lightweight-desktop.texi"
  21492. msgstr ""
  21493. #. type: Plain text
  21494. #: guix-git/doc/guix.texi:14957
  21495. 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."
  21496. msgstr ""
  21497. #. type: Plain text
  21498. #: guix-git/doc/guix.texi:14961
  21499. 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."
  21500. msgstr ""
  21501. #. type: Plain text
  21502. #: guix-git/doc/guix.texi:14968
  21503. 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:"
  21504. msgstr ""
  21505. #. type: lisp
  21506. #: guix-git/doc/guix.texi:14973
  21507. #, no-wrap
  21508. msgid ""
  21509. "(remove (lambda (service)\n"
  21510. " (eq? (service-kind service) avahi-service-type))\n"
  21511. " %desktop-services)\n"
  21512. msgstr ""
  21513. #. type: Plain text
  21514. #: guix-git/doc/guix.texi:14976
  21515. msgid "Alternatively, the @code{modify-services} macro can be used:"
  21516. msgstr ""
  21517. #. type: lisp
  21518. #: guix-git/doc/guix.texi:14980
  21519. #, no-wrap
  21520. msgid ""
  21521. "(modify-services %desktop-services\n"
  21522. " (delete avahi-service-type))\n"
  21523. msgstr ""
  21524. #. type: unnumberedsubsec
  21525. #: guix-git/doc/guix.texi:14983
  21526. #, no-wrap
  21527. msgid "Instantiating the System"
  21528. msgstr ""
  21529. #. type: Plain text
  21530. #: guix-git/doc/guix.texi:14990
  21531. 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})."
  21532. msgstr ""
  21533. #. type: Plain text
  21534. #: guix-git/doc/guix.texi:14998
  21535. 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."
  21536. msgstr ""
  21537. #. type: cindex
  21538. #: guix-git/doc/guix.texi:14999
  21539. #, no-wrap
  21540. msgid "roll-back, of the operating system"
  21541. msgstr ""
  21542. #. type: Plain text
  21543. #: guix-git/doc/guix.texi:15009
  21544. 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}."
  21545. msgstr ""
  21546. #. type: Plain text
  21547. #: guix-git/doc/guix.texi:15015
  21548. 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})."
  21549. msgstr ""
  21550. #. type: unnumberedsubsec
  21551. #: guix-git/doc/guix.texi:15016
  21552. #, no-wrap
  21553. msgid "The Programming Interface"
  21554. msgstr ""
  21555. #. type: Plain text
  21556. #: guix-git/doc/guix.texi:15021
  21557. msgid "At the Scheme level, the bulk of an @code{operating-system} declaration is instantiated with the following monadic procedure (@pxref{The Store Monad}):"
  21558. msgstr ""
  21559. #. type: deffn
  21560. #: guix-git/doc/guix.texi:15022
  21561. #, no-wrap
  21562. msgid "{Monadic Procedure} operating-system-derivation os"
  21563. msgstr ""
  21564. #. type: deffn
  21565. #: guix-git/doc/guix.texi:15025
  21566. msgid "Return a derivation that builds @var{os}, an @code{operating-system} object (@pxref{Derivations})."
  21567. msgstr ""
  21568. #. type: deffn
  21569. #: guix-git/doc/guix.texi:15029
  21570. 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}."
  21571. msgstr ""
  21572. #. type: Plain text
  21573. #: guix-git/doc/guix.texi:15034
  21574. 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!"
  21575. msgstr ""
  21576. #. type: section
  21577. #: guix-git/doc/guix.texi:15037
  21578. #, no-wrap
  21579. msgid "@code{operating-system} Reference"
  21580. msgstr ""
  21581. #. type: Plain text
  21582. #: guix-git/doc/guix.texi:15042
  21583. msgid "This section summarizes all the options available in @code{operating-system} declarations (@pxref{Using the Configuration System})."
  21584. msgstr ""
  21585. #. type: deftp
  21586. #: guix-git/doc/guix.texi:15043
  21587. #, no-wrap
  21588. msgid "{Data Type} operating-system"
  21589. msgstr ""
  21590. #. type: deftp
  21591. #: guix-git/doc/guix.texi:15047
  21592. 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})."
  21593. msgstr ""
  21594. #. type: item
  21595. #: guix-git/doc/guix.texi:15049
  21596. #, no-wrap
  21597. msgid "@code{kernel} (default: @code{linux-libre})"
  21598. msgstr ""
  21599. #. type: table
  21600. #: guix-git/doc/guix.texi:15054
  21601. 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.}."
  21602. msgstr ""
  21603. #. type: code{#1}
  21604. #: guix-git/doc/guix.texi:15055 guix-git/doc/guix.texi:31198
  21605. #, no-wrap
  21606. msgid "hurd"
  21607. msgstr ""
  21608. #. type: item
  21609. #: guix-git/doc/guix.texi:15056
  21610. #, no-wrap
  21611. msgid "@code{hurd} (default: @code{#f})"
  21612. msgstr ""
  21613. #. type: table
  21614. #: guix-git/doc/guix.texi:15061
  21615. 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."
  21616. msgstr ""
  21617. #. type: quotation
  21618. #: guix-git/doc/guix.texi:15064
  21619. msgid "This feature is experimental and only supported for disk images."
  21620. msgstr ""
  21621. #. type: item
  21622. #: guix-git/doc/guix.texi:15066
  21623. #, no-wrap
  21624. msgid "@code{kernel-loadable-modules} (default: '())"
  21625. msgstr ""
  21626. #. type: table
  21627. #: guix-git/doc/guix.texi:15069
  21628. msgid "A list of objects (usually packages) to collect loadable kernel modules from--e.g. @code{(list ddcci-driver-linux)}."
  21629. msgstr ""
  21630. #. type: item
  21631. #: guix-git/doc/guix.texi:15070
  21632. #, no-wrap
  21633. msgid "@code{kernel-arguments} (default: @code{%default-kernel-arguments})"
  21634. msgstr ""
  21635. #. type: table
  21636. #: guix-git/doc/guix.texi:15073
  21637. msgid "List of strings or gexps representing additional arguments to pass on the command-line of the kernel---e.g., @code{(\"console=ttyS0\")}."
  21638. msgstr ""
  21639. #. type: code{#1}
  21640. #: guix-git/doc/guix.texi:15074 guix-git/doc/guix.texi:35092
  21641. #: guix-git/doc/guix.texi:35111
  21642. #, no-wrap
  21643. msgid "bootloader"
  21644. msgstr ""
  21645. #. type: table
  21646. #: guix-git/doc/guix.texi:15076
  21647. msgid "The system bootloader configuration object. @xref{Bootloader Configuration}."
  21648. msgstr ""
  21649. #. type: code{#1}
  21650. #: guix-git/doc/guix.texi:15077 guix-git/doc/guix.texi:35285
  21651. #, no-wrap
  21652. msgid "label"
  21653. msgstr "nimiö"
  21654. #. type: table
  21655. #: guix-git/doc/guix.texi:15080
  21656. 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."
  21657. msgstr ""
  21658. #. type: item
  21659. #: guix-git/doc/guix.texi:15081 guix-git/doc/guix.texi:16800
  21660. #: guix-git/doc/guix.texi:19990 guix-git/doc/guix.texi:35215
  21661. #, no-wrap
  21662. msgid "@code{keyboard-layout} (default: @code{#f})"
  21663. msgstr ""
  21664. #. type: table
  21665. #: guix-git/doc/guix.texi:15086
  21666. 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."
  21667. msgstr ""
  21668. #. type: table
  21669. #: guix-git/doc/guix.texi:15091
  21670. 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})."
  21671. msgstr ""
  21672. #. type: quotation
  21673. #: guix-git/doc/guix.texi:15098
  21674. 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."
  21675. msgstr ""
  21676. #. type: item
  21677. #: guix-git/doc/guix.texi:15100
  21678. #, no-wrap
  21679. msgid "@code{initrd-modules} (default: @code{%base-initrd-modules})"
  21680. msgstr ""
  21681. #. type: cindex
  21682. #: guix-git/doc/guix.texi:15101 guix-git/doc/guix.texi:34897
  21683. #: guix-git/doc/guix.texi:35020
  21684. #, no-wrap
  21685. msgid "initrd"
  21686. msgstr ""
  21687. #. type: cindex
  21688. #: guix-git/doc/guix.texi:15102 guix-git/doc/guix.texi:34898
  21689. #: guix-git/doc/guix.texi:35021
  21690. #, no-wrap
  21691. msgid "initial RAM disk"
  21692. msgstr ""
  21693. #. type: table
  21694. #: guix-git/doc/guix.texi:15105
  21695. msgid "The list of Linux kernel modules that need to be available in the initial RAM disk. @xref{Initial RAM Disk}."
  21696. msgstr ""
  21697. #. type: item
  21698. #: guix-git/doc/guix.texi:15106
  21699. #, no-wrap
  21700. msgid "@code{initrd} (default: @code{base-initrd})"
  21701. msgstr ""
  21702. #. type: table
  21703. #: guix-git/doc/guix.texi:15110
  21704. 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}."
  21705. msgstr ""
  21706. #. type: item
  21707. #: guix-git/doc/guix.texi:15111
  21708. #, no-wrap
  21709. msgid "@code{firmware} (default: @code{%base-firmware})"
  21710. msgstr ""
  21711. #. type: cindex
  21712. #: guix-git/doc/guix.texi:15112
  21713. #, no-wrap
  21714. msgid "firmware"
  21715. msgstr "laiteohjelmisto"
  21716. #. type: table
  21717. #: guix-git/doc/guix.texi:15114
  21718. msgid "List of firmware packages loadable by the operating system kernel."
  21719. msgstr ""
  21720. #. type: table
  21721. #: guix-git/doc/guix.texi:15119
  21722. 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."
  21723. msgstr ""
  21724. #. type: code{#1}
  21725. #: guix-git/doc/guix.texi:15120 guix-git/doc/guix.texi:36166
  21726. #, no-wrap
  21727. msgid "host-name"
  21728. msgstr ""
  21729. #. type: table
  21730. #: guix-git/doc/guix.texi:15122
  21731. msgid "The host name."
  21732. msgstr ""
  21733. #. type: code{#1}
  21734. #: guix-git/doc/guix.texi:15123
  21735. #, no-wrap
  21736. msgid "hosts-file"
  21737. msgstr ""
  21738. #. type: cindex
  21739. #: guix-git/doc/guix.texi:15124
  21740. #, no-wrap
  21741. msgid "hosts file"
  21742. msgstr ""
  21743. #. type: table
  21744. #: guix-git/doc/guix.texi:15129
  21745. 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}."
  21746. msgstr ""
  21747. #. type: item
  21748. #: guix-git/doc/guix.texi:15130
  21749. #, no-wrap
  21750. msgid "@code{mapped-devices} (default: @code{'()})"
  21751. msgstr ""
  21752. #. type: table
  21753. #: guix-git/doc/guix.texi:15132
  21754. msgid "A list of mapped devices. @xref{Mapped Devices}."
  21755. msgstr ""
  21756. #. type: code{#1}
  21757. #: guix-git/doc/guix.texi:15133
  21758. #, no-wrap
  21759. msgid "file-systems"
  21760. msgstr "tiedostojärjestelmät"
  21761. #. type: table
  21762. #: guix-git/doc/guix.texi:15135
  21763. msgid "A list of file systems. @xref{File Systems}."
  21764. msgstr ""
  21765. #. type: item
  21766. #: guix-git/doc/guix.texi:15136
  21767. #, no-wrap
  21768. msgid "@code{swap-devices} (default: @code{'()})"
  21769. msgstr ""
  21770. #. type: cindex
  21771. #: guix-git/doc/guix.texi:15137
  21772. #, no-wrap
  21773. msgid "swap devices"
  21774. msgstr ""
  21775. #. type: table
  21776. #: guix-git/doc/guix.texi:15139
  21777. msgid "A list of swap spaces. @xref{Swap Space}."
  21778. msgstr ""
  21779. #. type: item
  21780. #: guix-git/doc/guix.texi:15140
  21781. #, no-wrap
  21782. msgid "@code{users} (default: @code{%base-user-accounts})"
  21783. msgstr ""
  21784. #. type: itemx
  21785. #: guix-git/doc/guix.texi:15141
  21786. #, no-wrap
  21787. msgid "@code{groups} (default: @code{%base-groups})"
  21788. msgstr ""
  21789. #. type: table
  21790. #: guix-git/doc/guix.texi:15143
  21791. msgid "List of user accounts and groups. @xref{User Accounts}."
  21792. msgstr ""
  21793. #. type: table
  21794. #: guix-git/doc/guix.texi:15146
  21795. msgid "If the @code{users} list lacks a user account with UID@tie{}0, a ``root'' account with UID@tie{}0 is automatically added."
  21796. msgstr ""
  21797. #. type: item
  21798. #: guix-git/doc/guix.texi:15147
  21799. #, no-wrap
  21800. msgid "@code{skeletons} (default: @code{(default-skeletons)})"
  21801. msgstr ""
  21802. #. type: table
  21803. #: guix-git/doc/guix.texi:15151
  21804. 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."
  21805. msgstr ""
  21806. #. type: table
  21807. #: guix-git/doc/guix.texi:15153
  21808. msgid "For instance, a valid value may look like this:"
  21809. msgstr ""
  21810. #. type: lisp
  21811. #: guix-git/doc/guix.texi:15159
  21812. #, no-wrap
  21813. msgid ""
  21814. "`((\".bashrc\" ,(plain-file \"bashrc\" \"echo Hello\\n\"))\n"
  21815. " (\".guile\" ,(plain-file \"guile\"\n"
  21816. " \"(use-modules (ice-9 readline))\n"
  21817. " (activate-readline)\")))\n"
  21818. msgstr ""
  21819. #. type: item
  21820. #: guix-git/doc/guix.texi:15161
  21821. #, no-wrap
  21822. msgid "@code{issue} (default: @code{%default-issue})"
  21823. msgstr ""
  21824. #. type: table
  21825. #: guix-git/doc/guix.texi:15164
  21826. msgid "A string denoting the contents of the @file{/etc/issue} file, which is displayed when users log in on a text console."
  21827. msgstr ""
  21828. #. type: item
  21829. #: guix-git/doc/guix.texi:15165
  21830. #, no-wrap
  21831. msgid "@code{packages} (default: @code{%base-packages})"
  21832. msgstr ""
  21833. #. type: table
  21834. #: guix-git/doc/guix.texi:15169
  21835. 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:"
  21836. msgstr ""
  21837. #. type: lisp
  21838. #: guix-git/doc/guix.texi:15174
  21839. #, no-wrap
  21840. msgid ""
  21841. "(cons* git ; the default \"out\" output\n"
  21842. " (list git \"send-email\") ; another output of git\n"
  21843. " %base-packages) ; the default set\n"
  21844. msgstr ""
  21845. #. type: table
  21846. #: guix-git/doc/guix.texi:15179
  21847. msgid "The default set includes core utilities and it is good practice to install non-core utilities in user profiles (@pxref{Invoking guix package})."
  21848. msgstr ""
  21849. #. type: code{#1}
  21850. #: guix-git/doc/guix.texi:15180
  21851. #, no-wrap
  21852. msgid "timezone"
  21853. msgstr "aikavyöhyke"
  21854. #. type: table
  21855. #: guix-git/doc/guix.texi:15182
  21856. msgid "A timezone identifying string---e.g., @code{\"Europe/Paris\"}."
  21857. msgstr ""
  21858. #. type: table
  21859. #: guix-git/doc/guix.texi:15186
  21860. 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."
  21861. msgstr ""
  21862. #. type: item
  21863. #: guix-git/doc/guix.texi:15187 guix-git/doc/guix.texi:21635
  21864. #, no-wrap
  21865. msgid "@code{locale} (default: @code{\"en_US.utf8\"})"
  21866. msgstr ""
  21867. #. type: table
  21868. #: guix-git/doc/guix.texi:15190
  21869. msgid "The name of the default locale (@pxref{Locale Names,,, libc, The GNU C Library Reference Manual}). @xref{Locales}, for more information."
  21870. msgstr ""
  21871. #. type: item
  21872. #: guix-git/doc/guix.texi:15191
  21873. #, no-wrap
  21874. msgid "@code{locale-definitions} (default: @code{%default-locale-definitions})"
  21875. msgstr ""
  21876. #. type: table
  21877. #: guix-git/doc/guix.texi:15194
  21878. msgid "The list of locale definitions to be compiled and that may be used at run time. @xref{Locales}."
  21879. msgstr ""
  21880. #. type: item
  21881. #: guix-git/doc/guix.texi:15195
  21882. #, no-wrap
  21883. msgid "@code{locale-libcs} (default: @code{(list @var{glibc})})"
  21884. msgstr ""
  21885. #. type: table
  21886. #: guix-git/doc/guix.texi:15199
  21887. 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."
  21888. msgstr ""
  21889. #. type: item
  21890. #: guix-git/doc/guix.texi:15200
  21891. #, no-wrap
  21892. msgid "@code{name-service-switch} (default: @code{%default-nss})"
  21893. msgstr ""
  21894. #. type: table
  21895. #: guix-git/doc/guix.texi:15204
  21896. msgid "Configuration of the libc name service switch (NSS)---a @code{<name-service-switch>} object. @xref{Name Service Switch}, for details."
  21897. msgstr ""
  21898. #. type: item
  21899. #: guix-git/doc/guix.texi:15205
  21900. #, no-wrap
  21901. msgid "@code{services} (default: @code{%base-services})"
  21902. msgstr ""
  21903. #. type: table
  21904. #: guix-git/doc/guix.texi:15207
  21905. msgid "A list of service objects denoting system services. @xref{Services}."
  21906. msgstr ""
  21907. #. type: cindex
  21908. #: guix-git/doc/guix.texi:15208
  21909. #, no-wrap
  21910. msgid "essential services"
  21911. msgstr ""
  21912. #. type: item
  21913. #: guix-git/doc/guix.texi:15209
  21914. #, no-wrap
  21915. msgid "@code{essential-services} (default: ...)"
  21916. msgstr ""
  21917. #. type: table
  21918. #: guix-git/doc/guix.texi:15214
  21919. 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."
  21920. msgstr ""
  21921. #. type: item
  21922. #: guix-git/doc/guix.texi:15215
  21923. #, no-wrap
  21924. msgid "@code{pam-services} (default: @code{(base-pam-services)})"
  21925. msgstr ""
  21926. #. type: cindex
  21927. #: guix-git/doc/guix.texi:15216
  21928. #, no-wrap
  21929. msgid "PAM"
  21930. msgstr ""
  21931. #. type: cindex
  21932. #: guix-git/doc/guix.texi:15217
  21933. #, no-wrap
  21934. msgid "pluggable authentication modules"
  21935. msgstr ""
  21936. #. type: table
  21937. #: guix-git/doc/guix.texi:15220
  21938. msgid "Linux @dfn{pluggable authentication module} (PAM) services."
  21939. msgstr ""
  21940. #. type: item
  21941. #: guix-git/doc/guix.texi:15221
  21942. #, no-wrap
  21943. msgid "@code{setuid-programs} (default: @code{%setuid-programs})"
  21944. msgstr ""
  21945. #. type: table
  21946. #: guix-git/doc/guix.texi:15224
  21947. msgid "List of @code{<setuid-program>}. @xref{Setuid Programs}, for more information."
  21948. msgstr ""
  21949. #. type: item
  21950. #: guix-git/doc/guix.texi:15225
  21951. #, no-wrap
  21952. msgid "@code{sudoers-file} (default: @code{%sudoers-specification})"
  21953. msgstr ""
  21954. #. type: cindex
  21955. #: guix-git/doc/guix.texi:15226
  21956. #, no-wrap
  21957. msgid "sudoers file"
  21958. msgstr ""
  21959. #. type: table
  21960. #: guix-git/doc/guix.texi:15229
  21961. msgid "The contents of the @file{/etc/sudoers} file as a file-like object (@pxref{G-Expressions, @code{local-file} and @code{plain-file}})."
  21962. msgstr ""
  21963. #. type: table
  21964. #: guix-git/doc/guix.texi:15234
  21965. 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}."
  21966. msgstr ""
  21967. #. type: deffn
  21968. #: guix-git/doc/guix.texi:15237
  21969. #, no-wrap
  21970. msgid "{Scheme Syntax} this-operating-system"
  21971. msgstr ""
  21972. #. type: deffn
  21973. #: guix-git/doc/guix.texi:15240
  21974. msgid "When used in the @emph{lexical scope} of an operating system field definition, this identifier resolves to the operating system being defined."
  21975. msgstr ""
  21976. #. type: deffn
  21977. #: guix-git/doc/guix.texi:15243
  21978. msgid "The example below shows how to refer to the operating system being defined in the definition of the @code{label} field:"
  21979. msgstr ""
  21980. #. type: lisp
  21981. #: guix-git/doc/guix.texi:15246 guix-git/doc/guix.texi:19198
  21982. #, no-wrap
  21983. msgid ""
  21984. "(use-modules (gnu) (guix))\n"
  21985. "\n"
  21986. msgstr ""
  21987. #. type: lisp
  21988. #: guix-git/doc/guix.texi:15251
  21989. #, no-wrap
  21990. msgid ""
  21991. "(operating-system\n"
  21992. " ;; ...\n"
  21993. " (label (package-full-name\n"
  21994. " (operating-system-kernel this-operating-system))))\n"
  21995. msgstr ""
  21996. #. type: deffn
  21997. #: guix-git/doc/guix.texi:15255
  21998. msgid "It is an error to refer to @code{this-operating-system} outside an operating system definition."
  21999. msgstr ""
  22000. #. type: Plain text
  22001. #: guix-git/doc/guix.texi:15266
  22002. 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:"
  22003. msgstr ""
  22004. #. type: lisp
  22005. #: guix-git/doc/guix.texi:15272
  22006. #, no-wrap
  22007. msgid ""
  22008. "(file-system\n"
  22009. " (mount-point \"/home\")\n"
  22010. " (device \"/dev/sda3\")\n"
  22011. " (type \"ext4\"))\n"
  22012. msgstr ""
  22013. #. type: Plain text
  22014. #: guix-git/doc/guix.texi:15276
  22015. msgid "As usual, some of the fields are mandatory---those shown in the example above---while others can be omitted. These are described below."
  22016. msgstr ""
  22017. #. type: deftp
  22018. #: guix-git/doc/guix.texi:15277
  22019. #, no-wrap
  22020. msgid "{Data Type} file-system"
  22021. msgstr ""
  22022. #. type: deftp
  22023. #: guix-git/doc/guix.texi:15280
  22024. msgid "Objects of this type represent file systems to be mounted. They contain the following members:"
  22025. msgstr ""
  22026. #. type: item
  22027. #: guix-git/doc/guix.texi:15282 guix-git/doc/guix.texi:15662
  22028. #: guix-git/doc/guix.texi:17804
  22029. #, no-wrap
  22030. msgid "type"
  22031. msgstr "tyyppi"
  22032. #. type: table
  22033. #: guix-git/doc/guix.texi:15285
  22034. msgid "This is a string specifying the type of the file system---e.g., @code{\"ext4\"}."
  22035. msgstr ""
  22036. #. type: code{#1}
  22037. #: guix-git/doc/guix.texi:15286
  22038. #, no-wrap
  22039. msgid "mount-point"
  22040. msgstr "liitospiste"
  22041. #. type: table
  22042. #: guix-git/doc/guix.texi:15288
  22043. msgid "This designates the place where the file system is to be mounted."
  22044. msgstr ""
  22045. #. type: item
  22046. #: guix-git/doc/guix.texi:15289 guix-git/doc/guix.texi:17754
  22047. #, no-wrap
  22048. msgid "device"
  22049. msgstr "laite"
  22050. #. type: table
  22051. #: guix-git/doc/guix.texi:15299
  22052. 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.}."
  22053. msgstr ""
  22054. #. type: findex
  22055. #: guix-git/doc/guix.texi:15300
  22056. #, no-wrap
  22057. msgid "file-system-label"
  22058. msgstr ""
  22059. #. type: table
  22060. #: guix-git/doc/guix.texi:15305
  22061. 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:"
  22062. msgstr ""
  22063. #. type: lisp
  22064. #: guix-git/doc/guix.texi:15311
  22065. #, no-wrap
  22066. msgid ""
  22067. "(file-system\n"
  22068. " (mount-point \"/home\")\n"
  22069. " (type \"ext4\")\n"
  22070. " (device (file-system-label \"my-home\")))\n"
  22071. msgstr ""
  22072. #. type: code{#1}
  22073. #: guix-git/doc/guix.texi:15313 guix-git/doc/guix.texi:33595
  22074. #: guix-git/doc/guix.texi:33611
  22075. #, no-wrap
  22076. msgid "uuid"
  22077. msgstr ""
  22078. #. type: table
  22079. #: guix-git/doc/guix.texi:15321
  22080. 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:"
  22081. msgstr ""
  22082. #. type: lisp
  22083. #: guix-git/doc/guix.texi:15327
  22084. #, no-wrap
  22085. msgid ""
  22086. "(file-system\n"
  22087. " (mount-point \"/home\")\n"
  22088. " (type \"ext4\")\n"
  22089. " (device (uuid \"4dab5feb-d176-45de-b287-9b0a6e4c01cb\")))\n"
  22090. msgstr ""
  22091. #. type: table
  22092. #: guix-git/doc/guix.texi:15335
  22093. 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."
  22094. msgstr ""
  22095. #. type: item
  22096. #: guix-git/doc/guix.texi:15336
  22097. #, no-wrap
  22098. msgid "@code{flags} (default: @code{'()})"
  22099. msgstr ""
  22100. #. type: table
  22101. #: guix-git/doc/guix.texi:15346
  22102. 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."
  22103. msgstr ""
  22104. #. type: item
  22105. #: guix-git/doc/guix.texi:15347
  22106. #, no-wrap
  22107. msgid "@code{options} (default: @code{#f})"
  22108. msgstr ""
  22109. #. type: table
  22110. #: guix-git/doc/guix.texi:15356
  22111. 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."
  22112. msgstr ""
  22113. #. type: item
  22114. #: guix-git/doc/guix.texi:15357
  22115. #, no-wrap
  22116. msgid "@code{mount?} (default: @code{#t})"
  22117. msgstr ""
  22118. #. type: table
  22119. #: guix-git/doc/guix.texi:15362
  22120. 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."
  22121. msgstr ""
  22122. #. type: item
  22123. #: guix-git/doc/guix.texi:15363
  22124. #, no-wrap
  22125. msgid "@code{needed-for-boot?} (default: @code{#f})"
  22126. msgstr ""
  22127. #. type: table
  22128. #: guix-git/doc/guix.texi:15368
  22129. 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."
  22130. msgstr ""
  22131. #. type: item
  22132. #: guix-git/doc/guix.texi:15369
  22133. #, no-wrap
  22134. msgid "@code{check?} (default: @code{#t})"
  22135. msgstr ""
  22136. #. type: table
  22137. #: guix-git/doc/guix.texi:15373
  22138. msgid "This Boolean indicates whether the file system should be checked for errors before being mounted. How and when this happens can be further adjusted with the following options."
  22139. msgstr ""
  22140. #. type: item
  22141. #: guix-git/doc/guix.texi:15374
  22142. #, no-wrap
  22143. msgid "@code{skip-check-if-clean?} (default: @code{#t})"
  22144. msgstr ""
  22145. #. type: table
  22146. #: guix-git/doc/guix.texi:15379
  22147. msgid "When true, this Boolean indicates that a file system check triggered by @code{check?} may exit early if the file system is marked as ``clean'', meaning that it was previously correctly unmounted and should not contain errors."
  22148. msgstr ""
  22149. #. type: table
  22150. #: guix-git/doc/guix.texi:15383
  22151. msgid "Setting this to false will always force a full consistency check when @code{check?} is true. This may take a very long time and is not recommended on healthy systems---in fact, it may reduce reliability!"
  22152. msgstr ""
  22153. #. type: table
  22154. #: guix-git/doc/guix.texi:15387
  22155. msgid "Conversely, some primitive file systems like @code{fat} do not keep track of clean shutdowns and will perform a full scan regardless of the value of this option."
  22156. msgstr ""
  22157. #. type: item
  22158. #: guix-git/doc/guix.texi:15388
  22159. #, no-wrap
  22160. msgid "@code{repair} (default: @code{'preen})"
  22161. msgstr ""
  22162. #. type: table
  22163. #: guix-git/doc/guix.texi:15391
  22164. msgid "When @code{check?} finds errors, it can (try to) repair them and continue booting. This option controls when and how to do so."
  22165. msgstr ""
  22166. #. type: table
  22167. #: guix-git/doc/guix.texi:15395
  22168. msgid "If false, try not to modify the file system at all. Checking certain file systems like @code{jfs} may still write to the device to replay the journal. No repairs will be attempted."
  22169. msgstr ""
  22170. #. type: table
  22171. #: guix-git/doc/guix.texi:15398
  22172. msgid "If @code{#t}, try to repair any errors found and assume ``yes'' to all questions. This will fix the most errors, but may be risky."
  22173. msgstr ""
  22174. #. type: table
  22175. #: guix-git/doc/guix.texi:15402
  22176. msgid "If @code{'preen}, repair only errors that are safe to fix without human interaction. What that means is left up to the developers of each file system and may be equivalent to ``none'' or ``all''."
  22177. msgstr ""
  22178. #. type: item
  22179. #: guix-git/doc/guix.texi:15403
  22180. #, no-wrap
  22181. msgid "@code{create-mount-point?} (default: @code{#f})"
  22182. msgstr ""
  22183. #. type: table
  22184. #: guix-git/doc/guix.texi:15405
  22185. msgid "When true, the mount point is created if it does not exist yet."
  22186. msgstr ""
  22187. #. type: item
  22188. #: guix-git/doc/guix.texi:15406
  22189. #, no-wrap
  22190. msgid "@code{mount-may-fail?} (default: @code{#f})"
  22191. msgstr ""
  22192. #. type: table
  22193. #: guix-git/doc/guix.texi:15411
  22194. 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."
  22195. msgstr ""
  22196. #. type: item
  22197. #: guix-git/doc/guix.texi:15412 guix-git/doc/guix.texi:15808
  22198. #, no-wrap
  22199. msgid "@code{dependencies} (default: @code{'()})"
  22200. msgstr ""
  22201. #. type: table
  22202. #: guix-git/doc/guix.texi:15416
  22203. 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."
  22204. msgstr ""
  22205. #. type: table
  22206. #: guix-git/doc/guix.texi:15420
  22207. 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}."
  22208. msgstr ""
  22209. #. type: table
  22210. #: guix-git/doc/guix.texi:15423
  22211. msgid "Another example is a file system that depends on a mapped device, for example for an encrypted partition (@pxref{Mapped Devices})."
  22212. msgstr ""
  22213. #. type: deffn
  22214. #: guix-git/doc/guix.texi:15426
  22215. #, no-wrap
  22216. msgid "{Scheme Procedure} file-system-label @var{str}"
  22217. msgstr ""
  22218. #. type: deffn
  22219. #: guix-git/doc/guix.texi:15429
  22220. msgid "This procedure returns an opaque file system label from @var{str}, a string:"
  22221. msgstr ""
  22222. #. type: lisp
  22223. #: guix-git/doc/guix.texi:15433
  22224. #, no-wrap
  22225. msgid ""
  22226. "(file-system-label \"home\")\n"
  22227. "@result{} #<file-system-label \"home\">\n"
  22228. msgstr ""
  22229. #. type: deffn
  22230. #: guix-git/doc/guix.texi:15437
  22231. msgid "File system labels are used to refer to file systems by label rather than by device name. See above for examples."
  22232. msgstr ""
  22233. #. type: Plain text
  22234. #: guix-git/doc/guix.texi:15441
  22235. msgid "The @code{(gnu system file-systems)} exports the following useful variables."
  22236. msgstr ""
  22237. #. type: defvr
  22238. #: guix-git/doc/guix.texi:15442
  22239. #, no-wrap
  22240. msgid "{Scheme Variable} %base-file-systems"
  22241. msgstr ""
  22242. #. type: defvr
  22243. #: guix-git/doc/guix.texi:15447
  22244. 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."
  22245. msgstr ""
  22246. #. type: defvr
  22247. #: guix-git/doc/guix.texi:15449
  22248. #, no-wrap
  22249. msgid "{Scheme Variable} %pseudo-terminal-file-system"
  22250. msgstr ""
  22251. #. type: defvr
  22252. #: guix-git/doc/guix.texi:15455
  22253. 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}."
  22254. msgstr ""
  22255. #. type: defvr
  22256. #: guix-git/doc/guix.texi:15457
  22257. #, no-wrap
  22258. msgid "{Scheme Variable} %shared-memory-file-system"
  22259. msgstr ""
  22260. #. type: defvr
  22261. #: guix-git/doc/guix.texi:15461
  22262. 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})."
  22263. msgstr ""
  22264. #. type: defvr
  22265. #: guix-git/doc/guix.texi:15463
  22266. #, no-wrap
  22267. msgid "{Scheme Variable} %immutable-store"
  22268. msgstr ""
  22269. #. type: defvr
  22270. #: guix-git/doc/guix.texi:15468
  22271. 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."
  22272. msgstr ""
  22273. #. type: defvr
  22274. #: guix-git/doc/guix.texi:15471
  22275. msgid "The daemon itself is still able to write to the store: it remounts it read-write in its own ``name space.''"
  22276. msgstr ""
  22277. #. type: defvr
  22278. #: guix-git/doc/guix.texi:15473
  22279. #, no-wrap
  22280. msgid "{Scheme Variable} %binary-format-file-system"
  22281. msgstr ""
  22282. #. type: defvr
  22283. #: guix-git/doc/guix.texi:15477
  22284. 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."
  22285. msgstr ""
  22286. #. type: defvr
  22287. #: guix-git/doc/guix.texi:15479
  22288. #, no-wrap
  22289. msgid "{Scheme Variable} %fuse-control-file-system"
  22290. msgstr ""
  22291. #. type: defvr
  22292. #: guix-git/doc/guix.texi:15483
  22293. 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."
  22294. msgstr ""
  22295. #. type: Plain text
  22296. #: guix-git/doc/guix.texi:15487
  22297. msgid "The @code{(gnu system uuid)} module provides tools to deal with file system ``unique identifiers'' (UUIDs)."
  22298. msgstr ""
  22299. #. type: deffn
  22300. #: guix-git/doc/guix.texi:15488
  22301. #, no-wrap
  22302. msgid "{Scheme Procedure} uuid @var{str} [@var{type}]"
  22303. msgstr ""
  22304. #. type: deffn
  22305. #: guix-git/doc/guix.texi:15491
  22306. msgid "Return an opaque UUID (unique identifier) object of the given @var{type} (a symbol) by parsing @var{str} (a string):"
  22307. msgstr ""
  22308. #. type: lisp
  22309. #: guix-git/doc/guix.texi:15495
  22310. #, no-wrap
  22311. msgid ""
  22312. "(uuid \"4dab5feb-d176-45de-b287-9b0a6e4c01cb\")\n"
  22313. "@result{} #<<uuid> type: dce bv: @dots{}>\n"
  22314. "\n"
  22315. msgstr ""
  22316. #. type: lisp
  22317. #: guix-git/doc/guix.texi:15498
  22318. #, no-wrap
  22319. msgid ""
  22320. "(uuid \"1234-ABCD\" 'fat)\n"
  22321. "@result{} #<<uuid> type: fat bv: @dots{}>\n"
  22322. msgstr ""
  22323. #. type: deffn
  22324. #: guix-git/doc/guix.texi:15502
  22325. msgid "@var{type} may be one of @code{dce}, @code{iso9660}, @code{fat}, @code{ntfs}, or one of the commonly found synonyms for these."
  22326. msgstr ""
  22327. #. type: deffn
  22328. #: guix-git/doc/guix.texi:15505
  22329. msgid "UUIDs are another way to unambiguously refer to file systems in operating system configuration. See the examples above."
  22330. msgstr ""
  22331. #. type: subsection
  22332. #: guix-git/doc/guix.texi:15508 guix-git/doc/guix.texi:15509
  22333. #, no-wrap
  22334. msgid "Btrfs file system"
  22335. msgstr ""
  22336. #. type: Plain text
  22337. #: guix-git/doc/guix.texi:15515
  22338. 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."
  22339. msgstr ""
  22340. #. type: Plain text
  22341. #: guix-git/doc/guix.texi:15518
  22342. msgid "In its simplest usage, a Btrfs file system can be described, for example, by:"
  22343. msgstr ""
  22344. #. type: lisp
  22345. #: guix-git/doc/guix.texi:15524
  22346. #, no-wrap
  22347. msgid ""
  22348. "(file-system\n"
  22349. " (mount-point \"/home\")\n"
  22350. " (type \"btrfs\")\n"
  22351. " (device (file-system-label \"my-home\")))\n"
  22352. msgstr ""
  22353. #. type: Plain text
  22354. #: guix-git/doc/guix.texi:15530
  22355. 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}):"
  22356. msgstr ""
  22357. #. type: lisp
  22358. #: guix-git/doc/guix.texi:15538
  22359. #, no-wrap
  22360. msgid ""
  22361. "(file-system\n"
  22362. " (device (file-system-label \"my-btrfs-pool\"))\n"
  22363. " (mount-point \"/\")\n"
  22364. " (type \"btrfs\")\n"
  22365. " (options \"subvol=rootfs\")\n"
  22366. " (dependencies mapped-devices))\n"
  22367. msgstr ""
  22368. #. type: Plain text
  22369. #: guix-git/doc/guix.texi:15549
  22370. 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."
  22371. msgstr ""
  22372. #. type: Plain text
  22373. #: guix-git/doc/guix.texi:15557
  22374. 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.:"
  22375. msgstr ""
  22376. #. type: example
  22377. #: guix-git/doc/guix.texi:15564
  22378. #, no-wrap
  22379. msgid ""
  22380. "/ (top level)\n"
  22381. "├── rootfs (subvolume directory)\n"
  22382. " ├── gnu (normal directory)\n"
  22383. " ├── store (normal directory)\n"
  22384. "[...]\n"
  22385. msgstr ""
  22386. #. type: Plain text
  22387. #: guix-git/doc/guix.texi:15569
  22388. 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."
  22389. msgstr ""
  22390. #. type: Plain text
  22391. #: guix-git/doc/guix.texi:15572
  22392. msgid "The next example shows a nested hierarchy of subvolumes and directories:"
  22393. msgstr ""
  22394. #. type: example
  22395. #: guix-git/doc/guix.texi:15579
  22396. #, no-wrap
  22397. msgid ""
  22398. "/ (top level)\n"
  22399. "├── rootfs (subvolume)\n"
  22400. " ├── gnu (normal directory)\n"
  22401. " ├── store (subvolume)\n"
  22402. "[...]\n"
  22403. msgstr ""
  22404. #. type: Plain text
  22405. #: guix-git/doc/guix.texi:15586
  22406. 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}."
  22407. msgstr ""
  22408. #. type: Plain text
  22409. #: guix-git/doc/guix.texi:15588
  22410. msgid "Finally, a more contrived example of nested subvolumes:"
  22411. msgstr ""
  22412. #. type: example
  22413. #: guix-git/doc/guix.texi:15595
  22414. #, no-wrap
  22415. msgid ""
  22416. "/ (top level)\n"
  22417. "├── root-snapshots (subvolume)\n"
  22418. " ├── root-current (subvolume)\n"
  22419. " ├── guix-store (subvolume)\n"
  22420. "[...]\n"
  22421. msgstr ""
  22422. #. type: Plain text
  22423. #: guix-git/doc/guix.texi:15602
  22424. 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:"
  22425. msgstr ""
  22426. #. type: lisp
  22427. #: guix-git/doc/guix.texi:15610
  22428. #, no-wrap
  22429. msgid ""
  22430. "(file-system\n"
  22431. " (device (file-system-label \"btrfs-pool-1\"))\n"
  22432. " (mount-point \"/gnu/store\")\n"
  22433. " (type \"btrfs\")\n"
  22434. " (options \"subvol=root-snapshots/root-current/guix-store,\\\n"
  22435. "compress-force=zstd,space_cache=v2\"))\n"
  22436. msgstr ""
  22437. #. type: cindex
  22438. #: guix-git/doc/guix.texi:15615
  22439. #, no-wrap
  22440. msgid "device mapping"
  22441. msgstr ""
  22442. #. type: cindex
  22443. #: guix-git/doc/guix.texi:15616
  22444. #, no-wrap
  22445. msgid "mapped devices"
  22446. msgstr ""
  22447. #. type: Plain text
  22448. #: guix-git/doc/guix.texi:15633
  22449. 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."
  22450. msgstr ""
  22451. #. type: Plain text
  22452. #: guix-git/doc/guix.texi:15636
  22453. msgid "Mapped devices are declared using the @code{mapped-device} form, defined as follows; for examples, see below."
  22454. msgstr ""
  22455. #. type: deftp
  22456. #: guix-git/doc/guix.texi:15637
  22457. #, no-wrap
  22458. msgid "{Data Type} mapped-device"
  22459. msgstr ""
  22460. #. type: deftp
  22461. #: guix-git/doc/guix.texi:15640
  22462. msgid "Objects of this type represent device mappings that will be made when the system boots up."
  22463. msgstr ""
  22464. #. type: table
  22465. #: guix-git/doc/guix.texi:15647
  22466. 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."
  22467. msgstr ""
  22468. #. type: code{#1}
  22469. #: guix-git/doc/guix.texi:15648 guix-git/doc/guix.texi:15803
  22470. #, no-wrap
  22471. msgid "target"
  22472. msgstr "kohde"
  22473. #. type: table
  22474. #: guix-git/doc/guix.texi:15657
  22475. 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\"}."
  22476. msgstr ""
  22477. #. type: code{#1}
  22478. #: guix-git/doc/guix.texi:15658 guix-git/doc/guix.texi:35187
  22479. #, no-wrap
  22480. msgid "targets"
  22481. msgstr "kohteet"
  22482. #. type: table
  22483. #: guix-git/doc/guix.texi:15661
  22484. msgid "This list of strings specifies names of the resulting mapped devices in case there are several. The format is identical to @var{target}."
  22485. msgstr ""
  22486. #. type: table
  22487. #: guix-git/doc/guix.texi:15665
  22488. msgid "This must be a @code{mapped-device-kind} object, which specifies how @var{source} is mapped to @var{target}."
  22489. msgstr ""
  22490. #. type: defvr
  22491. #: guix-git/doc/guix.texi:15668
  22492. #, no-wrap
  22493. msgid "{Scheme Variable} luks-device-mapping"
  22494. msgstr ""
  22495. #. type: defvr
  22496. #: guix-git/doc/guix.texi:15672
  22497. 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."
  22498. msgstr ""
  22499. #. type: defvr
  22500. #: guix-git/doc/guix.texi:15674
  22501. #, no-wrap
  22502. msgid "{Scheme Variable} raid-device-mapping"
  22503. msgstr ""
  22504. #. type: defvr
  22505. #: guix-git/doc/guix.texi:15679
  22506. 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."
  22507. msgstr ""
  22508. #. type: cindex
  22509. #: guix-git/doc/guix.texi:15681
  22510. #, no-wrap
  22511. msgid "LVM, logical volume manager"
  22512. msgstr ""
  22513. #. type: defvr
  22514. #: guix-git/doc/guix.texi:15682
  22515. #, no-wrap
  22516. msgid "{Scheme Variable} lvm-device-mapping"
  22517. msgstr ""
  22518. #. type: defvr
  22519. #: guix-git/doc/guix.texi:15687
  22520. 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."
  22521. msgstr ""
  22522. #. type: cindex
  22523. #: guix-git/doc/guix.texi:15689
  22524. #, no-wrap
  22525. msgid "disk encryption"
  22526. msgstr ""
  22527. #. type: cindex
  22528. #: guix-git/doc/guix.texi:15690
  22529. #, no-wrap
  22530. msgid "LUKS"
  22531. msgstr "LUKS"
  22532. #. type: Plain text
  22533. #: guix-git/doc/guix.texi:15698
  22534. 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})."
  22535. msgstr ""
  22536. #. type: lisp
  22537. #: guix-git/doc/guix.texi:15704
  22538. #, no-wrap
  22539. msgid ""
  22540. "(mapped-device\n"
  22541. " (source \"/dev/sda3\")\n"
  22542. " (target \"home\")\n"
  22543. " (type luks-device-mapping))\n"
  22544. msgstr ""
  22545. #. type: Plain text
  22546. #: guix-git/doc/guix.texi:15709
  22547. 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:"
  22548. msgstr ""
  22549. #. type: example
  22550. #: guix-git/doc/guix.texi:15712
  22551. #, no-wrap
  22552. msgid "cryptsetup luksUUID /dev/sda3\n"
  22553. msgstr ""
  22554. #. type: Plain text
  22555. #: guix-git/doc/guix.texi:15715
  22556. msgid "and use it as follows:"
  22557. msgstr ""
  22558. #. type: lisp
  22559. #: guix-git/doc/guix.texi:15721
  22560. #, no-wrap
  22561. msgid ""
  22562. "(mapped-device\n"
  22563. " (source (uuid \"cb67fc72-0d54-4c88-9d4b-b225f30b0f44\"))\n"
  22564. " (target \"home\")\n"
  22565. " (type luks-device-mapping))\n"
  22566. msgstr ""
  22567. #. type: cindex
  22568. #: guix-git/doc/guix.texi:15723
  22569. #, no-wrap
  22570. msgid "swap encryption"
  22571. msgstr ""
  22572. #. type: Plain text
  22573. #: guix-git/doc/guix.texi:15730
  22574. msgid "It is also desirable to encrypt swap space, since swap space may contain sensitive data. One way to accomplish that is to use a swap file in a file system on a device mapped via LUKS encryption. In this way, the swap file is encrypted because the entire device is encrypted. @xref{Swap Space}, or @xref{Preparing for Installation,,Disk Partitioning}, for an example."
  22575. msgstr ""
  22576. #. type: Plain text
  22577. #: guix-git/doc/guix.texi:15733
  22578. msgid "A RAID device formed of the partitions @file{/dev/sda1} and @file{/dev/sdb1} may be declared as follows:"
  22579. msgstr ""
  22580. #. type: lisp
  22581. #: guix-git/doc/guix.texi:15739
  22582. #, no-wrap
  22583. msgid ""
  22584. "(mapped-device\n"
  22585. " (source (list \"/dev/sda1\" \"/dev/sdb1\"))\n"
  22586. " (target \"/dev/md0\")\n"
  22587. " (type raid-device-mapping))\n"
  22588. msgstr ""
  22589. #. type: Plain text
  22590. #: guix-git/doc/guix.texi:15746
  22591. 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."
  22592. msgstr ""
  22593. #. type: Plain text
  22594. #: guix-git/doc/guix.texi:15749
  22595. msgid "LVM logical volumes ``alpha'' and ``beta'' from volume group ``vg0'' can be declared as follows:"
  22596. msgstr ""
  22597. #. type: lisp
  22598. #: guix-git/doc/guix.texi:15755
  22599. #, no-wrap
  22600. msgid ""
  22601. "(mapped-device\n"
  22602. " (source \"vg0\")\n"
  22603. " (targets (list \"vg0-alpha\" \"vg0-beta\"))\n"
  22604. " (type lvm-device-mapping))\n"
  22605. msgstr ""
  22606. #. type: Plain text
  22607. #: guix-git/doc/guix.texi:15760
  22608. 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})."
  22609. msgstr ""
  22610. #. type: cindex
  22611. #: guix-git/doc/guix.texi:15763
  22612. #, no-wrap
  22613. msgid "swap space"
  22614. msgstr "sivutuksen tila"
  22615. #. type: Plain text
  22616. #: guix-git/doc/guix.texi:15773
  22617. msgid "Swap space, as it is commonly called, is a disk area specifically designated for paging: the process in charge of memory management (the Linux kernel or Hurd's default pager) can decide that some memory pages stored in RAM which belong to a running program but are unused should be stored on disk instead. It unloads those from the RAM, freeing up precious fast memory, and writes them to the swap space. If the program tries to access that very page, the memory management process loads it back into memory for the program to use."
  22618. msgstr ""
  22619. #. type: Plain text
  22620. #: guix-git/doc/guix.texi:15779
  22621. msgid "A common misconception about swap is that it is only useful when small amounts of RAM are available to the system. However, it should be noted that kernels often use all available RAM for disk access caching to make I/O faster, and thus paging out unused portions of program memory will expand the RAM available for such caching."
  22622. msgstr ""
  22623. #. type: Plain text
  22624. #: guix-git/doc/guix.texi:15783
  22625. msgid "For a more detailed description of how memory is managed from the viewpoint of a monolithic kernel, @xref{Memory Concepts,,, libc, The GNU C Library Reference Manual}."
  22626. msgstr ""
  22627. #. type: Plain text
  22628. #: guix-git/doc/guix.texi:15792
  22629. msgid "The Linux kernel has support for swap partitions and swap files: the former uses a whole disk partition for paging, whereas the second uses a file on a file system for that (the file system driver needs to support it). On a comparable setup, both have the same performance, so one should consider ease of use when deciding between them. Partitions are ``simpler'' and do not need file system support, but need to be allocated at disk formatting time (logical volumes notwithstanding), whereas files can be allocated and deallocated at any time."
  22630. msgstr ""
  22631. #. type: Plain text
  22632. #: guix-git/doc/guix.texi:15797
  22633. msgid "Note that swap space is not zeroed on shutdown, so sensitive data (such as passwords) may linger on it if it was paged out. As such, you should consider having your swap reside on an encrypted device (@pxref{Mapped Devices})."
  22634. msgstr ""
  22635. #. type: deftp
  22636. #: guix-git/doc/guix.texi:15798
  22637. #, no-wrap
  22638. msgid "{Data Type} swap-space"
  22639. msgstr ""
  22640. #. type: deftp
  22641. #: guix-git/doc/guix.texi:15801
  22642. msgid "Objects of this type represent swap spaces. They contain the following members:"
  22643. msgstr ""
  22644. #. type: table
  22645. #: guix-git/doc/guix.texi:15807
  22646. msgid "The device or file to use, either a UUID, a @code{file-system-label} or a string, as in the definition of a @code{file-system} (@pxref{File Systems})."
  22647. msgstr ""
  22648. #. type: table
  22649. #: guix-git/doc/guix.texi:15814
  22650. msgid "A list of @code{file-system} or @code{mapped-device} objects, upon which the availability of the space depends. Note that just like for @code{file-system} objects, dependencies which are needed for boot and mounted in early userspace are not managed by the Shepherd, and so automatically filtered out for you."
  22651. msgstr ""
  22652. #. type: item
  22653. #: guix-git/doc/guix.texi:15815
  22654. #, no-wrap
  22655. msgid "@code{priority} (default: @code{#f})"
  22656. msgstr ""
  22657. #. type: table
  22658. #: guix-git/doc/guix.texi:15822
  22659. msgid "Only supported by the Linux kernel. Either @code{#f} to disable swap priority, or an integer between 0 and 32767. The kernel will first use swap spaces of higher priority when paging, and use same priority spaces on a round-robin basis. The kernel will use swap spaces without a set priority after prioritized spaces, and in the order that they appeared in (not round-robin)."
  22660. msgstr ""
  22661. #. type: item
  22662. #: guix-git/doc/guix.texi:15823
  22663. #, no-wrap
  22664. msgid "@code{discard?} (default: @code{#f})"
  22665. msgstr ""
  22666. #. type: table
  22667. #: guix-git/doc/guix.texi:15827
  22668. msgid "Only supported by the Linux kernel. When true, the kernel will notify the disk controller of discarded pages, for example with the TRIM operation on Solid State Drives."
  22669. msgstr ""
  22670. #. type: Plain text
  22671. #: guix-git/doc/guix.texi:15832
  22672. msgid "Here are some examples:"
  22673. msgstr ""
  22674. #. type: lisp
  22675. #: guix-git/doc/guix.texi:15835
  22676. #, no-wrap
  22677. msgid "(swap-space (target (uuid \"4dab5feb-d176-45de-b287-9b0a6e4c01cb\")))\n"
  22678. msgstr ""
  22679. #. type: Plain text
  22680. #: guix-git/doc/guix.texi:15840
  22681. 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."
  22682. msgstr ""
  22683. #. type: lisp
  22684. #: guix-git/doc/guix.texi:15845
  22685. #, no-wrap
  22686. msgid ""
  22687. "(swap-space\n"
  22688. " (target (file-system-label \"swap\"))\n"
  22689. " (dependencies mapped-devices))\n"
  22690. msgstr ""
  22691. #. type: Plain text
  22692. #: guix-git/doc/guix.texi:15851
  22693. msgid "Use the partition with label @code{swap}, which can be found after all the @var{mapped-devices} mapped devices have been opened. Again, the @command{swaplabel} command allows you to view and change the label of a Linux swap partition."
  22694. msgstr ""
  22695. #. type: Plain text
  22696. #: guix-git/doc/guix.texi:15854
  22697. msgid "Here's a more involved example with the corresponding @code{file-systems} part of an @code{operating-system} declaration."
  22698. msgstr ""
  22699. #. type: lisp
  22700. #: guix-git/doc/guix.texi:15865
  22701. #, no-wrap
  22702. msgid ""
  22703. "(file-systems\n"
  22704. " (list (file-system\n"
  22705. " (device (file-system-label \"root\"))\n"
  22706. " (mount-point \"/\")\n"
  22707. " (type \"ext4\"))\n"
  22708. " (file-system\n"
  22709. " (device (file-system-label \"btrfs\"))\n"
  22710. " (mount-point \"/btrfs\")\n"
  22711. " (type \"btrfs\"))))\n"
  22712. "\n"
  22713. msgstr ""
  22714. #. type: lisp
  22715. #: guix-git/doc/guix.texi:15872
  22716. #, no-wrap
  22717. msgid ""
  22718. "(swap-devices\n"
  22719. " (list\n"
  22720. " (swap-space\n"
  22721. " (target \"/btrfs/swapfile\")\n"
  22722. " (dependencies (filter (file-system-mount-point-predicate \"/btrfs\")\n"
  22723. " file-systems)))))\n"
  22724. msgstr ""
  22725. #. type: Plain text
  22726. #: guix-git/doc/guix.texi:15877
  22727. msgid "Use the file @file{/btrfs/swapfile} as swap space, which depends on the file system mounted at @file{/btrfs}. Note how we use Guile's filter to select the file system in an elegant fashion!"
  22728. msgstr ""
  22729. #. type: cindex
  22730. #: guix-git/doc/guix.texi:15881
  22731. #, no-wrap
  22732. msgid "users"
  22733. msgstr "käyttäjät"
  22734. #. type: cindex
  22735. #: guix-git/doc/guix.texi:15882
  22736. #, no-wrap
  22737. msgid "accounts"
  22738. msgstr "käyttäjätilit"
  22739. #. type: cindex
  22740. #: guix-git/doc/guix.texi:15883
  22741. #, no-wrap
  22742. msgid "user accounts"
  22743. msgstr ""
  22744. #. type: Plain text
  22745. #: guix-git/doc/guix.texi:15887
  22746. 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:"
  22747. msgstr ""
  22748. #. type: lisp
  22749. #: guix-git/doc/guix.texi:15897
  22750. #, no-wrap
  22751. msgid ""
  22752. "(user-account\n"
  22753. " (name \"alice\")\n"
  22754. " (group \"users\")\n"
  22755. " (supplementary-groups '(\"wheel\" ;allow use of sudo, etc.\n"
  22756. " \"audio\" ;sound card\n"
  22757. " \"video\" ;video devices such as webcams\n"
  22758. " \"cdrom\")) ;the good ol' CD-ROM\n"
  22759. " (comment \"Bob's sister\"))\n"
  22760. msgstr ""
  22761. #. type: Plain text
  22762. #: guix-git/doc/guix.texi:15901
  22763. msgid "Here's a user account that uses a different shell and a custom home directory (the default would be @file{\"/home/bob\"}):"
  22764. msgstr ""
  22765. #. type: lisp
  22766. #: guix-git/doc/guix.texi:15909
  22767. #, no-wrap
  22768. msgid ""
  22769. "(user-account\n"
  22770. " (name \"bob\")\n"
  22771. " (group \"users\")\n"
  22772. " (comment \"Alice's bro\")\n"
  22773. " (shell (file-append zsh \"/bin/zsh\"))\n"
  22774. " (home-directory \"/home/robert\"))\n"
  22775. msgstr ""
  22776. #. type: Plain text
  22777. #: guix-git/doc/guix.texi:15918
  22778. 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."
  22779. msgstr ""
  22780. #. type: deftp
  22781. #: guix-git/doc/guix.texi:15919
  22782. #, no-wrap
  22783. msgid "{Data Type} user-account"
  22784. msgstr ""
  22785. #. type: deftp
  22786. #: guix-git/doc/guix.texi:15922
  22787. msgid "Objects of this type represent user accounts. The following members may be specified:"
  22788. msgstr ""
  22789. #. type: table
  22790. #: guix-git/doc/guix.texi:15926
  22791. msgid "The name of the user account."
  22792. msgstr ""
  22793. #. type: itemx
  22794. #: guix-git/doc/guix.texi:15927 guix-git/doc/guix.texi:34851
  22795. #, no-wrap
  22796. msgid "group"
  22797. msgstr "ryhmä"
  22798. #. type: cindex
  22799. #: guix-git/doc/guix.texi:15928 guix-git/doc/guix.texi:16012
  22800. #, no-wrap
  22801. msgid "groups"
  22802. msgstr "ryhmät"
  22803. #. type: table
  22804. #: guix-git/doc/guix.texi:15931
  22805. msgid "This is the name (a string) or identifier (a number) of the user group this account belongs to."
  22806. msgstr ""
  22807. #. type: item
  22808. #: guix-git/doc/guix.texi:15932
  22809. #, no-wrap
  22810. msgid "@code{supplementary-groups} (default: @code{'()})"
  22811. msgstr ""
  22812. #. type: table
  22813. #: guix-git/doc/guix.texi:15935
  22814. msgid "Optionally, this can be defined as a list of group names that this account belongs to."
  22815. msgstr ""
  22816. #. type: item
  22817. #: guix-git/doc/guix.texi:15936
  22818. #, no-wrap
  22819. msgid "@code{uid} (default: @code{#f})"
  22820. msgstr ""
  22821. #. type: table
  22822. #: guix-git/doc/guix.texi:15940
  22823. 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."
  22824. msgstr ""
  22825. #. type: item
  22826. #: guix-git/doc/guix.texi:15941 guix-git/doc/guix.texi:18704
  22827. #, no-wrap
  22828. msgid "@code{comment} (default: @code{\"\"})"
  22829. msgstr ""
  22830. #. type: table
  22831. #: guix-git/doc/guix.texi:15943
  22832. msgid "A comment about the account, such as the account owner's full name."
  22833. msgstr ""
  22834. #. type: table
  22835. #: guix-git/doc/guix.texi:15948
  22836. msgid "Note that, for non-system accounts, users are free to change their real name as it appears in @file{/etc/passwd} using the @command{chfn} command. When they do, their choice prevails over the system administrator's choice; reconfiguring does @emph{not} change their name."
  22837. msgstr ""
  22838. #. type: code{#1}
  22839. #: guix-git/doc/guix.texi:15949
  22840. #, no-wrap
  22841. msgid "home-directory"
  22842. msgstr "kotihakemisto"
  22843. #. type: table
  22844. #: guix-git/doc/guix.texi:15951
  22845. msgid "This is the name of the home directory for the account."
  22846. msgstr ""
  22847. #. type: item
  22848. #: guix-git/doc/guix.texi:15952
  22849. #, no-wrap
  22850. msgid "@code{create-home-directory?} (default: @code{#t})"
  22851. msgstr ""
  22852. #. type: table
  22853. #: guix-git/doc/guix.texi:15955
  22854. msgid "Indicates whether the home directory of this account should be created if it does not exist yet."
  22855. msgstr ""
  22856. #. type: item
  22857. #: guix-git/doc/guix.texi:15956
  22858. #, no-wrap
  22859. msgid "@code{shell} (default: Bash)"
  22860. msgstr ""
  22861. #. type: table
  22862. #: guix-git/doc/guix.texi:15960
  22863. 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:"
  22864. msgstr ""
  22865. #. type: lisp
  22866. #: guix-git/doc/guix.texi:15963
  22867. #, no-wrap
  22868. msgid "(file-append bash \"/bin/bash\")\n"
  22869. msgstr ""
  22870. #. type: table
  22871. #: guix-git/doc/guix.texi:15967
  22872. msgid "... and to the Zsh executable like that:"
  22873. msgstr ""
  22874. #. type: lisp
  22875. #: guix-git/doc/guix.texi:15970
  22876. #, no-wrap
  22877. msgid "(file-append zsh \"/bin/zsh\")\n"
  22878. msgstr ""
  22879. #. type: item
  22880. #: guix-git/doc/guix.texi:15972 guix-git/doc/guix.texi:16030
  22881. #, no-wrap
  22882. msgid "@code{system?} (default: @code{#f})"
  22883. msgstr ""
  22884. #. type: table
  22885. #: guix-git/doc/guix.texi:15976
  22886. 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."
  22887. msgstr ""
  22888. #. type: anchor{#1}
  22889. #: guix-git/doc/guix.texi:15978
  22890. msgid "user-account-password"
  22891. msgstr ""
  22892. #. type: cindex
  22893. #: guix-git/doc/guix.texi:15978
  22894. #, no-wrap
  22895. msgid "password, for user accounts"
  22896. msgstr ""
  22897. #. type: item
  22898. #: guix-git/doc/guix.texi:15979 guix-git/doc/guix.texi:16034
  22899. #, no-wrap
  22900. msgid "@code{password} (default: @code{#f})"
  22901. msgstr ""
  22902. #. type: table
  22903. #: guix-git/doc/guix.texi:15985
  22904. 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."
  22905. msgstr ""
  22906. #. type: table
  22907. #: guix-git/doc/guix.texi:15989
  22908. 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:"
  22909. msgstr ""
  22910. #. type: lisp
  22911. #: guix-git/doc/guix.texi:15994
  22912. #, no-wrap
  22913. msgid ""
  22914. "(user-account\n"
  22915. " (name \"charlie\")\n"
  22916. " (group \"users\")\n"
  22917. "\n"
  22918. msgstr ""
  22919. #. type: lisp
  22920. #: guix-git/doc/guix.texi:15997
  22921. #, no-wrap
  22922. msgid ""
  22923. " ;; Specify a SHA-512-hashed initial password.\n"
  22924. " (password (crypt \"InitialPassword!\" \"$6$abc\")))\n"
  22925. msgstr ""
  22926. #. type: quotation
  22927. #: guix-git/doc/guix.texi:16003
  22928. 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."
  22929. msgstr ""
  22930. #. type: table
  22931. #: guix-git/doc/guix.texi:16008
  22932. 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."
  22933. msgstr ""
  22934. #. type: Plain text
  22935. #: guix-git/doc/guix.texi:16014
  22936. msgid "User group declarations are even simpler:"
  22937. msgstr ""
  22938. #. type: lisp
  22939. #: guix-git/doc/guix.texi:16017
  22940. #, no-wrap
  22941. msgid "(user-group (name \"students\"))\n"
  22942. msgstr ""
  22943. #. type: deftp
  22944. #: guix-git/doc/guix.texi:16019
  22945. #, no-wrap
  22946. msgid "{Data Type} user-group"
  22947. msgstr ""
  22948. #. type: deftp
  22949. #: guix-git/doc/guix.texi:16021
  22950. msgid "This type is for, well, user groups. There are just a few fields:"
  22951. msgstr ""
  22952. #. type: table
  22953. #: guix-git/doc/guix.texi:16025
  22954. msgid "The name of the group."
  22955. msgstr ""
  22956. #. type: item
  22957. #: guix-git/doc/guix.texi:16026 guix-git/doc/guix.texi:31284
  22958. #, no-wrap
  22959. msgid "@code{id} (default: @code{#f})"
  22960. msgstr ""
  22961. #. type: table
  22962. #: guix-git/doc/guix.texi:16029
  22963. msgid "The group identifier (a number). If @code{#f}, a new number is automatically allocated when the group is created."
  22964. msgstr ""
  22965. #. type: table
  22966. #: guix-git/doc/guix.texi:16033
  22967. msgid "This Boolean value indicates whether the group is a ``system'' group. System groups have low numerical IDs."
  22968. msgstr ""
  22969. #. type: table
  22970. #: guix-git/doc/guix.texi:16037
  22971. msgid "What, user groups can have a password? Well, apparently yes. Unless @code{#f}, this field specifies the password of the group."
  22972. msgstr ""
  22973. #. type: Plain text
  22974. #: guix-git/doc/guix.texi:16043
  22975. msgid "For convenience, a variable lists all the basic user groups one may expect:"
  22976. msgstr ""
  22977. #. type: defvr
  22978. #: guix-git/doc/guix.texi:16044
  22979. #, no-wrap
  22980. msgid "{Scheme Variable} %base-groups"
  22981. msgstr ""
  22982. #. type: defvr
  22983. #: guix-git/doc/guix.texi:16049
  22984. 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''."
  22985. msgstr ""
  22986. #. type: defvr
  22987. #: guix-git/doc/guix.texi:16051
  22988. #, no-wrap
  22989. msgid "{Scheme Variable} %base-user-accounts"
  22990. msgstr ""
  22991. #. type: defvr
  22992. #: guix-git/doc/guix.texi:16054
  22993. 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."
  22994. msgstr ""
  22995. #. type: defvr
  22996. #: guix-git/doc/guix.texi:16057
  22997. 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."
  22998. msgstr ""
  22999. #. type: cindex
  23000. #: guix-git/doc/guix.texi:16063
  23001. #, no-wrap
  23002. msgid "keymap"
  23003. msgstr ""
  23004. #. type: Plain text
  23005. #: guix-git/doc/guix.texi:16071
  23006. 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."
  23007. msgstr ""
  23008. #. type: cindex
  23009. #: guix-git/doc/guix.texi:16072
  23010. #, no-wrap
  23011. msgid "keyboard layout, definition"
  23012. msgstr ""
  23013. #. type: Plain text
  23014. #: guix-git/doc/guix.texi:16074
  23015. msgid "There are three components that will want to know about your keyboard layout:"
  23016. msgstr ""
  23017. #. type: itemize
  23018. #: guix-git/doc/guix.texi:16081
  23019. 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."
  23020. msgstr ""
  23021. #. type: itemize
  23022. #: guix-git/doc/guix.texi:16086
  23023. msgid "The @emph{operating system kernel}, Linux, will need that so that the console is properly configured (@pxref{operating-system Reference, @code{keyboard-layout}})."
  23024. msgstr ""
  23025. #. type: itemize
  23026. #: guix-git/doc/guix.texi:16090
  23027. msgid "The @emph{graphical display server}, usually Xorg, also has its own idea of the keyboard layout (@pxref{X Window, @code{keyboard-layout}})."
  23028. msgstr ""
  23029. #. type: Plain text
  23030. #: guix-git/doc/guix.texi:16094
  23031. msgid "Guix allows you to configure all three separately but, fortunately, it allows you to share the same keyboard layout for all three components."
  23032. msgstr ""
  23033. #. type: cindex
  23034. #: guix-git/doc/guix.texi:16095
  23035. #, no-wrap
  23036. msgid "XKB, keyboard layouts"
  23037. msgstr ""
  23038. #. type: Plain text
  23039. #: guix-git/doc/guix.texi:16103
  23040. 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."
  23041. msgstr ""
  23042. #. type: deffn
  23043. #: guix-git/doc/guix.texi:16104
  23044. #, no-wrap
  23045. msgid "{Scheme Procedure} keyboard-layout @var{name} [@var{variant}] @"
  23046. msgstr ""
  23047. #. type: deffn
  23048. #: guix-git/doc/guix.texi:16107
  23049. msgid "[#:model] [#:options '()] Return a new keyboard layout with the given @var{name} and @var{variant}."
  23050. msgstr ""
  23051. #. type: deffn
  23052. #: guix-git/doc/guix.texi:16111
  23053. 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."
  23054. msgstr ""
  23055. #. type: Plain text
  23056. #: guix-git/doc/guix.texi:16114
  23057. msgid "Here are a few examples:"
  23058. msgstr ""
  23059. #. type: lisp
  23060. #: guix-git/doc/guix.texi:16119
  23061. #, no-wrap
  23062. msgid ""
  23063. ";; The German QWERTZ layout. Here we assume a standard\n"
  23064. ";; \"pc105\" keyboard model.\n"
  23065. "(keyboard-layout \"de\")\n"
  23066. "\n"
  23067. msgstr ""
  23068. #. type: lisp
  23069. #: guix-git/doc/guix.texi:16122
  23070. #, no-wrap
  23071. msgid ""
  23072. ";; The bépo variant of the French layout.\n"
  23073. "(keyboard-layout \"fr\" \"bepo\")\n"
  23074. "\n"
  23075. msgstr ""
  23076. #. type: lisp
  23077. #: guix-git/doc/guix.texi:16125
  23078. #, no-wrap
  23079. msgid ""
  23080. ";; The Catalan layout.\n"
  23081. "(keyboard-layout \"es\" \"cat\")\n"
  23082. "\n"
  23083. msgstr ""
  23084. #. type: lisp
  23085. #: guix-git/doc/guix.texi:16128
  23086. #, no-wrap
  23087. msgid ""
  23088. ";; Arabic layout with \"Alt-Shift\" to switch to US layout.\n"
  23089. "(keyboard-layout \"ar,us\" #:options '(\"grp:alt_shift_toggle\"))\n"
  23090. "\n"
  23091. msgstr ""
  23092. #. type: lisp
  23093. #: guix-git/doc/guix.texi:16135
  23094. #, no-wrap
  23095. msgid ""
  23096. ";; The Latin American Spanish layout. In addition, the\n"
  23097. ";; \"Caps Lock\" key is used as an additional \"Ctrl\" key,\n"
  23098. ";; and the \"Menu\" key is used as a \"Compose\" key to enter\n"
  23099. ";; accented letters.\n"
  23100. "(keyboard-layout \"latam\"\n"
  23101. " #:options '(\"ctrl:nocaps\" \"compose:menu\"))\n"
  23102. "\n"
  23103. msgstr ""
  23104. #. type: lisp
  23105. #: guix-git/doc/guix.texi:16138
  23106. #, no-wrap
  23107. msgid ""
  23108. ";; The Russian layout for a ThinkPad keyboard.\n"
  23109. "(keyboard-layout \"ru\" #:model \"thinkpad\")\n"
  23110. "\n"
  23111. msgstr ""
  23112. #. type: lisp
  23113. #: guix-git/doc/guix.texi:16143
  23114. #, no-wrap
  23115. msgid ""
  23116. ";; The \"US international\" layout, which is the US layout plus\n"
  23117. ";; dead keys to enter accented characters. This is for an\n"
  23118. ";; Apple MacBook keyboard.\n"
  23119. "(keyboard-layout \"us\" \"intl\" #:model \"macbook78\")\n"
  23120. msgstr ""
  23121. #. type: Plain text
  23122. #: guix-git/doc/guix.texi:16147
  23123. msgid "See the @file{share/X11/xkb} directory of the @code{xkeyboard-config} package for a complete list of supported layouts, variants, and models."
  23124. msgstr ""
  23125. #. type: cindex
  23126. #: guix-git/doc/guix.texi:16148
  23127. #, no-wrap
  23128. msgid "keyboard layout, configuration"
  23129. msgstr ""
  23130. #. type: Plain text
  23131. #: guix-git/doc/guix.texi:16152
  23132. 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:"
  23133. msgstr ""
  23134. #. type: findex
  23135. #: guix-git/doc/guix.texi:16153
  23136. #, no-wrap
  23137. msgid "set-xorg-configuration"
  23138. msgstr ""
  23139. #. type: lisp
  23140. #: guix-git/doc/guix.texi:16157
  23141. #, no-wrap
  23142. msgid ""
  23143. ";; Using the Turkish layout for the bootloader, the console,\n"
  23144. ";; and for Xorg.\n"
  23145. "\n"
  23146. msgstr ""
  23147. #. type: lisp
  23148. #: guix-git/doc/guix.texi:16169
  23149. #, no-wrap
  23150. msgid ""
  23151. "(operating-system\n"
  23152. " ;; ...\n"
  23153. " (keyboard-layout (keyboard-layout \"tr\")) ;for the console\n"
  23154. " (bootloader (bootloader-configuration\n"
  23155. " (bootloader grub-efi-bootloader)\n"
  23156. " (targets '(\"/boot/efi\"))\n"
  23157. " (keyboard-layout keyboard-layout))) ;for GRUB\n"
  23158. " (services (cons (set-xorg-configuration\n"
  23159. " (xorg-configuration ;for Xorg\n"
  23160. " (keyboard-layout keyboard-layout)))\n"
  23161. " %desktop-services)))\n"
  23162. msgstr ""
  23163. #. type: Plain text
  23164. #: guix-git/doc/guix.texi:16176
  23165. 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."
  23166. msgstr ""
  23167. #. type: Plain text
  23168. #: guix-git/doc/guix.texi:16179
  23169. 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:"
  23170. msgstr ""
  23171. #. type: itemize
  23172. #: guix-git/doc/guix.texi:16184
  23173. msgid "If you're using GNOME, its settings panel has a ``Region & Language'' entry where you can select one or more keyboard layouts."
  23174. msgstr ""
  23175. #. type: itemize
  23176. #: guix-git/doc/guix.texi:16189
  23177. 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:"
  23178. msgstr ""
  23179. #. type: example
  23180. #: guix-git/doc/guix.texi:16192
  23181. #, no-wrap
  23182. msgid "setxkbmap us dvorak\n"
  23183. msgstr ""
  23184. #. type: itemize
  23185. #: guix-git/doc/guix.texi:16199
  23186. 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:"
  23187. msgstr ""
  23188. #. type: example
  23189. #: guix-git/doc/guix.texi:16202
  23190. #, no-wrap
  23191. msgid "loadkeys fr-bepo\n"
  23192. msgstr ""
  23193. #. type: cindex
  23194. #: guix-git/doc/guix.texi:16208
  23195. #, no-wrap
  23196. msgid "locale"
  23197. msgstr "sijainti"
  23198. #. type: Plain text
  23199. #: guix-git/doc/guix.texi:16215
  23200. 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."
  23201. msgstr ""
  23202. #. type: cindex
  23203. #: guix-git/doc/guix.texi:16216
  23204. #, no-wrap
  23205. msgid "locale definition"
  23206. msgstr ""
  23207. #. type: Plain text
  23208. #: guix-git/doc/guix.texi:16220
  23209. 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}})."
  23210. msgstr ""
  23211. #. type: Plain text
  23212. #: guix-git/doc/guix.texi:16229
  23213. 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."
  23214. msgstr ""
  23215. #. type: Plain text
  23216. #: guix-git/doc/guix.texi:16232
  23217. msgid "For instance, to add the North Frisian locale for Germany, the value of that field may be:"
  23218. msgstr ""
  23219. #. type: lisp
  23220. #: guix-git/doc/guix.texi:16237
  23221. #, no-wrap
  23222. msgid ""
  23223. "(cons (locale-definition\n"
  23224. " (name \"fy_DE.utf8\") (source \"fy_DE\"))\n"
  23225. " %default-locale-definitions)\n"
  23226. msgstr ""
  23227. #. type: Plain text
  23228. #: guix-git/doc/guix.texi:16241
  23229. msgid "Likewise, to save space, one might want @code{locale-definitions} to list only the locales that are actually used, as in:"
  23230. msgstr ""
  23231. #. type: lisp
  23232. #: guix-git/doc/guix.texi:16246
  23233. #, no-wrap
  23234. msgid ""
  23235. "(list (locale-definition\n"
  23236. " (name \"ja_JP.eucjp\") (source \"ja_JP\")\n"
  23237. " (charset \"EUC-JP\")))\n"
  23238. msgstr ""
  23239. #. type: Plain text
  23240. #: guix-git/doc/guix.texi:16255
  23241. 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})."
  23242. msgstr ""
  23243. #. type: Plain text
  23244. #: guix-git/doc/guix.texi:16258
  23245. msgid "The @code{locale-definition} form is provided by the @code{(gnu system locale)} module. Details are given below."
  23246. msgstr ""
  23247. #. type: deftp
  23248. #: guix-git/doc/guix.texi:16259
  23249. #, no-wrap
  23250. msgid "{Data Type} locale-definition"
  23251. msgstr ""
  23252. #. type: deftp
  23253. #: guix-git/doc/guix.texi:16261
  23254. msgid "This is the data type of a locale definition."
  23255. msgstr ""
  23256. #. type: table
  23257. #: guix-git/doc/guix.texi:16267
  23258. msgid "The name of the locale. @xref{Locale Names,,, libc, The GNU C Library Reference Manual}, for more information on locale names."
  23259. msgstr ""
  23260. #. type: table
  23261. #: guix-git/doc/guix.texi:16271
  23262. msgid "The name of the source for that locale. This is typically the @code{@var{language}_@var{territory}} part of the locale name."
  23263. msgstr ""
  23264. #. type: item
  23265. #: guix-git/doc/guix.texi:16272
  23266. #, no-wrap
  23267. msgid "@code{charset} (default: @code{\"UTF-8\"})"
  23268. msgstr ""
  23269. #. type: table
  23270. #: guix-git/doc/guix.texi:16276
  23271. msgid "The ``character set'' or ``code set'' for that locale, @uref{https://www.iana.org/assignments/character-sets, as defined by IANA}."
  23272. msgstr ""
  23273. #. type: defvr
  23274. #: guix-git/doc/guix.texi:16280
  23275. #, no-wrap
  23276. msgid "{Scheme Variable} %default-locale-definitions"
  23277. msgstr ""
  23278. #. type: defvr
  23279. #: guix-git/doc/guix.texi:16284
  23280. 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."
  23281. msgstr ""
  23282. #. type: cindex
  23283. #: guix-git/doc/guix.texi:16285
  23284. #, no-wrap
  23285. msgid "locale name"
  23286. msgstr ""
  23287. #. type: cindex
  23288. #: guix-git/doc/guix.texi:16286
  23289. #, no-wrap
  23290. msgid "normalized codeset in locale names"
  23291. msgstr ""
  23292. #. type: defvr
  23293. #: guix-git/doc/guix.texi:16292
  23294. 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}."
  23295. msgstr ""
  23296. #. type: subsection
  23297. #: guix-git/doc/guix.texi:16294
  23298. #, no-wrap
  23299. msgid "Locale Data Compatibility Considerations"
  23300. msgstr ""
  23301. #. type: cindex
  23302. #: guix-git/doc/guix.texi:16296
  23303. #, no-wrap
  23304. msgid "incompatibility, of locale data"
  23305. msgstr ""
  23306. #. type: Plain text
  23307. #: guix-git/doc/guix.texi:16303
  23308. 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."
  23309. msgstr ""
  23310. #. type: Plain text
  23311. #: guix-git/doc/guix.texi:16315
  23312. 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."
  23313. msgstr ""
  23314. #. type: Plain text
  23315. #: guix-git/doc/guix.texi:16320
  23316. 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."
  23317. msgstr ""
  23318. #. type: Plain text
  23319. #: guix-git/doc/guix.texi:16324
  23320. 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})."
  23321. msgstr ""
  23322. #. type: Plain text
  23323. #: guix-git/doc/guix.texi:16331
  23324. 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}:"
  23325. msgstr ""
  23326. #. type: lisp
  23327. #: guix-git/doc/guix.texi:16334
  23328. #, no-wrap
  23329. msgid ""
  23330. "(use-package-modules base)\n"
  23331. "\n"
  23332. msgstr ""
  23333. #. type: lisp
  23334. #: guix-git/doc/guix.texi:16338
  23335. #, no-wrap
  23336. msgid ""
  23337. "(operating-system\n"
  23338. " ;; @dots{}\n"
  23339. " (locale-libcs (list glibc-2.21 (canonical-package glibc))))\n"
  23340. msgstr ""
  23341. #. type: Plain text
  23342. #: guix-git/doc/guix.texi:16343
  23343. 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}."
  23344. msgstr ""
  23345. #. type: cindex
  23346. #: guix-git/doc/guix.texi:16348
  23347. #, no-wrap
  23348. msgid "system services"
  23349. msgstr "järjestelmäpalvelut"
  23350. #. type: Plain text
  23351. #: guix-git/doc/guix.texi:16354
  23352. 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."
  23353. msgstr ""
  23354. #. type: Plain text
  23355. #: guix-git/doc/guix.texi:16361
  23356. 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:"
  23357. msgstr ""
  23358. #. type: example
  23359. #: guix-git/doc/guix.texi:16364
  23360. #, no-wrap
  23361. msgid "# herd status\n"
  23362. msgstr ""
  23363. #. type: Plain text
  23364. #: guix-git/doc/guix.texi:16369
  23365. 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:"
  23366. msgstr ""
  23367. #. type: example
  23368. #: guix-git/doc/guix.texi:16373
  23369. #, no-wrap
  23370. msgid ""
  23371. "# herd doc nscd\n"
  23372. "Run libc's name service cache daemon (nscd).\n"
  23373. "\n"
  23374. msgstr ""
  23375. #. type: example
  23376. #: guix-git/doc/guix.texi:16376
  23377. #, no-wrap
  23378. msgid ""
  23379. "# herd doc nscd action invalidate\n"
  23380. "invalidate: Invalidate the given cache--e.g., 'hosts' for host name lookups.\n"
  23381. msgstr ""
  23382. #. type: Plain text
  23383. #: guix-git/doc/guix.texi:16381
  23384. 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:"
  23385. msgstr ""
  23386. #. type: example
  23387. #: guix-git/doc/guix.texi:16388
  23388. #, no-wrap
  23389. msgid ""
  23390. "# herd stop nscd\n"
  23391. "Service nscd has been stopped.\n"
  23392. "# herd restart xorg-server\n"
  23393. "Service xorg-server has been stopped.\n"
  23394. "Service xorg-server has been started.\n"
  23395. msgstr ""
  23396. #. type: Plain text
  23397. #: guix-git/doc/guix.texi:16393
  23398. msgid "The following sections document the available services, starting with the core services, that may be used in an @code{operating-system} declaration."
  23399. msgstr ""
  23400. #. type: subsection
  23401. #: guix-git/doc/guix.texi:16429 guix-git/doc/guix.texi:24718
  23402. #: guix-git/doc/guix.texi:24719
  23403. #, no-wrap
  23404. msgid "File-Sharing Services"
  23405. msgstr ""
  23406. #. type: menuentry
  23407. #: guix-git/doc/guix.texi:16429
  23408. msgid "File-sharing services."
  23409. msgstr ""
  23410. #. type: Plain text
  23411. #: guix-git/doc/guix.texi:16437
  23412. 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."
  23413. msgstr ""
  23414. #. type: defvr
  23415. #: guix-git/doc/guix.texi:16438
  23416. #, no-wrap
  23417. msgid "{Scheme Variable} %base-services"
  23418. msgstr ""
  23419. #. type: defvr
  23420. #: guix-git/doc/guix.texi:16444
  23421. 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."
  23422. msgstr ""
  23423. #. type: defvr
  23424. #: guix-git/doc/guix.texi:16449
  23425. 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:"
  23426. msgstr ""
  23427. #. type: lisp
  23428. #: guix-git/doc/guix.texi:16454
  23429. #, no-wrap
  23430. msgid ""
  23431. "(append (list (service avahi-service-type)\n"
  23432. " (service openssh-service-type))\n"
  23433. " %base-services)\n"
  23434. msgstr ""
  23435. #. type: defvr
  23436. #: guix-git/doc/guix.texi:16457
  23437. #, no-wrap
  23438. msgid "{Scheme Variable} special-files-service-type"
  23439. msgstr ""
  23440. #. type: defvr
  23441. #: guix-git/doc/guix.texi:16460
  23442. 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}."
  23443. msgstr ""
  23444. #. type: defvr
  23445. #: guix-git/doc/guix.texi:16464
  23446. 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:"
  23447. msgstr ""
  23448. #. type: file{#1}
  23449. #: guix-git/doc/guix.texi:16465
  23450. #, no-wrap
  23451. msgid "/bin/sh"
  23452. msgstr ""
  23453. #. type: cindex
  23454. #: guix-git/doc/guix.texi:16466
  23455. #, no-wrap
  23456. msgid "@file{sh}, in @file{/bin}"
  23457. msgstr ""
  23458. #. type: lisp
  23459. #: guix-git/doc/guix.texi:16469
  23460. #, no-wrap
  23461. msgid "`((\"/bin/sh\" ,(file-append bash \"/bin/sh\")))\n"
  23462. msgstr ""
  23463. #. type: file{#1}
  23464. #: guix-git/doc/guix.texi:16471
  23465. #, no-wrap
  23466. msgid "/usr/bin/env"
  23467. msgstr ""
  23468. #. type: cindex
  23469. #: guix-git/doc/guix.texi:16472
  23470. #, no-wrap
  23471. msgid "@file{env}, in @file{/usr/bin}"
  23472. msgstr ""
  23473. #. type: defvr
  23474. #: guix-git/doc/guix.texi:16475
  23475. msgid "If you want to add, say, @code{/usr/bin/env} to your system, you can change it to:"
  23476. msgstr ""
  23477. #. type: lisp
  23478. #: guix-git/doc/guix.texi:16479
  23479. #, no-wrap
  23480. msgid ""
  23481. "`((\"/bin/sh\" ,(file-append bash \"/bin/sh\"))\n"
  23482. " (\"/usr/bin/env\" ,(file-append coreutils \"/bin/env\")))\n"
  23483. msgstr ""
  23484. #. type: defvr
  23485. #: guix-git/doc/guix.texi:16486
  23486. 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)."
  23487. msgstr ""
  23488. #. type: deffn
  23489. #: guix-git/doc/guix.texi:16488
  23490. #, no-wrap
  23491. msgid "{Scheme Procedure} extra-special-file @var{file} @var{target}"
  23492. msgstr ""
  23493. #. type: deffn
  23494. #: guix-git/doc/guix.texi:16490
  23495. msgid "Use @var{target} as the ``special file'' @var{file}."
  23496. msgstr ""
  23497. #. type: deffn
  23498. #: guix-git/doc/guix.texi:16494
  23499. 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:"
  23500. msgstr ""
  23501. #. type: lisp
  23502. #: guix-git/doc/guix.texi:16498
  23503. #, no-wrap
  23504. msgid ""
  23505. "(extra-special-file \"/usr/bin/env\"\n"
  23506. " (file-append coreutils \"/bin/env\"))\n"
  23507. msgstr ""
  23508. #. type: deffn
  23509. #: guix-git/doc/guix.texi:16501
  23510. #, no-wrap
  23511. msgid "{Scheme Procedure} host-name-service @var{name}"
  23512. msgstr ""
  23513. #. type: deffn
  23514. #: guix-git/doc/guix.texi:16503
  23515. msgid "Return a service that sets the host name to @var{name}."
  23516. msgstr ""
  23517. #. type: defvr
  23518. #: guix-git/doc/guix.texi:16505
  23519. #, no-wrap
  23520. msgid "{Scheme Variable} console-font-service-type"
  23521. msgstr ""
  23522. #. type: defvr
  23523. #: guix-git/doc/guix.texi:16510
  23524. 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:"
  23525. msgstr ""
  23526. #. type: lisp
  23527. #: guix-git/doc/guix.texi:16519
  23528. #, no-wrap
  23529. msgid ""
  23530. "`((\"tty1\" . \"LatGrkCyr-8x16\")\n"
  23531. " (\"tty2\" . ,(file-append\n"
  23532. " font-tamzen\n"
  23533. " \"/share/kbd/consolefonts/TamzenForPowerline10x20.psf\"))\n"
  23534. " (\"tty3\" . ,(file-append\n"
  23535. " font-terminus\n"
  23536. " \"/share/consolefonts/ter-132n\"))) ; for HDPI\n"
  23537. msgstr ""
  23538. #. type: deffn
  23539. #: guix-git/doc/guix.texi:16522
  23540. #, no-wrap
  23541. msgid "{Scheme Procedure} login-service @var{config}"
  23542. msgstr ""
  23543. #. type: deffn
  23544. #: guix-git/doc/guix.texi:16526
  23545. 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."
  23546. msgstr ""
  23547. #. type: deftp
  23548. #: guix-git/doc/guix.texi:16528
  23549. #, no-wrap
  23550. msgid "{Data Type} login-configuration"
  23551. msgstr ""
  23552. #. type: deftp
  23553. #: guix-git/doc/guix.texi:16530
  23554. msgid "This is the data type representing the configuration of login."
  23555. msgstr ""
  23556. #. type: code{#1}
  23557. #: guix-git/doc/guix.texi:16533
  23558. #, no-wrap
  23559. msgid "motd"
  23560. msgstr ""
  23561. #. type: cindex
  23562. #: guix-git/doc/guix.texi:16534
  23563. #, no-wrap
  23564. msgid "message of the day"
  23565. msgstr ""
  23566. #. type: table
  23567. #: guix-git/doc/guix.texi:16536
  23568. msgid "A file-like object containing the ``message of the day''."
  23569. msgstr ""
  23570. #. type: item
  23571. #: guix-git/doc/guix.texi:16537 guix-git/doc/guix.texi:19767
  23572. #, no-wrap
  23573. msgid "@code{allow-empty-passwords?} (default: @code{#t})"
  23574. msgstr ""
  23575. #. type: table
  23576. #: guix-git/doc/guix.texi:16540
  23577. msgid "Allow empty passwords by default so that first-time users can log in when the 'root' account has just been created."
  23578. msgstr ""
  23579. #. type: deffn
  23580. #: guix-git/doc/guix.texi:16544
  23581. #, no-wrap
  23582. msgid "{Scheme Procedure} mingetty-service @var{config}"
  23583. msgstr ""
  23584. #. type: deffn
  23585. #: guix-git/doc/guix.texi:16548
  23586. 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."
  23587. msgstr ""
  23588. #. type: deftp
  23589. #: guix-git/doc/guix.texi:16550
  23590. #, no-wrap
  23591. msgid "{Data Type} mingetty-configuration"
  23592. msgstr ""
  23593. #. type: deftp
  23594. #: guix-git/doc/guix.texi:16553
  23595. msgid "This is the data type representing the configuration of Mingetty, which provides the default implementation of virtual console log-in."
  23596. msgstr ""
  23597. #. type: code{#1}
  23598. #: guix-git/doc/guix.texi:16556 guix-git/doc/guix.texi:16595
  23599. #: guix-git/doc/guix.texi:34101
  23600. #, no-wrap
  23601. msgid "tty"
  23602. msgstr ""
  23603. #. type: table
  23604. #: guix-git/doc/guix.texi:16558
  23605. msgid "The name of the console this Mingetty runs on---e.g., @code{\"tty1\"}."
  23606. msgstr ""
  23607. #. type: item
  23608. #: guix-git/doc/guix.texi:16559 guix-git/doc/guix.texi:16624
  23609. #: guix-git/doc/guix.texi:16787
  23610. #, no-wrap
  23611. msgid "@code{auto-login} (default: @code{#f})"
  23612. msgstr ""
  23613. #. type: table
  23614. #: guix-git/doc/guix.texi:16563
  23615. 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."
  23616. msgstr ""
  23617. #. type: item
  23618. #: guix-git/doc/guix.texi:16564
  23619. #, no-wrap
  23620. msgid "@code{login-program} (default: @code{#f})"
  23621. msgstr ""
  23622. #. type: table
  23623. #: guix-git/doc/guix.texi:16568
  23624. 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."
  23625. msgstr ""
  23626. #. type: item
  23627. #: guix-git/doc/guix.texi:16569
  23628. #, no-wrap
  23629. msgid "@code{login-pause?} (default: @code{#f})"
  23630. msgstr ""
  23631. #. type: table
  23632. #: guix-git/doc/guix.texi:16572
  23633. 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."
  23634. msgstr ""
  23635. #. type: item
  23636. #: guix-git/doc/guix.texi:16573
  23637. #, no-wrap
  23638. msgid "@code{clear-on-logout?} (default: @code{#t})"
  23639. msgstr ""
  23640. #. type: table
  23641. #: guix-git/doc/guix.texi:16575
  23642. msgid "When set to @code{#t}, the screen will be cleared after logout."
  23643. msgstr ""
  23644. #. type: item
  23645. #: guix-git/doc/guix.texi:16576
  23646. #, no-wrap
  23647. msgid "@code{mingetty} (default: @var{mingetty})"
  23648. msgstr ""
  23649. #. type: table
  23650. #: guix-git/doc/guix.texi:16578
  23651. msgid "The Mingetty package to use."
  23652. msgstr ""
  23653. #. type: deffn
  23654. #: guix-git/doc/guix.texi:16582
  23655. #, no-wrap
  23656. msgid "{Scheme Procedure} agetty-service @var{config}"
  23657. msgstr ""
  23658. #. type: deffn
  23659. #: guix-git/doc/guix.texi:16586
  23660. 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."
  23661. msgstr ""
  23662. #. type: deftp
  23663. #: guix-git/doc/guix.texi:16588
  23664. #, no-wrap
  23665. msgid "{Data Type} agetty-configuration"
  23666. msgstr ""
  23667. #. type: deftp
  23668. #: guix-git/doc/guix.texi:16592
  23669. 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."
  23670. msgstr ""
  23671. #. type: table
  23672. #: guix-git/doc/guix.texi:16599
  23673. 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."
  23674. msgstr ""
  23675. #. type: table
  23676. #: guix-git/doc/guix.texi:16603
  23677. 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."
  23678. msgstr ""
  23679. #. type: table
  23680. #: guix-git/doc/guix.texi:16607
  23681. 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."
  23682. msgstr ""
  23683. #. type: table
  23684. #: guix-git/doc/guix.texi:16611
  23685. 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."
  23686. msgstr ""
  23687. #. type: item
  23688. #: guix-git/doc/guix.texi:16612 guix-git/doc/guix.texi:34262
  23689. #, no-wrap
  23690. msgid "@code{baud-rate} (default: @code{#f})"
  23691. msgstr ""
  23692. #. type: table
  23693. #: guix-git/doc/guix.texi:16615
  23694. msgid "A string containing a comma-separated list of one or more baud rates, in descending order."
  23695. msgstr ""
  23696. #. type: item
  23697. #: guix-git/doc/guix.texi:16616
  23698. #, no-wrap
  23699. msgid "@code{term} (default: @code{#f})"
  23700. msgstr ""
  23701. #. type: table
  23702. #: guix-git/doc/guix.texi:16619
  23703. msgid "A string containing the value used for the @env{TERM} environment variable."
  23704. msgstr ""
  23705. #. type: item
  23706. #: guix-git/doc/guix.texi:16620
  23707. #, no-wrap
  23708. msgid "@code{eight-bits?} (default: @code{#f})"
  23709. msgstr ""
  23710. #. type: table
  23711. #: guix-git/doc/guix.texi:16623
  23712. msgid "When @code{#t}, the tty is assumed to be 8-bit clean, and parity detection is disabled."
  23713. msgstr ""
  23714. #. type: table
  23715. #: guix-git/doc/guix.texi:16627 guix-git/doc/guix.texi:16790
  23716. 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."
  23717. msgstr ""
  23718. #. type: item
  23719. #: guix-git/doc/guix.texi:16628
  23720. #, no-wrap
  23721. msgid "@code{no-reset?} (default: @code{#f})"
  23722. msgstr ""
  23723. #. type: table
  23724. #: guix-git/doc/guix.texi:16630
  23725. msgid "When @code{#t}, don't reset terminal cflags (control modes)."
  23726. msgstr ""
  23727. #. type: item
  23728. #: guix-git/doc/guix.texi:16631
  23729. #, no-wrap
  23730. msgid "@code{host} (default: @code{#f})"
  23731. msgstr ""
  23732. #. type: table
  23733. #: guix-git/doc/guix.texi:16634
  23734. msgid "This accepts a string containing the ``login_host'', which will be written into the @file{/var/run/utmpx} file."
  23735. msgstr ""
  23736. #. type: item
  23737. #: guix-git/doc/guix.texi:16635
  23738. #, no-wrap
  23739. msgid "@code{remote?} (default: @code{#f})"
  23740. msgstr ""
  23741. #. type: table
  23742. #: guix-git/doc/guix.texi:16639
  23743. 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}."
  23744. msgstr ""
  23745. #. type: item
  23746. #: guix-git/doc/guix.texi:16640
  23747. #, no-wrap
  23748. msgid "@code{flow-control?} (default: @code{#f})"
  23749. msgstr ""
  23750. #. type: table
  23751. #: guix-git/doc/guix.texi:16642
  23752. msgid "When set to @code{#t}, enable hardware (RTS/CTS) flow control."
  23753. msgstr ""
  23754. #. type: item
  23755. #: guix-git/doc/guix.texi:16643
  23756. #, no-wrap
  23757. msgid "@code{no-issue?} (default: @code{#f})"
  23758. msgstr ""
  23759. #. type: table
  23760. #: guix-git/doc/guix.texi:16646
  23761. msgid "When set to @code{#t}, the contents of the @file{/etc/issue} file will not be displayed before presenting the login prompt."
  23762. msgstr ""
  23763. #. type: item
  23764. #: guix-git/doc/guix.texi:16647
  23765. #, no-wrap
  23766. msgid "@code{init-string} (default: @code{#f})"
  23767. msgstr ""
  23768. #. type: table
  23769. #: guix-git/doc/guix.texi:16650
  23770. 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."
  23771. msgstr ""
  23772. #. type: item
  23773. #: guix-git/doc/guix.texi:16651
  23774. #, no-wrap
  23775. msgid "@code{no-clear?} (default: @code{#f})"
  23776. msgstr ""
  23777. #. type: table
  23778. #: guix-git/doc/guix.texi:16654
  23779. msgid "When set to @code{#t}, agetty will not clear the screen before showing the login prompt."
  23780. msgstr ""
  23781. #. type: item
  23782. #: guix-git/doc/guix.texi:16655
  23783. #, no-wrap
  23784. msgid "@code{login-program} (default: (file-append shadow \"/bin/login\"))"
  23785. msgstr ""
  23786. #. type: table
  23787. #: guix-git/doc/guix.texi:16659
  23788. 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."
  23789. msgstr ""
  23790. #. type: item
  23791. #: guix-git/doc/guix.texi:16660
  23792. #, no-wrap
  23793. msgid "@code{local-line} (default: @code{#f})"
  23794. msgstr ""
  23795. #. type: table
  23796. #: guix-git/doc/guix.texi:16664
  23797. 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}."
  23798. msgstr ""
  23799. #. type: item
  23800. #: guix-git/doc/guix.texi:16665
  23801. #, no-wrap
  23802. msgid "@code{extract-baud?} (default: @code{#f})"
  23803. msgstr ""
  23804. #. type: table
  23805. #: guix-git/doc/guix.texi:16668
  23806. 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."
  23807. msgstr ""
  23808. #. type: item
  23809. #: guix-git/doc/guix.texi:16669
  23810. #, no-wrap
  23811. msgid "@code{skip-login?} (default: @code{#f})"
  23812. msgstr ""
  23813. #. type: table
  23814. #: guix-git/doc/guix.texi:16673
  23815. 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."
  23816. msgstr ""
  23817. #. type: item
  23818. #: guix-git/doc/guix.texi:16674
  23819. #, no-wrap
  23820. msgid "@code{no-newline?} (default: @code{#f})"
  23821. msgstr ""
  23822. #. type: table
  23823. #: guix-git/doc/guix.texi:16677
  23824. msgid "When set to @code{#t}, do not print a newline before printing the @file{/etc/issue} file."
  23825. msgstr ""
  23826. #. type: item
  23827. #: guix-git/doc/guix.texi:16679
  23828. #, no-wrap
  23829. msgid "@code{login-options} (default: @code{#f})"
  23830. msgstr ""
  23831. #. type: table
  23832. #: guix-git/doc/guix.texi:16684
  23833. 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."
  23834. msgstr ""
  23835. #. type: item
  23836. #: guix-git/doc/guix.texi:16685
  23837. #, no-wrap
  23838. msgid "@code{login-pause} (default: @code{#f})"
  23839. msgstr ""
  23840. #. type: table
  23841. #: guix-git/doc/guix.texi:16689
  23842. 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."
  23843. msgstr ""
  23844. #. type: item
  23845. #: guix-git/doc/guix.texi:16690
  23846. #, no-wrap
  23847. msgid "@code{chroot} (default: @code{#f})"
  23848. msgstr ""
  23849. #. type: table
  23850. #: guix-git/doc/guix.texi:16693
  23851. msgid "Change root to the specified directory. This option accepts a directory path as a string."
  23852. msgstr ""
  23853. #. type: item
  23854. #: guix-git/doc/guix.texi:16694
  23855. #, no-wrap
  23856. msgid "@code{hangup?} (default: @code{#f})"
  23857. msgstr ""
  23858. #. type: table
  23859. #: guix-git/doc/guix.texi:16697
  23860. msgid "Use the Linux system call @code{vhangup} to do a virtual hangup of the specified terminal."
  23861. msgstr ""
  23862. #. type: item
  23863. #: guix-git/doc/guix.texi:16698
  23864. #, no-wrap
  23865. msgid "@code{keep-baud?} (default: @code{#f})"
  23866. msgstr ""
  23867. #. type: table
  23868. #: guix-git/doc/guix.texi:16702
  23869. 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."
  23870. msgstr ""
  23871. #. type: item
  23872. #: guix-git/doc/guix.texi:16703
  23873. #, no-wrap
  23874. msgid "@code{timeout} (default: @code{#f})"
  23875. msgstr ""
  23876. #. type: table
  23877. #: guix-git/doc/guix.texi:16706
  23878. msgid "When set to an integer value, terminate if no user name could be read within @var{timeout} seconds."
  23879. msgstr ""
  23880. #. type: item
  23881. #: guix-git/doc/guix.texi:16707
  23882. #, no-wrap
  23883. msgid "@code{detect-case?} (default: @code{#f})"
  23884. msgstr ""
  23885. #. type: table
  23886. #: guix-git/doc/guix.texi:16713
  23887. 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."
  23888. msgstr ""
  23889. #. type: item
  23890. #: guix-git/doc/guix.texi:16714
  23891. #, no-wrap
  23892. msgid "@code{wait-cr?} (default: @code{#f})"
  23893. msgstr ""
  23894. #. type: table
  23895. #: guix-git/doc/guix.texi:16719
  23896. 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."
  23897. msgstr ""
  23898. #. type: item
  23899. #: guix-git/doc/guix.texi:16720
  23900. #, no-wrap
  23901. msgid "@code{no-hints?} (default: @code{#f})"
  23902. msgstr ""
  23903. #. type: table
  23904. #: guix-git/doc/guix.texi:16723
  23905. msgid "When set to @code{#t}, do not print hints about Num, Caps, and Scroll locks."
  23906. msgstr ""
  23907. #. type: item
  23908. #: guix-git/doc/guix.texi:16724
  23909. #, no-wrap
  23910. msgid "@code{no-hostname?} (default: @code{#f})"
  23911. msgstr ""
  23912. #. type: table
  23913. #: guix-git/doc/guix.texi:16727
  23914. msgid "By default, the hostname is printed. When this option is set to @code{#t}, no hostname will be shown at all."
  23915. msgstr ""
  23916. #. type: item
  23917. #: guix-git/doc/guix.texi:16728
  23918. #, no-wrap
  23919. msgid "@code{long-hostname?} (default: @code{#f})"
  23920. msgstr ""
  23921. #. type: table
  23922. #: guix-git/doc/guix.texi:16732
  23923. 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."
  23924. msgstr ""
  23925. #. type: item
  23926. #: guix-git/doc/guix.texi:16733
  23927. #, no-wrap
  23928. msgid "@code{erase-characters} (default: @code{#f})"
  23929. msgstr ""
  23930. #. type: table
  23931. #: guix-git/doc/guix.texi:16736
  23932. msgid "This option accepts a string of additional characters that should be interpreted as backspace when the user types their login name."
  23933. msgstr ""
  23934. #. type: item
  23935. #: guix-git/doc/guix.texi:16737
  23936. #, no-wrap
  23937. msgid "@code{kill-characters} (default: @code{#f})"
  23938. msgstr ""
  23939. #. type: table
  23940. #: guix-git/doc/guix.texi:16741
  23941. 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."
  23942. msgstr ""
  23943. #. type: item
  23944. #: guix-git/doc/guix.texi:16742
  23945. #, no-wrap
  23946. msgid "@code{chdir} (default: @code{#f})"
  23947. msgstr ""
  23948. #. type: table
  23949. #: guix-git/doc/guix.texi:16745
  23950. msgid "This option accepts, as a string, a directory path that will be changed to before login."
  23951. msgstr ""
  23952. #. type: item
  23953. #: guix-git/doc/guix.texi:16746
  23954. #, no-wrap
  23955. msgid "@code{delay} (default: @code{#f})"
  23956. msgstr ""
  23957. #. type: table
  23958. #: guix-git/doc/guix.texi:16749
  23959. msgid "This options accepts, as an integer, the number of seconds to sleep before opening the tty and displaying the login prompt."
  23960. msgstr ""
  23961. #. type: item
  23962. #: guix-git/doc/guix.texi:16750
  23963. #, no-wrap
  23964. msgid "@code{nice} (default: @code{#f})"
  23965. msgstr ""
  23966. #. type: table
  23967. #: guix-git/doc/guix.texi:16753
  23968. msgid "This option accepts, as an integer, the nice value with which to run the @command{login} program."
  23969. msgstr ""
  23970. #. type: item
  23971. #: guix-git/doc/guix.texi:16754 guix-git/doc/guix.texi:17046
  23972. #: guix-git/doc/guix.texi:17965 guix-git/doc/guix.texi:25702
  23973. #: guix-git/doc/guix.texi:27089 guix-git/doc/guix.texi:29507
  23974. #: guix-git/doc/guix.texi:30330 guix-git/doc/guix.texi:32087
  23975. #: guix-git/doc/guix.texi:34602
  23976. #, no-wrap
  23977. msgid "@code{extra-options} (default: @code{'()})"
  23978. msgstr ""
  23979. #. type: table
  23980. #: guix-git/doc/guix.texi:16757
  23981. msgid "This option provides an ``escape hatch'' for the user to provide arbitrary command-line arguments to @command{agetty} as a list of strings."
  23982. msgstr ""
  23983. #. type: item
  23984. #: guix-git/doc/guix.texi:16758
  23985. #, no-wrap
  23986. msgid "@code{shepherd-requirement} (default: @code{'()})"
  23987. msgstr ""
  23988. #. type: table
  23989. #: guix-git/doc/guix.texi:16761
  23990. msgid "The option can be used to provides extra shepherd requirements (for example @code{'syslogd}) to the respective @code{'term-}* shepherd service."
  23991. msgstr ""
  23992. #. type: deffn
  23993. #: guix-git/doc/guix.texi:16765
  23994. #, no-wrap
  23995. msgid "{Scheme Procedure} kmscon-service-type @var{config}"
  23996. msgstr ""
  23997. #. type: deffn
  23998. #: guix-git/doc/guix.texi:16769
  23999. 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."
  24000. msgstr ""
  24001. #. type: deftp
  24002. #: guix-git/doc/guix.texi:16771
  24003. #, no-wrap
  24004. msgid "{Data Type} kmscon-configuration"
  24005. msgstr ""
  24006. #. type: deftp
  24007. #: guix-git/doc/guix.texi:16774
  24008. msgid "This is the data type representing the configuration of Kmscon, which implements virtual console log-in."
  24009. msgstr ""
  24010. #. type: code{#1}
  24011. #: guix-git/doc/guix.texi:16777
  24012. #, no-wrap
  24013. msgid "virtual-terminal"
  24014. msgstr ""
  24015. #. type: table
  24016. #: guix-git/doc/guix.texi:16779
  24017. msgid "The name of the console this Kmscon runs on---e.g., @code{\"tty1\"}."
  24018. msgstr ""
  24019. #. type: item
  24020. #: guix-git/doc/guix.texi:16780
  24021. #, no-wrap
  24022. msgid "@code{login-program} (default: @code{#~(string-append #$shadow \"/bin/login\")})"
  24023. msgstr ""
  24024. #. type: table
  24025. #: guix-git/doc/guix.texi:16783
  24026. msgid "A gexp denoting the name of the log-in program. The default log-in program is @command{login} from the Shadow tool suite."
  24027. msgstr ""
  24028. #. type: item
  24029. #: guix-git/doc/guix.texi:16784
  24030. #, no-wrap
  24031. msgid "@code{login-arguments} (default: @code{'(\"-p\")})"
  24032. msgstr ""
  24033. #. type: table
  24034. #: guix-git/doc/guix.texi:16786
  24035. msgid "A list of arguments to pass to @command{login}."
  24036. msgstr ""
  24037. #. type: item
  24038. #: guix-git/doc/guix.texi:16791
  24039. #, no-wrap
  24040. msgid "@code{hardware-acceleration?} (default: #f)"
  24041. msgstr ""
  24042. #. type: table
  24043. #: guix-git/doc/guix.texi:16793
  24044. msgid "Whether to use hardware acceleration."
  24045. msgstr ""
  24046. #. type: item
  24047. #: guix-git/doc/guix.texi:16794
  24048. #, no-wrap
  24049. msgid "@code{font-engine} (default: @code{\"pango\"})"
  24050. msgstr ""
  24051. #. type: table
  24052. #: guix-git/doc/guix.texi:16796
  24053. msgid "Font engine used in Kmscon."
  24054. msgstr ""
  24055. #. type: item
  24056. #: guix-git/doc/guix.texi:16797
  24057. #, no-wrap
  24058. msgid "@code{font-size} (default: @code{12})"
  24059. msgstr ""
  24060. #. type: table
  24061. #: guix-git/doc/guix.texi:16799
  24062. msgid "Font size used in Kmscon."
  24063. msgstr ""
  24064. #. type: table
  24065. #: guix-git/doc/guix.texi:16803
  24066. msgid "If this is @code{#f}, Kmscon uses the default keyboard layout---usually US English (``qwerty'') for a 105-key PC keyboard."
  24067. msgstr ""
  24068. #. type: table
  24069. #: guix-git/doc/guix.texi:16807
  24070. 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."
  24071. msgstr ""
  24072. #. type: item
  24073. #: guix-git/doc/guix.texi:16808
  24074. #, no-wrap
  24075. msgid "@code{kmscon} (default: @var{kmscon})"
  24076. msgstr ""
  24077. #. type: table
  24078. #: guix-git/doc/guix.texi:16810
  24079. msgid "The Kmscon package to use."
  24080. msgstr ""
  24081. #. type: cindex
  24082. #: guix-git/doc/guix.texi:16814
  24083. #, no-wrap
  24084. msgid "name service cache daemon"
  24085. msgstr ""
  24086. #. type: cindex
  24087. #: guix-git/doc/guix.texi:16815
  24088. #, no-wrap
  24089. msgid "nscd"
  24090. msgstr ""
  24091. #. type: deffn
  24092. #: guix-git/doc/guix.texi:16816
  24093. #, no-wrap
  24094. msgid "{Scheme Procedure} nscd-service [@var{config}] [#:glibc glibc] @"
  24095. msgstr ""
  24096. #. type: deffn
  24097. #: guix-git/doc/guix.texi:16821
  24098. 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."
  24099. msgstr ""
  24100. #. type: deffn
  24101. #: guix-git/doc/guix.texi:16823
  24102. msgid "For convenience, the Shepherd service for nscd provides the following actions:"
  24103. msgstr ""
  24104. #. type: item
  24105. #: guix-git/doc/guix.texi:16825
  24106. #, no-wrap
  24107. msgid "invalidate"
  24108. msgstr ""
  24109. #. type: cindex
  24110. #: guix-git/doc/guix.texi:16826
  24111. #, no-wrap
  24112. msgid "cache invalidation, nscd"
  24113. msgstr ""
  24114. #. type: cindex
  24115. #: guix-git/doc/guix.texi:16827
  24116. #, no-wrap
  24117. msgid "nscd, cache invalidation"
  24118. msgstr ""
  24119. #. type: table
  24120. #: guix-git/doc/guix.texi:16829
  24121. msgid "This invalidate the given cache. For instance, running:"
  24122. msgstr ""
  24123. #. type: example
  24124. #: guix-git/doc/guix.texi:16832
  24125. #, no-wrap
  24126. msgid "herd invalidate nscd hosts\n"
  24127. msgstr ""
  24128. #. type: table
  24129. #: guix-git/doc/guix.texi:16836
  24130. msgid "invalidates the host name lookup cache of nscd."
  24131. msgstr ""
  24132. #. type: item
  24133. #: guix-git/doc/guix.texi:16837
  24134. #, no-wrap
  24135. msgid "statistics"
  24136. msgstr ""
  24137. #. type: table
  24138. #: guix-git/doc/guix.texi:16840
  24139. msgid "Running @command{herd statistics nscd} displays information about nscd usage and caches."
  24140. msgstr ""
  24141. #. type: defvr
  24142. #: guix-git/doc/guix.texi:16844
  24143. #, no-wrap
  24144. msgid "{Scheme Variable} %nscd-default-configuration"
  24145. msgstr ""
  24146. #. type: defvr
  24147. #: guix-git/doc/guix.texi:16848
  24148. 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."
  24149. msgstr ""
  24150. #. type: deftp
  24151. #: guix-git/doc/guix.texi:16850
  24152. #, no-wrap
  24153. msgid "{Data Type} nscd-configuration"
  24154. msgstr ""
  24155. #. type: deftp
  24156. #: guix-git/doc/guix.texi:16853
  24157. msgid "This is the data type representing the name service cache daemon (nscd) configuration."
  24158. msgstr ""
  24159. #. type: item
  24160. #: guix-git/doc/guix.texi:16856
  24161. #, no-wrap
  24162. msgid "@code{name-services} (default: @code{'()})"
  24163. msgstr ""
  24164. #. type: table
  24165. #: guix-git/doc/guix.texi:16859
  24166. msgid "List of packages denoting @dfn{name services} that must be visible to the nscd---e.g., @code{(list @var{nss-mdns})}."
  24167. msgstr ""
  24168. #. type: item
  24169. #: guix-git/doc/guix.texi:16860
  24170. #, no-wrap
  24171. msgid "@code{glibc} (default: @var{glibc})"
  24172. msgstr ""
  24173. #. type: table
  24174. #: guix-git/doc/guix.texi:16863
  24175. msgid "Package object denoting the GNU C Library providing the @command{nscd} command."
  24176. msgstr ""
  24177. #. type: item
  24178. #: guix-git/doc/guix.texi:16864
  24179. #, no-wrap
  24180. msgid "@code{log-file} (default: @code{\"/var/log/nscd.log\"})"
  24181. msgstr ""
  24182. #. type: table
  24183. #: guix-git/doc/guix.texi:16867
  24184. msgid "Name of the nscd log file. This is where debugging output goes when @code{debug-level} is strictly positive."
  24185. msgstr ""
  24186. #. type: item
  24187. #: guix-git/doc/guix.texi:16868
  24188. #, no-wrap
  24189. msgid "@code{debug-level} (default: @code{0})"
  24190. msgstr ""
  24191. #. type: table
  24192. #: guix-git/doc/guix.texi:16871
  24193. msgid "Integer denoting the debugging levels. Higher numbers mean that more debugging output is logged."
  24194. msgstr ""
  24195. #. type: item
  24196. #: guix-git/doc/guix.texi:16872
  24197. #, no-wrap
  24198. msgid "@code{caches} (default: @code{%nscd-default-caches})"
  24199. msgstr ""
  24200. #. type: table
  24201. #: guix-git/doc/guix.texi:16875
  24202. msgid "List of @code{<nscd-cache>} objects denoting things to be cached; see below."
  24203. msgstr ""
  24204. #. type: deftp
  24205. #: guix-git/doc/guix.texi:16879
  24206. #, no-wrap
  24207. msgid "{Data Type} nscd-cache"
  24208. msgstr ""
  24209. #. type: deftp
  24210. #: guix-git/doc/guix.texi:16881
  24211. msgid "Data type representing a cache database of nscd and its parameters."
  24212. msgstr ""
  24213. #. type: cindex
  24214. #: guix-git/doc/guix.texi:16884 guix-git/doc/guix.texi:21591
  24215. #, no-wrap
  24216. msgid "database"
  24217. msgstr ""
  24218. #. type: table
  24219. #: guix-git/doc/guix.texi:16889
  24220. 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})."
  24221. msgstr ""
  24222. #. type: code{#1}
  24223. #: guix-git/doc/guix.texi:16890
  24224. #, no-wrap
  24225. msgid "positive-time-to-live"
  24226. msgstr ""
  24227. #. type: itemx
  24228. #: guix-git/doc/guix.texi:16891
  24229. #, no-wrap
  24230. msgid "@code{negative-time-to-live} (default: @code{20})"
  24231. msgstr ""
  24232. #. type: table
  24233. #: guix-git/doc/guix.texi:16894
  24234. msgid "A number representing the number of seconds during which a positive or negative lookup result remains in cache."
  24235. msgstr ""
  24236. #. type: item
  24237. #: guix-git/doc/guix.texi:16895
  24238. #, no-wrap
  24239. msgid "@code{check-files?} (default: @code{#t})"
  24240. msgstr ""
  24241. #. type: table
  24242. #: guix-git/doc/guix.texi:16898
  24243. msgid "Whether to check for updates of the files corresponding to @var{database}."
  24244. msgstr ""
  24245. #. type: table
  24246. #: guix-git/doc/guix.texi:16902
  24247. 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."
  24248. msgstr ""
  24249. #. type: item
  24250. #: guix-git/doc/guix.texi:16903
  24251. #, no-wrap
  24252. msgid "@code{persistent?} (default: @code{#t})"
  24253. msgstr ""
  24254. #. type: table
  24255. #: guix-git/doc/guix.texi:16905
  24256. msgid "Whether the cache should be stored persistently on disk."
  24257. msgstr ""
  24258. #. type: item
  24259. #: guix-git/doc/guix.texi:16906
  24260. #, no-wrap
  24261. msgid "@code{shared?} (default: @code{#t})"
  24262. msgstr ""
  24263. #. type: table
  24264. #: guix-git/doc/guix.texi:16908
  24265. msgid "Whether the cache should be shared among users."
  24266. msgstr ""
  24267. #. type: item
  24268. #: guix-git/doc/guix.texi:16909
  24269. #, no-wrap
  24270. msgid "@code{max-database-size} (default: 32@tie{}MiB)"
  24271. msgstr ""
  24272. #. type: table
  24273. #: guix-git/doc/guix.texi:16911
  24274. msgid "Maximum size in bytes of the database cache."
  24275. msgstr ""
  24276. #. type: defvr
  24277. #: guix-git/doc/guix.texi:16918
  24278. #, no-wrap
  24279. msgid "{Scheme Variable} %nscd-default-caches"
  24280. msgstr ""
  24281. #. type: defvr
  24282. #: guix-git/doc/guix.texi:16921
  24283. msgid "List of @code{<nscd-cache>} objects used by default by @code{nscd-configuration} (see above)."
  24284. msgstr ""
  24285. #. type: defvr
  24286. #: guix-git/doc/guix.texi:16927
  24287. 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."
  24288. msgstr ""
  24289. #. type: anchor{#1}
  24290. #: guix-git/doc/guix.texi:16930
  24291. msgid "syslog-configuration-type"
  24292. msgstr ""
  24293. #. type: cindex
  24294. #: guix-git/doc/guix.texi:16930 guix-git/doc/guix.texi:16946
  24295. #, no-wrap
  24296. msgid "syslog"
  24297. msgstr ""
  24298. #. type: cindex
  24299. #: guix-git/doc/guix.texi:16931 guix-git/doc/guix.texi:17522
  24300. #, no-wrap
  24301. msgid "logging"
  24302. msgstr "kirjoittaa logia"
  24303. #. type: deftp
  24304. #: guix-git/doc/guix.texi:16932
  24305. #, no-wrap
  24306. msgid "{Data Type} syslog-configuration"
  24307. msgstr ""
  24308. #. type: deftp
  24309. #: guix-git/doc/guix.texi:16934
  24310. msgid "This data type represents the configuration of the syslog daemon."
  24311. msgstr ""
  24312. #. type: item
  24313. #: guix-git/doc/guix.texi:16936
  24314. #, no-wrap
  24315. msgid "@code{syslogd} (default: @code{#~(string-append #$inetutils \"/libexec/syslogd\")})"
  24316. msgstr ""
  24317. #. type: table
  24318. #: guix-git/doc/guix.texi:16938
  24319. msgid "The syslog daemon to use."
  24320. msgstr ""
  24321. #. type: item
  24322. #: guix-git/doc/guix.texi:16939
  24323. #, no-wrap
  24324. msgid "@code{config-file} (default: @code{%default-syslog.conf})"
  24325. msgstr ""
  24326. #. type: table
  24327. #: guix-git/doc/guix.texi:16941
  24328. msgid "The syslog configuration file to use."
  24329. msgstr ""
  24330. #. type: anchor{#1}
  24331. #: guix-git/doc/guix.texi:16946
  24332. msgid "syslog-service"
  24333. msgstr ""
  24334. #. type: deffn
  24335. #: guix-git/doc/guix.texi:16947
  24336. #, no-wrap
  24337. msgid "{Scheme Procedure} syslog-service @var{config}"
  24338. msgstr ""
  24339. #. type: deffn
  24340. #: guix-git/doc/guix.texi:16949
  24341. msgid "Return a service that runs a syslog daemon according to @var{config}."
  24342. msgstr ""
  24343. #. type: deffn
  24344. #: guix-git/doc/guix.texi:16952
  24345. msgid "@xref{syslogd invocation,,, inetutils, GNU Inetutils}, for more information on the configuration file syntax."
  24346. msgstr ""
  24347. #. type: defvr
  24348. #: guix-git/doc/guix.texi:16954
  24349. #, no-wrap
  24350. msgid "{Scheme Variable} guix-service-type"
  24351. msgstr ""
  24352. #. type: defvr
  24353. #: guix-git/doc/guix.texi:16958
  24354. 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."
  24355. msgstr ""
  24356. #. type: anchor{#1}
  24357. #: guix-git/doc/guix.texi:16961
  24358. msgid "guix-configuration-type"
  24359. msgstr ""
  24360. #. type: deftp
  24361. #: guix-git/doc/guix.texi:16961
  24362. #, no-wrap
  24363. msgid "{Data Type} guix-configuration"
  24364. msgstr ""
  24365. #. type: deftp
  24366. #: guix-git/doc/guix.texi:16964
  24367. msgid "This data type represents the configuration of the Guix build daemon. @xref{Invoking guix-daemon}, for more information."
  24368. msgstr ""
  24369. #. type: item
  24370. #: guix-git/doc/guix.texi:16966
  24371. #, no-wrap
  24372. msgid "@code{guix} (default: @var{guix})"
  24373. msgstr ""
  24374. #. type: table
  24375. #: guix-git/doc/guix.texi:16968 guix-git/doc/guix.texi:17245
  24376. msgid "The Guix package to use."
  24377. msgstr ""
  24378. #. type: item
  24379. #: guix-git/doc/guix.texi:16969
  24380. #, no-wrap
  24381. msgid "@code{build-group} (default: @code{\"guixbuild\"})"
  24382. msgstr ""
  24383. #. type: table
  24384. #: guix-git/doc/guix.texi:16971
  24385. msgid "Name of the group for build user accounts."
  24386. msgstr ""
  24387. #. type: item
  24388. #: guix-git/doc/guix.texi:16972
  24389. #, no-wrap
  24390. msgid "@code{build-accounts} (default: @code{10})"
  24391. msgstr ""
  24392. #. type: table
  24393. #: guix-git/doc/guix.texi:16974
  24394. msgid "Number of build user accounts to create."
  24395. msgstr ""
  24396. #. type: item
  24397. #: guix-git/doc/guix.texi:16975
  24398. #, no-wrap
  24399. msgid "@code{authorize-key?} (default: @code{#t})"
  24400. msgstr ""
  24401. #. type: table
  24402. #: guix-git/doc/guix.texi:16982
  24403. 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})."
  24404. msgstr ""
  24405. #. type: table
  24406. #: guix-git/doc/guix.texi:16988
  24407. 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."
  24408. msgstr ""
  24409. #. type: quotation
  24410. #: guix-git/doc/guix.texi:16995
  24411. 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}."
  24412. msgstr ""
  24413. #. type: vindex
  24414. #: guix-git/doc/guix.texi:16997
  24415. #, no-wrap
  24416. msgid "%default-authorized-guix-keys"
  24417. msgstr ""
  24418. #. type: item
  24419. #: guix-git/doc/guix.texi:16998
  24420. #, no-wrap
  24421. msgid "@code{authorized-keys} (default: @code{%default-authorized-guix-keys})"
  24422. msgstr ""
  24423. #. type: table
  24424. #: guix-git/doc/guix.texi:17004
  24425. 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."
  24426. msgstr ""
  24427. #. type: item
  24428. #: guix-git/doc/guix.texi:17005
  24429. #, no-wrap
  24430. msgid "@code{use-substitutes?} (default: @code{#t})"
  24431. msgstr ""
  24432. #. type: table
  24433. #: guix-git/doc/guix.texi:17007
  24434. msgid "Whether to use substitutes."
  24435. msgstr ""
  24436. #. type: item
  24437. #: guix-git/doc/guix.texi:17008 guix-git/doc/guix.texi:29604
  24438. #, no-wrap
  24439. msgid "@code{substitute-urls} (default: @code{%default-substitute-urls})"
  24440. msgstr ""
  24441. #. type: table
  24442. #: guix-git/doc/guix.texi:17010 guix-git/doc/guix.texi:29606
  24443. msgid "The list of URLs where to look for substitutes by default."
  24444. msgstr ""
  24445. #. type: table
  24446. #: guix-git/doc/guix.texi:17017
  24447. 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:"
  24448. msgstr ""
  24449. #. type: lisp
  24450. #: guix-git/doc/guix.texi:17026
  24451. #, no-wrap
  24452. msgid ""
  24453. "(guix-configuration\n"
  24454. " (substitute-urls\n"
  24455. " (append (list \"https://guix.example.org\")\n"
  24456. " %default-substitute-urls))\n"
  24457. " (authorized-keys\n"
  24458. " (append (list (local-file \"./guix.example.org-key.pub\"))\n"
  24459. " %default-authorized-guix-keys)))\n"
  24460. msgstr ""
  24461. #. type: table
  24462. #: guix-git/doc/guix.texi:17031
  24463. 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."
  24464. msgstr ""
  24465. #. type: item
  24466. #: guix-git/doc/guix.texi:17032
  24467. #, no-wrap
  24468. msgid "@code{max-silent-time} (default: @code{0})"
  24469. msgstr ""
  24470. #. type: itemx
  24471. #: guix-git/doc/guix.texi:17033
  24472. #, no-wrap
  24473. msgid "@code{timeout} (default: @code{0})"
  24474. msgstr ""
  24475. #. type: table
  24476. #: guix-git/doc/guix.texi:17037
  24477. 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."
  24478. msgstr ""
  24479. #. type: item
  24480. #: guix-git/doc/guix.texi:17038
  24481. #, no-wrap
  24482. msgid "@code{log-compression} (default: @code{'gzip})"
  24483. msgstr ""
  24484. #. type: table
  24485. #: guix-git/doc/guix.texi:17041
  24486. msgid "The type of compression used for build logs---one of @code{gzip}, @code{bzip2}, or @code{none}."
  24487. msgstr ""
  24488. #. type: item
  24489. #: guix-git/doc/guix.texi:17042
  24490. #, no-wrap
  24491. msgid "@code{discover?} (default: @code{#f})"
  24492. msgstr ""
  24493. #. type: table
  24494. #: guix-git/doc/guix.texi:17048
  24495. msgid "List of extra command-line options for @command{guix-daemon}."
  24496. msgstr ""
  24497. #. type: item
  24498. #: guix-git/doc/guix.texi:17049
  24499. #, no-wrap
  24500. msgid "@code{log-file} (default: @code{\"/var/log/guix-daemon.log\"})"
  24501. msgstr ""
  24502. #. type: table
  24503. #: guix-git/doc/guix.texi:17052
  24504. msgid "File where @command{guix-daemon}'s standard output and standard error are written."
  24505. msgstr ""
  24506. #. type: cindex
  24507. #: guix-git/doc/guix.texi:17053
  24508. #, no-wrap
  24509. msgid "HTTP proxy, for @code{guix-daemon}"
  24510. msgstr ""
  24511. #. type: cindex
  24512. #: guix-git/doc/guix.texi:17054
  24513. #, no-wrap
  24514. msgid "proxy, for @code{guix-daemon} HTTP access"
  24515. msgstr ""
  24516. #. type: item
  24517. #: guix-git/doc/guix.texi:17055
  24518. #, no-wrap
  24519. msgid "@code{http-proxy} (default: @code{#f})"
  24520. msgstr ""
  24521. #. type: table
  24522. #: guix-git/doc/guix.texi:17058
  24523. msgid "The URL of the HTTP and HTTPS proxy used for downloading fixed-output derivations and substitutes."
  24524. msgstr ""
  24525. #. type: table
  24526. #: guix-git/doc/guix.texi:17061
  24527. msgid "It is also possible to change the daemon's proxy at run time through the @code{set-http-proxy} action, which restarts it:"
  24528. msgstr ""
  24529. #. type: example
  24530. #: guix-git/doc/guix.texi:17064
  24531. #, no-wrap
  24532. msgid "herd set-http-proxy guix-daemon http://localhost:8118\n"
  24533. msgstr ""
  24534. #. type: table
  24535. #: guix-git/doc/guix.texi:17067
  24536. msgid "To clear the proxy settings, run:"
  24537. msgstr ""
  24538. #. type: example
  24539. #: guix-git/doc/guix.texi:17070
  24540. #, no-wrap
  24541. msgid "herd set-http-proxy guix-daemon\n"
  24542. msgstr ""
  24543. #. type: item
  24544. #: guix-git/doc/guix.texi:17072
  24545. #, no-wrap
  24546. msgid "@code{tmpdir} (default: @code{#f})"
  24547. msgstr ""
  24548. #. type: table
  24549. #: guix-git/doc/guix.texi:17074
  24550. msgid "A directory path where the @command{guix-daemon} will perform builds."
  24551. msgstr ""
  24552. #. type: deffn
  24553. #: guix-git/doc/guix.texi:17078
  24554. #, no-wrap
  24555. msgid "{Scheme Procedure} udev-service [#:udev @var{eudev} #:rules @code{'()}]"
  24556. msgstr ""
  24557. #. type: deffn
  24558. #: guix-git/doc/guix.texi:17084
  24559. 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."
  24560. msgstr ""
  24561. #. type: deffn
  24562. #: guix-git/doc/guix.texi:17087
  24563. msgid "The @command{herd rules udev} command, as root, returns the name of the directory containing all the active udev rules."
  24564. msgstr ""
  24565. #. type: deffn
  24566. #: guix-git/doc/guix.texi:17089
  24567. #, no-wrap
  24568. msgid "{Scheme Procedure} udev-rule [@var{file-name} @var{contents}]"
  24569. msgstr ""
  24570. #. type: deffn
  24571. #: guix-git/doc/guix.texi:17092
  24572. msgid "Return a udev-rule file named @var{file-name} containing the rules defined by the @var{contents} literal."
  24573. msgstr ""
  24574. #. type: deffn
  24575. #: guix-git/doc/guix.texi:17096
  24576. 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."
  24577. msgstr ""
  24578. #. type: lisp
  24579. #: guix-git/doc/guix.texi:17104
  24580. #, no-wrap
  24581. msgid ""
  24582. "(define %example-udev-rule\n"
  24583. " (udev-rule\n"
  24584. " \"90-usb-thing.rules\"\n"
  24585. " (string-append \"ACTION==\\\"add\\\", SUBSYSTEM==\\\"usb\\\", \"\n"
  24586. " \"ATTR@{product@}==\\\"Example\\\", \"\n"
  24587. " \"RUN+=\\\"/path/to/script\\\"\")))\n"
  24588. msgstr ""
  24589. #. type: deffn
  24590. #: guix-git/doc/guix.texi:17107
  24591. #, no-wrap
  24592. msgid "{Scheme Procedure} udev-rules-service [@var{name} @var{rules}] @"
  24593. msgstr ""
  24594. #. type: deffn
  24595. #: guix-git/doc/guix.texi:17114
  24596. 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."
  24597. msgstr ""
  24598. #. type: deffn
  24599. #: guix-git/doc/guix.texi:17117
  24600. msgid "Here we show how it can be used to extend @code{udev-service-type} with the previously defined rule @code{%example-udev-rule}."
  24601. msgstr ""
  24602. #. type: lisp
  24603. #: guix-git/doc/guix.texi:17124
  24604. #, no-wrap
  24605. msgid ""
  24606. "(operating-system\n"
  24607. " ;; @dots{}\n"
  24608. " (services\n"
  24609. " (cons (udev-rules-service 'usb-thing %example-udev-rule)\n"
  24610. " %desktop-services)))\n"
  24611. msgstr ""
  24612. #. type: deffn
  24613. #: guix-git/doc/guix.texi:17127
  24614. #, no-wrap
  24615. msgid "{Scheme Procedure} file->udev-rule [@var{file-name} @var{file}]"
  24616. msgstr ""
  24617. #. type: deffn
  24618. #: guix-git/doc/guix.texi:17130
  24619. msgid "Return a udev file named @var{file-name} containing the rules defined within @var{file}, a file-like object."
  24620. msgstr ""
  24621. #. type: deffn
  24622. #: guix-git/doc/guix.texi:17132
  24623. msgid "The following example showcases how we can use an existing rule file."
  24624. msgstr ""
  24625. #. type: lisp
  24626. #: guix-git/doc/guix.texi:17137
  24627. #, no-wrap
  24628. msgid ""
  24629. "(use-modules (guix download) ;for url-fetch\n"
  24630. " (guix packages) ;for origin\n"
  24631. " @dots{})\n"
  24632. "\n"
  24633. msgstr ""
  24634. #. type: lisp
  24635. #: guix-git/doc/guix.texi:17148
  24636. #, no-wrap
  24637. msgid ""
  24638. "(define %android-udev-rules\n"
  24639. " (file->udev-rule\n"
  24640. " \"51-android-udev.rules\"\n"
  24641. " (let ((version \"20170910\"))\n"
  24642. " (origin\n"
  24643. " (method url-fetch)\n"
  24644. " (uri (string-append \"https://raw.githubusercontent.com/M0Rf30/\"\n"
  24645. " \"android-udev-rules/\" version \"/51-android.rules\"))\n"
  24646. " (sha256\n"
  24647. " (base32 \"0lmmagpyb6xsq6zcr2w1cyx9qmjqmajkvrdbhjx32gqf1d9is003\"))))))\n"
  24648. msgstr ""
  24649. #. type: Plain text
  24650. #: guix-git/doc/guix.texi:17157
  24651. 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."
  24652. msgstr ""
  24653. #. type: Plain text
  24654. #: guix-git/doc/guix.texi:17166
  24655. 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."
  24656. msgstr ""
  24657. #. type: lisp
  24658. #: guix-git/doc/guix.texi:17171
  24659. #, no-wrap
  24660. msgid ""
  24661. "(use-modules (gnu packages android) ;for android-udev-rules\n"
  24662. " (gnu system shadow) ;for user-group\n"
  24663. " @dots{})\n"
  24664. "\n"
  24665. msgstr ""
  24666. #. type: lisp
  24667. #: guix-git/doc/guix.texi:17184
  24668. #, no-wrap
  24669. msgid ""
  24670. "(operating-system\n"
  24671. " ;; @dots{}\n"
  24672. " (users (cons (user-account\n"
  24673. " ;; @dots{}\n"
  24674. " (supplementary-groups\n"
  24675. " '(\"adbusers\" ;for adb\n"
  24676. " \"wheel\" \"netdev\" \"audio\" \"video\")))))\n"
  24677. " ;; @dots{}\n"
  24678. " (services\n"
  24679. " (cons (udev-rules-service 'android android-udev-rules\n"
  24680. " #:groups '(\"adbusers\"))\n"
  24681. " %desktop-services)))\n"
  24682. msgstr ""
  24683. #. type: defvr
  24684. #: guix-git/doc/guix.texi:17186
  24685. #, no-wrap
  24686. msgid "{Scheme Variable} urandom-seed-service-type"
  24687. msgstr ""
  24688. #. type: defvr
  24689. #: guix-git/doc/guix.texi:17191
  24690. 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."
  24691. msgstr ""
  24692. #. type: defvr
  24693. #: guix-git/doc/guix.texi:17193
  24694. #, no-wrap
  24695. msgid "{Scheme Variable} %random-seed-file"
  24696. msgstr ""
  24697. #. type: defvr
  24698. #: guix-git/doc/guix.texi:17197
  24699. 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}."
  24700. msgstr ""
  24701. #. type: cindex
  24702. #: guix-git/doc/guix.texi:17199
  24703. #, no-wrap
  24704. msgid "mouse"
  24705. msgstr "hiiri"
  24706. #. type: cindex
  24707. #: guix-git/doc/guix.texi:17200
  24708. #, no-wrap
  24709. msgid "gpm"
  24710. msgstr ""
  24711. #. type: defvr
  24712. #: guix-git/doc/guix.texi:17201
  24713. #, no-wrap
  24714. msgid "{Scheme Variable} gpm-service-type"
  24715. msgstr ""
  24716. #. type: defvr
  24717. #: guix-git/doc/guix.texi:17206
  24718. 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."
  24719. msgstr ""
  24720. #. type: defvr
  24721. #: guix-git/doc/guix.texi:17209
  24722. 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}."
  24723. msgstr ""
  24724. #. type: deftp
  24725. #: guix-git/doc/guix.texi:17211
  24726. #, no-wrap
  24727. msgid "{Data Type} gpm-configuration"
  24728. msgstr ""
  24729. #. type: deftp
  24730. #: guix-git/doc/guix.texi:17213
  24731. msgid "Data type representing the configuration of GPM."
  24732. msgstr ""
  24733. #. type: item
  24734. #: guix-git/doc/guix.texi:17215
  24735. #, no-wrap
  24736. msgid "@code{options} (default: @code{%default-gpm-options})"
  24737. msgstr ""
  24738. #. type: table
  24739. #: guix-git/doc/guix.texi:17220
  24740. 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."
  24741. msgstr ""
  24742. #. type: item
  24743. #: guix-git/doc/guix.texi:17221
  24744. #, no-wrap
  24745. msgid "@code{gpm} (default: @code{gpm})"
  24746. msgstr ""
  24747. #. type: table
  24748. #: guix-git/doc/guix.texi:17223
  24749. msgid "The GPM package to use."
  24750. msgstr ""
  24751. #. type: anchor{#1}
  24752. #: guix-git/doc/guix.texi:17228
  24753. msgid "guix-publish-service-type"
  24754. msgstr ""
  24755. #. type: deffn
  24756. #: guix-git/doc/guix.texi:17228
  24757. #, no-wrap
  24758. msgid "{Scheme Variable} guix-publish-service-type"
  24759. msgstr ""
  24760. #. type: deffn
  24761. #: guix-git/doc/guix.texi:17232
  24762. 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."
  24763. msgstr ""
  24764. #. type: deffn
  24765. #: guix-git/doc/guix.texi:17236
  24766. 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."
  24767. msgstr ""
  24768. #. type: deftp
  24769. #: guix-git/doc/guix.texi:17238
  24770. #, no-wrap
  24771. msgid "{Data Type} guix-publish-configuration"
  24772. msgstr ""
  24773. #. type: deftp
  24774. #: guix-git/doc/guix.texi:17241
  24775. msgid "Data type representing the configuration of the @code{guix publish} service."
  24776. msgstr ""
  24777. #. type: item
  24778. #: guix-git/doc/guix.texi:17243
  24779. #, no-wrap
  24780. msgid "@code{guix} (default: @code{guix})"
  24781. msgstr ""
  24782. #. type: item
  24783. #: guix-git/doc/guix.texi:17246 guix-git/doc/guix.texi:31942
  24784. #, no-wrap
  24785. msgid "@code{port} (default: @code{80})"
  24786. msgstr ""
  24787. #. type: table
  24788. #: guix-git/doc/guix.texi:17248
  24789. msgid "The TCP port to listen for connections."
  24790. msgstr ""
  24791. #. type: item
  24792. #: guix-git/doc/guix.texi:17249 guix-git/doc/guix.texi:29487
  24793. #: guix-git/doc/guix.texi:33323
  24794. #, no-wrap
  24795. msgid "@code{host} (default: @code{\"localhost\"})"
  24796. msgstr ""
  24797. #. type: table
  24798. #: guix-git/doc/guix.texi:17252
  24799. msgid "The host (and thus, network interface) to listen to. Use @code{\"0.0.0.0\"} to listen on all the network interfaces."
  24800. msgstr ""
  24801. #. type: item
  24802. #: guix-git/doc/guix.texi:17253
  24803. #, no-wrap
  24804. msgid "@code{advertise?} (default: @code{#f})"
  24805. msgstr ""
  24806. #. type: table
  24807. #: guix-git/doc/guix.texi:17256
  24808. msgid "When true, advertise the service on the local network @i{via} the DNS-SD protocol, using Avahi."
  24809. msgstr ""
  24810. #. type: table
  24811. #: guix-git/doc/guix.texi:17260
  24812. 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."
  24813. msgstr ""
  24814. #. type: item
  24815. #: guix-git/doc/guix.texi:17261
  24816. #, no-wrap
  24817. msgid "@code{compression} (default: @code{'((\"gzip\" 3) (\"zstd\" 3))})"
  24818. msgstr ""
  24819. #. type: table
  24820. #: guix-git/doc/guix.texi:17265
  24821. 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:"
  24822. msgstr ""
  24823. #. type: lisp
  24824. #: guix-git/doc/guix.texi:17268
  24825. #, no-wrap
  24826. msgid "'((\"lzip\" 7) (\"gzip\" 9))\n"
  24827. msgstr ""
  24828. #. type: table
  24829. #: guix-git/doc/guix.texi:17274
  24830. 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."
  24831. msgstr ""
  24832. #. type: table
  24833. #: guix-git/doc/guix.texi:17276
  24834. msgid "An empty list disables compression altogether."
  24835. msgstr ""
  24836. #. type: item
  24837. #: guix-git/doc/guix.texi:17277
  24838. #, no-wrap
  24839. msgid "@code{nar-path} (default: @code{\"nar\"})"
  24840. msgstr ""
  24841. #. type: table
  24842. #: guix-git/doc/guix.texi:17280
  24843. msgid "The URL path at which ``nars'' can be fetched. @xref{Invoking guix publish, @option{--nar-path}}, for details."
  24844. msgstr ""
  24845. #. type: item
  24846. #: guix-git/doc/guix.texi:17281
  24847. #, no-wrap
  24848. msgid "@code{cache} (default: @code{#f})"
  24849. msgstr ""
  24850. #. type: table
  24851. #: guix-git/doc/guix.texi:17287
  24852. 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."
  24853. msgstr ""
  24854. #. type: item
  24855. #: guix-git/doc/guix.texi:17288
  24856. #, no-wrap
  24857. msgid "@code{workers} (default: @code{#f})"
  24858. msgstr ""
  24859. #. type: table
  24860. #: guix-git/doc/guix.texi:17292
  24861. 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."
  24862. msgstr ""
  24863. #. type: item
  24864. #: guix-git/doc/guix.texi:17293
  24865. #, no-wrap
  24866. msgid "@code{cache-bypass-threshold} (default: 10 MiB)"
  24867. msgstr ""
  24868. #. type: table
  24869. #: guix-git/doc/guix.texi:17298
  24870. 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."
  24871. msgstr ""
  24872. #. type: item
  24873. #: guix-git/doc/guix.texi:17299 guix-git/doc/guix.texi:33824
  24874. #, no-wrap
  24875. msgid "@code{ttl} (default: @code{#f})"
  24876. msgstr ""
  24877. #. type: table
  24878. #: guix-git/doc/guix.texi:17303
  24879. 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."
  24880. msgstr ""
  24881. #. type: item
  24882. #: guix-git/doc/guix.texi:17304 guix-git/doc/guix.texi:33832
  24883. #, no-wrap
  24884. msgid "@code{negative-ttl} (default: @code{#f})"
  24885. msgstr ""
  24886. #. type: table
  24887. #: guix-git/doc/guix.texi:17308
  24888. msgid "When it is an integer, this denotes the @dfn{time-to-live} in seconds for the negative lookups. @xref{Invoking guix publish, @option{--negative-ttl}}, for more information."
  24889. msgstr ""
  24890. #. type: anchor{#1}
  24891. #: guix-git/doc/guix.texi:17312
  24892. msgid "rngd-service"
  24893. msgstr ""
  24894. #. type: deffn
  24895. #: guix-git/doc/guix.texi:17312
  24896. #, no-wrap
  24897. msgid "{Scheme Procedure} rngd-service [#:rng-tools @var{rng-tools}] @"
  24898. msgstr ""
  24899. #. type: deffn
  24900. #: guix-git/doc/guix.texi:17317
  24901. 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."
  24902. msgstr ""
  24903. #. type: anchor{#1}
  24904. #: guix-git/doc/guix.texi:17320
  24905. msgid "pam-limits-service"
  24906. msgstr ""
  24907. #. type: cindex
  24908. #: guix-git/doc/guix.texi:17320
  24909. #, no-wrap
  24910. msgid "session limits"
  24911. msgstr ""
  24912. #. type: cindex
  24913. #: guix-git/doc/guix.texi:17321
  24914. #, no-wrap
  24915. msgid "ulimit"
  24916. msgstr ""
  24917. #. type: cindex
  24918. #: guix-git/doc/guix.texi:17322
  24919. #, no-wrap
  24920. msgid "priority"
  24921. msgstr "prioriteetti"
  24922. #. type: cindex
  24923. #: guix-git/doc/guix.texi:17323
  24924. #, no-wrap
  24925. msgid "realtime"
  24926. msgstr ""
  24927. #. type: cindex
  24928. #: guix-git/doc/guix.texi:17324
  24929. #, no-wrap
  24930. msgid "jackd"
  24931. msgstr ""
  24932. #. type: cindex
  24933. #: guix-git/doc/guix.texi:17325
  24934. #, no-wrap
  24935. msgid "nofile"
  24936. msgstr ""
  24937. #. type: cindex
  24938. #: guix-git/doc/guix.texi:17326
  24939. #, no-wrap
  24940. msgid "open file descriptors"
  24941. msgstr ""
  24942. #. type: deffn
  24943. #: guix-git/doc/guix.texi:17327
  24944. #, no-wrap
  24945. msgid "{Scheme Procedure} pam-limits-service [#:limits @code{'()}]"
  24946. msgstr ""
  24947. #. type: deffn
  24948. #: guix-git/doc/guix.texi:17334
  24949. 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."
  24950. msgstr ""
  24951. #. type: deffn
  24952. #: guix-git/doc/guix.texi:17337
  24953. msgid "The following limits definition sets two hard and soft limits for all login sessions of users in the @code{realtime} group:"
  24954. msgstr ""
  24955. #. type: lisp
  24956. #: guix-git/doc/guix.texi:17343
  24957. #, no-wrap
  24958. msgid ""
  24959. "(pam-limits-service\n"
  24960. " (list\n"
  24961. " (pam-limits-entry \"@@realtime\" 'both 'rtprio 99)\n"
  24962. " (pam-limits-entry \"@@realtime\" 'both 'memlock 'unlimited)))\n"
  24963. msgstr ""
  24964. #. type: deffn
  24965. #: guix-git/doc/guix.texi:17349
  24966. 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."
  24967. msgstr ""
  24968. #. type: deffn
  24969. #: guix-git/doc/guix.texi:17352
  24970. msgid "Another useful example is raising the maximum number of open file descriptors that can be used:"
  24971. msgstr ""
  24972. #. type: lisp
  24973. #: guix-git/doc/guix.texi:17357
  24974. #, no-wrap
  24975. msgid ""
  24976. "(pam-limits-service\n"
  24977. " (list\n"
  24978. " (pam-limits-entry \"*\" 'both 'nofile 100000)))\n"
  24979. msgstr ""
  24980. #. type: deffn
  24981. #: guix-git/doc/guix.texi:17365
  24982. 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."
  24983. msgstr ""
  24984. #. type: cindex
  24985. #: guix-git/doc/guix.texi:17370 guix-git/doc/guix.texi:38012
  24986. #, no-wrap
  24987. msgid "cron"
  24988. msgstr ""
  24989. #. type: cindex
  24990. #: guix-git/doc/guix.texi:17371 guix-git/doc/guix.texi:38013
  24991. #, no-wrap
  24992. msgid "mcron"
  24993. msgstr ""
  24994. #. type: cindex
  24995. #: guix-git/doc/guix.texi:17372 guix-git/doc/guix.texi:38014
  24996. #, no-wrap
  24997. msgid "scheduling jobs"
  24998. msgstr ""
  24999. #. type: Plain text
  25000. #: guix-git/doc/guix.texi:17379
  25001. 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."
  25002. msgstr ""
  25003. #. type: Plain text
  25004. #: guix-git/doc/guix.texi:17387
  25005. 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})."
  25006. msgstr ""
  25007. #. type: lisp
  25008. #: guix-git/doc/guix.texi:17391
  25009. #, no-wrap
  25010. msgid ""
  25011. "(use-modules (guix) (gnu) (gnu services mcron))\n"
  25012. "(use-package-modules base idutils)\n"
  25013. "\n"
  25014. msgstr ""
  25015. #. type: lisp
  25016. #: guix-git/doc/guix.texi:17401
  25017. #, no-wrap
  25018. msgid ""
  25019. "(define updatedb-job\n"
  25020. " ;; Run 'updatedb' at 3AM every day. Here we write the\n"
  25021. " ;; job's action as a Scheme procedure.\n"
  25022. " #~(job '(next-hour '(3))\n"
  25023. " (lambda ()\n"
  25024. " (execl (string-append #$findutils \"/bin/updatedb\")\n"
  25025. " \"updatedb\"\n"
  25026. " \"--prunepaths=/tmp /var/tmp /gnu/store\"))\n"
  25027. " \"updatedb\"))\n"
  25028. "\n"
  25029. msgstr ""
  25030. #. type: lisp
  25031. #: guix-git/doc/guix.texi:17407
  25032. #, no-wrap
  25033. msgid ""
  25034. "(define garbage-collector-job\n"
  25035. " ;; Collect garbage 5 minutes after midnight every day.\n"
  25036. " ;; The job's action is a shell command.\n"
  25037. " #~(job \"5 0 * * *\" ;Vixie cron syntax\n"
  25038. " \"guix gc -F 1G\"))\n"
  25039. "\n"
  25040. msgstr ""
  25041. #. type: lisp
  25042. #: guix-git/doc/guix.texi:17414
  25043. #, no-wrap
  25044. msgid ""
  25045. "(define idutils-job\n"
  25046. " ;; Update the index database as user \"charlie\" at 12:15PM\n"
  25047. " ;; and 19:15PM. This runs from the user's home directory.\n"
  25048. " #~(job '(next-minute-from (next-hour '(12 19)) '(15))\n"
  25049. " (string-append #$idutils \"/bin/mkid src\")\n"
  25050. " #:user \"charlie\"))\n"
  25051. "\n"
  25052. msgstr ""
  25053. #. type: lisp
  25054. #: guix-git/doc/guix.texi:17417
  25055. #, no-wrap
  25056. msgid ""
  25057. "(operating-system\n"
  25058. " ;; @dots{}\n"
  25059. "\n"
  25060. msgstr ""
  25061. #. type: lisp
  25062. #: guix-git/doc/guix.texi:17427
  25063. #, no-wrap
  25064. msgid ""
  25065. " ;; %BASE-SERVICES already includes an instance of\n"
  25066. " ;; 'mcron-service-type', which we extend with additional\n"
  25067. " ;; jobs using 'simple-service'.\n"
  25068. " (services (cons (simple-service 'my-cron-jobs\n"
  25069. " mcron-service-type\n"
  25070. " (list garbage-collector-job\n"
  25071. " updatedb-job\n"
  25072. " idutils-job))\n"
  25073. " %base-services)))\n"
  25074. msgstr ""
  25075. #. type: quotation
  25076. #: guix-git/doc/guix.texi:17429
  25077. #, no-wrap
  25078. msgid "Tip"
  25079. msgstr ""
  25080. #. type: quotation
  25081. #: guix-git/doc/guix.texi:17435
  25082. 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!"
  25083. msgstr ""
  25084. #. type: Plain text
  25085. #: guix-git/doc/guix.texi:17442
  25086. 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."
  25087. msgstr ""
  25088. #. type: lisp
  25089. #: guix-git/doc/guix.texi:17458
  25090. #, no-wrap
  25091. msgid ""
  25092. "(define %battery-alert-job\n"
  25093. " ;; Beep when the battery percentage falls below %MIN-LEVEL.\n"
  25094. " #~(job\n"
  25095. " '(next-minute (range 0 60 1))\n"
  25096. " #$(program-file\n"
  25097. " \"battery-alert.scm\"\n"
  25098. " (with-imported-modules (source-module-closure\n"
  25099. " '((guix build utils)))\n"
  25100. " #~(begin\n"
  25101. " (use-modules (guix build utils)\n"
  25102. " (ice-9 popen)\n"
  25103. " (ice-9 regex)\n"
  25104. " (ice-9 textual-ports)\n"
  25105. " (srfi srfi-2))\n"
  25106. "\n"
  25107. msgstr ""
  25108. #. type: lisp
  25109. #: guix-git/doc/guix.texi:17460
  25110. #, no-wrap
  25111. msgid ""
  25112. " (define %min-level 20)\n"
  25113. "\n"
  25114. msgstr ""
  25115. #. type: lisp
  25116. #: guix-git/doc/guix.texi:17471
  25117. #, no-wrap
  25118. msgid ""
  25119. " (setenv \"LC_ALL\" \"C\") ;ensure English output\n"
  25120. " (and-let* ((input-pipe (open-pipe*\n"
  25121. " OPEN_READ\n"
  25122. " #$(file-append acpi \"/bin/acpi\")))\n"
  25123. " (output (get-string-all input-pipe))\n"
  25124. " (m (string-match \"Discharging, ([0-9]+)%\" output))\n"
  25125. " (level (string->number (match:substring m 1)))\n"
  25126. " ((< level %min-level)))\n"
  25127. " (format #t \"warning: Battery level is low (~a%)~%\" level)\n"
  25128. " (invoke #$(file-append beep \"/bin/beep\") \"-r5\")))))))\n"
  25129. msgstr ""
  25130. #. type: Plain text
  25131. #: guix-git/doc/guix.texi:17476
  25132. 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."
  25133. msgstr ""
  25134. #. type: Plain text
  25135. #: guix-git/doc/guix.texi:17479
  25136. 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:"
  25137. msgstr ""
  25138. #. type: example
  25139. #: guix-git/doc/guix.texi:17482
  25140. #, no-wrap
  25141. msgid "# herd schedule mcron\n"
  25142. msgstr ""
  25143. #. type: Plain text
  25144. #: guix-git/doc/guix.texi:17487
  25145. msgid "The example above lists the next five tasks that will be executed, but you can also specify the number of tasks to display:"
  25146. msgstr ""
  25147. #. type: example
  25148. #: guix-git/doc/guix.texi:17490
  25149. #, no-wrap
  25150. msgid "# herd schedule mcron 10\n"
  25151. msgstr ""
  25152. #. type: defvr
  25153. #: guix-git/doc/guix.texi:17492
  25154. #, no-wrap
  25155. msgid "{Scheme Variable} mcron-service-type"
  25156. msgstr ""
  25157. #. type: defvr
  25158. #: guix-git/doc/guix.texi:17495
  25159. msgid "This is the type of the @code{mcron} service, whose value is an @code{mcron-configuration} object."
  25160. msgstr ""
  25161. #. type: defvr
  25162. #: guix-git/doc/guix.texi:17500 guix-git/doc/guix.texi:38033
  25163. msgid "This service type can be the target of a service extension that provides additional job specifications (@pxref{Service Composition}). In other words, it is possible to define services that provide additional mcron jobs to run."
  25164. msgstr ""
  25165. #. type: deftp
  25166. #: guix-git/doc/guix.texi:17502
  25167. #, no-wrap
  25168. msgid "{Data Type} mcron-configuration"
  25169. msgstr ""
  25170. #. type: deftp
  25171. #: guix-git/doc/guix.texi:17504 guix-git/doc/guix.texi:38037
  25172. msgid "Data type representing the configuration of mcron."
  25173. msgstr ""
  25174. #. type: item
  25175. #: guix-git/doc/guix.texi:17506 guix-git/doc/guix.texi:38039
  25176. #, no-wrap
  25177. msgid "@code{mcron} (default: @var{mcron})"
  25178. msgstr ""
  25179. #. type: table
  25180. #: guix-git/doc/guix.texi:17508 guix-git/doc/guix.texi:38041
  25181. msgid "The mcron package to use."
  25182. msgstr ""
  25183. #. type: code{#1}
  25184. #: guix-git/doc/guix.texi:17509 guix-git/doc/guix.texi:17578
  25185. #: guix-git/doc/guix.texi:38042
  25186. #, no-wrap
  25187. msgid "jobs"
  25188. msgstr ""
  25189. #. type: table
  25190. #: guix-git/doc/guix.texi:17513 guix-git/doc/guix.texi:38046
  25191. 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})."
  25192. msgstr ""
  25193. #. type: cindex
  25194. #: guix-git/doc/guix.texi:17520
  25195. #, no-wrap
  25196. msgid "rottlog"
  25197. msgstr ""
  25198. #. type: cindex
  25199. #: guix-git/doc/guix.texi:17521
  25200. #, no-wrap
  25201. msgid "log rotation"
  25202. msgstr ""
  25203. #. type: Plain text
  25204. #: guix-git/doc/guix.texi:17528
  25205. 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})."
  25206. msgstr ""
  25207. #. type: Plain text
  25208. #: guix-git/doc/guix.texi:17534
  25209. 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):"
  25210. msgstr ""
  25211. #. type: lisp
  25212. #: guix-git/doc/guix.texi:17538
  25213. #, no-wrap
  25214. msgid ""
  25215. "(use-modules (guix) (gnu))\n"
  25216. "(use-service-modules admin)\n"
  25217. "\n"
  25218. msgstr ""
  25219. #. type: lisp
  25220. #: guix-git/doc/guix.texi:17542
  25221. #, no-wrap
  25222. msgid ""
  25223. "(define my-log-files\n"
  25224. " ;; Log files that I want to rotate.\n"
  25225. " '(\"/var/log/something.log\" \"/var/log/another.log\"))\n"
  25226. "\n"
  25227. msgstr ""
  25228. #. type: lisp
  25229. #: guix-git/doc/guix.texi:17551
  25230. #, no-wrap
  25231. msgid ""
  25232. "(operating-system\n"
  25233. " ;; @dots{}\n"
  25234. " (services (cons (simple-service 'rotate-my-stuff\n"
  25235. " rottlog-service-type\n"
  25236. " (list (log-rotation\n"
  25237. " (frequency 'daily)\n"
  25238. " (files my-log-files))))\n"
  25239. " %base-services)))\n"
  25240. msgstr ""
  25241. #. type: defvr
  25242. #: guix-git/doc/guix.texi:17553
  25243. #, no-wrap
  25244. msgid "{Scheme Variable} rottlog-service-type"
  25245. msgstr ""
  25246. #. type: defvr
  25247. #: guix-git/doc/guix.texi:17556
  25248. msgid "This is the type of the Rottlog service, whose value is a @code{rottlog-configuration} object."
  25249. msgstr ""
  25250. #. type: defvr
  25251. #: guix-git/doc/guix.texi:17559
  25252. msgid "Other services can extend this one with new @code{log-rotation} objects (see below), thereby augmenting the set of files to be rotated."
  25253. msgstr ""
  25254. #. type: defvr
  25255. #: guix-git/doc/guix.texi:17562
  25256. msgid "This service type can define mcron jobs (@pxref{Scheduled Job Execution}) to run the rottlog service."
  25257. msgstr ""
  25258. #. type: deftp
  25259. #: guix-git/doc/guix.texi:17564
  25260. #, no-wrap
  25261. msgid "{Data Type} rottlog-configuration"
  25262. msgstr ""
  25263. #. type: deftp
  25264. #: guix-git/doc/guix.texi:17566
  25265. msgid "Data type representing the configuration of rottlog."
  25266. msgstr ""
  25267. #. type: item
  25268. #: guix-git/doc/guix.texi:17568
  25269. #, no-wrap
  25270. msgid "@code{rottlog} (default: @code{rottlog})"
  25271. msgstr ""
  25272. #. type: table
  25273. #: guix-git/doc/guix.texi:17570
  25274. msgid "The Rottlog package to use."
  25275. msgstr ""
  25276. #. type: item
  25277. #: guix-git/doc/guix.texi:17571
  25278. #, no-wrap
  25279. msgid "@code{rc-file} (default: @code{(file-append rottlog \"/etc/rc\")})"
  25280. msgstr ""
  25281. #. type: table
  25282. #: guix-git/doc/guix.texi:17574
  25283. msgid "The Rottlog configuration file to use (@pxref{Mandatory RC Variables,,, rottlog, GNU Rot[t]log Manual})."
  25284. msgstr ""
  25285. #. type: item
  25286. #: guix-git/doc/guix.texi:17575
  25287. #, no-wrap
  25288. msgid "@code{rotations} (default: @code{%default-rotations})"
  25289. msgstr ""
  25290. #. type: table
  25291. #: guix-git/doc/guix.texi:17577
  25292. msgid "A list of @code{log-rotation} objects as defined below."
  25293. msgstr ""
  25294. #. type: table
  25295. #: guix-git/doc/guix.texi:17581
  25296. msgid "This is a list of gexps where each gexp corresponds to an mcron job specification (@pxref{Scheduled Job Execution})."
  25297. msgstr ""
  25298. #. type: deftp
  25299. #: guix-git/doc/guix.texi:17584
  25300. #, no-wrap
  25301. msgid "{Data Type} log-rotation"
  25302. msgstr ""
  25303. #. type: deftp
  25304. #: guix-git/doc/guix.texi:17586
  25305. msgid "Data type representing the rotation of a group of log files."
  25306. msgstr ""
  25307. #. type: deftp
  25308. #: guix-git/doc/guix.texi:17590
  25309. 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:"
  25310. msgstr ""
  25311. #. type: lisp
  25312. #: guix-git/doc/guix.texi:17599
  25313. #, no-wrap
  25314. msgid ""
  25315. "(log-rotation\n"
  25316. " (frequency 'daily)\n"
  25317. " (files '(\"/var/log/apache/*\"))\n"
  25318. " (options '(\"storedir apache-archives\"\n"
  25319. " \"rotate 6\"\n"
  25320. " \"notifempty\"\n"
  25321. " \"nocompress\")))\n"
  25322. msgstr ""
  25323. #. type: deftp
  25324. #: guix-git/doc/guix.texi:17602
  25325. msgid "The list of fields is as follows:"
  25326. msgstr ""
  25327. #. type: item
  25328. #: guix-git/doc/guix.texi:17604
  25329. #, no-wrap
  25330. msgid "@code{frequency} (default: @code{'weekly})"
  25331. msgstr ""
  25332. #. type: table
  25333. #: guix-git/doc/guix.texi:17606
  25334. msgid "The log rotation frequency, a symbol."
  25335. msgstr ""
  25336. #. type: table
  25337. #: guix-git/doc/guix.texi:17609
  25338. msgid "The list of files or file glob patterns to rotate."
  25339. msgstr ""
  25340. #. type: item
  25341. #: guix-git/doc/guix.texi:17610
  25342. #, no-wrap
  25343. msgid "@code{options} (default: @code{'()})"
  25344. msgstr ""
  25345. #. type: table
  25346. #: guix-git/doc/guix.texi:17613
  25347. msgid "The list of rottlog options for this rotation (@pxref{Configuration parameters,,, rottlog, GNU Rot[t]lg Manual})."
  25348. msgstr ""
  25349. #. type: item
  25350. #: guix-git/doc/guix.texi:17614
  25351. #, no-wrap
  25352. msgid "@code{post-rotate} (default: @code{#f})"
  25353. msgstr ""
  25354. #. type: table
  25355. #: guix-git/doc/guix.texi:17616
  25356. msgid "Either @code{#f} or a gexp to execute once the rotation has completed."
  25357. msgstr ""
  25358. #. type: defvr
  25359. #: guix-git/doc/guix.texi:17619
  25360. #, no-wrap
  25361. msgid "{Scheme Variable} %default-rotations"
  25362. msgstr ""
  25363. #. type: defvr
  25364. #: guix-git/doc/guix.texi:17622
  25365. msgid "Specifies weekly rotation of @code{%rotated-files} and of @file{/var/log/guix-daemon.log}."
  25366. msgstr ""
  25367. #. type: defvr
  25368. #: guix-git/doc/guix.texi:17624
  25369. #, no-wrap
  25370. msgid "{Scheme Variable} %rotated-files"
  25371. msgstr ""
  25372. #. type: defvr
  25373. #: guix-git/doc/guix.texi:17628
  25374. 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\")}."
  25375. msgstr ""
  25376. #. type: Plain text
  25377. #: guix-git/doc/guix.texi:17641
  25378. msgid "The @code{(gnu services networking)} module provides services to configure network interfaces and set up networking on your machine. Those services provide different ways for you to set up your machine: by declaring a static network configuration, by running a Dynamic Host Configuration Protocol (DHCP) client, or by running daemons such as NetworkManager and Connman that automate the whole process, automatically adapt to connectivity changes, and provide a high-level user interface."
  25379. msgstr ""
  25380. #. type: Plain text
  25381. #: guix-git/doc/guix.texi:17647
  25382. msgid "On a laptop, NetworkManager and Connman are by far the most convenient options, which is why the default desktop services include NetworkManager (@pxref{Desktop Services, @code{%desktop-services}}). For a server, or for a virtual machine or a container, static network configuration or a simple DHCP client are often more appropriate."
  25383. msgstr ""
  25384. #. type: Plain text
  25385. #: guix-git/doc/guix.texi:17650
  25386. msgid "This section describes the various network setup services available, starting with static network configuration."
  25387. msgstr ""
  25388. #. type: defvr
  25389. #: guix-git/doc/guix.texi:17651
  25390. #, no-wrap
  25391. msgid "{Scheme Variable} static-networking-service-type"
  25392. msgstr ""
  25393. #. type: defvr
  25394. #: guix-git/doc/guix.texi:17656
  25395. msgid "This is the type for statically-configured network interfaces. Its value must be a list of @code{static-networking} records. Each of them declares a set of @dfn{addresses}, @dfn{routes}, and @dfn{links}, as show below."
  25396. msgstr ""
  25397. #. type: cindex
  25398. #: guix-git/doc/guix.texi:17657
  25399. #, no-wrap
  25400. msgid "network interface controller (NIC)"
  25401. msgstr ""
  25402. #. type: cindex
  25403. #: guix-git/doc/guix.texi:17658
  25404. #, no-wrap
  25405. msgid "NIC, networking interface controller"
  25406. msgstr ""
  25407. #. type: defvr
  25408. #: guix-git/doc/guix.texi:17661
  25409. msgid "Here is the simplest configuration, with only one network interface controller (NIC) and only IPv4 connectivity:"
  25410. msgstr ""
  25411. #. type: lisp
  25412. #: guix-git/doc/guix.texi:17675
  25413. #, no-wrap
  25414. msgid ""
  25415. ";; Static networking for one NIC, IPv4-only.\n"
  25416. "(service static-networking-service-type\n"
  25417. " (list (static-networking\n"
  25418. " (addresses\n"
  25419. " (list (network-address\n"
  25420. " (device \"eno1\")\n"
  25421. " (value \"10.0.2.15/24\"))))\n"
  25422. " (routes\n"
  25423. " (list (network-route\n"
  25424. " (destination \"default\")\n"
  25425. " (gateway \"10.0.2.2\"))))\n"
  25426. " (name-servers '(\"10.0.2.3\")))))\n"
  25427. msgstr ""
  25428. #. type: defvr
  25429. #: guix-git/doc/guix.texi:17684
  25430. msgid "The snippet above can be added to the @code{services} field of your operating system configuration (@pxref{Using the Configuration System}). It will configure your machine to have 10.0.2.15 as its IP address, with a 24-bit netmask for the local network---meaning that any 10.0.2.@var{x} address is on the local area network (LAN). Traffic to addresses outside the local network is routed @i{via} 10.0.2.2. Host names are resolved by sending domain name system (DNS) queries to 10.0.2.3."
  25431. msgstr ""
  25432. #. type: deftp
  25433. #: guix-git/doc/guix.texi:17686
  25434. #, no-wrap
  25435. msgid "{Data Type} static-networking"
  25436. msgstr ""
  25437. #. type: deftp
  25438. #: guix-git/doc/guix.texi:17688
  25439. msgid "This is the data type representing a static network configuration."
  25440. msgstr ""
  25441. #. type: deftp
  25442. #: guix-git/doc/guix.texi:17692
  25443. msgid "As an example, here is how you would declare the configuration of a machine with a single network interface controller (NIC) available as @code{eno1}, and with one IPv4 and one IPv6 address:"
  25444. msgstr ""
  25445. #. type: lisp
  25446. #: guix-git/doc/guix.texi:17709
  25447. #, no-wrap
  25448. msgid ""
  25449. ";; Network configuration for one NIC, IPv4 + IPv6.\n"
  25450. "(static-networking\n"
  25451. " (addresses (list (network-address\n"
  25452. " (device \"eno1\")\n"
  25453. " (value \"10.0.2.15/24\"))\n"
  25454. " (network-address\n"
  25455. " (device \"eno1\")\n"
  25456. " (value \"2001:123:4567:101::1/64\"))))\n"
  25457. " (routes (list (network-route\n"
  25458. " (destination \"default\")\n"
  25459. " (gateway \"10.0.2.2\"))\n"
  25460. " (network-route\n"
  25461. " (destination \"default\")\n"
  25462. " (gateway \"2020:321:4567:42::1\"))))\n"
  25463. " (name-servers '(\"10.0.2.3\")))\n"
  25464. msgstr ""
  25465. #. type: deftp
  25466. #: guix-git/doc/guix.texi:17715
  25467. msgid "If you are familiar with the @command{ip} command of the @uref{https://wiki.linuxfoundation.org/networking/iproute2, @code{iproute2} package} found on Linux-based systems, the declaration above is equivalent to typing:"
  25468. msgstr ""
  25469. #. type: example
  25470. #: guix-git/doc/guix.texi:17721
  25471. #, no-wrap
  25472. msgid ""
  25473. "ip address add 10.0.2.15/24 dev eno1\n"
  25474. "ip address add 2001:123:4567:101::1/64 dev eno1\n"
  25475. "ip route add default via inet 10.0.2.2\n"
  25476. "ip route add default via inet6 2020:321:4567:42::1\n"
  25477. msgstr ""
  25478. #. type: deftp
  25479. #: guix-git/doc/guix.texi:17726
  25480. msgid "Run @command{man 8 ip} for more info. Venerable GNU/Linux users will certainly know how to do it with @command{ifconfig} and @command{route}, but we'll spare you that."
  25481. msgstr ""
  25482. #. type: deftp
  25483. #: guix-git/doc/guix.texi:17728
  25484. msgid "The available fields of this data type are as follows:"
  25485. msgstr ""
  25486. #. type: code{#1}
  25487. #: guix-git/doc/guix.texi:17730
  25488. #, no-wrap
  25489. msgid "addresses"
  25490. msgstr "osoitteet"
  25491. #. type: itemx
  25492. #: guix-git/doc/guix.texi:17731
  25493. #, no-wrap
  25494. msgid "@code{links} (default: @code{'()})"
  25495. msgstr ""
  25496. #. type: itemx
  25497. #: guix-git/doc/guix.texi:17732
  25498. #, no-wrap
  25499. msgid "@code{routes} (default: @code{'()})"
  25500. msgstr ""
  25501. #. type: table
  25502. #: guix-git/doc/guix.texi:17735
  25503. msgid "The list of @code{network-address}, @code{network-link}, and @code{network-route} records for this network (see below)."
  25504. msgstr ""
  25505. #. type: item
  25506. #: guix-git/doc/guix.texi:17736
  25507. #, no-wrap
  25508. msgid "@code{name-servers} (default: @code{'()})"
  25509. msgstr ""
  25510. #. type: table
  25511. #: guix-git/doc/guix.texi:17739
  25512. msgid "The list of IP addresses (strings) of domain name servers. These IP addresses go to @file{/etc/resolv.conf}."
  25513. msgstr ""
  25514. #. type: item
  25515. #: guix-git/doc/guix.texi:17740
  25516. #, no-wrap
  25517. msgid "@code{provision} (default: @code{'(networking)})"
  25518. msgstr ""
  25519. #. type: table
  25520. #: guix-git/doc/guix.texi:17743
  25521. msgid "If true, this should be a list of symbols for the Shepherd service corresponding to this network configuration."
  25522. msgstr ""
  25523. #. type: item
  25524. #: guix-git/doc/guix.texi:17744
  25525. #, no-wrap
  25526. msgid "@code{requirement} (default @code{'()})"
  25527. msgstr ""
  25528. #. type: table
  25529. #: guix-git/doc/guix.texi:17746
  25530. msgid "The list of Shepherd services depended on."
  25531. msgstr ""
  25532. #. type: deftp
  25533. #: guix-git/doc/guix.texi:17749
  25534. #, no-wrap
  25535. msgid "{Data Type} network-address"
  25536. msgstr ""
  25537. #. type: deftp
  25538. #: guix-git/doc/guix.texi:17752
  25539. msgid "This is the data type representing the IP address of a network interface."
  25540. msgstr ""
  25541. #. type: table
  25542. #: guix-git/doc/guix.texi:17757
  25543. msgid "The name of the network interface for this address---e.g., @code{\"eno1\"}."
  25544. msgstr ""
  25545. #. type: item
  25546. #: guix-git/doc/guix.texi:17758
  25547. #, no-wrap
  25548. msgid "value"
  25549. msgstr "arvo"
  25550. #. type: table
  25551. #: guix-git/doc/guix.texi:17762
  25552. msgid "The actual IP address and network mask, in @uref{https://en.wikipedia.org/wiki/CIDR#CIDR_notation, @acronym{CIDR, Classless Inter-Domain Routing} notation}, as a string."
  25553. msgstr ""
  25554. #. type: table
  25555. #: guix-git/doc/guix.texi:17766
  25556. msgid "For example, @code{\"10.0.2.15/24\"} denotes IPv4 address 10.0.2.15 on a 24-bit sub-network---all 10.0.2.@var{x} addresses are on the same local network."
  25557. msgstr ""
  25558. #. type: item
  25559. #: guix-git/doc/guix.texi:17767
  25560. #, no-wrap
  25561. msgid "ipv6?"
  25562. msgstr "ipv6?"
  25563. #. type: table
  25564. #: guix-git/doc/guix.texi:17770
  25565. msgid "Whether @code{value} denotes an IPv6 address. By default this is automatically determined."
  25566. msgstr ""
  25567. #. type: deftp
  25568. #: guix-git/doc/guix.texi:17773
  25569. #, no-wrap
  25570. msgid "{Data Type} network-route"
  25571. msgstr ""
  25572. #. type: deftp
  25573. #: guix-git/doc/guix.texi:17775
  25574. msgid "This is the data type representing a network route."
  25575. msgstr ""
  25576. #. type: code{#1}
  25577. #: guix-git/doc/guix.texi:17777
  25578. #, no-wrap
  25579. msgid "destination"
  25580. msgstr "kohde"
  25581. #. type: table
  25582. #: guix-git/doc/guix.texi:17780
  25583. msgid "The route destination (a string), either an IP address or @code{\"default\"} to denote the default route."
  25584. msgstr ""
  25585. #. type: item
  25586. #: guix-git/doc/guix.texi:17781
  25587. #, no-wrap
  25588. msgid "@code{source} (default: @code{#f})"
  25589. msgstr ""
  25590. #. type: table
  25591. #: guix-git/doc/guix.texi:17783
  25592. msgid "The route source."
  25593. msgstr ""
  25594. #. type: item
  25595. #: guix-git/doc/guix.texi:17784 guix-git/doc/guix.texi:35314
  25596. #, no-wrap
  25597. msgid "@code{device} (default: @code{#f})"
  25598. msgstr ""
  25599. #. type: table
  25600. #: guix-git/doc/guix.texi:17786
  25601. msgid "The device used for this route---e.g., @code{\"eno2\"}."
  25602. msgstr ""
  25603. #. type: item
  25604. #: guix-git/doc/guix.texi:17787
  25605. #, no-wrap
  25606. msgid "@code{ipv6?} (default: auto)"
  25607. msgstr ""
  25608. #. type: table
  25609. #: guix-git/doc/guix.texi:17790
  25610. msgid "Whether this is an IPv6 route. By default this is automatically determined based on @code{destination} or @code{gateway}."
  25611. msgstr ""
  25612. #. type: item
  25613. #: guix-git/doc/guix.texi:17791
  25614. #, no-wrap
  25615. msgid "@code{gateway} (default: @code{#f})"
  25616. msgstr ""
  25617. #. type: table
  25618. #: guix-git/doc/guix.texi:17793
  25619. msgid "IP address (a string) through which traffic is routed."
  25620. msgstr ""
  25621. #. type: deftp
  25622. #: guix-git/doc/guix.texi:17796
  25623. #, no-wrap
  25624. msgid "{Data Type} network-link"
  25625. msgstr ""
  25626. #. type: deftp
  25627. #: guix-git/doc/guix.texi:17799
  25628. msgid "Data type for a network link (@pxref{Link,,, guile-netlink, Guile-Netlink Manual})."
  25629. msgstr ""
  25630. #. type: table
  25631. #: guix-git/doc/guix.texi:17803
  25632. msgid "The name of the link---e.g., @code{\"v0p0\"}."
  25633. msgstr ""
  25634. #. type: table
  25635. #: guix-git/doc/guix.texi:17806
  25636. msgid "A symbol denoting the type of the link---e.g., @code{'veth}."
  25637. msgstr ""
  25638. #. type: item
  25639. #: guix-git/doc/guix.texi:17807
  25640. #, no-wrap
  25641. msgid "arguments"
  25642. msgstr ""
  25643. #. type: table
  25644. #: guix-git/doc/guix.texi:17809
  25645. msgid "List of arguments for this type of link."
  25646. msgstr ""
  25647. #. type: cindex
  25648. #: guix-git/doc/guix.texi:17812
  25649. #, no-wrap
  25650. msgid "loopback device"
  25651. msgstr ""
  25652. #. type: defvr
  25653. #: guix-git/doc/guix.texi:17813
  25654. #, no-wrap
  25655. msgid "{Scheme Variable} %loopback-static-networking"
  25656. msgstr ""
  25657. #. type: defvr
  25658. #: guix-git/doc/guix.texi:17817
  25659. msgid "This is the @code{static-networking} record representing the ``loopback device'', @code{lo}, for IP addresses 127.0.0.1 and ::1, and providing the @code{loopback} Shepherd service."
  25660. msgstr ""
  25661. #. type: cindex
  25662. #: guix-git/doc/guix.texi:17819
  25663. #, no-wrap
  25664. msgid "networking, with QEMU"
  25665. msgstr ""
  25666. #. type: cindex
  25667. #: guix-git/doc/guix.texi:17820
  25668. #, no-wrap
  25669. msgid "QEMU, networking"
  25670. msgstr ""
  25671. #. type: defvr
  25672. #: guix-git/doc/guix.texi:17821
  25673. #, no-wrap
  25674. msgid "{Scheme Variable} %qemu-static-networking"
  25675. msgstr ""
  25676. #. type: defvr
  25677. #: guix-git/doc/guix.texi:17825
  25678. msgid "This is the @code{static-networking} record representing network setup when using QEMU's user-mode network stack on @code{eth0} (@pxref{Using the user mode network stack,,, QEMU, QEMU Documentation})."
  25679. msgstr ""
  25680. #. type: cindex
  25681. #: guix-git/doc/guix.texi:17827
  25682. #, no-wrap
  25683. msgid "DHCP, networking service"
  25684. msgstr ""
  25685. #. type: defvr
  25686. #: guix-git/doc/guix.texi:17828
  25687. #, no-wrap
  25688. msgid "{Scheme Variable} dhcp-client-service-type"
  25689. msgstr ""
  25690. #. type: defvr
  25691. #: guix-git/doc/guix.texi:17832
  25692. 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."
  25693. msgstr ""
  25694. #. type: cindex
  25695. #: guix-git/doc/guix.texi:17834
  25696. #, no-wrap
  25697. msgid "NetworkManager"
  25698. msgstr "NetworkManager"
  25699. #. type: defvr
  25700. #: guix-git/doc/guix.texi:17836
  25701. #, no-wrap
  25702. msgid "{Scheme Variable} network-manager-service-type"
  25703. msgstr ""
  25704. #. type: defvr
  25705. #: guix-git/doc/guix.texi:17841
  25706. 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."
  25707. msgstr ""
  25708. #. type: defvr
  25709. #: guix-git/doc/guix.texi:17844 guix-git/doc/guix.texi:17996
  25710. #: guix-git/doc/guix.texi:18025
  25711. msgid "This service is part of @code{%desktop-services} (@pxref{Desktop Services})."
  25712. msgstr ""
  25713. #. type: deftp
  25714. #: guix-git/doc/guix.texi:17846
  25715. #, no-wrap
  25716. msgid "{Data Type} network-manager-configuration"
  25717. msgstr ""
  25718. #. type: deftp
  25719. #: guix-git/doc/guix.texi:17848
  25720. msgid "Data type representing the configuration of NetworkManager."
  25721. msgstr ""
  25722. #. type: item
  25723. #: guix-git/doc/guix.texi:17850
  25724. #, no-wrap
  25725. msgid "@code{network-manager} (default: @code{network-manager})"
  25726. msgstr ""
  25727. #. type: table
  25728. #: guix-git/doc/guix.texi:17852
  25729. msgid "The NetworkManager package to use."
  25730. msgstr ""
  25731. #. type: item
  25732. #: guix-git/doc/guix.texi:17853
  25733. #, no-wrap
  25734. msgid "@code{dns} (default: @code{\"default\"})"
  25735. msgstr ""
  25736. #. type: table
  25737. #: guix-git/doc/guix.texi:17856
  25738. msgid "Processing mode for DNS, which affects how NetworkManager uses the @code{resolv.conf} configuration file."
  25739. msgstr ""
  25740. #. type: table
  25741. #: guix-git/doc/guix.texi:17861
  25742. msgid "NetworkManager will update @code{resolv.conf} to reflect the nameservers provided by currently active connections."
  25743. msgstr ""
  25744. #. type: item
  25745. #: guix-git/doc/guix.texi:17862
  25746. #, no-wrap
  25747. msgid "dnsmasq"
  25748. msgstr ""
  25749. #. type: table
  25750. #: guix-git/doc/guix.texi:17866
  25751. 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."
  25752. msgstr ""
  25753. #. type: table
  25754. #: guix-git/doc/guix.texi:17872
  25755. 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)."
  25756. msgstr ""
  25757. #. type: table
  25758. #: guix-git/doc/guix.texi:17879
  25759. 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:"
  25760. msgstr ""
  25761. #. type: example
  25762. #: guix-git/doc/guix.texi:17886
  25763. #, no-wrap
  25764. msgid ""
  25765. "nmcli connection add type tun \\\n"
  25766. " connection.interface-name tap0 \\\n"
  25767. " tun.mode tap tun.owner $(id -u) \\\n"
  25768. " ipv4.method shared \\\n"
  25769. " ipv4.addresses 172.28.112.1/24\n"
  25770. msgstr ""
  25771. #. type: table
  25772. #: guix-git/doc/guix.texi:17891
  25773. 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-...}."
  25774. msgstr ""
  25775. #. type: table
  25776. #: guix-git/doc/guix.texi:17894
  25777. msgid "NetworkManager will not modify @code{resolv.conf}."
  25778. msgstr ""
  25779. #. type: item
  25780. #: guix-git/doc/guix.texi:17896
  25781. #, no-wrap
  25782. msgid "@code{vpn-plugins} (default: @code{'()})"
  25783. msgstr ""
  25784. #. type: table
  25785. #: guix-git/doc/guix.texi:17900
  25786. 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."
  25787. msgstr ""
  25788. #. type: cindex
  25789. #: guix-git/doc/guix.texi:17904
  25790. #, no-wrap
  25791. msgid "Connman"
  25792. msgstr ""
  25793. #. type: deffn
  25794. #: guix-git/doc/guix.texi:17905
  25795. #, no-wrap
  25796. msgid "{Scheme Variable} connman-service-type"
  25797. msgstr ""
  25798. #. type: deffn
  25799. #: guix-git/doc/guix.texi:17908
  25800. msgid "This is the service type to run @url{https://01.org/connman,Connman}, a network connection manager."
  25801. msgstr ""
  25802. #. type: deffn
  25803. #: guix-git/doc/guix.texi:17911
  25804. msgid "Its value must be an @code{connman-configuration} record as in this example:"
  25805. msgstr ""
  25806. #. type: lisp
  25807. #: guix-git/doc/guix.texi:17916
  25808. #, no-wrap
  25809. msgid ""
  25810. "(service connman-service-type\n"
  25811. " (connman-configuration\n"
  25812. " (disable-vpn? #t)))\n"
  25813. msgstr ""
  25814. #. type: deffn
  25815. #: guix-git/doc/guix.texi:17919
  25816. msgid "See below for details about @code{connman-configuration}."
  25817. msgstr ""
  25818. #. type: deftp
  25819. #: guix-git/doc/guix.texi:17921
  25820. #, no-wrap
  25821. msgid "{Data Type} connman-configuration"
  25822. msgstr ""
  25823. #. type: deftp
  25824. #: guix-git/doc/guix.texi:17923
  25825. msgid "Data Type representing the configuration of connman."
  25826. msgstr ""
  25827. #. type: item
  25828. #: guix-git/doc/guix.texi:17925
  25829. #, no-wrap
  25830. msgid "@code{connman} (default: @var{connman})"
  25831. msgstr ""
  25832. #. type: table
  25833. #: guix-git/doc/guix.texi:17927
  25834. msgid "The connman package to use."
  25835. msgstr ""
  25836. #. type: item
  25837. #: guix-git/doc/guix.texi:17928
  25838. #, no-wrap
  25839. msgid "@code{disable-vpn?} (default: @code{#f})"
  25840. msgstr ""
  25841. #. type: table
  25842. #: guix-git/doc/guix.texi:17930
  25843. msgid "When true, disable connman's vpn plugin."
  25844. msgstr ""
  25845. #. type: cindex
  25846. #: guix-git/doc/guix.texi:17933
  25847. #, no-wrap
  25848. msgid "WPA Supplicant"
  25849. msgstr ""
  25850. #. type: defvr
  25851. #: guix-git/doc/guix.texi:17934
  25852. #, no-wrap
  25853. msgid "{Scheme Variable} wpa-supplicant-service-type"
  25854. msgstr ""
  25855. #. type: defvr
  25856. #: guix-git/doc/guix.texi:17938
  25857. 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."
  25858. msgstr ""
  25859. #. type: deftp
  25860. #: guix-git/doc/guix.texi:17940
  25861. #, no-wrap
  25862. msgid "{Data Type} wpa-supplicant-configuration"
  25863. msgstr ""
  25864. #. type: deftp
  25865. #: guix-git/doc/guix.texi:17942
  25866. msgid "Data type representing the configuration of WPA Supplicant."
  25867. msgstr ""
  25868. #. type: deftp
  25869. #: guix-git/doc/guix.texi:17944 guix-git/doc/guix.texi:33410
  25870. msgid "It takes the following parameters:"
  25871. msgstr ""
  25872. #. type: item
  25873. #: guix-git/doc/guix.texi:17946
  25874. #, no-wrap
  25875. msgid "@code{wpa-supplicant} (default: @code{wpa-supplicant})"
  25876. msgstr ""
  25877. #. type: table
  25878. #: guix-git/doc/guix.texi:17948
  25879. msgid "The WPA Supplicant package to use."
  25880. msgstr ""
  25881. #. type: item
  25882. #: guix-git/doc/guix.texi:17949
  25883. #, no-wrap
  25884. msgid "@code{requirement} (default: @code{'(user-processes loopback syslogd)}"
  25885. msgstr ""
  25886. #. type: table
  25887. #: guix-git/doc/guix.texi:17951
  25888. msgid "List of services that should be started before WPA Supplicant starts."
  25889. msgstr ""
  25890. #. type: item
  25891. #: guix-git/doc/guix.texi:17952
  25892. #, no-wrap
  25893. msgid "@code{dbus?} (default: @code{#t})"
  25894. msgstr ""
  25895. #. type: table
  25896. #: guix-git/doc/guix.texi:17954
  25897. msgid "Whether to listen for requests on D-Bus."
  25898. msgstr ""
  25899. #. type: item
  25900. #: guix-git/doc/guix.texi:17955
  25901. #, no-wrap
  25902. msgid "@code{pid-file} (default: @code{\"/var/run/wpa_supplicant.pid\"})"
  25903. msgstr ""
  25904. #. type: table
  25905. #: guix-git/doc/guix.texi:17957
  25906. msgid "Where to store the PID file."
  25907. msgstr ""
  25908. #. type: item
  25909. #: guix-git/doc/guix.texi:17958 guix-git/doc/guix.texi:31711
  25910. #: guix-git/doc/guix.texi:31853
  25911. #, no-wrap
  25912. msgid "@code{interface} (default: @code{#f})"
  25913. msgstr ""
  25914. #. type: table
  25915. #: guix-git/doc/guix.texi:17961
  25916. msgid "If this is set, it must specify the name of a network interface that WPA supplicant will control."
  25917. msgstr ""
  25918. #. type: item
  25919. #: guix-git/doc/guix.texi:17962 guix-git/doc/guix.texi:18078
  25920. #: guix-git/doc/guix.texi:23399
  25921. #, no-wrap
  25922. msgid "@code{config-file} (default: @code{#f})"
  25923. msgstr ""
  25924. #. type: table
  25925. #: guix-git/doc/guix.texi:17964
  25926. msgid "Optional configuration file to use."
  25927. msgstr ""
  25928. #. type: table
  25929. #: guix-git/doc/guix.texi:17967
  25930. msgid "List of additional command-line arguments to pass to the daemon."
  25931. msgstr ""
  25932. #. type: cindex
  25933. #: guix-git/doc/guix.texi:17970
  25934. #, no-wrap
  25935. msgid "wicd"
  25936. msgstr ""
  25937. #. type: cindex
  25938. #: guix-git/doc/guix.texi:17973
  25939. #, no-wrap
  25940. msgid "network management"
  25941. msgstr ""
  25942. #. type: deffn
  25943. #: guix-git/doc/guix.texi:17974
  25944. #, no-wrap
  25945. msgid "{Scheme Procedure} wicd-service [#:wicd @var{wicd}]"
  25946. msgstr ""
  25947. #. type: deffn
  25948. #: guix-git/doc/guix.texi:17977
  25949. msgid "Return a service that runs @url{https://launchpad.net/wicd,Wicd}, a network management daemon that aims to simplify wired and wireless networking."
  25950. msgstr ""
  25951. #. type: deffn
  25952. #: guix-git/doc/guix.texi:17982
  25953. 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."
  25954. msgstr ""
  25955. #. type: cindex
  25956. #: guix-git/doc/guix.texi:17984
  25957. #, no-wrap
  25958. msgid "ModemManager"
  25959. msgstr ""
  25960. #. type: Plain text
  25961. #: guix-git/doc/guix.texi:17987
  25962. msgid "Some networking devices such as modems require special care, and this is what the services below focus on."
  25963. msgstr ""
  25964. #. type: defvr
  25965. #: guix-git/doc/guix.texi:17988
  25966. #, no-wrap
  25967. msgid "{Scheme Variable} modem-manager-service-type"
  25968. msgstr ""
  25969. #. type: defvr
  25970. #: guix-git/doc/guix.texi:17993
  25971. 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."
  25972. msgstr ""
  25973. #. type: deftp
  25974. #: guix-git/doc/guix.texi:17998
  25975. #, no-wrap
  25976. msgid "{Data Type} modem-manager-configuration"
  25977. msgstr ""
  25978. #. type: deftp
  25979. #: guix-git/doc/guix.texi:18000
  25980. msgid "Data type representing the configuration of ModemManager."
  25981. msgstr ""
  25982. #. type: item
  25983. #: guix-git/doc/guix.texi:18002
  25984. #, no-wrap
  25985. msgid "@code{modem-manager} (default: @code{modem-manager})"
  25986. msgstr ""
  25987. #. type: table
  25988. #: guix-git/doc/guix.texi:18004
  25989. msgid "The ModemManager package to use."
  25990. msgstr ""
  25991. #. type: cindex
  25992. #: guix-git/doc/guix.texi:18008
  25993. #, no-wrap
  25994. msgid "USB_ModeSwitch"
  25995. msgstr ""
  25996. #. type: cindex
  25997. #: guix-git/doc/guix.texi:18009
  25998. #, no-wrap
  25999. msgid "Modeswitching"
  26000. msgstr ""
  26001. #. type: defvr
  26002. #: guix-git/doc/guix.texi:18011
  26003. #, no-wrap
  26004. msgid "{Scheme Variable} usb-modeswitch-service-type"
  26005. msgstr ""
  26006. #. type: defvr
  26007. #: guix-git/doc/guix.texi:18016
  26008. 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."
  26009. msgstr ""
  26010. #. type: defvr
  26011. #: guix-git/doc/guix.texi:18022
  26012. 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."
  26013. msgstr ""
  26014. #. type: deftp
  26015. #: guix-git/doc/guix.texi:18027
  26016. #, no-wrap
  26017. msgid "{Data Type} usb-modeswitch-configuration"
  26018. msgstr ""
  26019. #. type: deftp
  26020. #: guix-git/doc/guix.texi:18029
  26021. msgid "Data type representing the configuration of USB_ModeSwitch."
  26022. msgstr ""
  26023. #. type: item
  26024. #: guix-git/doc/guix.texi:18031
  26025. #, no-wrap
  26026. msgid "@code{usb-modeswitch} (default: @code{usb-modeswitch})"
  26027. msgstr ""
  26028. #. type: table
  26029. #: guix-git/doc/guix.texi:18033
  26030. msgid "The USB_ModeSwitch package providing the binaries for modeswitching."
  26031. msgstr ""
  26032. #. type: item
  26033. #: guix-git/doc/guix.texi:18034
  26034. #, no-wrap
  26035. msgid "@code{usb-modeswitch-data} (default: @code{usb-modeswitch-data})"
  26036. msgstr ""
  26037. #. type: table
  26038. #: guix-git/doc/guix.texi:18037
  26039. msgid "The package providing the device data and udev rules file used by USB_ModeSwitch."
  26040. msgstr ""
  26041. #. type: item
  26042. #: guix-git/doc/guix.texi:18038
  26043. #, no-wrap
  26044. msgid "@code{config-file} (default: @code{#~(string-append #$usb-modeswitch:dispatcher \"/etc/usb_modeswitch.conf\")})"
  26045. msgstr ""
  26046. #. type: table
  26047. #: guix-git/doc/guix.texi:18043
  26048. 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."
  26049. msgstr ""
  26050. #. type: Plain text
  26051. #: guix-git/doc/guix.texi:18057
  26052. msgid "The @code{(gnu services networking)} module discussed in the previous section provides services for more advanced setups: providing a DHCP service for others to use, filtering packets with iptables or nftables, running a WiFi access point with @command{hostapd}, running the @command{inetd} ``superdaemon'', and more. This section describes those."
  26053. msgstr ""
  26054. #. type: deffn
  26055. #: guix-git/doc/guix.texi:18058
  26056. #, no-wrap
  26057. msgid "{Scheme Procedure} dhcpd-service-type"
  26058. msgstr ""
  26059. #. type: deffn
  26060. #: guix-git/doc/guix.texi:18062
  26061. 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:"
  26062. msgstr ""
  26063. #. type: lisp
  26064. #: guix-git/doc/guix.texi:18068
  26065. #, no-wrap
  26066. msgid ""
  26067. "(service dhcpd-service-type\n"
  26068. " (dhcpd-configuration\n"
  26069. " (config-file (local-file \"my-dhcpd.conf\"))\n"
  26070. " (interfaces '(\"enp0s25\"))))\n"
  26071. msgstr ""
  26072. #. type: deftp
  26073. #: guix-git/doc/guix.texi:18071
  26074. #, no-wrap
  26075. msgid "{Data Type} dhcpd-configuration"
  26076. msgstr ""
  26077. #. type: item
  26078. #: guix-git/doc/guix.texi:18073
  26079. #, no-wrap
  26080. msgid "@code{package} (default: @code{isc-dhcp})"
  26081. msgstr ""
  26082. #. type: table
  26083. #: guix-git/doc/guix.texi:18078
  26084. 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}."
  26085. msgstr ""
  26086. #. type: table
  26087. #: guix-git/doc/guix.texi:18083
  26088. 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."
  26089. msgstr ""
  26090. #. type: item
  26091. #: guix-git/doc/guix.texi:18083
  26092. #, no-wrap
  26093. msgid "@code{version} (default: @code{\"4\"})"
  26094. msgstr ""
  26095. #. type: table
  26096. #: guix-git/doc/guix.texi:18088
  26097. 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."
  26098. msgstr ""
  26099. #. type: item
  26100. #: guix-git/doc/guix.texi:18088
  26101. #, no-wrap
  26102. msgid "@code{run-directory} (default: @code{\"/run/dhcpd\"})"
  26103. msgstr ""
  26104. #. type: table
  26105. #: guix-git/doc/guix.texi:18091
  26106. msgid "The run directory to use. At service activation time, this directory will be created if it does not exist."
  26107. msgstr ""
  26108. #. type: item
  26109. #: guix-git/doc/guix.texi:18091
  26110. #, no-wrap
  26111. msgid "@code{pid-file} (default: @code{\"/run/dhcpd/dhcpd.pid\"})"
  26112. msgstr ""
  26113. #. type: table
  26114. #: guix-git/doc/guix.texi:18094
  26115. msgid "The PID file to use. This corresponds to the @code{-pf} option of @code{dhcpd}. See @code{man dhcpd} for details."
  26116. msgstr ""
  26117. #. type: item
  26118. #: guix-git/doc/guix.texi:18094
  26119. #, no-wrap
  26120. msgid "@code{interfaces} (default: @code{'()})"
  26121. msgstr ""
  26122. #. type: table
  26123. #: guix-git/doc/guix.texi:18100
  26124. 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."
  26125. msgstr ""
  26126. #. type: cindex
  26127. #: guix-git/doc/guix.texi:18103
  26128. #, no-wrap
  26129. msgid "hostapd service, for Wi-Fi access points"
  26130. msgstr ""
  26131. #. type: cindex
  26132. #: guix-git/doc/guix.texi:18104
  26133. #, no-wrap
  26134. msgid "Wi-Fi access points, hostapd service"
  26135. msgstr ""
  26136. #. type: defvr
  26137. #: guix-git/doc/guix.texi:18105
  26138. #, no-wrap
  26139. msgid "{Scheme Variable} hostapd-service-type"
  26140. msgstr ""
  26141. #. type: defvr
  26142. #: guix-git/doc/guix.texi:18110
  26143. 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:"
  26144. msgstr ""
  26145. #. type: lisp
  26146. #: guix-git/doc/guix.texi:18118
  26147. #, no-wrap
  26148. msgid ""
  26149. ";; Use wlan1 to run the access point for \"My Network\".\n"
  26150. "(service hostapd-service-type\n"
  26151. " (hostapd-configuration\n"
  26152. " (interface \"wlan1\")\n"
  26153. " (ssid \"My Network\")\n"
  26154. " (channel 12)))\n"
  26155. msgstr ""
  26156. #. type: deftp
  26157. #: guix-git/doc/guix.texi:18121
  26158. #, no-wrap
  26159. msgid "{Data Type} hostapd-configuration"
  26160. msgstr ""
  26161. #. type: deftp
  26162. #: guix-git/doc/guix.texi:18124
  26163. msgid "This data type represents the configuration of the hostapd service, with the following fields:"
  26164. msgstr ""
  26165. #. type: item
  26166. #: guix-git/doc/guix.texi:18126
  26167. #, no-wrap
  26168. msgid "@code{package} (default: @code{hostapd})"
  26169. msgstr ""
  26170. #. type: table
  26171. #: guix-git/doc/guix.texi:18128
  26172. msgid "The hostapd package to use."
  26173. msgstr ""
  26174. #. type: item
  26175. #: guix-git/doc/guix.texi:18129
  26176. #, no-wrap
  26177. msgid "@code{interface} (default: @code{\"wlan0\"})"
  26178. msgstr ""
  26179. #. type: table
  26180. #: guix-git/doc/guix.texi:18131
  26181. msgid "The network interface to run the WiFi access point."
  26182. msgstr ""
  26183. #. type: code{#1}
  26184. #: guix-git/doc/guix.texi:18132
  26185. #, no-wrap
  26186. msgid "ssid"
  26187. msgstr ""
  26188. #. type: table
  26189. #: guix-git/doc/guix.texi:18135
  26190. msgid "The SSID (@dfn{service set identifier}), a string that identifies this network."
  26191. msgstr ""
  26192. #. type: item
  26193. #: guix-git/doc/guix.texi:18136
  26194. #, no-wrap
  26195. msgid "@code{broadcast-ssid?} (default: @code{#t})"
  26196. msgstr ""
  26197. #. type: table
  26198. #: guix-git/doc/guix.texi:18138
  26199. msgid "Whether to broadcast this SSID."
  26200. msgstr ""
  26201. #. type: item
  26202. #: guix-git/doc/guix.texi:18139
  26203. #, no-wrap
  26204. msgid "@code{channel} (default: @code{1})"
  26205. msgstr ""
  26206. #. type: table
  26207. #: guix-git/doc/guix.texi:18141
  26208. msgid "The WiFi channel to use."
  26209. msgstr ""
  26210. #. type: item
  26211. #: guix-git/doc/guix.texi:18142
  26212. #, no-wrap
  26213. msgid "@code{driver} (default: @code{\"nl80211\"})"
  26214. msgstr ""
  26215. #. type: table
  26216. #: guix-git/doc/guix.texi:18146
  26217. 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."
  26218. msgstr ""
  26219. #. type: item
  26220. #: guix-git/doc/guix.texi:18147 guix-git/doc/guix.texi:24248
  26221. #: guix-git/doc/guix.texi:27238
  26222. #, no-wrap
  26223. msgid "@code{extra-settings} (default: @code{\"\"})"
  26224. msgstr ""
  26225. #. type: table
  26226. #: guix-git/doc/guix.texi:18151
  26227. 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."
  26228. msgstr ""
  26229. #. type: defvr
  26230. #: guix-git/doc/guix.texi:18154
  26231. #, no-wrap
  26232. msgid "{Scheme Variable} simulated-wifi-service-type"
  26233. msgstr ""
  26234. #. type: defvr
  26235. #: guix-git/doc/guix.texi:18161
  26236. 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."
  26237. msgstr ""
  26238. #. type: defvr
  26239. #: guix-git/doc/guix.texi:18163
  26240. msgid "The service's value is a @code{hostapd-configuration} record."
  26241. msgstr ""
  26242. #. type: cindex
  26243. #: guix-git/doc/guix.texi:18166
  26244. #, no-wrap
  26245. msgid "iptables"
  26246. msgstr ""
  26247. #. type: defvr
  26248. #: guix-git/doc/guix.texi:18167
  26249. #, no-wrap
  26250. msgid "{Scheme Variable} iptables-service-type"
  26251. msgstr ""
  26252. #. type: defvr
  26253. #: guix-git/doc/guix.texi:18173
  26254. 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."
  26255. msgstr ""
  26256. #. type: lisp
  26257. #: guix-git/doc/guix.texi:18195
  26258. #, no-wrap
  26259. msgid ""
  26260. "(service iptables-service-type\n"
  26261. " (iptables-configuration\n"
  26262. " (ipv4-rules (plain-file \"iptables.rules\" \"*filter\n"
  26263. ":INPUT ACCEPT\n"
  26264. ":FORWARD ACCEPT\n"
  26265. ":OUTPUT ACCEPT\n"
  26266. "-A INPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT\n"
  26267. "-A INPUT -p tcp --dport 22 -j ACCEPT\n"
  26268. "-A INPUT -j REJECT --reject-with icmp-port-unreachable\n"
  26269. "COMMIT\n"
  26270. "\"))\n"
  26271. " (ipv6-rules (plain-file \"ip6tables.rules\" \"*filter\n"
  26272. ":INPUT ACCEPT\n"
  26273. ":FORWARD ACCEPT\n"
  26274. ":OUTPUT ACCEPT\n"
  26275. "-A INPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT\n"
  26276. "-A INPUT -p tcp --dport 22 -j ACCEPT\n"
  26277. "-A INPUT -j REJECT --reject-with icmp6-port-unreachable\n"
  26278. "COMMIT\n"
  26279. "\"))))\n"
  26280. msgstr ""
  26281. #. type: deftp
  26282. #: guix-git/doc/guix.texi:18198
  26283. #, no-wrap
  26284. msgid "{Data Type} iptables-configuration"
  26285. msgstr ""
  26286. #. type: deftp
  26287. #: guix-git/doc/guix.texi:18200
  26288. msgid "The data type representing the configuration of iptables."
  26289. msgstr ""
  26290. #. type: item
  26291. #: guix-git/doc/guix.texi:18202
  26292. #, no-wrap
  26293. msgid "@code{iptables} (default: @code{iptables})"
  26294. msgstr ""
  26295. #. type: table
  26296. #: guix-git/doc/guix.texi:18205
  26297. msgid "The iptables package that provides @code{iptables-restore} and @code{ip6tables-restore}."
  26298. msgstr ""
  26299. #. type: item
  26300. #: guix-git/doc/guix.texi:18205
  26301. #, no-wrap
  26302. msgid "@code{ipv4-rules} (default: @code{%iptables-accept-all-rules})"
  26303. msgstr ""
  26304. #. type: table
  26305. #: guix-git/doc/guix.texi:18209
  26306. 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})."
  26307. msgstr ""
  26308. #. type: item
  26309. #: guix-git/doc/guix.texi:18209
  26310. #, no-wrap
  26311. msgid "@code{ipv6-rules} (default: @code{%iptables-accept-all-rules})"
  26312. msgstr ""
  26313. #. type: table
  26314. #: guix-git/doc/guix.texi:18213
  26315. 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})."
  26316. msgstr ""
  26317. #. type: cindex
  26318. #: guix-git/doc/guix.texi:18216
  26319. #, no-wrap
  26320. msgid "nftables"
  26321. msgstr ""
  26322. #. type: defvr
  26323. #: guix-git/doc/guix.texi:18217
  26324. #, no-wrap
  26325. msgid "{Scheme Variable} nftables-service-type"
  26326. msgstr ""
  26327. #. type: defvr
  26328. #: guix-git/doc/guix.texi:18225
  26329. 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:"
  26330. msgstr ""
  26331. #. type: lisp
  26332. #: guix-git/doc/guix.texi:18228
  26333. #, no-wrap
  26334. msgid "(service nftables-service-type)\n"
  26335. msgstr ""
  26336. #. type: deftp
  26337. #: guix-git/doc/guix.texi:18231
  26338. #, no-wrap
  26339. msgid "{Data Type} nftables-configuration"
  26340. msgstr ""
  26341. #. type: deftp
  26342. #: guix-git/doc/guix.texi:18233
  26343. msgid "The data type representing the configuration of nftables."
  26344. msgstr ""
  26345. #. type: item
  26346. #: guix-git/doc/guix.texi:18235
  26347. #, no-wrap
  26348. msgid "@code{package} (default: @code{nftables})"
  26349. msgstr ""
  26350. #. type: table
  26351. #: guix-git/doc/guix.texi:18237
  26352. msgid "The nftables package that provides @command{nft}."
  26353. msgstr ""
  26354. #. type: item
  26355. #: guix-git/doc/guix.texi:18237
  26356. #, no-wrap
  26357. msgid "@code{ruleset} (default: @code{%default-nftables-ruleset})"
  26358. msgstr ""
  26359. #. type: table
  26360. #: guix-git/doc/guix.texi:18240
  26361. msgid "The nftables ruleset to use. This may be any ``file-like'' object (@pxref{G-Expressions, file-like objects})."
  26362. msgstr ""
  26363. #. type: cindex
  26364. #: guix-git/doc/guix.texi:18243
  26365. #, no-wrap
  26366. msgid "NTP (Network Time Protocol), service"
  26367. msgstr ""
  26368. #. type: cindex
  26369. #: guix-git/doc/guix.texi:18244
  26370. #, no-wrap
  26371. msgid "ntpd, service for the Network Time Protocol daemon"
  26372. msgstr ""
  26373. #. type: cindex
  26374. #: guix-git/doc/guix.texi:18245
  26375. #, no-wrap
  26376. msgid "real time clock"
  26377. msgstr ""
  26378. #. type: defvr
  26379. #: guix-git/doc/guix.texi:18246
  26380. #, no-wrap
  26381. msgid "{Scheme Variable} ntp-service-type"
  26382. msgstr ""
  26383. #. type: defvr
  26384. #: guix-git/doc/guix.texi:18250
  26385. 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."
  26386. msgstr ""
  26387. #. type: defvr
  26388. #: guix-git/doc/guix.texi:18253
  26389. msgid "The value of this service is an @code{ntpd-configuration} object, as described below."
  26390. msgstr ""
  26391. #. type: deftp
  26392. #: guix-git/doc/guix.texi:18255
  26393. #, no-wrap
  26394. msgid "{Data Type} ntp-configuration"
  26395. msgstr ""
  26396. #. type: deftp
  26397. #: guix-git/doc/guix.texi:18257
  26398. msgid "This is the data type for the NTP service configuration."
  26399. msgstr ""
  26400. #. type: item
  26401. #: guix-git/doc/guix.texi:18259
  26402. #, no-wrap
  26403. msgid "@code{servers} (default: @code{%ntp-servers})"
  26404. msgstr ""
  26405. #. type: table
  26406. #: guix-git/doc/guix.texi:18263
  26407. 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."
  26408. msgstr ""
  26409. #. type: item
  26410. #: guix-git/doc/guix.texi:18264
  26411. #, no-wrap
  26412. msgid "@code{allow-large-adjustment?} (default: @code{#t})"
  26413. msgstr ""
  26414. #. type: table
  26415. #: guix-git/doc/guix.texi:18267
  26416. msgid "This determines whether @command{ntpd} is allowed to make an initial adjustment of more than 1,000 seconds."
  26417. msgstr ""
  26418. #. type: item
  26419. #: guix-git/doc/guix.texi:18268
  26420. #, no-wrap
  26421. msgid "@code{ntp} (default: @code{ntp})"
  26422. msgstr ""
  26423. #. type: table
  26424. #: guix-git/doc/guix.texi:18270
  26425. msgid "The NTP package to use."
  26426. msgstr ""
  26427. #. type: defvr
  26428. #: guix-git/doc/guix.texi:18273
  26429. #, no-wrap
  26430. msgid "{Scheme Variable} %ntp-servers"
  26431. msgstr ""
  26432. #. type: defvr
  26433. #: guix-git/doc/guix.texi:18276
  26434. 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}."
  26435. msgstr ""
  26436. #. type: deftp
  26437. #: guix-git/doc/guix.texi:18278
  26438. #, no-wrap
  26439. msgid "{Data Type} ntp-server"
  26440. msgstr ""
  26441. #. type: deftp
  26442. #: guix-git/doc/guix.texi:18280
  26443. msgid "The data type representing the configuration of a NTP server."
  26444. msgstr ""
  26445. #. type: item
  26446. #: guix-git/doc/guix.texi:18282
  26447. #, no-wrap
  26448. msgid "@code{type} (default: @code{'server})"
  26449. msgstr ""
  26450. #. type: table
  26451. #: guix-git/doc/guix.texi:18285
  26452. msgid "The type of the NTP server, given as a symbol. One of @code{'pool}, @code{'server}, @code{'peer}, @code{'broadcast} or @code{'manycastclient}."
  26453. msgstr ""
  26454. #. type: code{#1}
  26455. #: guix-git/doc/guix.texi:18286
  26456. #, no-wrap
  26457. msgid "address"
  26458. msgstr "osoite"
  26459. #. type: table
  26460. #: guix-git/doc/guix.texi:18288
  26461. msgid "The address of the server, as a string."
  26462. msgstr ""
  26463. #. type: code{#1}
  26464. #: guix-git/doc/guix.texi:18289 guix-git/doc/guix.texi:34325
  26465. #: guix-git/doc/guix.texi:34345
  26466. #, no-wrap
  26467. msgid "options"
  26468. msgstr "vaihtoehdot"
  26469. #. type: table
  26470. #: guix-git/doc/guix.texi:18294
  26471. 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."
  26472. msgstr ""
  26473. #. type: example
  26474. #: guix-git/doc/guix.texi:18300
  26475. #, no-wrap
  26476. msgid ""
  26477. "(ntp-server\n"
  26478. " (type 'server)\n"
  26479. " (address \"some.ntp.server.org\")\n"
  26480. " (options `(iburst (version 3) (maxpoll 16) prefer))))\n"
  26481. msgstr ""
  26482. #. type: cindex
  26483. #: guix-git/doc/guix.texi:18304
  26484. #, no-wrap
  26485. msgid "OpenNTPD"
  26486. msgstr ""
  26487. #. type: deffn
  26488. #: guix-git/doc/guix.texi:18305
  26489. #, no-wrap
  26490. msgid "{Scheme Procedure} openntpd-service-type"
  26491. msgstr ""
  26492. #. type: deffn
  26493. #: guix-git/doc/guix.texi:18309
  26494. 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."
  26495. msgstr ""
  26496. #. type: lisp
  26497. #: guix-git/doc/guix.texi:18318
  26498. #, no-wrap
  26499. msgid ""
  26500. "(service\n"
  26501. " openntpd-service-type\n"
  26502. " (openntpd-configuration\n"
  26503. " (listen-on '(\"127.0.0.1\" \"::1\"))\n"
  26504. " (sensor '(\"udcf0 correction 70000\"))\n"
  26505. " (constraint-from '(\"www.gnu.org\"))\n"
  26506. " (constraints-from '(\"https://www.google.com/\"))))\n"
  26507. "\n"
  26508. msgstr ""
  26509. #. type: defvr
  26510. #: guix-git/doc/guix.texi:18322
  26511. #, no-wrap
  26512. msgid "{Scheme Variable} %openntpd-servers"
  26513. msgstr ""
  26514. #. type: defvr
  26515. #: guix-git/doc/guix.texi:18325
  26516. msgid "This variable is a list of the server addresses defined in @code{%ntp-servers}."
  26517. msgstr ""
  26518. #. type: deftp
  26519. #: guix-git/doc/guix.texi:18327
  26520. #, no-wrap
  26521. msgid "{Data Type} openntpd-configuration"
  26522. msgstr ""
  26523. #. type: item
  26524. #: guix-git/doc/guix.texi:18329
  26525. #, no-wrap
  26526. msgid "@code{openntpd} (default: @code{(file-append openntpd \"/sbin/ntpd\")})"
  26527. msgstr ""
  26528. #. type: table
  26529. #: guix-git/doc/guix.texi:18331
  26530. msgid "The openntpd executable to use."
  26531. msgstr ""
  26532. #. type: item
  26533. #: guix-git/doc/guix.texi:18331
  26534. #, no-wrap
  26535. msgid "@code{listen-on} (default: @code{'(\"127.0.0.1\" \"::1\")})"
  26536. msgstr ""
  26537. #. type: table
  26538. #: guix-git/doc/guix.texi:18333
  26539. msgid "A list of local IP addresses or hostnames the ntpd daemon should listen on."
  26540. msgstr ""
  26541. #. type: item
  26542. #: guix-git/doc/guix.texi:18333
  26543. #, no-wrap
  26544. msgid "@code{query-from} (default: @code{'()})"
  26545. msgstr ""
  26546. #. type: table
  26547. #: guix-git/doc/guix.texi:18335
  26548. msgid "A list of local IP address the ntpd daemon should use for outgoing queries."
  26549. msgstr ""
  26550. #. type: item
  26551. #: guix-git/doc/guix.texi:18335
  26552. #, no-wrap
  26553. msgid "@code{sensor} (default: @code{'()})"
  26554. msgstr ""
  26555. #. type: table
  26556. #: guix-git/doc/guix.texi:18340
  26557. 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."
  26558. msgstr ""
  26559. #. type: item
  26560. #: guix-git/doc/guix.texi:18340
  26561. #, no-wrap
  26562. msgid "@code{server} (default: @code{'()})"
  26563. msgstr ""
  26564. #. type: table
  26565. #: guix-git/doc/guix.texi:18342
  26566. msgid "Specify a list of IP addresses or hostnames of NTP servers to synchronize to."
  26567. msgstr ""
  26568. #. type: item
  26569. #: guix-git/doc/guix.texi:18342
  26570. #, no-wrap
  26571. msgid "@code{servers} (default: @code{%openntp-servers})"
  26572. msgstr ""
  26573. #. type: table
  26574. #: guix-git/doc/guix.texi:18344
  26575. msgid "Specify a list of IP addresses or hostnames of NTP pools to synchronize to."
  26576. msgstr ""
  26577. #. type: item
  26578. #: guix-git/doc/guix.texi:18344
  26579. #, no-wrap
  26580. msgid "@code{constraint-from} (default: @code{'()})"
  26581. msgstr ""
  26582. #. type: table
  26583. #: guix-git/doc/guix.texi:18351
  26584. 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."
  26585. msgstr ""
  26586. #. type: item
  26587. #: guix-git/doc/guix.texi:18351
  26588. #, no-wrap
  26589. msgid "@code{constraints-from} (default: @code{'()})"
  26590. msgstr ""
  26591. #. type: table
  26592. #: guix-git/doc/guix.texi:18355
  26593. 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."
  26594. msgstr ""
  26595. #. type: cindex
  26596. #: guix-git/doc/guix.texi:18358
  26597. #, no-wrap
  26598. msgid "inetd"
  26599. msgstr ""
  26600. #. type: deffn
  26601. #: guix-git/doc/guix.texi:18359
  26602. #, no-wrap
  26603. msgid "{Scheme variable} inetd-service-type"
  26604. msgstr ""
  26605. #. type: deffn
  26606. #: guix-git/doc/guix.texi:18364
  26607. 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."
  26608. msgstr ""
  26609. #. type: deffn
  26610. #: guix-git/doc/guix.texi:18370
  26611. 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}:"
  26612. msgstr ""
  26613. #. type: lisp
  26614. #: guix-git/doc/guix.texi:18393
  26615. #, no-wrap
  26616. msgid ""
  26617. "(service\n"
  26618. " inetd-service-type\n"
  26619. " (inetd-configuration\n"
  26620. " (entries (list\n"
  26621. " (inetd-entry\n"
  26622. " (name \"echo\")\n"
  26623. " (socket-type 'stream)\n"
  26624. " (protocol \"tcp\")\n"
  26625. " (wait? #f)\n"
  26626. " (user \"root\"))\n"
  26627. " (inetd-entry\n"
  26628. " (node \"127.0.0.1\")\n"
  26629. " (name \"smtp\")\n"
  26630. " (socket-type 'stream)\n"
  26631. " (protocol \"tcp\")\n"
  26632. " (wait? #f)\n"
  26633. " (user \"root\")\n"
  26634. " (program (file-append openssh \"/bin/ssh\"))\n"
  26635. " (arguments\n"
  26636. " '(\"ssh\" \"-qT\" \"-i\" \"/path/to/ssh_key\"\n"
  26637. " \"-W\" \"smtp-server:25\" \"user@@hostname\")))))))\n"
  26638. msgstr ""
  26639. #. type: deffn
  26640. #: guix-git/doc/guix.texi:18396
  26641. msgid "See below for more details about @code{inetd-configuration}."
  26642. msgstr ""
  26643. #. type: deftp
  26644. #: guix-git/doc/guix.texi:18398
  26645. #, no-wrap
  26646. msgid "{Data Type} inetd-configuration"
  26647. msgstr ""
  26648. #. type: deftp
  26649. #: guix-git/doc/guix.texi:18400
  26650. msgid "Data type representing the configuration of @command{inetd}."
  26651. msgstr ""
  26652. #. type: item
  26653. #: guix-git/doc/guix.texi:18402
  26654. #, no-wrap
  26655. msgid "@code{program} (default: @code{(file-append inetutils \"/libexec/inetd\")})"
  26656. msgstr ""
  26657. #. type: table
  26658. #: guix-git/doc/guix.texi:18404
  26659. msgid "The @command{inetd} executable to use."
  26660. msgstr ""
  26661. #. type: item
  26662. #: guix-git/doc/guix.texi:18405 guix-git/doc/guix.texi:28088
  26663. #, no-wrap
  26664. msgid "@code{entries} (default: @code{'()})"
  26665. msgstr ""
  26666. #. type: table
  26667. #: guix-git/doc/guix.texi:18408
  26668. msgid "A list of @command{inetd} service entries. Each entry should be created by the @code{inetd-entry} constructor."
  26669. msgstr ""
  26670. #. type: deftp
  26671. #: guix-git/doc/guix.texi:18411
  26672. #, no-wrap
  26673. msgid "{Data Type} inetd-entry"
  26674. msgstr ""
  26675. #. type: deftp
  26676. #: guix-git/doc/guix.texi:18415
  26677. msgid "Data type representing an entry in the @command{inetd} configuration. Each entry corresponds to a socket where @command{inetd} will listen for requests."
  26678. msgstr ""
  26679. #. type: item
  26680. #: guix-git/doc/guix.texi:18417
  26681. #, no-wrap
  26682. msgid "@code{node} (default: @code{#f})"
  26683. msgstr ""
  26684. #. type: table
  26685. #: guix-git/doc/guix.texi:18422
  26686. 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."
  26687. msgstr ""
  26688. #. type: table
  26689. #: guix-git/doc/guix.texi:18424
  26690. msgid "A string, the name must correspond to an entry in @code{/etc/services}."
  26691. msgstr ""
  26692. #. type: code{#1}
  26693. #: guix-git/doc/guix.texi:18424
  26694. #, no-wrap
  26695. msgid "socket-type"
  26696. msgstr ""
  26697. #. type: table
  26698. #: guix-git/doc/guix.texi:18427
  26699. msgid "One of @code{'stream}, @code{'dgram}, @code{'raw}, @code{'rdm} or @code{'seqpacket}."
  26700. msgstr ""
  26701. #. type: code{#1}
  26702. #: guix-git/doc/guix.texi:18427
  26703. #, no-wrap
  26704. msgid "protocol"
  26705. msgstr "protokolla"
  26706. #. type: table
  26707. #: guix-git/doc/guix.texi:18429
  26708. msgid "A string, must correspond to an entry in @code{/etc/protocols}."
  26709. msgstr ""
  26710. #. type: item
  26711. #: guix-git/doc/guix.texi:18429
  26712. #, no-wrap
  26713. msgid "@code{wait?} (default: @code{#t})"
  26714. msgstr ""
  26715. #. type: table
  26716. #: guix-git/doc/guix.texi:18432
  26717. msgid "Whether @command{inetd} should wait for the server to exit before listening to new service requests."
  26718. msgstr ""
  26719. #. type: table
  26720. #: guix-git/doc/guix.texi:18437
  26721. 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\"}."
  26722. msgstr ""
  26723. #. type: item
  26724. #: guix-git/doc/guix.texi:18437
  26725. #, no-wrap
  26726. msgid "@code{program} (default: @code{\"internal\"})"
  26727. msgstr ""
  26728. #. type: table
  26729. #: guix-git/doc/guix.texi:18440
  26730. msgid "The server program which will serve the requests, or @code{\"internal\"} if @command{inetd} should use a built-in service."
  26731. msgstr ""
  26732. #. type: table
  26733. #: guix-git/doc/guix.texi:18445
  26734. 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\")}."
  26735. msgstr ""
  26736. #. type: deftp
  26737. #: guix-git/doc/guix.texi:18449
  26738. msgid "@xref{Configuration file,,, inetutils, GNU Inetutils} for a more detailed discussion of each configuration field."
  26739. msgstr ""
  26740. #. type: cindex
  26741. #: guix-git/doc/guix.texi:18451
  26742. #, no-wrap
  26743. msgid "opendht, distributed hash table network service"
  26744. msgstr ""
  26745. #. type: cindex
  26746. #: guix-git/doc/guix.texi:18452
  26747. #, no-wrap
  26748. msgid "dhtproxy, for use with jami"
  26749. msgstr ""
  26750. #. type: defvr
  26751. #: guix-git/doc/guix.texi:18453
  26752. #, no-wrap
  26753. msgid "{Scheme Variable} opendht-service-type"
  26754. msgstr ""
  26755. #. type: defvr
  26756. #: guix-git/doc/guix.texi:18458
  26757. 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."
  26758. msgstr ""
  26759. #. type: quotation
  26760. #: guix-git/doc/guix.texi:18468
  26761. 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."
  26762. msgstr ""
  26763. #. type: defvr
  26764. #: guix-git/doc/guix.texi:18472
  26765. msgid "The value of this service is a @code{opendht-configuration} object, as described below."
  26766. msgstr ""
  26767. #. type: deftp
  26768. #: guix-git/doc/guix.texi:18474
  26769. #, no-wrap
  26770. msgid "{Data Type} opendht-configuration"
  26771. msgstr ""
  26772. #. type: deftp
  26773. #: guix-git/doc/guix.texi:18476
  26774. msgid "This is the data type for the OpenDHT service configuration."
  26775. msgstr ""
  26776. #. type: deftp
  26777. #: guix-git/doc/guix.texi:18481
  26778. msgid "Available @code{opendht-configuration} fields are:"
  26779. msgstr ""
  26780. #. type: deftypevr
  26781. #: guix-git/doc/guix.texi:18482
  26782. #, no-wrap
  26783. msgid "{@code{opendht-configuration} parameter} package opendht"
  26784. msgstr ""
  26785. #. type: deftypevr
  26786. #: guix-git/doc/guix.texi:18484
  26787. msgid "The @code{opendht} package to use."
  26788. msgstr ""
  26789. #. type: deftypevr
  26790. #: guix-git/doc/guix.texi:18487
  26791. #, no-wrap
  26792. msgid "{@code{opendht-configuration} parameter} boolean peer-discovery?"
  26793. msgstr ""
  26794. #. type: deftypevr
  26795. #: guix-git/doc/guix.texi:18489
  26796. msgid "Whether to enable the multicast local peer discovery mechanism."
  26797. msgstr ""
  26798. #. type: deftypevr
  26799. #: guix-git/doc/guix.texi:18491 guix-git/doc/guix.texi:18499
  26800. #: guix-git/doc/guix.texi:18507 guix-git/doc/guix.texi:20199
  26801. #: guix-git/doc/guix.texi:20275 guix-git/doc/guix.texi:20317
  26802. #: guix-git/doc/guix.texi:20337 guix-git/doc/guix.texi:20343
  26803. #: guix-git/doc/guix.texi:20359 guix-git/doc/guix.texi:20447
  26804. #: guix-git/doc/guix.texi:20535 guix-git/doc/guix.texi:20848
  26805. #: guix-git/doc/guix.texi:20861 guix-git/doc/guix.texi:22012
  26806. #: guix-git/doc/guix.texi:23490 guix-git/doc/guix.texi:23596
  26807. #: guix-git/doc/guix.texi:23661 guix-git/doc/guix.texi:23670
  26808. #: guix-git/doc/guix.texi:24903 guix-git/doc/guix.texi:24947
  26809. #: guix-git/doc/guix.texi:24964 guix-git/doc/guix.texi:24972
  26810. #: guix-git/doc/guix.texi:24987 guix-git/doc/guix.texi:25005
  26811. #: guix-git/doc/guix.texi:25029 guix-git/doc/guix.texi:25082
  26812. #: guix-git/doc/guix.texi:25215 guix-git/doc/guix.texi:25249
  26813. #: guix-git/doc/guix.texi:25285 guix-git/doc/guix.texi:25301
  26814. #: guix-git/doc/guix.texi:25329 guix-git/doc/guix.texi:25390
  26815. #: guix-git/doc/guix.texi:25473 guix-git/doc/guix.texi:28800
  26816. #: guix-git/doc/guix.texi:28814 guix-git/doc/guix.texi:28836
  26817. #: guix-git/doc/guix.texi:28955 guix-git/doc/guix.texi:28969
  26818. #: guix-git/doc/guix.texi:28990 guix-git/doc/guix.texi:29011
  26819. #: guix-git/doc/guix.texi:29018 guix-git/doc/guix.texi:29063
  26820. #: guix-git/doc/guix.texi:29070 guix-git/doc/guix.texi:29859
  26821. #: guix-git/doc/guix.texi:29873 guix-git/doc/guix.texi:30073
  26822. #: guix-git/doc/guix.texi:30118 guix-git/doc/guix.texi:30205
  26823. #: guix-git/doc/guix.texi:30407 guix-git/doc/guix.texi:30440
  26824. #: guix-git/doc/guix.texi:30580 guix-git/doc/guix.texi:30591
  26825. #: guix-git/doc/guix.texi:30842 guix-git/doc/guix.texi:32365
  26826. #: guix-git/doc/guix.texi:32374 guix-git/doc/guix.texi:32382
  26827. #: guix-git/doc/guix.texi:32390 guix-git/doc/guix.texi:32406
  26828. #: guix-git/doc/guix.texi:32422 guix-git/doc/guix.texi:32430
  26829. #: guix-git/doc/guix.texi:32438 guix-git/doc/guix.texi:32447
  26830. #: guix-git/doc/guix.texi:32456 guix-git/doc/guix.texi:32472
  26831. #: guix-git/doc/guix.texi:32536 guix-git/doc/guix.texi:32642
  26832. #: guix-git/doc/guix.texi:32650 guix-git/doc/guix.texi:32658
  26833. #: guix-git/doc/guix.texi:32683 guix-git/doc/guix.texi:32737
  26834. #: guix-git/doc/guix.texi:32785 guix-git/doc/guix.texi:32986
  26835. #: guix-git/doc/guix.texi:32993
  26836. msgid "Defaults to @samp{#f}."
  26837. msgstr ""
  26838. #. type: deftypevr
  26839. #: guix-git/doc/guix.texi:18494
  26840. #, no-wrap
  26841. msgid "{@code{opendht-configuration} parameter} boolean enable-logging?"
  26842. msgstr ""
  26843. #. type: deftypevr
  26844. #: guix-git/doc/guix.texi:18497
  26845. msgid "Whether to enable logging messages to syslog. It is disabled by default as it is rather verbose."
  26846. msgstr ""
  26847. #. type: deftypevr
  26848. #: guix-git/doc/guix.texi:18502
  26849. #, no-wrap
  26850. msgid "{@code{opendht-configuration} parameter} boolean debug?"
  26851. msgstr ""
  26852. #. type: deftypevr
  26853. #: guix-git/doc/guix.texi:18505
  26854. msgid "Whether to enable debug-level logging messages. This has no effect if logging is disabled."
  26855. msgstr ""
  26856. #. type: deftypevr
  26857. #: guix-git/doc/guix.texi:18510
  26858. #, no-wrap
  26859. msgid "{@code{opendht-configuration} parameter} maybe-string bootstrap-host"
  26860. msgstr ""
  26861. #. type: deftypevr
  26862. #: guix-git/doc/guix.texi:18516
  26863. 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."
  26864. msgstr ""
  26865. #. type: deftypevr
  26866. #: guix-git/doc/guix.texi:18518
  26867. msgid "Defaults to @samp{\"bootstrap.jami.net:4222\"}."
  26868. msgstr ""
  26869. #. type: deftypevr
  26870. #: guix-git/doc/guix.texi:18521
  26871. #, no-wrap
  26872. msgid "{@code{opendht-configuration} parameter} maybe-number port"
  26873. msgstr ""
  26874. #. type: deftypevr
  26875. #: guix-git/doc/guix.texi:18524
  26876. msgid "The UDP port to bind to. When set to @code{'disabled}, an available port is automatically selected."
  26877. msgstr ""
  26878. #. type: deftypevr
  26879. #: guix-git/doc/guix.texi:18526
  26880. msgid "Defaults to @samp{4222}."
  26881. msgstr ""
  26882. #. type: deftypevr
  26883. #: guix-git/doc/guix.texi:18529
  26884. #, no-wrap
  26885. msgid "{@code{opendht-configuration} parameter} maybe-number proxy-server-port"
  26886. msgstr ""
  26887. #. type: deftypevr
  26888. #: guix-git/doc/guix.texi:18531
  26889. msgid "Spawn a proxy server listening on the specified port."
  26890. msgstr ""
  26891. #. type: deftypevr
  26892. #: guix-git/doc/guix.texi:18533 guix-git/doc/guix.texi:18540
  26893. #: guix-git/doc/guix.texi:24911 guix-git/doc/guix.texi:24955
  26894. #: guix-git/doc/guix.texi:25168 guix-git/doc/guix.texi:25224
  26895. #: guix-git/doc/guix.texi:25398 guix-git/doc/guix.texi:25409
  26896. #: guix-git/doc/guix.texi:25482 guix-git/doc/guix.texi:26117
  26897. #: guix-git/doc/guix.texi:26160 guix-git/doc/guix.texi:26168
  26898. #: guix-git/doc/guix.texi:26176 guix-git/doc/guix.texi:26184
  26899. #: guix-git/doc/guix.texi:26193 guix-git/doc/guix.texi:26201
  26900. #: guix-git/doc/guix.texi:26208 guix-git/doc/guix.texi:26216
  26901. #: guix-git/doc/guix.texi:26224 guix-git/doc/guix.texi:26234
  26902. #: guix-git/doc/guix.texi:26241 guix-git/doc/guix.texi:26265
  26903. #: guix-git/doc/guix.texi:26273 guix-git/doc/guix.texi:26299
  26904. #: guix-git/doc/guix.texi:26308 guix-git/doc/guix.texi:26317
  26905. #: guix-git/doc/guix.texi:26326 guix-git/doc/guix.texi:26335
  26906. #: guix-git/doc/guix.texi:26344 guix-git/doc/guix.texi:26352
  26907. #: guix-git/doc/guix.texi:26360 guix-git/doc/guix.texi:26367
  26908. #: guix-git/doc/guix.texi:26375 guix-git/doc/guix.texi:26382
  26909. #: guix-git/doc/guix.texi:26390 guix-git/doc/guix.texi:26398
  26910. #: guix-git/doc/guix.texi:26407 guix-git/doc/guix.texi:26416
  26911. #: guix-git/doc/guix.texi:26424 guix-git/doc/guix.texi:26432
  26912. #: guix-git/doc/guix.texi:26440 guix-git/doc/guix.texi:26451
  26913. #: guix-git/doc/guix.texi:26461 guix-git/doc/guix.texi:26472
  26914. #: guix-git/doc/guix.texi:26481 guix-git/doc/guix.texi:26491
  26915. #: guix-git/doc/guix.texi:26499 guix-git/doc/guix.texi:26510
  26916. #: guix-git/doc/guix.texi:26519 guix-git/doc/guix.texi:26529
  26917. #: guix-git/doc/guix.texi:29772 guix-git/doc/guix.texi:29779
  26918. #: guix-git/doc/guix.texi:29786 guix-git/doc/guix.texi:29793
  26919. #: guix-git/doc/guix.texi:29800 guix-git/doc/guix.texi:29807
  26920. #: guix-git/doc/guix.texi:29815 guix-git/doc/guix.texi:29823
  26921. #: guix-git/doc/guix.texi:29830 guix-git/doc/guix.texi:29837
  26922. #: guix-git/doc/guix.texi:29844 guix-git/doc/guix.texi:29851
  26923. #: guix-git/doc/guix.texi:29881 guix-git/doc/guix.texi:29919
  26924. #: guix-git/doc/guix.texi:29926 guix-git/doc/guix.texi:29935
  26925. #: guix-git/doc/guix.texi:29957 guix-git/doc/guix.texi:29965
  26926. #: guix-git/doc/guix.texi:29972 guix-git/doc/guix.texi:30001
  26927. #: guix-git/doc/guix.texi:30008 guix-git/doc/guix.texi:30015
  26928. #: guix-git/doc/guix.texi:30022 guix-git/doc/guix.texi:30155
  26929. #: guix-git/doc/guix.texi:30175 guix-git/doc/guix.texi:30190
  26930. #: guix-git/doc/guix.texi:30197 guix-git/doc/guix.texi:32938
  26931. #: guix-git/doc/guix.texi:32946 guix-git/doc/guix.texi:32954
  26932. #: guix-git/doc/guix.texi:32962 guix-git/doc/guix.texi:32970
  26933. #: guix-git/doc/guix.texi:32978
  26934. msgid "Defaults to @samp{disabled}."
  26935. msgstr ""
  26936. #. type: deftypevr
  26937. #: guix-git/doc/guix.texi:18536
  26938. #, no-wrap
  26939. msgid "{@code{opendht-configuration} parameter} maybe-number proxy-server-port-tls"
  26940. msgstr ""
  26941. #. type: deftypevr
  26942. #: guix-git/doc/guix.texi:18538
  26943. msgid "Spawn a proxy server listening to TLS connections on the specified port."
  26944. msgstr ""
  26945. #. type: cindex
  26946. #: guix-git/doc/guix.texi:18544
  26947. #, no-wrap
  26948. msgid "Tor"
  26949. msgstr ""
  26950. #. type: defvr
  26951. #: guix-git/doc/guix.texi:18545
  26952. #, no-wrap
  26953. msgid "{Scheme Variable} tor-service-type"
  26954. msgstr ""
  26955. #. type: defvr
  26956. #: guix-git/doc/guix.texi:18550
  26957. 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."
  26958. msgstr ""
  26959. #. type: deftp
  26960. #: guix-git/doc/guix.texi:18553
  26961. #, no-wrap
  26962. msgid "{Data Type} tor-configuration"
  26963. msgstr ""
  26964. #. type: item
  26965. #: guix-git/doc/guix.texi:18555
  26966. #, no-wrap
  26967. msgid "@code{tor} (default: @code{tor})"
  26968. msgstr ""
  26969. #. type: table
  26970. #: guix-git/doc/guix.texi:18560
  26971. 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."
  26972. msgstr ""
  26973. #. type: item
  26974. #: guix-git/doc/guix.texi:18561
  26975. #, no-wrap
  26976. msgid "@code{config-file} (default: @code{(plain-file \"empty\" \"\")})"
  26977. msgstr ""
  26978. #. type: table
  26979. #: guix-git/doc/guix.texi:18567
  26980. 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."
  26981. msgstr ""
  26982. #. type: item
  26983. #: guix-git/doc/guix.texi:18568
  26984. #, no-wrap
  26985. msgid "@code{hidden-services} (default: @code{'()})"
  26986. msgstr ""
  26987. #. type: table
  26988. #: guix-git/doc/guix.texi:18574
  26989. 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."
  26990. msgstr ""
  26991. #. type: item
  26992. #: guix-git/doc/guix.texi:18575
  26993. #, no-wrap
  26994. msgid "@code{socks-socket-type} (default: @code{'tcp})"
  26995. msgstr ""
  26996. #. type: table
  26997. #: guix-git/doc/guix.texi:18582
  26998. 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."
  26999. msgstr ""
  27000. #. type: table
  27001. #: guix-git/doc/guix.texi:18587
  27002. 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."
  27003. msgstr ""
  27004. #. type: item
  27005. #: guix-git/doc/guix.texi:18588
  27006. #, no-wrap
  27007. msgid "@code{control-socket?} (default: @code{#f})"
  27008. msgstr ""
  27009. #. type: table
  27010. #: guix-git/doc/guix.texi:18594
  27011. 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."
  27012. msgstr ""
  27013. #. type: cindex
  27014. #: guix-git/doc/guix.texi:18598
  27015. #, no-wrap
  27016. msgid "hidden service"
  27017. msgstr ""
  27018. #. type: deffn
  27019. #: guix-git/doc/guix.texi:18599
  27020. #, no-wrap
  27021. msgid "{Scheme Procedure} tor-hidden-service @var{name} @var{mapping}"
  27022. msgstr ""
  27023. #. type: deffn
  27024. #: guix-git/doc/guix.texi:18602
  27025. 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:"
  27026. msgstr ""
  27027. #. type: example
  27028. #: guix-git/doc/guix.texi:18606
  27029. #, no-wrap
  27030. msgid ""
  27031. " '((22 \"127.0.0.1:22\")\n"
  27032. " (80 \"127.0.0.1:8080\"))\n"
  27033. msgstr ""
  27034. #. type: deffn
  27035. #: guix-git/doc/guix.texi:18610
  27036. 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."
  27037. msgstr ""
  27038. #. type: deffn
  27039. #: guix-git/doc/guix.texi:18614
  27040. 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."
  27041. msgstr ""
  27042. #. type: deffn
  27043. #: guix-git/doc/guix.texi:18617
  27044. msgid "See @uref{https://www.torproject.org/docs/tor-hidden-service.html.en, the Tor project's documentation} for more information."
  27045. msgstr ""
  27046. #. type: Plain text
  27047. #: guix-git/doc/guix.texi:18620
  27048. msgid "The @code{(gnu services rsync)} module provides the following services:"
  27049. msgstr ""
  27050. #. type: Plain text
  27051. #: guix-git/doc/guix.texi:18624
  27052. 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."
  27053. msgstr ""
  27054. #. type: deffn
  27055. #: guix-git/doc/guix.texi:18625
  27056. #, no-wrap
  27057. msgid "{Scheme Variable} rsync-service-type"
  27058. msgstr ""
  27059. #. type: deffn
  27060. #: guix-git/doc/guix.texi:18629
  27061. 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:"
  27062. msgstr ""
  27063. #. type: lisp
  27064. #: guix-git/doc/guix.texi:18642
  27065. #, no-wrap
  27066. msgid ""
  27067. ";; Export two directories over rsync. By default rsync listens on\n"
  27068. ";; all the network interfaces.\n"
  27069. "(service rsync-service-type\n"
  27070. " (rsync-configuration\n"
  27071. " (modules (list (rsync-module\n"
  27072. " (name \"music\")\n"
  27073. " (file-name \"/srv/zik\")\n"
  27074. " (read-only? #f))\n"
  27075. " (rsync-module\n"
  27076. " (name \"movies\")\n"
  27077. " (file-name \"/home/charlie/movies\"))))))\n"
  27078. msgstr ""
  27079. #. type: deffn
  27080. #: guix-git/doc/guix.texi:18645
  27081. msgid "See below for details about @code{rsync-configuration}."
  27082. msgstr ""
  27083. #. type: deftp
  27084. #: guix-git/doc/guix.texi:18647
  27085. #, no-wrap
  27086. msgid "{Data Type} rsync-configuration"
  27087. msgstr ""
  27088. #. type: deftp
  27089. #: guix-git/doc/guix.texi:18649
  27090. msgid "Data type representing the configuration for @code{rsync-service}."
  27091. msgstr ""
  27092. #. type: item
  27093. #: guix-git/doc/guix.texi:18651
  27094. #, no-wrap
  27095. msgid "@code{package} (default: @var{rsync})"
  27096. msgstr ""
  27097. #. type: table
  27098. #: guix-git/doc/guix.texi:18653
  27099. msgid "@code{rsync} package to use."
  27100. msgstr ""
  27101. #. type: item
  27102. #: guix-git/doc/guix.texi:18654 guix-git/doc/guix.texi:31945
  27103. #, no-wrap
  27104. msgid "@code{address} (default: @code{#f})"
  27105. msgstr ""
  27106. #. type: table
  27107. #: guix-git/doc/guix.texi:18657
  27108. msgid "IP address on which @command{rsync} listens for incoming connections. If unspecified, it defaults to listening on all available addresses."
  27109. msgstr ""
  27110. #. type: item
  27111. #: guix-git/doc/guix.texi:18658
  27112. #, no-wrap
  27113. msgid "@code{port-number} (default: @code{873})"
  27114. msgstr ""
  27115. #. type: table
  27116. #: guix-git/doc/guix.texi:18662
  27117. 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."
  27118. msgstr ""
  27119. #. type: item
  27120. #: guix-git/doc/guix.texi:18663
  27121. #, no-wrap
  27122. msgid "@code{pid-file} (default: @code{\"/var/run/rsyncd/rsyncd.pid\"})"
  27123. msgstr ""
  27124. #. type: table
  27125. #: guix-git/doc/guix.texi:18665
  27126. msgid "Name of the file where @command{rsync} writes its PID."
  27127. msgstr ""
  27128. #. type: item
  27129. #: guix-git/doc/guix.texi:18666
  27130. #, no-wrap
  27131. msgid "@code{lock-file} (default: @code{\"/var/run/rsyncd/rsyncd.lock\"})"
  27132. msgstr ""
  27133. #. type: table
  27134. #: guix-git/doc/guix.texi:18668
  27135. msgid "Name of the file where @command{rsync} writes its lock file."
  27136. msgstr ""
  27137. #. type: item
  27138. #: guix-git/doc/guix.texi:18669
  27139. #, no-wrap
  27140. msgid "@code{log-file} (default: @code{\"/var/log/rsyncd.log\"})"
  27141. msgstr ""
  27142. #. type: table
  27143. #: guix-git/doc/guix.texi:18671
  27144. msgid "Name of the file where @command{rsync} writes its log file."
  27145. msgstr ""
  27146. #. type: item
  27147. #: guix-git/doc/guix.texi:18672 guix-git/doc/guix.texi:36176
  27148. #, no-wrap
  27149. msgid "@code{user} (default: @code{\"root\"})"
  27150. msgstr ""
  27151. #. type: table
  27152. #: guix-git/doc/guix.texi:18674
  27153. msgid "Owner of the @code{rsync} process."
  27154. msgstr ""
  27155. #. type: item
  27156. #: guix-git/doc/guix.texi:18675
  27157. #, no-wrap
  27158. msgid "@code{group} (default: @code{\"root\"})"
  27159. msgstr ""
  27160. #. type: table
  27161. #: guix-git/doc/guix.texi:18677
  27162. msgid "Group of the @code{rsync} process."
  27163. msgstr ""
  27164. #. type: item
  27165. #: guix-git/doc/guix.texi:18678
  27166. #, no-wrap
  27167. msgid "@code{uid} (default: @code{\"rsyncd\"})"
  27168. msgstr ""
  27169. #. type: table
  27170. #: guix-git/doc/guix.texi:18681
  27171. 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}."
  27172. msgstr ""
  27173. #. type: item
  27174. #: guix-git/doc/guix.texi:18682
  27175. #, no-wrap
  27176. msgid "@code{gid} (default: @code{\"rsyncd\"})"
  27177. msgstr ""
  27178. #. type: table
  27179. #: guix-git/doc/guix.texi:18684 guix-git/doc/guix.texi:19163
  27180. msgid "Group name or group ID that will be used when accessing the module."
  27181. msgstr ""
  27182. #. type: item
  27183. #: guix-git/doc/guix.texi:18685 guix-git/doc/guix.texi:36982
  27184. #, no-wrap
  27185. msgid "@code{modules} (default: @code{%default-modules})"
  27186. msgstr ""
  27187. #. type: table
  27188. #: guix-git/doc/guix.texi:18688
  27189. msgid "List of ``modules''---i.e., directories exported over rsync. Each element must be a @code{rsync-module} record, as described below."
  27190. msgstr ""
  27191. #. type: deftp
  27192. #: guix-git/doc/guix.texi:18691
  27193. #, no-wrap
  27194. msgid "{Data Type} rsync-module"
  27195. msgstr ""
  27196. #. type: deftp
  27197. #: guix-git/doc/guix.texi:18694
  27198. msgid "This is the data type for rsync ``modules''. A module is a directory exported over the rsync protocol. The available fields are as follows:"
  27199. msgstr ""
  27200. #. type: table
  27201. #: guix-git/doc/guix.texi:18700
  27202. msgid "The module name. This is the name that shows up in URLs. For example, if the module is called @code{music}, the corresponding URL will be @code{rsync://host.example.org/music}."
  27203. msgstr ""
  27204. #. type: code{#1}
  27205. #: guix-git/doc/guix.texi:18701
  27206. #, no-wrap
  27207. msgid "file-name"
  27208. msgstr ""
  27209. #. type: table
  27210. #: guix-git/doc/guix.texi:18703
  27211. msgid "Name of the directory being exported."
  27212. msgstr ""
  27213. #. type: table
  27214. #: guix-git/doc/guix.texi:18707
  27215. msgid "Comment associated with the module. Client user interfaces may display it when they obtain the list of available modules."
  27216. msgstr ""
  27217. #. type: item
  27218. #: guix-git/doc/guix.texi:18708
  27219. #, no-wrap
  27220. msgid "@code{read-only?} (default: @code{#t})"
  27221. msgstr ""
  27222. #. type: table
  27223. #: guix-git/doc/guix.texi:18712
  27224. msgid "Whether or not client will be able to upload files. If this is false, the uploads will be authorized if permissions on the daemon side permit it."
  27225. msgstr ""
  27226. #. type: item
  27227. #: guix-git/doc/guix.texi:18713
  27228. #, no-wrap
  27229. msgid "@code{chroot?} (default: @code{#t})"
  27230. msgstr ""
  27231. #. type: table
  27232. #: guix-git/doc/guix.texi:18717
  27233. msgid "When this is true, the rsync daemon changes root to the module's directory before starting file transfers with the client. This improves security, but requires rsync to run as root."
  27234. msgstr ""
  27235. #. type: item
  27236. #: guix-git/doc/guix.texi:18718
  27237. #, no-wrap
  27238. msgid "@code{timeout} (default: @code{300})"
  27239. msgstr ""
  27240. #. type: table
  27241. #: guix-git/doc/guix.texi:18721
  27242. msgid "Idle time in seconds after which the daemon closes a connection with the client."
  27243. msgstr ""
  27244. #. type: Plain text
  27245. #: guix-git/doc/guix.texi:18725
  27246. msgid "The @code{(gnu services syncthing)} module provides the following services:"
  27247. msgstr ""
  27248. #. type: cindex
  27249. #: guix-git/doc/guix.texi:18725
  27250. #, no-wrap
  27251. msgid "syncthing"
  27252. msgstr ""
  27253. #. type: Plain text
  27254. #: guix-git/doc/guix.texi:18730
  27255. 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."
  27256. msgstr ""
  27257. #. type: deffn
  27258. #: guix-git/doc/guix.texi:18731
  27259. #, no-wrap
  27260. msgid "{Scheme Variable} syncthing-service-type"
  27261. msgstr ""
  27262. #. type: deffn
  27263. #: guix-git/doc/guix.texi:18735
  27264. 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:"
  27265. msgstr ""
  27266. #. type: lisp
  27267. #: guix-git/doc/guix.texi:18739
  27268. #, no-wrap
  27269. msgid ""
  27270. "(service syncthing-service-type\n"
  27271. " (syncthing-configuration (user \"alice\")))\n"
  27272. msgstr ""
  27273. #. type: deffn
  27274. #: guix-git/doc/guix.texi:18742
  27275. msgid "See below for details about @code{syncthing-configuration}."
  27276. msgstr ""
  27277. #. type: deftp
  27278. #: guix-git/doc/guix.texi:18743
  27279. #, no-wrap
  27280. msgid "{Data Type} syncthing-configuration"
  27281. msgstr ""
  27282. #. type: deftp
  27283. #: guix-git/doc/guix.texi:18745
  27284. msgid "Data type representing the configuration for @code{syncthing-service-type}."
  27285. msgstr ""
  27286. #. type: item
  27287. #: guix-git/doc/guix.texi:18747
  27288. #, no-wrap
  27289. msgid "@code{syncthing} (default: @var{syncthing})"
  27290. msgstr ""
  27291. #. type: table
  27292. #: guix-git/doc/guix.texi:18749
  27293. msgid "@code{syncthing} package to use."
  27294. msgstr ""
  27295. #. type: item
  27296. #: guix-git/doc/guix.texi:18750
  27297. #, no-wrap
  27298. msgid "@code{arguments} (default: @var{'()})"
  27299. msgstr ""
  27300. #. type: table
  27301. #: guix-git/doc/guix.texi:18752
  27302. msgid "List of command-line arguments passing to @code{syncthing} binary."
  27303. msgstr ""
  27304. #. type: item
  27305. #: guix-git/doc/guix.texi:18753
  27306. #, no-wrap
  27307. msgid "@code{logflags} (default: @var{0})"
  27308. msgstr ""
  27309. #. type: table
  27310. #: guix-git/doc/guix.texi:18756
  27311. msgid "Sum of logging flags, see @uref{https://docs.syncthing.net/users/syncthing.html#cmdoption-logflags, Syncthing documentation logflags}."
  27312. msgstr ""
  27313. #. type: item
  27314. #: guix-git/doc/guix.texi:18757
  27315. #, no-wrap
  27316. msgid "@code{user} (default: @var{#f})"
  27317. msgstr ""
  27318. #. type: table
  27319. #: guix-git/doc/guix.texi:18760
  27320. msgid "The user as which the Syncthing service is to be run. This assumes that the specified user exists."
  27321. msgstr ""
  27322. #. type: item
  27323. #: guix-git/doc/guix.texi:18761
  27324. #, no-wrap
  27325. msgid "@code{group} (default: @var{\"users\"})"
  27326. msgstr ""
  27327. #. type: table
  27328. #: guix-git/doc/guix.texi:18764
  27329. msgid "The group as which the Syncthing service is to be run. This assumes that the specified group exists."
  27330. msgstr ""
  27331. #. type: item
  27332. #: guix-git/doc/guix.texi:18765
  27333. #, no-wrap
  27334. msgid "@code{home} (default: @var{#f})"
  27335. msgstr ""
  27336. #. type: table
  27337. #: guix-git/doc/guix.texi:18768
  27338. msgid "Common configuration and data directory. The default configuration directory is @file{$HOME} of the specified Syncthing @code{user}."
  27339. msgstr ""
  27340. #. type: Plain text
  27341. #: guix-git/doc/guix.texi:18774
  27342. msgid "Furthermore, @code{(gnu services ssh)} provides the following services."
  27343. msgstr ""
  27344. #. type: cindex
  27345. #: guix-git/doc/guix.texi:18774 guix-git/doc/guix.texi:18813
  27346. #: guix-git/doc/guix.texi:36319
  27347. #, no-wrap
  27348. msgid "SSH"
  27349. msgstr ""
  27350. #. type: cindex
  27351. #: guix-git/doc/guix.texi:18775 guix-git/doc/guix.texi:18814
  27352. #: guix-git/doc/guix.texi:36320
  27353. #, no-wrap
  27354. msgid "SSH server"
  27355. msgstr ""
  27356. #. type: deffn
  27357. #: guix-git/doc/guix.texi:18777
  27358. #, no-wrap
  27359. msgid "{Scheme Procedure} lsh-service [#:host-key \"/etc/lsh/host-key\"] @"
  27360. msgstr ""
  27361. #. type: deffn
  27362. #: guix-git/doc/guix.texi:18786
  27363. 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."
  27364. msgstr ""
  27365. #. type: deffn
  27366. #: guix-git/doc/guix.texi:18792
  27367. 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}."
  27368. msgstr ""
  27369. #. type: deffn
  27370. #: guix-git/doc/guix.texi:18796
  27371. 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."
  27372. msgstr ""
  27373. #. type: deffn
  27374. #: guix-git/doc/guix.texi:18801
  27375. 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})."
  27376. msgstr ""
  27377. #. type: deffn
  27378. #: guix-git/doc/guix.texi:18805
  27379. 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."
  27380. msgstr ""
  27381. #. type: deffn
  27382. #: guix-git/doc/guix.texi:18809
  27383. 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."
  27384. msgstr ""
  27385. #. type: deffn
  27386. #: guix-git/doc/guix.texi:18811
  27387. msgid "The other options should be self-descriptive."
  27388. msgstr ""
  27389. #. type: deffn
  27390. #: guix-git/doc/guix.texi:18815
  27391. #, no-wrap
  27392. msgid "{Scheme Variable} openssh-service-type"
  27393. msgstr ""
  27394. #. type: deffn
  27395. #: guix-git/doc/guix.texi:18819
  27396. 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:"
  27397. msgstr ""
  27398. #. type: lisp
  27399. #: guix-git/doc/guix.texi:18828
  27400. #, no-wrap
  27401. msgid ""
  27402. "(service openssh-service-type\n"
  27403. " (openssh-configuration\n"
  27404. " (x11-forwarding? #t)\n"
  27405. " (permit-root-login 'prohibit-password)\n"
  27406. " (authorized-keys\n"
  27407. " `((\"alice\" ,(local-file \"alice.pub\"))\n"
  27408. " (\"bob\" ,(local-file \"bob.pub\"))))))\n"
  27409. msgstr ""
  27410. #. type: deffn
  27411. #: guix-git/doc/guix.texi:18831
  27412. msgid "See below for details about @code{openssh-configuration}."
  27413. msgstr ""
  27414. #. type: deffn
  27415. #: guix-git/doc/guix.texi:18834
  27416. msgid "This service can be extended with extra authorized keys, as in this example:"
  27417. msgstr ""
  27418. #. type: lisp
  27419. #: guix-git/doc/guix.texi:18839
  27420. #, no-wrap
  27421. msgid ""
  27422. "(service-extension openssh-service-type\n"
  27423. " (const `((\"charlie\"\n"
  27424. " ,(local-file \"charlie.pub\")))))\n"
  27425. msgstr ""
  27426. #. type: deftp
  27427. #: guix-git/doc/guix.texi:18842
  27428. #, no-wrap
  27429. msgid "{Data Type} openssh-configuration"
  27430. msgstr ""
  27431. #. type: deftp
  27432. #: guix-git/doc/guix.texi:18844
  27433. msgid "This is the configuration record for OpenSSH's @command{sshd}."
  27434. msgstr ""
  27435. #. type: item
  27436. #: guix-git/doc/guix.texi:18846
  27437. #, no-wrap
  27438. msgid "@code{openssh} (default @var{openssh})"
  27439. msgstr ""
  27440. #. type: table
  27441. #: guix-git/doc/guix.texi:18848
  27442. msgid "The Openssh package to use."
  27443. msgstr ""
  27444. #. type: item
  27445. #: guix-git/doc/guix.texi:18849
  27446. #, no-wrap
  27447. msgid "@code{pid-file} (default: @code{\"/var/run/sshd.pid\"})"
  27448. msgstr ""
  27449. #. type: table
  27450. #: guix-git/doc/guix.texi:18851
  27451. msgid "Name of the file where @command{sshd} writes its PID."
  27452. msgstr ""
  27453. #. type: item
  27454. #: guix-git/doc/guix.texi:18852
  27455. #, no-wrap
  27456. msgid "@code{port-number} (default: @code{22})"
  27457. msgstr ""
  27458. #. type: table
  27459. #: guix-git/doc/guix.texi:18854
  27460. msgid "TCP port on which @command{sshd} listens for incoming connections."
  27461. msgstr ""
  27462. #. type: item
  27463. #: guix-git/doc/guix.texi:18855
  27464. #, no-wrap
  27465. msgid "@code{permit-root-login} (default: @code{#f})"
  27466. msgstr ""
  27467. #. type: table
  27468. #: guix-git/doc/guix.texi:18860
  27469. 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."
  27470. msgstr ""
  27471. #. type: item
  27472. #: guix-git/doc/guix.texi:18861 guix-git/doc/guix.texi:19022
  27473. #, no-wrap
  27474. msgid "@code{allow-empty-passwords?} (default: @code{#f})"
  27475. msgstr ""
  27476. #. type: table
  27477. #: guix-git/doc/guix.texi:18864
  27478. msgid "When true, users with empty passwords may log in. When false, they may not."
  27479. msgstr ""
  27480. #. type: item
  27481. #: guix-git/doc/guix.texi:18865 guix-git/doc/guix.texi:19025
  27482. #, no-wrap
  27483. msgid "@code{password-authentication?} (default: @code{#t})"
  27484. msgstr ""
  27485. #. type: table
  27486. #: guix-git/doc/guix.texi:18868
  27487. msgid "When true, users may log in with their password. When false, they have other authentication methods."
  27488. msgstr ""
  27489. #. type: item
  27490. #: guix-git/doc/guix.texi:18869
  27491. #, no-wrap
  27492. msgid "@code{public-key-authentication?} (default: @code{#t})"
  27493. msgstr ""
  27494. #. type: table
  27495. #: guix-git/doc/guix.texi:18872
  27496. msgid "When true, users may log in using public key authentication. When false, users have to use other authentication method."
  27497. msgstr ""
  27498. #. type: table
  27499. #: guix-git/doc/guix.texi:18875
  27500. msgid "Authorized public keys are stored in @file{~/.ssh/authorized_keys}. This is used only by protocol version 2."
  27501. msgstr ""
  27502. #. type: item
  27503. #: guix-git/doc/guix.texi:18876
  27504. #, no-wrap
  27505. msgid "@code{x11-forwarding?} (default: @code{#f})"
  27506. msgstr ""
  27507. #. type: table
  27508. #: guix-git/doc/guix.texi:18880
  27509. msgid "When true, forwarding of X11 graphical client connections is enabled---in other words, @command{ssh} options @option{-X} and @option{-Y} will work."
  27510. msgstr ""
  27511. #. type: item
  27512. #: guix-git/doc/guix.texi:18881
  27513. #, no-wrap
  27514. msgid "@code{allow-agent-forwarding?} (default: @code{#t})"
  27515. msgstr ""
  27516. #. type: table
  27517. #: guix-git/doc/guix.texi:18883
  27518. msgid "Whether to allow agent forwarding."
  27519. msgstr ""
  27520. #. type: item
  27521. #: guix-git/doc/guix.texi:18884
  27522. #, no-wrap
  27523. msgid "@code{allow-tcp-forwarding?} (default: @code{#t})"
  27524. msgstr ""
  27525. #. type: table
  27526. #: guix-git/doc/guix.texi:18886
  27527. msgid "Whether to allow TCP forwarding."
  27528. msgstr ""
  27529. #. type: item
  27530. #: guix-git/doc/guix.texi:18887
  27531. #, no-wrap
  27532. msgid "@code{gateway-ports?} (default: @code{#f})"
  27533. msgstr ""
  27534. #. type: table
  27535. #: guix-git/doc/guix.texi:18889
  27536. msgid "Whether to allow gateway ports."
  27537. msgstr ""
  27538. #. type: item
  27539. #: guix-git/doc/guix.texi:18890
  27540. #, no-wrap
  27541. msgid "@code{challenge-response-authentication?} (default: @code{#f})"
  27542. msgstr ""
  27543. #. type: table
  27544. #: guix-git/doc/guix.texi:18893
  27545. msgid "Specifies whether challenge response authentication is allowed (e.g.@: via PAM)."
  27546. msgstr ""
  27547. #. type: item
  27548. #: guix-git/doc/guix.texi:18894
  27549. #, no-wrap
  27550. msgid "@code{use-pam?} (default: @code{#t})"
  27551. msgstr ""
  27552. #. type: table
  27553. #: guix-git/doc/guix.texi:18900
  27554. 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."
  27555. msgstr ""
  27556. #. type: table
  27557. #: guix-git/doc/guix.texi:18905
  27558. 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?}."
  27559. msgstr ""
  27560. #. type: item
  27561. #: guix-git/doc/guix.texi:18906
  27562. #, no-wrap
  27563. msgid "@code{print-last-log?} (default: @code{#t})"
  27564. msgstr ""
  27565. #. type: table
  27566. #: guix-git/doc/guix.texi:18909
  27567. msgid "Specifies whether @command{sshd} should print the date and time of the last user login when a user logs in interactively."
  27568. msgstr ""
  27569. #. type: item
  27570. #: guix-git/doc/guix.texi:18910
  27571. #, no-wrap
  27572. msgid "@code{subsystems} (default: @code{'((\"sftp\" \"internal-sftp\"))})"
  27573. msgstr ""
  27574. #. type: table
  27575. #: guix-git/doc/guix.texi:18912
  27576. msgid "Configures external subsystems (e.g.@: file transfer daemon)."
  27577. msgstr ""
  27578. #. type: table
  27579. #: guix-git/doc/guix.texi:18916
  27580. 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."
  27581. msgstr ""
  27582. #. type: table
  27583. #: guix-git/doc/guix.texi:18919
  27584. msgid "The command @command{internal-sftp} implements an in-process SFTP server. Alternatively, one can specify the @command{sftp-server} command:"
  27585. msgstr ""
  27586. #. type: lisp
  27587. #: guix-git/doc/guix.texi:18924
  27588. #, no-wrap
  27589. msgid ""
  27590. "(service openssh-service-type\n"
  27591. " (openssh-configuration\n"
  27592. " (subsystems\n"
  27593. " `((\"sftp\" ,(file-append openssh \"/libexec/sftp-server\"))))))\n"
  27594. msgstr ""
  27595. #. type: item
  27596. #: guix-git/doc/guix.texi:18926
  27597. #, no-wrap
  27598. msgid "@code{accepted-environment} (default: @code{'()})"
  27599. msgstr ""
  27600. #. type: table
  27601. #: guix-git/doc/guix.texi:18928
  27602. msgid "List of strings describing which environment variables may be exported."
  27603. msgstr ""
  27604. #. type: table
  27605. #: guix-git/doc/guix.texi:18931
  27606. msgid "Each string gets on its own line. See the @code{AcceptEnv} option in @code{man sshd_config}."
  27607. msgstr ""
  27608. #. type: table
  27609. #: guix-git/doc/guix.texi:18936
  27610. 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."
  27611. msgstr ""
  27612. #. type: lisp
  27613. #: guix-git/doc/guix.texi:18941
  27614. #, no-wrap
  27615. msgid ""
  27616. "(service openssh-service-type\n"
  27617. " (openssh-configuration\n"
  27618. " (accepted-environment '(\"COLORTERM\"))))\n"
  27619. msgstr ""
  27620. #. type: item
  27621. #: guix-git/doc/guix.texi:18943
  27622. #, no-wrap
  27623. msgid "@code{authorized-keys} (default: @code{'()})"
  27624. msgstr ""
  27625. #. type: cindex
  27626. #: guix-git/doc/guix.texi:18944
  27627. #, no-wrap
  27628. msgid "authorized keys, SSH"
  27629. msgstr ""
  27630. #. type: cindex
  27631. #: guix-git/doc/guix.texi:18945
  27632. #, no-wrap
  27633. msgid "SSH authorized keys"
  27634. msgstr ""
  27635. #. type: table
  27636. #: guix-git/doc/guix.texi:18949
  27637. 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:"
  27638. msgstr ""
  27639. #. type: lisp
  27640. #: guix-git/doc/guix.texi:18956
  27641. #, no-wrap
  27642. msgid ""
  27643. "(openssh-configuration\n"
  27644. " (authorized-keys\n"
  27645. " `((\"rekado\" ,(local-file \"rekado.pub\"))\n"
  27646. " (\"chris\" ,(local-file \"chris.pub\"))\n"
  27647. " (\"root\" ,(local-file \"rekado.pub\") ,(local-file \"chris.pub\")))))\n"
  27648. msgstr ""
  27649. #. type: table
  27650. #: guix-git/doc/guix.texi:18961
  27651. msgid "registers the specified public keys for user accounts @code{rekado}, @code{chris}, and @code{root}."
  27652. msgstr ""
  27653. #. type: table
  27654. #: guix-git/doc/guix.texi:18964
  27655. msgid "Additional authorized keys can be specified @i{via} @code{service-extension}."
  27656. msgstr ""
  27657. #. type: table
  27658. #: guix-git/doc/guix.texi:18967
  27659. msgid "Note that this does @emph{not} interfere with the use of @file{~/.ssh/authorized_keys}."
  27660. msgstr ""
  27661. #. type: item
  27662. #: guix-git/doc/guix.texi:18968 guix-git/doc/guix.texi:19399
  27663. #, no-wrap
  27664. msgid "@code{log-level} (default: @code{'info})"
  27665. msgstr ""
  27666. #. type: table
  27667. #: guix-git/doc/guix.texi:18972
  27668. 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."
  27669. msgstr ""
  27670. #. type: item
  27671. #: guix-git/doc/guix.texi:18973 guix-git/doc/guix.texi:21848
  27672. #: guix-git/doc/guix.texi:26899
  27673. #, no-wrap
  27674. msgid "@code{extra-content} (default: @code{\"\"})"
  27675. msgstr ""
  27676. #. type: table
  27677. #: guix-git/doc/guix.texi:18978
  27678. 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:"
  27679. msgstr ""
  27680. #. type: lisp
  27681. #: guix-git/doc/guix.texi:18984
  27682. #, no-wrap
  27683. msgid ""
  27684. "(openssh-configuration\n"
  27685. " (extra-content \"\\\n"
  27686. "Match Address 192.168.0.1\n"
  27687. " PermitRootLogin yes\"))\n"
  27688. msgstr ""
  27689. #. type: deffn
  27690. #: guix-git/doc/guix.texi:18989
  27691. #, no-wrap
  27692. msgid "{Scheme Procedure} dropbear-service [@var{config}]"
  27693. msgstr ""
  27694. #. type: deffn
  27695. #: guix-git/doc/guix.texi:18993
  27696. 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."
  27697. msgstr ""
  27698. #. type: deffn
  27699. #: guix-git/doc/guix.texi:18996
  27700. msgid "For example, to specify a Dropbear service listening on port 1234, add this call to the operating system's @code{services} field:"
  27701. msgstr ""
  27702. #. type: lisp
  27703. #: guix-git/doc/guix.texi:19000
  27704. #, no-wrap
  27705. msgid ""
  27706. "(dropbear-service (dropbear-configuration\n"
  27707. " (port-number 1234)))\n"
  27708. msgstr ""
  27709. #. type: deftp
  27710. #: guix-git/doc/guix.texi:19003
  27711. #, no-wrap
  27712. msgid "{Data Type} dropbear-configuration"
  27713. msgstr ""
  27714. #. type: deftp
  27715. #: guix-git/doc/guix.texi:19005
  27716. msgid "This data type represents the configuration of a Dropbear SSH daemon."
  27717. msgstr ""
  27718. #. type: item
  27719. #: guix-git/doc/guix.texi:19007
  27720. #, no-wrap
  27721. msgid "@code{dropbear} (default: @var{dropbear})"
  27722. msgstr ""
  27723. #. type: table
  27724. #: guix-git/doc/guix.texi:19009
  27725. msgid "The Dropbear package to use."
  27726. msgstr ""
  27727. #. type: item
  27728. #: guix-git/doc/guix.texi:19010
  27729. #, no-wrap
  27730. msgid "@code{port-number} (default: 22)"
  27731. msgstr ""
  27732. #. type: table
  27733. #: guix-git/doc/guix.texi:19012
  27734. msgid "The TCP port where the daemon waits for incoming connections."
  27735. msgstr ""
  27736. #. type: item
  27737. #: guix-git/doc/guix.texi:19013
  27738. #, no-wrap
  27739. msgid "@code{syslog-output?} (default: @code{#t})"
  27740. msgstr ""
  27741. #. type: table
  27742. #: guix-git/doc/guix.texi:19015
  27743. msgid "Whether to enable syslog output."
  27744. msgstr ""
  27745. #. type: item
  27746. #: guix-git/doc/guix.texi:19016
  27747. #, no-wrap
  27748. msgid "@code{pid-file} (default: @code{\"/var/run/dropbear.pid\"})"
  27749. msgstr ""
  27750. #. type: table
  27751. #: guix-git/doc/guix.texi:19018
  27752. msgid "File name of the daemon's PID file."
  27753. msgstr ""
  27754. #. type: item
  27755. #: guix-git/doc/guix.texi:19019
  27756. #, no-wrap
  27757. msgid "@code{root-login?} (default: @code{#f})"
  27758. msgstr ""
  27759. #. type: table
  27760. #: guix-git/doc/guix.texi:19021
  27761. msgid "Whether to allow @code{root} logins."
  27762. msgstr ""
  27763. #. type: table
  27764. #: guix-git/doc/guix.texi:19024
  27765. msgid "Whether to allow empty passwords."
  27766. msgstr ""
  27767. #. type: table
  27768. #: guix-git/doc/guix.texi:19027
  27769. msgid "Whether to enable password-based authentication."
  27770. msgstr ""
  27771. #. type: cindex
  27772. #: guix-git/doc/guix.texi:19030
  27773. #, no-wrap
  27774. msgid "AutoSSH"
  27775. msgstr ""
  27776. #. type: deffn
  27777. #: guix-git/doc/guix.texi:19031
  27778. #, no-wrap
  27779. msgid "{Scheme Variable} autossh-service-type"
  27780. msgstr ""
  27781. #. type: deffn
  27782. #: guix-git/doc/guix.texi:19039
  27783. 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."
  27784. msgstr ""
  27785. #. type: deffn
  27786. #: guix-git/doc/guix.texi:19043
  27787. 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."
  27788. msgstr ""
  27789. #. type: deffn
  27790. #: guix-git/doc/guix.texi:19048
  27791. 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:"
  27792. msgstr ""
  27793. #. type: lisp
  27794. #: guix-git/doc/guix.texi:19054
  27795. #, no-wrap
  27796. msgid ""
  27797. "(service autossh-service-type\n"
  27798. " (autossh-configuration\n"
  27799. " (user \"pino\")\n"
  27800. " (ssh-options (list \"-T\" \"-N\" \"-L\" \"8081:localhost:8081\" \"remote.net\"))))\n"
  27801. msgstr ""
  27802. #. type: deftp
  27803. #: guix-git/doc/guix.texi:19057
  27804. #, no-wrap
  27805. msgid "{Data Type} autossh-configuration"
  27806. msgstr ""
  27807. #. type: deftp
  27808. #: guix-git/doc/guix.texi:19059
  27809. msgid "This data type represents the configuration of an AutoSSH service."
  27810. msgstr ""
  27811. #. type: item
  27812. #: guix-git/doc/guix.texi:19062
  27813. #, no-wrap
  27814. msgid "@code{user} (default @code{\"autossh\"})"
  27815. msgstr ""
  27816. #. type: table
  27817. #: guix-git/doc/guix.texi:19065
  27818. msgid "The user as which the AutoSSH service is to be run. This assumes that the specified user exists."
  27819. msgstr ""
  27820. #. type: item
  27821. #: guix-git/doc/guix.texi:19066
  27822. #, no-wrap
  27823. msgid "@code{poll} (default @code{600})"
  27824. msgstr ""
  27825. #. type: table
  27826. #: guix-git/doc/guix.texi:19068
  27827. msgid "Specifies the connection poll time in seconds."
  27828. msgstr ""
  27829. #. type: item
  27830. #: guix-git/doc/guix.texi:19069
  27831. #, no-wrap
  27832. msgid "@code{first-poll} (default @code{#f})"
  27833. msgstr ""
  27834. #. type: table
  27835. #: guix-git/doc/guix.texi:19075
  27836. 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}."
  27837. msgstr ""
  27838. #. type: item
  27839. #: guix-git/doc/guix.texi:19076
  27840. #, no-wrap
  27841. msgid "@code{gate-time} (default @code{30})"
  27842. msgstr ""
  27843. #. type: table
  27844. #: guix-git/doc/guix.texi:19079
  27845. msgid "Specifies how many seconds an SSH connection must be active before it is considered successful."
  27846. msgstr ""
  27847. #. type: item
  27848. #: guix-git/doc/guix.texi:19080
  27849. #, no-wrap
  27850. msgid "@code{log-level} (default @code{1})"
  27851. msgstr ""
  27852. #. type: table
  27853. #: guix-git/doc/guix.texi:19083
  27854. msgid "The log level, corresponding to the levels used by syslog---so @code{0} is the most silent while @code{7} is the chattiest."
  27855. msgstr ""
  27856. #. type: item
  27857. #: guix-git/doc/guix.texi:19084
  27858. #, no-wrap
  27859. msgid "@code{max-start} (default @code{#f})"
  27860. msgstr ""
  27861. #. type: table
  27862. #: guix-git/doc/guix.texi:19087
  27863. 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."
  27864. msgstr ""
  27865. #. type: item
  27866. #: guix-git/doc/guix.texi:19088
  27867. #, no-wrap
  27868. msgid "@code{message} (default @code{\"\"})"
  27869. msgstr ""
  27870. #. type: table
  27871. #: guix-git/doc/guix.texi:19090
  27872. msgid "The message to append to the echo message sent when testing connections."
  27873. msgstr ""
  27874. #. type: item
  27875. #: guix-git/doc/guix.texi:19091
  27876. #, no-wrap
  27877. msgid "@code{port} (default @code{\"0\"})"
  27878. msgstr ""
  27879. #. type: table
  27880. #: guix-git/doc/guix.texi:19101
  27881. 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."
  27882. msgstr ""
  27883. #. type: item
  27884. #: guix-git/doc/guix.texi:19102
  27885. #, no-wrap
  27886. msgid "@code{ssh-options} (default @code{'()})"
  27887. msgstr ""
  27888. #. type: table
  27889. #: guix-git/doc/guix.texi:19106
  27890. 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."
  27891. msgstr ""
  27892. #. type: cindex
  27893. #: guix-git/doc/guix.texi:19110
  27894. #, no-wrap
  27895. msgid "WebSSH"
  27896. msgstr ""
  27897. #. type: deffn
  27898. #: guix-git/doc/guix.texi:19111
  27899. #, no-wrap
  27900. msgid "{Scheme Variable} webssh-service-type"
  27901. msgstr ""
  27902. #. type: deffn
  27903. #: guix-git/doc/guix.texi:19117
  27904. 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."
  27905. msgstr ""
  27906. #. type: deffn
  27907. #: guix-git/doc/guix.texi:19123
  27908. 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:"
  27909. msgstr ""
  27910. #. type: lisp
  27911. #: guix-git/doc/guix.texi:19131
  27912. #, no-wrap
  27913. msgid ""
  27914. "(service webssh-service-type\n"
  27915. " (webssh-configuration (address \"127.0.0.1\")\n"
  27916. " (port 8888)\n"
  27917. " (policy 'reject)\n"
  27918. " (known-hosts '(\"localhost ecdsa-sha2-nistp256 AAAA…\"\n"
  27919. " \"127.0.0.1 ecdsa-sha2-nistp256 AAAA…\"))))\n"
  27920. "\n"
  27921. msgstr ""
  27922. #. type: lisp
  27923. #: guix-git/doc/guix.texi:19147
  27924. #, no-wrap
  27925. msgid ""
  27926. "(service nginx-service-type\n"
  27927. " (nginx-configuration\n"
  27928. " (server-blocks\n"
  27929. " (list\n"
  27930. " (nginx-server-configuration\n"
  27931. " (inherit %webssh-configuration-nginx)\n"
  27932. " (server-name '(\"webssh.example.com\"))\n"
  27933. " (listen '(\"443 ssl\"))\n"
  27934. " (ssl-certificate (letsencrypt-certificate \"webssh.example.com\"))\n"
  27935. " (ssl-certificate-key (letsencrypt-key \"webssh.example.com\"))\n"
  27936. " (locations\n"
  27937. " (cons (nginx-location-configuration\n"
  27938. " (uri \"/.well-known\")\n"
  27939. " (body '(\"root /var/www;\")))\n"
  27940. " (nginx-server-configuration-locations %webssh-configuration-nginx))))))))\n"
  27941. msgstr ""
  27942. #. type: deftp
  27943. #: guix-git/doc/guix.texi:19150
  27944. #, no-wrap
  27945. msgid "{Data Type} webssh-configuration"
  27946. msgstr ""
  27947. #. type: deftp
  27948. #: guix-git/doc/guix.texi:19152
  27949. msgid "Data type representing the configuration for @code{webssh-service}."
  27950. msgstr ""
  27951. #. type: item
  27952. #: guix-git/doc/guix.texi:19154
  27953. #, no-wrap
  27954. msgid "@code{package} (default: @var{webssh})"
  27955. msgstr ""
  27956. #. type: table
  27957. #: guix-git/doc/guix.texi:19156
  27958. msgid "@code{webssh} package to use."
  27959. msgstr ""
  27960. #. type: item
  27961. #: guix-git/doc/guix.texi:19157
  27962. #, no-wrap
  27963. msgid "@code{user-name} (default: @var{\"webssh\"})"
  27964. msgstr ""
  27965. #. type: table
  27966. #: guix-git/doc/guix.texi:19160
  27967. msgid "User name or user ID that file transfers to and from that module should take place."
  27968. msgstr ""
  27969. #. type: item
  27970. #: guix-git/doc/guix.texi:19161
  27971. #, no-wrap
  27972. msgid "@code{group-name} (default: @var{\"webssh\"})"
  27973. msgstr ""
  27974. #. type: item
  27975. #: guix-git/doc/guix.texi:19164
  27976. #, no-wrap
  27977. msgid "@code{address} (default: @var{#f})"
  27978. msgstr ""
  27979. #. type: table
  27980. #: guix-git/doc/guix.texi:19166
  27981. msgid "IP address on which @command{webssh} listens for incoming connections."
  27982. msgstr ""
  27983. #. type: item
  27984. #: guix-git/doc/guix.texi:19167
  27985. #, no-wrap
  27986. msgid "@code{port} (default: @var{8888})"
  27987. msgstr ""
  27988. #. type: table
  27989. #: guix-git/doc/guix.texi:19169
  27990. msgid "TCP port on which @command{webssh} listens for incoming connections."
  27991. msgstr ""
  27992. #. type: item
  27993. #: guix-git/doc/guix.texi:19170
  27994. #, no-wrap
  27995. msgid "@code{policy} (default: @var{#f})"
  27996. msgstr ""
  27997. #. type: table
  27998. #: guix-git/doc/guix.texi:19172
  27999. msgid "Connection policy. @var{reject} policy requires to specify @var{known-hosts}."
  28000. msgstr ""
  28001. #. type: item
  28002. #: guix-git/doc/guix.texi:19173
  28003. #, no-wrap
  28004. msgid "@code{known-hosts} (default: @var{'()})"
  28005. msgstr ""
  28006. #. type: table
  28007. #: guix-git/doc/guix.texi:19175
  28008. msgid "List of hosts which allowed for SSH connection from @command{webssh}."
  28009. msgstr ""
  28010. #. type: item
  28011. #: guix-git/doc/guix.texi:19176
  28012. #, no-wrap
  28013. msgid "@code{log-file} (default: @file{\"/var/log/webssh.log\"})"
  28014. msgstr ""
  28015. #. type: table
  28016. #: guix-git/doc/guix.texi:19178
  28017. msgid "Name of the file where @command{webssh} writes its log file."
  28018. msgstr ""
  28019. #. type: item
  28020. #: guix-git/doc/guix.texi:19179
  28021. #, no-wrap
  28022. msgid "@code{log-level} (default: @var{#f})"
  28023. msgstr ""
  28024. #. type: table
  28025. #: guix-git/doc/guix.texi:19181
  28026. msgid "Logging level."
  28027. msgstr ""
  28028. #. type: defvr
  28029. #: guix-git/doc/guix.texi:19185
  28030. #, no-wrap
  28031. msgid "{Scheme Variable} %facebook-host-aliases"
  28032. msgstr ""
  28033. #. type: defvr
  28034. #: guix-git/doc/guix.texi:19191
  28035. 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}."
  28036. msgstr ""
  28037. #. type: defvr
  28038. #: guix-git/doc/guix.texi:19195
  28039. 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}}):"
  28040. msgstr ""
  28041. #. type: lisp
  28042. #: guix-git/doc/guix.texi:19208
  28043. #, no-wrap
  28044. msgid ""
  28045. "(operating-system\n"
  28046. " (host-name \"mymachine\")\n"
  28047. " ;; ...\n"
  28048. " (hosts-file\n"
  28049. " ;; Create a /etc/hosts file with aliases for \"localhost\"\n"
  28050. " ;; and \"mymachine\", as well as for Facebook servers.\n"
  28051. " (plain-file \"hosts\"\n"
  28052. " (string-append (local-host-aliases host-name)\n"
  28053. " %facebook-host-aliases))))\n"
  28054. msgstr ""
  28055. #. type: defvr
  28056. #: guix-git/doc/guix.texi:19212
  28057. msgid "This mechanism can prevent programs running locally, such as Web browsers, from accessing Facebook."
  28058. msgstr ""
  28059. #. type: Plain text
  28060. #: guix-git/doc/guix.texi:19215
  28061. msgid "The @code{(gnu services avahi)} provides the following definition."
  28062. msgstr ""
  28063. #. type: defvr
  28064. #: guix-git/doc/guix.texi:19216
  28065. #, no-wrap
  28066. msgid "{Scheme Variable} avahi-service-type"
  28067. msgstr ""
  28068. #. type: defvr
  28069. #: guix-git/doc/guix.texi:19221
  28070. 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."
  28071. msgstr ""
  28072. #. type: defvr
  28073. #: guix-git/doc/guix.texi:19226
  28074. 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."
  28075. msgstr ""
  28076. #. type: defvr
  28077. #: guix-git/doc/guix.texi:19229
  28078. msgid "Additionally, add the @var{avahi} package to the system profile so that commands such as @command{avahi-browse} are directly usable."
  28079. msgstr ""
  28080. #. type: deftp
  28081. #: guix-git/doc/guix.texi:19231
  28082. #, no-wrap
  28083. msgid "{Data Type} avahi-configuration"
  28084. msgstr ""
  28085. #. type: deftp
  28086. #: guix-git/doc/guix.texi:19233
  28087. msgid "Data type representation the configuration for Avahi."
  28088. msgstr ""
  28089. #. type: item
  28090. #: guix-git/doc/guix.texi:19236
  28091. #, no-wrap
  28092. msgid "@code{host-name} (default: @code{#f})"
  28093. msgstr ""
  28094. #. type: table
  28095. #: guix-git/doc/guix.texi:19239
  28096. 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."
  28097. msgstr ""
  28098. #. type: item
  28099. #: guix-git/doc/guix.texi:19240 guix-git/doc/guix.texi:29565
  28100. #, no-wrap
  28101. msgid "@code{publish?} (default: @code{#t})"
  28102. msgstr ""
  28103. #. type: table
  28104. #: guix-git/doc/guix.texi:19243
  28105. msgid "When true, allow host names and services to be published (broadcast) over the network."
  28106. msgstr ""
  28107. #. type: item
  28108. #: guix-git/doc/guix.texi:19244
  28109. #, no-wrap
  28110. msgid "@code{publish-workstation?} (default: @code{#t})"
  28111. msgstr ""
  28112. #. type: table
  28113. #: guix-git/doc/guix.texi:19248
  28114. 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:"
  28115. msgstr ""
  28116. #. type: example
  28117. #: guix-git/doc/guix.texi:19251
  28118. #, no-wrap
  28119. msgid "avahi-browse _workstation._tcp\n"
  28120. msgstr ""
  28121. #. type: item
  28122. #: guix-git/doc/guix.texi:19253
  28123. #, no-wrap
  28124. msgid "@code{wide-area?} (default: @code{#f})"
  28125. msgstr ""
  28126. #. type: table
  28127. #: guix-git/doc/guix.texi:19255
  28128. msgid "When true, DNS-SD over unicast DNS is enabled."
  28129. msgstr ""
  28130. #. type: item
  28131. #: guix-git/doc/guix.texi:19256
  28132. #, no-wrap
  28133. msgid "@code{ipv4?} (default: @code{#t})"
  28134. msgstr ""
  28135. #. type: itemx
  28136. #: guix-git/doc/guix.texi:19257
  28137. #, no-wrap
  28138. msgid "@code{ipv6?} (default: @code{#t})"
  28139. msgstr ""
  28140. #. type: table
  28141. #: guix-git/doc/guix.texi:19259
  28142. msgid "These fields determine whether to use IPv4/IPv6 sockets."
  28143. msgstr ""
  28144. #. type: item
  28145. #: guix-git/doc/guix.texi:19260
  28146. #, no-wrap
  28147. msgid "@code{domains-to-browse} (default: @code{'()})"
  28148. msgstr ""
  28149. #. type: table
  28150. #: guix-git/doc/guix.texi:19262
  28151. msgid "This is a list of domains to browse."
  28152. msgstr ""
  28153. #. type: deffn
  28154. #: guix-git/doc/guix.texi:19265
  28155. #, no-wrap
  28156. msgid "{Scheme Variable} openvswitch-service-type"
  28157. msgstr ""
  28158. #. type: deffn
  28159. #: guix-git/doc/guix.texi:19269
  28160. msgid "This is the type of the @uref{https://www.openvswitch.org, Open vSwitch} service, whose value should be an @code{openvswitch-configuration} object."
  28161. msgstr ""
  28162. #. type: deftp
  28163. #: guix-git/doc/guix.texi:19271
  28164. #, no-wrap
  28165. msgid "{Data Type} openvswitch-configuration"
  28166. msgstr ""
  28167. #. type: deftp
  28168. #: guix-git/doc/guix.texi:19275
  28169. msgid "Data type representing the configuration of Open vSwitch, a multilayer virtual switch which is designed to enable massive network automation through programmatic extension."
  28170. msgstr ""
  28171. #. type: item
  28172. #: guix-git/doc/guix.texi:19277
  28173. #, no-wrap
  28174. msgid "@code{package} (default: @var{openvswitch})"
  28175. msgstr ""
  28176. #. type: table
  28177. #: guix-git/doc/guix.texi:19279
  28178. msgid "Package object of the Open vSwitch."
  28179. msgstr ""
  28180. #. type: defvr
  28181. #: guix-git/doc/guix.texi:19283
  28182. #, no-wrap
  28183. msgid "{Scheme Variable} pagekite-service-type"
  28184. msgstr ""
  28185. #. type: defvr
  28186. #: guix-git/doc/guix.texi:19288
  28187. 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."
  28188. msgstr ""
  28189. #. type: defvr
  28190. #: guix-git/doc/guix.texi:19290
  28191. msgid "Here's an example exposing the local HTTP and SSH daemons:"
  28192. msgstr ""
  28193. #. type: lisp
  28194. #: guix-git/doc/guix.texi:19297
  28195. #, no-wrap
  28196. msgid ""
  28197. "(service pagekite-service-type\n"
  28198. " (pagekite-configuration\n"
  28199. " (kites '(\"http:@@kitename:localhost:80:@@kitesecret\"\n"
  28200. " \"raw/22:@@kitename:localhost:22:@@kitesecret\"))\n"
  28201. " (extra-file \"/etc/pagekite.rc\")))\n"
  28202. msgstr ""
  28203. #. type: deftp
  28204. #: guix-git/doc/guix.texi:19300
  28205. #, no-wrap
  28206. msgid "{Data Type} pagekite-configuration"
  28207. msgstr ""
  28208. #. type: deftp
  28209. #: guix-git/doc/guix.texi:19302
  28210. msgid "Data type representing the configuration of PageKite."
  28211. msgstr ""
  28212. #. type: item
  28213. #: guix-git/doc/guix.texi:19304
  28214. #, no-wrap
  28215. msgid "@code{package} (default: @var{pagekite})"
  28216. msgstr ""
  28217. #. type: table
  28218. #: guix-git/doc/guix.texi:19306
  28219. msgid "Package object of PageKite."
  28220. msgstr ""
  28221. #. type: item
  28222. #: guix-git/doc/guix.texi:19307
  28223. #, no-wrap
  28224. msgid "@code{kitename} (default: @code{#f})"
  28225. msgstr ""
  28226. #. type: table
  28227. #: guix-git/doc/guix.texi:19309
  28228. msgid "PageKite name for authenticating to the frontend server."
  28229. msgstr ""
  28230. #. type: item
  28231. #: guix-git/doc/guix.texi:19310
  28232. #, no-wrap
  28233. msgid "@code{kitesecret} (default: @code{#f})"
  28234. msgstr ""
  28235. #. type: table
  28236. #: guix-git/doc/guix.texi:19313
  28237. msgid "Shared secret for authenticating to the frontend server. You should probably put this inside @code{extra-file} instead."
  28238. msgstr ""
  28239. #. type: item
  28240. #: guix-git/doc/guix.texi:19314
  28241. #, no-wrap
  28242. msgid "@code{frontend} (default: @code{#f})"
  28243. msgstr ""
  28244. #. type: table
  28245. #: guix-git/doc/guix.texi:19317
  28246. msgid "Connect to the named PageKite frontend server instead of the @uref{https://pagekite.net,,pagekite.net} service."
  28247. msgstr ""
  28248. #. type: item
  28249. #: guix-git/doc/guix.texi:19318
  28250. #, no-wrap
  28251. msgid "@code{kites} (default: @code{'(\"http:@@kitename:localhost:80:@@kitesecret\")})"
  28252. msgstr ""
  28253. #. type: table
  28254. #: guix-git/doc/guix.texi:19321
  28255. msgid "List of service kites to use. Exposes HTTP on port 80 by default. The format is @code{proto:kitename:host:port:secret}."
  28256. msgstr ""
  28257. #. type: item
  28258. #: guix-git/doc/guix.texi:19322
  28259. #, no-wrap
  28260. msgid "@code{extra-file} (default: @code{#f})"
  28261. msgstr ""
  28262. #. type: table
  28263. #: guix-git/doc/guix.texi:19325
  28264. 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."
  28265. msgstr ""
  28266. #. type: defvr
  28267. #: guix-git/doc/guix.texi:19329
  28268. #, no-wrap
  28269. msgid "{Scheme Variable} yggdrasil-service-type"
  28270. msgstr ""
  28271. #. type: defvr
  28272. #: guix-git/doc/guix.texi:19333
  28273. 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."
  28274. msgstr ""
  28275. #. type: quotation
  28276. #: guix-git/doc/guix.texi:19340
  28277. 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}"
  28278. msgstr ""
  28279. #. type: defvr
  28280. #: guix-git/doc/guix.texi:19344
  28281. msgid "Pass it a value of @code{yggdrasil-configuration} to connect it to public peers and/or local peers."
  28282. msgstr ""
  28283. #. type: defvr
  28284. #: guix-git/doc/guix.texi:19348
  28285. 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})."
  28286. msgstr ""
  28287. #. type: lisp
  28288. #: guix-git/doc/guix.texi:19360
  28289. #, no-wrap
  28290. msgid ""
  28291. ";; part of the operating-system declaration\n"
  28292. "(service yggdrasil-service-type\n"
  28293. " (yggdrasil-configuration\n"
  28294. " (autoconf? #f) ;; use only the public peers\n"
  28295. " (json-config\n"
  28296. " ;; choose one from\n"
  28297. " ;; https://github.com/yggdrasil-network/public-peers\n"
  28298. " '((peers . #(\"tcp://1.2.3.4:1337\"))))\n"
  28299. " ;; /etc/yggdrasil-private.conf is the default value for config-file\n"
  28300. " ))\n"
  28301. msgstr ""
  28302. #. type: example
  28303. #: guix-git/doc/guix.texi:19367
  28304. #, no-wrap
  28305. msgid ""
  28306. "# sample content for /etc/yggdrasil-private.conf\n"
  28307. "@{\n"
  28308. " # Your public encryption key. Your peers may ask you for this to put\n"
  28309. " # into their AllowedEncryptionPublicKeys configuration.\n"
  28310. " EncryptionPublicKey: 378dc5...\n"
  28311. "\n"
  28312. msgstr ""
  28313. #. type: example
  28314. #: guix-git/doc/guix.texi:19370
  28315. #, no-wrap
  28316. msgid ""
  28317. " # Your private encryption key. DO NOT share this with anyone!\n"
  28318. " EncryptionPrivateKey: 0777...\n"
  28319. "\n"
  28320. msgstr ""
  28321. #. type: example
  28322. #: guix-git/doc/guix.texi:19374
  28323. #, no-wrap
  28324. msgid ""
  28325. " # Your public signing key. You should not ordinarily need to share\n"
  28326. " # this with anyone.\n"
  28327. " SigningPublicKey: e1664...\n"
  28328. "\n"
  28329. msgstr ""
  28330. #. type: example
  28331. #: guix-git/doc/guix.texi:19378
  28332. #, no-wrap
  28333. msgid ""
  28334. " # Your private signing key. DO NOT share this with anyone!\n"
  28335. " SigningPrivateKey: 0589d...\n"
  28336. "@}\n"
  28337. msgstr ""
  28338. #. type: deftp
  28339. #: guix-git/doc/guix.texi:19381
  28340. #, no-wrap
  28341. msgid "{Data Type} yggdrasil-configuration"
  28342. msgstr ""
  28343. #. type: deftp
  28344. #: guix-git/doc/guix.texi:19383
  28345. msgid "Data type representing the configuration of Yggdrasil."
  28346. msgstr ""
  28347. #. type: item
  28348. #: guix-git/doc/guix.texi:19385
  28349. #, no-wrap
  28350. msgid "@code{package} (default: @code{yggdrasil})"
  28351. msgstr ""
  28352. #. type: table
  28353. #: guix-git/doc/guix.texi:19387
  28354. msgid "Package object of Yggdrasil."
  28355. msgstr ""
  28356. #. type: item
  28357. #: guix-git/doc/guix.texi:19388
  28358. #, no-wrap
  28359. msgid "@code{json-config} (default: @code{'()})"
  28360. msgstr ""
  28361. #. type: table
  28362. #: guix-git/doc/guix.texi:19394
  28363. 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."
  28364. msgstr ""
  28365. #. type: item
  28366. #: guix-git/doc/guix.texi:19395
  28367. #, no-wrap
  28368. msgid "@code{autoconf?} (default: @code{#f})"
  28369. msgstr ""
  28370. #. type: table
  28371. #: guix-git/doc/guix.texi:19398
  28372. msgid "Whether to use automatic mode. Enabling it makes Yggdrasil use adynamic IP and peer with IPv6 neighbors."
  28373. msgstr ""
  28374. #. type: table
  28375. #: guix-git/doc/guix.texi:19401
  28376. msgid "How much detail to include in logs. Use @code{'debug} for more detail."
  28377. msgstr ""
  28378. #. type: item
  28379. #: guix-git/doc/guix.texi:19402
  28380. #, no-wrap
  28381. msgid "@code{log-to} (default: @code{'stdout})"
  28382. msgstr ""
  28383. #. type: table
  28384. #: guix-git/doc/guix.texi:19406
  28385. 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."
  28386. msgstr ""
  28387. #. type: item
  28388. #: guix-git/doc/guix.texi:19407
  28389. #, no-wrap
  28390. msgid "@code{config-file} (default: @code{\"/etc/yggdrasil-private.conf\"})"
  28391. msgstr ""
  28392. #. type: table
  28393. #: guix-git/doc/guix.texi:19414
  28394. 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:"
  28395. msgstr ""
  28396. #. type: code{#1}
  28397. #: guix-git/doc/guix.texi:19416
  28398. #, no-wrap
  28399. msgid "EncryptionPublicKey"
  28400. msgstr ""
  28401. #. type: code{#1}
  28402. #: guix-git/doc/guix.texi:19417
  28403. #, no-wrap
  28404. msgid "EncryptionPrivateKey"
  28405. msgstr ""
  28406. #. type: code{#1}
  28407. #: guix-git/doc/guix.texi:19418
  28408. #, no-wrap
  28409. msgid "SigningPublicKey"
  28410. msgstr ""
  28411. #. type: code{#1}
  28412. #: guix-git/doc/guix.texi:19419
  28413. #, no-wrap
  28414. msgid "SigningPrivateKey"
  28415. msgstr ""
  28416. #. type: cindex
  28417. #: guix-git/doc/guix.texi:19424
  28418. #, no-wrap
  28419. msgid "IPFS"
  28420. msgstr ""
  28421. #. type: defvr
  28422. #: guix-git/doc/guix.texi:19425
  28423. #, no-wrap
  28424. msgid "{Scheme Variable} ipfs-service-type"
  28425. msgstr ""
  28426. #. type: defvr
  28427. #: guix-git/doc/guix.texi:19429
  28428. 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."
  28429. msgstr ""
  28430. #. type: defvr
  28431. #: guix-git/doc/guix.texi:19431
  28432. msgid "Here's an example configuration, using some non-standard ports:"
  28433. msgstr ""
  28434. #. type: lisp
  28435. #: guix-git/doc/guix.texi:19437
  28436. #, no-wrap
  28437. msgid ""
  28438. "(service ipfs-service-type\n"
  28439. " (ipfs-configuration\n"
  28440. " (gateway \"/ip4/127.0.0.1/tcp/8880\")\n"
  28441. " (api \"/ip4/127.0.0.1/tcp/8881\")))\n"
  28442. msgstr ""
  28443. #. type: deftp
  28444. #: guix-git/doc/guix.texi:19440
  28445. #, no-wrap
  28446. msgid "{Data Type} ipfs-configuration"
  28447. msgstr ""
  28448. #. type: deftp
  28449. #: guix-git/doc/guix.texi:19442
  28450. msgid "Data type representing the configuration of IPFS."
  28451. msgstr ""
  28452. #. type: item
  28453. #: guix-git/doc/guix.texi:19444
  28454. #, no-wrap
  28455. msgid "@code{package} (default: @code{go-ipfs})"
  28456. msgstr ""
  28457. #. type: table
  28458. #: guix-git/doc/guix.texi:19446
  28459. msgid "Package object of IPFS."
  28460. msgstr ""
  28461. #. type: item
  28462. #: guix-git/doc/guix.texi:19447
  28463. #, no-wrap
  28464. msgid "@code{gateway} (default: @code{\"/ip4/127.0.0.1/tcp/8082\"})"
  28465. msgstr ""
  28466. #. type: table
  28467. #: guix-git/doc/guix.texi:19449
  28468. msgid "Address of the gateway, in ‘multiaddress’ format."
  28469. msgstr ""
  28470. #. type: item
  28471. #: guix-git/doc/guix.texi:19450
  28472. #, no-wrap
  28473. msgid "@code{api} (default: @code{\"/ip4/127.0.0.1/tcp/5001\"})"
  28474. msgstr ""
  28475. #. type: table
  28476. #: guix-git/doc/guix.texi:19452
  28477. msgid "Address of the API endpoint, in ‘multiaddress’ format."
  28478. msgstr ""
  28479. #. type: cindex
  28480. #: guix-git/doc/guix.texi:19455
  28481. #, no-wrap
  28482. msgid "keepalived"
  28483. msgstr ""
  28484. #. type: deffn
  28485. #: guix-git/doc/guix.texi:19456
  28486. #, no-wrap
  28487. msgid "{Scheme Variable} keepalived-service-type"
  28488. msgstr ""
  28489. #. type: deffn
  28490. #: guix-git/doc/guix.texi:19461
  28491. 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:"
  28492. msgstr ""
  28493. #. type: lisp
  28494. #: guix-git/doc/guix.texi:19466
  28495. #, no-wrap
  28496. msgid ""
  28497. "(service keepalived-service-type\n"
  28498. " (keepalived-configuration\n"
  28499. " (config-file (local-file \"keepalived-master.conf\"))))\n"
  28500. msgstr ""
  28501. #. type: deffn
  28502. #: guix-git/doc/guix.texi:19469
  28503. msgid "where @file{keepalived-master.conf}:"
  28504. msgstr ""
  28505. #. type: example
  28506. #: guix-git/doc/guix.texi:19481
  28507. #, no-wrap
  28508. msgid ""
  28509. "vrrp_instance my-group @{\n"
  28510. " state MASTER\n"
  28511. " interface enp9s0\n"
  28512. " virtual_router_id 100\n"
  28513. " priority 100\n"
  28514. " unicast_peer @{ 10.0.0.2 @}\n"
  28515. " virtual_ipaddress @{\n"
  28516. " 10.0.0.4/24\n"
  28517. " @}\n"
  28518. "@}\n"
  28519. msgstr ""
  28520. #. type: deffn
  28521. #: guix-git/doc/guix.texi:19484
  28522. msgid "and for backup machine:"
  28523. msgstr ""
  28524. #. type: lisp
  28525. #: guix-git/doc/guix.texi:19489
  28526. #, no-wrap
  28527. msgid ""
  28528. "(service keepalived-service-type\n"
  28529. " (keepalived-configuration\n"
  28530. " (config-file (local-file \"keepalived-backup.conf\"))))\n"
  28531. msgstr ""
  28532. #. type: deffn
  28533. #: guix-git/doc/guix.texi:19492
  28534. msgid "where @file{keepalived-backup.conf}:"
  28535. msgstr ""
  28536. #. type: example
  28537. #: guix-git/doc/guix.texi:19504
  28538. #, no-wrap
  28539. msgid ""
  28540. "vrrp_instance my-group @{\n"
  28541. " state BACKUP\n"
  28542. " interface enp9s0\n"
  28543. " virtual_router_id 100\n"
  28544. " priority 99\n"
  28545. " unicast_peer @{ 10.0.0.3 @}\n"
  28546. " virtual_ipaddress @{\n"
  28547. " 10.0.0.4/24\n"
  28548. " @}\n"
  28549. "@}\n"
  28550. msgstr ""
  28551. #. type: cindex
  28552. #: guix-git/doc/guix.texi:19510
  28553. #, no-wrap
  28554. msgid "unattended upgrades"
  28555. msgstr ""
  28556. #. type: cindex
  28557. #: guix-git/doc/guix.texi:19511
  28558. #, no-wrap
  28559. msgid "upgrades, unattended"
  28560. msgstr ""
  28561. #. type: Plain text
  28562. #: guix-git/doc/guix.texi:19516
  28563. 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:"
  28564. msgstr ""
  28565. #. type: itemize
  28566. #: guix-git/doc/guix.texi:19521
  28567. msgid "upgrades are transactional (either the upgrade succeeds or it fails, but you cannot end up with an ``in-between'' system state);"
  28568. msgstr ""
  28569. #. type: itemize
  28570. #: guix-git/doc/guix.texi:19525
  28571. 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;"
  28572. msgstr ""
  28573. #. type: itemize
  28574. #: guix-git/doc/guix.texi:19528
  28575. msgid "channel code is authenticated so you know you can only run genuine code (@pxref{Channels});"
  28576. msgstr ""
  28577. #. type: itemize
  28578. #: guix-git/doc/guix.texi:19531
  28579. msgid "@command{guix system reconfigure} prevents downgrades, which makes it immune to @dfn{downgrade attacks}."
  28580. msgstr ""
  28581. #. type: Plain text
  28582. #: guix-git/doc/guix.texi:19536
  28583. 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:"
  28584. msgstr ""
  28585. #. type: lisp
  28586. #: guix-git/doc/guix.texi:19539
  28587. #, no-wrap
  28588. msgid "(service unattended-upgrade-service-type)\n"
  28589. msgstr ""
  28590. #. type: Plain text
  28591. #: guix-git/doc/guix.texi:19546
  28592. 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."
  28593. msgstr ""
  28594. #. type: Plain text
  28595. #: guix-git/doc/guix.texi:19552
  28596. 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."
  28597. msgstr ""
  28598. #. type: Plain text
  28599. #: guix-git/doc/guix.texi:19556
  28600. 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)."
  28601. msgstr ""
  28602. #. type: defvr
  28603. #: guix-git/doc/guix.texi:19557
  28604. #, no-wrap
  28605. msgid "{Scheme Variable} unattended-upgrade-service-type"
  28606. msgstr ""
  28607. #. type: defvr
  28608. #: guix-git/doc/guix.texi:19561
  28609. 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."
  28610. msgstr ""
  28611. #. type: defvr
  28612. #: guix-git/doc/guix.texi:19564
  28613. msgid "Its value must be a @code{unattended-upgrade-configuration} record (see below)."
  28614. msgstr ""
  28615. #. type: deftp
  28616. #: guix-git/doc/guix.texi:19566
  28617. #, no-wrap
  28618. msgid "{Data Type} unattended-upgrade-configuration"
  28619. msgstr ""
  28620. #. type: deftp
  28621. #: guix-git/doc/guix.texi:19569
  28622. msgid "This data type represents the configuration of the unattended upgrade service. The following fields are available:"
  28623. msgstr ""
  28624. #. type: item
  28625. #: guix-git/doc/guix.texi:19571
  28626. #, no-wrap
  28627. msgid "@code{schedule} (default: @code{\"30 01 * * 0\"})"
  28628. msgstr ""
  28629. #. type: table
  28630. #: guix-git/doc/guix.texi:19575
  28631. 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})."
  28632. msgstr ""
  28633. #. type: item
  28634. #: guix-git/doc/guix.texi:19576
  28635. #, no-wrap
  28636. msgid "@code{channels} (default: @code{#~%default-channels})"
  28637. msgstr ""
  28638. #. type: table
  28639. #: guix-git/doc/guix.texi:19580
  28640. 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."
  28641. msgstr ""
  28642. #. type: item
  28643. #: guix-git/doc/guix.texi:19581
  28644. #, no-wrap
  28645. msgid "@code{operating-system-file} (default: @code{\"/run/current-system/configuration.scm\"})"
  28646. msgstr ""
  28647. #. type: table
  28648. #: guix-git/doc/guix.texi:19584
  28649. msgid "This field specifies the operating system configuration file to use. The default is to reuse the config file of the current configuration."
  28650. msgstr ""
  28651. #. type: table
  28652. #: guix-git/doc/guix.texi:19590
  28653. 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:"
  28654. msgstr ""
  28655. #. type: lisp
  28656. #: guix-git/doc/guix.texi:19596
  28657. #, no-wrap
  28658. msgid ""
  28659. "(unattended-upgrade-configuration\n"
  28660. " (operating-system-file\n"
  28661. " (file-append (local-file \".\" \"config-dir\" #:recursive? #t)\n"
  28662. " \"/config.scm\")))\n"
  28663. msgstr ""
  28664. #. type: table
  28665. #: guix-git/doc/guix.texi:19603
  28666. 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}."
  28667. msgstr ""
  28668. #. type: item
  28669. #: guix-git/doc/guix.texi:19604
  28670. #, no-wrap
  28671. msgid "@code{services-to-restart} (default: @code{'(mcron)})"
  28672. msgstr ""
  28673. #. type: table
  28674. #: guix-git/doc/guix.texi:19607
  28675. msgid "This field specifies the Shepherd services to restart when the upgrade completes."
  28676. msgstr ""
  28677. #. type: table
  28678. #: guix-git/doc/guix.texi:19614
  28679. 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."
  28680. msgstr ""
  28681. #. type: table
  28682. #: guix-git/doc/guix.texi:19618
  28683. 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}."
  28684. msgstr ""
  28685. #. type: table
  28686. #: guix-git/doc/guix.texi:19621
  28687. 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."
  28688. msgstr ""
  28689. #. type: item
  28690. #: guix-git/doc/guix.texi:19622
  28691. #, no-wrap
  28692. msgid "@code{system-expiration} (default: @code{(* 3 30 24 3600)})"
  28693. msgstr ""
  28694. #. type: table
  28695. #: guix-git/doc/guix.texi:19626
  28696. 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."
  28697. msgstr ""
  28698. #. type: quotation
  28699. #: guix-git/doc/guix.texi:19631
  28700. 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."
  28701. msgstr ""
  28702. #. type: item
  28703. #: guix-git/doc/guix.texi:19633
  28704. #, no-wrap
  28705. msgid "@code{maximum-duration} (default: @code{3600})"
  28706. msgstr ""
  28707. #. type: table
  28708. #: guix-git/doc/guix.texi:19636
  28709. msgid "Maximum duration in seconds for the upgrade; past that time, the upgrade aborts."
  28710. msgstr ""
  28711. #. type: table
  28712. #: guix-git/doc/guix.texi:19639
  28713. msgid "This is primarily useful to ensure the upgrade does not end up rebuilding or re-downloading ``the world''."
  28714. msgstr ""
  28715. #. type: item
  28716. #: guix-git/doc/guix.texi:19640
  28717. #, no-wrap
  28718. msgid "@code{log-file} (default: @code{\"/var/log/unattended-upgrade.log\"})"
  28719. msgstr ""
  28720. #. type: table
  28721. #: guix-git/doc/guix.texi:19642
  28722. msgid "File where unattended upgrades are logged."
  28723. msgstr ""
  28724. #. type: cindex
  28725. #: guix-git/doc/guix.texi:19648
  28726. #, no-wrap
  28727. msgid "X11"
  28728. msgstr ""
  28729. #. type: cindex
  28730. #: guix-git/doc/guix.texi:19649
  28731. #, no-wrap
  28732. msgid "X Window System"
  28733. msgstr "X-ikkunointijärjestelmä"
  28734. #. type: cindex
  28735. #: guix-git/doc/guix.texi:19650 guix-git/doc/guix.texi:19923
  28736. #, no-wrap
  28737. msgid "login manager"
  28738. msgstr ""
  28739. #. type: Plain text
  28740. #: guix-git/doc/guix.texi:19655
  28741. 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)."
  28742. msgstr ""
  28743. #. type: cindex
  28744. #: guix-git/doc/guix.texi:19656
  28745. #, no-wrap
  28746. msgid "GDM"
  28747. msgstr ""
  28748. #. type: cindex
  28749. #: guix-git/doc/guix.texi:19657
  28750. #, no-wrap
  28751. msgid "GNOME, login manager"
  28752. msgstr ""
  28753. #. type: Plain text
  28754. #: guix-git/doc/guix.texi:19661
  28755. 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."
  28756. msgstr ""
  28757. #. type: cindex
  28758. #: guix-git/doc/guix.texi:19662
  28759. #, no-wrap
  28760. msgid "window manager"
  28761. msgstr "Ikkunahallitsija"
  28762. #. type: Plain text
  28763. #: guix-git/doc/guix.texi:19667
  28764. 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})."
  28765. msgstr ""
  28766. #. type: anchor{#1}
  28767. #: guix-git/doc/guix.texi:19673
  28768. msgid "wayland-gdm"
  28769. msgstr ""
  28770. #. type: Plain text
  28771. #: guix-git/doc/guix.texi:19673
  28772. msgid "GDM also supports Wayland: it can itself use Wayland instead of X11 for its user interface, and it can also start Wayland sessions. The former is required for the latter, to enable, set @code{wayland?} to @code{#t} in @code{gdm-configuration}."
  28773. msgstr ""
  28774. #. type: defvr
  28775. #: guix-git/doc/guix.texi:19674
  28776. #, no-wrap
  28777. msgid "{Scheme Variable} gdm-service-type"
  28778. msgstr ""
  28779. #. type: defvr
  28780. #: guix-git/doc/guix.texi:19679
  28781. 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)."
  28782. msgstr ""
  28783. #. type: cindex
  28784. #: guix-git/doc/guix.texi:19680
  28785. #, no-wrap
  28786. msgid "session types"
  28787. msgstr ""
  28788. #. type: defvr
  28789. #: guix-git/doc/guix.texi:19688
  28790. msgid "GDM looks for @dfn{session types} described by the @file{.desktop} files in @file{/run/current-system/profile/share/xsessions} (for X11 sessions) and @file{/run/current-system/profile/share/wayland-sessions} (for Wayland sessions) and allows users to choose a session from the log-in screen. Packages such as @code{gnome}, @code{xfce}, @code{i3} and @code{sway} provide @file{.desktop} files; adding them to the system-wide set of packages automatically makes them available at the log-in screen."
  28791. msgstr ""
  28792. #. type: defvr
  28793. #: guix-git/doc/guix.texi:19692
  28794. 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."
  28795. msgstr ""
  28796. #. type: deftp
  28797. #: guix-git/doc/guix.texi:19694
  28798. #, no-wrap
  28799. msgid "{Data Type} gdm-configuration"
  28800. msgstr ""
  28801. #. type: item
  28802. #: guix-git/doc/guix.texi:19696 guix-git/doc/guix.texi:19778
  28803. #, no-wrap
  28804. msgid "@code{auto-login?} (default: @code{#f})"
  28805. msgstr ""
  28806. #. type: itemx
  28807. #: guix-git/doc/guix.texi:19697
  28808. #, no-wrap
  28809. msgid "@code{default-user} (default: @code{#f})"
  28810. msgstr ""
  28811. #. type: table
  28812. #: guix-git/doc/guix.texi:19699
  28813. msgid "When @code{auto-login?} is false, GDM presents a log-in screen."
  28814. msgstr ""
  28815. #. type: table
  28816. #: guix-git/doc/guix.texi:19702
  28817. msgid "When @code{auto-login?} is true, GDM logs in directly as @code{default-user}."
  28818. msgstr ""
  28819. #. type: item
  28820. #: guix-git/doc/guix.texi:19703 guix-git/doc/guix.texi:25597
  28821. #: guix-git/doc/guix.texi:27217 guix-git/doc/guix.texi:31731
  28822. #: guix-git/doc/guix.texi:31760 guix-git/doc/guix.texi:31789
  28823. #: guix-git/doc/guix.texi:31816 guix-git/doc/guix.texi:31871
  28824. #: guix-git/doc/guix.texi:31896 guix-git/doc/guix.texi:31923
  28825. #: guix-git/doc/guix.texi:31949 guix-git/doc/guix.texi:31991
  28826. #, no-wrap
  28827. msgid "@code{debug?} (default: @code{#f})"
  28828. msgstr ""
  28829. #. type: table
  28830. #: guix-git/doc/guix.texi:19705
  28831. msgid "When true, GDM writes debug messages to its log."
  28832. msgstr ""
  28833. #. type: item
  28834. #: guix-git/doc/guix.texi:19706
  28835. #, no-wrap
  28836. msgid "@code{gnome-shell-assets} (default: ...)"
  28837. msgstr ""
  28838. #. type: table
  28839. #: guix-git/doc/guix.texi:19708
  28840. msgid "List of GNOME Shell assets needed by GDM: icon theme, fonts, etc."
  28841. msgstr ""
  28842. #. type: item
  28843. #: guix-git/doc/guix.texi:19709
  28844. #, no-wrap
  28845. msgid "@code{xorg-configuration} (default: @code{(xorg-configuration)})"
  28846. msgstr ""
  28847. #. type: table
  28848. #: guix-git/doc/guix.texi:19711 guix-git/doc/guix.texi:19805
  28849. #: guix-git/doc/guix.texi:19889
  28850. msgid "Configuration of the Xorg graphical server."
  28851. msgstr ""
  28852. #. type: item
  28853. #: guix-git/doc/guix.texi:19712
  28854. #, no-wrap
  28855. msgid "@code{xsession} (default: @code{(xinitrc)})"
  28856. msgstr ""
  28857. #. type: table
  28858. #: guix-git/doc/guix.texi:19714 guix-git/doc/guix.texi:19904
  28859. msgid "Script to run before starting a X session."
  28860. msgstr ""
  28861. #. type: item
  28862. #: guix-git/doc/guix.texi:19715
  28863. #, no-wrap
  28864. msgid "@code{dbus-daemon} (default: @code{dbus-daemon-wrapper})"
  28865. msgstr ""
  28866. #. type: table
  28867. #: guix-git/doc/guix.texi:19717
  28868. msgid "File name of the @code{dbus-daemon} executable."
  28869. msgstr ""
  28870. #. type: item
  28871. #: guix-git/doc/guix.texi:19718
  28872. #, no-wrap
  28873. msgid "@code{gdm} (default: @code{gdm})"
  28874. msgstr ""
  28875. #. type: table
  28876. #: guix-git/doc/guix.texi:19720
  28877. msgid "The GDM package to use."
  28878. msgstr ""
  28879. #. type: item
  28880. #: guix-git/doc/guix.texi:19721
  28881. #, no-wrap
  28882. msgid "@code{wayland?} (default: @code{#f})"
  28883. msgstr ""
  28884. #. type: table
  28885. #: guix-git/doc/guix.texi:19723
  28886. msgid "When true, enables Wayland in GDM, necessary to use Wayland sessions."
  28887. msgstr ""
  28888. #. type: item
  28889. #: guix-git/doc/guix.texi:19724
  28890. #, no-wrap
  28891. msgid "@code{wayland-session} (default: @code{gdm-wayland-session-wrapper})"
  28892. msgstr ""
  28893. #. type: table
  28894. #: guix-git/doc/guix.texi:19727
  28895. msgid "The Wayland session wrapper to use, needed to setup the environment."
  28896. msgstr ""
  28897. #. type: defvr
  28898. #: guix-git/doc/guix.texi:19730
  28899. #, no-wrap
  28900. msgid "{Scheme Variable} slim-service-type"
  28901. msgstr ""
  28902. #. type: defvr
  28903. #: guix-git/doc/guix.texi:19732
  28904. msgid "This is the type for the SLiM graphical login manager for X11."
  28905. msgstr ""
  28906. #. type: defvr
  28907. #: guix-git/doc/guix.texi:19736
  28908. 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."
  28909. msgstr ""
  28910. #. type: defvr
  28911. #: guix-git/doc/guix.texi:19743
  28912. 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."
  28913. msgstr ""
  28914. #. type: lisp
  28915. #: guix-git/doc/guix.texi:19748
  28916. #, no-wrap
  28917. msgid ""
  28918. "(use-modules (gnu services)\n"
  28919. " (gnu services desktop)\n"
  28920. " (gnu services xorg))\n"
  28921. "\n"
  28922. msgstr ""
  28923. #. type: lisp
  28924. #: guix-git/doc/guix.texi:19759
  28925. #, no-wrap
  28926. msgid ""
  28927. "(operating-system\n"
  28928. " ;; ...\n"
  28929. " (services (cons* (service slim-service-type (slim-configuration\n"
  28930. " (display \":0\")\n"
  28931. " (vt \"vt7\")))\n"
  28932. " (service slim-service-type (slim-configuration\n"
  28933. " (display \":1\")\n"
  28934. " (vt \"vt8\")))\n"
  28935. " (modify-services %desktop-services\n"
  28936. " (delete gdm-service-type)))))\n"
  28937. msgstr ""
  28938. #. type: deftp
  28939. #: guix-git/doc/guix.texi:19763
  28940. #, no-wrap
  28941. msgid "{Data Type} slim-configuration"
  28942. msgstr ""
  28943. #. type: deftp
  28944. #: guix-git/doc/guix.texi:19765
  28945. msgid "Data type representing the configuration of @code{slim-service-type}."
  28946. msgstr ""
  28947. #. type: table
  28948. #: guix-git/doc/guix.texi:19769
  28949. msgid "Whether to allow logins with empty passwords."
  28950. msgstr ""
  28951. #. type: item
  28952. #: guix-git/doc/guix.texi:19770
  28953. #, no-wrap
  28954. msgid "@code{gnupg?} (default: @code{#f})"
  28955. msgstr ""
  28956. #. type: table
  28957. #: guix-git/doc/guix.texi:19777
  28958. 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}."
  28959. msgstr ""
  28960. #. type: itemx
  28961. #: guix-git/doc/guix.texi:19779
  28962. #, no-wrap
  28963. msgid "@code{default-user} (default: @code{\"\"})"
  28964. msgstr ""
  28965. #. type: table
  28966. #: guix-git/doc/guix.texi:19781
  28967. msgid "When @code{auto-login?} is false, SLiM presents a log-in screen."
  28968. msgstr ""
  28969. #. type: table
  28970. #: guix-git/doc/guix.texi:19784
  28971. msgid "When @code{auto-login?} is true, SLiM logs in directly as @code{default-user}."
  28972. msgstr ""
  28973. #. type: item
  28974. #: guix-git/doc/guix.texi:19785
  28975. #, no-wrap
  28976. msgid "@code{theme} (default: @code{%default-slim-theme})"
  28977. msgstr ""
  28978. #. type: itemx
  28979. #: guix-git/doc/guix.texi:19786
  28980. #, no-wrap
  28981. msgid "@code{theme-name} (default: @code{%default-slim-theme-name})"
  28982. msgstr ""
  28983. #. type: table
  28984. #: guix-git/doc/guix.texi:19788
  28985. msgid "The graphical theme to use and its name."
  28986. msgstr ""
  28987. #. type: item
  28988. #: guix-git/doc/guix.texi:19789
  28989. #, no-wrap
  28990. msgid "@code{auto-login-session} (default: @code{#f})"
  28991. msgstr ""
  28992. #. type: table
  28993. #: guix-git/doc/guix.texi:19792
  28994. 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\")}."
  28995. msgstr ""
  28996. #. type: table
  28997. #: guix-git/doc/guix.texi:19796
  28998. 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."
  28999. msgstr ""
  29000. #. type: quotation
  29001. #: guix-git/doc/guix.texi:19801
  29002. 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."
  29003. msgstr ""
  29004. #. type: item
  29005. #: guix-git/doc/guix.texi:19803 guix-git/doc/guix.texi:19887
  29006. #, no-wrap
  29007. msgid "@code{xorg-configuration} (default @code{(xorg-configuration)})"
  29008. msgstr ""
  29009. #. type: item
  29010. #: guix-git/doc/guix.texi:19806
  29011. #, no-wrap
  29012. msgid "@code{display} (default @code{\":0\"})"
  29013. msgstr ""
  29014. #. type: table
  29015. #: guix-git/doc/guix.texi:19808
  29016. msgid "The display on which to start the Xorg graphical server."
  29017. msgstr ""
  29018. #. type: item
  29019. #: guix-git/doc/guix.texi:19809
  29020. #, no-wrap
  29021. msgid "@code{vt} (default @code{\"vt7\"})"
  29022. msgstr ""
  29023. #. type: table
  29024. #: guix-git/doc/guix.texi:19811
  29025. msgid "The VT on which to start the Xorg graphical server."
  29026. msgstr ""
  29027. #. type: item
  29028. #: guix-git/doc/guix.texi:19812
  29029. #, no-wrap
  29030. msgid "@code{xauth} (default: @code{xauth})"
  29031. msgstr ""
  29032. #. type: table
  29033. #: guix-git/doc/guix.texi:19814
  29034. msgid "The XAuth package to use."
  29035. msgstr ""
  29036. #. type: item
  29037. #: guix-git/doc/guix.texi:19815
  29038. #, no-wrap
  29039. msgid "@code{shepherd} (default: @code{shepherd})"
  29040. msgstr ""
  29041. #. type: table
  29042. #: guix-git/doc/guix.texi:19818
  29043. msgid "The Shepherd package used when invoking @command{halt} and @command{reboot}."
  29044. msgstr ""
  29045. #. type: item
  29046. #: guix-git/doc/guix.texi:19819
  29047. #, no-wrap
  29048. msgid "@code{sessreg} (default: @code{sessreg})"
  29049. msgstr ""
  29050. #. type: table
  29051. #: guix-git/doc/guix.texi:19821
  29052. msgid "The sessreg package used in order to register the session."
  29053. msgstr ""
  29054. #. type: item
  29055. #: guix-git/doc/guix.texi:19822
  29056. #, no-wrap
  29057. msgid "@code{slim} (default: @code{slim})"
  29058. msgstr ""
  29059. #. type: table
  29060. #: guix-git/doc/guix.texi:19824
  29061. msgid "The SLiM package to use."
  29062. msgstr ""
  29063. #. type: defvr
  29064. #: guix-git/doc/guix.texi:19827
  29065. #, no-wrap
  29066. msgid "{Scheme Variable} %default-theme"
  29067. msgstr ""
  29068. #. type: defvrx
  29069. #: guix-git/doc/guix.texi:19828
  29070. #, no-wrap
  29071. msgid "{Scheme Variable} %default-theme-name"
  29072. msgstr ""
  29073. #. type: defvr
  29074. #: guix-git/doc/guix.texi:19830
  29075. msgid "The default SLiM theme and its name."
  29076. msgstr ""
  29077. #. type: deftp
  29078. #: guix-git/doc/guix.texi:19833 guix-git/doc/guix.texi:19940
  29079. #, no-wrap
  29080. msgid "{Data Type} sddm-configuration"
  29081. msgstr ""
  29082. #. type: deftp
  29083. #: guix-git/doc/guix.texi:19835
  29084. msgid "This is the data type representing the SDDM service configuration."
  29085. msgstr ""
  29086. #. type: item
  29087. #: guix-git/doc/guix.texi:19837
  29088. #, no-wrap
  29089. msgid "@code{display-server} (default: \"x11\")"
  29090. msgstr ""
  29091. #. type: table
  29092. #: guix-git/doc/guix.texi:19840
  29093. msgid "Select display server to use for the greeter. Valid values are @samp{\"x11\"} or @samp{\"wayland\"}."
  29094. msgstr ""
  29095. #. type: item
  29096. #: guix-git/doc/guix.texi:19841
  29097. #, no-wrap
  29098. msgid "@code{numlock} (default: \"on\")"
  29099. msgstr ""
  29100. #. type: table
  29101. #: guix-git/doc/guix.texi:19843
  29102. msgid "Valid values are @samp{\"on\"}, @samp{\"off\"} or @samp{\"none\"}."
  29103. msgstr ""
  29104. #. type: item
  29105. #: guix-git/doc/guix.texi:19844
  29106. #, no-wrap
  29107. msgid "@code{halt-command} (default @code{#~(string-apppend #$shepherd \"/sbin/halt\")})"
  29108. msgstr ""
  29109. #. type: table
  29110. #: guix-git/doc/guix.texi:19846
  29111. msgid "Command to run when halting."
  29112. msgstr ""
  29113. #. type: item
  29114. #: guix-git/doc/guix.texi:19847
  29115. #, no-wrap
  29116. msgid "@code{reboot-command} (default @code{#~(string-append #$shepherd \"/sbin/reboot\")})"
  29117. msgstr ""
  29118. #. type: table
  29119. #: guix-git/doc/guix.texi:19849
  29120. msgid "Command to run when rebooting."
  29121. msgstr ""
  29122. #. type: item
  29123. #: guix-git/doc/guix.texi:19850
  29124. #, no-wrap
  29125. msgid "@code{theme} (default \"maldives\")"
  29126. msgstr ""
  29127. #. type: table
  29128. #: guix-git/doc/guix.texi:19853
  29129. msgid "Theme to use. Default themes provided by SDDM are @samp{\"elarun\"}, @samp{\"maldives\"} or @samp{\"maya\"}."
  29130. msgstr ""
  29131. #. type: item
  29132. #: guix-git/doc/guix.texi:19854
  29133. #, no-wrap
  29134. msgid "@code{themes-directory} (default \"/run/current-system/profile/share/sddm/themes\")"
  29135. msgstr ""
  29136. #. type: table
  29137. #: guix-git/doc/guix.texi:19856
  29138. msgid "Directory to look for themes."
  29139. msgstr ""
  29140. #. type: item
  29141. #: guix-git/doc/guix.texi:19857
  29142. #, no-wrap
  29143. msgid "@code{faces-directory} (default \"/run/current-system/profile/share/sddm/faces\")"
  29144. msgstr ""
  29145. #. type: table
  29146. #: guix-git/doc/guix.texi:19859
  29147. msgid "Directory to look for faces."
  29148. msgstr ""
  29149. #. type: item
  29150. #: guix-git/doc/guix.texi:19860
  29151. #, no-wrap
  29152. msgid "@code{default-path} (default \"/run/current-system/profile/bin\")"
  29153. msgstr ""
  29154. #. type: table
  29155. #: guix-git/doc/guix.texi:19862
  29156. msgid "Default PATH to use."
  29157. msgstr ""
  29158. #. type: item
  29159. #: guix-git/doc/guix.texi:19863
  29160. #, no-wrap
  29161. msgid "@code{minimum-uid} (default: 1000)"
  29162. msgstr ""
  29163. #. type: table
  29164. #: guix-git/doc/guix.texi:19865
  29165. msgid "Minimum UID displayed in SDDM and allowed for log-in."
  29166. msgstr ""
  29167. #. type: item
  29168. #: guix-git/doc/guix.texi:19866
  29169. #, no-wrap
  29170. msgid "@code{maximum-uid} (default: 2000)"
  29171. msgstr ""
  29172. #. type: table
  29173. #: guix-git/doc/guix.texi:19868
  29174. msgid "Maximum UID to display in SDDM."
  29175. msgstr ""
  29176. #. type: item
  29177. #: guix-git/doc/guix.texi:19869
  29178. #, no-wrap
  29179. msgid "@code{remember-last-user?} (default #t)"
  29180. msgstr ""
  29181. #. type: table
  29182. #: guix-git/doc/guix.texi:19871
  29183. msgid "Remember last user."
  29184. msgstr ""
  29185. #. type: item
  29186. #: guix-git/doc/guix.texi:19872
  29187. #, no-wrap
  29188. msgid "@code{remember-last-session?} (default #t)"
  29189. msgstr ""
  29190. #. type: table
  29191. #: guix-git/doc/guix.texi:19874
  29192. msgid "Remember last session."
  29193. msgstr ""
  29194. #. type: item
  29195. #: guix-git/doc/guix.texi:19875
  29196. #, no-wrap
  29197. msgid "@code{hide-users} (default \"\")"
  29198. msgstr ""
  29199. #. type: table
  29200. #: guix-git/doc/guix.texi:19877
  29201. msgid "Usernames to hide from SDDM greeter."
  29202. msgstr ""
  29203. #. type: item
  29204. #: guix-git/doc/guix.texi:19878
  29205. #, no-wrap
  29206. msgid "@code{hide-shells} (default @code{#~(string-append #$shadow \"/sbin/nologin\")})"
  29207. msgstr ""
  29208. #. type: table
  29209. #: guix-git/doc/guix.texi:19880
  29210. msgid "Users with shells listed will be hidden from the SDDM greeter."
  29211. msgstr ""
  29212. #. type: item
  29213. #: guix-git/doc/guix.texi:19881
  29214. #, no-wrap
  29215. msgid "@code{session-command} (default @code{#~(string-append #$sddm \"/share/sddm/scripts/wayland-session\")})"
  29216. msgstr ""
  29217. #. type: table
  29218. #: guix-git/doc/guix.texi:19883
  29219. msgid "Script to run before starting a wayland session."
  29220. msgstr ""
  29221. #. type: item
  29222. #: guix-git/doc/guix.texi:19884
  29223. #, no-wrap
  29224. msgid "@code{sessions-directory} (default \"/run/current-system/profile/share/wayland-sessions\")"
  29225. msgstr ""
  29226. #. type: table
  29227. #: guix-git/doc/guix.texi:19886
  29228. msgid "Directory to look for desktop files starting wayland sessions."
  29229. msgstr ""
  29230. #. type: item
  29231. #: guix-git/doc/guix.texi:19890
  29232. #, no-wrap
  29233. msgid "@code{xauth-path} (default @code{#~(string-append #$xauth \"/bin/xauth\")})"
  29234. msgstr ""
  29235. #. type: table
  29236. #: guix-git/doc/guix.texi:19892
  29237. msgid "Path to xauth."
  29238. msgstr ""
  29239. #. type: item
  29240. #: guix-git/doc/guix.texi:19893
  29241. #, no-wrap
  29242. msgid "@code{xephyr-path} (default @code{#~(string-append #$xorg-server \"/bin/Xephyr\")})"
  29243. msgstr ""
  29244. #. type: table
  29245. #: guix-git/doc/guix.texi:19895
  29246. msgid "Path to Xephyr."
  29247. msgstr ""
  29248. #. type: item
  29249. #: guix-git/doc/guix.texi:19896
  29250. #, no-wrap
  29251. msgid "@code{xdisplay-start} (default @code{#~(string-append #$sddm \"/share/sddm/scripts/Xsetup\")})"
  29252. msgstr ""
  29253. #. type: table
  29254. #: guix-git/doc/guix.texi:19898
  29255. msgid "Script to run after starting xorg-server."
  29256. msgstr ""
  29257. #. type: item
  29258. #: guix-git/doc/guix.texi:19899
  29259. #, no-wrap
  29260. msgid "@code{xdisplay-stop} (default @code{#~(string-append #$sddm \"/share/sddm/scripts/Xstop\")})"
  29261. msgstr ""
  29262. #. type: table
  29263. #: guix-git/doc/guix.texi:19901
  29264. msgid "Script to run before stopping xorg-server."
  29265. msgstr ""
  29266. #. type: item
  29267. #: guix-git/doc/guix.texi:19902
  29268. #, no-wrap
  29269. msgid "@code{xsession-command} (default: @code{xinitrc})"
  29270. msgstr ""
  29271. #. type: item
  29272. #: guix-git/doc/guix.texi:19905
  29273. #, no-wrap
  29274. msgid "@code{xsessions-directory} (default: \"/run/current-system/profile/share/xsessions\")"
  29275. msgstr ""
  29276. #. type: table
  29277. #: guix-git/doc/guix.texi:19907
  29278. msgid "Directory to look for desktop files starting X sessions."
  29279. msgstr ""
  29280. #. type: item
  29281. #: guix-git/doc/guix.texi:19908
  29282. #, no-wrap
  29283. msgid "@code{minimum-vt} (default: 7)"
  29284. msgstr ""
  29285. #. type: table
  29286. #: guix-git/doc/guix.texi:19910
  29287. msgid "Minimum VT to use."
  29288. msgstr ""
  29289. #. type: item
  29290. #: guix-git/doc/guix.texi:19911
  29291. #, no-wrap
  29292. msgid "@code{auto-login-user} (default \"\")"
  29293. msgstr ""
  29294. #. type: table
  29295. #: guix-git/doc/guix.texi:19913
  29296. msgid "User to use for auto-login."
  29297. msgstr ""
  29298. #. type: item
  29299. #: guix-git/doc/guix.texi:19914
  29300. #, no-wrap
  29301. msgid "@code{auto-login-session} (default \"\")"
  29302. msgstr ""
  29303. #. type: table
  29304. #: guix-git/doc/guix.texi:19916
  29305. msgid "Desktop file to use for auto-login."
  29306. msgstr ""
  29307. #. type: item
  29308. #: guix-git/doc/guix.texi:19917
  29309. #, no-wrap
  29310. msgid "@code{relogin?} (default #f)"
  29311. msgstr ""
  29312. #. type: table
  29313. #: guix-git/doc/guix.texi:19919
  29314. msgid "Relogin after logout."
  29315. msgstr ""
  29316. #. type: cindex
  29317. #: guix-git/doc/guix.texi:19924
  29318. #, no-wrap
  29319. msgid "X11 login"
  29320. msgstr ""
  29321. #. type: defvr
  29322. #: guix-git/doc/guix.texi:19925
  29323. #, no-wrap
  29324. msgid "{Scheme Variable} sddm-service-type"
  29325. msgstr ""
  29326. #. type: defvr
  29327. #: guix-git/doc/guix.texi:19929
  29328. 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)."
  29329. msgstr ""
  29330. #. type: defvr
  29331. #: guix-git/doc/guix.texi:19931
  29332. msgid "Here's an example use:"
  29333. msgstr ""
  29334. #. type: lisp
  29335. #: guix-git/doc/guix.texi:19937
  29336. #, no-wrap
  29337. msgid ""
  29338. "(service sddm-service-type\n"
  29339. " (sddm-configuration\n"
  29340. " (auto-login-user \"alice\")\n"
  29341. " (auto-login-session \"xfce.desktop\")))\n"
  29342. msgstr ""
  29343. #. type: deftp
  29344. #: guix-git/doc/guix.texi:19943
  29345. msgid "This data type represents the configuration of the SDDM login manager. The available fields are:"
  29346. msgstr ""
  29347. #. type: item
  29348. #: guix-git/doc/guix.texi:19945
  29349. #, no-wrap
  29350. msgid "@code{sddm} (default: @code{sddm})"
  29351. msgstr ""
  29352. #. type: table
  29353. #: guix-git/doc/guix.texi:19947
  29354. msgid "The SDDM package to use."
  29355. msgstr ""
  29356. #. type: item
  29357. #: guix-git/doc/guix.texi:19948
  29358. #, no-wrap
  29359. msgid "@code{display-server} (default: @code{\"x11\"})"
  29360. msgstr ""
  29361. #. type: table
  29362. #: guix-git/doc/guix.texi:19950
  29363. msgid "This must be either @code{\"x11\"} or @code{\"wayland\"}."
  29364. msgstr ""
  29365. #. type: item
  29366. #: guix-git/doc/guix.texi:19953
  29367. #, no-wrap
  29368. msgid "@code{auto-login-user} (default: @code{\"\"})"
  29369. msgstr ""
  29370. #. type: table
  29371. #: guix-git/doc/guix.texi:19956
  29372. msgid "If non-empty, this is the user account under which to log in automatically."
  29373. msgstr ""
  29374. #. type: item
  29375. #: guix-git/doc/guix.texi:19957
  29376. #, no-wrap
  29377. msgid "@code{auto-login-session} (default: @code{\"\"})"
  29378. msgstr ""
  29379. #. type: table
  29380. #: guix-git/doc/guix.texi:19960
  29381. msgid "If non-empty, this is the @file{.desktop} file name to use as the auto-login session."
  29382. msgstr ""
  29383. #. type: cindex
  29384. #: guix-git/doc/guix.texi:19963
  29385. #, no-wrap
  29386. msgid "Xorg, configuration"
  29387. msgstr ""
  29388. #. type: deftp
  29389. #: guix-git/doc/guix.texi:19964
  29390. #, no-wrap
  29391. msgid "{Data Type} xorg-configuration"
  29392. msgstr ""
  29393. #. type: deftp
  29394. #: guix-git/doc/guix.texi:19969
  29395. 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."
  29396. msgstr ""
  29397. #. type: item
  29398. #: guix-git/doc/guix.texi:19971
  29399. #, no-wrap
  29400. msgid "@code{modules} (default: @code{%default-xorg-modules})"
  29401. msgstr ""
  29402. #. type: table
  29403. #: guix-git/doc/guix.texi:19974
  29404. 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."
  29405. msgstr ""
  29406. #. type: item
  29407. #: guix-git/doc/guix.texi:19975
  29408. #, no-wrap
  29409. msgid "@code{fonts} (default: @code{%default-xorg-fonts})"
  29410. msgstr ""
  29411. #. type: table
  29412. #: guix-git/doc/guix.texi:19977
  29413. msgid "This is a list of font directories to add to the server's @dfn{font path}."
  29414. msgstr ""
  29415. #. type: item
  29416. #: guix-git/doc/guix.texi:19978
  29417. #, no-wrap
  29418. msgid "@code{drivers} (default: @code{'()})"
  29419. msgstr ""
  29420. #. type: table
  29421. #: guix-git/doc/guix.texi:19982
  29422. 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\")}."
  29423. msgstr ""
  29424. #. type: item
  29425. #: guix-git/doc/guix.texi:19983
  29426. #, no-wrap
  29427. msgid "@code{resolutions} (default: @code{'()})"
  29428. msgstr ""
  29429. #. type: table
  29430. #: guix-git/doc/guix.texi:19987
  29431. 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))}."
  29432. msgstr ""
  29433. #. type: cindex
  29434. #: guix-git/doc/guix.texi:19988
  29435. #, no-wrap
  29436. msgid "keyboard layout, for Xorg"
  29437. msgstr ""
  29438. #. type: cindex
  29439. #: guix-git/doc/guix.texi:19989
  29440. #, no-wrap
  29441. msgid "keymap, for Xorg"
  29442. msgstr ""
  29443. #. type: table
  29444. #: guix-git/doc/guix.texi:19993
  29445. msgid "If this is @code{#f}, Xorg uses the default keyboard layout---usually US English (``qwerty'') for a 105-key PC keyboard."
  29446. msgstr ""
  29447. #. type: table
  29448. #: guix-git/doc/guix.texi:19997
  29449. 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."
  29450. msgstr ""
  29451. #. type: item
  29452. #: guix-git/doc/guix.texi:19998 guix-git/doc/guix.texi:21743
  29453. #: guix-git/doc/guix.texi:34597
  29454. #, no-wrap
  29455. msgid "@code{extra-config} (default: @code{'()})"
  29456. msgstr ""
  29457. #. type: table
  29458. #: guix-git/doc/guix.texi:20001 guix-git/doc/guix.texi:34601
  29459. 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."
  29460. msgstr ""
  29461. #. type: item
  29462. #: guix-git/doc/guix.texi:20002
  29463. #, no-wrap
  29464. msgid "@code{server} (default: @code{xorg-server})"
  29465. msgstr ""
  29466. #. type: table
  29467. #: guix-git/doc/guix.texi:20004
  29468. msgid "This is the package providing the Xorg server."
  29469. msgstr ""
  29470. #. type: item
  29471. #: guix-git/doc/guix.texi:20005
  29472. #, no-wrap
  29473. msgid "@code{server-arguments} (default: @code{%default-xorg-server-arguments})"
  29474. msgstr ""
  29475. #. type: table
  29476. #: guix-git/doc/guix.texi:20008
  29477. msgid "This is the list of command-line arguments to pass to the X server. The default is @code{-nolisten tcp}."
  29478. msgstr ""
  29479. #. type: deffn
  29480. #: guix-git/doc/guix.texi:20011
  29481. #, no-wrap
  29482. msgid "{Scheme Procedure} set-xorg-configuration @var{config} @"
  29483. msgstr ""
  29484. #. type: deffn
  29485. #: guix-git/doc/guix.texi:20015
  29486. 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."
  29487. msgstr ""
  29488. #. type: deffn
  29489. #: guix-git/doc/guix.texi:20019
  29490. 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."
  29491. msgstr ""
  29492. #. type: deffn
  29493. #: guix-git/doc/guix.texi:20021
  29494. #, no-wrap
  29495. msgid "{Scheme Procedure} xorg-start-command [@var{config}]"
  29496. msgstr ""
  29497. #. type: deffn
  29498. #: guix-git/doc/guix.texi:20025
  29499. 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}."
  29500. msgstr ""
  29501. #. type: deffn
  29502. #: guix-git/doc/guix.texi:20027
  29503. msgid "Usually the X server is started by a login manager."
  29504. msgstr ""
  29505. #. type: deffn
  29506. #: guix-git/doc/guix.texi:20030
  29507. #, no-wrap
  29508. msgid "{Scheme Procedure} screen-locker-service @var{package} [@var{program}]"
  29509. msgstr ""
  29510. #. type: deffn
  29511. #: guix-git/doc/guix.texi:20034
  29512. 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:"
  29513. msgstr ""
  29514. #. type: lisp
  29515. #: guix-git/doc/guix.texi:20037
  29516. #, no-wrap
  29517. msgid "(screen-locker-service xlockmore \"xlock\")\n"
  29518. msgstr ""
  29519. #. type: deffn
  29520. #: guix-git/doc/guix.texi:20040
  29521. msgid "makes the good ol' XlockMore usable."
  29522. msgstr ""
  29523. #. type: cindex
  29524. #: guix-git/doc/guix.texi:20046
  29525. #, no-wrap
  29526. msgid "printer support with CUPS"
  29527. msgstr ""
  29528. #. type: Plain text
  29529. #: guix-git/doc/guix.texi:20050
  29530. 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:"
  29531. msgstr ""
  29532. #. type: deffn
  29533. #: guix-git/doc/guix.texi:20051
  29534. #, no-wrap
  29535. msgid "{Scheme Variable} cups-service-type"
  29536. msgstr ""
  29537. #. type: deffn
  29538. #: guix-git/doc/guix.texi:20055
  29539. 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:"
  29540. msgstr ""
  29541. #. type: lisp
  29542. #: guix-git/doc/guix.texi:20057
  29543. #, no-wrap
  29544. msgid "(service cups-service-type)\n"
  29545. msgstr ""
  29546. #. type: Plain text
  29547. #: guix-git/doc/guix.texi:20067
  29548. 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."
  29549. msgstr ""
  29550. #. type: Plain text
  29551. #: guix-git/doc/guix.texi:20073
  29552. 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):"
  29553. msgstr ""
  29554. #. type: lisp
  29555. #: guix-git/doc/guix.texi:20080
  29556. #, no-wrap
  29557. msgid ""
  29558. "(service cups-service-type\n"
  29559. " (cups-configuration\n"
  29560. " (web-interface? #t)\n"
  29561. " (extensions\n"
  29562. " (list cups-filters epson-inkjet-printer-escpr hplip-minimal))))\n"
  29563. msgstr ""
  29564. #. type: Plain text
  29565. #: guix-git/doc/guix.texi:20085
  29566. 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."
  29567. msgstr ""
  29568. #. type: Plain text
  29569. #: guix-git/doc/guix.texi:20092
  29570. 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."
  29571. msgstr ""
  29572. #. type: Plain text
  29573. #: guix-git/doc/guix.texi:20103
  29574. msgid "Available @code{cups-configuration} fields are:"
  29575. msgstr ""
  29576. #. type: deftypevr
  29577. #: guix-git/doc/guix.texi:20104
  29578. #, no-wrap
  29579. msgid "{@code{cups-configuration} parameter} package cups"
  29580. msgstr ""
  29581. #. type: deftypevr
  29582. #: guix-git/doc/guix.texi:20106 guix-git/doc/guix.texi:20874
  29583. msgid "The CUPS package."
  29584. msgstr ""
  29585. #. type: deftypevr
  29586. #: guix-git/doc/guix.texi:20108
  29587. #, no-wrap
  29588. msgid "{@code{cups-configuration} parameter} package-list extensions (default: @code{(list brlaser cups-filters epson-inkjet-printer-escpr foomatic-filters hplip-minimal splix)})"
  29589. msgstr ""
  29590. #. type: deftypevr
  29591. #: guix-git/doc/guix.texi:20110
  29592. msgid "Drivers and other extensions to the CUPS package."
  29593. msgstr ""
  29594. #. type: deftypevr
  29595. #: guix-git/doc/guix.texi:20112
  29596. #, no-wrap
  29597. msgid "{@code{cups-configuration} parameter} files-configuration files-configuration"
  29598. msgstr ""
  29599. #. type: deftypevr
  29600. #: guix-git/doc/guix.texi:20115
  29601. msgid "Configuration of where to write logs, what directories to use for print spools, and related privileged configuration parameters."
  29602. msgstr ""
  29603. #. type: deftypevr
  29604. #: guix-git/doc/guix.texi:20117
  29605. msgid "Available @code{files-configuration} fields are:"
  29606. msgstr ""
  29607. #. type: deftypevr
  29608. #: guix-git/doc/guix.texi:20118
  29609. #, no-wrap
  29610. msgid "{@code{files-configuration} parameter} log-location access-log"
  29611. msgstr ""
  29612. #. type: deftypevr
  29613. #: guix-git/doc/guix.texi:20126
  29614. 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}."
  29615. msgstr ""
  29616. #. type: deftypevr
  29617. #: guix-git/doc/guix.texi:20128
  29618. msgid "Defaults to @samp{\"/var/log/cups/access_log\"}."
  29619. msgstr ""
  29620. #. type: deftypevr
  29621. #: guix-git/doc/guix.texi:20130
  29622. #, no-wrap
  29623. msgid "{@code{files-configuration} parameter} file-name cache-dir"
  29624. msgstr ""
  29625. #. type: deftypevr
  29626. #: guix-git/doc/guix.texi:20132
  29627. msgid "Where CUPS should cache data."
  29628. msgstr ""
  29629. #. type: deftypevr
  29630. #: guix-git/doc/guix.texi:20134
  29631. msgid "Defaults to @samp{\"/var/cache/cups\"}."
  29632. msgstr ""
  29633. #. type: deftypevr
  29634. #: guix-git/doc/guix.texi:20136
  29635. #, no-wrap
  29636. msgid "{@code{files-configuration} parameter} string config-file-perm"
  29637. msgstr ""
  29638. #. type: deftypevr
  29639. #: guix-git/doc/guix.texi:20139
  29640. msgid "Specifies the permissions for all configuration files that the scheduler writes."
  29641. msgstr ""
  29642. #. type: deftypevr
  29643. #: guix-git/doc/guix.texi:20145
  29644. 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."
  29645. msgstr ""
  29646. #. type: deftypevr
  29647. #: guix-git/doc/guix.texi:20147
  29648. msgid "Defaults to @samp{\"0640\"}."
  29649. msgstr ""
  29650. #. type: deftypevr
  29651. #: guix-git/doc/guix.texi:20149
  29652. #, no-wrap
  29653. msgid "{@code{files-configuration} parameter} log-location error-log"
  29654. msgstr ""
  29655. #. type: deftypevr
  29656. #: guix-git/doc/guix.texi:20157
  29657. 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}."
  29658. msgstr ""
  29659. #. type: deftypevr
  29660. #: guix-git/doc/guix.texi:20159
  29661. msgid "Defaults to @samp{\"/var/log/cups/error_log\"}."
  29662. msgstr ""
  29663. #. type: deftypevr
  29664. #: guix-git/doc/guix.texi:20161
  29665. #, no-wrap
  29666. msgid "{@code{files-configuration} parameter} string fatal-errors"
  29667. msgstr ""
  29668. #. type: deftypevr
  29669. #: guix-git/doc/guix.texi:20164
  29670. msgid "Specifies which errors are fatal, causing the scheduler to exit. The kind strings are:"
  29671. msgstr ""
  29672. #. type: table
  29673. #: guix-git/doc/guix.texi:20168
  29674. msgid "No errors are fatal."
  29675. msgstr ""
  29676. #. type: table
  29677. #: guix-git/doc/guix.texi:20171
  29678. msgid "All of the errors below are fatal."
  29679. msgstr ""
  29680. #. type: item
  29681. #: guix-git/doc/guix.texi:20172
  29682. #, no-wrap
  29683. msgid "browse"
  29684. msgstr "selaa"
  29685. #. type: table
  29686. #: guix-git/doc/guix.texi:20175
  29687. msgid "Browsing initialization errors are fatal, for example failed connections to the DNS-SD daemon."
  29688. msgstr ""
  29689. #. type: item
  29690. #: guix-git/doc/guix.texi:20176
  29691. #, no-wrap
  29692. msgid "config"
  29693. msgstr ""
  29694. #. type: table
  29695. #: guix-git/doc/guix.texi:20178
  29696. msgid "Configuration file syntax errors are fatal."
  29697. msgstr ""
  29698. #. type: item
  29699. #: guix-git/doc/guix.texi:20179
  29700. #, no-wrap
  29701. msgid "listen"
  29702. msgstr "kuuntele"
  29703. #. type: table
  29704. #: guix-git/doc/guix.texi:20182
  29705. msgid "Listen or Port errors are fatal, except for IPv6 failures on the loopback or @code{any} addresses."
  29706. msgstr ""
  29707. #. type: item
  29708. #: guix-git/doc/guix.texi:20183
  29709. #, no-wrap
  29710. msgid "log"
  29711. msgstr "kirjaa"
  29712. #. type: table
  29713. #: guix-git/doc/guix.texi:20185
  29714. msgid "Log file creation or write errors are fatal."
  29715. msgstr ""
  29716. #. type: item
  29717. #: guix-git/doc/guix.texi:20186
  29718. #, no-wrap
  29719. msgid "permissions"
  29720. msgstr "käyttöoikeudet"
  29721. #. type: table
  29722. #: guix-git/doc/guix.texi:20189
  29723. msgid "Bad startup file permissions are fatal, for example shared TLS certificate and key files with world-read permissions."
  29724. msgstr ""
  29725. #. type: deftypevr
  29726. #: guix-git/doc/guix.texi:20192
  29727. msgid "Defaults to @samp{\"all -browse\"}."
  29728. msgstr ""
  29729. #. type: deftypevr
  29730. #: guix-git/doc/guix.texi:20194
  29731. #, no-wrap
  29732. msgid "{@code{files-configuration} parameter} boolean file-device?"
  29733. msgstr ""
  29734. #. type: deftypevr
  29735. #: guix-git/doc/guix.texi:20197
  29736. msgid "Specifies whether the file pseudo-device can be used for new printer queues. The URI @uref{file:///dev/null} is always allowed."
  29737. msgstr ""
  29738. #. type: deftypevr
  29739. #: guix-git/doc/guix.texi:20201
  29740. #, no-wrap
  29741. msgid "{@code{files-configuration} parameter} string group"
  29742. msgstr ""
  29743. #. type: deftypevr
  29744. #: guix-git/doc/guix.texi:20204
  29745. msgid "Specifies the group name or ID that will be used when executing external programs."
  29746. msgstr ""
  29747. #. type: deftypevr
  29748. #: guix-git/doc/guix.texi:20206 guix-git/doc/guix.texi:20292
  29749. msgid "Defaults to @samp{\"lp\"}."
  29750. msgstr ""
  29751. #. type: deftypevr
  29752. #: guix-git/doc/guix.texi:20208
  29753. #, no-wrap
  29754. msgid "{@code{files-configuration} parameter} string log-file-group"
  29755. msgstr ""
  29756. #. type: deftypevr
  29757. #: guix-git/doc/guix.texi:20210
  29758. msgid "Specifies the group name or ID that will be used for log files."
  29759. msgstr ""
  29760. #. type: deftypevr
  29761. #: guix-git/doc/guix.texi:20212
  29762. msgid "Defaults to @samp{\"lpadmin\"}."
  29763. msgstr ""
  29764. #. type: deftypevr
  29765. #: guix-git/doc/guix.texi:20214
  29766. #, no-wrap
  29767. msgid "{@code{files-configuration} parameter} string log-file-perm"
  29768. msgstr ""
  29769. #. type: deftypevr
  29770. #: guix-git/doc/guix.texi:20216
  29771. msgid "Specifies the permissions for all log files that the scheduler writes."
  29772. msgstr ""
  29773. #. type: deftypevr
  29774. #: guix-git/doc/guix.texi:20218
  29775. msgid "Defaults to @samp{\"0644\"}."
  29776. msgstr ""
  29777. #. type: deftypevr
  29778. #: guix-git/doc/guix.texi:20220
  29779. #, no-wrap
  29780. msgid "{@code{files-configuration} parameter} log-location page-log"
  29781. msgstr ""
  29782. #. type: deftypevr
  29783. #: guix-git/doc/guix.texi:20228
  29784. 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}."
  29785. msgstr ""
  29786. #. type: deftypevr
  29787. #: guix-git/doc/guix.texi:20230
  29788. msgid "Defaults to @samp{\"/var/log/cups/page_log\"}."
  29789. msgstr ""
  29790. #. type: deftypevr
  29791. #: guix-git/doc/guix.texi:20232
  29792. #, no-wrap
  29793. msgid "{@code{files-configuration} parameter} string remote-root"
  29794. msgstr ""
  29795. #. type: deftypevr
  29796. #: guix-git/doc/guix.texi:20235
  29797. msgid "Specifies the username that is associated with unauthenticated accesses by clients claiming to be the root user. The default is @code{remroot}."
  29798. msgstr ""
  29799. #. type: deftypevr
  29800. #: guix-git/doc/guix.texi:20237
  29801. msgid "Defaults to @samp{\"remroot\"}."
  29802. msgstr ""
  29803. #. type: deftypevr
  29804. #: guix-git/doc/guix.texi:20239
  29805. #, no-wrap
  29806. msgid "{@code{files-configuration} parameter} file-name request-root"
  29807. msgstr ""
  29808. #. type: deftypevr
  29809. #: guix-git/doc/guix.texi:20242
  29810. msgid "Specifies the directory that contains print jobs and other HTTP request data."
  29811. msgstr ""
  29812. #. type: deftypevr
  29813. #: guix-git/doc/guix.texi:20244
  29814. msgid "Defaults to @samp{\"/var/spool/cups\"}."
  29815. msgstr ""
  29816. #. type: deftypevr
  29817. #: guix-git/doc/guix.texi:20246
  29818. #, no-wrap
  29819. msgid "{@code{files-configuration} parameter} sandboxing sandboxing"
  29820. msgstr ""
  29821. #. type: deftypevr
  29822. #: guix-git/doc/guix.texi:20251
  29823. 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."
  29824. msgstr ""
  29825. #. type: deftypevr
  29826. #: guix-git/doc/guix.texi:20253
  29827. msgid "Defaults to @samp{strict}."
  29828. msgstr ""
  29829. #. type: deftypevr
  29830. #: guix-git/doc/guix.texi:20255
  29831. #, no-wrap
  29832. msgid "{@code{files-configuration} parameter} file-name server-keychain"
  29833. msgstr ""
  29834. #. type: deftypevr
  29835. #: guix-git/doc/guix.texi:20260
  29836. 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."
  29837. msgstr ""
  29838. #. type: deftypevr
  29839. #: guix-git/doc/guix.texi:20262
  29840. msgid "Defaults to @samp{\"/etc/cups/ssl\"}."
  29841. msgstr ""
  29842. #. type: deftypevr
  29843. #: guix-git/doc/guix.texi:20264
  29844. #, no-wrap
  29845. msgid "{@code{files-configuration} parameter} file-name server-root"
  29846. msgstr ""
  29847. #. type: deftypevr
  29848. #: guix-git/doc/guix.texi:20266
  29849. msgid "Specifies the directory containing the server configuration files."
  29850. msgstr ""
  29851. #. type: deftypevr
  29852. #: guix-git/doc/guix.texi:20268
  29853. msgid "Defaults to @samp{\"/etc/cups\"}."
  29854. msgstr ""
  29855. #. type: deftypevr
  29856. #: guix-git/doc/guix.texi:20270
  29857. #, no-wrap
  29858. msgid "{@code{files-configuration} parameter} boolean sync-on-close?"
  29859. msgstr ""
  29860. #. type: deftypevr
  29861. #: guix-git/doc/guix.texi:20273
  29862. msgid "Specifies whether the scheduler calls fsync(2) after writing configuration or state files."
  29863. msgstr ""
  29864. #. type: deftypevr
  29865. #: guix-git/doc/guix.texi:20277
  29866. #, no-wrap
  29867. msgid "{@code{files-configuration} parameter} space-separated-string-list system-group"
  29868. msgstr ""
  29869. #. type: deftypevr
  29870. #: guix-git/doc/guix.texi:20279
  29871. msgid "Specifies the group(s) to use for @code{@@SYSTEM} group authentication."
  29872. msgstr ""
  29873. #. type: deftypevr
  29874. #: guix-git/doc/guix.texi:20281
  29875. #, no-wrap
  29876. msgid "{@code{files-configuration} parameter} file-name temp-dir"
  29877. msgstr ""
  29878. #. type: deftypevr
  29879. #: guix-git/doc/guix.texi:20283
  29880. msgid "Specifies the directory where temporary files are stored."
  29881. msgstr ""
  29882. #. type: deftypevr
  29883. #: guix-git/doc/guix.texi:20285
  29884. msgid "Defaults to @samp{\"/var/spool/cups/tmp\"}."
  29885. msgstr ""
  29886. #. type: deftypevr
  29887. #: guix-git/doc/guix.texi:20287
  29888. #, no-wrap
  29889. msgid "{@code{files-configuration} parameter} string user"
  29890. msgstr ""
  29891. #. type: deftypevr
  29892. #: guix-git/doc/guix.texi:20290
  29893. msgid "Specifies the user name or ID that is used when running external programs."
  29894. msgstr ""
  29895. #. type: deftypevr
  29896. #: guix-git/doc/guix.texi:20294
  29897. #, no-wrap
  29898. msgid "{@code{files-configuration} parameter} string set-env"
  29899. msgstr ""
  29900. #. type: deftypevr
  29901. #: guix-git/doc/guix.texi:20296
  29902. msgid "Set the specified environment variable to be passed to child processes."
  29903. msgstr ""
  29904. #. type: deftypevr
  29905. #: guix-git/doc/guix.texi:20298
  29906. msgid "Defaults to @samp{\"variable value\"}."
  29907. msgstr ""
  29908. #. type: deftypevr
  29909. #: guix-git/doc/guix.texi:20301
  29910. #, no-wrap
  29911. msgid "{@code{cups-configuration} parameter} access-log-level access-log-level"
  29912. msgstr ""
  29913. #. type: deftypevr
  29914. #: guix-git/doc/guix.texi:20308
  29915. 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."
  29916. msgstr ""
  29917. #. type: deftypevr
  29918. #: guix-git/doc/guix.texi:20310
  29919. msgid "Defaults to @samp{actions}."
  29920. msgstr ""
  29921. #. type: deftypevr
  29922. #: guix-git/doc/guix.texi:20312
  29923. #, no-wrap
  29924. msgid "{@code{cups-configuration} parameter} boolean auto-purge-jobs?"
  29925. msgstr ""
  29926. #. type: deftypevr
  29927. #: guix-git/doc/guix.texi:20315
  29928. msgid "Specifies whether to purge job history data automatically when it is no longer required for quotas."
  29929. msgstr ""
  29930. #. type: deftypevr
  29931. #: guix-git/doc/guix.texi:20319
  29932. #, no-wrap
  29933. msgid "{@code{cups-configuration} parameter} comma-separated-string-list browse-dns-sd-sub-types"
  29934. msgstr ""
  29935. #. type: deftypevr
  29936. #: guix-git/doc/guix.texi:20323
  29937. 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."
  29938. msgstr ""
  29939. #. type: deftypevr
  29940. #: guix-git/doc/guix.texi:20325
  29941. msgid "Defaults to @samp{\"_cups\"}."
  29942. msgstr ""
  29943. #. type: deftypevr
  29944. #: guix-git/doc/guix.texi:20327
  29945. #, no-wrap
  29946. msgid "{@code{cups-configuration} parameter} browse-local-protocols browse-local-protocols"
  29947. msgstr ""
  29948. #. type: deftypevr
  29949. #: guix-git/doc/guix.texi:20329
  29950. msgid "Specifies which protocols to use for local printer sharing."
  29951. msgstr ""
  29952. #. type: deftypevr
  29953. #: guix-git/doc/guix.texi:20331
  29954. msgid "Defaults to @samp{dnssd}."
  29955. msgstr ""
  29956. #. type: deftypevr
  29957. #: guix-git/doc/guix.texi:20333
  29958. #, no-wrap
  29959. msgid "{@code{cups-configuration} parameter} boolean browse-web-if?"
  29960. msgstr ""
  29961. #. type: deftypevr
  29962. #: guix-git/doc/guix.texi:20335
  29963. msgid "Specifies whether the CUPS web interface is advertised."
  29964. msgstr ""
  29965. #. type: deftypevr
  29966. #: guix-git/doc/guix.texi:20339
  29967. #, no-wrap
  29968. msgid "{@code{cups-configuration} parameter} boolean browsing?"
  29969. msgstr ""
  29970. #. type: deftypevr
  29971. #: guix-git/doc/guix.texi:20341
  29972. msgid "Specifies whether shared printers are advertised."
  29973. msgstr ""
  29974. #. type: deftypevr
  29975. #: guix-git/doc/guix.texi:20345
  29976. #, no-wrap
  29977. msgid "{@code{cups-configuration} parameter} string classification"
  29978. msgstr ""
  29979. #. type: deftypevr
  29980. #: guix-git/doc/guix.texi:20350
  29981. 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."
  29982. msgstr ""
  29983. #. type: deftypevr
  29984. #: guix-git/doc/guix.texi:20352 guix-git/doc/guix.texi:20683
  29985. #: guix-git/doc/guix.texi:22700 guix-git/doc/guix.texi:22712
  29986. #: guix-git/doc/guix.texi:22740 guix-git/doc/guix.texi:23497
  29987. #: guix-git/doc/guix.texi:23511 guix-git/doc/guix.texi:23518
  29988. #: guix-git/doc/guix.texi:23525 guix-git/doc/guix.texi:23555
  29989. #: guix-git/doc/guix.texi:23653 guix-git/doc/guix.texi:30546
  29990. #: guix-git/doc/guix.texi:30554 guix-git/doc/guix.texi:30562
  29991. #: guix-git/doc/guix.texi:30570 guix-git/doc/guix.texi:30849
  29992. #: guix-git/doc/guix.texi:32208 guix-git/doc/guix.texi:32216
  29993. #: guix-git/doc/guix.texi:32224 guix-git/doc/guix.texi:32332
  29994. #: guix-git/doc/guix.texi:32357 guix-git/doc/guix.texi:32488
  29995. #: guix-git/doc/guix.texi:32496 guix-git/doc/guix.texi:32504
  29996. #: guix-git/doc/guix.texi:32512 guix-git/doc/guix.texi:32520
  29997. #: guix-git/doc/guix.texi:32528 guix-git/doc/guix.texi:32551
  29998. #: guix-git/doc/guix.texi:32559 guix-git/doc/guix.texi:32611
  29999. #: guix-git/doc/guix.texi:32627 guix-git/doc/guix.texi:32635
  30000. #: guix-git/doc/guix.texi:32674 guix-git/doc/guix.texi:32697
  30001. #: guix-git/doc/guix.texi:32719 guix-git/doc/guix.texi:32726
  30002. #: guix-git/doc/guix.texi:32761 guix-git/doc/guix.texi:32769
  30003. #: guix-git/doc/guix.texi:32793 guix-git/doc/guix.texi:32825
  30004. #: guix-git/doc/guix.texi:32854 guix-git/doc/guix.texi:32861
  30005. #: guix-git/doc/guix.texi:32868 guix-git/doc/guix.texi:32876
  30006. #: guix-git/doc/guix.texi:32890 guix-git/doc/guix.texi:32899
  30007. #: guix-git/doc/guix.texi:32909 guix-git/doc/guix.texi:32916
  30008. #: guix-git/doc/guix.texi:32923 guix-git/doc/guix.texi:32930
  30009. #: guix-git/doc/guix.texi:33001 guix-git/doc/guix.texi:33008
  30010. #: guix-git/doc/guix.texi:33015 guix-git/doc/guix.texi:33024
  30011. #: guix-git/doc/guix.texi:33040 guix-git/doc/guix.texi:33047
  30012. #: guix-git/doc/guix.texi:33054 guix-git/doc/guix.texi:33061
  30013. #: guix-git/doc/guix.texi:33069 guix-git/doc/guix.texi:33077
  30014. msgid "Defaults to @samp{\"\"}."
  30015. msgstr ""
  30016. #. type: deftypevr
  30017. #: guix-git/doc/guix.texi:20354
  30018. #, no-wrap
  30019. msgid "{@code{cups-configuration} parameter} boolean classify-override?"
  30020. msgstr ""
  30021. #. type: deftypevr
  30022. #: guix-git/doc/guix.texi:20357
  30023. msgid "Specifies whether users may override the classification (cover page) of individual print jobs using the @code{job-sheets} option."
  30024. msgstr ""
  30025. #. type: deftypevr
  30026. #: guix-git/doc/guix.texi:20361
  30027. #, no-wrap
  30028. msgid "{@code{cups-configuration} parameter} default-auth-type default-auth-type"
  30029. msgstr ""
  30030. #. type: deftypevr
  30031. #: guix-git/doc/guix.texi:20363
  30032. msgid "Specifies the default type of authentication to use."
  30033. msgstr ""
  30034. #. type: deftypevr
  30035. #: guix-git/doc/guix.texi:20365
  30036. msgid "Defaults to @samp{Basic}."
  30037. msgstr ""
  30038. #. type: deftypevr
  30039. #: guix-git/doc/guix.texi:20367
  30040. #, no-wrap
  30041. msgid "{@code{cups-configuration} parameter} default-encryption default-encryption"
  30042. msgstr ""
  30043. #. type: deftypevr
  30044. #: guix-git/doc/guix.texi:20369
  30045. msgid "Specifies whether encryption will be used for authenticated requests."
  30046. msgstr ""
  30047. #. type: deftypevr
  30048. #: guix-git/doc/guix.texi:20371
  30049. msgid "Defaults to @samp{Required}."
  30050. msgstr ""
  30051. #. type: deftypevr
  30052. #: guix-git/doc/guix.texi:20373
  30053. #, no-wrap
  30054. msgid "{@code{cups-configuration} parameter} string default-language"
  30055. msgstr ""
  30056. #. type: deftypevr
  30057. #: guix-git/doc/guix.texi:20375
  30058. msgid "Specifies the default language to use for text and web content."
  30059. msgstr ""
  30060. #. type: deftypevr
  30061. #: guix-git/doc/guix.texi:20377
  30062. msgid "Defaults to @samp{\"en\"}."
  30063. msgstr ""
  30064. #. type: deftypevr
  30065. #: guix-git/doc/guix.texi:20379
  30066. #, no-wrap
  30067. msgid "{@code{cups-configuration} parameter} string default-paper-size"
  30068. msgstr ""
  30069. #. type: deftypevr
  30070. #: guix-git/doc/guix.texi:20384
  30071. 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\"}."
  30072. msgstr ""
  30073. #. type: deftypevr
  30074. #: guix-git/doc/guix.texi:20386
  30075. msgid "Defaults to @samp{\"Auto\"}."
  30076. msgstr ""
  30077. #. type: deftypevr
  30078. #: guix-git/doc/guix.texi:20388
  30079. #, no-wrap
  30080. msgid "{@code{cups-configuration} parameter} string default-policy"
  30081. msgstr ""
  30082. #. type: deftypevr
  30083. #: guix-git/doc/guix.texi:20390
  30084. msgid "Specifies the default access policy to use."
  30085. msgstr ""
  30086. #. type: deftypevr
  30087. #: guix-git/doc/guix.texi:20392
  30088. msgid "Defaults to @samp{\"default\"}."
  30089. msgstr ""
  30090. #. type: deftypevr
  30091. #: guix-git/doc/guix.texi:20394
  30092. #, no-wrap
  30093. msgid "{@code{cups-configuration} parameter} boolean default-shared?"
  30094. msgstr ""
  30095. #. type: deftypevr
  30096. #: guix-git/doc/guix.texi:20396
  30097. msgid "Specifies whether local printers are shared by default."
  30098. msgstr ""
  30099. #. type: deftypevr
  30100. #: guix-git/doc/guix.texi:20398 guix-git/doc/guix.texi:20478
  30101. #: guix-git/doc/guix.texi:20768 guix-git/doc/guix.texi:23587
  30102. #: guix-git/doc/guix.texi:23638 guix-git/doc/guix.texi:23645
  30103. #: guix-git/doc/guix.texi:24927 guix-git/doc/guix.texi:25115
  30104. #: guix-git/doc/guix.texi:25232 guix-git/doc/guix.texi:25268
  30105. #: guix-git/doc/guix.texi:25319 guix-git/doc/guix.texi:25338
  30106. #: guix-git/doc/guix.texi:25348 guix-git/doc/guix.texi:25358
  30107. #: guix-git/doc/guix.texi:25417 guix-git/doc/guix.texi:25439
  30108. #: guix-git/doc/guix.texi:25464 guix-git/doc/guix.texi:25490
  30109. #: guix-git/doc/guix.texi:25508 guix-git/doc/guix.texi:28613
  30110. #: guix-git/doc/guix.texi:28641 guix-git/doc/guix.texi:28777
  30111. #: guix-git/doc/guix.texi:28784 guix-git/doc/guix.texi:28792
  30112. #: guix-git/doc/guix.texi:28829 guix-git/doc/guix.texi:28843
  30113. #: guix-git/doc/guix.texi:28932 guix-git/doc/guix.texi:28939
  30114. #: guix-git/doc/guix.texi:28947 guix-git/doc/guix.texi:29726
  30115. #: guix-git/doc/guix.texi:29866 guix-git/doc/guix.texi:30080
  30116. #: guix-git/doc/guix.texi:30087 guix-git/doc/guix.texi:30109
  30117. #: guix-git/doc/guix.texi:30148 guix-git/doc/guix.texi:30168
  30118. #: guix-git/doc/guix.texi:30182 guix-git/doc/guix.texi:30395
  30119. #: guix-git/doc/guix.texi:32310 guix-git/doc/guix.texi:32398
  30120. #: guix-git/doc/guix.texi:32414 guix-git/doc/guix.texi:32464
  30121. msgid "Defaults to @samp{#t}."
  30122. msgstr ""
  30123. #. type: deftypevr
  30124. #: guix-git/doc/guix.texi:20400
  30125. #, no-wrap
  30126. msgid "{@code{cups-configuration} parameter} non-negative-integer dirty-clean-interval"
  30127. msgstr ""
  30128. #. type: deftypevr
  30129. #: guix-git/doc/guix.texi:20404
  30130. 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."
  30131. msgstr ""
  30132. #. type: deftypevr
  30133. #: guix-git/doc/guix.texi:20406 guix-git/doc/guix.texi:20454
  30134. #: guix-git/doc/guix.texi:20463 guix-git/doc/guix.texi:20775
  30135. #: guix-git/doc/guix.texi:25277 guix-git/doc/guix.texi:25310
  30136. msgid "Defaults to @samp{30}."
  30137. msgstr ""
  30138. #. type: deftypevr
  30139. #: guix-git/doc/guix.texi:20408
  30140. #, no-wrap
  30141. msgid "{@code{cups-configuration} parameter} error-policy error-policy"
  30142. msgstr ""
  30143. #. type: deftypevr
  30144. #: guix-git/doc/guix.texi:20414
  30145. 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."
  30146. msgstr ""
  30147. #. type: deftypevr
  30148. #: guix-git/doc/guix.texi:20416
  30149. msgid "Defaults to @samp{stop-printer}."
  30150. msgstr ""
  30151. #. type: deftypevr
  30152. #: guix-git/doc/guix.texi:20418
  30153. #, no-wrap
  30154. msgid "{@code{cups-configuration} parameter} non-negative-integer filter-limit"
  30155. msgstr ""
  30156. #. type: deftypevr
  30157. #: guix-git/doc/guix.texi:20426
  30158. 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."
  30159. msgstr ""
  30160. #. type: deftypevr
  30161. #: guix-git/doc/guix.texi:20428 guix-git/doc/guix.texi:20436
  30162. #: guix-git/doc/guix.texi:20485 guix-git/doc/guix.texi:20601
  30163. #: guix-git/doc/guix.texi:20615 guix-git/doc/guix.texi:20622
  30164. #: guix-git/doc/guix.texi:22142 guix-git/doc/guix.texi:22158
  30165. #: guix-git/doc/guix.texi:22815 guix-git/doc/guix.texi:22827
  30166. #: guix-git/doc/guix.texi:23606 guix-git/doc/guix.texi:23615
  30167. #: guix-git/doc/guix.texi:23623 guix-git/doc/guix.texi:23631
  30168. #: guix-git/doc/guix.texi:29742 guix-git/doc/guix.texi:30095
  30169. #: guix-git/doc/guix.texi:32303 guix-git/doc/guix.texi:32603
  30170. #: guix-git/doc/guix.texi:32777
  30171. msgid "Defaults to @samp{0}."
  30172. msgstr ""
  30173. #. type: deftypevr
  30174. #: guix-git/doc/guix.texi:20430
  30175. #, no-wrap
  30176. msgid "{@code{cups-configuration} parameter} non-negative-integer filter-nice"
  30177. msgstr ""
  30178. #. type: deftypevr
  30179. #: guix-git/doc/guix.texi:20434
  30180. 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."
  30181. msgstr ""
  30182. #. type: deftypevr
  30183. #: guix-git/doc/guix.texi:20438
  30184. #, no-wrap
  30185. msgid "{@code{cups-configuration} parameter} host-name-lookups host-name-lookups"
  30186. msgstr ""
  30187. #. type: deftypevr
  30188. #: guix-git/doc/guix.texi:20445
  30189. 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."
  30190. msgstr ""
  30191. #. type: deftypevr
  30192. #: guix-git/doc/guix.texi:20449
  30193. #, no-wrap
  30194. msgid "{@code{cups-configuration} parameter} non-negative-integer job-kill-delay"
  30195. msgstr ""
  30196. #. type: deftypevr
  30197. #: guix-git/doc/guix.texi:20452
  30198. msgid "Specifies the number of seconds to wait before killing the filters and backend associated with a canceled or held job."
  30199. msgstr ""
  30200. #. type: deftypevr
  30201. #: guix-git/doc/guix.texi:20456
  30202. #, no-wrap
  30203. msgid "{@code{cups-configuration} parameter} non-negative-integer job-retry-interval"
  30204. msgstr ""
  30205. #. type: deftypevr
  30206. #: guix-git/doc/guix.texi:20461
  30207. 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}."
  30208. msgstr ""
  30209. #. type: deftypevr
  30210. #: guix-git/doc/guix.texi:20465
  30211. #, no-wrap
  30212. msgid "{@code{cups-configuration} parameter} non-negative-integer job-retry-limit"
  30213. msgstr ""
  30214. #. type: deftypevr
  30215. #: guix-git/doc/guix.texi:20470
  30216. 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}."
  30217. msgstr ""
  30218. #. type: deftypevr
  30219. #: guix-git/doc/guix.texi:20472 guix-git/doc/guix.texi:25241
  30220. #: guix-git/doc/guix.texi:30647 guix-git/doc/guix.texi:30667
  30221. #: guix-git/doc/guix.texi:30683 guix-git/doc/guix.texi:30697
  30222. #: guix-git/doc/guix.texi:30704 guix-git/doc/guix.texi:30711
  30223. #: guix-git/doc/guix.texi:30718 guix-git/doc/guix.texi:30878
  30224. #: guix-git/doc/guix.texi:30894 guix-git/doc/guix.texi:30901
  30225. #: guix-git/doc/guix.texi:30908 guix-git/doc/guix.texi:30919
  30226. #: guix-git/doc/guix.texi:32255 guix-git/doc/guix.texi:32263
  30227. #: guix-git/doc/guix.texi:32271 guix-git/doc/guix.texi:32295
  30228. msgid "Defaults to @samp{5}."
  30229. msgstr ""
  30230. #. type: deftypevr
  30231. #: guix-git/doc/guix.texi:20474
  30232. #, no-wrap
  30233. msgid "{@code{cups-configuration} parameter} boolean keep-alive?"
  30234. msgstr ""
  30235. #. type: deftypevr
  30236. #: guix-git/doc/guix.texi:20476
  30237. msgid "Specifies whether to support HTTP keep-alive connections."
  30238. msgstr ""
  30239. #. type: deftypevr
  30240. #: guix-git/doc/guix.texi:20480
  30241. #, no-wrap
  30242. msgid "{@code{cups-configuration} parameter} non-negative-integer limit-request-body"
  30243. msgstr ""
  30244. #. type: deftypevr
  30245. #: guix-git/doc/guix.texi:20483
  30246. msgid "Specifies the maximum size of print files, IPP requests, and HTML form data. A limit of 0 disables the limit check."
  30247. msgstr ""
  30248. #. type: deftypevr
  30249. #: guix-git/doc/guix.texi:20487
  30250. #, no-wrap
  30251. msgid "{@code{cups-configuration} parameter} multiline-string-list listen"
  30252. msgstr ""
  30253. #. type: deftypevr
  30254. #: guix-git/doc/guix.texi:20494
  30255. 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."
  30256. msgstr ""
  30257. #. type: deftypevr
  30258. #: guix-git/doc/guix.texi:20496
  30259. #, no-wrap
  30260. msgid "{@code{cups-configuration} parameter} non-negative-integer listen-back-log"
  30261. msgstr ""
  30262. #. type: deftypevr
  30263. #: guix-git/doc/guix.texi:20503
  30264. 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."
  30265. msgstr ""
  30266. #. type: deftypevr
  30267. #: guix-git/doc/guix.texi:20505
  30268. msgid "Defaults to @samp{128}."
  30269. msgstr ""
  30270. #. type: deftypevr
  30271. #: guix-git/doc/guix.texi:20507
  30272. #, no-wrap
  30273. msgid "{@code{cups-configuration} parameter} location-access-control-list location-access-controls"
  30274. msgstr ""
  30275. #. type: deftypevr
  30276. #: guix-git/doc/guix.texi:20509
  30277. msgid "Specifies a set of additional access controls."
  30278. msgstr ""
  30279. #. type: deftypevr
  30280. #: guix-git/doc/guix.texi:20511
  30281. msgid "Available @code{location-access-controls} fields are:"
  30282. msgstr ""
  30283. #. type: deftypevr
  30284. #: guix-git/doc/guix.texi:20512
  30285. #, no-wrap
  30286. msgid "{@code{location-access-controls} parameter} file-name path"
  30287. msgstr ""
  30288. #. type: deftypevr
  30289. #: guix-git/doc/guix.texi:20514
  30290. msgid "Specifies the URI path to which the access control applies."
  30291. msgstr ""
  30292. #. type: deftypevr
  30293. #: guix-git/doc/guix.texi:20516
  30294. #, no-wrap
  30295. msgid "{@code{location-access-controls} parameter} access-control-list access-controls"
  30296. msgstr ""
  30297. #. type: deftypevr
  30298. #: guix-git/doc/guix.texi:20519
  30299. msgid "Access controls for all access to this path, in the same format as the @code{access-controls} of @code{operation-access-control}."
  30300. msgstr ""
  30301. #. type: deftypevr
  30302. #: guix-git/doc/guix.texi:20521 guix-git/doc/guix.texi:20527
  30303. #: guix-git/doc/guix.texi:20541 guix-git/doc/guix.texi:20548
  30304. #: guix-git/doc/guix.texi:20690 guix-git/doc/guix.texi:20749
  30305. #: guix-git/doc/guix.texi:20827 guix-git/doc/guix.texi:20841
  30306. #: guix-git/doc/guix.texi:22022 guix-git/doc/guix.texi:22031
  30307. #: guix-git/doc/guix.texi:23301 guix-git/doc/guix.texi:23504
  30308. #: guix-git/doc/guix.texi:23532 guix-git/doc/guix.texi:23562
  30309. #: guix-git/doc/guix.texi:23677 guix-git/doc/guix.texi:23690
  30310. #: guix-git/doc/guix.texi:23697 guix-git/doc/guix.texi:25447
  30311. #: guix-git/doc/guix.texi:26283 guix-git/doc/guix.texi:26291
  30312. #: guix-git/doc/guix.texi:26536 guix-git/doc/guix.texi:28672
  30313. #: guix-git/doc/guix.texi:28850 guix-git/doc/guix.texi:29049
  30314. #: guix-git/doc/guix.texi:30538 guix-git/doc/guix.texi:30598
  30315. #: guix-git/doc/guix.texi:30606 guix-git/doc/guix.texi:32318
  30316. #: guix-git/doc/guix.texi:32325 guix-git/doc/guix.texi:32667
  30317. #: guix-git/doc/guix.texi:32745 guix-git/doc/guix.texi:32839
  30318. #: guix-git/doc/guix.texi:32847 guix-git/doc/guix.texi:32883
  30319. #: guix-git/doc/guix.texi:33033 guix-git/doc/guix.texi:33084
  30320. #: guix-git/doc/guix.texi:33093
  30321. msgid "Defaults to @samp{()}."
  30322. msgstr ""
  30323. #. type: deftypevr
  30324. #: guix-git/doc/guix.texi:20523
  30325. #, no-wrap
  30326. msgid "{@code{location-access-controls} parameter} method-access-control-list method-access-controls"
  30327. msgstr ""
  30328. #. type: deftypevr
  30329. #: guix-git/doc/guix.texi:20525
  30330. msgid "Access controls for method-specific access to this path."
  30331. msgstr ""
  30332. #. type: deftypevr
  30333. #: guix-git/doc/guix.texi:20529
  30334. msgid "Available @code{method-access-controls} fields are:"
  30335. msgstr ""
  30336. #. type: deftypevr
  30337. #: guix-git/doc/guix.texi:20530
  30338. #, no-wrap
  30339. msgid "{@code{method-access-controls} parameter} boolean reverse?"
  30340. msgstr ""
  30341. #. type: deftypevr
  30342. #: guix-git/doc/guix.texi:20533
  30343. msgid "If @code{#t}, apply access controls to all methods except the listed methods. Otherwise apply to only the listed methods."
  30344. msgstr ""
  30345. #. type: deftypevr
  30346. #: guix-git/doc/guix.texi:20537
  30347. #, no-wrap
  30348. msgid "{@code{method-access-controls} parameter} method-list methods"
  30349. msgstr ""
  30350. #. type: deftypevr
  30351. #: guix-git/doc/guix.texi:20539
  30352. msgid "Methods to which this access control applies."
  30353. msgstr ""
  30354. #. type: deftypevr
  30355. #: guix-git/doc/guix.texi:20543
  30356. #, no-wrap
  30357. msgid "{@code{method-access-controls} parameter} access-control-list access-controls"
  30358. msgstr ""
  30359. #. type: deftypevr
  30360. #: guix-git/doc/guix.texi:20546
  30361. msgid "Access control directives, as a list of strings. Each string should be one directive, such as @samp{\"Order allow,deny\"}."
  30362. msgstr ""
  30363. #. type: deftypevr
  30364. #: guix-git/doc/guix.texi:20552
  30365. #, no-wrap
  30366. msgid "{@code{cups-configuration} parameter} non-negative-integer log-debug-history"
  30367. msgstr ""
  30368. #. type: deftypevr
  30369. #: guix-git/doc/guix.texi:20556
  30370. 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."
  30371. msgstr ""
  30372. #. type: deftypevr
  30373. #: guix-git/doc/guix.texi:20558 guix-git/doc/guix.texi:20579
  30374. #: guix-git/doc/guix.texi:20586 guix-git/doc/guix.texi:23061
  30375. #: guix-git/doc/guix.texi:24979 guix-git/doc/guix.texi:24994
  30376. #: guix-git/doc/guix.texi:29034
  30377. msgid "Defaults to @samp{100}."
  30378. msgstr ""
  30379. #. type: deftypevr
  30380. #: guix-git/doc/guix.texi:20560
  30381. #, no-wrap
  30382. msgid "{@code{cups-configuration} parameter} log-level log-level"
  30383. msgstr ""
  30384. #. type: deftypevr
  30385. #: guix-git/doc/guix.texi:20563
  30386. msgid "Specifies the level of logging for the ErrorLog file. The value @code{none} stops all logging while @code{debug2} logs everything."
  30387. msgstr ""
  30388. #. type: deftypevr
  30389. #: guix-git/doc/guix.texi:20565 guix-git/doc/guix.texi:25456
  30390. msgid "Defaults to @samp{info}."
  30391. msgstr ""
  30392. #. type: deftypevr
  30393. #: guix-git/doc/guix.texi:20567
  30394. #, no-wrap
  30395. msgid "{@code{cups-configuration} parameter} log-time-format log-time-format"
  30396. msgstr ""
  30397. #. type: deftypevr
  30398. #: guix-git/doc/guix.texi:20570
  30399. 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."
  30400. msgstr ""
  30401. #. type: deftypevr
  30402. #: guix-git/doc/guix.texi:20572
  30403. msgid "Defaults to @samp{standard}."
  30404. msgstr ""
  30405. #. type: deftypevr
  30406. #: guix-git/doc/guix.texi:20574
  30407. #, no-wrap
  30408. msgid "{@code{cups-configuration} parameter} non-negative-integer max-clients"
  30409. msgstr ""
  30410. #. type: deftypevr
  30411. #: guix-git/doc/guix.texi:20577
  30412. msgid "Specifies the maximum number of simultaneous clients that are allowed by the scheduler."
  30413. msgstr ""
  30414. #. type: deftypevr
  30415. #: guix-git/doc/guix.texi:20581
  30416. #, no-wrap
  30417. msgid "{@code{cups-configuration} parameter} non-negative-integer max-clients-per-host"
  30418. msgstr ""
  30419. #. type: deftypevr
  30420. #: guix-git/doc/guix.texi:20584
  30421. msgid "Specifies the maximum number of simultaneous clients that are allowed from a single address."
  30422. msgstr ""
  30423. #. type: deftypevr
  30424. #: guix-git/doc/guix.texi:20588
  30425. #, no-wrap
  30426. msgid "{@code{cups-configuration} parameter} non-negative-integer max-copies"
  30427. msgstr ""
  30428. #. type: deftypevr
  30429. #: guix-git/doc/guix.texi:20591
  30430. msgid "Specifies the maximum number of copies that a user can print of each job."
  30431. msgstr ""
  30432. #. type: deftypevr
  30433. #: guix-git/doc/guix.texi:20593
  30434. msgid "Defaults to @samp{9999}."
  30435. msgstr ""
  30436. #. type: deftypevr
  30437. #: guix-git/doc/guix.texi:20595
  30438. #, no-wrap
  30439. msgid "{@code{cups-configuration} parameter} non-negative-integer max-hold-time"
  30440. msgstr ""
  30441. #. type: deftypevr
  30442. #: guix-git/doc/guix.texi:20599
  30443. 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."
  30444. msgstr ""
  30445. #. type: deftypevr
  30446. #: guix-git/doc/guix.texi:20603
  30447. #, no-wrap
  30448. msgid "{@code{cups-configuration} parameter} non-negative-integer max-jobs"
  30449. msgstr ""
  30450. #. type: deftypevr
  30451. #: guix-git/doc/guix.texi:20606
  30452. msgid "Specifies the maximum number of simultaneous jobs that are allowed. Set to 0 to allow an unlimited number of jobs."
  30453. msgstr ""
  30454. #. type: deftypevr
  30455. #: guix-git/doc/guix.texi:20608
  30456. msgid "Defaults to @samp{500}."
  30457. msgstr ""
  30458. #. type: deftypevr
  30459. #: guix-git/doc/guix.texi:20610
  30460. #, no-wrap
  30461. msgid "{@code{cups-configuration} parameter} non-negative-integer max-jobs-per-printer"
  30462. msgstr ""
  30463. #. type: deftypevr
  30464. #: guix-git/doc/guix.texi:20613
  30465. msgid "Specifies the maximum number of simultaneous jobs that are allowed per printer. A value of 0 allows up to MaxJobs jobs per printer."
  30466. msgstr ""
  30467. #. type: deftypevr
  30468. #: guix-git/doc/guix.texi:20617
  30469. #, no-wrap
  30470. msgid "{@code{cups-configuration} parameter} non-negative-integer max-jobs-per-user"
  30471. msgstr ""
  30472. #. type: deftypevr
  30473. #: guix-git/doc/guix.texi:20620
  30474. msgid "Specifies the maximum number of simultaneous jobs that are allowed per user. A value of 0 allows up to MaxJobs jobs per user."
  30475. msgstr ""
  30476. #. type: deftypevr
  30477. #: guix-git/doc/guix.texi:20624
  30478. #, no-wrap
  30479. msgid "{@code{cups-configuration} parameter} non-negative-integer max-job-time"
  30480. msgstr ""
  30481. #. type: deftypevr
  30482. #: guix-git/doc/guix.texi:20627
  30483. 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."
  30484. msgstr ""
  30485. #. type: deftypevr
  30486. #: guix-git/doc/guix.texi:20629
  30487. msgid "Defaults to @samp{10800}."
  30488. msgstr ""
  30489. #. type: deftypevr
  30490. #: guix-git/doc/guix.texi:20631
  30491. #, no-wrap
  30492. msgid "{@code{cups-configuration} parameter} non-negative-integer max-log-size"
  30493. msgstr ""
  30494. #. type: deftypevr
  30495. #: guix-git/doc/guix.texi:20634
  30496. msgid "Specifies the maximum size of the log files before they are rotated, in bytes. The value 0 disables log rotation."
  30497. msgstr ""
  30498. #. type: deftypevr
  30499. #: guix-git/doc/guix.texi:20636
  30500. msgid "Defaults to @samp{1048576}."
  30501. msgstr ""
  30502. #. type: deftypevr
  30503. #: guix-git/doc/guix.texi:20638
  30504. #, no-wrap
  30505. msgid "{@code{cups-configuration} parameter} non-negative-integer multiple-operation-timeout"
  30506. msgstr ""
  30507. #. type: deftypevr
  30508. #: guix-git/doc/guix.texi:20641
  30509. msgid "Specifies the maximum amount of time to allow between files in a multiple file print job, in seconds."
  30510. msgstr ""
  30511. #. type: deftypevr
  30512. #: guix-git/doc/guix.texi:20643 guix-git/doc/guix.texi:20854
  30513. msgid "Defaults to @samp{900}."
  30514. msgstr ""
  30515. #. type: deftypevr
  30516. #: guix-git/doc/guix.texi:20645
  30517. #, no-wrap
  30518. msgid "{@code{cups-configuration} parameter} string page-log-format"
  30519. msgstr ""
  30520. #. type: deftypevr
  30521. #: guix-git/doc/guix.texi:20650
  30522. 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:"
  30523. msgstr ""
  30524. #. type: item
  30525. #: guix-git/doc/guix.texi:20652
  30526. #, no-wrap
  30527. msgid "%%"
  30528. msgstr ""
  30529. #. type: table
  30530. #: guix-git/doc/guix.texi:20654
  30531. msgid "insert a single percent character"
  30532. msgstr ""
  30533. #. type: item
  30534. #: guix-git/doc/guix.texi:20655
  30535. #, no-wrap
  30536. msgid "%@{name@}"
  30537. msgstr ""
  30538. #. type: table
  30539. #: guix-git/doc/guix.texi:20657
  30540. msgid "insert the value of the specified IPP attribute"
  30541. msgstr ""
  30542. #. type: item
  30543. #: guix-git/doc/guix.texi:20658
  30544. #, no-wrap
  30545. msgid "%C"
  30546. msgstr ""
  30547. #. type: table
  30548. #: guix-git/doc/guix.texi:20660
  30549. msgid "insert the number of copies for the current page"
  30550. msgstr ""
  30551. #. type: item
  30552. #: guix-git/doc/guix.texi:20661
  30553. #, no-wrap
  30554. msgid "%P"
  30555. msgstr ""
  30556. #. type: table
  30557. #: guix-git/doc/guix.texi:20663
  30558. msgid "insert the current page number"
  30559. msgstr ""
  30560. #. type: item
  30561. #: guix-git/doc/guix.texi:20664
  30562. #, no-wrap
  30563. msgid "%T"
  30564. msgstr ""
  30565. #. type: table
  30566. #: guix-git/doc/guix.texi:20666
  30567. msgid "insert the current date and time in common log format"
  30568. msgstr ""
  30569. #. type: item
  30570. #: guix-git/doc/guix.texi:20667
  30571. #, no-wrap
  30572. msgid "%j"
  30573. msgstr ""
  30574. #. type: table
  30575. #: guix-git/doc/guix.texi:20669
  30576. msgid "insert the job ID"
  30577. msgstr ""
  30578. #. type: item
  30579. #: guix-git/doc/guix.texi:20670 guix-git/doc/guix.texi:22660
  30580. #, no-wrap
  30581. msgid "%p"
  30582. msgstr ""
  30583. #. type: table
  30584. #: guix-git/doc/guix.texi:20672
  30585. msgid "insert the printer name"
  30586. msgstr ""
  30587. #. type: item
  30588. #: guix-git/doc/guix.texi:20673 guix-git/doc/guix.texi:22683
  30589. #, no-wrap
  30590. msgid "%u"
  30591. msgstr ""
  30592. #. type: table
  30593. #: guix-git/doc/guix.texi:20675
  30594. msgid "insert the username"
  30595. msgstr ""
  30596. #. type: deftypevr
  30597. #: guix-git/doc/guix.texi:20681
  30598. 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."
  30599. msgstr ""
  30600. #. type: deftypevr
  30601. #: guix-git/doc/guix.texi:20685
  30602. #, no-wrap
  30603. msgid "{@code{cups-configuration} parameter} environment-variables environment-variables"
  30604. msgstr ""
  30605. #. type: deftypevr
  30606. #: guix-git/doc/guix.texi:20688
  30607. msgid "Passes the specified environment variable(s) to child processes; a list of strings."
  30608. msgstr ""
  30609. #. type: deftypevr
  30610. #: guix-git/doc/guix.texi:20692
  30611. #, no-wrap
  30612. msgid "{@code{cups-configuration} parameter} policy-configuration-list policies"
  30613. msgstr ""
  30614. #. type: deftypevr
  30615. #: guix-git/doc/guix.texi:20694
  30616. msgid "Specifies named access control policies."
  30617. msgstr ""
  30618. #. type: deftypevr
  30619. #: guix-git/doc/guix.texi:20696
  30620. msgid "Available @code{policy-configuration} fields are:"
  30621. msgstr ""
  30622. #. type: deftypevr
  30623. #: guix-git/doc/guix.texi:20697
  30624. #, no-wrap
  30625. msgid "{@code{policy-configuration} parameter} string name"
  30626. msgstr ""
  30627. #. type: deftypevr
  30628. #: guix-git/doc/guix.texi:20699
  30629. msgid "Name of the policy."
  30630. msgstr ""
  30631. #. type: deftypevr
  30632. #: guix-git/doc/guix.texi:20701
  30633. #, no-wrap
  30634. msgid "{@code{policy-configuration} parameter} string job-private-access"
  30635. msgstr ""
  30636. #. type: deftypevr
  30637. #: guix-git/doc/guix.texi:20711
  30638. 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}."
  30639. msgstr ""
  30640. #. type: deftypevr
  30641. #: guix-git/doc/guix.texi:20713 guix-git/doc/guix.texi:20735
  30642. msgid "Defaults to @samp{\"@@OWNER @@SYSTEM\"}."
  30643. msgstr ""
  30644. #. type: deftypevr
  30645. #: guix-git/doc/guix.texi:20715
  30646. #, no-wrap
  30647. msgid "{@code{policy-configuration} parameter} string job-private-values"
  30648. msgstr ""
  30649. #. type: deftypevr
  30650. #: guix-git/doc/guix.texi:20718 guix-git/doc/guix.texi:20740
  30651. msgid "Specifies the list of job values to make private, or @code{all}, @code{default}, or @code{none}."
  30652. msgstr ""
  30653. #. type: deftypevr
  30654. #: guix-git/doc/guix.texi:20721
  30655. msgid "Defaults to @samp{\"job-name job-originating-host-name job-originating-user-name phone\"}."
  30656. msgstr ""
  30657. #. type: deftypevr
  30658. #: guix-git/doc/guix.texi:20723
  30659. #, no-wrap
  30660. msgid "{@code{policy-configuration} parameter} string subscription-private-access"
  30661. msgstr ""
  30662. #. type: deftypevr
  30663. #: guix-git/doc/guix.texi:20733
  30664. 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}."
  30665. msgstr ""
  30666. #. type: deftypevr
  30667. #: guix-git/doc/guix.texi:20737
  30668. #, no-wrap
  30669. msgid "{@code{policy-configuration} parameter} string subscription-private-values"
  30670. msgstr ""
  30671. #. type: deftypevr
  30672. #: guix-git/doc/guix.texi:20743
  30673. msgid "Defaults to @samp{\"notify-events notify-pull-method notify-recipient-uri notify-subscriber-user-name notify-user-data\"}."
  30674. msgstr ""
  30675. #. type: deftypevr
  30676. #: guix-git/doc/guix.texi:20745
  30677. #, no-wrap
  30678. msgid "{@code{policy-configuration} parameter} operation-access-control-list access-controls"
  30679. msgstr ""
  30680. #. type: deftypevr
  30681. #: guix-git/doc/guix.texi:20747
  30682. msgid "Access control by IPP operation."
  30683. msgstr ""
  30684. #. type: deftypevr
  30685. #: guix-git/doc/guix.texi:20752
  30686. #, no-wrap
  30687. msgid "{@code{cups-configuration} parameter} boolean-or-non-negative-integer preserve-job-files"
  30688. msgstr ""
  30689. #. type: deftypevr
  30690. #: guix-git/doc/guix.texi:20757
  30691. 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."
  30692. msgstr ""
  30693. #. type: deftypevr
  30694. #: guix-git/doc/guix.texi:20759
  30695. msgid "Defaults to @samp{86400}."
  30696. msgstr ""
  30697. #. type: deftypevr
  30698. #: guix-git/doc/guix.texi:20761
  30699. #, no-wrap
  30700. msgid "{@code{cups-configuration} parameter} boolean-or-non-negative-integer preserve-job-history"
  30701. msgstr ""
  30702. #. type: deftypevr
  30703. #: guix-git/doc/guix.texi:20766
  30704. 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."
  30705. msgstr ""
  30706. #. type: deftypevr
  30707. #: guix-git/doc/guix.texi:20770
  30708. #, no-wrap
  30709. msgid "{@code{cups-configuration} parameter} non-negative-integer reload-timeout"
  30710. msgstr ""
  30711. #. type: deftypevr
  30712. #: guix-git/doc/guix.texi:20773
  30713. msgid "Specifies the amount of time to wait for job completion before restarting the scheduler."
  30714. msgstr ""
  30715. #. type: deftypevr
  30716. #: guix-git/doc/guix.texi:20777
  30717. #, no-wrap
  30718. msgid "{@code{cups-configuration} parameter} string rip-cache"
  30719. msgstr ""
  30720. #. type: deftypevr
  30721. #: guix-git/doc/guix.texi:20780
  30722. msgid "Specifies the maximum amount of memory to use when converting documents into bitmaps for a printer."
  30723. msgstr ""
  30724. #. type: deftypevr
  30725. #: guix-git/doc/guix.texi:20782
  30726. msgid "Defaults to @samp{\"128m\"}."
  30727. msgstr ""
  30728. #. type: deftypevr
  30729. #: guix-git/doc/guix.texi:20784
  30730. #, no-wrap
  30731. msgid "{@code{cups-configuration} parameter} string server-admin"
  30732. msgstr ""
  30733. #. type: deftypevr
  30734. #: guix-git/doc/guix.texi:20786
  30735. msgid "Specifies the email address of the server administrator."
  30736. msgstr ""
  30737. #. type: deftypevr
  30738. #: guix-git/doc/guix.texi:20788
  30739. msgid "Defaults to @samp{\"root@@localhost.localdomain\"}."
  30740. msgstr ""
  30741. #. type: deftypevr
  30742. #: guix-git/doc/guix.texi:20790
  30743. #, no-wrap
  30744. msgid "{@code{cups-configuration} parameter} host-name-list-or-* server-alias"
  30745. msgstr ""
  30746. #. type: deftypevr
  30747. #: guix-git/doc/guix.texi:20798
  30748. 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{*}."
  30749. msgstr ""
  30750. #. type: deftypevr
  30751. #: guix-git/doc/guix.texi:20800
  30752. msgid "Defaults to @samp{*}."
  30753. msgstr ""
  30754. #. type: deftypevr
  30755. #: guix-git/doc/guix.texi:20802
  30756. #, no-wrap
  30757. msgid "{@code{cups-configuration} parameter} string server-name"
  30758. msgstr ""
  30759. #. type: deftypevr
  30760. #: guix-git/doc/guix.texi:20804
  30761. msgid "Specifies the fully-qualified host name of the server."
  30762. msgstr ""
  30763. #. type: deftypevr
  30764. #: guix-git/doc/guix.texi:20806
  30765. msgid "Defaults to @samp{\"localhost\"}."
  30766. msgstr ""
  30767. #. type: deftypevr
  30768. #: guix-git/doc/guix.texi:20808
  30769. #, no-wrap
  30770. msgid "{@code{cups-configuration} parameter} server-tokens server-tokens"
  30771. msgstr ""
  30772. #. type: deftypevr
  30773. #: guix-git/doc/guix.texi:20816
  30774. 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}."
  30775. msgstr ""
  30776. #. type: deftypevr
  30777. #: guix-git/doc/guix.texi:20818
  30778. msgid "Defaults to @samp{Minimal}."
  30779. msgstr ""
  30780. #. type: deftypevr
  30781. #: guix-git/doc/guix.texi:20820
  30782. #, no-wrap
  30783. msgid "{@code{cups-configuration} parameter} multiline-string-list ssl-listen"
  30784. msgstr ""
  30785. #. type: deftypevr
  30786. #: guix-git/doc/guix.texi:20825
  30787. 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."
  30788. msgstr ""
  30789. #. type: deftypevr
  30790. #: guix-git/doc/guix.texi:20829
  30791. #, no-wrap
  30792. msgid "{@code{cups-configuration} parameter} ssl-options ssl-options"
  30793. msgstr ""
  30794. #. type: deftypevr
  30795. #: guix-git/doc/guix.texi:20839
  30796. 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."
  30797. msgstr ""
  30798. #. type: deftypevr
  30799. #: guix-git/doc/guix.texi:20843
  30800. #, no-wrap
  30801. msgid "{@code{cups-configuration} parameter} boolean strict-conformance?"
  30802. msgstr ""
  30803. #. type: deftypevr
  30804. #: guix-git/doc/guix.texi:20846
  30805. msgid "Specifies whether the scheduler requires clients to strictly adhere to the IPP specifications."
  30806. msgstr ""
  30807. #. type: deftypevr
  30808. #: guix-git/doc/guix.texi:20850
  30809. #, no-wrap
  30810. msgid "{@code{cups-configuration} parameter} non-negative-integer timeout"
  30811. msgstr ""
  30812. #. type: deftypevr
  30813. #: guix-git/doc/guix.texi:20852
  30814. msgid "Specifies the HTTP request timeout, in seconds."
  30815. msgstr ""
  30816. #. type: deftypevr
  30817. #: guix-git/doc/guix.texi:20857
  30818. #, no-wrap
  30819. msgid "{@code{cups-configuration} parameter} boolean web-interface?"
  30820. msgstr ""
  30821. #. type: deftypevr
  30822. #: guix-git/doc/guix.texi:20859
  30823. msgid "Specifies whether the web interface is enabled."
  30824. msgstr ""
  30825. #. type: Plain text
  30826. #: guix-git/doc/guix.texi:20869
  30827. 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}."
  30828. msgstr ""
  30829. #. type: Plain text
  30830. #: guix-git/doc/guix.texi:20871
  30831. msgid "Available @code{opaque-cups-configuration} fields are:"
  30832. msgstr ""
  30833. #. type: deftypevr
  30834. #: guix-git/doc/guix.texi:20872
  30835. #, no-wrap
  30836. msgid "{@code{opaque-cups-configuration} parameter} package cups"
  30837. msgstr ""
  30838. #. type: deftypevr
  30839. #: guix-git/doc/guix.texi:20876
  30840. #, no-wrap
  30841. msgid "{@code{opaque-cups-configuration} parameter} string cupsd.conf"
  30842. msgstr ""
  30843. #. type: deftypevr
  30844. #: guix-git/doc/guix.texi:20878
  30845. msgid "The contents of the @code{cupsd.conf}, as a string."
  30846. msgstr ""
  30847. #. type: deftypevr
  30848. #: guix-git/doc/guix.texi:20880
  30849. #, no-wrap
  30850. msgid "{@code{opaque-cups-configuration} parameter} string cups-files.conf"
  30851. msgstr ""
  30852. #. type: deftypevr
  30853. #: guix-git/doc/guix.texi:20882
  30854. msgid "The contents of the @code{cups-files.conf} file, as a string."
  30855. msgstr ""
  30856. #. type: Plain text
  30857. #: guix-git/doc/guix.texi:20887
  30858. 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:"
  30859. msgstr ""
  30860. #. type: lisp
  30861. #: guix-git/doc/guix.texi:20893
  30862. #, no-wrap
  30863. msgid ""
  30864. "(service cups-service-type\n"
  30865. " (opaque-cups-configuration\n"
  30866. " (cupsd.conf cupsd.conf)\n"
  30867. " (cups-files.conf cups-files.conf)))\n"
  30868. msgstr ""
  30869. #. type: Plain text
  30870. #: guix-git/doc/guix.texi:20904
  30871. 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."
  30872. msgstr ""
  30873. #. type: Plain text
  30874. #: guix-git/doc/guix.texi:20908
  30875. 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:"
  30876. msgstr ""
  30877. #. type: defvr
  30878. #: guix-git/doc/guix.texi:20909
  30879. #, no-wrap
  30880. msgid "{Scheme Variable} %desktop-services"
  30881. msgstr ""
  30882. #. type: defvr
  30883. #: guix-git/doc/guix.texi:20912
  30884. msgid "This is a list of services that builds upon @code{%base-services} and adds or adjusts services for a typical ``desktop'' setup."
  30885. msgstr ""
  30886. #. type: defvr
  30887. #: guix-git/doc/guix.texi:20923
  30888. 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})."
  30889. msgstr ""
  30890. #. type: Plain text
  30891. #: guix-git/doc/guix.texi:20928
  30892. 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}})."
  30893. msgstr ""
  30894. #. type: Plain text
  30895. #: guix-git/doc/guix.texi:20951
  30896. 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."
  30897. msgstr ""
  30898. #. type: Plain text
  30899. #: guix-git/doc/guix.texi:20961
  30900. msgid "The desktop environments in Guix use the Xorg display server by default. If you'd like to use the newer display server protocol called Wayland, you need to enable Wayland support in GDM (@pxref{wayland-gdm}). Another solution is to use the @code{sddm-service} instead of GDM as the graphical login manager. You should then select the ``GNOME (Wayland)'' session in SDDM@. Alternatively you can also try starting GNOME on Wayland manually from a TTY with the command ``XDG_SESSION_TYPE=wayland exec dbus-run-session gnome-session``. Currently only GNOME has support for Wayland."
  30901. msgstr ""
  30902. #. type: defvr
  30903. #: guix-git/doc/guix.texi:20962
  30904. #, no-wrap
  30905. msgid "{Scheme Variable} gnome-desktop-service-type"
  30906. msgstr ""
  30907. #. type: defvr
  30908. #: guix-git/doc/guix.texi:20966
  30909. 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)."
  30910. msgstr ""
  30911. #. type: defvr
  30912. #: guix-git/doc/guix.texi:20969
  30913. msgid "This service adds the @code{gnome} package to the system profile, and extends polkit with the actions from @code{gnome-settings-daemon}."
  30914. msgstr ""
  30915. #. type: deftp
  30916. #: guix-git/doc/guix.texi:20971
  30917. #, no-wrap
  30918. msgid "{Data Type} gnome-desktop-configuration"
  30919. msgstr ""
  30920. #. type: deftp
  30921. #: guix-git/doc/guix.texi:20973
  30922. msgid "Configuration record for the GNOME desktop environment."
  30923. msgstr ""
  30924. #. type: item
  30925. #: guix-git/doc/guix.texi:20975
  30926. #, no-wrap
  30927. msgid "@code{gnome} (default: @code{gnome})"
  30928. msgstr ""
  30929. #. type: table
  30930. #: guix-git/doc/guix.texi:20977
  30931. msgid "The GNOME package to use."
  30932. msgstr ""
  30933. #. type: defvr
  30934. #: guix-git/doc/guix.texi:20980
  30935. #, no-wrap
  30936. msgid "{Scheme Variable} xfce-desktop-service-type"
  30937. msgstr ""
  30938. #. type: defvr
  30939. #: guix-git/doc/guix.texi:20984
  30940. 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)."
  30941. msgstr ""
  30942. #. type: defvr
  30943. #: guix-git/doc/guix.texi:20989
  30944. 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."
  30945. msgstr ""
  30946. #. type: defvr
  30947. #: guix-git/doc/guix.texi:20995
  30948. 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}."
  30949. msgstr ""
  30950. #. type: deftp
  30951. #: guix-git/doc/guix.texi:20997
  30952. #, no-wrap
  30953. msgid "{Data Type} xfce-desktop-configuration"
  30954. msgstr ""
  30955. #. type: deftp
  30956. #: guix-git/doc/guix.texi:20999
  30957. msgid "Configuration record for the Xfce desktop environment."
  30958. msgstr ""
  30959. #. type: item
  30960. #: guix-git/doc/guix.texi:21001
  30961. #, no-wrap
  30962. msgid "@code{xfce} (default: @code{xfce})"
  30963. msgstr ""
  30964. #. type: table
  30965. #: guix-git/doc/guix.texi:21003
  30966. msgid "The Xfce package to use."
  30967. msgstr ""
  30968. #. type: deffn
  30969. #: guix-git/doc/guix.texi:21006
  30970. #, no-wrap
  30971. msgid "{Scheme Variable} mate-desktop-service-type"
  30972. msgstr ""
  30973. #. type: deffn
  30974. #: guix-git/doc/guix.texi:21010
  30975. 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)."
  30976. msgstr ""
  30977. #. type: deffn
  30978. #: guix-git/doc/guix.texi:21014
  30979. msgid "This service adds the @code{mate} package to the system profile, and extends polkit with the actions from @code{mate-settings-daemon}."
  30980. msgstr ""
  30981. #. type: deftp
  30982. #: guix-git/doc/guix.texi:21016
  30983. #, no-wrap
  30984. msgid "{Data Type} mate-desktop-configuration"
  30985. msgstr ""
  30986. #. type: deftp
  30987. #: guix-git/doc/guix.texi:21018
  30988. msgid "Configuration record for the MATE desktop environment."
  30989. msgstr ""
  30990. #. type: item
  30991. #: guix-git/doc/guix.texi:21020
  30992. #, no-wrap
  30993. msgid "@code{mate} (default: @code{mate})"
  30994. msgstr ""
  30995. #. type: table
  30996. #: guix-git/doc/guix.texi:21022
  30997. msgid "The MATE package to use."
  30998. msgstr ""
  30999. #. type: deffn
  31000. #: guix-git/doc/guix.texi:21025
  31001. #, no-wrap
  31002. msgid "{Scheme Variable} lxqt-desktop-service-type"
  31003. msgstr ""
  31004. #. type: deffn
  31005. #: guix-git/doc/guix.texi:21029
  31006. 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)."
  31007. msgstr ""
  31008. #. type: deffn
  31009. #: guix-git/doc/guix.texi:21032
  31010. msgid "This service adds the @code{lxqt} package to the system profile."
  31011. msgstr ""
  31012. #. type: deftp
  31013. #: guix-git/doc/guix.texi:21034
  31014. #, no-wrap
  31015. msgid "{Data Type} lxqt-desktop-configuration"
  31016. msgstr ""
  31017. #. type: deftp
  31018. #: guix-git/doc/guix.texi:21036
  31019. msgid "Configuration record for the LXQt desktop environment."
  31020. msgstr ""
  31021. #. type: item
  31022. #: guix-git/doc/guix.texi:21038
  31023. #, no-wrap
  31024. msgid "@code{lxqt} (default: @code{lxqt})"
  31025. msgstr ""
  31026. #. type: table
  31027. #: guix-git/doc/guix.texi:21040
  31028. msgid "The LXQT package to use."
  31029. msgstr ""
  31030. #. type: deffn
  31031. #: guix-git/doc/guix.texi:21043
  31032. #, no-wrap
  31033. msgid "{Scheme Variable} enlightenment-desktop-service-type"
  31034. msgstr ""
  31035. #. type: deffn
  31036. #: guix-git/doc/guix.texi:21046
  31037. msgid "Return a service that adds the @code{enlightenment} package to the system profile, and extends dbus with actions from @code{efl}."
  31038. msgstr ""
  31039. #. type: deftp
  31040. #: guix-git/doc/guix.texi:21048
  31041. #, no-wrap
  31042. msgid "{Data Type} enlightenment-desktop-service-configuration"
  31043. msgstr ""
  31044. #. type: item
  31045. #: guix-git/doc/guix.texi:21050
  31046. #, no-wrap
  31047. msgid "@code{enlightenment} (default: @code{enlightenment})"
  31048. msgstr ""
  31049. #. type: table
  31050. #: guix-git/doc/guix.texi:21052
  31051. msgid "The enlightenment package to use."
  31052. msgstr ""
  31053. #. type: Plain text
  31054. #: guix-git/doc/guix.texi:21060
  31055. 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}:"
  31056. msgstr ""
  31057. #. type: lisp
  31058. #: guix-git/doc/guix.texi:21071
  31059. #, no-wrap
  31060. msgid ""
  31061. "(use-modules (gnu))\n"
  31062. "(use-service-modules desktop)\n"
  31063. "(operating-system\n"
  31064. " ...\n"
  31065. " ;; cons* adds items to the list given as its last argument.\n"
  31066. " (services (cons* (service gnome-desktop-service-type)\n"
  31067. " (service xfce-desktop-service)\n"
  31068. " %desktop-services))\n"
  31069. " ...)\n"
  31070. msgstr ""
  31071. #. type: Plain text
  31072. #: guix-git/doc/guix.texi:21075
  31073. msgid "These desktop environments will then be available as options in the graphical login window."
  31074. msgstr ""
  31075. #. type: Plain text
  31076. #: guix-git/doc/guix.texi:21079
  31077. 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."
  31078. msgstr ""
  31079. #. type: deffn
  31080. #: guix-git/doc/guix.texi:21080
  31081. #, no-wrap
  31082. msgid "{Scheme Procedure} dbus-service [#:dbus @var{dbus}] [#:services '()]"
  31083. msgstr ""
  31084. #. type: deffn
  31085. #: guix-git/doc/guix.texi:21083
  31086. msgid "Return a service that runs the ``system bus'', using @var{dbus}, with support for @var{services}."
  31087. msgstr ""
  31088. #. type: deffn
  31089. #: guix-git/doc/guix.texi:21087
  31090. 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."
  31091. msgstr ""
  31092. #. type: deffn
  31093. #: guix-git/doc/guix.texi:21092
  31094. 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)}."
  31095. msgstr ""
  31096. #. type: deffn
  31097. #: guix-git/doc/guix.texi:21094
  31098. #, no-wrap
  31099. msgid "{Scheme Procedure} elogind-service [#:config @var{config}]"
  31100. msgstr ""
  31101. #. type: deffn
  31102. #: guix-git/doc/guix.texi:21100
  31103. 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."
  31104. msgstr ""
  31105. #. type: deffn
  31106. #: guix-git/doc/guix.texi:21104
  31107. 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."
  31108. msgstr ""
  31109. #. type: deffn
  31110. #: guix-git/doc/guix.texi:21109
  31111. 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:"
  31112. msgstr ""
  31113. #. type: item
  31114. #: guix-git/doc/guix.texi:21111
  31115. #, no-wrap
  31116. msgid "kill-user-processes?"
  31117. msgstr ""
  31118. #. type: code{#1}
  31119. #: guix-git/doc/guix.texi:21113 guix-git/doc/guix.texi:21133
  31120. #: guix-git/doc/guix.texi:21135 guix-git/doc/guix.texi:21137
  31121. #: guix-git/doc/guix.texi:21149
  31122. msgid "#f"
  31123. msgstr ""
  31124. #. type: item
  31125. #: guix-git/doc/guix.texi:21113
  31126. #, no-wrap
  31127. msgid "kill-only-users"
  31128. msgstr ""
  31129. #. type: code{#1}
  31130. #: guix-git/doc/guix.texi:21115 guix-git/doc/guix.texi:21155
  31131. msgid "()"
  31132. msgstr ""
  31133. #. type: item
  31134. #: guix-git/doc/guix.texi:21115
  31135. #, no-wrap
  31136. msgid "kill-exclude-users"
  31137. msgstr ""
  31138. #. type: code{#1}
  31139. #: guix-git/doc/guix.texi:21117
  31140. msgid "(\"root\")"
  31141. msgstr ""
  31142. #. type: item
  31143. #: guix-git/doc/guix.texi:21117
  31144. #, no-wrap
  31145. msgid "inhibit-delay-max-seconds"
  31146. msgstr ""
  31147. #. type: code{#1}
  31148. #: guix-git/doc/guix.texi:21119
  31149. msgid "5"
  31150. msgstr "5"
  31151. #. type: item
  31152. #: guix-git/doc/guix.texi:21119
  31153. #, no-wrap
  31154. msgid "handle-power-key"
  31155. msgstr ""
  31156. #. type: code{#1}
  31157. #: guix-git/doc/guix.texi:21121
  31158. msgid "poweroff"
  31159. msgstr ""
  31160. #. type: item
  31161. #: guix-git/doc/guix.texi:21121
  31162. #, no-wrap
  31163. msgid "handle-suspend-key"
  31164. msgstr ""
  31165. #. type: code{#1}
  31166. #: guix-git/doc/guix.texi:21123 guix-git/doc/guix.texi:21127
  31167. msgid "suspend"
  31168. msgstr ""
  31169. #. type: item
  31170. #: guix-git/doc/guix.texi:21123
  31171. #, no-wrap
  31172. msgid "handle-hibernate-key"
  31173. msgstr ""
  31174. #. type: code{#1}
  31175. #: guix-git/doc/guix.texi:21125
  31176. msgid "hibernate"
  31177. msgstr ""
  31178. #. type: item
  31179. #: guix-git/doc/guix.texi:21125
  31180. #, no-wrap
  31181. msgid "handle-lid-switch"
  31182. msgstr ""
  31183. #. type: item
  31184. #: guix-git/doc/guix.texi:21127
  31185. #, no-wrap
  31186. msgid "handle-lid-switch-docked"
  31187. msgstr ""
  31188. #. type: code{#1}
  31189. #: guix-git/doc/guix.texi:21129 guix-git/doc/guix.texi:21131
  31190. #: guix-git/doc/guix.texi:21143
  31191. msgid "ignore"
  31192. msgstr "ohita"
  31193. #. type: item
  31194. #: guix-git/doc/guix.texi:21129
  31195. #, no-wrap
  31196. msgid "handle-lid-switch-external-power"
  31197. msgstr ""
  31198. #. type: item
  31199. #: guix-git/doc/guix.texi:21131
  31200. #, no-wrap
  31201. msgid "power-key-ignore-inhibited?"
  31202. msgstr ""
  31203. #. type: item
  31204. #: guix-git/doc/guix.texi:21133
  31205. #, no-wrap
  31206. msgid "suspend-key-ignore-inhibited?"
  31207. msgstr ""
  31208. #. type: item
  31209. #: guix-git/doc/guix.texi:21135
  31210. #, no-wrap
  31211. msgid "hibernate-key-ignore-inhibited?"
  31212. msgstr ""
  31213. #. type: item
  31214. #: guix-git/doc/guix.texi:21137
  31215. #, no-wrap
  31216. msgid "lid-switch-ignore-inhibited?"
  31217. msgstr ""
  31218. #. type: code{#1}
  31219. #: guix-git/doc/guix.texi:21139 guix-git/doc/guix.texi:21151
  31220. msgid "#t"
  31221. msgstr ""
  31222. #. type: item
  31223. #: guix-git/doc/guix.texi:21139
  31224. #, no-wrap
  31225. msgid "holdoff-timeout-seconds"
  31226. msgstr ""
  31227. #. type: code{#1}
  31228. #: guix-git/doc/guix.texi:21141
  31229. msgid "30"
  31230. msgstr ""
  31231. #. type: item
  31232. #: guix-git/doc/guix.texi:21141
  31233. #, no-wrap
  31234. msgid "idle-action"
  31235. msgstr ""
  31236. #. type: item
  31237. #: guix-git/doc/guix.texi:21143
  31238. #, no-wrap
  31239. msgid "idle-action-seconds"
  31240. msgstr ""
  31241. #. type: code{#1}
  31242. #: guix-git/doc/guix.texi:21145
  31243. msgid "(* 30 60)"
  31244. msgstr ""
  31245. #. type: item
  31246. #: guix-git/doc/guix.texi:21145
  31247. #, no-wrap
  31248. msgid "runtime-directory-size-percent"
  31249. msgstr ""
  31250. #. type: code{#1}
  31251. #: guix-git/doc/guix.texi:21147
  31252. msgid "10"
  31253. msgstr ""
  31254. #. type: item
  31255. #: guix-git/doc/guix.texi:21147
  31256. #, no-wrap
  31257. msgid "runtime-directory-size"
  31258. msgstr ""
  31259. #. type: item
  31260. #: guix-git/doc/guix.texi:21149
  31261. #, no-wrap
  31262. msgid "remove-ipc?"
  31263. msgstr ""
  31264. #. type: item
  31265. #: guix-git/doc/guix.texi:21151
  31266. #, no-wrap
  31267. msgid "suspend-state"
  31268. msgstr ""
  31269. #. type: code{#1}
  31270. #: guix-git/doc/guix.texi:21153
  31271. msgid "(\"mem\" \"standby\" \"freeze\")"
  31272. msgstr ""
  31273. #. type: item
  31274. #: guix-git/doc/guix.texi:21153
  31275. #, no-wrap
  31276. msgid "suspend-mode"
  31277. msgstr ""
  31278. #. type: item
  31279. #: guix-git/doc/guix.texi:21155
  31280. #, no-wrap
  31281. msgid "hibernate-state"
  31282. msgstr ""
  31283. #. type: code{#1}
  31284. #: guix-git/doc/guix.texi:21157 guix-git/doc/guix.texi:21161
  31285. msgid "(\"disk\")"
  31286. msgstr ""
  31287. #. type: item
  31288. #: guix-git/doc/guix.texi:21157
  31289. #, no-wrap
  31290. msgid "hibernate-mode"
  31291. msgstr ""
  31292. #. type: code{#1}
  31293. #: guix-git/doc/guix.texi:21159
  31294. msgid "(\"platform\" \"shutdown\")"
  31295. msgstr ""
  31296. #. type: item
  31297. #: guix-git/doc/guix.texi:21159
  31298. #, no-wrap
  31299. msgid "hybrid-sleep-state"
  31300. msgstr ""
  31301. #. type: item
  31302. #: guix-git/doc/guix.texi:21161
  31303. #, no-wrap
  31304. msgid "hybrid-sleep-mode"
  31305. msgstr ""
  31306. #. type: code{#1}
  31307. #: guix-git/doc/guix.texi:21163
  31308. msgid "(\"suspend\" \"platform\" \"shutdown\")"
  31309. msgstr ""
  31310. #. type: deffn
  31311. #: guix-git/doc/guix.texi:21166
  31312. #, no-wrap
  31313. msgid "{Scheme Procedure} accountsservice-service @"
  31314. msgstr ""
  31315. #. type: deffn
  31316. #: guix-git/doc/guix.texi:21174
  31317. 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."
  31318. msgstr ""
  31319. #. type: deffn
  31320. #: guix-git/doc/guix.texi:21177
  31321. msgid "The @var{accountsservice} keyword argument is the @code{accountsservice} package to expose as a service."
  31322. msgstr ""
  31323. #. type: deffn
  31324. #: guix-git/doc/guix.texi:21179
  31325. #, no-wrap
  31326. msgid "{Scheme Procedure} polkit-service @"
  31327. msgstr ""
  31328. #. type: deffn
  31329. #: guix-git/doc/guix.texi:21188
  31330. 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."
  31331. msgstr ""
  31332. #. type: defvr
  31333. #: guix-git/doc/guix.texi:21190
  31334. #, no-wrap
  31335. msgid "{Scheme Variable} polkit-wheel-service"
  31336. msgstr ""
  31337. #. type: defvr
  31338. #: guix-git/doc/guix.texi:21195
  31339. 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}."
  31340. msgstr ""
  31341. #. type: defvr
  31342. #: guix-git/doc/guix.texi:21197
  31343. #, no-wrap
  31344. msgid "{Scheme Variable} upower-service-type"
  31345. msgstr ""
  31346. #. type: defvr
  31347. #: guix-git/doc/guix.texi:21201
  31348. 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."
  31349. msgstr ""
  31350. #. type: defvr
  31351. #: guix-git/doc/guix.texi:21204
  31352. msgid "It implements the @code{org.freedesktop.UPower} D-Bus interface, and is notably used by GNOME."
  31353. msgstr ""
  31354. #. type: deftp
  31355. #: guix-git/doc/guix.texi:21206
  31356. #, no-wrap
  31357. msgid "{Data Type} upower-configuration"
  31358. msgstr ""
  31359. #. type: deftp
  31360. #: guix-git/doc/guix.texi:21208
  31361. msgid "Data type representation the configuration for UPower."
  31362. msgstr ""
  31363. #. type: item
  31364. #: guix-git/doc/guix.texi:21211
  31365. #, no-wrap
  31366. msgid "@code{upower} (default: @var{upower})"
  31367. msgstr ""
  31368. #. type: table
  31369. #: guix-git/doc/guix.texi:21213
  31370. msgid "Package to use for @code{upower}."
  31371. msgstr ""
  31372. #. type: item
  31373. #: guix-git/doc/guix.texi:21214
  31374. #, no-wrap
  31375. msgid "@code{watts-up-pro?} (default: @code{#f})"
  31376. msgstr ""
  31377. #. type: table
  31378. #: guix-git/doc/guix.texi:21216
  31379. msgid "Enable the Watts Up Pro device."
  31380. msgstr ""
  31381. #. type: item
  31382. #: guix-git/doc/guix.texi:21217
  31383. #, no-wrap
  31384. msgid "@code{poll-batteries?} (default: @code{#t})"
  31385. msgstr ""
  31386. #. type: table
  31387. #: guix-git/doc/guix.texi:21219
  31388. msgid "Enable polling the kernel for battery level changes."
  31389. msgstr ""
  31390. #. type: item
  31391. #: guix-git/doc/guix.texi:21220
  31392. #, no-wrap
  31393. msgid "@code{ignore-lid?} (default: @code{#f})"
  31394. msgstr ""
  31395. #. type: table
  31396. #: guix-git/doc/guix.texi:21222
  31397. msgid "Ignore the lid state, this can be useful if it's incorrect on a device."
  31398. msgstr ""
  31399. #. type: item
  31400. #: guix-git/doc/guix.texi:21223
  31401. #, no-wrap
  31402. msgid "@code{use-percentage-for-policy?} (default: @code{#f})"
  31403. msgstr ""
  31404. #. type: table
  31405. #: guix-git/doc/guix.texi:21226
  31406. 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."
  31407. msgstr ""
  31408. #. type: item
  31409. #: guix-git/doc/guix.texi:21227
  31410. #, no-wrap
  31411. msgid "@code{percentage-low} (default: @code{10})"
  31412. msgstr ""
  31413. #. type: table
  31414. #: guix-git/doc/guix.texi:21230
  31415. msgid "When @code{use-percentage-for-policy?} is @code{#t}, this sets the percentage at which the battery is considered low."
  31416. msgstr ""
  31417. #. type: item
  31418. #: guix-git/doc/guix.texi:21231
  31419. #, no-wrap
  31420. msgid "@code{percentage-critical} (default: @code{3})"
  31421. msgstr ""
  31422. #. type: table
  31423. #: guix-git/doc/guix.texi:21234
  31424. msgid "When @code{use-percentage-for-policy?} is @code{#t}, this sets the percentage at which the battery is considered critical."
  31425. msgstr ""
  31426. #. type: item
  31427. #: guix-git/doc/guix.texi:21235
  31428. #, no-wrap
  31429. msgid "@code{percentage-action} (default: @code{2})"
  31430. msgstr ""
  31431. #. type: table
  31432. #: guix-git/doc/guix.texi:21238
  31433. msgid "When @code{use-percentage-for-policy?} is @code{#t}, this sets the percentage at which action will be taken."
  31434. msgstr ""
  31435. #. type: item
  31436. #: guix-git/doc/guix.texi:21239
  31437. #, no-wrap
  31438. msgid "@code{time-low} (default: @code{1200})"
  31439. msgstr ""
  31440. #. type: table
  31441. #: guix-git/doc/guix.texi:21242
  31442. msgid "When @code{use-time-for-policy?} is @code{#f}, this sets the time remaining in seconds at which the battery is considered low."
  31443. msgstr ""
  31444. #. type: item
  31445. #: guix-git/doc/guix.texi:21243
  31446. #, no-wrap
  31447. msgid "@code{time-critical} (default: @code{300})"
  31448. msgstr ""
  31449. #. type: table
  31450. #: guix-git/doc/guix.texi:21246
  31451. msgid "When @code{use-time-for-policy?} is @code{#f}, this sets the time remaining in seconds at which the battery is considered critical."
  31452. msgstr ""
  31453. #. type: item
  31454. #: guix-git/doc/guix.texi:21247
  31455. #, no-wrap
  31456. msgid "@code{time-action} (default: @code{120})"
  31457. msgstr ""
  31458. #. type: table
  31459. #: guix-git/doc/guix.texi:21250
  31460. msgid "When @code{use-time-for-policy?} is @code{#f}, this sets the time remaining in seconds at which action will be taken."
  31461. msgstr ""
  31462. #. type: item
  31463. #: guix-git/doc/guix.texi:21251
  31464. #, no-wrap
  31465. msgid "@code{critical-power-action} (default: @code{'hybrid-sleep})"
  31466. msgstr ""
  31467. #. type: table
  31468. #: guix-git/doc/guix.texi:21254
  31469. msgid "The action taken when @code{percentage-action} or @code{time-action} is reached (depending on the configuration of @code{use-percentage-for-policy?})."
  31470. msgstr ""
  31471. #. type: table
  31472. #: guix-git/doc/guix.texi:21256
  31473. msgid "Possible values are:"
  31474. msgstr ""
  31475. #. type: code{#1}
  31476. #: guix-git/doc/guix.texi:21260
  31477. msgid "'power-off"
  31478. msgstr ""
  31479. #. type: code{#1}
  31480. #: guix-git/doc/guix.texi:21263
  31481. msgid "'hibernate"
  31482. msgstr ""
  31483. #. type: itemize
  31484. #: guix-git/doc/guix.texi:21266
  31485. msgid "@code{'hybrid-sleep}."
  31486. msgstr ""
  31487. #. type: deffn
  31488. #: guix-git/doc/guix.texi:21271
  31489. #, no-wrap
  31490. msgid "{Scheme Procedure} udisks-service [#:udisks @var{udisks}]"
  31491. msgstr ""
  31492. #. type: deffn
  31493. #: guix-git/doc/guix.texi:21281
  31494. 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."
  31495. msgstr ""
  31496. #. type: deffn
  31497. #: guix-git/doc/guix.texi:21283
  31498. #, no-wrap
  31499. msgid "{Scheme Variable} colord-service-type"
  31500. msgstr ""
  31501. #. type: deffn
  31502. #: guix-git/doc/guix.texi:21290
  31503. 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."
  31504. msgstr ""
  31505. #. type: cindex
  31506. #: guix-git/doc/guix.texi:21292
  31507. #, no-wrap
  31508. msgid "scanner access"
  31509. msgstr ""
  31510. #. type: defvr
  31511. #: guix-git/doc/guix.texi:21293
  31512. #, no-wrap
  31513. msgid "{Scheme Variable} sane-service-type"
  31514. msgstr ""
  31515. #. type: defvr
  31516. #: guix-git/doc/guix.texi:21299
  31517. 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."
  31518. msgstr ""
  31519. #. type: defvr
  31520. #: guix-git/doc/guix.texi:21301
  31521. #, no-wrap
  31522. msgid "{Scheme Variable} sane-backends-minimal"
  31523. msgstr ""
  31524. #. type: defvr
  31525. #: guix-git/doc/guix.texi:21304
  31526. msgid "The default package which the @code{sane-service-type} installs. It supports many recent scanners."
  31527. msgstr ""
  31528. #. type: defvr
  31529. #: guix-git/doc/guix.texi:21306
  31530. #, no-wrap
  31531. msgid "{Scheme Variable} sane-backends"
  31532. msgstr ""
  31533. #. type: defvr
  31534. #: guix-git/doc/guix.texi:21313
  31535. 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:"
  31536. msgstr ""
  31537. #. type: lisp
  31538. #: guix-git/doc/guix.texi:21322
  31539. #, no-wrap
  31540. msgid ""
  31541. "(use-modules (gnu))\n"
  31542. "(use-service-modules\n"
  31543. " @dots{}\n"
  31544. " desktop)\n"
  31545. "(use-package-modules\n"
  31546. " @dots{}\n"
  31547. " scanner)\n"
  31548. "\n"
  31549. msgstr ""
  31550. #. type: lisp
  31551. #: guix-git/doc/guix.texi:21327
  31552. #, no-wrap
  31553. msgid ""
  31554. "(define %my-desktop-services\n"
  31555. " ;; List of desktop services that supports a broader range of scanners.\n"
  31556. " (modify-services %desktop-services\n"
  31557. " (sane-service-type _ => sane-backends)))\n"
  31558. "\n"
  31559. msgstr ""
  31560. #. type: lisp
  31561. #: guix-git/doc/guix.texi:21331
  31562. #, no-wrap
  31563. msgid ""
  31564. "(operating-system\n"
  31565. " @dots{}\n"
  31566. " (services %my-desktop-services))\n"
  31567. msgstr ""
  31568. #. type: deffn
  31569. #: guix-git/doc/guix.texi:21334
  31570. #, no-wrap
  31571. msgid "{Scheme Procedure} geoclue-application name [#:allowed? #t] [#:system? #f] [#:users '()]"
  31572. msgstr ""
  31573. #. type: deffn
  31574. #: guix-git/doc/guix.texi:21343
  31575. 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."
  31576. msgstr ""
  31577. #. type: defvr
  31578. #: guix-git/doc/guix.texi:21345
  31579. #, no-wrap
  31580. msgid "{Scheme Variable} %standard-geoclue-applications"
  31581. msgstr ""
  31582. #. type: defvr
  31583. #: guix-git/doc/guix.texi:21352
  31584. 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."
  31585. msgstr ""
  31586. #. type: deffn
  31587. #: guix-git/doc/guix.texi:21354
  31588. #, no-wrap
  31589. msgid "{Scheme Procedure} geoclue-service [#:colord @var{colord}] @"
  31590. msgstr ""
  31591. #. type: deffn
  31592. #: guix-git/doc/guix.texi:21367
  31593. 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."
  31594. msgstr ""
  31595. #. type: deffn
  31596. #: guix-git/doc/guix.texi:21369
  31597. #, no-wrap
  31598. msgid "{Scheme Procedure} bluetooth-service [#:bluez @var{bluez}] @"
  31599. msgstr ""
  31600. #. type: deffn
  31601. #: guix-git/doc/guix.texi:21376
  31602. 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."
  31603. msgstr ""
  31604. #. type: deffn
  31605. #: guix-git/doc/guix.texi:21378
  31606. msgid "Users need to be in the @code{lp} group to access the D-Bus service."
  31607. msgstr ""
  31608. #. type: defvr
  31609. #: guix-git/doc/guix.texi:21380
  31610. #, no-wrap
  31611. msgid "{Scheme Variable} gnome-keyring-service-type"
  31612. msgstr ""
  31613. #. type: defvr
  31614. #: guix-git/doc/guix.texi:21384
  31615. 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)."
  31616. msgstr ""
  31617. #. type: defvr
  31618. #: guix-git/doc/guix.texi:21388
  31619. 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."
  31620. msgstr ""
  31621. #. type: deftp
  31622. #: guix-git/doc/guix.texi:21390
  31623. #, no-wrap
  31624. msgid "{Data Type} gnome-keyring-configuration"
  31625. msgstr ""
  31626. #. type: deftp
  31627. #: guix-git/doc/guix.texi:21392
  31628. msgid "Configuration record for the GNOME Keyring service."
  31629. msgstr ""
  31630. #. type: item
  31631. #: guix-git/doc/guix.texi:21394
  31632. #, no-wrap
  31633. msgid "@code{keyring} (default: @code{gnome-keyring})"
  31634. msgstr ""
  31635. #. type: table
  31636. #: guix-git/doc/guix.texi:21396
  31637. msgid "The GNOME keyring package to use."
  31638. msgstr ""
  31639. #. type: code{#1}
  31640. #: guix-git/doc/guix.texi:21397
  31641. #, no-wrap
  31642. msgid "pam-services"
  31643. msgstr ""
  31644. #. type: table
  31645. #: guix-git/doc/guix.texi:21402
  31646. 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}."
  31647. msgstr ""
  31648. #. type: table
  31649. #: guix-git/doc/guix.texi:21408
  31650. 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."
  31651. msgstr ""
  31652. #. type: table
  31653. #: guix-git/doc/guix.texi:21411
  31654. msgid "By default, this field contains ``gdm-password'' with the value @code{login} and ``passwd'' is with the value @code{passwd}."
  31655. msgstr ""
  31656. #. type: cindex
  31657. #: guix-git/doc/guix.texi:21418
  31658. #, no-wrap
  31659. msgid "sound support"
  31660. msgstr ""
  31661. #. type: cindex
  31662. #: guix-git/doc/guix.texi:21419
  31663. #, no-wrap
  31664. msgid "ALSA"
  31665. msgstr ""
  31666. #. type: cindex
  31667. #: guix-git/doc/guix.texi:21420
  31668. #, no-wrap
  31669. msgid "PulseAudio, sound support"
  31670. msgstr ""
  31671. #. type: Plain text
  31672. #: guix-git/doc/guix.texi:21425
  31673. 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."
  31674. msgstr ""
  31675. #. type: deffn
  31676. #: guix-git/doc/guix.texi:21426
  31677. #, no-wrap
  31678. msgid "{Scheme Variable} alsa-service-type"
  31679. msgstr ""
  31680. #. type: deffn
  31681. #: guix-git/doc/guix.texi:21431
  31682. 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:"
  31683. msgstr ""
  31684. #. type: lisp
  31685. #: guix-git/doc/guix.texi:21434
  31686. #, no-wrap
  31687. msgid "(service alsa-service-type)\n"
  31688. msgstr ""
  31689. #. type: deffn
  31690. #: guix-git/doc/guix.texi:21437
  31691. msgid "See below for details about @code{alsa-configuration}."
  31692. msgstr ""
  31693. #. type: deftp
  31694. #: guix-git/doc/guix.texi:21439
  31695. #, no-wrap
  31696. msgid "{Data Type} alsa-configuration"
  31697. msgstr ""
  31698. #. type: deftp
  31699. #: guix-git/doc/guix.texi:21441
  31700. msgid "Data type representing the configuration for @code{alsa-service}."
  31701. msgstr ""
  31702. #. type: item
  31703. #: guix-git/doc/guix.texi:21443
  31704. #, no-wrap
  31705. msgid "@code{alsa-plugins} (default: @var{alsa-plugins})"
  31706. msgstr ""
  31707. #. type: table
  31708. #: guix-git/doc/guix.texi:21445
  31709. msgid "@code{alsa-plugins} package to use."
  31710. msgstr ""
  31711. #. type: item
  31712. #: guix-git/doc/guix.texi:21446
  31713. #, no-wrap
  31714. msgid "@code{pulseaudio?} (default: @var{#t})"
  31715. msgstr ""
  31716. #. type: table
  31717. #: guix-git/doc/guix.texi:21449
  31718. msgid "Whether ALSA applications should transparently be made to use the @uref{https://www.pulseaudio.org/, PulseAudio} sound server."
  31719. msgstr ""
  31720. #. type: table
  31721. #: guix-git/doc/guix.texi:21453
  31722. 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."
  31723. msgstr ""
  31724. #. type: item
  31725. #: guix-git/doc/guix.texi:21454
  31726. #, no-wrap
  31727. msgid "@code{extra-options} (default: @var{\"\"})"
  31728. msgstr ""
  31729. #. type: table
  31730. #: guix-git/doc/guix.texi:21456
  31731. msgid "String to append to the @file{/etc/asound.conf} file."
  31732. msgstr ""
  31733. #. type: Plain text
  31734. #: guix-git/doc/guix.texi:21462
  31735. msgid "Individual users who want to override the system configuration of ALSA can do it with the @file{~/.asoundrc} file:"
  31736. msgstr ""
  31737. #. type: example
  31738. #: guix-git/doc/guix.texi:21468
  31739. #, no-wrap
  31740. msgid ""
  31741. "# In guix, we have to specify the absolute path for plugins.\n"
  31742. "pcm_type.jack @{\n"
  31743. " lib \"/home/alice/.guix-profile/lib/alsa-lib/libasound_module_pcm_jack.so\"\n"
  31744. "@}\n"
  31745. "\n"
  31746. msgstr ""
  31747. #. type: example
  31748. #: guix-git/doc/guix.texi:21477
  31749. #, no-wrap
  31750. msgid ""
  31751. "# Routing ALSA to jack:\n"
  31752. "# <http://jackaudio.org/faq/routing_alsa.html>.\n"
  31753. "pcm.rawjack @{\n"
  31754. " type jack\n"
  31755. " playback_ports @{\n"
  31756. " 0 system:playback_1\n"
  31757. " 1 system:playback_2\n"
  31758. " @}\n"
  31759. "\n"
  31760. msgstr ""
  31761. #. type: example
  31762. #: guix-git/doc/guix.texi:21483
  31763. #, no-wrap
  31764. msgid ""
  31765. " capture_ports @{\n"
  31766. " 0 system:capture_1\n"
  31767. " 1 system:capture_2\n"
  31768. " @}\n"
  31769. "@}\n"
  31770. "\n"
  31771. msgstr ""
  31772. #. type: example
  31773. #: guix-git/doc/guix.texi:21490
  31774. #, no-wrap
  31775. msgid ""
  31776. "pcm.!default @{\n"
  31777. " type plug\n"
  31778. " slave @{\n"
  31779. " pcm \"rawjack\"\n"
  31780. " @}\n"
  31781. "@}\n"
  31782. msgstr ""
  31783. #. type: Plain text
  31784. #: guix-git/doc/guix.texi:21494
  31785. msgid "See @uref{https://www.alsa-project.org/main/index.php/Asoundrc} for the details."
  31786. msgstr ""
  31787. #. type: deffn
  31788. #: guix-git/doc/guix.texi:21495
  31789. #, no-wrap
  31790. msgid "{Scheme Variable} pulseaudio-service-type"
  31791. msgstr ""
  31792. #. type: deffn
  31793. #: guix-git/doc/guix.texi:21499
  31794. 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."
  31795. msgstr ""
  31796. #. type: quotation
  31797. #: guix-git/doc/guix.texi:21505
  31798. 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}."
  31799. msgstr ""
  31800. #. type: quotation
  31801. #: guix-git/doc/guix.texi:21513
  31802. 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."
  31803. msgstr ""
  31804. #. type: deftp
  31805. #: guix-git/doc/guix.texi:21516
  31806. #, no-wrap
  31807. msgid "{Data Type} pulseaudio-configuration"
  31808. msgstr ""
  31809. #. type: deftp
  31810. #: guix-git/doc/guix.texi:21518
  31811. msgid "Data type representing the configuration for @code{pulseaudio-service}."
  31812. msgstr ""
  31813. #. type: item
  31814. #: guix-git/doc/guix.texi:21520
  31815. #, no-wrap
  31816. msgid "@code{client-conf} (default: @code{'()})"
  31817. msgstr ""
  31818. #. type: table
  31819. #: guix-git/doc/guix.texi:21525
  31820. msgid "List of settings to set in @file{client.conf}. Accepts a list of strings or symbol-value pairs. A string will be inserted as-is with a newline added. A pair will be formatted as ``key = value'', again with a newline added."
  31821. msgstr ""
  31822. #. type: item
  31823. #: guix-git/doc/guix.texi:21526
  31824. #, no-wrap
  31825. msgid "@code{daemon-conf} (default: @code{'((flat-volumes . no))})"
  31826. msgstr ""
  31827. #. type: table
  31828. #: guix-git/doc/guix.texi:21529
  31829. msgid "List of settings to set in @file{daemon.conf}, formatted just like @var{client-conf}."
  31830. msgstr ""
  31831. #. type: item
  31832. #: guix-git/doc/guix.texi:21530
  31833. #, no-wrap
  31834. msgid "@code{script-file} (default: @code{(file-append pulseaudio \"/etc/pulse/default.pa\")})"
  31835. msgstr ""
  31836. #. type: table
  31837. #: guix-git/doc/guix.texi:21535
  31838. msgid "Script file to use as @file{default.pa}. In case the @code{extra-script-files} field below is used, an @code{.include} directive pointing to @file{/etc/pulse/default.pa.d} is appended to the provided script."
  31839. msgstr ""
  31840. #. type: item
  31841. #: guix-git/doc/guix.texi:21536
  31842. #, no-wrap
  31843. msgid "@code{extra-script-files} (default: @code{'())})"
  31844. msgstr ""
  31845. #. type: table
  31846. #: guix-git/doc/guix.texi:21543
  31847. msgid "A list of file-like objects defining extra PulseAudio scripts to run at the initialization of the @command{pulseaudio} daemon, after the main @code{script-file}. The scripts are deployed to the @file{/etc/pulse/default.pa.d} directory; they should have the @samp{.pa} file name extension. For a reference of the available commands, refer to @command{man pulse-cli-syntax}."
  31848. msgstr ""
  31849. #. type: item
  31850. #: guix-git/doc/guix.texi:21544
  31851. #, no-wrap
  31852. msgid "@code{system-script-file} (default: @code{(file-append pulseaudio \"/etc/pulse/system.pa\")})"
  31853. msgstr ""
  31854. #. type: table
  31855. #: guix-git/doc/guix.texi:21546
  31856. msgid "Script file to use as @file{system.pa}."
  31857. msgstr ""
  31858. #. type: deftp
  31859. #: guix-git/doc/guix.texi:21551
  31860. msgid "The example below sets the default PulseAudio card profile, the default sink and the default source to use for a old SoundBlaster Audigy sound card:"
  31861. msgstr ""
  31862. #. type: lisp
  31863. #: guix-git/doc/guix.texi:21560
  31864. #, no-wrap
  31865. msgid ""
  31866. "(pulseaudio-configuration\n"
  31867. " (extra-script-files\n"
  31868. " (list (plain-file \"audigy.pa\"\n"
  31869. " (string-append \"\\\n"
  31870. "set-card-profile alsa_card.pci-0000_01_01.0 \\\n"
  31871. " output:analog-surround-40+input:analog-mono\n"
  31872. "set-default-source alsa_input.pci-0000_01_01.0.analog-mono\n"
  31873. "set-default-sink alsa_output.pci-0000_01_01.0.analog-surround-40\\n\")))))\n"
  31874. msgstr ""
  31875. #. type: deftp
  31876. #: guix-git/doc/guix.texi:21568
  31877. msgid "Note that @code{pulseaudio-service-type} is part of @code{%desktop-services}; if your operating system declaration was derived from one of the desktop templates, you'll want to adjust the above example to modify the existing @code{pulseaudio-service-type} via @code{modify-services} (@pxref{Service Reference, @code{modify-services}}), instead of defining a new one."
  31878. msgstr ""
  31879. #. type: deffn
  31880. #: guix-git/doc/guix.texi:21571
  31881. #, no-wrap
  31882. msgid "{Scheme Variable} ladspa-service-type"
  31883. msgstr ""
  31884. #. type: deffn
  31885. #: guix-git/doc/guix.texi:21574
  31886. msgid "This service sets the @var{LADSPA_PATH} variable, so that programs, which respect it, e.g. PulseAudio, can load LADSPA plugins."
  31887. msgstr ""
  31888. #. type: deffn
  31889. #: guix-git/doc/guix.texi:21577
  31890. msgid "The following example will setup the service to enable modules from the @code{swh-plugins} package:"
  31891. msgstr ""
  31892. #. type: lisp
  31893. #: guix-git/doc/guix.texi:21581
  31894. #, no-wrap
  31895. msgid ""
  31896. "(service ladspa-service-type\n"
  31897. " (ladspa-configuration (plugins (list swh-plugins))))\n"
  31898. msgstr ""
  31899. #. type: deffn
  31900. #: guix-git/doc/guix.texi:21585
  31901. msgid "See @uref{http://plugin.org.uk/ladspa-swh/docs/ladspa-swh.html} for the details."
  31902. msgstr ""
  31903. #. type: cindex
  31904. #: guix-git/doc/guix.texi:21592
  31905. #, no-wrap
  31906. msgid "SQL"
  31907. msgstr ""
  31908. #. type: Plain text
  31909. #: guix-git/doc/guix.texi:21594
  31910. msgid "The @code{(gnu services databases)} module provides the following services."
  31911. msgstr ""
  31912. #. type: subsubheading
  31913. #: guix-git/doc/guix.texi:21595
  31914. #, no-wrap
  31915. msgid "PostgreSQL"
  31916. msgstr ""
  31917. #. type: Plain text
  31918. #: guix-git/doc/guix.texi:21599
  31919. msgid "The following example describes a PostgreSQL service with the default configuration."
  31920. msgstr ""
  31921. #. type: lisp
  31922. #: guix-git/doc/guix.texi:21604
  31923. #, no-wrap
  31924. msgid ""
  31925. "(service postgresql-service-type\n"
  31926. " (postgresql-configuration\n"
  31927. " (postgresql postgresql-10)))\n"
  31928. msgstr ""
  31929. #. type: Plain text
  31930. #: guix-git/doc/guix.texi:21610
  31931. 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."
  31932. msgstr ""
  31933. #. type: Plain text
  31934. #: guix-git/doc/guix.texi:21617
  31935. 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."
  31936. msgstr ""
  31937. #. type: example
  31938. #: guix-git/doc/guix.texi:21622
  31939. #, no-wrap
  31940. msgid ""
  31941. "sudo -u postgres -s /bin/sh\n"
  31942. "createuser --interactive\n"
  31943. "createdb $MY_USER_LOGIN # Replace appropriately.\n"
  31944. msgstr ""
  31945. #. type: deftp
  31946. #: guix-git/doc/guix.texi:21624
  31947. #, no-wrap
  31948. msgid "{Data Type} postgresql-configuration"
  31949. msgstr ""
  31950. #. type: deftp
  31951. #: guix-git/doc/guix.texi:21627
  31952. msgid "Data type representing the configuration for the @code{postgresql-service-type}."
  31953. msgstr ""
  31954. #. type: code{#1}
  31955. #: guix-git/doc/guix.texi:21629
  31956. #, no-wrap
  31957. msgid "postgresql"
  31958. msgstr ""
  31959. #. type: table
  31960. #: guix-git/doc/guix.texi:21631
  31961. msgid "PostgreSQL package to use for the service."
  31962. msgstr ""
  31963. #. type: item
  31964. #: guix-git/doc/guix.texi:21632
  31965. #, no-wrap
  31966. msgid "@code{port} (default: @code{5432})"
  31967. msgstr ""
  31968. #. type: table
  31969. #: guix-git/doc/guix.texi:21634
  31970. msgid "Port on which PostgreSQL should listen."
  31971. msgstr ""
  31972. #. type: table
  31973. #: guix-git/doc/guix.texi:21637
  31974. msgid "Locale to use as the default when creating the database cluster."
  31975. msgstr ""
  31976. #. type: item
  31977. #: guix-git/doc/guix.texi:21638
  31978. #, no-wrap
  31979. msgid "@code{config-file} (default: @code{(postgresql-config-file)})"
  31980. msgstr ""
  31981. #. type: table
  31982. #: guix-git/doc/guix.texi:21642
  31983. 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."
  31984. msgstr ""
  31985. #. type: item
  31986. #: guix-git/doc/guix.texi:21643
  31987. #, no-wrap
  31988. msgid "@code{log-directory} (default: @code{\"/var/log/postgresql\"})"
  31989. msgstr ""
  31990. #. type: table
  31991. #: guix-git/doc/guix.texi:21647
  31992. 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."
  31993. msgstr ""
  31994. #. type: item
  31995. #: guix-git/doc/guix.texi:21648
  31996. #, no-wrap
  31997. msgid "@code{data-directory} (default: @code{\"/var/lib/postgresql/data\"})"
  31998. msgstr ""
  31999. #. type: table
  32000. #: guix-git/doc/guix.texi:21650
  32001. msgid "Directory in which to store the data."
  32002. msgstr ""
  32003. #. type: item
  32004. #: guix-git/doc/guix.texi:21651
  32005. #, no-wrap
  32006. msgid "@code{extension-packages} (default: @code{'()})"
  32007. msgstr ""
  32008. #. type: cindex
  32009. #: guix-git/doc/guix.texi:21652
  32010. #, no-wrap
  32011. msgid "postgresql extension-packages"
  32012. msgstr ""
  32013. #. type: table
  32014. #: guix-git/doc/guix.texi:21657
  32015. 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:"
  32016. msgstr ""
  32017. #. type: cindex
  32018. #: guix-git/doc/guix.texi:21658
  32019. #, no-wrap
  32020. msgid "postgis"
  32021. msgstr ""
  32022. #. type: lisp
  32023. #: guix-git/doc/guix.texi:21661
  32024. #, no-wrap
  32025. msgid ""
  32026. "(use-package-modules databases geo)\n"
  32027. "\n"
  32028. msgstr ""
  32029. #. type: lisp
  32030. #: guix-git/doc/guix.texi:21674
  32031. #, no-wrap
  32032. msgid ""
  32033. "(operating-system\n"
  32034. " ...\n"
  32035. " ;; postgresql is required to run `psql' but postgis is not required for\n"
  32036. " ;; proper operation.\n"
  32037. " (packages (cons* postgresql %base-packages))\n"
  32038. " (services\n"
  32039. " (cons*\n"
  32040. " (service postgresql-service-type\n"
  32041. " (postgresql-configuration\n"
  32042. " (postgresql postgresql-10)\n"
  32043. " (extension-packages (list postgis))))\n"
  32044. " %base-services)))\n"
  32045. msgstr ""
  32046. #. type: table
  32047. #: guix-git/doc/guix.texi:21678
  32048. msgid "Then the extension becomes visible and you can initialise an empty geographic database in this way:"
  32049. msgstr ""
  32050. #. type: example
  32051. #: guix-git/doc/guix.texi:21685
  32052. #, no-wrap
  32053. msgid ""
  32054. "psql -U postgres\n"
  32055. "> create database postgistest;\n"
  32056. "> \\connect postgistest;\n"
  32057. "> create extension postgis;\n"
  32058. "> create extension postgis_topology;\n"
  32059. msgstr ""
  32060. #. type: table
  32061. #: guix-git/doc/guix.texi:21690
  32062. 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."
  32063. msgstr ""
  32064. #. type: deftp
  32065. #: guix-git/doc/guix.texi:21694
  32066. #, no-wrap
  32067. msgid "{Data Type} postgresql-config-file"
  32068. msgstr ""
  32069. #. type: deftp
  32070. #: guix-git/doc/guix.texi:21700
  32071. 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."
  32072. msgstr ""
  32073. #. type: lisp
  32074. #: guix-git/doc/guix.texi:21720
  32075. #, no-wrap
  32076. msgid ""
  32077. "(service postgresql-service-type\n"
  32078. " (postgresql-configuration\n"
  32079. " (config-file\n"
  32080. " (postgresql-config-file\n"
  32081. " (log-destination \"stderr\")\n"
  32082. " (hba-file\n"
  32083. " (plain-file \"pg_hba.conf\"\n"
  32084. " \"\n"
  32085. "local\tall\tall\t\t\ttrust\n"
  32086. "host\tall\tall\t127.0.0.1/32 \tmd5\n"
  32087. "host\tall\tall\t::1/128 \tmd5\"))\n"
  32088. " (extra-config\n"
  32089. " '((\"session_preload_libraries\" \"auto_explain\")\n"
  32090. " (\"random_page_cost\" 2)\n"
  32091. " (\"auto_explain.log_min_duration\" \"100 ms\")\n"
  32092. " (\"work_mem\" \"500 MB\")\n"
  32093. " (\"logging_collector\" #t)\n"
  32094. " (\"log_directory\" \"/var/log/postgresql\")))))))\n"
  32095. msgstr ""
  32096. #. type: item
  32097. #: guix-git/doc/guix.texi:21723
  32098. #, no-wrap
  32099. msgid "@code{log-destination} (default: @code{\"syslog\"})"
  32100. msgstr ""
  32101. #. type: table
  32102. #: guix-git/doc/guix.texi:21726
  32103. msgid "The logging method to use for PostgreSQL@. Multiple values are accepted, separated by commas."
  32104. msgstr ""
  32105. #. type: item
  32106. #: guix-git/doc/guix.texi:21727
  32107. #, no-wrap
  32108. msgid "@code{hba-file} (default: @code{%default-postgres-hba})"
  32109. msgstr ""
  32110. #. type: table
  32111. #: guix-git/doc/guix.texi:21730
  32112. msgid "Filename or G-expression for the host-based authentication configuration."
  32113. msgstr ""
  32114. #. type: item
  32115. #: guix-git/doc/guix.texi:21731
  32116. #, no-wrap
  32117. msgid "@code{ident-file} (default: @code{%default-postgres-ident})"
  32118. msgstr ""
  32119. #. type: table
  32120. #: guix-git/doc/guix.texi:21733
  32121. msgid "Filename or G-expression for the user name mapping configuration."
  32122. msgstr ""
  32123. #. type: item
  32124. #: guix-git/doc/guix.texi:21734
  32125. #, no-wrap
  32126. msgid "@code{socket-directory} (default: @code{\"/var/run/postgresql\"})"
  32127. msgstr ""
  32128. #. type: table
  32129. #: guix-git/doc/guix.texi:21739
  32130. 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."
  32131. msgstr ""
  32132. #. type: table
  32133. #: guix-git/doc/guix.texi:21742
  32134. msgid "By default, the @code{#false} value means the PostgreSQL default value will be used, which is currently @samp{/tmp}."
  32135. msgstr ""
  32136. #. type: table
  32137. #: guix-git/doc/guix.texi:21747
  32138. 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."
  32139. msgstr ""
  32140. #. type: table
  32141. #: guix-git/doc/guix.texi:21753
  32142. 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}."
  32143. msgstr ""
  32144. #. type: deffn
  32145. #: guix-git/doc/guix.texi:21757
  32146. #, no-wrap
  32147. msgid "{Scheme Variable} postgresql-role-service-type"
  32148. msgstr ""
  32149. #. type: deffn
  32150. #: guix-git/doc/guix.texi:21760
  32151. msgid "This service allows to create PostgreSQL roles and databases after PostgreSQL service start. Here is an example of its use."
  32152. msgstr ""
  32153. #. type: lisp
  32154. #: guix-git/doc/guix.texi:21768
  32155. #, no-wrap
  32156. msgid ""
  32157. "(service postgresql-role-service-type\n"
  32158. " (postgresql-role-configuration\n"
  32159. " (roles\n"
  32160. " (list (postgresql-role\n"
  32161. " (name \"test\")\n"
  32162. " (create-database? #t))))))\n"
  32163. msgstr ""
  32164. #. type: deffn
  32165. #: guix-git/doc/guix.texi:21772
  32166. msgid "This service can be extended with extra roles, as in this example:"
  32167. msgstr ""
  32168. #. type: lisp
  32169. #: guix-git/doc/guix.texi:21778
  32170. #, no-wrap
  32171. msgid ""
  32172. "(service-extension postgresql-role-service-type\n"
  32173. " (const (postgresql-role\n"
  32174. " (name \"alice\")\n"
  32175. " (create-database? #t))))\n"
  32176. msgstr ""
  32177. #. type: deftp
  32178. #: guix-git/doc/guix.texi:21781
  32179. #, no-wrap
  32180. msgid "{Data Type} postgresql-role"
  32181. msgstr ""
  32182. #. type: deftp
  32183. #: guix-git/doc/guix.texi:21787
  32184. 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."
  32185. msgstr ""
  32186. #. type: table
  32187. #: guix-git/doc/guix.texi:21791
  32188. msgid "The role name."
  32189. msgstr ""
  32190. #. type: item
  32191. #: guix-git/doc/guix.texi:21792
  32192. #, no-wrap
  32193. msgid "@code{permissions} (default: @code{'(createdb login)})"
  32194. msgstr ""
  32195. #. type: table
  32196. #: guix-git/doc/guix.texi:21796
  32197. msgid "The role permissions list. Supported permissions are @code{bypassrls}, @code{createdb}, @code{createrole}, @code{login}, @code{replication} and @code{superuser}."
  32198. msgstr ""
  32199. #. type: item
  32200. #: guix-git/doc/guix.texi:21797
  32201. #, no-wrap
  32202. msgid "@code{create-database?} (default: @code{#f})"
  32203. msgstr ""
  32204. #. type: table
  32205. #: guix-git/doc/guix.texi:21799
  32206. msgid "Whether to create a database with the same name as the role."
  32207. msgstr ""
  32208. #. type: deftp
  32209. #: guix-git/doc/guix.texi:21803
  32210. #, no-wrap
  32211. msgid "{Data Type} postgresql-role-configuration"
  32212. msgstr ""
  32213. #. type: deftp
  32214. #: guix-git/doc/guix.texi:21806
  32215. msgid "Data type representing the configuration of @var{postgresql-role-service-type}."
  32216. msgstr ""
  32217. #. type: item
  32218. #: guix-git/doc/guix.texi:21808
  32219. #, no-wrap
  32220. msgid "@code{host} (default: @code{\"/var/run/postgresql\"})"
  32221. msgstr ""
  32222. #. type: table
  32223. #: guix-git/doc/guix.texi:21810
  32224. msgid "The PostgreSQL host to connect to."
  32225. msgstr ""
  32226. #. type: item
  32227. #: guix-git/doc/guix.texi:21811
  32228. #, no-wrap
  32229. msgid "@code{log} (default: @code{\"/var/log/postgresql_roles.log\"})"
  32230. msgstr ""
  32231. #. type: table
  32232. #: guix-git/doc/guix.texi:21813
  32233. msgid "File name of the log file."
  32234. msgstr ""
  32235. #. type: item
  32236. #: guix-git/doc/guix.texi:21814
  32237. #, no-wrap
  32238. msgid "@code{roles} (default: @code{'()})"
  32239. msgstr ""
  32240. #. type: table
  32241. #: guix-git/doc/guix.texi:21816
  32242. msgid "The initial PostgreSQL roles to create."
  32243. msgstr ""
  32244. #. type: subsubheading
  32245. #: guix-git/doc/guix.texi:21819
  32246. #, no-wrap
  32247. msgid "MariaDB/MySQL"
  32248. msgstr ""
  32249. #. type: defvr
  32250. #: guix-git/doc/guix.texi:21821
  32251. #, no-wrap
  32252. msgid "{Scheme Variable} mysql-service-type"
  32253. msgstr ""
  32254. #. type: defvr
  32255. #: guix-git/doc/guix.texi:21825
  32256. 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."
  32257. msgstr ""
  32258. #. type: deftp
  32259. #: guix-git/doc/guix.texi:21827
  32260. #, no-wrap
  32261. msgid "{Data Type} mysql-configuration"
  32262. msgstr ""
  32263. #. type: deftp
  32264. #: guix-git/doc/guix.texi:21829
  32265. msgid "Data type representing the configuration of @var{mysql-service-type}."
  32266. msgstr ""
  32267. #. type: item
  32268. #: guix-git/doc/guix.texi:21831
  32269. #, no-wrap
  32270. msgid "@code{mysql} (default: @var{mariadb})"
  32271. msgstr ""
  32272. #. type: table
  32273. #: guix-git/doc/guix.texi:21834
  32274. msgid "Package object of the MySQL database server, can be either @var{mariadb} or @var{mysql}."
  32275. msgstr ""
  32276. #. type: table
  32277. #: guix-git/doc/guix.texi:21837
  32278. msgid "For MySQL, a temporary root password will be displayed at activation time. For MariaDB, the root password is empty."
  32279. msgstr ""
  32280. #. type: item
  32281. #: guix-git/doc/guix.texi:21838 guix-git/doc/guix.texi:25658
  32282. #, no-wrap
  32283. msgid "@code{bind-address} (default: @code{\"127.0.0.1\"})"
  32284. msgstr ""
  32285. #. type: table
  32286. #: guix-git/doc/guix.texi:21841
  32287. msgid "The IP on which to listen for network connections. Use @code{\"0.0.0.0\"} to bind to all available network interfaces."
  32288. msgstr ""
  32289. #. type: item
  32290. #: guix-git/doc/guix.texi:21842
  32291. #, no-wrap
  32292. msgid "@code{port} (default: @code{3306})"
  32293. msgstr ""
  32294. #. type: table
  32295. #: guix-git/doc/guix.texi:21844
  32296. msgid "TCP port on which the database server listens for incoming connections."
  32297. msgstr ""
  32298. #. type: item
  32299. #: guix-git/doc/guix.texi:21845
  32300. #, no-wrap
  32301. msgid "@code{socket} (default: @code{\"/run/mysqld/mysqld.sock\"})"
  32302. msgstr ""
  32303. #. type: table
  32304. #: guix-git/doc/guix.texi:21847
  32305. msgid "Socket file to use for local (non-network) connections."
  32306. msgstr ""
  32307. #. type: table
  32308. #: guix-git/doc/guix.texi:21850
  32309. msgid "Additional settings for the @file{my.cnf} configuration file."
  32310. msgstr ""
  32311. #. type: item
  32312. #: guix-git/doc/guix.texi:21851
  32313. #, no-wrap
  32314. msgid "@code{extra-environment} (default: @code{#~'()})"
  32315. msgstr ""
  32316. #. type: table
  32317. #: guix-git/doc/guix.texi:21853
  32318. msgid "List of environment variables passed to the @command{mysqld} process."
  32319. msgstr ""
  32320. #. type: item
  32321. #: guix-git/doc/guix.texi:21854
  32322. #, no-wrap
  32323. msgid "@code{auto-upgrade?} (default: @code{#t})"
  32324. msgstr ""
  32325. #. type: table
  32326. #: guix-git/doc/guix.texi:21859
  32327. 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."
  32328. msgstr ""
  32329. #. type: subsubheading
  32330. #: guix-git/doc/guix.texi:21863
  32331. #, no-wrap
  32332. msgid "Memcached"
  32333. msgstr ""
  32334. #. type: defvr
  32335. #: guix-git/doc/guix.texi:21865
  32336. #, no-wrap
  32337. msgid "{Scheme Variable} memcached-service-type"
  32338. msgstr ""
  32339. #. type: defvr
  32340. #: guix-git/doc/guix.texi:21869
  32341. 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."
  32342. msgstr ""
  32343. #. type: lisp
  32344. #: guix-git/doc/guix.texi:21873
  32345. #, no-wrap
  32346. msgid "(service memcached-service-type)\n"
  32347. msgstr ""
  32348. #. type: deftp
  32349. #: guix-git/doc/guix.texi:21875
  32350. #, no-wrap
  32351. msgid "{Data Type} memcached-configuration"
  32352. msgstr ""
  32353. #. type: deftp
  32354. #: guix-git/doc/guix.texi:21877
  32355. msgid "Data type representing the configuration of memcached."
  32356. msgstr ""
  32357. #. type: item
  32358. #: guix-git/doc/guix.texi:21879
  32359. #, no-wrap
  32360. msgid "@code{memcached} (default: @code{memcached})"
  32361. msgstr ""
  32362. #. type: table
  32363. #: guix-git/doc/guix.texi:21881
  32364. msgid "The Memcached package to use."
  32365. msgstr ""
  32366. #. type: item
  32367. #: guix-git/doc/guix.texi:21882
  32368. #, no-wrap
  32369. msgid "@code{interfaces} (default: @code{'(\"0.0.0.0\")})"
  32370. msgstr ""
  32371. #. type: table
  32372. #: guix-git/doc/guix.texi:21884
  32373. msgid "Network interfaces on which to listen."
  32374. msgstr ""
  32375. #. type: item
  32376. #: guix-git/doc/guix.texi:21885
  32377. #, no-wrap
  32378. msgid "@code{tcp-port} (default: @code{11211})"
  32379. msgstr ""
  32380. #. type: table
  32381. #: guix-git/doc/guix.texi:21887
  32382. msgid "Port on which to accept connections."
  32383. msgstr ""
  32384. #. type: item
  32385. #: guix-git/doc/guix.texi:21888
  32386. #, no-wrap
  32387. msgid "@code{udp-port} (default: @code{11211})"
  32388. msgstr ""
  32389. #. type: table
  32390. #: guix-git/doc/guix.texi:21891
  32391. msgid "Port on which to accept UDP connections on, a value of 0 will disable listening on a UDP socket."
  32392. msgstr ""
  32393. #. type: item
  32394. #: guix-git/doc/guix.texi:21892
  32395. #, no-wrap
  32396. msgid "@code{additional-options} (default: @code{'()})"
  32397. msgstr ""
  32398. #. type: table
  32399. #: guix-git/doc/guix.texi:21894
  32400. msgid "Additional command line options to pass to @code{memcached}."
  32401. msgstr ""
  32402. #. type: subsubheading
  32403. #: guix-git/doc/guix.texi:21897
  32404. #, no-wrap
  32405. msgid "Redis"
  32406. msgstr ""
  32407. #. type: defvr
  32408. #: guix-git/doc/guix.texi:21899
  32409. #, no-wrap
  32410. msgid "{Scheme Variable} redis-service-type"
  32411. msgstr ""
  32412. #. type: defvr
  32413. #: guix-git/doc/guix.texi:21902
  32414. msgid "This is the service type for the @uref{https://redis.io/, Redis} key/value store, whose value is a @code{redis-configuration} object."
  32415. msgstr ""
  32416. #. type: deftp
  32417. #: guix-git/doc/guix.texi:21904
  32418. #, no-wrap
  32419. msgid "{Data Type} redis-configuration"
  32420. msgstr ""
  32421. #. type: deftp
  32422. #: guix-git/doc/guix.texi:21906
  32423. msgid "Data type representing the configuration of redis."
  32424. msgstr ""
  32425. #. type: item
  32426. #: guix-git/doc/guix.texi:21908
  32427. #, no-wrap
  32428. msgid "@code{redis} (default: @code{redis})"
  32429. msgstr ""
  32430. #. type: table
  32431. #: guix-git/doc/guix.texi:21910
  32432. msgid "The Redis package to use."
  32433. msgstr ""
  32434. #. type: item
  32435. #: guix-git/doc/guix.texi:21911
  32436. #, no-wrap
  32437. msgid "@code{bind} (default: @code{\"127.0.0.1\"})"
  32438. msgstr ""
  32439. #. type: table
  32440. #: guix-git/doc/guix.texi:21913
  32441. msgid "Network interface on which to listen."
  32442. msgstr ""
  32443. #. type: item
  32444. #: guix-git/doc/guix.texi:21914
  32445. #, no-wrap
  32446. msgid "@code{port} (default: @code{6379})"
  32447. msgstr ""
  32448. #. type: table
  32449. #: guix-git/doc/guix.texi:21917
  32450. msgid "Port on which to accept connections on, a value of 0 will disable listening on a TCP socket."
  32451. msgstr ""
  32452. #. type: item
  32453. #: guix-git/doc/guix.texi:21918
  32454. #, no-wrap
  32455. msgid "@code{working-directory} (default: @code{\"/var/lib/redis\"})"
  32456. msgstr ""
  32457. #. type: table
  32458. #: guix-git/doc/guix.texi:21920
  32459. msgid "Directory in which to store the database and related files."
  32460. msgstr ""
  32461. #. type: cindex
  32462. #: guix-git/doc/guix.texi:21926
  32463. #, no-wrap
  32464. msgid "mail"
  32465. msgstr ""
  32466. #. type: cindex
  32467. #: guix-git/doc/guix.texi:21927
  32468. #, no-wrap
  32469. msgid "email"
  32470. msgstr "sähköposti"
  32471. #. type: Plain text
  32472. #: guix-git/doc/guix.texi:21932
  32473. 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."
  32474. msgstr ""
  32475. #. type: subsubheading
  32476. #: guix-git/doc/guix.texi:21933
  32477. #, no-wrap
  32478. msgid "Dovecot Service"
  32479. msgstr ""
  32480. #. type: deffn
  32481. #: guix-git/doc/guix.texi:21935
  32482. #, no-wrap
  32483. msgid "{Scheme Procedure} dovecot-service [#:config (dovecot-configuration)]"
  32484. msgstr ""
  32485. #. type: deffn
  32486. #: guix-git/doc/guix.texi:21937
  32487. msgid "Return a service that runs the Dovecot IMAP/POP3/LMTP mail server."
  32488. msgstr ""
  32489. #. type: Plain text
  32490. #: guix-git/doc/guix.texi:21947
  32491. 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."
  32492. msgstr ""
  32493. #. type: Plain text
  32494. #: guix-git/doc/guix.texi:21950
  32495. msgid "For example, to specify that mail is located at @code{maildir~/.mail}, one would instantiate the Dovecot service like this:"
  32496. msgstr ""
  32497. #. type: lisp
  32498. #: guix-git/doc/guix.texi:21955
  32499. #, no-wrap
  32500. msgid ""
  32501. "(dovecot-service #:config\n"
  32502. " (dovecot-configuration\n"
  32503. " (mail-location \"maildir:~/.mail\")))\n"
  32504. msgstr ""
  32505. #. type: Plain text
  32506. #: guix-git/doc/guix.texi:21963
  32507. 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."
  32508. msgstr ""
  32509. #. type: Plain text
  32510. #: guix-git/doc/guix.texi:21973
  32511. msgid "Available @code{dovecot-configuration} fields are:"
  32512. msgstr ""
  32513. #. type: deftypevr
  32514. #: guix-git/doc/guix.texi:21974
  32515. #, no-wrap
  32516. msgid "{@code{dovecot-configuration} parameter} package dovecot"
  32517. msgstr ""
  32518. #. type: deftypevr
  32519. #: guix-git/doc/guix.texi:21976 guix-git/doc/guix.texi:23325
  32520. msgid "The dovecot package."
  32521. msgstr ""
  32522. #. type: deftypevr
  32523. #: guix-git/doc/guix.texi:21978
  32524. #, no-wrap
  32525. msgid "{@code{dovecot-configuration} parameter} comma-separated-string-list listen"
  32526. msgstr ""
  32527. #. type: deftypevr
  32528. #: guix-git/doc/guix.texi:21984
  32529. 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."
  32530. msgstr ""
  32531. #. type: deftypevr
  32532. #: guix-git/doc/guix.texi:21986
  32533. #, no-wrap
  32534. msgid "{@code{dovecot-configuration} parameter} protocol-configuration-list protocols"
  32535. msgstr ""
  32536. #. type: deftypevr
  32537. #: guix-git/doc/guix.texi:21989
  32538. msgid "List of protocols we want to serve. Available protocols include @samp{imap}, @samp{pop3}, and @samp{lmtp}."
  32539. msgstr ""
  32540. #. type: deftypevr
  32541. #: guix-git/doc/guix.texi:21991
  32542. msgid "Available @code{protocol-configuration} fields are:"
  32543. msgstr ""
  32544. #. type: deftypevr
  32545. #: guix-git/doc/guix.texi:21992
  32546. #, no-wrap
  32547. msgid "{@code{protocol-configuration} parameter} string name"
  32548. msgstr ""
  32549. #. type: deftypevr
  32550. #: guix-git/doc/guix.texi:21994
  32551. msgid "The name of the protocol."
  32552. msgstr ""
  32553. #. type: deftypevr
  32554. #: guix-git/doc/guix.texi:21996
  32555. #, no-wrap
  32556. msgid "{@code{protocol-configuration} parameter} string auth-socket-path"
  32557. msgstr ""
  32558. #. type: deftypevr
  32559. #: guix-git/doc/guix.texi:22000
  32560. 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\"}."
  32561. msgstr ""
  32562. #. type: deftypevr
  32563. #: guix-git/doc/guix.texi:22002
  32564. #, no-wrap
  32565. msgid "{@code{protocol-configuration} parameter} boolean imap-metadata?"
  32566. msgstr ""
  32567. #. type: deftypevr
  32568. #: guix-git/doc/guix.texi:22007
  32569. 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."
  32570. msgstr ""
  32571. #. type: deftypevr
  32572. #: guix-git/doc/guix.texi:22010
  32573. msgid "If this is @samp{#t}, you must also specify a dictionary @i{via} the @code{mail-attribute-dict} setting."
  32574. msgstr ""
  32575. #. type: deftypevr
  32576. #: guix-git/doc/guix.texi:22015
  32577. #, no-wrap
  32578. msgid "{@code{protocol-configuration} parameter} space-separated-string-list managesieve-notify-capabilities"
  32579. msgstr ""
  32580. #. type: deftypevr
  32581. #: guix-git/doc/guix.texi:22020
  32582. 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."
  32583. msgstr ""
  32584. #. type: deftypevr
  32585. #: guix-git/doc/guix.texi:22024
  32586. #, no-wrap
  32587. msgid "{@code{protocol-configuration} parameter} space-separated-string-list managesieve-sieve-capability"
  32588. msgstr ""
  32589. #. type: deftypevr
  32590. #: guix-git/doc/guix.texi:22029
  32591. 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."
  32592. msgstr ""
  32593. #. type: deftypevr
  32594. #: guix-git/doc/guix.texi:22034
  32595. #, no-wrap
  32596. msgid "{@code{protocol-configuration} parameter} space-separated-string-list mail-plugins"
  32597. msgstr ""
  32598. #. type: deftypevr
  32599. #: guix-git/doc/guix.texi:22036
  32600. msgid "Space separated list of plugins to load."
  32601. msgstr ""
  32602. #. type: deftypevr
  32603. #: guix-git/doc/guix.texi:22038
  32604. #, no-wrap
  32605. msgid "{@code{protocol-configuration} parameter} non-negative-integer mail-max-userip-connections"
  32606. msgstr ""
  32607. #. type: deftypevr
  32608. #: guix-git/doc/guix.texi:22042
  32609. 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}."
  32610. msgstr ""
  32611. #. type: deftypevr
  32612. #: guix-git/doc/guix.texi:22046
  32613. #, no-wrap
  32614. msgid "{@code{dovecot-configuration} parameter} service-configuration-list services"
  32615. msgstr ""
  32616. #. type: deftypevr
  32617. #: guix-git/doc/guix.texi:22050
  32618. msgid "List of services to enable. Available services include @samp{imap}, @samp{imap-login}, @samp{pop3}, @samp{pop3-login}, @samp{auth}, and @samp{lmtp}."
  32619. msgstr ""
  32620. #. type: deftypevr
  32621. #: guix-git/doc/guix.texi:22052
  32622. msgid "Available @code{service-configuration} fields are:"
  32623. msgstr ""
  32624. #. type: deftypevr
  32625. #: guix-git/doc/guix.texi:22053
  32626. #, no-wrap
  32627. msgid "{@code{service-configuration} parameter} string kind"
  32628. msgstr ""
  32629. #. type: deftypevr
  32630. #: guix-git/doc/guix.texi:22058
  32631. 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."
  32632. msgstr ""
  32633. #. type: deftypevr
  32634. #: guix-git/doc/guix.texi:22060
  32635. #, no-wrap
  32636. msgid "{@code{service-configuration} parameter} listener-configuration-list listeners"
  32637. msgstr ""
  32638. #. type: deftypevr
  32639. #: guix-git/doc/guix.texi:22065
  32640. 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{()}."
  32641. msgstr ""
  32642. #. type: deftypevr
  32643. #: guix-git/doc/guix.texi:22067
  32644. msgid "Available @code{unix-listener-configuration} fields are:"
  32645. msgstr ""
  32646. #. type: deftypevr
  32647. #: guix-git/doc/guix.texi:22068
  32648. #, no-wrap
  32649. msgid "{@code{unix-listener-configuration} parameter} string path"
  32650. msgstr ""
  32651. #. type: deftypevr
  32652. #: guix-git/doc/guix.texi:22071 guix-git/doc/guix.texi:22094
  32653. msgid "Path to the file, relative to @code{base-dir} field. This is also used as the section name."
  32654. msgstr ""
  32655. #. type: deftypevr
  32656. #: guix-git/doc/guix.texi:22073
  32657. #, no-wrap
  32658. msgid "{@code{unix-listener-configuration} parameter} string mode"
  32659. msgstr ""
  32660. #. type: deftypevr
  32661. #: guix-git/doc/guix.texi:22076 guix-git/doc/guix.texi:22099
  32662. msgid "The access mode for the socket. Defaults to @samp{\"0600\"}."
  32663. msgstr ""
  32664. #. type: deftypevr
  32665. #: guix-git/doc/guix.texi:22078
  32666. #, no-wrap
  32667. msgid "{@code{unix-listener-configuration} parameter} string user"
  32668. msgstr ""
  32669. #. type: deftypevr
  32670. #: guix-git/doc/guix.texi:22081 guix-git/doc/guix.texi:22104
  32671. msgid "The user to own the socket. Defaults to @samp{\"\"}."
  32672. msgstr ""
  32673. #. type: deftypevr
  32674. #: guix-git/doc/guix.texi:22083
  32675. #, no-wrap
  32676. msgid "{@code{unix-listener-configuration} parameter} string group"
  32677. msgstr ""
  32678. #. type: deftypevr
  32679. #: guix-git/doc/guix.texi:22086 guix-git/doc/guix.texi:22109
  32680. msgid "The group to own the socket. Defaults to @samp{\"\"}."
  32681. msgstr ""
  32682. #. type: deftypevr
  32683. #: guix-git/doc/guix.texi:22090
  32684. msgid "Available @code{fifo-listener-configuration} fields are:"
  32685. msgstr ""
  32686. #. type: deftypevr
  32687. #: guix-git/doc/guix.texi:22091
  32688. #, no-wrap
  32689. msgid "{@code{fifo-listener-configuration} parameter} string path"
  32690. msgstr ""
  32691. #. type: deftypevr
  32692. #: guix-git/doc/guix.texi:22096
  32693. #, no-wrap
  32694. msgid "{@code{fifo-listener-configuration} parameter} string mode"
  32695. msgstr ""
  32696. #. type: deftypevr
  32697. #: guix-git/doc/guix.texi:22101
  32698. #, no-wrap
  32699. msgid "{@code{fifo-listener-configuration} parameter} string user"
  32700. msgstr ""
  32701. #. type: deftypevr
  32702. #: guix-git/doc/guix.texi:22106
  32703. #, no-wrap
  32704. msgid "{@code{fifo-listener-configuration} parameter} string group"
  32705. msgstr ""
  32706. #. type: deftypevr
  32707. #: guix-git/doc/guix.texi:22113
  32708. msgid "Available @code{inet-listener-configuration} fields are:"
  32709. msgstr ""
  32710. #. type: deftypevr
  32711. #: guix-git/doc/guix.texi:22114
  32712. #, no-wrap
  32713. msgid "{@code{inet-listener-configuration} parameter} string protocol"
  32714. msgstr ""
  32715. #. type: deftypevr
  32716. #: guix-git/doc/guix.texi:22116
  32717. msgid "The protocol to listen for."
  32718. msgstr ""
  32719. #. type: deftypevr
  32720. #: guix-git/doc/guix.texi:22118
  32721. #, no-wrap
  32722. msgid "{@code{inet-listener-configuration} parameter} string address"
  32723. msgstr ""
  32724. #. type: deftypevr
  32725. #: guix-git/doc/guix.texi:22121
  32726. msgid "The address on which to listen, or empty for all addresses. Defaults to @samp{\"\"}."
  32727. msgstr ""
  32728. #. type: deftypevr
  32729. #: guix-git/doc/guix.texi:22123
  32730. #, no-wrap
  32731. msgid "{@code{inet-listener-configuration} parameter} non-negative-integer port"
  32732. msgstr ""
  32733. #. type: deftypevr
  32734. #: guix-git/doc/guix.texi:22125
  32735. msgid "The port on which to listen."
  32736. msgstr ""
  32737. #. type: deftypevr
  32738. #: guix-git/doc/guix.texi:22127
  32739. #, no-wrap
  32740. msgid "{@code{inet-listener-configuration} parameter} boolean ssl?"
  32741. msgstr ""
  32742. #. type: deftypevr
  32743. #: guix-git/doc/guix.texi:22131
  32744. msgid "Whether to use SSL for this service; @samp{yes}, @samp{no}, or @samp{required}. Defaults to @samp{#t}."
  32745. msgstr ""
  32746. #. type: deftypevr
  32747. #: guix-git/doc/guix.texi:22135
  32748. #, no-wrap
  32749. msgid "{@code{service-configuration} parameter} non-negative-integer client-limit"
  32750. msgstr ""
  32751. #. type: deftypevr
  32752. #: guix-git/doc/guix.texi:22140
  32753. 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."
  32754. msgstr ""
  32755. #. type: deftypevr
  32756. #: guix-git/doc/guix.texi:22145
  32757. #, no-wrap
  32758. msgid "{@code{service-configuration} parameter} non-negative-integer service-count"
  32759. msgstr ""
  32760. #. type: deftypevr
  32761. #: guix-git/doc/guix.texi:22150
  32762. 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}."
  32763. msgstr ""
  32764. #. type: deftypevr
  32765. #: guix-git/doc/guix.texi:22153
  32766. #, no-wrap
  32767. msgid "{@code{service-configuration} parameter} non-negative-integer process-limit"
  32768. msgstr ""
  32769. #. type: deftypevr
  32770. #: guix-git/doc/guix.texi:22156
  32771. msgid "Maximum number of processes that can exist for this service. If set to 0, @code{default-process-limit} is used instead."
  32772. msgstr ""
  32773. #. type: deftypevr
  32774. #: guix-git/doc/guix.texi:22161
  32775. #, no-wrap
  32776. msgid "{@code{service-configuration} parameter} non-negative-integer process-min-avail"
  32777. msgstr ""
  32778. #. type: deftypevr
  32779. #: guix-git/doc/guix.texi:22164
  32780. msgid "Number of processes to always keep waiting for more connections. Defaults to @samp{0}."
  32781. msgstr ""
  32782. #. type: deftypevr
  32783. #: guix-git/doc/guix.texi:22166
  32784. #, no-wrap
  32785. msgid "{@code{service-configuration} parameter} non-negative-integer vsz-limit"
  32786. msgstr ""
  32787. #. type: deftypevr
  32788. #: guix-git/doc/guix.texi:22170
  32789. msgid "If you set @samp{service-count 0}, you probably need to grow this. Defaults to @samp{256000000}."
  32790. msgstr ""
  32791. #. type: deftypevr
  32792. #: guix-git/doc/guix.texi:22174
  32793. #, no-wrap
  32794. msgid "{@code{dovecot-configuration} parameter} dict-configuration dict"
  32795. msgstr ""
  32796. #. type: deftypevr
  32797. #: guix-git/doc/guix.texi:22177
  32798. msgid "Dict configuration, as created by the @code{dict-configuration} constructor."
  32799. msgstr ""
  32800. #. type: deftypevr
  32801. #: guix-git/doc/guix.texi:22179
  32802. msgid "Available @code{dict-configuration} fields are:"
  32803. msgstr ""
  32804. #. type: deftypevr
  32805. #: guix-git/doc/guix.texi:22180
  32806. #, no-wrap
  32807. msgid "{@code{dict-configuration} parameter} free-form-fields entries"
  32808. msgstr ""
  32809. #. type: deftypevr
  32810. #: guix-git/doc/guix.texi:22183
  32811. msgid "A list of key-value pairs that this dict should hold. Defaults to @samp{()}."
  32812. msgstr ""
  32813. #. type: deftypevr
  32814. #: guix-git/doc/guix.texi:22187
  32815. #, no-wrap
  32816. msgid "{@code{dovecot-configuration} parameter} passdb-configuration-list passdbs"
  32817. msgstr ""
  32818. #. type: deftypevr
  32819. #: guix-git/doc/guix.texi:22190
  32820. msgid "A list of passdb configurations, each one created by the @code{passdb-configuration} constructor."
  32821. msgstr ""
  32822. #. type: deftypevr
  32823. #: guix-git/doc/guix.texi:22192
  32824. msgid "Available @code{passdb-configuration} fields are:"
  32825. msgstr ""
  32826. #. type: deftypevr
  32827. #: guix-git/doc/guix.texi:22193
  32828. #, no-wrap
  32829. msgid "{@code{passdb-configuration} parameter} string driver"
  32830. msgstr ""
  32831. #. type: deftypevr
  32832. #: guix-git/doc/guix.texi:22198
  32833. 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\"}."
  32834. msgstr ""
  32835. #. type: deftypevr
  32836. #: guix-git/doc/guix.texi:22200
  32837. #, no-wrap
  32838. msgid "{@code{passdb-configuration} parameter} space-separated-string-list args"
  32839. msgstr ""
  32840. #. type: deftypevr
  32841. #: guix-git/doc/guix.texi:22203
  32842. msgid "Space separated list of arguments to the passdb driver. Defaults to @samp{\"\"}."
  32843. msgstr ""
  32844. #. type: deftypevr
  32845. #: guix-git/doc/guix.texi:22207
  32846. #, no-wrap
  32847. msgid "{@code{dovecot-configuration} parameter} userdb-configuration-list userdbs"
  32848. msgstr ""
  32849. #. type: deftypevr
  32850. #: guix-git/doc/guix.texi:22210
  32851. msgid "List of userdb configurations, each one created by the @code{userdb-configuration} constructor."
  32852. msgstr ""
  32853. #. type: deftypevr
  32854. #: guix-git/doc/guix.texi:22212
  32855. msgid "Available @code{userdb-configuration} fields are:"
  32856. msgstr ""
  32857. #. type: deftypevr
  32858. #: guix-git/doc/guix.texi:22213
  32859. #, no-wrap
  32860. msgid "{@code{userdb-configuration} parameter} string driver"
  32861. msgstr ""
  32862. #. type: deftypevr
  32863. #: guix-git/doc/guix.texi:22217
  32864. msgid "The driver that the userdb should use. Valid values include @samp{passwd} and @samp{static}. Defaults to @samp{\"passwd\"}."
  32865. msgstr ""
  32866. #. type: deftypevr
  32867. #: guix-git/doc/guix.texi:22219
  32868. #, no-wrap
  32869. msgid "{@code{userdb-configuration} parameter} space-separated-string-list args"
  32870. msgstr ""
  32871. #. type: deftypevr
  32872. #: guix-git/doc/guix.texi:22222
  32873. msgid "Space separated list of arguments to the userdb driver. Defaults to @samp{\"\"}."
  32874. msgstr ""
  32875. #. type: deftypevr
  32876. #: guix-git/doc/guix.texi:22224
  32877. #, no-wrap
  32878. msgid "{@code{userdb-configuration} parameter} free-form-args override-fields"
  32879. msgstr ""
  32880. #. type: deftypevr
  32881. #: guix-git/doc/guix.texi:22227
  32882. msgid "Override fields from passwd. Defaults to @samp{()}."
  32883. msgstr ""
  32884. #. type: deftypevr
  32885. #: guix-git/doc/guix.texi:22231
  32886. #, no-wrap
  32887. msgid "{@code{dovecot-configuration} parameter} plugin-configuration plugin-configuration"
  32888. msgstr ""
  32889. #. type: deftypevr
  32890. #: guix-git/doc/guix.texi:22234
  32891. msgid "Plug-in configuration, created by the @code{plugin-configuration} constructor."
  32892. msgstr ""
  32893. #. type: deftypevr
  32894. #: guix-git/doc/guix.texi:22236
  32895. #, no-wrap
  32896. msgid "{@code{dovecot-configuration} parameter} list-of-namespace-configuration namespaces"
  32897. msgstr ""
  32898. #. type: deftypevr
  32899. #: guix-git/doc/guix.texi:22239
  32900. msgid "List of namespaces. Each item in the list is created by the @code{namespace-configuration} constructor."
  32901. msgstr ""
  32902. #. type: deftypevr
  32903. #: guix-git/doc/guix.texi:22241
  32904. msgid "Available @code{namespace-configuration} fields are:"
  32905. msgstr ""
  32906. #. type: deftypevr
  32907. #: guix-git/doc/guix.texi:22242
  32908. #, no-wrap
  32909. msgid "{@code{namespace-configuration} parameter} string name"
  32910. msgstr ""
  32911. #. type: deftypevr
  32912. #: guix-git/doc/guix.texi:22244
  32913. msgid "Name for this namespace."
  32914. msgstr ""
  32915. #. type: deftypevr
  32916. #: guix-git/doc/guix.texi:22246
  32917. #, no-wrap
  32918. msgid "{@code{namespace-configuration} parameter} string type"
  32919. msgstr ""
  32920. #. type: deftypevr
  32921. #: guix-git/doc/guix.texi:22249
  32922. msgid "Namespace type: @samp{private}, @samp{shared} or @samp{public}. Defaults to @samp{\"private\"}."
  32923. msgstr ""
  32924. #. type: deftypevr
  32925. #: guix-git/doc/guix.texi:22251
  32926. #, no-wrap
  32927. msgid "{@code{namespace-configuration} parameter} string separator"
  32928. msgstr ""
  32929. #. type: deftypevr
  32930. #: guix-git/doc/guix.texi:22257
  32931. 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{\"\"}."
  32932. msgstr ""
  32933. #. type: deftypevr
  32934. #: guix-git/doc/guix.texi:22259
  32935. #, no-wrap
  32936. msgid "{@code{namespace-configuration} parameter} string prefix"
  32937. msgstr ""
  32938. #. type: deftypevr
  32939. #: guix-git/doc/guix.texi:22263
  32940. msgid "Prefix required to access this namespace. This needs to be different for all namespaces. For example @samp{Public/}. Defaults to @samp{\"\"}."
  32941. msgstr ""
  32942. #. type: deftypevr
  32943. #: guix-git/doc/guix.texi:22265
  32944. #, no-wrap
  32945. msgid "{@code{namespace-configuration} parameter} string location"
  32946. msgstr ""
  32947. #. type: deftypevr
  32948. #: guix-git/doc/guix.texi:22269
  32949. 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{\"\"}."
  32950. msgstr ""
  32951. #. type: deftypevr
  32952. #: guix-git/doc/guix.texi:22271
  32953. #, no-wrap
  32954. msgid "{@code{namespace-configuration} parameter} boolean inbox?"
  32955. msgstr ""
  32956. #. type: deftypevr
  32957. #: guix-git/doc/guix.texi:22275
  32958. msgid "There can be only one INBOX, and this setting defines which namespace has it. Defaults to @samp{#f}."
  32959. msgstr ""
  32960. #. type: deftypevr
  32961. #: guix-git/doc/guix.texi:22277
  32962. #, no-wrap
  32963. msgid "{@code{namespace-configuration} parameter} boolean hidden?"
  32964. msgstr ""
  32965. #. type: deftypevr
  32966. #: guix-git/doc/guix.texi:22285
  32967. 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}."
  32968. msgstr ""
  32969. #. type: deftypevr
  32970. #: guix-git/doc/guix.texi:22287
  32971. #, no-wrap
  32972. msgid "{@code{namespace-configuration} parameter} boolean list?"
  32973. msgstr ""
  32974. #. type: deftypevr
  32975. #: guix-git/doc/guix.texi:22293
  32976. 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}."
  32977. msgstr ""
  32978. #. type: deftypevr
  32979. #: guix-git/doc/guix.texi:22295
  32980. #, no-wrap
  32981. msgid "{@code{namespace-configuration} parameter} boolean subscriptions?"
  32982. msgstr ""
  32983. #. type: deftypevr
  32984. #: guix-git/doc/guix.texi:22300
  32985. 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}."
  32986. msgstr ""
  32987. #. type: deftypevr
  32988. #: guix-git/doc/guix.texi:22302
  32989. #, no-wrap
  32990. msgid "{@code{namespace-configuration} parameter} mailbox-configuration-list mailboxes"
  32991. msgstr ""
  32992. #. type: deftypevr
  32993. #: guix-git/doc/guix.texi:22305
  32994. msgid "List of predefined mailboxes in this namespace. Defaults to @samp{()}."
  32995. msgstr ""
  32996. #. type: deftypevr
  32997. #: guix-git/doc/guix.texi:22307
  32998. msgid "Available @code{mailbox-configuration} fields are:"
  32999. msgstr ""
  33000. #. type: deftypevr
  33001. #: guix-git/doc/guix.texi:22308
  33002. #, no-wrap
  33003. msgid "{@code{mailbox-configuration} parameter} string name"
  33004. msgstr ""
  33005. #. type: deftypevr
  33006. #: guix-git/doc/guix.texi:22310
  33007. msgid "Name for this mailbox."
  33008. msgstr ""
  33009. #. type: deftypevr
  33010. #: guix-git/doc/guix.texi:22312
  33011. #, no-wrap
  33012. msgid "{@code{mailbox-configuration} parameter} string auto"
  33013. msgstr ""
  33014. #. type: deftypevr
  33015. #: guix-git/doc/guix.texi:22316
  33016. msgid "@samp{create} will automatically create this mailbox. @samp{subscribe} will both create and subscribe to the mailbox. Defaults to @samp{\"no\"}."
  33017. msgstr ""
  33018. #. type: deftypevr
  33019. #: guix-git/doc/guix.texi:22318
  33020. #, no-wrap
  33021. msgid "{@code{mailbox-configuration} parameter} space-separated-string-list special-use"
  33022. msgstr ""
  33023. #. type: deftypevr
  33024. #: guix-git/doc/guix.texi:22323
  33025. 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{()}."
  33026. msgstr ""
  33027. #. type: deftypevr
  33028. #: guix-git/doc/guix.texi:22329
  33029. #, no-wrap
  33030. msgid "{@code{dovecot-configuration} parameter} file-name base-dir"
  33031. msgstr ""
  33032. #. type: deftypevr
  33033. #: guix-git/doc/guix.texi:22332
  33034. msgid "Base directory where to store runtime data. Defaults to @samp{\"/var/run/dovecot/\"}."
  33035. msgstr ""
  33036. #. type: deftypevr
  33037. #: guix-git/doc/guix.texi:22334
  33038. #, no-wrap
  33039. msgid "{@code{dovecot-configuration} parameter} string login-greeting"
  33040. msgstr ""
  33041. #. type: deftypevr
  33042. #: guix-git/doc/guix.texi:22337
  33043. msgid "Greeting message for clients. Defaults to @samp{\"Dovecot ready.\"}."
  33044. msgstr ""
  33045. #. type: deftypevr
  33046. #: guix-git/doc/guix.texi:22339
  33047. #, no-wrap
  33048. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list login-trusted-networks"
  33049. msgstr ""
  33050. #. type: deftypevr
  33051. #: guix-git/doc/guix.texi:22346
  33052. 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{()}."
  33053. msgstr ""
  33054. #. type: deftypevr
  33055. #: guix-git/doc/guix.texi:22348
  33056. #, no-wrap
  33057. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list login-access-sockets"
  33058. msgstr ""
  33059. #. type: deftypevr
  33060. #: guix-git/doc/guix.texi:22351
  33061. msgid "List of login access check sockets (e.g.@: tcpwrap). Defaults to @samp{()}."
  33062. msgstr ""
  33063. #. type: deftypevr
  33064. #: guix-git/doc/guix.texi:22353
  33065. #, no-wrap
  33066. msgid "{@code{dovecot-configuration} parameter} boolean verbose-proctitle?"
  33067. msgstr ""
  33068. #. type: deftypevr
  33069. #: guix-git/doc/guix.texi:22359
  33070. 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}."
  33071. msgstr ""
  33072. #. type: deftypevr
  33073. #: guix-git/doc/guix.texi:22361
  33074. #, no-wrap
  33075. msgid "{@code{dovecot-configuration} parameter} boolean shutdown-clients?"
  33076. msgstr ""
  33077. #. type: deftypevr
  33078. #: guix-git/doc/guix.texi:22367
  33079. 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}."
  33080. msgstr ""
  33081. #. type: deftypevr
  33082. #: guix-git/doc/guix.texi:22369
  33083. #, no-wrap
  33084. msgid "{@code{dovecot-configuration} parameter} non-negative-integer doveadm-worker-count"
  33085. msgstr ""
  33086. #. type: deftypevr
  33087. #: guix-git/doc/guix.texi:22373
  33088. 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}."
  33089. msgstr ""
  33090. #. type: deftypevr
  33091. #: guix-git/doc/guix.texi:22375
  33092. #, no-wrap
  33093. msgid "{@code{dovecot-configuration} parameter} string doveadm-socket-path"
  33094. msgstr ""
  33095. #. type: deftypevr
  33096. #: guix-git/doc/guix.texi:22378
  33097. msgid "UNIX socket or host:port used for connecting to doveadm server. Defaults to @samp{\"doveadm-server\"}."
  33098. msgstr ""
  33099. #. type: deftypevr
  33100. #: guix-git/doc/guix.texi:22380
  33101. #, no-wrap
  33102. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list import-environment"
  33103. msgstr ""
  33104. #. type: deftypevr
  33105. #: guix-git/doc/guix.texi:22384
  33106. 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."
  33107. msgstr ""
  33108. #. type: deftypevr
  33109. #: guix-git/doc/guix.texi:22386
  33110. #, no-wrap
  33111. msgid "{@code{dovecot-configuration} parameter} boolean disable-plaintext-auth?"
  33112. msgstr ""
  33113. #. type: deftypevr
  33114. #: guix-git/doc/guix.texi:22393
  33115. 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}."
  33116. msgstr ""
  33117. #. type: deftypevr
  33118. #: guix-git/doc/guix.texi:22395
  33119. #, no-wrap
  33120. msgid "{@code{dovecot-configuration} parameter} non-negative-integer auth-cache-size"
  33121. msgstr ""
  33122. #. type: deftypevr
  33123. #: guix-git/doc/guix.texi:22400
  33124. 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}."
  33125. msgstr ""
  33126. #. type: deftypevr
  33127. #: guix-git/doc/guix.texi:22402
  33128. #, no-wrap
  33129. msgid "{@code{dovecot-configuration} parameter} string auth-cache-ttl"
  33130. msgstr ""
  33131. #. type: deftypevr
  33132. #: guix-git/doc/guix.texi:22410
  33133. 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\"}."
  33134. msgstr ""
  33135. #. type: deftypevr
  33136. #: guix-git/doc/guix.texi:22412
  33137. #, no-wrap
  33138. msgid "{@code{dovecot-configuration} parameter} string auth-cache-negative-ttl"
  33139. msgstr ""
  33140. #. type: deftypevr
  33141. #: guix-git/doc/guix.texi:22416
  33142. msgid "TTL for negative hits (user not found, password mismatch). 0 disables caching them completely. Defaults to @samp{\"1 hour\"}."
  33143. msgstr ""
  33144. #. type: deftypevr
  33145. #: guix-git/doc/guix.texi:22418
  33146. #, no-wrap
  33147. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list auth-realms"
  33148. msgstr ""
  33149. #. type: deftypevr
  33150. #: guix-git/doc/guix.texi:22424
  33151. 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{()}."
  33152. msgstr ""
  33153. #. type: deftypevr
  33154. #: guix-git/doc/guix.texi:22426
  33155. #, no-wrap
  33156. msgid "{@code{dovecot-configuration} parameter} string auth-default-realm"
  33157. msgstr ""
  33158. #. type: deftypevr
  33159. #: guix-git/doc/guix.texi:22431
  33160. 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{\"\"}."
  33161. msgstr ""
  33162. #. type: deftypevr
  33163. #: guix-git/doc/guix.texi:22433
  33164. #, no-wrap
  33165. msgid "{@code{dovecot-configuration} parameter} string auth-username-chars"
  33166. msgstr ""
  33167. #. type: deftypevr
  33168. #: guix-git/doc/guix.texi:22440
  33169. 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.-_@@\"}."
  33170. msgstr ""
  33171. #. type: deftypevr
  33172. #: guix-git/doc/guix.texi:22442
  33173. #, no-wrap
  33174. msgid "{@code{dovecot-configuration} parameter} string auth-username-translation"
  33175. msgstr ""
  33176. #. type: deftypevr
  33177. #: guix-git/doc/guix.texi:22448
  33178. 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{\"\"}."
  33179. msgstr ""
  33180. #. type: deftypevr
  33181. #: guix-git/doc/guix.texi:22450
  33182. #, no-wrap
  33183. msgid "{@code{dovecot-configuration} parameter} string auth-username-format"
  33184. msgstr ""
  33185. #. type: deftypevr
  33186. #: guix-git/doc/guix.texi:22457
  33187. 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\"}."
  33188. msgstr ""
  33189. #. type: deftypevr
  33190. #: guix-git/doc/guix.texi:22459
  33191. #, no-wrap
  33192. msgid "{@code{dovecot-configuration} parameter} string auth-master-user-separator"
  33193. msgstr ""
  33194. #. type: deftypevr
  33195. #: guix-git/doc/guix.texi:22467
  33196. 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{\"\"}."
  33197. msgstr ""
  33198. #. type: deftypevr
  33199. #: guix-git/doc/guix.texi:22469
  33200. #, no-wrap
  33201. msgid "{@code{dovecot-configuration} parameter} string auth-anonymous-username"
  33202. msgstr ""
  33203. #. type: deftypevr
  33204. #: guix-git/doc/guix.texi:22473
  33205. msgid "Username to use for users logging in with ANONYMOUS SASL mechanism. Defaults to @samp{\"anonymous\"}."
  33206. msgstr ""
  33207. #. type: deftypevr
  33208. #: guix-git/doc/guix.texi:22475
  33209. #, no-wrap
  33210. msgid "{@code{dovecot-configuration} parameter} non-negative-integer auth-worker-max-count"
  33211. msgstr ""
  33212. #. type: deftypevr
  33213. #: guix-git/doc/guix.texi:22480
  33214. 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}."
  33215. msgstr ""
  33216. #. type: deftypevr
  33217. #: guix-git/doc/guix.texi:22482
  33218. #, no-wrap
  33219. msgid "{@code{dovecot-configuration} parameter} string auth-gssapi-hostname"
  33220. msgstr ""
  33221. #. type: deftypevr
  33222. #: guix-git/doc/guix.texi:22487
  33223. 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{\"\"}."
  33224. msgstr ""
  33225. #. type: deftypevr
  33226. #: guix-git/doc/guix.texi:22489
  33227. #, no-wrap
  33228. msgid "{@code{dovecot-configuration} parameter} string auth-krb5-keytab"
  33229. msgstr ""
  33230. #. type: deftypevr
  33231. #: guix-git/doc/guix.texi:22495
  33232. 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{\"\"}."
  33233. msgstr ""
  33234. #. type: deftypevr
  33235. #: guix-git/doc/guix.texi:22497
  33236. #, no-wrap
  33237. msgid "{@code{dovecot-configuration} parameter} boolean auth-use-winbind?"
  33238. msgstr ""
  33239. #. type: deftypevr
  33240. #: guix-git/doc/guix.texi:22502
  33241. 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}."
  33242. msgstr ""
  33243. #. type: deftypevr
  33244. #: guix-git/doc/guix.texi:22504
  33245. #, no-wrap
  33246. msgid "{@code{dovecot-configuration} parameter} file-name auth-winbind-helper-path"
  33247. msgstr ""
  33248. #. type: deftypevr
  33249. #: guix-git/doc/guix.texi:22507
  33250. msgid "Path for Samba's @samp{ntlm-auth} helper binary. Defaults to @samp{\"/usr/bin/ntlm_auth\"}."
  33251. msgstr ""
  33252. #. type: deftypevr
  33253. #: guix-git/doc/guix.texi:22509
  33254. #, no-wrap
  33255. msgid "{@code{dovecot-configuration} parameter} string auth-failure-delay"
  33256. msgstr ""
  33257. #. type: deftypevr
  33258. #: guix-git/doc/guix.texi:22512
  33259. msgid "Time to delay before replying to failed authentications. Defaults to @samp{\"2 secs\"}."
  33260. msgstr ""
  33261. #. type: deftypevr
  33262. #: guix-git/doc/guix.texi:22514
  33263. #, no-wrap
  33264. msgid "{@code{dovecot-configuration} parameter} boolean auth-ssl-require-client-cert?"
  33265. msgstr ""
  33266. #. type: deftypevr
  33267. #: guix-git/doc/guix.texi:22518
  33268. msgid "Require a valid SSL client certificate or the authentication fails. Defaults to @samp{#f}."
  33269. msgstr ""
  33270. #. type: deftypevr
  33271. #: guix-git/doc/guix.texi:22520
  33272. #, no-wrap
  33273. msgid "{@code{dovecot-configuration} parameter} boolean auth-ssl-username-from-cert?"
  33274. msgstr ""
  33275. #. type: deftypevr
  33276. #: guix-git/doc/guix.texi:22525
  33277. 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}."
  33278. msgstr ""
  33279. #. type: deftypevr
  33280. #: guix-git/doc/guix.texi:22527
  33281. #, no-wrap
  33282. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list auth-mechanisms"
  33283. msgstr ""
  33284. #. type: deftypevr
  33285. #: guix-git/doc/guix.texi:22533
  33286. 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."
  33287. msgstr ""
  33288. #. type: deftypevr
  33289. #: guix-git/doc/guix.texi:22535
  33290. #, no-wrap
  33291. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list director-servers"
  33292. msgstr ""
  33293. #. type: deftypevr
  33294. #: guix-git/doc/guix.texi:22540
  33295. 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{()}."
  33296. msgstr ""
  33297. #. type: deftypevr
  33298. #: guix-git/doc/guix.texi:22542
  33299. #, no-wrap
  33300. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list director-mail-servers"
  33301. msgstr ""
  33302. #. type: deftypevr
  33303. #: guix-git/doc/guix.texi:22546
  33304. 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{()}."
  33305. msgstr ""
  33306. #. type: deftypevr
  33307. #: guix-git/doc/guix.texi:22548
  33308. #, no-wrap
  33309. msgid "{@code{dovecot-configuration} parameter} string director-user-expire"
  33310. msgstr ""
  33311. #. type: deftypevr
  33312. #: guix-git/doc/guix.texi:22552
  33313. msgid "How long to redirect users to a specific server after it no longer has any connections. Defaults to @samp{\"15 min\"}."
  33314. msgstr ""
  33315. #. type: deftypevr
  33316. #: guix-git/doc/guix.texi:22554
  33317. #, no-wrap
  33318. msgid "{@code{dovecot-configuration} parameter} string director-username-hash"
  33319. msgstr ""
  33320. #. type: deftypevr
  33321. #: guix-git/doc/guix.texi:22559
  33322. 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\"}."
  33323. msgstr ""
  33324. #. type: deftypevr
  33325. #: guix-git/doc/guix.texi:22561
  33326. #, no-wrap
  33327. msgid "{@code{dovecot-configuration} parameter} string log-path"
  33328. msgstr ""
  33329. #. type: deftypevr
  33330. #: guix-git/doc/guix.texi:22565
  33331. msgid "Log file to use for error messages. @samp{syslog} logs to syslog, @samp{/dev/stderr} logs to stderr. Defaults to @samp{\"syslog\"}."
  33332. msgstr ""
  33333. #. type: deftypevr
  33334. #: guix-git/doc/guix.texi:22567
  33335. #, no-wrap
  33336. msgid "{@code{dovecot-configuration} parameter} string info-log-path"
  33337. msgstr ""
  33338. #. type: deftypevr
  33339. #: guix-git/doc/guix.texi:22571
  33340. msgid "Log file to use for informational messages. Defaults to @samp{log-path}. Defaults to @samp{\"\"}."
  33341. msgstr ""
  33342. #. type: deftypevr
  33343. #: guix-git/doc/guix.texi:22573
  33344. #, no-wrap
  33345. msgid "{@code{dovecot-configuration} parameter} string debug-log-path"
  33346. msgstr ""
  33347. #. type: deftypevr
  33348. #: guix-git/doc/guix.texi:22577
  33349. msgid "Log file to use for debug messages. Defaults to @samp{info-log-path}. Defaults to @samp{\"\"}."
  33350. msgstr ""
  33351. #. type: deftypevr
  33352. #: guix-git/doc/guix.texi:22579
  33353. #, no-wrap
  33354. msgid "{@code{dovecot-configuration} parameter} string syslog-facility"
  33355. msgstr ""
  33356. #. type: deftypevr
  33357. #: guix-git/doc/guix.texi:22584
  33358. 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\"}."
  33359. msgstr ""
  33360. #. type: deftypevr
  33361. #: guix-git/doc/guix.texi:22586
  33362. #, no-wrap
  33363. msgid "{@code{dovecot-configuration} parameter} boolean auth-verbose?"
  33364. msgstr ""
  33365. #. type: deftypevr
  33366. #: guix-git/doc/guix.texi:22590
  33367. msgid "Log unsuccessful authentication attempts and the reasons why they failed. Defaults to @samp{#f}."
  33368. msgstr ""
  33369. #. type: deftypevr
  33370. #: guix-git/doc/guix.texi:22592
  33371. #, no-wrap
  33372. msgid "{@code{dovecot-configuration} parameter} string auth-verbose-passwords"
  33373. msgstr ""
  33374. #. type: deftypevr
  33375. #: guix-git/doc/guix.texi:22599
  33376. 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\"}."
  33377. msgstr ""
  33378. #. type: deftypevr
  33379. #: guix-git/doc/guix.texi:22601
  33380. #, no-wrap
  33381. msgid "{@code{dovecot-configuration} parameter} boolean auth-debug?"
  33382. msgstr ""
  33383. #. type: deftypevr
  33384. #: guix-git/doc/guix.texi:22605
  33385. msgid "Even more verbose logging for debugging purposes. Shows for example SQL queries. Defaults to @samp{#f}."
  33386. msgstr ""
  33387. #. type: deftypevr
  33388. #: guix-git/doc/guix.texi:22607
  33389. #, no-wrap
  33390. msgid "{@code{dovecot-configuration} parameter} boolean auth-debug-passwords?"
  33391. msgstr ""
  33392. #. type: deftypevr
  33393. #: guix-git/doc/guix.texi:22612
  33394. 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}."
  33395. msgstr ""
  33396. #. type: deftypevr
  33397. #: guix-git/doc/guix.texi:22614
  33398. #, no-wrap
  33399. msgid "{@code{dovecot-configuration} parameter} boolean mail-debug?"
  33400. msgstr ""
  33401. #. type: deftypevr
  33402. #: guix-git/doc/guix.texi:22618
  33403. msgid "Enable mail process debugging. This can help you figure out why Dovecot isn't finding your mails. Defaults to @samp{#f}."
  33404. msgstr ""
  33405. #. type: deftypevr
  33406. #: guix-git/doc/guix.texi:22620
  33407. #, no-wrap
  33408. msgid "{@code{dovecot-configuration} parameter} boolean verbose-ssl?"
  33409. msgstr ""
  33410. #. type: deftypevr
  33411. #: guix-git/doc/guix.texi:22623
  33412. msgid "Show protocol level SSL errors. Defaults to @samp{#f}."
  33413. msgstr ""
  33414. #. type: deftypevr
  33415. #: guix-git/doc/guix.texi:22625
  33416. #, no-wrap
  33417. msgid "{@code{dovecot-configuration} parameter} string log-timestamp"
  33418. msgstr ""
  33419. #. type: deftypevr
  33420. #: guix-git/doc/guix.texi:22629
  33421. msgid "Prefix for each line written to log file. % codes are in strftime(3) format. Defaults to @samp{\"\\\"%b %d %H:%M:%S \\\"\"}."
  33422. msgstr ""
  33423. #. type: deftypevr
  33424. #: guix-git/doc/guix.texi:22631
  33425. #, no-wrap
  33426. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list login-log-format-elements"
  33427. msgstr ""
  33428. #. type: deftypevr
  33429. #: guix-git/doc/guix.texi:22635
  33430. 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."
  33431. msgstr ""
  33432. #. type: deftypevr
  33433. #: guix-git/doc/guix.texi:22637
  33434. #, no-wrap
  33435. msgid "{@code{dovecot-configuration} parameter} string login-log-format"
  33436. msgstr ""
  33437. #. type: deftypevr
  33438. #: guix-git/doc/guix.texi:22641
  33439. msgid "Login log format. %s contains @samp{login-log-format-elements} string, %$ contains the data we want to log. Defaults to @samp{\"%$: %s\"}."
  33440. msgstr ""
  33441. #. type: deftypevr
  33442. #: guix-git/doc/guix.texi:22643
  33443. #, no-wrap
  33444. msgid "{@code{dovecot-configuration} parameter} string mail-log-prefix"
  33445. msgstr ""
  33446. #. type: deftypevr
  33447. #: guix-git/doc/guix.texi:22647
  33448. 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@}>: \\\"\"}."
  33449. msgstr ""
  33450. #. type: deftypevr
  33451. #: guix-git/doc/guix.texi:22649
  33452. #, no-wrap
  33453. msgid "{@code{dovecot-configuration} parameter} string deliver-log-format"
  33454. msgstr ""
  33455. #. type: deftypevr
  33456. #: guix-git/doc/guix.texi:22651
  33457. msgid "Format to use for logging mail deliveries. You can use variables:"
  33458. msgstr ""
  33459. #. type: item
  33460. #: guix-git/doc/guix.texi:22652
  33461. #, no-wrap
  33462. msgid "%$"
  33463. msgstr ""
  33464. #. type: table
  33465. #: guix-git/doc/guix.texi:22654
  33466. msgid "Delivery status message (e.g.@: @samp{saved to INBOX})"
  33467. msgstr ""
  33468. #. type: item
  33469. #: guix-git/doc/guix.texi:22654
  33470. #, no-wrap
  33471. msgid "%m"
  33472. msgstr ""
  33473. #. type: table
  33474. #: guix-git/doc/guix.texi:22656
  33475. msgid "Message-ID"
  33476. msgstr ""
  33477. #. type: item
  33478. #: guix-git/doc/guix.texi:22656 guix-git/doc/guix.texi:23199
  33479. #, no-wrap
  33480. msgid "%s"
  33481. msgstr "%s"
  33482. #. type: table
  33483. #: guix-git/doc/guix.texi:22658
  33484. msgid "Subject"
  33485. msgstr "Otsikko"
  33486. #. type: item
  33487. #: guix-git/doc/guix.texi:22658
  33488. #, no-wrap
  33489. msgid "%f"
  33490. msgstr ""
  33491. #. type: table
  33492. #: guix-git/doc/guix.texi:22660
  33493. msgid "From address"
  33494. msgstr ""
  33495. #. type: table
  33496. #: guix-git/doc/guix.texi:22662
  33497. msgid "Physical size"
  33498. msgstr ""
  33499. #. type: item
  33500. #: guix-git/doc/guix.texi:22662
  33501. #, no-wrap
  33502. msgid "%w"
  33503. msgstr ""
  33504. #. type: table
  33505. #: guix-git/doc/guix.texi:22664
  33506. msgid "Virtual size."
  33507. msgstr ""
  33508. #. type: deftypevr
  33509. #: guix-git/doc/guix.texi:22666
  33510. msgid "Defaults to @samp{\"msgid=%m: %$\"}."
  33511. msgstr ""
  33512. #. type: deftypevr
  33513. #: guix-git/doc/guix.texi:22668
  33514. #, no-wrap
  33515. msgid "{@code{dovecot-configuration} parameter} string mail-location"
  33516. msgstr ""
  33517. #. type: deftypevr
  33518. #: guix-git/doc/guix.texi:22673
  33519. 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."
  33520. msgstr ""
  33521. #. type: deftypevr
  33522. #: guix-git/doc/guix.texi:22679
  33523. 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."
  33524. msgstr ""
  33525. #. type: deftypevr
  33526. #: guix-git/doc/guix.texi:22681
  33527. msgid "There are a few special variables you can use, e.g.:"
  33528. msgstr ""
  33529. #. type: table
  33530. #: guix-git/doc/guix.texi:22685
  33531. msgid "username"
  33532. msgstr "käyttäjänimi"
  33533. #. type: item
  33534. #: guix-git/doc/guix.texi:22685 guix-git/doc/guix.texi:23195
  33535. #, no-wrap
  33536. msgid "%n"
  33537. msgstr ""
  33538. #. type: table
  33539. #: guix-git/doc/guix.texi:22687
  33540. msgid "user part in user@@domain, same as %u if there's no domain"
  33541. msgstr ""
  33542. #. type: item
  33543. #: guix-git/doc/guix.texi:22687
  33544. #, no-wrap
  33545. msgid "%d"
  33546. msgstr ""
  33547. #. type: table
  33548. #: guix-git/doc/guix.texi:22689
  33549. msgid "domain part in user@@domain, empty if there's no domain"
  33550. msgstr ""
  33551. #. type: item
  33552. #: guix-git/doc/guix.texi:22689
  33553. #, no-wrap
  33554. msgid "%h"
  33555. msgstr ""
  33556. #. type: table
  33557. #: guix-git/doc/guix.texi:22691
  33558. msgid "home director"
  33559. msgstr "kotihakemisto"
  33560. #. type: deftypevr
  33561. #: guix-git/doc/guix.texi:22694
  33562. msgid "See doc/wiki/Variables.txt for full list. Some examples:"
  33563. msgstr ""
  33564. #. type: item
  33565. #: guix-git/doc/guix.texi:22695
  33566. #, no-wrap
  33567. msgid "maildir:~/Maildir"
  33568. msgstr ""
  33569. #. type: item
  33570. #: guix-git/doc/guix.texi:22696
  33571. #, no-wrap
  33572. msgid "mbox:~/mail:INBOX=/var/mail/%u"
  33573. msgstr ""
  33574. #. type: item
  33575. #: guix-git/doc/guix.texi:22697
  33576. #, no-wrap
  33577. msgid "mbox:/var/mail/%d/%1n/%n:INDEX=/var/indexes/%d/%1n/%"
  33578. msgstr ""
  33579. #. type: deftypevr
  33580. #: guix-git/doc/guix.texi:22702
  33581. #, no-wrap
  33582. msgid "{@code{dovecot-configuration} parameter} string mail-uid"
  33583. msgstr ""
  33584. #. type: deftypevr
  33585. #: guix-git/doc/guix.texi:22707
  33586. 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{\"\"}."
  33587. msgstr ""
  33588. #. type: deftypevr
  33589. #: guix-git/doc/guix.texi:22709
  33590. #, no-wrap
  33591. msgid "{@code{dovecot-configuration} parameter} string mail-gid"
  33592. msgstr ""
  33593. #. type: deftypevr
  33594. #: guix-git/doc/guix.texi:22714
  33595. #, no-wrap
  33596. msgid "{@code{dovecot-configuration} parameter} string mail-privileged-group"
  33597. msgstr ""
  33598. #. type: deftypevr
  33599. #: guix-git/doc/guix.texi:22720
  33600. 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{\"\"}."
  33601. msgstr ""
  33602. #. type: deftypevr
  33603. #: guix-git/doc/guix.texi:22722
  33604. #, no-wrap
  33605. msgid "{@code{dovecot-configuration} parameter} string mail-access-groups"
  33606. msgstr ""
  33607. #. type: deftypevr
  33608. #: guix-git/doc/guix.texi:22730
  33609. 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{\"\"}."
  33610. msgstr ""
  33611. #. type: deftypevr
  33612. #: guix-git/doc/guix.texi:22732
  33613. #, no-wrap
  33614. msgid "{@code{dovecot-configuration} parameter} string mail-attribute-dict"
  33615. msgstr ""
  33616. #. type: deftypevr
  33617. #: guix-git/doc/guix.texi:22735
  33618. 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}."
  33619. msgstr ""
  33620. #. type: deftypevr
  33621. #: guix-git/doc/guix.texi:22738
  33622. msgid "The IMAP METADATA commands are available only if the ``imap'' protocol configuration's @code{imap-metadata?} field is @samp{#t}."
  33623. msgstr ""
  33624. #. type: deftypevr
  33625. #: guix-git/doc/guix.texi:22743
  33626. #, no-wrap
  33627. msgid "{@code{dovecot-configuration} parameter} boolean mail-full-filesystem-access?"
  33628. msgstr ""
  33629. #. type: deftypevr
  33630. #: guix-git/doc/guix.texi:22749
  33631. 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}."
  33632. msgstr ""
  33633. #. type: deftypevr
  33634. #: guix-git/doc/guix.texi:22751
  33635. #, no-wrap
  33636. msgid "{@code{dovecot-configuration} parameter} boolean mmap-disable?"
  33637. msgstr ""
  33638. #. type: deftypevr
  33639. #: guix-git/doc/guix.texi:22755
  33640. 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}."
  33641. msgstr ""
  33642. #. type: deftypevr
  33643. #: guix-git/doc/guix.texi:22757
  33644. #, no-wrap
  33645. msgid "{@code{dovecot-configuration} parameter} boolean dotlock-use-excl?"
  33646. msgstr ""
  33647. #. type: deftypevr
  33648. #: guix-git/doc/guix.texi:22762
  33649. 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}."
  33650. msgstr ""
  33651. #. type: deftypevr
  33652. #: guix-git/doc/guix.texi:22764
  33653. #, no-wrap
  33654. msgid "{@code{dovecot-configuration} parameter} string mail-fsync"
  33655. msgstr ""
  33656. #. type: deftypevr
  33657. #: guix-git/doc/guix.texi:22766
  33658. msgid "When to use fsync() or fdatasync() calls:"
  33659. msgstr ""
  33660. #. type: item
  33661. #: guix-git/doc/guix.texi:22767
  33662. #, no-wrap
  33663. msgid "optimized"
  33664. msgstr ""
  33665. #. type: table
  33666. #: guix-git/doc/guix.texi:22769
  33667. msgid "Whenever necessary to avoid losing important data"
  33668. msgstr ""
  33669. #. type: table
  33670. #: guix-git/doc/guix.texi:22771
  33671. msgid "Useful with e.g.@: NFS when @code{write()}s are delayed"
  33672. msgstr ""
  33673. #. type: table
  33674. #: guix-git/doc/guix.texi:22773
  33675. msgid "Never use it (best performance, but crashes can lose data)."
  33676. msgstr ""
  33677. #. type: deftypevr
  33678. #: guix-git/doc/guix.texi:22775
  33679. msgid "Defaults to @samp{\"optimized\"}."
  33680. msgstr ""
  33681. #. type: deftypevr
  33682. #: guix-git/doc/guix.texi:22777
  33683. #, no-wrap
  33684. msgid "{@code{dovecot-configuration} parameter} boolean mail-nfs-storage?"
  33685. msgstr ""
  33686. #. type: deftypevr
  33687. #: guix-git/doc/guix.texi:22782
  33688. 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}."
  33689. msgstr ""
  33690. #. type: deftypevr
  33691. #: guix-git/doc/guix.texi:22784
  33692. #, no-wrap
  33693. msgid "{@code{dovecot-configuration} parameter} boolean mail-nfs-index?"
  33694. msgstr ""
  33695. #. type: deftypevr
  33696. #: guix-git/doc/guix.texi:22788
  33697. 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}."
  33698. msgstr ""
  33699. #. type: deftypevr
  33700. #: guix-git/doc/guix.texi:22790
  33701. #, no-wrap
  33702. msgid "{@code{dovecot-configuration} parameter} string lock-method"
  33703. msgstr ""
  33704. #. type: deftypevr
  33705. #: guix-git/doc/guix.texi:22796
  33706. 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\"}."
  33707. msgstr ""
  33708. #. type: deftypevr
  33709. #: guix-git/doc/guix.texi:22798
  33710. #, no-wrap
  33711. msgid "{@code{dovecot-configuration} parameter} file-name mail-temp-dir"
  33712. msgstr ""
  33713. #. type: deftypevr
  33714. #: guix-git/doc/guix.texi:22802
  33715. msgid "Directory in which LDA/LMTP temporarily stores incoming mails >128 kB. Defaults to @samp{\"/tmp\"}."
  33716. msgstr ""
  33717. #. type: deftypevr
  33718. #: guix-git/doc/guix.texi:22804
  33719. #, no-wrap
  33720. msgid "{@code{dovecot-configuration} parameter} non-negative-integer first-valid-uid"
  33721. msgstr ""
  33722. #. type: deftypevr
  33723. #: guix-git/doc/guix.texi:22810
  33724. 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}."
  33725. msgstr ""
  33726. #. type: deftypevr
  33727. #: guix-git/doc/guix.texi:22812
  33728. #, no-wrap
  33729. msgid "{@code{dovecot-configuration} parameter} non-negative-integer last-valid-uid"
  33730. msgstr ""
  33731. #. type: deftypevr
  33732. #: guix-git/doc/guix.texi:22817
  33733. #, no-wrap
  33734. msgid "{@code{dovecot-configuration} parameter} non-negative-integer first-valid-gid"
  33735. msgstr ""
  33736. #. type: deftypevr
  33737. #: guix-git/doc/guix.texi:22822
  33738. 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}."
  33739. msgstr ""
  33740. #. type: deftypevr
  33741. #: guix-git/doc/guix.texi:22824
  33742. #, no-wrap
  33743. msgid "{@code{dovecot-configuration} parameter} non-negative-integer last-valid-gid"
  33744. msgstr ""
  33745. #. type: deftypevr
  33746. #: guix-git/doc/guix.texi:22829
  33747. #, no-wrap
  33748. msgid "{@code{dovecot-configuration} parameter} non-negative-integer mail-max-keyword-length"
  33749. msgstr ""
  33750. #. type: deftypevr
  33751. #: guix-git/doc/guix.texi:22833
  33752. msgid "Maximum allowed length for mail keyword name. It's only forced when trying to create new keywords. Defaults to @samp{50}."
  33753. msgstr ""
  33754. #. type: deftypevr
  33755. #: guix-git/doc/guix.texi:22835
  33756. #, no-wrap
  33757. msgid "{@code{dovecot-configuration} parameter} colon-separated-file-name-list valid-chroot-dirs"
  33758. msgstr ""
  33759. #. type: deftypevr
  33760. #: guix-git/doc/guix.texi:22845
  33761. 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{()}."
  33762. msgstr ""
  33763. #. type: deftypevr
  33764. #: guix-git/doc/guix.texi:22847
  33765. #, no-wrap
  33766. msgid "{@code{dovecot-configuration} parameter} string mail-chroot"
  33767. msgstr ""
  33768. #. type: deftypevr
  33769. #: guix-git/doc/guix.texi:22856
  33770. 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{\"\"}."
  33771. msgstr ""
  33772. #. type: deftypevr
  33773. #: guix-git/doc/guix.texi:22858
  33774. #, no-wrap
  33775. msgid "{@code{dovecot-configuration} parameter} file-name auth-socket-path"
  33776. msgstr ""
  33777. #. type: deftypevr
  33778. #: guix-git/doc/guix.texi:22862
  33779. 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\"}."
  33780. msgstr ""
  33781. #. type: deftypevr
  33782. #: guix-git/doc/guix.texi:22864
  33783. #, no-wrap
  33784. msgid "{@code{dovecot-configuration} parameter} file-name mail-plugin-dir"
  33785. msgstr ""
  33786. #. type: deftypevr
  33787. #: guix-git/doc/guix.texi:22867
  33788. msgid "Directory where to look up mail plugins. Defaults to @samp{\"/usr/lib/dovecot\"}."
  33789. msgstr ""
  33790. #. type: deftypevr
  33791. #: guix-git/doc/guix.texi:22869
  33792. #, no-wrap
  33793. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list mail-plugins"
  33794. msgstr ""
  33795. #. type: deftypevr
  33796. #: guix-git/doc/guix.texi:22873
  33797. 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{()}."
  33798. msgstr ""
  33799. #. type: deftypevr
  33800. #: guix-git/doc/guix.texi:22875
  33801. #, no-wrap
  33802. msgid "{@code{dovecot-configuration} parameter} non-negative-integer mail-cache-min-mail-count"
  33803. msgstr ""
  33804. #. type: deftypevr
  33805. #: guix-git/doc/guix.texi:22880
  33806. 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}."
  33807. msgstr ""
  33808. #. type: deftypevr
  33809. #: guix-git/doc/guix.texi:22882
  33810. #, no-wrap
  33811. msgid "{@code{dovecot-configuration} parameter} string mailbox-idle-check-interval"
  33812. msgstr ""
  33813. #. type: deftypevr
  33814. #: guix-git/doc/guix.texi:22889
  33815. 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\"}."
  33816. msgstr ""
  33817. #. type: deftypevr
  33818. #: guix-git/doc/guix.texi:22891
  33819. #, no-wrap
  33820. msgid "{@code{dovecot-configuration} parameter} boolean mail-save-crlf?"
  33821. msgstr ""
  33822. #. type: deftypevr
  33823. #: guix-git/doc/guix.texi:22898
  33824. 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}."
  33825. msgstr ""
  33826. #. type: deftypevr
  33827. #: guix-git/doc/guix.texi:22900
  33828. #, no-wrap
  33829. msgid "{@code{dovecot-configuration} parameter} boolean maildir-stat-dirs?"
  33830. msgstr ""
  33831. #. type: deftypevr
  33832. #: guix-git/doc/guix.texi:22908
  33833. 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}."
  33834. msgstr ""
  33835. #. type: deftypevr
  33836. #: guix-git/doc/guix.texi:22910
  33837. #, no-wrap
  33838. msgid "{@code{dovecot-configuration} parameter} boolean maildir-copy-with-hardlinks?"
  33839. msgstr ""
  33840. #. type: deftypevr
  33841. #: guix-git/doc/guix.texi:22915
  33842. 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}."
  33843. msgstr ""
  33844. #. type: deftypevr
  33845. #: guix-git/doc/guix.texi:22917
  33846. #, no-wrap
  33847. msgid "{@code{dovecot-configuration} parameter} boolean maildir-very-dirty-syncs?"
  33848. msgstr ""
  33849. #. type: deftypevr
  33850. #: guix-git/doc/guix.texi:22922
  33851. 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}."
  33852. msgstr ""
  33853. #. type: deftypevr
  33854. #: guix-git/doc/guix.texi:22924
  33855. #, no-wrap
  33856. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list mbox-read-locks"
  33857. msgstr ""
  33858. #. type: deftypevr
  33859. #: guix-git/doc/guix.texi:22927
  33860. msgid "Which locking methods to use for locking mbox. There are four available:"
  33861. msgstr ""
  33862. #. type: item
  33863. #: guix-git/doc/guix.texi:22929
  33864. #, no-wrap
  33865. msgid "dotlock"
  33866. msgstr ""
  33867. #. type: table
  33868. #: guix-git/doc/guix.texi:22933
  33869. 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."
  33870. msgstr ""
  33871. #. type: item
  33872. #: guix-git/doc/guix.texi:22933
  33873. #, no-wrap
  33874. msgid "dotlock-try"
  33875. msgstr ""
  33876. #. type: table
  33877. #: guix-git/doc/guix.texi:22936
  33878. msgid "Same as dotlock, but if it fails because of permissions or because there isn't enough disk space, just skip it."
  33879. msgstr ""
  33880. #. type: item
  33881. #: guix-git/doc/guix.texi:22936
  33882. #, no-wrap
  33883. msgid "fcntl"
  33884. msgstr ""
  33885. #. type: table
  33886. #: guix-git/doc/guix.texi:22938
  33887. msgid "Use this if possible. Works with NFS too if lockd is used."
  33888. msgstr ""
  33889. #. type: item
  33890. #: guix-git/doc/guix.texi:22938
  33891. #, no-wrap
  33892. msgid "flock"
  33893. msgstr ""
  33894. #. type: table
  33895. #: guix-git/doc/guix.texi:22940 guix-git/doc/guix.texi:22942
  33896. msgid "May not exist in all systems. Doesn't work with NFS."
  33897. msgstr ""
  33898. #. type: item
  33899. #: guix-git/doc/guix.texi:22940
  33900. #, no-wrap
  33901. msgid "lockf"
  33902. msgstr ""
  33903. #. type: deftypevr
  33904. #: guix-git/doc/guix.texi:22948
  33905. 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."
  33906. msgstr ""
  33907. #. type: deftypevr
  33908. #: guix-git/doc/guix.texi:22950
  33909. #, no-wrap
  33910. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list mbox-write-locks"
  33911. msgstr ""
  33912. #. type: deftypevr
  33913. #: guix-git/doc/guix.texi:22954
  33914. #, no-wrap
  33915. msgid "{@code{dovecot-configuration} parameter} string mbox-lock-timeout"
  33916. msgstr ""
  33917. #. type: deftypevr
  33918. #: guix-git/doc/guix.texi:22957
  33919. msgid "Maximum time to wait for lock (all of them) before aborting. Defaults to @samp{\"5 mins\"}."
  33920. msgstr ""
  33921. #. type: deftypevr
  33922. #: guix-git/doc/guix.texi:22959
  33923. #, no-wrap
  33924. msgid "{@code{dovecot-configuration} parameter} string mbox-dotlock-change-timeout"
  33925. msgstr ""
  33926. #. type: deftypevr
  33927. #: guix-git/doc/guix.texi:22963
  33928. 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\"}."
  33929. msgstr ""
  33930. #. type: deftypevr
  33931. #: guix-git/doc/guix.texi:22965
  33932. #, no-wrap
  33933. msgid "{@code{dovecot-configuration} parameter} boolean mbox-dirty-syncs?"
  33934. msgstr ""
  33935. #. type: deftypevr
  33936. #: guix-git/doc/guix.texi:22976
  33937. 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}."
  33938. msgstr ""
  33939. #. type: deftypevr
  33940. #: guix-git/doc/guix.texi:22978
  33941. #, no-wrap
  33942. msgid "{@code{dovecot-configuration} parameter} boolean mbox-very-dirty-syncs?"
  33943. msgstr ""
  33944. #. type: deftypevr
  33945. #: guix-git/doc/guix.texi:22983
  33946. 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}."
  33947. msgstr ""
  33948. #. type: deftypevr
  33949. #: guix-git/doc/guix.texi:22985
  33950. #, no-wrap
  33951. msgid "{@code{dovecot-configuration} parameter} boolean mbox-lazy-writes?"
  33952. msgstr ""
  33953. #. type: deftypevr
  33954. #: guix-git/doc/guix.texi:22991
  33955. 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}."
  33956. msgstr ""
  33957. #. type: deftypevr
  33958. #: guix-git/doc/guix.texi:22993
  33959. #, no-wrap
  33960. msgid "{@code{dovecot-configuration} parameter} non-negative-integer mbox-min-index-size"
  33961. msgstr ""
  33962. #. type: deftypevr
  33963. #: guix-git/doc/guix.texi:22998
  33964. 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}."
  33965. msgstr ""
  33966. #. type: deftypevr
  33967. #: guix-git/doc/guix.texi:23000
  33968. #, no-wrap
  33969. msgid "{@code{dovecot-configuration} parameter} non-negative-integer mdbox-rotate-size"
  33970. msgstr ""
  33971. #. type: deftypevr
  33972. #: guix-git/doc/guix.texi:23003
  33973. msgid "Maximum dbox file size until it's rotated. Defaults to @samp{10000000}."
  33974. msgstr ""
  33975. #. type: deftypevr
  33976. #: guix-git/doc/guix.texi:23005
  33977. #, no-wrap
  33978. msgid "{@code{dovecot-configuration} parameter} string mdbox-rotate-interval"
  33979. msgstr ""
  33980. #. type: deftypevr
  33981. #: guix-git/doc/guix.texi:23010
  33982. 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\"}."
  33983. msgstr ""
  33984. #. type: deftypevr
  33985. #: guix-git/doc/guix.texi:23012
  33986. #, no-wrap
  33987. msgid "{@code{dovecot-configuration} parameter} boolean mdbox-preallocate-space?"
  33988. msgstr ""
  33989. #. type: deftypevr
  33990. #: guix-git/doc/guix.texi:23017
  33991. 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}."
  33992. msgstr ""
  33993. #. type: deftypevr
  33994. #: guix-git/doc/guix.texi:23019
  33995. #, no-wrap
  33996. msgid "{@code{dovecot-configuration} parameter} string mail-attachment-dir"
  33997. msgstr ""
  33998. #. type: deftypevr
  33999. #: guix-git/doc/guix.texi:23023
  34000. 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."
  34001. msgstr ""
  34002. #. type: deftypevr
  34003. #: guix-git/doc/guix.texi:23025
  34004. msgid "WARNING: This feature hasn't been tested much yet. Use at your own risk."
  34005. msgstr ""
  34006. #. type: deftypevr
  34007. #: guix-git/doc/guix.texi:23028
  34008. msgid "Directory root where to store mail attachments. Disabled, if empty. Defaults to @samp{\"\"}."
  34009. msgstr ""
  34010. #. type: deftypevr
  34011. #: guix-git/doc/guix.texi:23030
  34012. #, no-wrap
  34013. msgid "{@code{dovecot-configuration} parameter} non-negative-integer mail-attachment-min-size"
  34014. msgstr ""
  34015. #. type: deftypevr
  34016. #: guix-git/doc/guix.texi:23035
  34017. 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}."
  34018. msgstr ""
  34019. #. type: deftypevr
  34020. #: guix-git/doc/guix.texi:23037
  34021. #, no-wrap
  34022. msgid "{@code{dovecot-configuration} parameter} string mail-attachment-fs"
  34023. msgstr ""
  34024. #. type: deftypevr
  34025. #: guix-git/doc/guix.texi:23039
  34026. msgid "File system backend to use for saving attachments:"
  34027. msgstr ""
  34028. #. type: item
  34029. #: guix-git/doc/guix.texi:23040
  34030. #, no-wrap
  34031. msgid "posix"
  34032. msgstr ""
  34033. #. type: table
  34034. #: guix-git/doc/guix.texi:23042
  34035. msgid "No SiS done by Dovecot (but this might help FS's own deduplication)"
  34036. msgstr ""
  34037. #. type: item
  34038. #: guix-git/doc/guix.texi:23042
  34039. #, no-wrap
  34040. msgid "sis posix"
  34041. msgstr ""
  34042. #. type: table
  34043. #: guix-git/doc/guix.texi:23044
  34044. msgid "SiS with immediate byte-by-byte comparison during saving"
  34045. msgstr ""
  34046. #. type: item
  34047. #: guix-git/doc/guix.texi:23044
  34048. #, no-wrap
  34049. msgid "sis-queue posix"
  34050. msgstr ""
  34051. #. type: table
  34052. #: guix-git/doc/guix.texi:23046
  34053. msgid "SiS with delayed comparison and deduplication."
  34054. msgstr ""
  34055. #. type: deftypevr
  34056. #: guix-git/doc/guix.texi:23048
  34057. msgid "Defaults to @samp{\"sis posix\"}."
  34058. msgstr ""
  34059. #. type: deftypevr
  34060. #: guix-git/doc/guix.texi:23050
  34061. #, no-wrap
  34062. msgid "{@code{dovecot-configuration} parameter} string mail-attachment-hash"
  34063. msgstr ""
  34064. #. type: deftypevr
  34065. #: guix-git/doc/guix.texi:23056
  34066. 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@}\"}."
  34067. msgstr ""
  34068. #. type: deftypevr
  34069. #: guix-git/doc/guix.texi:23058
  34070. #, no-wrap
  34071. msgid "{@code{dovecot-configuration} parameter} non-negative-integer default-process-limit"
  34072. msgstr ""
  34073. #. type: deftypevr
  34074. #: guix-git/doc/guix.texi:23063
  34075. #, no-wrap
  34076. msgid "{@code{dovecot-configuration} parameter} non-negative-integer default-client-limit"
  34077. msgstr ""
  34078. #. type: deftypevr
  34079. #: guix-git/doc/guix.texi:23066 guix-git/doc/guix.texi:30632
  34080. msgid "Defaults to @samp{1000}."
  34081. msgstr ""
  34082. #. type: deftypevr
  34083. #: guix-git/doc/guix.texi:23068
  34084. #, no-wrap
  34085. msgid "{@code{dovecot-configuration} parameter} non-negative-integer default-vsz-limit"
  34086. msgstr ""
  34087. #. type: deftypevr
  34088. #: guix-git/doc/guix.texi:23073
  34089. 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}."
  34090. msgstr ""
  34091. #. type: deftypevr
  34092. #: guix-git/doc/guix.texi:23075
  34093. #, no-wrap
  34094. msgid "{@code{dovecot-configuration} parameter} string default-login-user"
  34095. msgstr ""
  34096. #. type: deftypevr
  34097. #: guix-git/doc/guix.texi:23080
  34098. 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\"}."
  34099. msgstr ""
  34100. #. type: deftypevr
  34101. #: guix-git/doc/guix.texi:23082
  34102. #, no-wrap
  34103. msgid "{@code{dovecot-configuration} parameter} string default-internal-user"
  34104. msgstr ""
  34105. #. type: deftypevr
  34106. #: guix-git/doc/guix.texi:23087
  34107. 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\"}."
  34108. msgstr ""
  34109. #. type: deftypevr
  34110. #: guix-git/doc/guix.texi:23089
  34111. #, no-wrap
  34112. msgid "{@code{dovecot-configuration} parameter} string ssl?"
  34113. msgstr ""
  34114. #. type: deftypevr
  34115. #: guix-git/doc/guix.texi:23092
  34116. msgid "SSL/TLS support: yes, no, required. <doc/wiki/SSL.txt>. Defaults to @samp{\"required\"}."
  34117. msgstr ""
  34118. #. type: deftypevr
  34119. #: guix-git/doc/guix.texi:23094
  34120. #, no-wrap
  34121. msgid "{@code{dovecot-configuration} parameter} string ssl-cert"
  34122. msgstr ""
  34123. #. type: deftypevr
  34124. #: guix-git/doc/guix.texi:23097
  34125. msgid "PEM encoded X.509 SSL/TLS certificate (public key). Defaults to @samp{\"</etc/dovecot/default.pem\"}."
  34126. msgstr ""
  34127. #. type: deftypevr
  34128. #: guix-git/doc/guix.texi:23099
  34129. #, no-wrap
  34130. msgid "{@code{dovecot-configuration} parameter} string ssl-key"
  34131. msgstr ""
  34132. #. type: deftypevr
  34133. #: guix-git/doc/guix.texi:23104
  34134. 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\"}."
  34135. msgstr ""
  34136. #. type: deftypevr
  34137. #: guix-git/doc/guix.texi:23106
  34138. #, no-wrap
  34139. msgid "{@code{dovecot-configuration} parameter} string ssl-key-password"
  34140. msgstr ""
  34141. #. type: deftypevr
  34142. #: guix-git/doc/guix.texi:23112
  34143. 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{\"\"}."
  34144. msgstr ""
  34145. #. type: deftypevr
  34146. #: guix-git/doc/guix.texi:23114
  34147. #, no-wrap
  34148. msgid "{@code{dovecot-configuration} parameter} string ssl-ca"
  34149. msgstr ""
  34150. #. type: deftypevr
  34151. #: guix-git/doc/guix.texi:23120
  34152. 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{\"\"}."
  34153. msgstr ""
  34154. #. type: deftypevr
  34155. #: guix-git/doc/guix.texi:23122
  34156. #, no-wrap
  34157. msgid "{@code{dovecot-configuration} parameter} boolean ssl-require-crl?"
  34158. msgstr ""
  34159. #. type: deftypevr
  34160. #: guix-git/doc/guix.texi:23125
  34161. msgid "Require that CRL check succeeds for client certificates. Defaults to @samp{#t}."
  34162. msgstr ""
  34163. #. type: deftypevr
  34164. #: guix-git/doc/guix.texi:23127
  34165. #, no-wrap
  34166. msgid "{@code{dovecot-configuration} parameter} boolean ssl-verify-client-cert?"
  34167. msgstr ""
  34168. #. type: deftypevr
  34169. #: guix-git/doc/guix.texi:23131
  34170. 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}."
  34171. msgstr ""
  34172. #. type: deftypevr
  34173. #: guix-git/doc/guix.texi:23133
  34174. #, no-wrap
  34175. msgid "{@code{dovecot-configuration} parameter} string ssl-cert-username-field"
  34176. msgstr ""
  34177. #. type: deftypevr
  34178. #: guix-git/doc/guix.texi:23138
  34179. 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\"}."
  34180. msgstr ""
  34181. #. type: deftypevr
  34182. #: guix-git/doc/guix.texi:23140
  34183. #, no-wrap
  34184. msgid "{@code{dovecot-configuration} parameter} string ssl-min-protocol"
  34185. msgstr ""
  34186. #. type: deftypevr
  34187. #: guix-git/doc/guix.texi:23143
  34188. msgid "Minimum SSL protocol version to accept. Defaults to @samp{\"TLSv1\"}."
  34189. msgstr ""
  34190. #. type: deftypevr
  34191. #: guix-git/doc/guix.texi:23145
  34192. #, no-wrap
  34193. msgid "{@code{dovecot-configuration} parameter} string ssl-cipher-list"
  34194. msgstr ""
  34195. #. type: deftypevr
  34196. #: guix-git/doc/guix.texi:23148
  34197. msgid "SSL ciphers to use. Defaults to @samp{\"ALL:!kRSA:!SRP:!kDHd:!DSS:!aNULL:!eNULL:!EXPORT:!DES:!3DES:!MD5:!PSK:!RC4:!ADH:!LOW@@STRENGTH\"}."
  34198. msgstr ""
  34199. #. type: deftypevr
  34200. #: guix-git/doc/guix.texi:23150
  34201. #, no-wrap
  34202. msgid "{@code{dovecot-configuration} parameter} string ssl-crypto-device"
  34203. msgstr ""
  34204. #. type: deftypevr
  34205. #: guix-git/doc/guix.texi:23153
  34206. msgid "SSL crypto device to use, for valid values run \"openssl engine\". Defaults to @samp{\"\"}."
  34207. msgstr ""
  34208. #. type: deftypevr
  34209. #: guix-git/doc/guix.texi:23155
  34210. #, no-wrap
  34211. msgid "{@code{dovecot-configuration} parameter} string postmaster-address"
  34212. msgstr ""
  34213. #. type: deftypevr
  34214. #: guix-git/doc/guix.texi:23159
  34215. msgid "Address to use when sending rejection mails. %d expands to recipient domain. Defaults to @samp{\"postmaster@@%d\"}."
  34216. msgstr ""
  34217. #. type: deftypevr
  34218. #: guix-git/doc/guix.texi:23161
  34219. #, no-wrap
  34220. msgid "{@code{dovecot-configuration} parameter} string hostname"
  34221. msgstr ""
  34222. #. type: deftypevr
  34223. #: guix-git/doc/guix.texi:23165
  34224. 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{\"\"}."
  34225. msgstr ""
  34226. #. type: deftypevr
  34227. #: guix-git/doc/guix.texi:23167
  34228. #, no-wrap
  34229. msgid "{@code{dovecot-configuration} parameter} boolean quota-full-tempfail?"
  34230. msgstr ""
  34231. #. type: deftypevr
  34232. #: guix-git/doc/guix.texi:23171
  34233. msgid "If user is over quota, return with temporary failure instead of bouncing the mail. Defaults to @samp{#f}."
  34234. msgstr ""
  34235. #. type: deftypevr
  34236. #: guix-git/doc/guix.texi:23173
  34237. #, no-wrap
  34238. msgid "{@code{dovecot-configuration} parameter} file-name sendmail-path"
  34239. msgstr ""
  34240. #. type: deftypevr
  34241. #: guix-git/doc/guix.texi:23176
  34242. msgid "Binary to use for sending mails. Defaults to @samp{\"/usr/sbin/sendmail\"}."
  34243. msgstr ""
  34244. #. type: deftypevr
  34245. #: guix-git/doc/guix.texi:23178
  34246. #, no-wrap
  34247. msgid "{@code{dovecot-configuration} parameter} string submission-host"
  34248. msgstr ""
  34249. #. type: deftypevr
  34250. #: guix-git/doc/guix.texi:23182
  34251. msgid "If non-empty, send mails via this SMTP host[:port] instead of sendmail. Defaults to @samp{\"\"}."
  34252. msgstr ""
  34253. #. type: deftypevr
  34254. #: guix-git/doc/guix.texi:23184
  34255. #, no-wrap
  34256. msgid "{@code{dovecot-configuration} parameter} string rejection-subject"
  34257. msgstr ""
  34258. #. type: deftypevr
  34259. #: guix-git/doc/guix.texi:23188
  34260. 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\"}."
  34261. msgstr ""
  34262. #. type: deftypevr
  34263. #: guix-git/doc/guix.texi:23190
  34264. #, no-wrap
  34265. msgid "{@code{dovecot-configuration} parameter} string rejection-reason"
  34266. msgstr ""
  34267. #. type: deftypevr
  34268. #: guix-git/doc/guix.texi:23193
  34269. msgid "Human readable error message for rejection mails. You can use variables:"
  34270. msgstr ""
  34271. #. type: table
  34272. #: guix-git/doc/guix.texi:23197
  34273. msgid "CRLF"
  34274. msgstr ""
  34275. #. type: item
  34276. #: guix-git/doc/guix.texi:23197
  34277. #, no-wrap
  34278. msgid "%r"
  34279. msgstr ""
  34280. #. type: table
  34281. #: guix-git/doc/guix.texi:23199
  34282. msgid "reason"
  34283. msgstr "syy"
  34284. #. type: table
  34285. #: guix-git/doc/guix.texi:23201
  34286. msgid "original subject"
  34287. msgstr ""
  34288. #. type: item
  34289. #: guix-git/doc/guix.texi:23201
  34290. #, no-wrap
  34291. msgid "%t"
  34292. msgstr ""
  34293. #. type: table
  34294. #: guix-git/doc/guix.texi:23203
  34295. msgid "recipient"
  34296. msgstr "vastaanottaja"
  34297. #. type: deftypevr
  34298. #: guix-git/doc/guix.texi:23205
  34299. msgid "Defaults to @samp{\"Your message to <%t> was automatically rejected:%n%r\"}."
  34300. msgstr ""
  34301. #. type: deftypevr
  34302. #: guix-git/doc/guix.texi:23207
  34303. #, no-wrap
  34304. msgid "{@code{dovecot-configuration} parameter} string recipient-delimiter"
  34305. msgstr ""
  34306. #. type: deftypevr
  34307. #: guix-git/doc/guix.texi:23211
  34308. msgid "Delimiter character between local-part and detail in email address. Defaults to @samp{\"+\"}."
  34309. msgstr ""
  34310. #. type: deftypevr
  34311. #: guix-git/doc/guix.texi:23213
  34312. #, no-wrap
  34313. msgid "{@code{dovecot-configuration} parameter} string lda-original-recipient-header"
  34314. msgstr ""
  34315. #. type: deftypevr
  34316. #: guix-git/doc/guix.texi:23219
  34317. 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{\"\"}."
  34318. msgstr ""
  34319. #. type: deftypevr
  34320. #: guix-git/doc/guix.texi:23221
  34321. #, no-wrap
  34322. msgid "{@code{dovecot-configuration} parameter} boolean lda-mailbox-autocreate?"
  34323. msgstr ""
  34324. #. type: deftypevr
  34325. #: guix-git/doc/guix.texi:23225
  34326. msgid "Should saving a mail to a nonexistent mailbox automatically create it?. Defaults to @samp{#f}."
  34327. msgstr ""
  34328. #. type: deftypevr
  34329. #: guix-git/doc/guix.texi:23227
  34330. #, no-wrap
  34331. msgid "{@code{dovecot-configuration} parameter} boolean lda-mailbox-autosubscribe?"
  34332. msgstr ""
  34333. #. type: deftypevr
  34334. #: guix-git/doc/guix.texi:23231
  34335. msgid "Should automatically created mailboxes be also automatically subscribed?. Defaults to @samp{#f}."
  34336. msgstr ""
  34337. #. type: deftypevr
  34338. #: guix-git/doc/guix.texi:23233
  34339. #, no-wrap
  34340. msgid "{@code{dovecot-configuration} parameter} non-negative-integer imap-max-line-length"
  34341. msgstr ""
  34342. #. type: deftypevr
  34343. #: guix-git/doc/guix.texi:23239
  34344. 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}."
  34345. msgstr ""
  34346. #. type: deftypevr
  34347. #: guix-git/doc/guix.texi:23241
  34348. #, no-wrap
  34349. msgid "{@code{dovecot-configuration} parameter} string imap-logout-format"
  34350. msgstr ""
  34351. #. type: deftypevr
  34352. #: guix-git/doc/guix.texi:23243
  34353. msgid "IMAP logout format string:"
  34354. msgstr ""
  34355. #. type: item
  34356. #: guix-git/doc/guix.texi:23244
  34357. #, no-wrap
  34358. msgid "%i"
  34359. msgstr ""
  34360. #. type: table
  34361. #: guix-git/doc/guix.texi:23246
  34362. msgid "total number of bytes read from client"
  34363. msgstr ""
  34364. #. type: item
  34365. #: guix-git/doc/guix.texi:23246
  34366. #, no-wrap
  34367. msgid "%o"
  34368. msgstr ""
  34369. #. type: table
  34370. #: guix-git/doc/guix.texi:23248
  34371. msgid "total number of bytes sent to client."
  34372. msgstr ""
  34373. #. type: deftypevr
  34374. #: guix-git/doc/guix.texi:23251
  34375. 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@}\"}."
  34376. msgstr ""
  34377. #. type: deftypevr
  34378. #: guix-git/doc/guix.texi:23253
  34379. #, no-wrap
  34380. msgid "{@code{dovecot-configuration} parameter} string imap-capability"
  34381. msgstr ""
  34382. #. type: deftypevr
  34383. #: guix-git/doc/guix.texi:23257
  34384. 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{\"\"}."
  34385. msgstr ""
  34386. #. type: deftypevr
  34387. #: guix-git/doc/guix.texi:23259
  34388. #, no-wrap
  34389. msgid "{@code{dovecot-configuration} parameter} string imap-idle-notify-interval"
  34390. msgstr ""
  34391. #. type: deftypevr
  34392. #: guix-git/doc/guix.texi:23263
  34393. msgid "How long to wait between \"OK Still here\" notifications when client is IDLEing. Defaults to @samp{\"2 mins\"}."
  34394. msgstr ""
  34395. #. type: deftypevr
  34396. #: guix-git/doc/guix.texi:23265
  34397. #, no-wrap
  34398. msgid "{@code{dovecot-configuration} parameter} string imap-id-send"
  34399. msgstr ""
  34400. #. type: deftypevr
  34401. #: guix-git/doc/guix.texi:23271
  34402. 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{\"\"}."
  34403. msgstr ""
  34404. #. type: deftypevr
  34405. #: guix-git/doc/guix.texi:23273
  34406. #, no-wrap
  34407. msgid "{@code{dovecot-configuration} parameter} string imap-id-log"
  34408. msgstr ""
  34409. #. type: deftypevr
  34410. #: guix-git/doc/guix.texi:23276
  34411. msgid "ID fields sent by client to log. * means everything. Defaults to @samp{\"\"}."
  34412. msgstr ""
  34413. #. type: deftypevr
  34414. #: guix-git/doc/guix.texi:23278
  34415. #, no-wrap
  34416. msgid "{@code{dovecot-configuration} parameter} space-separated-string-list imap-client-workarounds"
  34417. msgstr ""
  34418. #. type: deftypevr
  34419. #: guix-git/doc/guix.texi:23280
  34420. msgid "Workarounds for various client bugs:"
  34421. msgstr ""
  34422. #. type: item
  34423. #: guix-git/doc/guix.texi:23282
  34424. #, no-wrap
  34425. msgid "delay-newmail"
  34426. msgstr ""
  34427. #. type: table
  34428. #: guix-git/doc/guix.texi:23289
  34429. 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\"."
  34430. msgstr ""
  34431. #. type: item
  34432. #: guix-git/doc/guix.texi:23290
  34433. #, no-wrap
  34434. msgid "tb-extra-mailbox-sep"
  34435. msgstr ""
  34436. #. type: table
  34437. #: guix-git/doc/guix.texi:23294
  34438. 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."
  34439. msgstr ""
  34440. #. type: item
  34441. #: guix-git/doc/guix.texi:23295
  34442. #, no-wrap
  34443. msgid "tb-lsub-flags"
  34444. msgstr ""
  34445. #. type: table
  34446. #: guix-git/doc/guix.texi:23299
  34447. 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."
  34448. msgstr ""
  34449. #. type: deftypevr
  34450. #: guix-git/doc/guix.texi:23303
  34451. #, no-wrap
  34452. msgid "{@code{dovecot-configuration} parameter} string imap-urlauth-host"
  34453. msgstr ""
  34454. #. type: deftypevr
  34455. #: guix-git/doc/guix.texi:23306
  34456. msgid "Host allowed in URLAUTH URLs sent by client. \"*\" allows all. Defaults to @samp{\"\"}."
  34457. msgstr ""
  34458. #. type: Plain text
  34459. #: guix-git/doc/guix.texi:23314
  34460. 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."
  34461. msgstr ""
  34462. #. type: Plain text
  34463. #: guix-git/doc/guix.texi:23320
  34464. 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."
  34465. msgstr ""
  34466. #. type: Plain text
  34467. #: guix-git/doc/guix.texi:23322
  34468. msgid "Available @code{opaque-dovecot-configuration} fields are:"
  34469. msgstr ""
  34470. #. type: deftypevr
  34471. #: guix-git/doc/guix.texi:23323
  34472. #, no-wrap
  34473. msgid "{@code{opaque-dovecot-configuration} parameter} package dovecot"
  34474. msgstr ""
  34475. #. type: deftypevr
  34476. #: guix-git/doc/guix.texi:23327
  34477. #, no-wrap
  34478. msgid "{@code{opaque-dovecot-configuration} parameter} string string"
  34479. msgstr ""
  34480. #. type: deftypevr
  34481. #: guix-git/doc/guix.texi:23329
  34482. msgid "The contents of the @code{dovecot.conf}, as a string."
  34483. msgstr ""
  34484. #. type: Plain text
  34485. #: guix-git/doc/guix.texi:23333
  34486. msgid "For example, if your @code{dovecot.conf} is just the empty string, you could instantiate a dovecot service like this:"
  34487. msgstr ""
  34488. #. type: lisp
  34489. #: guix-git/doc/guix.texi:23338
  34490. #, no-wrap
  34491. msgid ""
  34492. "(dovecot-service #:config\n"
  34493. " (opaque-dovecot-configuration\n"
  34494. " (string \"\")))\n"
  34495. msgstr ""
  34496. #. type: subsubheading
  34497. #: guix-git/doc/guix.texi:23340
  34498. #, no-wrap
  34499. msgid "OpenSMTPD Service"
  34500. msgstr ""
  34501. #. type: deffn
  34502. #: guix-git/doc/guix.texi:23342
  34503. #, no-wrap
  34504. msgid "{Scheme Variable} opensmtpd-service-type"
  34505. msgstr ""
  34506. #. type: deffn
  34507. #: guix-git/doc/guix.texi:23346
  34508. 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:"
  34509. msgstr ""
  34510. #. type: lisp
  34511. #: guix-git/doc/guix.texi:23351
  34512. #, no-wrap
  34513. msgid ""
  34514. "(service opensmtpd-service-type\n"
  34515. " (opensmtpd-configuration\n"
  34516. " (config-file (local-file \"./my-smtpd.conf\"))))\n"
  34517. msgstr ""
  34518. #. type: deftp
  34519. #: guix-git/doc/guix.texi:23354
  34520. #, no-wrap
  34521. msgid "{Data Type} opensmtpd-configuration"
  34522. msgstr ""
  34523. #. type: deftp
  34524. #: guix-git/doc/guix.texi:23356
  34525. msgid "Data type representing the configuration of opensmtpd."
  34526. msgstr ""
  34527. #. type: item
  34528. #: guix-git/doc/guix.texi:23358
  34529. #, no-wrap
  34530. msgid "@code{package} (default: @var{opensmtpd})"
  34531. msgstr ""
  34532. #. type: table
  34533. #: guix-git/doc/guix.texi:23360
  34534. msgid "Package object of the OpenSMTPD SMTP server."
  34535. msgstr ""
  34536. #. type: item
  34537. #: guix-git/doc/guix.texi:23361
  34538. #, no-wrap
  34539. msgid "@code{config-file} (default: @code{%default-opensmtpd-file})"
  34540. msgstr ""
  34541. #. type: table
  34542. #: guix-git/doc/guix.texi:23366
  34543. 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."
  34544. msgstr ""
  34545. #. type: subsubheading
  34546. #: guix-git/doc/guix.texi:23370
  34547. #, no-wrap
  34548. msgid "Exim Service"
  34549. msgstr "Exim palvelu"
  34550. #. type: cindex
  34551. #: guix-git/doc/guix.texi:23372
  34552. #, no-wrap
  34553. msgid "mail transfer agent (MTA)"
  34554. msgstr ""
  34555. #. type: cindex
  34556. #: guix-git/doc/guix.texi:23373
  34557. #, no-wrap
  34558. msgid "MTA (mail transfer agent)"
  34559. msgstr ""
  34560. #. type: cindex
  34561. #: guix-git/doc/guix.texi:23374
  34562. #, no-wrap
  34563. msgid "SMTP"
  34564. msgstr ""
  34565. #. type: deffn
  34566. #: guix-git/doc/guix.texi:23376
  34567. #, no-wrap
  34568. msgid "{Scheme Variable} exim-service-type"
  34569. msgstr ""
  34570. #. type: deffn
  34571. #: guix-git/doc/guix.texi:23380
  34572. 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:"
  34573. msgstr ""
  34574. #. type: lisp
  34575. #: guix-git/doc/guix.texi:23385
  34576. #, no-wrap
  34577. msgid ""
  34578. "(service exim-service-type\n"
  34579. " (exim-configuration\n"
  34580. " (config-file (local-file \"./my-exim.conf\"))))\n"
  34581. msgstr ""
  34582. #. type: Plain text
  34583. #: guix-git/doc/guix.texi:23391
  34584. 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)."
  34585. msgstr ""
  34586. #. type: deftp
  34587. #: guix-git/doc/guix.texi:23392
  34588. #, no-wrap
  34589. msgid "{Data Type} exim-configuration"
  34590. msgstr ""
  34591. #. type: deftp
  34592. #: guix-git/doc/guix.texi:23394
  34593. msgid "Data type representing the configuration of exim."
  34594. msgstr ""
  34595. #. type: item
  34596. #: guix-git/doc/guix.texi:23396
  34597. #, no-wrap
  34598. msgid "@code{package} (default: @var{exim})"
  34599. msgstr ""
  34600. #. type: table
  34601. #: guix-git/doc/guix.texi:23398
  34602. msgid "Package object of the Exim server."
  34603. msgstr ""
  34604. #. type: table
  34605. #: guix-git/doc/guix.texi:23405
  34606. 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."
  34607. msgstr ""
  34608. #. type: subsubheading
  34609. #: guix-git/doc/guix.texi:23409
  34610. #, no-wrap
  34611. msgid "Getmail service"
  34612. msgstr ""
  34613. #. type: cindex
  34614. #: guix-git/doc/guix.texi:23411
  34615. #, no-wrap
  34616. msgid "IMAP"
  34617. msgstr ""
  34618. #. type: cindex
  34619. #: guix-git/doc/guix.texi:23412
  34620. #, no-wrap
  34621. msgid "POP"
  34622. msgstr ""
  34623. #. type: deffn
  34624. #: guix-git/doc/guix.texi:23414
  34625. #, no-wrap
  34626. msgid "{Scheme Variable} getmail-service-type"
  34627. msgstr ""
  34628. #. type: deffn
  34629. #: guix-git/doc/guix.texi:23417
  34630. msgid "This is the type of the @uref{http://pyropus.ca/software/getmail/, Getmail} mail retriever, whose value should be an @code{getmail-configuration}."
  34631. msgstr ""
  34632. #. type: Plain text
  34633. #: guix-git/doc/guix.texi:23420
  34634. msgid "Available @code{getmail-configuration} fields are:"
  34635. msgstr ""
  34636. #. type: deftypevr
  34637. #: guix-git/doc/guix.texi:23421
  34638. #, no-wrap
  34639. msgid "{@code{getmail-configuration} parameter} symbol name"
  34640. msgstr ""
  34641. #. type: deftypevr
  34642. #: guix-git/doc/guix.texi:23423
  34643. msgid "A symbol to identify the getmail service."
  34644. msgstr ""
  34645. #. type: deftypevr
  34646. #: guix-git/doc/guix.texi:23425
  34647. msgid "Defaults to @samp{\"unset\"}."
  34648. msgstr ""
  34649. #. type: deftypevr
  34650. #: guix-git/doc/guix.texi:23428
  34651. #, no-wrap
  34652. msgid "{@code{getmail-configuration} parameter} package package"
  34653. msgstr ""
  34654. #. type: deftypevr
  34655. #: guix-git/doc/guix.texi:23430
  34656. msgid "The getmail package to use."
  34657. msgstr ""
  34658. #. type: deftypevr
  34659. #: guix-git/doc/guix.texi:23433
  34660. #, no-wrap
  34661. msgid "{@code{getmail-configuration} parameter} string user"
  34662. msgstr ""
  34663. #. type: deftypevr
  34664. #: guix-git/doc/guix.texi:23435
  34665. msgid "The user to run getmail as."
  34666. msgstr ""
  34667. #. type: deftypevr
  34668. #: guix-git/doc/guix.texi:23437 guix-git/doc/guix.texi:23444
  34669. msgid "Defaults to @samp{\"getmail\"}."
  34670. msgstr ""
  34671. #. type: deftypevr
  34672. #: guix-git/doc/guix.texi:23440
  34673. #, no-wrap
  34674. msgid "{@code{getmail-configuration} parameter} string group"
  34675. msgstr ""
  34676. #. type: deftypevr
  34677. #: guix-git/doc/guix.texi:23442
  34678. msgid "The group to run getmail as."
  34679. msgstr ""
  34680. #. type: deftypevr
  34681. #: guix-git/doc/guix.texi:23447
  34682. #, no-wrap
  34683. msgid "{@code{getmail-configuration} parameter} string directory"
  34684. msgstr ""
  34685. #. type: deftypevr
  34686. #: guix-git/doc/guix.texi:23449
  34687. msgid "The getmail directory to use."
  34688. msgstr ""
  34689. #. type: deftypevr
  34690. #: guix-git/doc/guix.texi:23451
  34691. msgid "Defaults to @samp{\"/var/lib/getmail/default\"}."
  34692. msgstr ""
  34693. #. type: deftypevr
  34694. #: guix-git/doc/guix.texi:23454
  34695. #, no-wrap
  34696. msgid "{@code{getmail-configuration} parameter} getmail-configuration-file rcfile"
  34697. msgstr ""
  34698. #. type: deftypevr
  34699. #: guix-git/doc/guix.texi:23456
  34700. msgid "The getmail configuration file to use."
  34701. msgstr ""
  34702. #. type: deftypevr
  34703. #: guix-git/doc/guix.texi:23458
  34704. msgid "Available @code{getmail-configuration-file} fields are:"
  34705. msgstr ""
  34706. #. type: deftypevr
  34707. #: guix-git/doc/guix.texi:23459
  34708. #, no-wrap
  34709. msgid "{@code{getmail-configuration-file} parameter} getmail-retriever-configuration retriever"
  34710. msgstr ""
  34711. #. type: deftypevr
  34712. #: guix-git/doc/guix.texi:23461
  34713. msgid "What mail account to retrieve mail from, and how to access that account."
  34714. msgstr ""
  34715. #. type: deftypevr
  34716. #: guix-git/doc/guix.texi:23463
  34717. msgid "Available @code{getmail-retriever-configuration} fields are:"
  34718. msgstr ""
  34719. #. type: deftypevr
  34720. #: guix-git/doc/guix.texi:23464
  34721. #, no-wrap
  34722. msgid "{@code{getmail-retriever-configuration} parameter} string type"
  34723. msgstr ""
  34724. #. type: deftypevr
  34725. #: guix-git/doc/guix.texi:23467
  34726. msgid "The type of mail retriever to use. Valid values include @samp{passwd} and @samp{static}."
  34727. msgstr ""
  34728. #. type: deftypevr
  34729. #: guix-git/doc/guix.texi:23469
  34730. msgid "Defaults to @samp{\"SimpleIMAPSSLRetriever\"}."
  34731. msgstr ""
  34732. #. type: deftypevr
  34733. #: guix-git/doc/guix.texi:23472
  34734. #, no-wrap
  34735. msgid "{@code{getmail-retriever-configuration} parameter} string server"
  34736. msgstr ""
  34737. #. type: deftypevr
  34738. #: guix-git/doc/guix.texi:23474 guix-git/doc/guix.texi:23481
  34739. msgid "Username to login to the mail server with."
  34740. msgstr ""
  34741. #. type: deftypevr
  34742. #: guix-git/doc/guix.texi:23476 guix-git/doc/guix.texi:23483
  34743. #: guix-git/doc/guix.texi:23547
  34744. msgid "Defaults to @samp{unset}."
  34745. msgstr ""
  34746. #. type: deftypevr
  34747. #: guix-git/doc/guix.texi:23479
  34748. #, no-wrap
  34749. msgid "{@code{getmail-retriever-configuration} parameter} string username"
  34750. msgstr ""
  34751. #. type: deftypevr
  34752. #: guix-git/doc/guix.texi:23486
  34753. #, no-wrap
  34754. msgid "{@code{getmail-retriever-configuration} parameter} non-negative-integer port"
  34755. msgstr ""
  34756. #. type: deftypevr
  34757. #: guix-git/doc/guix.texi:23488
  34758. msgid "Port number to connect to."
  34759. msgstr ""
  34760. #. type: deftypevr
  34761. #: guix-git/doc/guix.texi:23493
  34762. #, no-wrap
  34763. msgid "{@code{getmail-retriever-configuration} parameter} string password"
  34764. msgstr ""
  34765. #. type: deftypevr
  34766. #: guix-git/doc/guix.texi:23495 guix-git/doc/guix.texi:23502
  34767. msgid "Override fields from passwd."
  34768. msgstr ""
  34769. #. type: deftypevr
  34770. #: guix-git/doc/guix.texi:23500
  34771. #, no-wrap
  34772. msgid "{@code{getmail-retriever-configuration} parameter} list password-command"
  34773. msgstr ""
  34774. #. type: deftypevr
  34775. #: guix-git/doc/guix.texi:23507
  34776. #, no-wrap
  34777. msgid "{@code{getmail-retriever-configuration} parameter} string keyfile"
  34778. msgstr ""
  34779. #. type: deftypevr
  34780. #: guix-git/doc/guix.texi:23509
  34781. msgid "PEM-formatted key file to use for the TLS negotiation."
  34782. msgstr ""
  34783. #. type: deftypevr
  34784. #: guix-git/doc/guix.texi:23514
  34785. #, no-wrap
  34786. msgid "{@code{getmail-retriever-configuration} parameter} string certfile"
  34787. msgstr ""
  34788. #. type: deftypevr
  34789. #: guix-git/doc/guix.texi:23516
  34790. msgid "PEM-formatted certificate file to use for the TLS negotiation."
  34791. msgstr ""
  34792. #. type: deftypevr
  34793. #: guix-git/doc/guix.texi:23521
  34794. #, no-wrap
  34795. msgid "{@code{getmail-retriever-configuration} parameter} string ca-certs"
  34796. msgstr ""
  34797. #. type: deftypevr
  34798. #: guix-git/doc/guix.texi:23523
  34799. msgid "CA certificates to use."
  34800. msgstr ""
  34801. #. type: deftypevr
  34802. #: guix-git/doc/guix.texi:23528
  34803. #, no-wrap
  34804. msgid "{@code{getmail-retriever-configuration} parameter} parameter-alist extra-parameters"
  34805. msgstr ""
  34806. #. type: deftypevr
  34807. #: guix-git/doc/guix.texi:23530
  34808. msgid "Extra retriever parameters."
  34809. msgstr ""
  34810. #. type: deftypevr
  34811. #: guix-git/doc/guix.texi:23537
  34812. #, no-wrap
  34813. msgid "{@code{getmail-configuration-file} parameter} getmail-destination-configuration destination"
  34814. msgstr ""
  34815. #. type: deftypevr
  34816. #: guix-git/doc/guix.texi:23539
  34817. msgid "What to do with retrieved messages."
  34818. msgstr ""
  34819. #. type: deftypevr
  34820. #: guix-git/doc/guix.texi:23541
  34821. msgid "Available @code{getmail-destination-configuration} fields are:"
  34822. msgstr ""
  34823. #. type: deftypevr
  34824. #: guix-git/doc/guix.texi:23542
  34825. #, no-wrap
  34826. msgid "{@code{getmail-destination-configuration} parameter} string type"
  34827. msgstr ""
  34828. #. type: deftypevr
  34829. #: guix-git/doc/guix.texi:23545
  34830. msgid "The type of mail destination. Valid values include @samp{Maildir}, @samp{Mboxrd} and @samp{MDA_external}."
  34831. msgstr ""
  34832. #. type: deftypevr
  34833. #: guix-git/doc/guix.texi:23550
  34834. #, no-wrap
  34835. msgid "{@code{getmail-destination-configuration} parameter} string-or-filelike path"
  34836. msgstr ""
  34837. #. type: deftypevr
  34838. #: guix-git/doc/guix.texi:23553
  34839. msgid "The path option for the mail destination. The behaviour depends on the chosen type."
  34840. msgstr ""
  34841. #. type: deftypevr
  34842. #: guix-git/doc/guix.texi:23558
  34843. #, no-wrap
  34844. msgid "{@code{getmail-destination-configuration} parameter} parameter-alist extra-parameters"
  34845. msgstr ""
  34846. #. type: deftypevr
  34847. #: guix-git/doc/guix.texi:23560
  34848. msgid "Extra destination parameters"
  34849. msgstr ""
  34850. #. type: deftypevr
  34851. #: guix-git/doc/guix.texi:23567
  34852. #, no-wrap
  34853. msgid "{@code{getmail-configuration-file} parameter} getmail-options-configuration options"
  34854. msgstr ""
  34855. #. type: deftypevr
  34856. #: guix-git/doc/guix.texi:23569
  34857. msgid "Configure getmail."
  34858. msgstr ""
  34859. #. type: deftypevr
  34860. #: guix-git/doc/guix.texi:23571
  34861. msgid "Available @code{getmail-options-configuration} fields are:"
  34862. msgstr ""
  34863. #. type: deftypevr
  34864. #: guix-git/doc/guix.texi:23572
  34865. #, no-wrap
  34866. msgid "{@code{getmail-options-configuration} parameter} non-negative-integer verbose"
  34867. msgstr ""
  34868. #. type: deftypevr
  34869. #: guix-git/doc/guix.texi:23577
  34870. 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."
  34871. msgstr ""
  34872. #. type: deftypevr
  34873. #: guix-git/doc/guix.texi:23579 guix-git/doc/guix.texi:30102
  34874. #: guix-git/doc/guix.texi:30690 guix-git/doc/guix.texi:30835
  34875. msgid "Defaults to @samp{1}."
  34876. msgstr ""
  34877. #. type: deftypevr
  34878. #: guix-git/doc/guix.texi:23582
  34879. #, no-wrap
  34880. msgid "{@code{getmail-options-configuration} parameter} boolean read-all"
  34881. msgstr ""
  34882. #. type: deftypevr
  34883. #: guix-git/doc/guix.texi:23585
  34884. msgid "If true, getmail will retrieve all available messages. Otherwise it will only retrieve messages it hasn't seen previously."
  34885. msgstr ""
  34886. #. type: deftypevr
  34887. #: guix-git/doc/guix.texi:23590
  34888. #, no-wrap
  34889. msgid "{@code{getmail-options-configuration} parameter} boolean delete"
  34890. msgstr ""
  34891. #. type: deftypevr
  34892. #: guix-git/doc/guix.texi:23594
  34893. 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."
  34894. msgstr ""
  34895. #. type: deftypevr
  34896. #: guix-git/doc/guix.texi:23599
  34897. #, no-wrap
  34898. msgid "{@code{getmail-options-configuration} parameter} non-negative-integer delete-after"
  34899. msgstr ""
  34900. #. type: deftypevr
  34901. #: guix-git/doc/guix.texi:23604
  34902. 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."
  34903. msgstr ""
  34904. #. type: deftypevr
  34905. #: guix-git/doc/guix.texi:23609
  34906. #, no-wrap
  34907. msgid "{@code{getmail-options-configuration} parameter} non-negative-integer delete-bigger-than"
  34908. msgstr ""
  34909. #. type: deftypevr
  34910. #: guix-git/doc/guix.texi:23613
  34911. 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."
  34912. msgstr ""
  34913. #. type: deftypevr
  34914. #: guix-git/doc/guix.texi:23618
  34915. #, no-wrap
  34916. msgid "{@code{getmail-options-configuration} parameter} non-negative-integer max-bytes-per-session"
  34917. msgstr ""
  34918. #. type: deftypevr
  34919. #: guix-git/doc/guix.texi:23621
  34920. 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."
  34921. msgstr ""
  34922. #. type: deftypevr
  34923. #: guix-git/doc/guix.texi:23626
  34924. #, no-wrap
  34925. msgid "{@code{getmail-options-configuration} parameter} non-negative-integer max-message-size"
  34926. msgstr ""
  34927. #. type: deftypevr
  34928. #: guix-git/doc/guix.texi:23629
  34929. msgid "Don't retrieve messages larger than this number of bytes. A value of @samp{0} disables this feature."
  34930. msgstr ""
  34931. #. type: deftypevr
  34932. #: guix-git/doc/guix.texi:23634
  34933. #, no-wrap
  34934. msgid "{@code{getmail-options-configuration} parameter} boolean delivered-to"
  34935. msgstr ""
  34936. #. type: deftypevr
  34937. #: guix-git/doc/guix.texi:23636
  34938. msgid "If true, getmail will add a Delivered-To header to messages."
  34939. msgstr ""
  34940. #. type: deftypevr
  34941. #: guix-git/doc/guix.texi:23641
  34942. #, no-wrap
  34943. msgid "{@code{getmail-options-configuration} parameter} boolean received"
  34944. msgstr ""
  34945. #. type: deftypevr
  34946. #: guix-git/doc/guix.texi:23643
  34947. msgid "If set, getmail adds a Received header to the messages."
  34948. msgstr ""
  34949. #. type: deftypevr
  34950. #: guix-git/doc/guix.texi:23648
  34951. #, no-wrap
  34952. msgid "{@code{getmail-options-configuration} parameter} string message-log"
  34953. msgstr ""
  34954. #. type: deftypevr
  34955. #: guix-git/doc/guix.texi:23651
  34956. msgid "Getmail will record a log of its actions to the named file. A value of @samp{\"\"} disables this feature."
  34957. msgstr ""
  34958. #. type: deftypevr
  34959. #: guix-git/doc/guix.texi:23656
  34960. #, no-wrap
  34961. msgid "{@code{getmail-options-configuration} parameter} boolean message-log-syslog"
  34962. msgstr ""
  34963. #. type: deftypevr
  34964. #: guix-git/doc/guix.texi:23659
  34965. msgid "If true, getmail will record a log of its actions using the system logger."
  34966. msgstr ""
  34967. #. type: deftypevr
  34968. #: guix-git/doc/guix.texi:23664
  34969. #, no-wrap
  34970. msgid "{@code{getmail-options-configuration} parameter} boolean message-log-verbose"
  34971. msgstr ""
  34972. #. type: deftypevr
  34973. #: guix-git/doc/guix.texi:23668
  34974. 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."
  34975. msgstr ""
  34976. #. type: deftypevr
  34977. #: guix-git/doc/guix.texi:23673
  34978. #, no-wrap
  34979. msgid "{@code{getmail-options-configuration} parameter} parameter-alist extra-parameters"
  34980. msgstr ""
  34981. #. type: deftypevr
  34982. #: guix-git/doc/guix.texi:23675
  34983. msgid "Extra options to include."
  34984. msgstr ""
  34985. #. type: deftypevr
  34986. #: guix-git/doc/guix.texi:23684
  34987. #, no-wrap
  34988. msgid "{@code{getmail-configuration} parameter} list idle"
  34989. msgstr ""
  34990. #. type: deftypevr
  34991. #: guix-git/doc/guix.texi:23688
  34992. 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."
  34993. msgstr ""
  34994. #. type: deftypevr
  34995. #: guix-git/doc/guix.texi:23693
  34996. #, no-wrap
  34997. msgid "{@code{getmail-configuration} parameter} list environment-variables"
  34998. msgstr ""
  34999. #. type: deftypevr
  35000. #: guix-git/doc/guix.texi:23695
  35001. msgid "Environment variables to set for getmail."
  35002. msgstr ""
  35003. #. type: subsubheading
  35004. #: guix-git/doc/guix.texi:23700
  35005. #, no-wrap
  35006. msgid "Mail Aliases Service"
  35007. msgstr ""
  35008. #. type: cindex
  35009. #: guix-git/doc/guix.texi:23702
  35010. #, no-wrap
  35011. msgid "email aliases"
  35012. msgstr ""
  35013. #. type: cindex
  35014. #: guix-git/doc/guix.texi:23703
  35015. #, no-wrap
  35016. msgid "aliases, for email addresses"
  35017. msgstr ""
  35018. #. type: deffn
  35019. #: guix-git/doc/guix.texi:23705
  35020. #, no-wrap
  35021. msgid "{Scheme Variable} mail-aliases-service-type"
  35022. msgstr ""
  35023. #. type: deffn
  35024. #: guix-git/doc/guix.texi:23708
  35025. msgid "This is the type of the service which provides @code{/etc/aliases}, specifying how to deliver mail to users on this system."
  35026. msgstr ""
  35027. #. type: lisp
  35028. #: guix-git/doc/guix.texi:23713
  35029. #, no-wrap
  35030. msgid ""
  35031. "(service mail-aliases-service-type\n"
  35032. " '((\"postmaster\" \"bob\")\n"
  35033. " (\"bob\" \"bob@@example.com\" \"bob@@example2.com\")))\n"
  35034. msgstr ""
  35035. #. type: Plain text
  35036. #: guix-git/doc/guix.texi:23721
  35037. 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."
  35038. msgstr ""
  35039. #. type: Plain text
  35040. #: guix-git/doc/guix.texi:23727
  35041. 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})."
  35042. msgstr ""
  35043. #. type: cindex
  35044. #: guix-git/doc/guix.texi:23728 guix-git/doc/guix.texi:23729
  35045. #, no-wrap
  35046. msgid "GNU Mailutils IMAP4 Daemon"
  35047. msgstr ""
  35048. #. type: deffn
  35049. #: guix-git/doc/guix.texi:23731
  35050. #, no-wrap
  35051. msgid "{Scheme Variable} imap4d-service-type"
  35052. msgstr ""
  35053. #. type: deffn
  35054. #: guix-git/doc/guix.texi:23735
  35055. 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:"
  35056. msgstr ""
  35057. #. type: lisp
  35058. #: guix-git/doc/guix.texi:23740
  35059. #, no-wrap
  35060. msgid ""
  35061. "(service imap4d-service-type\n"
  35062. " (imap4d-configuration\n"
  35063. " (config-file (local-file \"imap4d.conf\"))))\n"
  35064. msgstr ""
  35065. #. type: deftp
  35066. #: guix-git/doc/guix.texi:23743
  35067. #, no-wrap
  35068. msgid "{Data Type} imap4d-configuration"
  35069. msgstr ""
  35070. #. type: deftp
  35071. #: guix-git/doc/guix.texi:23745
  35072. msgid "Data type representing the configuration of @command{imap4d}."
  35073. msgstr ""
  35074. #. type: item
  35075. #: guix-git/doc/guix.texi:23747
  35076. #, no-wrap
  35077. msgid "@code{package} (default: @code{mailutils})"
  35078. msgstr ""
  35079. #. type: table
  35080. #: guix-git/doc/guix.texi:23749
  35081. msgid "The package that provides @command{imap4d}."
  35082. msgstr ""
  35083. #. type: item
  35084. #: guix-git/doc/guix.texi:23750
  35085. #, no-wrap
  35086. msgid "@code{config-file} (default: @code{%default-imap4d-config-file})"
  35087. msgstr ""
  35088. #. type: table
  35089. #: guix-git/doc/guix.texi:23754
  35090. 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."
  35091. msgstr ""
  35092. #. type: subsubheading
  35093. #: guix-git/doc/guix.texi:23758
  35094. #, no-wrap
  35095. msgid "Radicale Service"
  35096. msgstr ""
  35097. #. type: cindex
  35098. #: guix-git/doc/guix.texi:23759
  35099. #, no-wrap
  35100. msgid "CalDAV"
  35101. msgstr ""
  35102. #. type: cindex
  35103. #: guix-git/doc/guix.texi:23760
  35104. #, no-wrap
  35105. msgid "CardDAV"
  35106. msgstr ""
  35107. #. type: deffn
  35108. #: guix-git/doc/guix.texi:23762
  35109. #, no-wrap
  35110. msgid "{Scheme Variable} radicale-service-type"
  35111. msgstr ""
  35112. #. type: deffn
  35113. #: guix-git/doc/guix.texi:23765
  35114. msgid "This is the type of the @uref{https://radicale.org, Radicale} CalDAV/CardDAV server whose value should be a @code{radicale-configuration}."
  35115. msgstr ""
  35116. #. type: deftp
  35117. #: guix-git/doc/guix.texi:23767
  35118. #, no-wrap
  35119. msgid "{Data Type} radicale-configuration"
  35120. msgstr ""
  35121. #. type: deftp
  35122. #: guix-git/doc/guix.texi:23769
  35123. msgid "Data type representing the configuration of @command{radicale}."
  35124. msgstr ""
  35125. #. type: item
  35126. #: guix-git/doc/guix.texi:23771
  35127. #, no-wrap
  35128. msgid "@code{package} (default: @code{radicale})"
  35129. msgstr ""
  35130. #. type: table
  35131. #: guix-git/doc/guix.texi:23773
  35132. msgid "The package that provides @command{radicale}."
  35133. msgstr ""
  35134. #. type: item
  35135. #: guix-git/doc/guix.texi:23774
  35136. #, no-wrap
  35137. msgid "@code{config-file} (default: @code{%default-radicale-config-file})"
  35138. msgstr ""
  35139. #. type: table
  35140. #: guix-git/doc/guix.texi:23778
  35141. 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."
  35142. msgstr ""
  35143. #. type: cindex
  35144. #: guix-git/doc/guix.texi:23785
  35145. #, no-wrap
  35146. msgid "messaging"
  35147. msgstr ""
  35148. #. type: cindex
  35149. #: guix-git/doc/guix.texi:23786
  35150. #, no-wrap
  35151. msgid "jabber"
  35152. msgstr ""
  35153. #. type: cindex
  35154. #: guix-git/doc/guix.texi:23787
  35155. #, no-wrap
  35156. msgid "XMPP"
  35157. msgstr ""
  35158. #. type: Plain text
  35159. #: guix-git/doc/guix.texi:23791
  35160. msgid "The @code{(gnu services messaging)} module provides Guix service definitions for messaging services. Currently it provides the following services:"
  35161. msgstr ""
  35162. #. type: subsubheading
  35163. #: guix-git/doc/guix.texi:23792
  35164. #, no-wrap
  35165. msgid "Prosody Service"
  35166. msgstr ""
  35167. #. type: deffn
  35168. #: guix-git/doc/guix.texi:23794
  35169. #, no-wrap
  35170. msgid "{Scheme Variable} prosody-service-type"
  35171. msgstr ""
  35172. #. type: deffn
  35173. #: guix-git/doc/guix.texi:23798
  35174. 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:"
  35175. msgstr ""
  35176. #. type: lisp
  35177. #: guix-git/doc/guix.texi:23813
  35178. #, no-wrap
  35179. msgid ""
  35180. "(service prosody-service-type\n"
  35181. " (prosody-configuration\n"
  35182. " (modules-enabled (cons* \"groups\" \"mam\" %default-modules-enabled))\n"
  35183. " (int-components\n"
  35184. " (list\n"
  35185. " (int-component-configuration\n"
  35186. " (hostname \"conference.example.net\")\n"
  35187. " (plugin \"muc\")\n"
  35188. " (mod-muc (mod-muc-configuration)))))\n"
  35189. " (virtualhosts\n"
  35190. " (list\n"
  35191. " (virtualhost-configuration\n"
  35192. " (domain \"example.net\"))))))\n"
  35193. msgstr ""
  35194. #. type: deffn
  35195. #: guix-git/doc/guix.texi:23816
  35196. msgid "See below for details about @code{prosody-configuration}."
  35197. msgstr ""
  35198. #. type: Plain text
  35199. #: guix-git/doc/guix.texi:23822
  35200. 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."
  35201. msgstr ""
  35202. #. type: Plain text
  35203. #: guix-git/doc/guix.texi:23825
  35204. msgid "You can perform various sanity checks on the generated configuration with the @code{prosodyctl check} command."
  35205. msgstr ""
  35206. #. type: Plain text
  35207. #: guix-git/doc/guix.texi:23829
  35208. 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}."
  35209. msgstr ""
  35210. #. type: example
  35211. #: guix-git/doc/guix.texi:23832
  35212. #, no-wrap
  35213. msgid "prosodyctl --root cert import /etc/letsencrypt/live\n"
  35214. msgstr ""
  35215. #. type: Plain text
  35216. #: guix-git/doc/guix.texi:23839
  35217. 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}."
  35218. msgstr ""
  35219. #. type: Plain text
  35220. #: guix-git/doc/guix.texi:23843
  35221. 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."
  35222. msgstr ""
  35223. #. type: Plain text
  35224. #: guix-git/doc/guix.texi:23846
  35225. msgid "The @code{file-object} type designates either a file-like object (@pxref{G-Expressions, file-like objects}) or a file name."
  35226. msgstr ""
  35227. #. type: Plain text
  35228. #: guix-git/doc/guix.texi:23856
  35229. msgid "Available @code{prosody-configuration} fields are:"
  35230. msgstr ""
  35231. #. type: deftypevr
  35232. #: guix-git/doc/guix.texi:23857
  35233. #, no-wrap
  35234. msgid "{@code{prosody-configuration} parameter} package prosody"
  35235. msgstr ""
  35236. #. type: deftypevr
  35237. #: guix-git/doc/guix.texi:23859
  35238. msgid "The Prosody package."
  35239. msgstr ""
  35240. #. type: deftypevr
  35241. #: guix-git/doc/guix.texi:23861
  35242. #, no-wrap
  35243. msgid "{@code{prosody-configuration} parameter} file-name data-path"
  35244. msgstr ""
  35245. #. type: deftypevr
  35246. #: guix-git/doc/guix.texi:23865
  35247. msgid "Location of the Prosody data storage directory. See @url{https://prosody.im/doc/configure}. Defaults to @samp{\"/var/lib/prosody\"}."
  35248. msgstr ""
  35249. #. type: deftypevr
  35250. #: guix-git/doc/guix.texi:23867
  35251. #, no-wrap
  35252. msgid "{@code{prosody-configuration} parameter} file-object-list plugin-paths"
  35253. msgstr ""
  35254. #. type: deftypevr
  35255. #: guix-git/doc/guix.texi:23871
  35256. 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{()}."
  35257. msgstr ""
  35258. #. type: deftypevr
  35259. #: guix-git/doc/guix.texi:23873
  35260. #, no-wrap
  35261. msgid "{@code{prosody-configuration} parameter} file-name certificates"
  35262. msgstr ""
  35263. #. type: deftypevr
  35264. #: guix-git/doc/guix.texi:23878
  35265. 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\"}."
  35266. msgstr ""
  35267. #. type: deftypevr
  35268. #: guix-git/doc/guix.texi:23880
  35269. #, no-wrap
  35270. msgid "{@code{prosody-configuration} parameter} string-list admins"
  35271. msgstr ""
  35272. #. type: deftypevr
  35273. #: guix-git/doc/guix.texi:23886
  35274. 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{()}."
  35275. msgstr ""
  35276. #. type: deftypevr
  35277. #: guix-git/doc/guix.texi:23888
  35278. #, no-wrap
  35279. msgid "{@code{prosody-configuration} parameter} boolean use-libevent?"
  35280. msgstr ""
  35281. #. type: deftypevr
  35282. #: guix-git/doc/guix.texi:23892
  35283. msgid "Enable use of libevent for better performance under high load. See @url{https://prosody.im/doc/libevent}. Defaults to @samp{#f}."
  35284. msgstr ""
  35285. #. type: deftypevr
  35286. #: guix-git/doc/guix.texi:23894
  35287. #, no-wrap
  35288. msgid "{@code{prosody-configuration} parameter} module-list modules-enabled"
  35289. msgstr ""
  35290. #. type: deftypevr
  35291. #: guix-git/doc/guix.texi:23900
  35292. 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\")}."
  35293. msgstr ""
  35294. #. type: deftypevr
  35295. #: guix-git/doc/guix.texi:23902
  35296. #, no-wrap
  35297. msgid "{@code{prosody-configuration} parameter} string-list modules-disabled"
  35298. msgstr ""
  35299. #. type: deftypevr
  35300. #: guix-git/doc/guix.texi:23906
  35301. 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{()}."
  35302. msgstr ""
  35303. #. type: deftypevr
  35304. #: guix-git/doc/guix.texi:23908
  35305. #, no-wrap
  35306. msgid "{@code{prosody-configuration} parameter} file-object groups-file"
  35307. msgstr ""
  35308. #. type: deftypevr
  35309. #: guix-git/doc/guix.texi:23913
  35310. 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\"}."
  35311. msgstr ""
  35312. #. type: deftypevr
  35313. #: guix-git/doc/guix.texi:23915
  35314. #, no-wrap
  35315. msgid "{@code{prosody-configuration} parameter} boolean allow-registration?"
  35316. msgstr ""
  35317. #. type: deftypevr
  35318. #: guix-git/doc/guix.texi:23919
  35319. msgid "Disable account creation by default, for security. See @url{https://prosody.im/doc/creating_accounts}. Defaults to @samp{#f}."
  35320. msgstr ""
  35321. #. type: deftypevr
  35322. #: guix-git/doc/guix.texi:23921
  35323. #, no-wrap
  35324. msgid "{@code{prosody-configuration} parameter} maybe-ssl-configuration ssl"
  35325. msgstr ""
  35326. #. type: deftypevr
  35327. #: guix-git/doc/guix.texi:23926
  35328. 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}."
  35329. msgstr ""
  35330. #. type: deftypevr
  35331. #: guix-git/doc/guix.texi:23928
  35332. msgid "Available @code{ssl-configuration} fields are:"
  35333. msgstr ""
  35334. #. type: deftypevr
  35335. #: guix-git/doc/guix.texi:23929
  35336. #, no-wrap
  35337. msgid "{@code{ssl-configuration} parameter} maybe-string protocol"
  35338. msgstr ""
  35339. #. type: deftypevr
  35340. #: guix-git/doc/guix.texi:23931
  35341. msgid "This determines what handshake to use."
  35342. msgstr ""
  35343. #. type: deftypevr
  35344. #: guix-git/doc/guix.texi:23933
  35345. #, no-wrap
  35346. msgid "{@code{ssl-configuration} parameter} maybe-file-name key"
  35347. msgstr ""
  35348. #. type: deftypevr
  35349. #: guix-git/doc/guix.texi:23935
  35350. msgid "Path to your private key file."
  35351. msgstr ""
  35352. #. type: deftypevr
  35353. #: guix-git/doc/guix.texi:23937
  35354. #, no-wrap
  35355. msgid "{@code{ssl-configuration} parameter} maybe-file-name certificate"
  35356. msgstr ""
  35357. #. type: deftypevr
  35358. #: guix-git/doc/guix.texi:23939
  35359. msgid "Path to your certificate file."
  35360. msgstr ""
  35361. #. type: deftypevr
  35362. #: guix-git/doc/guix.texi:23941
  35363. #, no-wrap
  35364. msgid "{@code{ssl-configuration} parameter} file-object capath"
  35365. msgstr ""
  35366. #. type: deftypevr
  35367. #: guix-git/doc/guix.texi:23945
  35368. 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\"}."
  35369. msgstr ""
  35370. #. type: deftypevr
  35371. #: guix-git/doc/guix.texi:23947
  35372. #, no-wrap
  35373. msgid "{@code{ssl-configuration} parameter} maybe-file-object cafile"
  35374. msgstr ""
  35375. #. type: deftypevr
  35376. #: guix-git/doc/guix.texi:23950
  35377. msgid "Path to a file containing root certificates that you wish Prosody to trust. Similar to @code{capath} but with all certificates concatenated together."
  35378. msgstr ""
  35379. #. type: deftypevr
  35380. #: guix-git/doc/guix.texi:23952
  35381. #, no-wrap
  35382. msgid "{@code{ssl-configuration} parameter} maybe-string-list verify"
  35383. msgstr ""
  35384. #. type: deftypevr
  35385. #: guix-git/doc/guix.texi:23955
  35386. msgid "A list of verification options (these mostly map to OpenSSL's @code{set_verify()} flags)."
  35387. msgstr ""
  35388. #. type: deftypevr
  35389. #: guix-git/doc/guix.texi:23957
  35390. #, no-wrap
  35391. msgid "{@code{ssl-configuration} parameter} maybe-string-list options"
  35392. msgstr ""
  35393. #. type: deftypevr
  35394. #: guix-git/doc/guix.texi:23961
  35395. 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."
  35396. msgstr ""
  35397. #. type: deftypevr
  35398. #: guix-git/doc/guix.texi:23963
  35399. #, no-wrap
  35400. msgid "{@code{ssl-configuration} parameter} maybe-non-negative-integer depth"
  35401. msgstr ""
  35402. #. type: deftypevr
  35403. #: guix-git/doc/guix.texi:23966
  35404. msgid "How long a chain of certificate authorities to check when looking for a trusted root certificate."
  35405. msgstr ""
  35406. #. type: deftypevr
  35407. #: guix-git/doc/guix.texi:23968
  35408. #, no-wrap
  35409. msgid "{@code{ssl-configuration} parameter} maybe-string ciphers"
  35410. msgstr ""
  35411. #. type: deftypevr
  35412. #: guix-git/doc/guix.texi:23971
  35413. msgid "An OpenSSL cipher string. This selects what ciphers Prosody will offer to clients, and in what order."
  35414. msgstr ""
  35415. #. type: deftypevr
  35416. #: guix-git/doc/guix.texi:23973
  35417. #, no-wrap
  35418. msgid "{@code{ssl-configuration} parameter} maybe-file-name dhparam"
  35419. msgstr ""
  35420. #. type: deftypevr
  35421. #: guix-git/doc/guix.texi:23977
  35422. 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}"
  35423. msgstr ""
  35424. #. type: deftypevr
  35425. #: guix-git/doc/guix.texi:23979
  35426. #, no-wrap
  35427. msgid "{@code{ssl-configuration} parameter} maybe-string curve"
  35428. msgstr ""
  35429. #. type: deftypevr
  35430. #: guix-git/doc/guix.texi:23982
  35431. msgid "Curve for Elliptic curve Diffie-Hellman. Prosody's default is @samp{\"secp384r1\"}."
  35432. msgstr ""
  35433. #. type: deftypevr
  35434. #: guix-git/doc/guix.texi:23984
  35435. #, no-wrap
  35436. msgid "{@code{ssl-configuration} parameter} maybe-string-list verifyext"
  35437. msgstr ""
  35438. #. type: deftypevr
  35439. #: guix-git/doc/guix.texi:23986
  35440. msgid "A list of ``extra'' verification options."
  35441. msgstr ""
  35442. #. type: deftypevr
  35443. #: guix-git/doc/guix.texi:23988
  35444. #, no-wrap
  35445. msgid "{@code{ssl-configuration} parameter} maybe-string password"
  35446. msgstr ""
  35447. #. type: deftypevr
  35448. #: guix-git/doc/guix.texi:23990
  35449. msgid "Password for encrypted private keys."
  35450. msgstr ""
  35451. #. type: deftypevr
  35452. #: guix-git/doc/guix.texi:23994
  35453. #, no-wrap
  35454. msgid "{@code{prosody-configuration} parameter} boolean c2s-require-encryption?"
  35455. msgstr ""
  35456. #. type: deftypevr
  35457. #: guix-git/doc/guix.texi:23998
  35458. 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}."
  35459. msgstr ""
  35460. #. type: deftypevr
  35461. #: guix-git/doc/guix.texi:24000
  35462. #, no-wrap
  35463. msgid "{@code{prosody-configuration} parameter} string-list disable-sasl-mechanisms"
  35464. msgstr ""
  35465. #. type: deftypevr
  35466. #: guix-git/doc/guix.texi:24004
  35467. msgid "Set of mechanisms that will never be offered. See @url{https://prosody.im/doc/modules/mod_saslauth}. Defaults to @samp{(\"DIGEST-MD5\")}."
  35468. msgstr ""
  35469. #. type: deftypevr
  35470. #: guix-git/doc/guix.texi:24006
  35471. #, no-wrap
  35472. msgid "{@code{prosody-configuration} parameter} boolean s2s-require-encryption?"
  35473. msgstr ""
  35474. #. type: deftypevr
  35475. #: guix-git/doc/guix.texi:24010
  35476. 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}."
  35477. msgstr ""
  35478. #. type: deftypevr
  35479. #: guix-git/doc/guix.texi:24012
  35480. #, no-wrap
  35481. msgid "{@code{prosody-configuration} parameter} boolean s2s-secure-auth?"
  35482. msgstr ""
  35483. #. type: deftypevr
  35484. #: guix-git/doc/guix.texi:24018
  35485. 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}."
  35486. msgstr ""
  35487. #. type: deftypevr
  35488. #: guix-git/doc/guix.texi:24020
  35489. #, no-wrap
  35490. msgid "{@code{prosody-configuration} parameter} string-list s2s-insecure-domains"
  35491. msgstr ""
  35492. #. type: deftypevr
  35493. #: guix-git/doc/guix.texi:24026
  35494. 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{()}."
  35495. msgstr ""
  35496. #. type: deftypevr
  35497. #: guix-git/doc/guix.texi:24028
  35498. #, no-wrap
  35499. msgid "{@code{prosody-configuration} parameter} string-list s2s-secure-domains"
  35500. msgstr ""
  35501. #. type: deftypevr
  35502. #: guix-git/doc/guix.texi:24033
  35503. 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{()}."
  35504. msgstr ""
  35505. #. type: deftypevr
  35506. #: guix-git/doc/guix.texi:24035
  35507. #, no-wrap
  35508. msgid "{@code{prosody-configuration} parameter} string authentication"
  35509. msgstr ""
  35510. #. type: deftypevr
  35511. #: guix-git/doc/guix.texi:24043
  35512. 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\"}."
  35513. msgstr ""
  35514. #. type: deftypevr
  35515. #: guix-git/doc/guix.texi:24045
  35516. #, no-wrap
  35517. msgid "{@code{prosody-configuration} parameter} maybe-string log"
  35518. msgstr ""
  35519. #. type: deftypevr
  35520. #: guix-git/doc/guix.texi:24049
  35521. 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\"}."
  35522. msgstr ""
  35523. #. type: deftypevr
  35524. #: guix-git/doc/guix.texi:24051
  35525. #, no-wrap
  35526. msgid "{@code{prosody-configuration} parameter} file-name pidfile"
  35527. msgstr ""
  35528. #. type: deftypevr
  35529. #: guix-git/doc/guix.texi:24054
  35530. msgid "File to write pid in. See @url{https://prosody.im/doc/modules/mod_posix}. Defaults to @samp{\"/var/run/prosody/prosody.pid\"}."
  35531. msgstr ""
  35532. #. type: deftypevr
  35533. #: guix-git/doc/guix.texi:24056
  35534. #, no-wrap
  35535. msgid "{@code{prosody-configuration} parameter} maybe-non-negative-integer http-max-content-size"
  35536. msgstr ""
  35537. #. type: deftypevr
  35538. #: guix-git/doc/guix.texi:24058
  35539. msgid "Maximum allowed size of the HTTP body (in bytes)."
  35540. msgstr ""
  35541. #. type: deftypevr
  35542. #: guix-git/doc/guix.texi:24060
  35543. #, no-wrap
  35544. msgid "{@code{prosody-configuration} parameter} maybe-string http-external-url"
  35545. msgstr ""
  35546. #. type: deftypevr
  35547. #: guix-git/doc/guix.texi:24065
  35548. 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}."
  35549. msgstr ""
  35550. #. type: deftypevr
  35551. #: guix-git/doc/guix.texi:24067
  35552. #, no-wrap
  35553. msgid "{@code{prosody-configuration} parameter} virtualhost-configuration-list virtualhosts"
  35554. msgstr ""
  35555. #. type: deftypevr
  35556. #: guix-git/doc/guix.texi:24072
  35557. 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."
  35558. msgstr ""
  35559. #. type: deftypevr
  35560. #: guix-git/doc/guix.texi:24078
  35561. 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."
  35562. msgstr ""
  35563. #. type: deftypevr
  35564. #: guix-git/doc/guix.texi:24080
  35565. msgid "See @url{https://prosody.im/doc/configure#virtual_host_settings}."
  35566. msgstr ""
  35567. #. type: deftypevr
  35568. #: guix-git/doc/guix.texi:24082
  35569. msgid "Available @code{virtualhost-configuration} fields are:"
  35570. msgstr ""
  35571. #. type: deftypevr
  35572. #: guix-git/doc/guix.texi:24084 guix-git/doc/guix.texi:24106
  35573. #: guix-git/doc/guix.texi:24159
  35574. 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:"
  35575. msgstr ""
  35576. #. type: deftypevr
  35577. #: guix-git/doc/guix.texi:24084
  35578. #, no-wrap
  35579. msgid "{@code{virtualhost-configuration} parameter} string domain"
  35580. msgstr ""
  35581. #. type: deftypevr
  35582. #: guix-git/doc/guix.texi:24086
  35583. msgid "Domain you wish Prosody to serve."
  35584. msgstr ""
  35585. #. type: deftypevr
  35586. #: guix-git/doc/guix.texi:24090
  35587. #, no-wrap
  35588. msgid "{@code{prosody-configuration} parameter} int-component-configuration-list int-components"
  35589. msgstr ""
  35590. #. type: deftypevr
  35591. #: guix-git/doc/guix.texi:24095
  35592. 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."
  35593. msgstr ""
  35594. #. type: deftypevr
  35595. #: guix-git/doc/guix.texi:24099
  35596. 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."
  35597. msgstr ""
  35598. #. type: deftypevr
  35599. #: guix-git/doc/guix.texi:24102
  35600. msgid "See @url{https://prosody.im/doc/components}. Defaults to @samp{()}."
  35601. msgstr ""
  35602. #. type: deftypevr
  35603. #: guix-git/doc/guix.texi:24104
  35604. msgid "Available @code{int-component-configuration} fields are:"
  35605. msgstr ""
  35606. #. type: deftypevr
  35607. #: guix-git/doc/guix.texi:24106
  35608. #, no-wrap
  35609. msgid "{@code{int-component-configuration} parameter} string hostname"
  35610. msgstr ""
  35611. #. type: deftypevr
  35612. #: guix-git/doc/guix.texi:24108 guix-git/doc/guix.texi:24165
  35613. msgid "Hostname of the component."
  35614. msgstr ""
  35615. #. type: deftypevr
  35616. #: guix-git/doc/guix.texi:24110
  35617. #, no-wrap
  35618. msgid "{@code{int-component-configuration} parameter} string plugin"
  35619. msgstr ""
  35620. #. type: deftypevr
  35621. #: guix-git/doc/guix.texi:24112
  35622. msgid "Plugin you wish to use for the component."
  35623. msgstr ""
  35624. #. type: deftypevr
  35625. #: guix-git/doc/guix.texi:24114
  35626. #, no-wrap
  35627. msgid "{@code{int-component-configuration} parameter} maybe-mod-muc-configuration mod-muc"
  35628. msgstr ""
  35629. #. type: deftypevr
  35630. #: guix-git/doc/guix.texi:24117
  35631. msgid "Multi-user chat (MUC) is Prosody's module for allowing you to create hosted chatrooms/conferences for XMPP users."
  35632. msgstr ""
  35633. #. type: deftypevr
  35634. #: guix-git/doc/guix.texi:24121
  35635. 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."
  35636. msgstr ""
  35637. #. type: deftypevr
  35638. #: guix-git/doc/guix.texi:24123
  35639. msgid "See also @url{https://prosody.im/doc/modules/mod_muc}."
  35640. msgstr ""
  35641. #. type: deftypevr
  35642. #: guix-git/doc/guix.texi:24125
  35643. msgid "Available @code{mod-muc-configuration} fields are:"
  35644. msgstr ""
  35645. #. type: deftypevr
  35646. #: guix-git/doc/guix.texi:24126
  35647. #, no-wrap
  35648. msgid "{@code{mod-muc-configuration} parameter} string name"
  35649. msgstr ""
  35650. #. type: deftypevr
  35651. #: guix-git/doc/guix.texi:24129
  35652. msgid "The name to return in service discovery responses. Defaults to @samp{\"Prosody Chatrooms\"}."
  35653. msgstr ""
  35654. #. type: deftypevr
  35655. #: guix-git/doc/guix.texi:24131
  35656. #, no-wrap
  35657. msgid "{@code{mod-muc-configuration} parameter} string-or-boolean restrict-room-creation"
  35658. msgstr ""
  35659. #. type: deftypevr
  35660. #: guix-git/doc/guix.texi:24138
  35661. 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}."
  35662. msgstr ""
  35663. #. type: deftypevr
  35664. #: guix-git/doc/guix.texi:24140
  35665. #, no-wrap
  35666. msgid "{@code{mod-muc-configuration} parameter} non-negative-integer max-history-messages"
  35667. msgstr ""
  35668. #. type: deftypevr
  35669. #: guix-git/doc/guix.texi:24144
  35670. msgid "Maximum number of history messages that will be sent to the member that has just joined the room. Defaults to @samp{20}."
  35671. msgstr ""
  35672. #. type: deftypevr
  35673. #: guix-git/doc/guix.texi:24150
  35674. #, no-wrap
  35675. msgid "{@code{prosody-configuration} parameter} ext-component-configuration-list ext-components"
  35676. msgstr ""
  35677. #. type: deftypevr
  35678. #: guix-git/doc/guix.texi:24155
  35679. 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{()}."
  35680. msgstr ""
  35681. #. type: deftypevr
  35682. #: guix-git/doc/guix.texi:24157
  35683. msgid "Available @code{ext-component-configuration} fields are:"
  35684. msgstr ""
  35685. #. type: deftypevr
  35686. #: guix-git/doc/guix.texi:24159
  35687. #, no-wrap
  35688. msgid "{@code{ext-component-configuration} parameter} string component-secret"
  35689. msgstr ""
  35690. #. type: deftypevr
  35691. #: guix-git/doc/guix.texi:24161
  35692. msgid "Password which the component will use to log in."
  35693. msgstr ""
  35694. #. type: deftypevr
  35695. #: guix-git/doc/guix.texi:24163
  35696. #, no-wrap
  35697. msgid "{@code{ext-component-configuration} parameter} string hostname"
  35698. msgstr ""
  35699. #. type: deftypevr
  35700. #: guix-git/doc/guix.texi:24169
  35701. #, no-wrap
  35702. msgid "{@code{prosody-configuration} parameter} non-negative-integer-list component-ports"
  35703. msgstr ""
  35704. #. type: deftypevr
  35705. #: guix-git/doc/guix.texi:24172
  35706. msgid "Port(s) Prosody listens on for component connections. Defaults to @samp{(5347)}."
  35707. msgstr ""
  35708. #. type: deftypevr
  35709. #: guix-git/doc/guix.texi:24174
  35710. #, no-wrap
  35711. msgid "{@code{prosody-configuration} parameter} string component-interface"
  35712. msgstr ""
  35713. #. type: deftypevr
  35714. #: guix-git/doc/guix.texi:24177
  35715. msgid "Interface Prosody listens on for component connections. Defaults to @samp{\"127.0.0.1\"}."
  35716. msgstr ""
  35717. #. type: deftypevr
  35718. #: guix-git/doc/guix.texi:24179
  35719. #, no-wrap
  35720. msgid "{@code{prosody-configuration} parameter} maybe-raw-content raw-content"
  35721. msgstr ""
  35722. #. type: deftypevr
  35723. #: guix-git/doc/guix.texi:24181
  35724. msgid "Raw content that will be added to the configuration file."
  35725. msgstr ""
  35726. #. type: Plain text
  35727. #: guix-git/doc/guix.texi:24189
  35728. 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:"
  35729. msgstr ""
  35730. #. type: deftypevr
  35731. #: guix-git/doc/guix.texi:24190
  35732. #, no-wrap
  35733. msgid "{@code{opaque-prosody-configuration} parameter} package prosody"
  35734. msgstr ""
  35735. #. type: deftypevr
  35736. #: guix-git/doc/guix.texi:24192
  35737. msgid "The prosody package."
  35738. msgstr ""
  35739. #. type: deftypevr
  35740. #: guix-git/doc/guix.texi:24194
  35741. #, no-wrap
  35742. msgid "{@code{opaque-prosody-configuration} parameter} string prosody.cfg.lua"
  35743. msgstr ""
  35744. #. type: deftypevr
  35745. #: guix-git/doc/guix.texi:24196
  35746. msgid "The contents of the @code{prosody.cfg.lua} to use."
  35747. msgstr ""
  35748. #. type: Plain text
  35749. #: guix-git/doc/guix.texi:24200
  35750. msgid "For example, if your @code{prosody.cfg.lua} is just the empty string, you could instantiate a prosody service like this:"
  35751. msgstr ""
  35752. #. type: lisp
  35753. #: guix-git/doc/guix.texi:24205
  35754. #, no-wrap
  35755. msgid ""
  35756. "(service prosody-service-type\n"
  35757. " (opaque-prosody-configuration\n"
  35758. " (prosody.cfg.lua \"\")))\n"
  35759. msgstr ""
  35760. #. type: subsubheading
  35761. #: guix-git/doc/guix.texi:24209
  35762. #, no-wrap
  35763. msgid "BitlBee Service"
  35764. msgstr ""
  35765. #. type: cindex
  35766. #: guix-git/doc/guix.texi:24211 guix-git/doc/guix.texi:24255
  35767. #, no-wrap
  35768. msgid "IRC (Internet Relay Chat)"
  35769. msgstr ""
  35770. #. type: cindex
  35771. #: guix-git/doc/guix.texi:24212
  35772. #, no-wrap
  35773. msgid "IRC gateway"
  35774. msgstr "IRC -yhdyskäytävä"
  35775. #. type: Plain text
  35776. #: guix-git/doc/guix.texi:24215
  35777. msgid "@url{https://bitlbee.org,BitlBee} is a gateway that provides an IRC interface to a variety of messaging protocols such as XMPP."
  35778. msgstr ""
  35779. #. type: defvr
  35780. #: guix-git/doc/guix.texi:24216
  35781. #, no-wrap
  35782. msgid "{Scheme Variable} bitlbee-service-type"
  35783. msgstr ""
  35784. #. type: defvr
  35785. #: guix-git/doc/guix.texi:24220
  35786. 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)."
  35787. msgstr ""
  35788. #. type: defvr
  35789. #: guix-git/doc/guix.texi:24223
  35790. msgid "To have BitlBee listen on port 6667 on localhost, add this line to your services:"
  35791. msgstr ""
  35792. #. type: lisp
  35793. #: guix-git/doc/guix.texi:24226
  35794. #, no-wrap
  35795. msgid "(service bitlbee-service-type)\n"
  35796. msgstr ""
  35797. #. type: deftp
  35798. #: guix-git/doc/guix.texi:24229
  35799. #, no-wrap
  35800. msgid "{Data Type} bitlbee-configuration"
  35801. msgstr ""
  35802. #. type: deftp
  35803. #: guix-git/doc/guix.texi:24231
  35804. msgid "This is the configuration for BitlBee, with the following fields:"
  35805. msgstr ""
  35806. #. type: item
  35807. #: guix-git/doc/guix.texi:24233
  35808. #, no-wrap
  35809. msgid "@code{interface} (default: @code{\"127.0.0.1\"})"
  35810. msgstr ""
  35811. #. type: itemx
  35812. #: guix-git/doc/guix.texi:24234
  35813. #, no-wrap
  35814. msgid "@code{port} (default: @code{6667})"
  35815. msgstr ""
  35816. #. type: table
  35817. #: guix-git/doc/guix.texi:24237
  35818. msgid "Listen on the network interface corresponding to the IP address specified in @var{interface}, on @var{port}."
  35819. msgstr ""
  35820. #. type: table
  35821. #: guix-git/doc/guix.texi:24241
  35822. 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."
  35823. msgstr ""
  35824. #. type: item
  35825. #: guix-git/doc/guix.texi:24242
  35826. #, no-wrap
  35827. msgid "@code{bitlbee} (default: @code{bitlbee})"
  35828. msgstr ""
  35829. #. type: table
  35830. #: guix-git/doc/guix.texi:24244
  35831. msgid "The BitlBee package to use."
  35832. msgstr ""
  35833. #. type: item
  35834. #: guix-git/doc/guix.texi:24245
  35835. #, no-wrap
  35836. msgid "@code{plugins} (default: @code{'()})"
  35837. msgstr ""
  35838. #. type: table
  35839. #: guix-git/doc/guix.texi:24247
  35840. msgid "List of plugin packages to use---e.g., @code{bitlbee-discord}."
  35841. msgstr ""
  35842. #. type: table
  35843. #: guix-git/doc/guix.texi:24250
  35844. msgid "Configuration snippet added as-is to the BitlBee configuration file."
  35845. msgstr ""
  35846. #. type: subsubheading
  35847. #: guix-git/doc/guix.texi:24253
  35848. #, no-wrap
  35849. msgid "Quassel Service"
  35850. msgstr ""
  35851. #. type: Plain text
  35852. #: guix-git/doc/guix.texi:24259
  35853. 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."
  35854. msgstr ""
  35855. #. type: defvr
  35856. #: guix-git/doc/guix.texi:24260
  35857. #, no-wrap
  35858. msgid "{Scheme Variable} quassel-service-type"
  35859. msgstr ""
  35860. #. type: defvr
  35861. #: guix-git/doc/guix.texi:24264
  35862. 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)."
  35863. msgstr ""
  35864. #. type: deftp
  35865. #: guix-git/doc/guix.texi:24266
  35866. #, no-wrap
  35867. msgid "{Data Type} quassel-configuration"
  35868. msgstr ""
  35869. #. type: deftp
  35870. #: guix-git/doc/guix.texi:24268
  35871. msgid "This is the configuration for Quassel, with the following fields:"
  35872. msgstr ""
  35873. #. type: item
  35874. #: guix-git/doc/guix.texi:24270
  35875. #, no-wrap
  35876. msgid "@code{quassel} (default: @code{quassel})"
  35877. msgstr ""
  35878. #. type: table
  35879. #: guix-git/doc/guix.texi:24272
  35880. msgid "The Quassel package to use."
  35881. msgstr ""
  35882. #. type: item
  35883. #: guix-git/doc/guix.texi:24273
  35884. #, no-wrap
  35885. msgid "@code{interface} (default: @code{\"::,0.0.0.0\"})"
  35886. msgstr ""
  35887. #. type: item
  35888. #: guix-git/doc/guix.texi:24274
  35889. #, no-wrap
  35890. msgid "@code{port} (default: @code{4242})"
  35891. msgstr ""
  35892. #. type: table
  35893. #: guix-git/doc/guix.texi:24278
  35894. msgid "Listen on the network interface(s) corresponding to the IPv4 or IPv6 interfaces specified in the comma delimited @var{interface}, on @var{port}."
  35895. msgstr ""
  35896. #. type: item
  35897. #: guix-git/doc/guix.texi:24279
  35898. #, no-wrap
  35899. msgid "@code{loglevel} (default: @code{\"Info\"})"
  35900. msgstr ""
  35901. #. type: table
  35902. #: guix-git/doc/guix.texi:24282
  35903. msgid "The level of logging desired. Accepted values are Debug, Info, Warning and Error."
  35904. msgstr ""
  35905. #. type: cindex
  35906. #: guix-git/doc/guix.texi:24288
  35907. #, no-wrap
  35908. msgid "telephony, services"
  35909. msgstr ""
  35910. #. type: Plain text
  35911. #: guix-git/doc/guix.texi:24292
  35912. msgid "The @code{(gnu services telephony)} module contains Guix service definitions for telephony services. Currently it provides the following services:"
  35913. msgstr ""
  35914. #. type: subsubheading
  35915. #: guix-git/doc/guix.texi:24293
  35916. #, no-wrap
  35917. msgid "Jami"
  35918. msgstr ""
  35919. #. type: cindex
  35920. #: guix-git/doc/guix.texi:24295
  35921. #, no-wrap
  35922. msgid "jami, service"
  35923. msgstr ""
  35924. #. type: Plain text
  35925. #: guix-git/doc/guix.texi:24301
  35926. 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:"
  35927. msgstr ""
  35928. #. type: lisp
  35929. #: guix-git/doc/guix.texi:24310
  35930. #, no-wrap
  35931. msgid ""
  35932. "(service jami-service-type\n"
  35933. " (jami-configuration\n"
  35934. " (accounts\n"
  35935. " (list (jami-account\n"
  35936. " (archive \"/etc/jami/unencrypted-account-1.gz\"))\n"
  35937. " (jami-account\n"
  35938. " (archive \"/etc/jami/unencrypted-account-2.gz\"))))))\n"
  35939. msgstr ""
  35940. #. type: Plain text
  35941. #: guix-git/doc/guix.texi:24315
  35942. 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."
  35943. msgstr ""
  35944. #. type: Plain text
  35945. #: guix-git/doc/guix.texi:24320
  35946. msgid "Jami accounts and their corresponding backup archives can be generated using the @code{jami} or @code{jami-gnome} Jami clients. The accounts should not be password-protected, but it is wise to ensure their files are only readable by @samp{root}."
  35947. msgstr ""
  35948. #. type: Plain text
  35949. #: guix-git/doc/guix.texi:24323
  35950. msgid "The next example shows how to declare that only some contacts should be allowed to communicate with a given account:"
  35951. msgstr ""
  35952. #. type: lisp
  35953. #: guix-git/doc/guix.texi:24335
  35954. #, no-wrap
  35955. msgid ""
  35956. "(service jami-service-type\n"
  35957. " (jami-configuration\n"
  35958. " (accounts\n"
  35959. " (list (jami-account\n"
  35960. " (archive \"/etc/jami/unencrypted-account-1.gz\")\n"
  35961. " (peer-discovery? #t)\n"
  35962. " (rendezvous-point? #t)\n"
  35963. " (allowed-contacts\n"
  35964. " '(\"1dbcb0f5f37324228235564b79f2b9737e9a008f\"\n"
  35965. " \"2dbcb0f5f37324228235564b79f2b9737e9a008f\")))))))\n"
  35966. msgstr ""
  35967. #. type: Plain text
  35968. #: guix-git/doc/guix.texi:24341
  35969. 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."
  35970. msgstr ""
  35971. #. type: Plain text
  35972. #: guix-git/doc/guix.texi:24344
  35973. msgid "To put the system administrator in full control of the conferences hosted on their system, the Jami service supports the following actions:"
  35974. msgstr ""
  35975. #. type: example
  35976. #: guix-git/doc/guix.texi:24356
  35977. #, no-wrap
  35978. msgid ""
  35979. "# herd doc jami list-actions\n"
  35980. "(list-accounts\n"
  35981. " list-account-details\n"
  35982. " list-banned-contacts\n"
  35983. " list-contacts\n"
  35984. " list-moderators\n"
  35985. " add-moderator\n"
  35986. " ban-contact\n"
  35987. " enable-account\n"
  35988. " disable-account)\n"
  35989. msgstr ""
  35990. #. type: Plain text
  35991. #: guix-git/doc/guix.texi:24363
  35992. 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."
  35993. msgstr ""
  35994. #. type: Plain text
  35995. #: guix-git/doc/guix.texi:24369
  35996. 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:"
  35997. msgstr ""
  35998. #. type: example
  35999. #: guix-git/doc/guix.texi:24373
  36000. #, no-wrap
  36001. msgid ""
  36002. "# herd add-moderator jami 1dbcb0f5f37324228235564b79f2b9737e9a008f \\\n"
  36003. " f3345f2775ddfe07a4b0d95daea111d15fbc1199\n"
  36004. "\n"
  36005. msgstr ""
  36006. #. type: example
  36007. #: guix-git/doc/guix.texi:24377
  36008. #, no-wrap
  36009. msgid ""
  36010. "# herd list-moderators jami\n"
  36011. "Moderators for account f3345f2775ddfe07a4b0d95daea111d15fbc1199:\n"
  36012. " - 1dbcb0f5f37324228235564b79f2b9737e9a008f\n"
  36013. "\n"
  36014. msgstr ""
  36015. #. type: Plain text
  36016. #: guix-git/doc/guix.texi:24382
  36017. msgid "In the case of @code{ban-contact}, the second username argument is optional; when omitted, the account is banned from all Jami accounts:"
  36018. msgstr ""
  36019. #. type: example
  36020. #: guix-git/doc/guix.texi:24385
  36021. #, no-wrap
  36022. msgid ""
  36023. "# herd ban-contact jami 1dbcb0f5f37324228235564b79f2b9737e9a008f\n"
  36024. "\n"
  36025. msgstr ""
  36026. #. type: example
  36027. #: guix-git/doc/guix.texi:24389
  36028. #, no-wrap
  36029. msgid ""
  36030. "# herd list-banned-contacts jami\n"
  36031. "Banned contacts for account f3345f2775ddfe07a4b0d95daea111d15fbc1199:\n"
  36032. " - 1dbcb0f5f37324228235564b79f2b9737e9a008f\n"
  36033. "\n"
  36034. msgstr ""
  36035. #. type: Plain text
  36036. #: guix-git/doc/guix.texi:24393
  36037. msgid "Banned contacts are also stripped from their moderation privileges."
  36038. msgstr ""
  36039. #. type: Plain text
  36040. #: guix-git/doc/guix.texi:24398
  36041. 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:"
  36042. msgstr ""
  36043. #. type: example
  36044. #: guix-git/doc/guix.texi:24401
  36045. #, no-wrap
  36046. msgid ""
  36047. "# herd disable-account jami f3345f2775ddfe07a4b0d95daea111d15fbc1199\n"
  36048. "\n"
  36049. msgstr ""
  36050. #. type: example
  36051. #: guix-git/doc/guix.texi:24405
  36052. #, no-wrap
  36053. msgid ""
  36054. "# herd list-accounts jami\n"
  36055. "The following Jami accounts are available:\n"
  36056. " - f3345f2775ddfe07a4b0d95daea111d15fbc1199 (dummy) [disabled]\n"
  36057. "\n"
  36058. msgstr ""
  36059. #. type: Plain text
  36060. #: guix-git/doc/guix.texi:24416
  36061. 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:"
  36062. msgstr ""
  36063. #. type: example
  36064. #: guix-git/doc/guix.texi:24421
  36065. #, no-wrap
  36066. msgid ""
  36067. "# herd list-account-details jami | \\\n"
  36068. " recsel -p Account.username -e 'Account.rendezVous ~ \"true\"'\n"
  36069. "Account_username: f3345f2775ddfe07a4b0d95daea111d15fbc1199\n"
  36070. msgstr ""
  36071. #. type: Plain text
  36072. #: guix-git/doc/guix.texi:24424
  36073. msgid "The remaining actions should be self-explanatory."
  36074. msgstr ""
  36075. #. type: Plain text
  36076. #: guix-git/doc/guix.texi:24426
  36077. msgid "The complete set of available configuration options is detailed below."
  36078. msgstr ""
  36079. #. type: deftp
  36080. #: guix-git/doc/guix.texi:24430
  36081. #, no-wrap
  36082. msgid "{Data Type} jami-configuration"
  36083. msgstr ""
  36084. #. type: deftp
  36085. #: guix-git/doc/guix.texi:24432
  36086. msgid "Available @code{jami-configuration} fields are:"
  36087. msgstr ""
  36088. #. type: item
  36089. #: guix-git/doc/guix.texi:24434
  36090. #, no-wrap
  36091. msgid "@code{jamid} (default: @code{libjami}) (type: package)"
  36092. msgstr ""
  36093. #. type: table
  36094. #: guix-git/doc/guix.texi:24436
  36095. msgid "The Jami daemon package to use."
  36096. msgstr ""
  36097. #. type: item
  36098. #: guix-git/doc/guix.texi:24437
  36099. #, no-wrap
  36100. msgid "@code{dbus} (default: @code{dbus}) (type: package)"
  36101. msgstr ""
  36102. #. type: table
  36103. #: guix-git/doc/guix.texi:24439
  36104. msgid "The D-Bus package to use to start the required D-Bus session."
  36105. msgstr ""
  36106. #. type: item
  36107. #: guix-git/doc/guix.texi:24440
  36108. #, no-wrap
  36109. msgid "@code{nss-certs} (default: @code{nss-certs}) (type: package)"
  36110. msgstr ""
  36111. #. type: table
  36112. #: guix-git/doc/guix.texi:24442
  36113. msgid "The nss-certs package to use to provide TLS certificates."
  36114. msgstr ""
  36115. #. type: item
  36116. #: guix-git/doc/guix.texi:24443
  36117. #, no-wrap
  36118. msgid "@code{enable-logging?} (default: @code{#t}) (type: boolean)"
  36119. msgstr ""
  36120. #. type: table
  36121. #: guix-git/doc/guix.texi:24445
  36122. msgid "Whether to enable logging to syslog."
  36123. msgstr ""
  36124. #. type: item
  36125. #: guix-git/doc/guix.texi:24446
  36126. #, no-wrap
  36127. msgid "@code{debug?} (default: @code{#f}) (type: boolean)"
  36128. msgstr ""
  36129. #. type: table
  36130. #: guix-git/doc/guix.texi:24448
  36131. msgid "Whether to enable debug level messages."
  36132. msgstr ""
  36133. #. type: item
  36134. #: guix-git/doc/guix.texi:24449
  36135. #, no-wrap
  36136. msgid "@code{auto-answer?} (default: @code{#f}) (type: boolean)"
  36137. msgstr ""
  36138. #. type: table
  36139. #: guix-git/doc/guix.texi:24451
  36140. msgid "Whether to force automatic answer to incoming calls."
  36141. msgstr ""
  36142. #. type: item
  36143. #: guix-git/doc/guix.texi:24452
  36144. #, no-wrap
  36145. msgid "@code{accounts} (default: @code{disabled}) (type: maybe-jami-account-list)"
  36146. msgstr ""
  36147. #. type: table
  36148. #: guix-git/doc/guix.texi:24457
  36149. 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."
  36150. msgstr ""
  36151. #. type: deftp
  36152. #: guix-git/doc/guix.texi:24463
  36153. #, no-wrap
  36154. msgid "{Data Type} jami-account"
  36155. msgstr ""
  36156. #. type: deftp
  36157. #: guix-git/doc/guix.texi:24465
  36158. msgid "Available @code{jami-account} fields are:"
  36159. msgstr ""
  36160. #. type: item
  36161. #: guix-git/doc/guix.texi:24467
  36162. #, no-wrap
  36163. msgid "@code{archive} (type: string-or-computed-file)"
  36164. msgstr ""
  36165. #. type: table
  36166. #: guix-git/doc/guix.texi:24473
  36167. 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."
  36168. msgstr ""
  36169. #. type: item
  36170. #: guix-git/doc/guix.texi:24474
  36171. #, no-wrap
  36172. msgid "@code{allowed-contacts} (default: @code{disabled}) (type: maybe-account-fingerprint-list)"
  36173. msgstr ""
  36174. #. type: table
  36175. #: guix-git/doc/guix.texi:24481
  36176. 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."
  36177. msgstr ""
  36178. #. type: item
  36179. #: guix-git/doc/guix.texi:24482
  36180. #, no-wrap
  36181. msgid "@code{moderators} (default: @code{disabled}) (type: maybe-account-fingerprint-list)"
  36182. msgstr ""
  36183. #. type: table
  36184. #: guix-git/doc/guix.texi:24488
  36185. 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."
  36186. msgstr ""
  36187. #. type: item
  36188. #: guix-git/doc/guix.texi:24489
  36189. #, no-wrap
  36190. msgid "@code{rendezvous-point?} (default: @code{disabled}) (type: maybe-boolean)"
  36191. msgstr ""
  36192. #. type: table
  36193. #: guix-git/doc/guix.texi:24493
  36194. 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."
  36195. msgstr ""
  36196. #. type: item
  36197. #: guix-git/doc/guix.texi:24494
  36198. #, no-wrap
  36199. msgid "@code{peer-discovery?} (default: @code{disabled}) (type: maybe-boolean)"
  36200. msgstr ""
  36201. #. type: table
  36202. #: guix-git/doc/guix.texi:24500
  36203. 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."
  36204. msgstr ""
  36205. #. type: item
  36206. #: guix-git/doc/guix.texi:24501
  36207. #, no-wrap
  36208. msgid "@code{bootstrap-hostnames} (default: @code{disabled}) (type: maybe-string-list)"
  36209. msgstr ""
  36210. #. type: table
  36211. #: guix-git/doc/guix.texi:24505
  36212. 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."
  36213. msgstr ""
  36214. #. type: item
  36215. #: guix-git/doc/guix.texi:24506
  36216. #, no-wrap
  36217. msgid "@code{name-server-uri} (default: @code{disabled}) (type: maybe-string)"
  36218. msgstr ""
  36219. #. type: table
  36220. #: guix-git/doc/guix.texi:24509
  36221. msgid "The URI of the name server to use, that can be used to retrieve the account fingerprint for a registered username."
  36222. msgstr ""
  36223. #. type: cindex
  36224. #: guix-git/doc/guix.texi:24514 guix-git/doc/guix.texi:24516
  36225. #, no-wrap
  36226. msgid "Murmur (VoIP server)"
  36227. msgstr ""
  36228. #. type: cindex
  36229. #: guix-git/doc/guix.texi:24517
  36230. #, no-wrap
  36231. msgid "VoIP server"
  36232. msgstr ""
  36233. #. type: Plain text
  36234. #: guix-git/doc/guix.texi:24521
  36235. 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."
  36236. msgstr ""
  36237. #. type: deftp
  36238. #: guix-git/doc/guix.texi:24522
  36239. #, no-wrap
  36240. msgid "{Data Type} murmur-configuration"
  36241. msgstr ""
  36242. #. type: deftp
  36243. #: guix-git/doc/guix.texi:24525
  36244. msgid "The service type for the Murmur server. An example configuration can look like this:"
  36245. msgstr ""
  36246. #. type: lisp
  36247. #: guix-git/doc/guix.texi:24534
  36248. #, no-wrap
  36249. msgid ""
  36250. "(service murmur-service-type\n"
  36251. " (murmur-configuration\n"
  36252. " (welcome-text\n"
  36253. " \"Welcome to this Mumble server running on Guix!\")\n"
  36254. " (cert-required? #t) ;disallow text password logins\n"
  36255. " (ssl-cert \"/etc/letsencrypt/live/mumble.example.com/fullchain.pem\")\n"
  36256. " (ssl-key \"/etc/letsencrypt/live/mumble.example.com/privkey.pem\")))\n"
  36257. msgstr ""
  36258. #. type: deftp
  36259. #: guix-git/doc/guix.texi:24538
  36260. msgid "After reconfiguring your system, you can manually set the murmur @code{SuperUser} password with the command that is printed during the activation phase."
  36261. msgstr ""
  36262. #. type: deftp
  36263. #: guix-git/doc/guix.texi:24547
  36264. 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."
  36265. msgstr ""
  36266. #. type: deftp
  36267. #: guix-git/doc/guix.texi:24549
  36268. msgid "Available @code{murmur-configuration} fields are:"
  36269. msgstr ""
  36270. #. type: item
  36271. #: guix-git/doc/guix.texi:24551
  36272. #, no-wrap
  36273. msgid "@code{package} (default: @code{mumble})"
  36274. msgstr ""
  36275. #. type: table
  36276. #: guix-git/doc/guix.texi:24553
  36277. msgid "Package that contains @code{bin/murmurd}."
  36278. msgstr ""
  36279. #. type: item
  36280. #: guix-git/doc/guix.texi:24554
  36281. #, no-wrap
  36282. msgid "@code{user} (default: @code{\"murmur\"})"
  36283. msgstr ""
  36284. #. type: table
  36285. #: guix-git/doc/guix.texi:24556
  36286. msgid "User who will run the Murmur server."
  36287. msgstr ""
  36288. #. type: item
  36289. #: guix-git/doc/guix.texi:24557
  36290. #, no-wrap
  36291. msgid "@code{group} (default: @code{\"murmur\"})"
  36292. msgstr ""
  36293. #. type: table
  36294. #: guix-git/doc/guix.texi:24559
  36295. msgid "Group of the user who will run the murmur server."
  36296. msgstr ""
  36297. #. type: item
  36298. #: guix-git/doc/guix.texi:24560
  36299. #, no-wrap
  36300. msgid "@code{port} (default: @code{64738})"
  36301. msgstr ""
  36302. #. type: table
  36303. #: guix-git/doc/guix.texi:24562
  36304. msgid "Port on which the server will listen."
  36305. msgstr ""
  36306. #. type: item
  36307. #: guix-git/doc/guix.texi:24563
  36308. #, no-wrap
  36309. msgid "@code{welcome-text} (default: @code{\"\"})"
  36310. msgstr ""
  36311. #. type: table
  36312. #: guix-git/doc/guix.texi:24565
  36313. msgid "Welcome text sent to clients when they connect."
  36314. msgstr ""
  36315. #. type: item
  36316. #: guix-git/doc/guix.texi:24566
  36317. #, no-wrap
  36318. msgid "@code{server-password} (default: @code{\"\"})"
  36319. msgstr ""
  36320. #. type: table
  36321. #: guix-git/doc/guix.texi:24568
  36322. msgid "Password the clients have to enter in order to connect."
  36323. msgstr ""
  36324. #. type: item
  36325. #: guix-git/doc/guix.texi:24569
  36326. #, no-wrap
  36327. msgid "@code{max-users} (default: @code{100})"
  36328. msgstr ""
  36329. #. type: table
  36330. #: guix-git/doc/guix.texi:24571
  36331. msgid "Maximum of users that can be connected to the server at once."
  36332. msgstr ""
  36333. #. type: item
  36334. #: guix-git/doc/guix.texi:24572
  36335. #, no-wrap
  36336. msgid "@code{max-user-bandwidth} (default: @code{#f})"
  36337. msgstr ""
  36338. #. type: table
  36339. #: guix-git/doc/guix.texi:24574
  36340. msgid "Maximum voice traffic a user can send per second."
  36341. msgstr ""
  36342. #. type: item
  36343. #: guix-git/doc/guix.texi:24575
  36344. #, no-wrap
  36345. msgid "@code{database-file} (default: @code{\"/var/lib/murmur/db.sqlite\"})"
  36346. msgstr ""
  36347. #. type: table
  36348. #: guix-git/doc/guix.texi:24578
  36349. msgid "File name of the sqlite database. The service's user will become the owner of the directory."
  36350. msgstr ""
  36351. #. type: item
  36352. #: guix-git/doc/guix.texi:24579
  36353. #, no-wrap
  36354. msgid "@code{log-file} (default: @code{\"/var/log/murmur/murmur.log\"})"
  36355. msgstr ""
  36356. #. type: table
  36357. #: guix-git/doc/guix.texi:24582
  36358. msgid "File name of the log file. The service's user will become the owner of the directory."
  36359. msgstr ""
  36360. #. type: item
  36361. #: guix-git/doc/guix.texi:24583
  36362. #, no-wrap
  36363. msgid "@code{autoban-attempts} (default: @code{10})"
  36364. msgstr ""
  36365. #. type: table
  36366. #: guix-git/doc/guix.texi:24586
  36367. msgid "Maximum number of logins a user can make in @code{autoban-timeframe} without getting auto banned for @code{autoban-time}."
  36368. msgstr ""
  36369. #. type: item
  36370. #: guix-git/doc/guix.texi:24587
  36371. #, no-wrap
  36372. msgid "@code{autoban-timeframe} (default: @code{120})"
  36373. msgstr ""
  36374. #. type: table
  36375. #: guix-git/doc/guix.texi:24589
  36376. msgid "Timeframe for autoban in seconds."
  36377. msgstr ""
  36378. #. type: item
  36379. #: guix-git/doc/guix.texi:24590
  36380. #, no-wrap
  36381. msgid "@code{autoban-time} (default: @code{300})"
  36382. msgstr ""
  36383. #. type: table
  36384. #: guix-git/doc/guix.texi:24593
  36385. msgid "Amount of time in seconds for which a client gets banned when violating the autoban limits."
  36386. msgstr ""
  36387. #. type: item
  36388. #: guix-git/doc/guix.texi:24594
  36389. #, no-wrap
  36390. msgid "@code{opus-threshold} (default: @code{100})"
  36391. msgstr ""
  36392. #. type: table
  36393. #: guix-git/doc/guix.texi:24597
  36394. msgid "Percentage of clients that need to support opus before switching over to opus audio codec."
  36395. msgstr ""
  36396. #. type: item
  36397. #: guix-git/doc/guix.texi:24598
  36398. #, no-wrap
  36399. msgid "@code{channel-nesting-limit} (default: @code{10})"
  36400. msgstr ""
  36401. #. type: table
  36402. #: guix-git/doc/guix.texi:24600
  36403. msgid "How deep channels can be nested at maximum."
  36404. msgstr ""
  36405. #. type: item
  36406. #: guix-git/doc/guix.texi:24601
  36407. #, no-wrap
  36408. msgid "@code{channelname-regex} (default: @code{#f})"
  36409. msgstr ""
  36410. #. type: table
  36411. #: guix-git/doc/guix.texi:24603
  36412. msgid "A string in form of a Qt regular expression that channel names must conform to."
  36413. msgstr ""
  36414. #. type: item
  36415. #: guix-git/doc/guix.texi:24604
  36416. #, no-wrap
  36417. msgid "@code{username-regex} (default: @code{#f})"
  36418. msgstr ""
  36419. #. type: table
  36420. #: guix-git/doc/guix.texi:24606
  36421. msgid "A string in form of a Qt regular expression that user names must conform to."
  36422. msgstr ""
  36423. #. type: item
  36424. #: guix-git/doc/guix.texi:24607
  36425. #, no-wrap
  36426. msgid "@code{text-message-length} (default: @code{5000})"
  36427. msgstr ""
  36428. #. type: table
  36429. #: guix-git/doc/guix.texi:24609
  36430. msgid "Maximum size in bytes that a user can send in one text chat message."
  36431. msgstr ""
  36432. #. type: item
  36433. #: guix-git/doc/guix.texi:24610
  36434. #, no-wrap
  36435. msgid "@code{image-message-length} (default: @code{(* 128 1024)})"
  36436. msgstr ""
  36437. #. type: table
  36438. #: guix-git/doc/guix.texi:24612
  36439. msgid "Maximum size in bytes that a user can send in one image message."
  36440. msgstr ""
  36441. #. type: item
  36442. #: guix-git/doc/guix.texi:24613
  36443. #, no-wrap
  36444. msgid "@code{cert-required?} (default: @code{#f})"
  36445. msgstr ""
  36446. #. type: table
  36447. #: guix-git/doc/guix.texi:24616
  36448. 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."
  36449. msgstr ""
  36450. #. type: item
  36451. #: guix-git/doc/guix.texi:24617
  36452. #, no-wrap
  36453. msgid "@code{remember-channel?} (default: @code{#f})"
  36454. msgstr ""
  36455. #. type: table
  36456. #: guix-git/doc/guix.texi:24620
  36457. msgid "Should murmur remember the last channel each user was in when they disconnected and put them into the remembered channel when they rejoin."
  36458. msgstr ""
  36459. #. type: item
  36460. #: guix-git/doc/guix.texi:24621
  36461. #, no-wrap
  36462. msgid "@code{allow-html?} (default: @code{#f})"
  36463. msgstr ""
  36464. #. type: table
  36465. #: guix-git/doc/guix.texi:24623
  36466. msgid "Should html be allowed in text messages, user comments, and channel descriptions."
  36467. msgstr ""
  36468. #. type: item
  36469. #: guix-git/doc/guix.texi:24624
  36470. #, no-wrap
  36471. msgid "@code{allow-ping?} (default: @code{#f})"
  36472. msgstr ""
  36473. #. type: table
  36474. #: guix-git/doc/guix.texi:24628
  36475. 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."
  36476. msgstr ""
  36477. #. type: table
  36478. #: guix-git/doc/guix.texi:24630
  36479. msgid "Disabling this setting will prevent public listing of the server."
  36480. msgstr ""
  36481. #. type: item
  36482. #: guix-git/doc/guix.texi:24631
  36483. #, no-wrap
  36484. msgid "@code{bonjour?} (default: @code{#f})"
  36485. msgstr ""
  36486. #. type: table
  36487. #: guix-git/doc/guix.texi:24633
  36488. msgid "Should the server advertise itself in the local network through the bonjour protocol."
  36489. msgstr ""
  36490. #. type: item
  36491. #: guix-git/doc/guix.texi:24634
  36492. #, no-wrap
  36493. msgid "@code{send-version?} (default: @code{#f})"
  36494. msgstr ""
  36495. #. type: table
  36496. #: guix-git/doc/guix.texi:24636
  36497. msgid "Should the murmur server version be exposed in ping requests."
  36498. msgstr ""
  36499. #. type: item
  36500. #: guix-git/doc/guix.texi:24637
  36501. #, no-wrap
  36502. msgid "@code{log-days} (default: @code{31})"
  36503. msgstr ""
  36504. #. type: table
  36505. #: guix-git/doc/guix.texi:24641
  36506. 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."
  36507. msgstr ""
  36508. #. type: item
  36509. #: guix-git/doc/guix.texi:24642
  36510. #, no-wrap
  36511. msgid "@code{obfuscate-ips?} (default: @code{#t})"
  36512. msgstr ""
  36513. #. type: table
  36514. #: guix-git/doc/guix.texi:24644
  36515. msgid "Should logged ips be obfuscated to protect the privacy of users."
  36516. msgstr ""
  36517. #. type: item
  36518. #: guix-git/doc/guix.texi:24645
  36519. #, no-wrap
  36520. msgid "@code{ssl-cert} (default: @code{#f})"
  36521. msgstr ""
  36522. #. type: table
  36523. #: guix-git/doc/guix.texi:24647
  36524. msgid "File name of the SSL/TLS certificate used for encrypted connections."
  36525. msgstr ""
  36526. #. type: lisp
  36527. #: guix-git/doc/guix.texi:24650
  36528. #, no-wrap
  36529. msgid "(ssl-cert \"/etc/letsencrypt/live/example.com/fullchain.pem\")\n"
  36530. msgstr ""
  36531. #. type: item
  36532. #: guix-git/doc/guix.texi:24651
  36533. #, no-wrap
  36534. msgid "@code{ssl-key} (default: @code{#f})"
  36535. msgstr ""
  36536. #. type: table
  36537. #: guix-git/doc/guix.texi:24653
  36538. msgid "Filepath to the ssl private key used for encrypted connections."
  36539. msgstr ""
  36540. #. type: lisp
  36541. #: guix-git/doc/guix.texi:24655
  36542. #, no-wrap
  36543. msgid "(ssl-key \"/etc/letsencrypt/live/example.com/privkey.pem\")\n"
  36544. msgstr ""
  36545. #. type: item
  36546. #: guix-git/doc/guix.texi:24657
  36547. #, no-wrap
  36548. msgid "@code{ssl-dh-params} (default: @code{#f})"
  36549. msgstr ""
  36550. #. type: table
  36551. #: guix-git/doc/guix.texi:24662
  36552. 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."
  36553. msgstr ""
  36554. #. type: item
  36555. #: guix-git/doc/guix.texi:24663
  36556. #, no-wrap
  36557. msgid "@code{ssl-ciphers} (default: @code{#f})"
  36558. msgstr ""
  36559. #. type: table
  36560. #: guix-git/doc/guix.texi:24666
  36561. msgid "The @code{ssl-ciphers} option chooses the cipher suites to make available for use in SSL/TLS."
  36562. msgstr ""
  36563. #. type: table
  36564. #: guix-git/doc/guix.texi:24670
  36565. msgid "This option is specified using @uref{https://www.openssl.org/docs/apps/ciphers.html#CIPHER-LIST-FORMAT, OpenSSL cipher list notation}."
  36566. msgstr ""
  36567. #. type: table
  36568. #: guix-git/doc/guix.texi:24675
  36569. 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."
  36570. msgstr ""
  36571. #. type: table
  36572. #: guix-git/doc/guix.texi:24679
  36573. 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."
  36574. msgstr ""
  36575. #. type: item
  36576. #: guix-git/doc/guix.texi:24680
  36577. #, no-wrap
  36578. msgid "@code{public-registration} (default: @code{#f})"
  36579. msgstr ""
  36580. #. type: table
  36581. #: guix-git/doc/guix.texi:24682
  36582. msgid "Must be a @code{<murmur-public-registration-configuration>} record or @code{#f}."
  36583. msgstr ""
  36584. #. type: table
  36585. #: guix-git/doc/guix.texi:24687
  36586. 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}."
  36587. msgstr ""
  36588. #. type: table
  36589. #: guix-git/doc/guix.texi:24689
  36590. msgid "It might take a few hours until it shows up in the public list."
  36591. msgstr ""
  36592. #. type: item
  36593. #: guix-git/doc/guix.texi:24690 guix-git/doc/guix.texi:26837
  36594. #, no-wrap
  36595. msgid "@code{file} (default: @code{#f})"
  36596. msgstr ""
  36597. #. type: table
  36598. #: guix-git/doc/guix.texi:24692
  36599. msgid "Optional alternative override for this configuration."
  36600. msgstr ""
  36601. #. type: deftp
  36602. #: guix-git/doc/guix.texi:24695
  36603. #, no-wrap
  36604. msgid "{Data Type} murmur-public-registration-configuration"
  36605. msgstr ""
  36606. #. type: deftp
  36607. #: guix-git/doc/guix.texi:24697
  36608. msgid "Configuration for public registration of a murmur service."
  36609. msgstr ""
  36610. #. type: table
  36611. #: guix-git/doc/guix.texi:24701
  36612. msgid "This is a display name for your server. Not to be confused with the hostname."
  36613. msgstr ""
  36614. #. type: itemx
  36615. #: guix-git/doc/guix.texi:24702 guix-git/doc/guix.texi:33600
  36616. #: guix-git/doc/guix.texi:34857
  36617. #, no-wrap
  36618. msgid "password"
  36619. msgstr "salasana"
  36620. #. type: table
  36621. #: guix-git/doc/guix.texi:24705
  36622. msgid "A password to identify your registration. Subsequent updates will need the same password. Don't lose your password."
  36623. msgstr ""
  36624. #. type: table
  36625. #: guix-git/doc/guix.texi:24709
  36626. msgid "This should be a @code{http://} or @code{https://} link to your web site."
  36627. msgstr ""
  36628. #. type: item
  36629. #: guix-git/doc/guix.texi:24710 guix-git/doc/guix.texi:27725
  36630. #, no-wrap
  36631. msgid "@code{hostname} (default: @code{#f})"
  36632. msgstr ""
  36633. #. type: table
  36634. #: guix-git/doc/guix.texi:24713
  36635. 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."
  36636. msgstr ""
  36637. #. type: Plain text
  36638. #: guix-git/doc/guix.texi:24723
  36639. msgid "The @code{(gnu services file-sharing)} module provides services that assist with transferring files over peer-to-peer file-sharing networks."
  36640. msgstr ""
  36641. #. type: subsubheading
  36642. #: guix-git/doc/guix.texi:24724
  36643. #, no-wrap
  36644. msgid "Transmission Daemon Service"
  36645. msgstr ""
  36646. #. type: Plain text
  36647. #: guix-git/doc/guix.texi:24732
  36648. 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."
  36649. msgstr ""
  36650. #. type: deffn
  36651. #: guix-git/doc/guix.texi:24733
  36652. #, no-wrap
  36653. msgid "{Scheme Variable} transmission-daemon-service-type"
  36654. msgstr ""
  36655. #. type: deffn
  36656. #: guix-git/doc/guix.texi:24737
  36657. msgid "The service type for the Transmission Daemon BitTorrent client. Its value must be a @code{transmission-daemon-configuration} object as in this example:"
  36658. msgstr ""
  36659. #. type: lisp
  36660. #: guix-git/doc/guix.texi:24748
  36661. #, no-wrap
  36662. msgid ""
  36663. "(service transmission-daemon-service-type\n"
  36664. " (transmission-daemon-configuration\n"
  36665. " ;; Restrict access to the RPC (\"control\") interface\n"
  36666. " (rpc-authentication-required? #t)\n"
  36667. " (rpc-username \"transmission\")\n"
  36668. " (rpc-password\n"
  36669. " (transmission-password-hash\n"
  36670. " \"transmission\" ; desired password\n"
  36671. " \"uKd1uMs9\")) ; arbitrary salt value\n"
  36672. "\n"
  36673. msgstr ""
  36674. #. type: lisp
  36675. #: guix-git/doc/guix.texi:24753
  36676. #, no-wrap
  36677. msgid ""
  36678. " ;; Accept requests from this and other hosts on the\n"
  36679. " ;; local network\n"
  36680. " (rpc-whitelist-enabled? #t)\n"
  36681. " (rpc-whitelist '(\"::1\" \"127.0.0.1\" \"192.168.0.*\"))\n"
  36682. "\n"
  36683. msgstr ""
  36684. #. type: lisp
  36685. #: guix-git/doc/guix.texi:24757
  36686. #, no-wrap
  36687. msgid ""
  36688. " ;; Limit bandwidth use during work hours\n"
  36689. " (alt-speed-down (* 1024 2)) ; 2 MB/s\n"
  36690. " (alt-speed-up 512) ; 512 kB/s\n"
  36691. "\n"
  36692. msgstr ""
  36693. #. type: lisp
  36694. #: guix-git/doc/guix.texi:24764
  36695. #, no-wrap
  36696. msgid ""
  36697. " (alt-speed-time-enabled? #t)\n"
  36698. " (alt-speed-time-day 'weekdays)\n"
  36699. " (alt-speed-time-begin\n"
  36700. " (+ (* 60 8) 30)) ; 8:30 am\n"
  36701. " (alt-speed-time-end\n"
  36702. " (+ (* 60 (+ 12 5)) 30)))) ; 5:30 pm\n"
  36703. msgstr ""
  36704. #. type: Plain text
  36705. #: guix-git/doc/guix.texi:24777
  36706. 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."
  36707. msgstr ""
  36708. #. type: Plain text
  36709. #: guix-git/doc/guix.texi:24785
  36710. 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."
  36711. msgstr ""
  36712. #. type: deffn
  36713. #: guix-git/doc/guix.texi:24786
  36714. #, no-wrap
  36715. msgid "{Scheme Procedure} transmission-password-hash @var{password} @var{salt}"
  36716. msgstr ""
  36717. #. type: deffn
  36718. #: guix-git/doc/guix.texi:24790
  36719. 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."
  36720. msgstr ""
  36721. #. type: deffn
  36722. #: guix-git/doc/guix.texi:24794
  36723. 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."
  36724. msgstr ""
  36725. #. type: deffn
  36726. #: guix-git/doc/guix.texi:24796
  36727. #, no-wrap
  36728. msgid "{Scheme Procedure} transmission-random-salt"
  36729. msgstr ""
  36730. #. type: deffn
  36731. #: guix-git/doc/guix.texi:24800
  36732. 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."
  36733. msgstr ""
  36734. #. type: Plain text
  36735. #: guix-git/doc/guix.texi:24806
  36736. 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:"
  36737. msgstr ""
  36738. #. type: example
  36739. #: guix-git/doc/guix.texi:24812
  36740. #, no-wrap
  36741. msgid ""
  36742. "$ guix repl\n"
  36743. "scheme@@(guix-user)> ,use (gnu services file-sharing)\n"
  36744. "scheme@@(guix-user)> (transmission-random-salt)\n"
  36745. "$1 = \"uKd1uMs9\"\n"
  36746. msgstr ""
  36747. #. type: Plain text
  36748. #: guix-git/doc/guix.texi:24815
  36749. msgid "Alternatively, a complete password hash can generated in a single step:"
  36750. msgstr ""
  36751. #. type: example
  36752. #: guix-git/doc/guix.texi:24820
  36753. #, no-wrap
  36754. msgid ""
  36755. "scheme@@(guix-user)> (transmission-password-hash \"transmission\"\n"
  36756. "(transmission-random-salt))\n"
  36757. "$2 = \"@{c8bbc6d1740cd8dc819a6e25563b67812c1c19c9VtFPfdsX\"\n"
  36758. msgstr ""
  36759. #. type: Plain text
  36760. #: guix-git/doc/guix.texi:24825
  36761. 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."
  36762. msgstr ""
  36763. #. type: Plain text
  36764. #: guix-git/doc/guix.texi:24834
  36765. 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."
  36766. msgstr ""
  36767. #. type: Plain text
  36768. #: guix-git/doc/guix.texi:24841
  36769. 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.)"
  36770. msgstr ""
  36771. #. type: Plain text
  36772. #: guix-git/doc/guix.texi:24846
  36773. 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:"
  36774. msgstr ""
  36775. #. type: example
  36776. #: guix-git/doc/guix.texi:24849
  36777. #, no-wrap
  36778. msgid "# herd reload transmission-daemon\n"
  36779. msgstr ""
  36780. #. type: Plain text
  36781. #: guix-git/doc/guix.texi:24853
  36782. msgid "The full set of available configuration settings is defined by the @code{transmission-daemon-configuration} data type."
  36783. msgstr ""
  36784. #. type: deftp
  36785. #: guix-git/doc/guix.texi:24854
  36786. #, no-wrap
  36787. msgid "{Data Type} transmission-daemon-configuration"
  36788. msgstr ""
  36789. #. type: deftp
  36790. #: guix-git/doc/guix.texi:24858
  36791. 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."
  36792. msgstr ""
  36793. #. type: Plain text
  36794. #: guix-git/doc/guix.texi:24872
  36795. msgid "Available @code{transmission-daemon-configuration} fields are:"
  36796. msgstr ""
  36797. #. type: deftypevr
  36798. #: guix-git/doc/guix.texi:24873
  36799. #, no-wrap
  36800. msgid "{@code{transmission-daemon-configuration} parameter} package transmission"
  36801. msgstr ""
  36802. #. type: deftypevr
  36803. #: guix-git/doc/guix.texi:24875
  36804. msgid "The Transmission package to use."
  36805. msgstr ""
  36806. #. type: deftypevr
  36807. #: guix-git/doc/guix.texi:24878
  36808. #, no-wrap
  36809. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer stop-wait-period"
  36810. msgstr ""
  36811. #. type: deftypevr
  36812. #: guix-git/doc/guix.texi:24884
  36813. 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."
  36814. msgstr ""
  36815. #. type: deftypevr
  36816. #: guix-git/doc/guix.texi:24886 guix-git/doc/guix.texi:25258
  36817. #: guix-git/doc/guix.texi:32566 guix-git/doc/guix.texi:32801
  36818. #: guix-git/doc/guix.texi:32809 guix-git/doc/guix.texi:32817
  36819. msgid "Defaults to @samp{10}."
  36820. msgstr ""
  36821. #. type: deftypevr
  36822. #: guix-git/doc/guix.texi:24889
  36823. #, no-wrap
  36824. msgid "{@code{transmission-daemon-configuration} parameter} string download-dir"
  36825. msgstr ""
  36826. #. type: deftypevr
  36827. #: guix-git/doc/guix.texi:24891
  36828. msgid "The directory to which torrent files are downloaded."
  36829. msgstr ""
  36830. #. type: deftypevr
  36831. #: guix-git/doc/guix.texi:24893
  36832. msgid "Defaults to @samp{\"/var/lib/transmission-daemon/downloads\"}."
  36833. msgstr ""
  36834. #. type: deftypevr
  36835. #: guix-git/doc/guix.texi:24896
  36836. #, no-wrap
  36837. msgid "{@code{transmission-daemon-configuration} parameter} boolean incomplete-dir-enabled?"
  36838. msgstr ""
  36839. #. type: deftypevr
  36840. #: guix-git/doc/guix.texi:24901
  36841. 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}."
  36842. msgstr ""
  36843. #. type: deftypevr
  36844. #: guix-git/doc/guix.texi:24906
  36845. #, no-wrap
  36846. msgid "{@code{transmission-daemon-configuration} parameter} maybe-string incomplete-dir"
  36847. msgstr ""
  36848. #. type: deftypevr
  36849. #: guix-git/doc/guix.texi:24909
  36850. msgid "The directory in which files from incompletely downloaded torrents will be held when @code{incomplete-dir-enabled?} is @code{#t}."
  36851. msgstr ""
  36852. #. type: deftypevr
  36853. #: guix-git/doc/guix.texi:24914
  36854. #, no-wrap
  36855. msgid "{@code{transmission-daemon-configuration} parameter} umask umask"
  36856. msgstr ""
  36857. #. type: deftypevr
  36858. #: guix-git/doc/guix.texi:24917
  36859. msgid "The file mode creation mask used for downloaded files. (See the @command{umask} man page for more information.)"
  36860. msgstr ""
  36861. #. type: deftypevr
  36862. #: guix-git/doc/guix.texi:24919
  36863. msgid "Defaults to @samp{18}."
  36864. msgstr ""
  36865. #. type: deftypevr
  36866. #: guix-git/doc/guix.texi:24922
  36867. #, no-wrap
  36868. msgid "{@code{transmission-daemon-configuration} parameter} boolean rename-partial-files?"
  36869. msgstr ""
  36870. #. type: deftypevr
  36871. #: guix-git/doc/guix.texi:24925
  36872. msgid "When @code{#t}, ``.part'' is appended to the name of partially downloaded files."
  36873. msgstr ""
  36874. #. type: deftypevr
  36875. #: guix-git/doc/guix.texi:24930
  36876. #, no-wrap
  36877. msgid "{@code{transmission-daemon-configuration} parameter} preallocation-mode preallocation"
  36878. msgstr ""
  36879. #. type: deftypevr
  36880. #: guix-git/doc/guix.texi:24935
  36881. 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."
  36882. msgstr ""
  36883. #. type: deftypevr
  36884. #: guix-git/doc/guix.texi:24937
  36885. msgid "Defaults to @samp{fast}."
  36886. msgstr ""
  36887. #. type: deftypevr
  36888. #: guix-git/doc/guix.texi:24940
  36889. #, no-wrap
  36890. msgid "{@code{transmission-daemon-configuration} parameter} boolean watch-dir-enabled?"
  36891. msgstr ""
  36892. #. type: deftypevr
  36893. #: guix-git/doc/guix.texi:24945
  36894. 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})."
  36895. msgstr ""
  36896. #. type: deftypevr
  36897. #: guix-git/doc/guix.texi:24950
  36898. #, no-wrap
  36899. msgid "{@code{transmission-daemon-configuration} parameter} maybe-string watch-dir"
  36900. msgstr ""
  36901. #. type: deftypevr
  36902. #: guix-git/doc/guix.texi:24953
  36903. msgid "The directory to be watched for @file{.torrent} files indicating new torrents to be added, when @code{watch-dir-enabled} is @code{#t}."
  36904. msgstr ""
  36905. #. type: deftypevr
  36906. #: guix-git/doc/guix.texi:24958
  36907. #, no-wrap
  36908. msgid "{@code{transmission-daemon-configuration} parameter} boolean trash-original-torrent-files?"
  36909. msgstr ""
  36910. #. type: deftypevr
  36911. #: guix-git/doc/guix.texi:24962
  36912. 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?})."
  36913. msgstr ""
  36914. #. type: deftypevr
  36915. #: guix-git/doc/guix.texi:24967
  36916. #, no-wrap
  36917. msgid "{@code{transmission-daemon-configuration} parameter} boolean speed-limit-down-enabled?"
  36918. msgstr ""
  36919. #. type: deftypevr
  36920. #: guix-git/doc/guix.texi:24970
  36921. msgid "When @code{#t}, the daemon's download speed will be limited to the rate specified by @code{speed-limit-down}."
  36922. msgstr ""
  36923. #. type: deftypevr
  36924. #: guix-git/doc/guix.texi:24975
  36925. #, no-wrap
  36926. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer speed-limit-down"
  36927. msgstr ""
  36928. #. type: deftypevr
  36929. #: guix-git/doc/guix.texi:24977
  36930. msgid "The default global-maximum download speed, in kilobytes per second."
  36931. msgstr ""
  36932. #. type: deftypevr
  36933. #: guix-git/doc/guix.texi:24982
  36934. #, no-wrap
  36935. msgid "{@code{transmission-daemon-configuration} parameter} boolean speed-limit-up-enabled?"
  36936. msgstr ""
  36937. #. type: deftypevr
  36938. #: guix-git/doc/guix.texi:24985
  36939. msgid "When @code{#t}, the daemon's upload speed will be limited to the rate specified by @code{speed-limit-up}."
  36940. msgstr ""
  36941. #. type: deftypevr
  36942. #: guix-git/doc/guix.texi:24990
  36943. #, no-wrap
  36944. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer speed-limit-up"
  36945. msgstr ""
  36946. #. type: deftypevr
  36947. #: guix-git/doc/guix.texi:24992
  36948. msgid "The default global-maximum upload speed, in kilobytes per second."
  36949. msgstr ""
  36950. #. type: deftypevr
  36951. #: guix-git/doc/guix.texi:24997
  36952. #, no-wrap
  36953. msgid "{@code{transmission-daemon-configuration} parameter} boolean alt-speed-enabled?"
  36954. msgstr ""
  36955. #. type: deftypevr
  36956. #: guix-git/doc/guix.texi:25003
  36957. 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?}."
  36958. msgstr ""
  36959. #. type: deftypevr
  36960. #: guix-git/doc/guix.texi:25008
  36961. #, no-wrap
  36962. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer alt-speed-down"
  36963. msgstr ""
  36964. #. type: deftypevr
  36965. #: guix-git/doc/guix.texi:25010
  36966. msgid "The alternate global-maximum download speed, in kilobytes per second."
  36967. msgstr ""
  36968. #. type: deftypevr
  36969. #: guix-git/doc/guix.texi:25012 guix-git/doc/guix.texi:25019
  36970. #: guix-git/doc/guix.texi:25191 guix-git/doc/guix.texi:32573
  36971. #: guix-git/doc/guix.texi:32588
  36972. msgid "Defaults to @samp{50}."
  36973. msgstr ""
  36974. #. type: deftypevr
  36975. #: guix-git/doc/guix.texi:25015
  36976. #, no-wrap
  36977. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer alt-speed-up"
  36978. msgstr ""
  36979. #. type: deftypevr
  36980. #: guix-git/doc/guix.texi:25017
  36981. msgid "The alternate global-maximum upload speed, in kilobytes per second."
  36982. msgstr ""
  36983. #. type: deftypevr
  36984. #: guix-git/doc/guix.texi:25022
  36985. #, no-wrap
  36986. msgid "{@code{transmission-daemon-configuration} parameter} boolean alt-speed-time-enabled?"
  36987. msgstr ""
  36988. #. type: deftypevr
  36989. #: guix-git/doc/guix.texi:25027
  36990. 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}."
  36991. msgstr ""
  36992. #. type: deftypevr
  36993. #: guix-git/doc/guix.texi:25032
  36994. #, no-wrap
  36995. msgid "{@code{transmission-daemon-configuration} parameter} day-list alt-speed-time-day"
  36996. msgstr ""
  36997. #. type: deftypevr
  36998. #: guix-git/doc/guix.texi:25037
  36999. 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}."
  37000. msgstr ""
  37001. #. type: deftypevr
  37002. #: guix-git/doc/guix.texi:25039
  37003. msgid "Defaults to @samp{all}."
  37004. msgstr ""
  37005. #. type: deftypevr
  37006. #: guix-git/doc/guix.texi:25042
  37007. #, no-wrap
  37008. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer alt-speed-time-begin"
  37009. msgstr ""
  37010. #. type: deftypevr
  37011. #: guix-git/doc/guix.texi:25045
  37012. msgid "The time of day at which to enable the alternate speed limits, expressed as a number of minutes since midnight."
  37013. msgstr ""
  37014. #. type: deftypevr
  37015. #: guix-git/doc/guix.texi:25047
  37016. msgid "Defaults to @samp{540}."
  37017. msgstr ""
  37018. #. type: deftypevr
  37019. #: guix-git/doc/guix.texi:25050
  37020. #, no-wrap
  37021. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer alt-speed-time-end"
  37022. msgstr ""
  37023. #. type: deftypevr
  37024. #: guix-git/doc/guix.texi:25053
  37025. msgid "The time of day at which to disable the alternate speed limits, expressed as a number of minutes since midnight."
  37026. msgstr ""
  37027. #. type: deftypevr
  37028. #: guix-git/doc/guix.texi:25055
  37029. msgid "Defaults to @samp{1020}."
  37030. msgstr ""
  37031. #. type: deftypevr
  37032. #: guix-git/doc/guix.texi:25058
  37033. #, no-wrap
  37034. msgid "{@code{transmission-daemon-configuration} parameter} string bind-address-ipv4"
  37035. msgstr ""
  37036. #. type: deftypevr
  37037. #: guix-git/doc/guix.texi:25061
  37038. msgid "The IP address at which to listen for peer connections, or ``0.0.0.0'' to listen at all available IP addresses."
  37039. msgstr ""
  37040. #. type: deftypevr
  37041. #: guix-git/doc/guix.texi:25063 guix-git/doc/guix.texi:25366
  37042. #: guix-git/doc/guix.texi:30430
  37043. msgid "Defaults to @samp{\"0.0.0.0\"}."
  37044. msgstr ""
  37045. #. type: deftypevr
  37046. #: guix-git/doc/guix.texi:25066
  37047. #, no-wrap
  37048. msgid "{@code{transmission-daemon-configuration} parameter} string bind-address-ipv6"
  37049. msgstr ""
  37050. #. type: deftypevr
  37051. #: guix-git/doc/guix.texi:25069
  37052. msgid "The IPv6 address at which to listen for peer connections, or ``::'' to listen at all available IPv6 addresses."
  37053. msgstr ""
  37054. #. type: deftypevr
  37055. #: guix-git/doc/guix.texi:25071
  37056. msgid "Defaults to @samp{\"::\"}."
  37057. msgstr ""
  37058. #. type: deftypevr
  37059. #: guix-git/doc/guix.texi:25074
  37060. #, no-wrap
  37061. msgid "{@code{transmission-daemon-configuration} parameter} boolean peer-port-random-on-start?"
  37062. msgstr ""
  37063. #. type: deftypevr
  37064. #: guix-git/doc/guix.texi:25080
  37065. 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}."
  37066. msgstr ""
  37067. #. type: deftypevr
  37068. #: guix-git/doc/guix.texi:25085
  37069. #, no-wrap
  37070. msgid "{@code{transmission-daemon-configuration} parameter} port-number peer-port-random-low"
  37071. msgstr ""
  37072. #. type: deftypevr
  37073. #: guix-git/doc/guix.texi:25088
  37074. msgid "The lowest selectable port number when @code{peer-port-random-on-start?} is @code{#t}."
  37075. msgstr ""
  37076. #. type: deftypevr
  37077. #: guix-git/doc/guix.texi:25090
  37078. msgid "Defaults to @samp{49152}."
  37079. msgstr ""
  37080. #. type: deftypevr
  37081. #: guix-git/doc/guix.texi:25093
  37082. #, no-wrap
  37083. msgid "{@code{transmission-daemon-configuration} parameter} port-number peer-port-random-high"
  37084. msgstr ""
  37085. #. type: deftypevr
  37086. #: guix-git/doc/guix.texi:25096
  37087. msgid "The highest selectable port number when @code{peer-port-random-on-start} is @code{#t}."
  37088. msgstr ""
  37089. #. type: deftypevr
  37090. #: guix-git/doc/guix.texi:25098
  37091. msgid "Defaults to @samp{65535}."
  37092. msgstr ""
  37093. #. type: deftypevr
  37094. #: guix-git/doc/guix.texi:25101
  37095. #, no-wrap
  37096. msgid "{@code{transmission-daemon-configuration} parameter} port-number peer-port"
  37097. msgstr ""
  37098. #. type: deftypevr
  37099. #: guix-git/doc/guix.texi:25104
  37100. msgid "The port on which to listen for peer connections when @code{peer-port-random-on-start?} is @code{#f}."
  37101. msgstr ""
  37102. #. type: deftypevr
  37103. #: guix-git/doc/guix.texi:25106
  37104. msgid "Defaults to @samp{51413}."
  37105. msgstr ""
  37106. #. type: deftypevr
  37107. #: guix-git/doc/guix.texi:25109
  37108. #, no-wrap
  37109. msgid "{@code{transmission-daemon-configuration} parameter} boolean port-forwarding-enabled?"
  37110. msgstr ""
  37111. #. type: deftypevr
  37112. #: guix-git/doc/guix.texi:25113
  37113. msgid "If @code{#t}, the daemon will attempt to configure port-forwarding on an upstream gateway automatically using @acronym{UPnP} and @acronym{NAT-PMP}."
  37114. msgstr ""
  37115. #. type: deftypevr
  37116. #: guix-git/doc/guix.texi:25118
  37117. #, no-wrap
  37118. msgid "{@code{transmission-daemon-configuration} parameter} encryption-mode encryption"
  37119. msgstr ""
  37120. #. type: deftypevr
  37121. #: guix-git/doc/guix.texi:25123
  37122. msgid "The encryption preference for peer connections, one of @code{prefer-unencrypted-connections}, @code{prefer-encrypted-connections} or @code{require-encrypted-connections}."
  37123. msgstr ""
  37124. #. type: deftypevr
  37125. #: guix-git/doc/guix.texi:25125
  37126. msgid "Defaults to @samp{prefer-encrypted-connections}."
  37127. msgstr ""
  37128. #. type: deftypevr
  37129. #: guix-git/doc/guix.texi:25128
  37130. #, no-wrap
  37131. msgid "{@code{transmission-daemon-configuration} parameter} maybe-string peer-congestion-algorithm"
  37132. msgstr ""
  37133. #. type: deftypevr
  37134. #: guix-git/doc/guix.texi:25133
  37135. 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)."
  37136. msgstr ""
  37137. #. type: deftypevr
  37138. #: guix-git/doc/guix.texi:25142
  37139. 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."
  37140. msgstr ""
  37141. #. type: deftypevr
  37142. #: guix-git/doc/guix.texi:25150
  37143. 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:"
  37144. msgstr ""
  37145. #. type: lisp
  37146. #: guix-git/doc/guix.texi:25157
  37147. #, no-wrap
  37148. msgid ""
  37149. "(service sysctl-service-type\n"
  37150. " (sysctl-configuration\n"
  37151. " (settings\n"
  37152. " (\"net.ipv4.tcp_allowed_congestion_control\" .\n"
  37153. " \"reno cubic lp\"))))\n"
  37154. msgstr ""
  37155. #. type: deftypevr
  37156. #: guix-git/doc/guix.texi:25160
  37157. msgid "The Transmission Daemon configuration can then be updated with"
  37158. msgstr ""
  37159. #. type: lisp
  37160. #: guix-git/doc/guix.texi:25163
  37161. #, no-wrap
  37162. msgid "(peer-congestion-algorithm \"lp\")\n"
  37163. msgstr ""
  37164. #. type: deftypevr
  37165. #: guix-git/doc/guix.texi:25166
  37166. msgid "and the system reconfigured to have the changes take effect."
  37167. msgstr ""
  37168. #. type: deftypevr
  37169. #: guix-git/doc/guix.texi:25171
  37170. #, no-wrap
  37171. msgid "{@code{transmission-daemon-configuration} parameter} tcp-type-of-service peer-socket-tos"
  37172. msgstr ""
  37173. #. type: deftypevr
  37174. #: guix-git/doc/guix.texi:25175
  37175. 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}."
  37176. msgstr ""
  37177. #. type: deftypevr
  37178. #: guix-git/doc/guix.texi:25177
  37179. msgid "Defaults to @samp{default}."
  37180. msgstr ""
  37181. #. type: deftypevr
  37182. #: guix-git/doc/guix.texi:25180
  37183. #, no-wrap
  37184. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer peer-limit-global"
  37185. msgstr ""
  37186. #. type: deftypevr
  37187. #: guix-git/doc/guix.texi:25182
  37188. msgid "The global limit on the number of connected peers."
  37189. msgstr ""
  37190. #. type: deftypevr
  37191. #: guix-git/doc/guix.texi:25184
  37192. msgid "Defaults to @samp{200}."
  37193. msgstr ""
  37194. #. type: deftypevr
  37195. #: guix-git/doc/guix.texi:25187
  37196. #, no-wrap
  37197. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer peer-limit-per-torrent"
  37198. msgstr ""
  37199. #. type: deftypevr
  37200. #: guix-git/doc/guix.texi:25189
  37201. msgid "The per-torrent limit on the number of connected peers."
  37202. msgstr ""
  37203. #. type: deftypevr
  37204. #: guix-git/doc/guix.texi:25194
  37205. #, no-wrap
  37206. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer upload-slots-per-torrent"
  37207. msgstr ""
  37208. #. type: deftypevr
  37209. #: guix-git/doc/guix.texi:25197
  37210. msgid "The maximum number of peers to which the daemon will upload data simultaneously for each torrent."
  37211. msgstr ""
  37212. #. type: deftypevr
  37213. #: guix-git/doc/guix.texi:25199
  37214. msgid "Defaults to @samp{14}."
  37215. msgstr ""
  37216. #. type: deftypevr
  37217. #: guix-git/doc/guix.texi:25202
  37218. #, no-wrap
  37219. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer peer-id-ttl-hours"
  37220. msgstr ""
  37221. #. type: deftypevr
  37222. #: guix-git/doc/guix.texi:25205
  37223. msgid "The maximum lifespan, in hours, of the peer ID associated with each public torrent before it is regenerated."
  37224. msgstr ""
  37225. #. type: deftypevr
  37226. #: guix-git/doc/guix.texi:25207
  37227. msgid "Defaults to @samp{6}."
  37228. msgstr ""
  37229. #. type: deftypevr
  37230. #: guix-git/doc/guix.texi:25210
  37231. #, no-wrap
  37232. msgid "{@code{transmission-daemon-configuration} parameter} boolean blocklist-enabled?"
  37233. msgstr ""
  37234. #. type: deftypevr
  37235. #: guix-git/doc/guix.texi:25213
  37236. msgid "When @code{#t}, the daemon will ignore peers mentioned in the blocklist it has most recently downloaded from @code{blocklist-url}."
  37237. msgstr ""
  37238. #. type: deftypevr
  37239. #: guix-git/doc/guix.texi:25218
  37240. #, no-wrap
  37241. msgid "{@code{transmission-daemon-configuration} parameter} maybe-string blocklist-url"
  37242. msgstr ""
  37243. #. type: deftypevr
  37244. #: guix-git/doc/guix.texi:25222
  37245. 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}."
  37246. msgstr ""
  37247. #. type: deftypevr
  37248. #: guix-git/doc/guix.texi:25227
  37249. #, no-wrap
  37250. msgid "{@code{transmission-daemon-configuration} parameter} boolean download-queue-enabled?"
  37251. msgstr ""
  37252. #. type: deftypevr
  37253. #: guix-git/doc/guix.texi:25230
  37254. msgid "If @code{#t}, the daemon will be limited to downloading at most @code{download-queue-size} non-stalled torrents simultaneously."
  37255. msgstr ""
  37256. #. type: deftypevr
  37257. #: guix-git/doc/guix.texi:25235
  37258. #, no-wrap
  37259. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer download-queue-size"
  37260. msgstr ""
  37261. #. type: deftypevr
  37262. #: guix-git/doc/guix.texi:25239
  37263. 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}."
  37264. msgstr ""
  37265. #. type: deftypevr
  37266. #: guix-git/doc/guix.texi:25244
  37267. #, no-wrap
  37268. msgid "{@code{transmission-daemon-configuration} parameter} boolean seed-queue-enabled?"
  37269. msgstr ""
  37270. #. type: deftypevr
  37271. #: guix-git/doc/guix.texi:25247
  37272. msgid "If @code{#t}, the daemon will be limited to seeding at most @code{seed-queue-size} non-stalled torrents simultaneously."
  37273. msgstr ""
  37274. #. type: deftypevr
  37275. #: guix-git/doc/guix.texi:25252
  37276. #, no-wrap
  37277. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer seed-queue-size"
  37278. msgstr ""
  37279. #. type: deftypevr
  37280. #: guix-git/doc/guix.texi:25256
  37281. 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}."
  37282. msgstr ""
  37283. #. type: deftypevr
  37284. #: guix-git/doc/guix.texi:25261
  37285. #, no-wrap
  37286. msgid "{@code{transmission-daemon-configuration} parameter} boolean queue-stalled-enabled?"
  37287. msgstr ""
  37288. #. type: deftypevr
  37289. #: guix-git/doc/guix.texi:25266
  37290. 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."
  37291. msgstr ""
  37292. #. type: deftypevr
  37293. #: guix-git/doc/guix.texi:25271
  37294. #, no-wrap
  37295. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer queue-stalled-minutes"
  37296. msgstr ""
  37297. #. type: deftypevr
  37298. #: guix-git/doc/guix.texi:25275
  37299. 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}."
  37300. msgstr ""
  37301. #. type: deftypevr
  37302. #: guix-git/doc/guix.texi:25280
  37303. #, no-wrap
  37304. msgid "{@code{transmission-daemon-configuration} parameter} boolean ratio-limit-enabled?"
  37305. msgstr ""
  37306. #. type: deftypevr
  37307. #: guix-git/doc/guix.texi:25283
  37308. msgid "When @code{#t}, a torrent being seeded will automatically be paused once it reaches the ratio specified by @code{ratio-limit}."
  37309. msgstr ""
  37310. #. type: deftypevr
  37311. #: guix-git/doc/guix.texi:25288
  37312. #, no-wrap
  37313. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-rational ratio-limit"
  37314. msgstr ""
  37315. #. type: deftypevr
  37316. #: guix-git/doc/guix.texi:25291
  37317. msgid "The ratio at which a torrent being seeded will be paused, when @code{ratio-limit-enabled?} is @code{#t}."
  37318. msgstr ""
  37319. #. type: deftypevr
  37320. #: guix-git/doc/guix.texi:25293
  37321. msgid "Defaults to @samp{2.0}."
  37322. msgstr ""
  37323. #. type: deftypevr
  37324. #: guix-git/doc/guix.texi:25296
  37325. #, no-wrap
  37326. msgid "{@code{transmission-daemon-configuration} parameter} boolean idle-seeding-limit-enabled?"
  37327. msgstr ""
  37328. #. type: deftypevr
  37329. #: guix-git/doc/guix.texi:25299
  37330. msgid "When @code{#t}, a torrent being seeded will automatically be paused once it has been idle for @code{idle-seeding-limit} minutes."
  37331. msgstr ""
  37332. #. type: deftypevr
  37333. #: guix-git/doc/guix.texi:25304
  37334. #, no-wrap
  37335. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer idle-seeding-limit"
  37336. msgstr ""
  37337. #. type: deftypevr
  37338. #: guix-git/doc/guix.texi:25308
  37339. 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}."
  37340. msgstr ""
  37341. #. type: deftypevr
  37342. #: guix-git/doc/guix.texi:25313
  37343. #, no-wrap
  37344. msgid "{@code{transmission-daemon-configuration} parameter} boolean dht-enabled?"
  37345. msgstr ""
  37346. #. type: deftypevr
  37347. #: guix-git/doc/guix.texi:25317
  37348. msgid "Enable @uref{http://bittorrent.org/beps/bep_0005.html,the distributed hash table (@acronym{DHT}) protocol}, which supports the use of trackerless torrents."
  37349. msgstr ""
  37350. #. type: deftypevr
  37351. #: guix-git/doc/guix.texi:25322
  37352. #, no-wrap
  37353. msgid "{@code{transmission-daemon-configuration} parameter} boolean lpd-enabled?"
  37354. msgstr ""
  37355. #. type: deftypevr
  37356. #: guix-git/doc/guix.texi:25327
  37357. 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."
  37358. msgstr ""
  37359. #. type: deftypevr
  37360. #: guix-git/doc/guix.texi:25332
  37361. #, no-wrap
  37362. msgid "{@code{transmission-daemon-configuration} parameter} boolean pex-enabled?"
  37363. msgstr ""
  37364. #. type: deftypevr
  37365. #: guix-git/doc/guix.texi:25336
  37366. 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."
  37367. msgstr ""
  37368. #. type: deftypevr
  37369. #: guix-git/doc/guix.texi:25341
  37370. #, no-wrap
  37371. msgid "{@code{transmission-daemon-configuration} parameter} boolean utp-enabled?"
  37372. msgstr ""
  37373. #. type: deftypevr
  37374. #: guix-git/doc/guix.texi:25346
  37375. 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."
  37376. msgstr ""
  37377. #. type: deftypevr
  37378. #: guix-git/doc/guix.texi:25351
  37379. #, no-wrap
  37380. msgid "{@code{transmission-daemon-configuration} parameter} boolean rpc-enabled?"
  37381. msgstr ""
  37382. #. type: deftypevr
  37383. #: guix-git/doc/guix.texi:25356
  37384. 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."
  37385. msgstr ""
  37386. #. type: deftypevr
  37387. #: guix-git/doc/guix.texi:25361
  37388. #, no-wrap
  37389. msgid "{@code{transmission-daemon-configuration} parameter} string rpc-bind-address"
  37390. msgstr ""
  37391. #. type: deftypevr
  37392. #: guix-git/doc/guix.texi:25364
  37393. msgid "The IP address at which to listen for @acronym{RPC} connections, or ``0.0.0.0'' to listen at all available IP addresses."
  37394. msgstr ""
  37395. #. type: deftypevr
  37396. #: guix-git/doc/guix.texi:25369
  37397. #, no-wrap
  37398. msgid "{@code{transmission-daemon-configuration} parameter} port-number rpc-port"
  37399. msgstr ""
  37400. #. type: deftypevr
  37401. #: guix-git/doc/guix.texi:25371
  37402. msgid "The port on which to listen for @acronym{RPC} connections."
  37403. msgstr ""
  37404. #. type: deftypevr
  37405. #: guix-git/doc/guix.texi:25373
  37406. msgid "Defaults to @samp{9091}."
  37407. msgstr ""
  37408. #. type: deftypevr
  37409. #: guix-git/doc/guix.texi:25376
  37410. #, no-wrap
  37411. msgid "{@code{transmission-daemon-configuration} parameter} string rpc-url"
  37412. msgstr ""
  37413. #. type: deftypevr
  37414. #: guix-git/doc/guix.texi:25378
  37415. msgid "The path prefix to use in the @acronym{RPC}-endpoint @acronym{URL}."
  37416. msgstr ""
  37417. #. type: deftypevr
  37418. #: guix-git/doc/guix.texi:25380
  37419. msgid "Defaults to @samp{\"/transmission/\"}."
  37420. msgstr ""
  37421. #. type: deftypevr
  37422. #: guix-git/doc/guix.texi:25383
  37423. #, no-wrap
  37424. msgid "{@code{transmission-daemon-configuration} parameter} boolean rpc-authentication-required?"
  37425. msgstr ""
  37426. #. type: deftypevr
  37427. #: guix-git/doc/guix.texi:25388
  37428. 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?}."
  37429. msgstr ""
  37430. #. type: deftypevr
  37431. #: guix-git/doc/guix.texi:25393
  37432. #, no-wrap
  37433. msgid "{@code{transmission-daemon-configuration} parameter} maybe-string rpc-username"
  37434. msgstr ""
  37435. #. type: deftypevr
  37436. #: guix-git/doc/guix.texi:25396
  37437. msgid "The username required by clients to access the @acronym{RPC} interface when @code{rpc-authentication-required?} is @code{#t}."
  37438. msgstr ""
  37439. #. type: deftypevr
  37440. #: guix-git/doc/guix.texi:25401
  37441. #, no-wrap
  37442. msgid "{@code{transmission-daemon-configuration} parameter} maybe-transmission-password-hash rpc-password"
  37443. msgstr ""
  37444. #. type: deftypevr
  37445. #: guix-git/doc/guix.texi:25407
  37446. 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."
  37447. msgstr ""
  37448. #. type: deftypevr
  37449. #: guix-git/doc/guix.texi:25412
  37450. #, no-wrap
  37451. msgid "{@code{transmission-daemon-configuration} parameter} boolean rpc-whitelist-enabled?"
  37452. msgstr ""
  37453. #. type: deftypevr
  37454. #: guix-git/doc/guix.texi:25415
  37455. msgid "When @code{#t}, @acronym{RPC} requests will be accepted only when they originate from an address specified in @code{rpc-whitelist}."
  37456. msgstr ""
  37457. #. type: deftypevr
  37458. #: guix-git/doc/guix.texi:25420
  37459. #, no-wrap
  37460. msgid "{@code{transmission-daemon-configuration} parameter} string-list rpc-whitelist"
  37461. msgstr ""
  37462. #. type: deftypevr
  37463. #: guix-git/doc/guix.texi:25424
  37464. 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{*}."
  37465. msgstr ""
  37466. #. type: deftypevr
  37467. #: guix-git/doc/guix.texi:25426
  37468. msgid "Defaults to @samp{(\"127.0.0.1\" \"::1\")}."
  37469. msgstr ""
  37470. #. type: deftypevr
  37471. #: guix-git/doc/guix.texi:25429
  37472. #, no-wrap
  37473. msgid "{@code{transmission-daemon-configuration} parameter} boolean rpc-host-whitelist-enabled?"
  37474. msgstr ""
  37475. #. type: deftypevr
  37476. #: guix-git/doc/guix.texi:25434
  37477. 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."
  37478. msgstr ""
  37479. #. type: deftypevr
  37480. #: guix-git/doc/guix.texi:25437
  37481. msgid "Note also this functionality is disabled when @code{rpc-authentication-required?} is @code{#t}."
  37482. msgstr ""
  37483. #. type: deftypevr
  37484. #: guix-git/doc/guix.texi:25442
  37485. #, no-wrap
  37486. msgid "{@code{transmission-daemon-configuration} parameter} string-list rpc-host-whitelist"
  37487. msgstr ""
  37488. #. type: deftypevr
  37489. #: guix-git/doc/guix.texi:25445
  37490. msgid "The list of host names recognized by the @acronym{RPC} server when @code{rpc-host-whitelist-enabled?} is @code{#t}."
  37491. msgstr ""
  37492. #. type: deftypevr
  37493. #: guix-git/doc/guix.texi:25450
  37494. #, no-wrap
  37495. msgid "{@code{transmission-daemon-configuration} parameter} message-level message-level"
  37496. msgstr ""
  37497. #. type: deftypevr
  37498. #: guix-git/doc/guix.texi:25454
  37499. 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}."
  37500. msgstr ""
  37501. #. type: deftypevr
  37502. #: guix-git/doc/guix.texi:25459
  37503. #, no-wrap
  37504. msgid "{@code{transmission-daemon-configuration} parameter} boolean start-added-torrents?"
  37505. msgstr ""
  37506. #. type: deftypevr
  37507. #: guix-git/doc/guix.texi:25462
  37508. msgid "When @code{#t}, torrents are started as soon as they are added; otherwise, they are added in ``paused'' state."
  37509. msgstr ""
  37510. #. type: deftypevr
  37511. #: guix-git/doc/guix.texi:25467
  37512. #, no-wrap
  37513. msgid "{@code{transmission-daemon-configuration} parameter} boolean script-torrent-done-enabled?"
  37514. msgstr ""
  37515. #. type: deftypevr
  37516. #: guix-git/doc/guix.texi:25471
  37517. msgid "When @code{#t}, the script specified by @code{script-torrent-done-filename} will be invoked each time a torrent completes."
  37518. msgstr ""
  37519. #. type: deftypevr
  37520. #: guix-git/doc/guix.texi:25476
  37521. #, no-wrap
  37522. msgid "{@code{transmission-daemon-configuration} parameter} maybe-file-object script-torrent-done-filename"
  37523. msgstr ""
  37524. #. type: deftypevr
  37525. #: guix-git/doc/guix.texi:25480
  37526. 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}."
  37527. msgstr ""
  37528. #. type: deftypevr
  37529. #: guix-git/doc/guix.texi:25485
  37530. #, no-wrap
  37531. msgid "{@code{transmission-daemon-configuration} parameter} boolean scrape-paused-torrents-enabled?"
  37532. msgstr ""
  37533. #. type: deftypevr
  37534. #: guix-git/doc/guix.texi:25488
  37535. msgid "When @code{#t}, the daemon will scrape trackers for a torrent even when the torrent is paused."
  37536. msgstr ""
  37537. #. type: deftypevr
  37538. #: guix-git/doc/guix.texi:25493
  37539. #, no-wrap
  37540. msgid "{@code{transmission-daemon-configuration} parameter} non-negative-integer cache-size-mb"
  37541. msgstr ""
  37542. #. type: deftypevr
  37543. #: guix-git/doc/guix.texi:25497
  37544. 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."
  37545. msgstr ""
  37546. #. type: deftypevr
  37547. #: guix-git/doc/guix.texi:25499
  37548. msgid "Defaults to @samp{4}."
  37549. msgstr ""
  37550. #. type: deftypevr
  37551. #: guix-git/doc/guix.texi:25502
  37552. #, no-wrap
  37553. msgid "{@code{transmission-daemon-configuration} parameter} boolean prefetch-enabled?"
  37554. msgstr ""
  37555. #. type: deftypevr
  37556. #: guix-git/doc/guix.texi:25506
  37557. 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."
  37558. msgstr ""
  37559. #. type: subsubheading
  37560. #: guix-git/doc/guix.texi:25519
  37561. #, no-wrap
  37562. msgid "Tailon Service"
  37563. msgstr ""
  37564. #. type: Plain text
  37565. #: guix-git/doc/guix.texi:25523
  37566. msgid "@uref{https://tailon.readthedocs.io/, Tailon} is a web application for viewing and searching log files."
  37567. msgstr ""
  37568. #. type: Plain text
  37569. #: guix-git/doc/guix.texi:25526
  37570. msgid "The following example will configure the service with default values. By default, Tailon can be accessed on port 8080 (@code{http://localhost:8080})."
  37571. msgstr ""
  37572. #. type: lisp
  37573. #: guix-git/doc/guix.texi:25529
  37574. #, no-wrap
  37575. msgid "(service tailon-service-type)\n"
  37576. msgstr ""
  37577. #. type: Plain text
  37578. #: guix-git/doc/guix.texi:25533
  37579. msgid "The following example customises more of the Tailon configuration, adding @command{sed} to the list of allowed commands."
  37580. msgstr ""
  37581. #. type: lisp
  37582. #: guix-git/doc/guix.texi:25540
  37583. #, no-wrap
  37584. msgid ""
  37585. "(service tailon-service-type\n"
  37586. " (tailon-configuration\n"
  37587. " (config-file\n"
  37588. " (tailon-configuration-file\n"
  37589. " (allowed-commands '(\"tail\" \"grep\" \"awk\" \"sed\"))))))\n"
  37590. msgstr ""
  37591. #. type: deftp
  37592. #: guix-git/doc/guix.texi:25543
  37593. #, no-wrap
  37594. msgid "{Data Type} tailon-configuration"
  37595. msgstr ""
  37596. #. type: deftp
  37597. #: guix-git/doc/guix.texi:25546
  37598. msgid "Data type representing the configuration of Tailon. This type has the following parameters:"
  37599. msgstr ""
  37600. #. type: item
  37601. #: guix-git/doc/guix.texi:25548
  37602. #, no-wrap
  37603. msgid "@code{config-file} (default: @code{(tailon-configuration-file)})"
  37604. msgstr ""
  37605. #. type: table
  37606. #: guix-git/doc/guix.texi:25552
  37607. 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})."
  37608. msgstr ""
  37609. #. type: table
  37610. #: guix-git/doc/guix.texi:25555
  37611. msgid "For example, to instead use a local file, the @code{local-file} function can be used:"
  37612. msgstr ""
  37613. #. type: lisp
  37614. #: guix-git/doc/guix.texi:25560
  37615. #, no-wrap
  37616. msgid ""
  37617. "(service tailon-service-type\n"
  37618. " (tailon-configuration\n"
  37619. " (config-file (local-file \"./my-tailon.conf\"))))\n"
  37620. msgstr ""
  37621. #. type: item
  37622. #: guix-git/doc/guix.texi:25562
  37623. #, no-wrap
  37624. msgid "@code{package} (default: @code{tailon})"
  37625. msgstr ""
  37626. #. type: table
  37627. #: guix-git/doc/guix.texi:25564
  37628. msgid "The tailon package to use."
  37629. msgstr ""
  37630. #. type: deftp
  37631. #: guix-git/doc/guix.texi:25568
  37632. #, no-wrap
  37633. msgid "{Data Type} tailon-configuration-file"
  37634. msgstr ""
  37635. #. type: deftp
  37636. #: guix-git/doc/guix.texi:25571
  37637. msgid "Data type representing the configuration options for Tailon. This type has the following parameters:"
  37638. msgstr ""
  37639. #. type: item
  37640. #: guix-git/doc/guix.texi:25573
  37641. #, no-wrap
  37642. msgid "@code{files} (default: @code{(list \"/var/log\")})"
  37643. msgstr ""
  37644. #. type: table
  37645. #: guix-git/doc/guix.texi:25578
  37646. 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."
  37647. msgstr ""
  37648. #. type: item
  37649. #: guix-git/doc/guix.texi:25579
  37650. #, no-wrap
  37651. msgid "@code{bind} (default: @code{\"localhost:8080\"})"
  37652. msgstr ""
  37653. #. type: table
  37654. #: guix-git/doc/guix.texi:25581
  37655. msgid "Address and port to which Tailon should bind on."
  37656. msgstr ""
  37657. #. type: item
  37658. #: guix-git/doc/guix.texi:25582
  37659. #, no-wrap
  37660. msgid "@code{relative-root} (default: @code{#f})"
  37661. msgstr ""
  37662. #. type: table
  37663. #: guix-git/doc/guix.texi:25584
  37664. msgid "URL path to use for Tailon, set to @code{#f} to not use a path."
  37665. msgstr ""
  37666. #. type: item
  37667. #: guix-git/doc/guix.texi:25585
  37668. #, no-wrap
  37669. msgid "@code{allow-transfers?} (default: @code{#t})"
  37670. msgstr ""
  37671. #. type: table
  37672. #: guix-git/doc/guix.texi:25587
  37673. msgid "Allow downloading the log files in the web interface."
  37674. msgstr ""
  37675. #. type: item
  37676. #: guix-git/doc/guix.texi:25588
  37677. #, no-wrap
  37678. msgid "@code{follow-names?} (default: @code{#t})"
  37679. msgstr ""
  37680. #. type: table
  37681. #: guix-git/doc/guix.texi:25590
  37682. msgid "Allow tailing of not-yet existent files."
  37683. msgstr ""
  37684. #. type: item
  37685. #: guix-git/doc/guix.texi:25591
  37686. #, no-wrap
  37687. msgid "@code{tail-lines} (default: @code{200})"
  37688. msgstr ""
  37689. #. type: table
  37690. #: guix-git/doc/guix.texi:25593
  37691. msgid "Number of lines to read initially from each file."
  37692. msgstr ""
  37693. #. type: item
  37694. #: guix-git/doc/guix.texi:25594
  37695. #, no-wrap
  37696. msgid "@code{allowed-commands} (default: @code{(list \"tail\" \"grep\" \"awk\")})"
  37697. msgstr ""
  37698. #. type: table
  37699. #: guix-git/doc/guix.texi:25596
  37700. msgid "Commands to allow running. By default, @code{sed} is disabled."
  37701. msgstr ""
  37702. #. type: table
  37703. #: guix-git/doc/guix.texi:25599
  37704. msgid "Set @code{debug?} to @code{#t} to show debug messages."
  37705. msgstr ""
  37706. #. type: item
  37707. #: guix-git/doc/guix.texi:25600
  37708. #, no-wrap
  37709. msgid "@code{wrap-lines} (default: @code{#t})"
  37710. msgstr ""
  37711. #. type: table
  37712. #: guix-git/doc/guix.texi:25604
  37713. 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."
  37714. msgstr ""
  37715. #. type: item
  37716. #: guix-git/doc/guix.texi:25605
  37717. #, no-wrap
  37718. msgid "@code{http-auth} (default: @code{#f})"
  37719. msgstr ""
  37720. #. type: table
  37721. #: guix-git/doc/guix.texi:25609
  37722. msgid "HTTP authentication type to use. Set to @code{#f} to disable authentication (the default). Supported values are @code{\"digest\"} or @code{\"basic\"}."
  37723. msgstr ""
  37724. #. type: item
  37725. #: guix-git/doc/guix.texi:25610
  37726. #, no-wrap
  37727. msgid "@code{users} (default: @code{#f})"
  37728. msgstr ""
  37729. #. type: table
  37730. #: guix-git/doc/guix.texi:25615
  37731. 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."
  37732. msgstr ""
  37733. #. type: lisp
  37734. #: guix-git/doc/guix.texi:25621
  37735. #, no-wrap
  37736. msgid ""
  37737. "(tailon-configuration-file\n"
  37738. " (http-auth \"basic\")\n"
  37739. " (users '((\"user1\" . \"password1\")\n"
  37740. " (\"user2\" . \"password2\"))))\n"
  37741. msgstr ""
  37742. #. type: subsubheading
  37743. #: guix-git/doc/guix.texi:25627
  37744. #, no-wrap
  37745. msgid "Darkstat Service"
  37746. msgstr ""
  37747. #. type: cindex
  37748. #: guix-git/doc/guix.texi:25628
  37749. #, no-wrap
  37750. msgid "darkstat"
  37751. msgstr ""
  37752. #. type: Plain text
  37753. #: guix-git/doc/guix.texi:25631
  37754. msgid "Darkstat is a packet sniffer that captures network traffic, calculates statistics about usage, and serves reports over HTTP."
  37755. msgstr ""
  37756. #. type: defvar
  37757. #: guix-git/doc/guix.texi:25632
  37758. #, no-wrap
  37759. msgid "{Scheme Variable} darkstat-service-type"
  37760. msgstr ""
  37761. #. type: defvar
  37762. #: guix-git/doc/guix.texi:25637
  37763. 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:"
  37764. msgstr ""
  37765. #. type: lisp
  37766. #: guix-git/doc/guix.texi:25642
  37767. #, no-wrap
  37768. msgid ""
  37769. "(service darkstat-service-type\n"
  37770. " (darkstat-configuration\n"
  37771. " (interface \"eno1\")))\n"
  37772. msgstr ""
  37773. #. type: deftp
  37774. #: guix-git/doc/guix.texi:25645
  37775. #, no-wrap
  37776. msgid "{Data Type} darkstat-configuration"
  37777. msgstr ""
  37778. #. type: deftp
  37779. #: guix-git/doc/guix.texi:25647
  37780. msgid "Data type representing the configuration of @command{darkstat}."
  37781. msgstr ""
  37782. #. type: item
  37783. #: guix-git/doc/guix.texi:25649
  37784. #, no-wrap
  37785. msgid "@code{package} (default: @code{darkstat})"
  37786. msgstr ""
  37787. #. type: table
  37788. #: guix-git/doc/guix.texi:25651
  37789. msgid "The darkstat package to use."
  37790. msgstr ""
  37791. #. type: code{#1}
  37792. #: guix-git/doc/guix.texi:25652
  37793. #, no-wrap
  37794. msgid "interface"
  37795. msgstr "liitäntä"
  37796. #. type: table
  37797. #: guix-git/doc/guix.texi:25654
  37798. msgid "Capture traffic on the specified network interface."
  37799. msgstr ""
  37800. #. type: item
  37801. #: guix-git/doc/guix.texi:25655
  37802. #, no-wrap
  37803. msgid "@code{port} (default: @code{\"667\"})"
  37804. msgstr ""
  37805. #. type: table
  37806. #: guix-git/doc/guix.texi:25657
  37807. msgid "Bind the web interface to the specified port."
  37808. msgstr ""
  37809. #. type: table
  37810. #: guix-git/doc/guix.texi:25660 guix-git/doc/guix.texi:25696
  37811. msgid "Bind the web interface to the specified address."
  37812. msgstr ""
  37813. #. type: item
  37814. #: guix-git/doc/guix.texi:25661
  37815. #, no-wrap
  37816. msgid "@code{base} (default: @code{\"/\"})"
  37817. msgstr ""
  37818. #. type: table
  37819. #: guix-git/doc/guix.texi:25664
  37820. msgid "Specify the path of the base URL@. This can be useful if @command{darkstat} is accessed via a reverse proxy."
  37821. msgstr ""
  37822. #. type: cindex
  37823. #: guix-git/doc/guix.texi:25669 guix-git/doc/guix.texi:25670
  37824. #, no-wrap
  37825. msgid "prometheus-node-exporter"
  37826. msgstr ""
  37827. #. type: subsubheading
  37828. #: guix-git/doc/guix.texi:25669
  37829. #, no-wrap
  37830. msgid "Prometheus Node Exporter Service"
  37831. msgstr ""
  37832. #. type: Plain text
  37833. #: guix-git/doc/guix.texi:25676
  37834. 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."
  37835. msgstr ""
  37836. #. type: defvar
  37837. #: guix-git/doc/guix.texi:25677
  37838. #, no-wrap
  37839. msgid "{Scheme variable} prometheus-node-exporter-service-type"
  37840. msgstr ""
  37841. #. type: defvar
  37842. #: guix-git/doc/guix.texi:25681
  37843. 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}."
  37844. msgstr ""
  37845. #. type: lisp
  37846. #: guix-git/doc/guix.texi:25684
  37847. #, no-wrap
  37848. msgid "(service prometheus-node-exporter-service-type)\n"
  37849. msgstr ""
  37850. #. type: deftp
  37851. #: guix-git/doc/guix.texi:25687
  37852. #, no-wrap
  37853. msgid "{Data Type} prometheus-node-exporter-configuration"
  37854. msgstr ""
  37855. #. type: deftp
  37856. #: guix-git/doc/guix.texi:25689
  37857. msgid "Data type representing the configuration of @command{node_exporter}."
  37858. msgstr ""
  37859. #. type: item
  37860. #: guix-git/doc/guix.texi:25691
  37861. #, no-wrap
  37862. msgid "@code{package} (default: @code{go-github-com-prometheus-node-exporter})"
  37863. msgstr ""
  37864. #. type: table
  37865. #: guix-git/doc/guix.texi:25693
  37866. msgid "The prometheus-node-exporter package to use."
  37867. msgstr ""
  37868. #. type: item
  37869. #: guix-git/doc/guix.texi:25694
  37870. #, no-wrap
  37871. msgid "@code{web-listen-address} (default: @code{\":9100\"})"
  37872. msgstr ""
  37873. #. type: item
  37874. #: guix-git/doc/guix.texi:25697
  37875. #, no-wrap
  37876. msgid "@code{textfile-directory} (default: @code{\"/var/lib/prometheus/node-exporter\"})"
  37877. msgstr ""
  37878. #. type: table
  37879. #: guix-git/doc/guix.texi:25701
  37880. 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."
  37881. msgstr ""
  37882. #. type: table
  37883. #: guix-git/doc/guix.texi:25704
  37884. msgid "Extra options to pass to the Prometheus node exporter."
  37885. msgstr ""
  37886. #. type: subsubheading
  37887. #: guix-git/doc/guix.texi:25708
  37888. #, no-wrap
  37889. msgid "Zabbix server"
  37890. msgstr ""
  37891. #. type: cindex
  37892. #: guix-git/doc/guix.texi:25709
  37893. #, no-wrap
  37894. msgid "zabbix zabbix-server"
  37895. msgstr ""
  37896. #. type: Plain text
  37897. #: guix-git/doc/guix.texi:25714
  37898. msgid "Zabbix is a high performance monitoring system that can collect data from a variety of sources and provide the results in a web-based interface. Alerting and reporting is built-in, as well as @dfn{templates} for common operating system metrics such as network utilization, CPU load, and disk space consumption."
  37899. msgstr ""
  37900. #. type: Plain text
  37901. #: guix-git/doc/guix.texi:25721
  37902. msgid "This service provides the central Zabbix monitoring service; you also need @ref{zabbix-front-end,@code{zabbix-front-end-service-type}} to configure Zabbix and display results, and optionally @ref{zabbix-agent, @code{zabbix-agent-service-type}} on machines that should be monitored (other data sources are supported, such as @ref{prometheus-node-exporter, Prometheus Node Exporter})."
  37903. msgstr ""
  37904. #. type: defvar
  37905. #: guix-git/doc/guix.texi:25722
  37906. #, no-wrap
  37907. msgid "{Scheme variable} zabbix-server-service-type"
  37908. msgstr ""
  37909. #. type: defvar
  37910. #: guix-git/doc/guix.texi:25725
  37911. msgid "This is the service type for the Zabbix server service. Its value must be a @code{zabbix-server-configuration} record, shown below."
  37912. msgstr ""
  37913. #. type: deftp
  37914. #: guix-git/doc/guix.texi:25729
  37915. #, no-wrap
  37916. msgid "{Data Type} zabbix-server-configuration"
  37917. msgstr ""
  37918. #. type: deftp
  37919. #: guix-git/doc/guix.texi:25731
  37920. msgid "Available @code{zabbix-server-configuration} fields are:"
  37921. msgstr ""
  37922. #. type: item
  37923. #: guix-git/doc/guix.texi:25733 guix-git/doc/guix.texi:25896
  37924. #, no-wrap
  37925. msgid "@code{zabbix-server} (default: @code{zabbix-server}) (type: file-like)"
  37926. msgstr ""
  37927. #. type: table
  37928. #: guix-git/doc/guix.texi:25735
  37929. msgid "The zabbix-server package."
  37930. msgstr ""
  37931. #. type: item
  37932. #: guix-git/doc/guix.texi:25736 guix-git/doc/guix.texi:25822
  37933. #, no-wrap
  37934. msgid "@code{user} (default: @code{\"zabbix\"}) (type: string)"
  37935. msgstr ""
  37936. #. type: table
  37937. #: guix-git/doc/guix.texi:25738
  37938. msgid "User who will run the Zabbix server."
  37939. msgstr ""
  37940. #. type: item
  37941. #: guix-git/doc/guix.texi:25739 guix-git/doc/guix.texi:25825
  37942. #, no-wrap
  37943. msgid "@code{group} (default: @code{\"zabbix\"}) (type: group)"
  37944. msgstr ""
  37945. #. type: table
  37946. #: guix-git/doc/guix.texi:25741
  37947. msgid "Group who will run the Zabbix server."
  37948. msgstr ""
  37949. #. type: item
  37950. #: guix-git/doc/guix.texi:25742
  37951. #, no-wrap
  37952. msgid "@code{db-host} (default: @code{\"127.0.0.1\"}) (type: string)"
  37953. msgstr ""
  37954. #. type: table
  37955. #: guix-git/doc/guix.texi:25744 guix-git/doc/guix.texi:25906
  37956. msgid "Database host name."
  37957. msgstr ""
  37958. #. type: item
  37959. #: guix-git/doc/guix.texi:25745 guix-git/doc/guix.texi:25910
  37960. #, no-wrap
  37961. msgid "@code{db-name} (default: @code{\"zabbix\"}) (type: string)"
  37962. msgstr ""
  37963. #. type: table
  37964. #: guix-git/doc/guix.texi:25747 guix-git/doc/guix.texi:25912
  37965. msgid "Database name."
  37966. msgstr ""
  37967. #. type: item
  37968. #: guix-git/doc/guix.texi:25748 guix-git/doc/guix.texi:25913
  37969. #, no-wrap
  37970. msgid "@code{db-user} (default: @code{\"zabbix\"}) (type: string)"
  37971. msgstr ""
  37972. #. type: table
  37973. #: guix-git/doc/guix.texi:25750 guix-git/doc/guix.texi:25915
  37974. msgid "Database user."
  37975. msgstr ""
  37976. #. type: item
  37977. #: guix-git/doc/guix.texi:25751 guix-git/doc/guix.texi:25916
  37978. #, no-wrap
  37979. msgid "@code{db-password} (default: @code{\"\"}) (type: string)"
  37980. msgstr ""
  37981. #. type: table
  37982. #: guix-git/doc/guix.texi:25754
  37983. msgid "Database password. Please, use @code{include-files} with @code{DBPassword=SECRET} inside a specified file instead."
  37984. msgstr ""
  37985. #. type: item
  37986. #: guix-git/doc/guix.texi:25755 guix-git/doc/guix.texi:25907
  37987. #, no-wrap
  37988. msgid "@code{db-port} (default: @code{5432}) (type: number)"
  37989. msgstr ""
  37990. #. type: table
  37991. #: guix-git/doc/guix.texi:25757 guix-git/doc/guix.texi:25909
  37992. msgid "Database port."
  37993. msgstr ""
  37994. #. type: item
  37995. #: guix-git/doc/guix.texi:25758 guix-git/doc/guix.texi:25832
  37996. #, no-wrap
  37997. msgid "@code{log-type} (default: @code{\"\"}) (type: string)"
  37998. msgstr ""
  37999. #. type: table
  38000. #: guix-git/doc/guix.texi:25760 guix-git/doc/guix.texi:25834
  38001. msgid "Specifies where log messages are written to:"
  38002. msgstr ""
  38003. #. type: itemize
  38004. #: guix-git/doc/guix.texi:25763 guix-git/doc/guix.texi:25838
  38005. #, no-wrap
  38006. msgid "@code{system} - syslog."
  38007. msgstr ""
  38008. #. type: item
  38009. #: guix-git/doc/guix.texi:25765
  38010. #, no-wrap
  38011. msgid "@code{file} - file specified with @code{log-file} parameter."
  38012. msgstr ""
  38013. #. type: item
  38014. #: guix-git/doc/guix.texi:25767 guix-git/doc/guix.texi:25842
  38015. #, no-wrap
  38016. msgid "@code{console} - standard output."
  38017. msgstr ""
  38018. #. type: item
  38019. #: guix-git/doc/guix.texi:25771
  38020. #, no-wrap
  38021. msgid "@code{log-file} (default: @code{\"/var/log/zabbix/server.log\"}) (type: string)"
  38022. msgstr ""
  38023. #. type: table
  38024. #: guix-git/doc/guix.texi:25773 guix-git/doc/guix.texi:25848
  38025. msgid "Log file name for @code{log-type} @code{file} parameter."
  38026. msgstr ""
  38027. #. type: item
  38028. #: guix-git/doc/guix.texi:25774
  38029. #, no-wrap
  38030. msgid "@code{pid-file} (default: @code{\"/var/run/zabbix/zabbix_server.pid\"}) (type: string)"
  38031. msgstr ""
  38032. #. type: table
  38033. #: guix-git/doc/guix.texi:25776 guix-git/doc/guix.texi:25851
  38034. msgid "Name of PID file."
  38035. msgstr ""
  38036. #. type: item
  38037. #: guix-git/doc/guix.texi:25777
  38038. #, no-wrap
  38039. msgid "@code{ssl-ca-location} (default: @code{\"/etc/ssl/certs/ca-certificates.crt\"}) (type: string)"
  38040. msgstr ""
  38041. #. type: table
  38042. #: guix-git/doc/guix.texi:25780
  38043. msgid "The location of certificate authority (CA) files for SSL server certificate verification."
  38044. msgstr ""
  38045. #. type: item
  38046. #: guix-git/doc/guix.texi:25781
  38047. #, no-wrap
  38048. msgid "@code{ssl-cert-location} (default: @code{\"/etc/ssl/certs\"}) (type: string)"
  38049. msgstr ""
  38050. #. type: table
  38051. #: guix-git/doc/guix.texi:25783
  38052. msgid "Location of SSL client certificates."
  38053. msgstr ""
  38054. #. type: item
  38055. #: guix-git/doc/guix.texi:25784 guix-git/doc/guix.texi:25862
  38056. #, no-wrap
  38057. msgid "@code{extra-options} (default: @code{\"\"}) (type: extra-options)"
  38058. msgstr ""
  38059. #. type: table
  38060. #: guix-git/doc/guix.texi:25786 guix-git/doc/guix.texi:25864
  38061. msgid "Extra options will be appended to Zabbix server configuration file."
  38062. msgstr ""
  38063. #. type: item
  38064. #: guix-git/doc/guix.texi:25787 guix-git/doc/guix.texi:25865
  38065. #, no-wrap
  38066. msgid "@code{include-files} (default: @code{()}) (type: include-files)"
  38067. msgstr ""
  38068. #. type: table
  38069. #: guix-git/doc/guix.texi:25790 guix-git/doc/guix.texi:25868
  38070. msgid "You may include individual files or all files in a directory in the configuration file."
  38071. msgstr ""
  38072. #. type: anchor{#1}
  38073. #: guix-git/doc/guix.texi:25799
  38074. msgid "zabbix-agent"
  38075. msgstr ""
  38076. #. type: subsubheading
  38077. #: guix-git/doc/guix.texi:25799
  38078. #, no-wrap
  38079. msgid "Zabbix agent"
  38080. msgstr ""
  38081. #. type: cindex
  38082. #: guix-git/doc/guix.texi:25800
  38083. #, no-wrap
  38084. msgid "zabbix zabbix-agent"
  38085. msgstr ""
  38086. #. type: Plain text
  38087. #: guix-git/doc/guix.texi:25807
  38088. msgid "The Zabbix agent gathers information about the running system for the Zabbix monitoring server. It has a variety of built-in checks, and can be extended with custom @uref{https://www.zabbix.com/documentation/current/en/manual/config/items/userparameters, @dfn{user parameters}}."
  38089. msgstr ""
  38090. #. type: defvar
  38091. #: guix-git/doc/guix.texi:25808
  38092. #, no-wrap
  38093. msgid "{Scheme variable} zabbix-agent-service-type"
  38094. msgstr ""
  38095. #. type: defvar
  38096. #: guix-git/doc/guix.texi:25811
  38097. msgid "This is the service type for the Zabbix agent service. Its value must be a @code{zabbix-agent-configuration} record, shown below."
  38098. msgstr ""
  38099. #. type: deftp
  38100. #: guix-git/doc/guix.texi:25815
  38101. #, no-wrap
  38102. msgid "{Data Type} zabbix-agent-configuration"
  38103. msgstr ""
  38104. #. type: deftp
  38105. #: guix-git/doc/guix.texi:25817
  38106. msgid "Available @code{zabbix-agent-configuration} fields are:"
  38107. msgstr ""
  38108. #. type: item
  38109. #: guix-git/doc/guix.texi:25819
  38110. #, no-wrap
  38111. msgid "@code{zabbix-agent} (default: @code{zabbix-agentd}) (type: file-like)"
  38112. msgstr ""
  38113. #. type: table
  38114. #: guix-git/doc/guix.texi:25821
  38115. msgid "The zabbix-agent package."
  38116. msgstr ""
  38117. #. type: table
  38118. #: guix-git/doc/guix.texi:25824
  38119. msgid "User who will run the Zabbix agent."
  38120. msgstr ""
  38121. #. type: table
  38122. #: guix-git/doc/guix.texi:25827
  38123. msgid "Group who will run the Zabbix agent."
  38124. msgstr ""
  38125. #. type: item
  38126. #: guix-git/doc/guix.texi:25828
  38127. #, no-wrap
  38128. msgid "@code{hostname} (default: @code{\"\"}) (type: string)"
  38129. msgstr ""
  38130. #. type: table
  38131. #: guix-git/doc/guix.texi:25831
  38132. msgid "Unique, case sensitive hostname which is required for active checks and must match hostname as configured on the server."
  38133. msgstr ""
  38134. #. type: item
  38135. #: guix-git/doc/guix.texi:25839
  38136. #, no-wrap
  38137. msgid "@code{file} - file specified with"
  38138. msgstr ""
  38139. #. type: itemize
  38140. #: guix-git/doc/guix.texi:25841
  38141. msgid "@code{log-file} parameter."
  38142. msgstr ""
  38143. #. type: item
  38144. #: guix-git/doc/guix.texi:25846
  38145. #, no-wrap
  38146. msgid "@code{log-file} (default: @code{\"/var/log/zabbix/agent.log\"}) (type: string)"
  38147. msgstr ""
  38148. #. type: item
  38149. #: guix-git/doc/guix.texi:25849
  38150. #, no-wrap
  38151. msgid "@code{pid-file} (default: @code{\"/var/run/zabbix/zabbix_agent.pid\"}) (type: string)"
  38152. msgstr ""
  38153. #. type: item
  38154. #: guix-git/doc/guix.texi:25852
  38155. #, no-wrap
  38156. msgid "@code{server} (default: @code{(\"127.0.0.1\")}) (type: list)"
  38157. msgstr ""
  38158. #. type: table
  38159. #: guix-git/doc/guix.texi:25856
  38160. 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."
  38161. msgstr ""
  38162. #. type: item
  38163. #: guix-git/doc/guix.texi:25857
  38164. #, no-wrap
  38165. msgid "@code{server-active} (default: @code{(\"127.0.0.1\")}) (type: list)"
  38166. msgstr ""
  38167. #. type: table
  38168. #: guix-git/doc/guix.texi:25861
  38169. 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."
  38170. msgstr ""
  38171. #. type: anchor{#1}
  38172. #: guix-git/doc/guix.texi:25877
  38173. msgid "zabbix-front-end"
  38174. msgstr ""
  38175. #. type: subsubheading
  38176. #: guix-git/doc/guix.texi:25877
  38177. #, no-wrap
  38178. msgid "Zabbix front-end"
  38179. msgstr ""
  38180. #. type: cindex
  38181. #: guix-git/doc/guix.texi:25878
  38182. #, no-wrap
  38183. msgid "zabbix zabbix-front-end"
  38184. msgstr ""
  38185. #. type: Plain text
  38186. #: guix-git/doc/guix.texi:25884
  38187. msgid "The Zabbix front-end provides a web interface to Zabbix. It does not need to run on the same machine as the Zabbix server. This service works by extending the @ref{PHP-FPM} and @ref{NGINX} services with the configuration necessary for loading the Zabbix user interface."
  38188. msgstr ""
  38189. #. type: defvar
  38190. #: guix-git/doc/guix.texi:25885
  38191. #, no-wrap
  38192. msgid "{Scheme variable} zabbix-front-end-service-type"
  38193. msgstr ""
  38194. #. type: defvar
  38195. #: guix-git/doc/guix.texi:25888
  38196. msgid "This is the service type for the Zabbix web frontend. Its value must be a @code{zabbix-front-end-configuration} record, shown below."
  38197. msgstr ""
  38198. #. type: deftp
  38199. #: guix-git/doc/guix.texi:25892
  38200. #, no-wrap
  38201. msgid "{Data Type} zabbix-front-end-configuration"
  38202. msgstr ""
  38203. #. type: deftp
  38204. #: guix-git/doc/guix.texi:25894
  38205. msgid "Available @code{zabbix-front-end-configuration} fields are:"
  38206. msgstr ""
  38207. #. type: table
  38208. #: guix-git/doc/guix.texi:25898
  38209. msgid "The Zabbix server package to use."
  38210. msgstr ""
  38211. #. type: item
  38212. #: guix-git/doc/guix.texi:25899
  38213. #, no-wrap
  38214. msgid "@code{nginx} (default: @code{()}) (type: list)"
  38215. msgstr ""
  38216. #. type: table
  38217. #: guix-git/doc/guix.texi:25903
  38218. msgid "List of @ref{nginx-server-configuration,@code{nginx-server-configuration}} blocks for the Zabbix front-end. When empty, a default that listens on port 80 is used."
  38219. msgstr ""
  38220. #. type: item
  38221. #: guix-git/doc/guix.texi:25904
  38222. #, no-wrap
  38223. msgid "@code{db-host} (default: @code{\"localhost\"}) (type: string)"
  38224. msgstr ""
  38225. #. type: table
  38226. #: guix-git/doc/guix.texi:25918
  38227. msgid "Database password. Please, use @code{db-secret-file} instead."
  38228. msgstr ""
  38229. #. type: item
  38230. #: guix-git/doc/guix.texi:25919
  38231. #, no-wrap
  38232. msgid "@code{db-secret-file} (default: @code{\"\"}) (type: string)"
  38233. msgstr ""
  38234. #. type: table
  38235. #: guix-git/doc/guix.texi:25923
  38236. msgid "Secret file which will be appended to @file{zabbix.conf.php} file. This file contains credentials for use by Zabbix front-end. You are expected to create it manually."
  38237. msgstr ""
  38238. #. type: item
  38239. #: guix-git/doc/guix.texi:25924
  38240. #, no-wrap
  38241. msgid "@code{zabbix-host} (default: @code{\"localhost\"}) (type: string)"
  38242. msgstr ""
  38243. #. type: table
  38244. #: guix-git/doc/guix.texi:25926
  38245. msgid "Zabbix server hostname."
  38246. msgstr ""
  38247. #. type: item
  38248. #: guix-git/doc/guix.texi:25927
  38249. #, no-wrap
  38250. msgid "@code{zabbix-port} (default: @code{10051}) (type: number)"
  38251. msgstr ""
  38252. #. type: table
  38253. #: guix-git/doc/guix.texi:25929
  38254. msgid "Zabbix server port."
  38255. msgstr ""
  38256. #. type: cindex
  38257. #: guix-git/doc/guix.texi:25939
  38258. #, no-wrap
  38259. msgid "Kerberos"
  38260. msgstr ""
  38261. #. type: Plain text
  38262. #: guix-git/doc/guix.texi:25943
  38263. msgid "The @code{(gnu services kerberos)} module provides services relating to the authentication protocol @dfn{Kerberos}."
  38264. msgstr ""
  38265. #. type: subsubheading
  38266. #: guix-git/doc/guix.texi:25944
  38267. #, no-wrap
  38268. msgid "Krb5 Service"
  38269. msgstr ""
  38270. #. type: Plain text
  38271. #: guix-git/doc/guix.texi:25951
  38272. 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."
  38273. msgstr ""
  38274. #. type: Plain text
  38275. #: guix-git/doc/guix.texi:25955
  38276. 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."
  38277. msgstr ""
  38278. #. type: defvr
  38279. #: guix-git/doc/guix.texi:25956
  38280. #, no-wrap
  38281. msgid "{Scheme Variable} krb5-service-type"
  38282. msgstr ""
  38283. #. type: defvr
  38284. #: guix-git/doc/guix.texi:25958
  38285. msgid "A service type for Kerberos 5 clients."
  38286. msgstr ""
  38287. #. type: Plain text
  38288. #: guix-git/doc/guix.texi:25962
  38289. msgid "Here is an example of its use:"
  38290. msgstr ""
  38291. #. type: lisp
  38292. #: guix-git/doc/guix.texi:25976
  38293. #, no-wrap
  38294. msgid ""
  38295. "(service krb5-service-type\n"
  38296. " (krb5-configuration\n"
  38297. " (default-realm \"EXAMPLE.COM\")\n"
  38298. " (allow-weak-crypto? #t)\n"
  38299. " (realms (list\n"
  38300. " (krb5-realm\n"
  38301. " (name \"EXAMPLE.COM\")\n"
  38302. " (admin-server \"groucho.example.com\")\n"
  38303. " (kdc \"karl.example.com\"))\n"
  38304. " (krb5-realm\n"
  38305. " (name \"ARGRX.EDU\")\n"
  38306. " (admin-server \"kerb-admin.argrx.edu\")\n"
  38307. " (kdc \"keys.argrx.edu\"))))))\n"
  38308. msgstr ""
  38309. #. type: Plain text
  38310. #: guix-git/doc/guix.texi:25980
  38311. msgid "This example provides a Kerberos@tie{}5 client configuration which:"
  38312. msgstr ""
  38313. #. type: item
  38314. #: guix-git/doc/guix.texi:25981
  38315. #, no-wrap
  38316. msgid "Recognizes two realms, @i{viz:} ``EXAMPLE.COM'' and ``ARGRX.EDU'', both"
  38317. msgstr ""
  38318. #. type: itemize
  38319. #: guix-git/doc/guix.texi:25983
  38320. msgid "of which have distinct administration servers and key distribution centers;"
  38321. msgstr ""
  38322. #. type: item
  38323. #: guix-git/doc/guix.texi:25983
  38324. #, no-wrap
  38325. msgid "Will default to the realm ``EXAMPLE.COM'' if the realm is not explicitly"
  38326. msgstr ""
  38327. #. type: itemize
  38328. #: guix-git/doc/guix.texi:25985
  38329. msgid "specified by clients;"
  38330. msgstr ""
  38331. #. type: item
  38332. #: guix-git/doc/guix.texi:25985
  38333. #, no-wrap
  38334. msgid "Accepts services which only support encryption types known to be weak."
  38335. msgstr ""
  38336. #. type: Plain text
  38337. #: guix-git/doc/guix.texi:25993
  38338. 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."
  38339. msgstr ""
  38340. #. type: deftp
  38341. #: guix-git/doc/guix.texi:25995
  38342. #, no-wrap
  38343. msgid "{Data Type} krb5-realm"
  38344. msgstr ""
  38345. #. type: cindex
  38346. #: guix-git/doc/guix.texi:25996
  38347. #, no-wrap
  38348. msgid "realm, kerberos"
  38349. msgstr ""
  38350. #. type: table
  38351. #: guix-git/doc/guix.texi:26002
  38352. 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."
  38353. msgstr ""
  38354. #. type: code{#1}
  38355. #: guix-git/doc/guix.texi:26003
  38356. #, no-wrap
  38357. msgid "admin-server"
  38358. msgstr ""
  38359. #. type: table
  38360. #: guix-git/doc/guix.texi:26006
  38361. msgid "This field is a string identifying the host where the administration server is running."
  38362. msgstr ""
  38363. #. type: code{#1}
  38364. #: guix-git/doc/guix.texi:26007
  38365. #, no-wrap
  38366. msgid "kdc"
  38367. msgstr ""
  38368. #. type: table
  38369. #: guix-git/doc/guix.texi:26010
  38370. msgid "This field is a string identifying the key distribution center for the realm."
  38371. msgstr ""
  38372. #. type: deftp
  38373. #: guix-git/doc/guix.texi:26013
  38374. #, no-wrap
  38375. msgid "{Data Type} krb5-configuration"
  38376. msgstr ""
  38377. #. type: item
  38378. #: guix-git/doc/guix.texi:26016
  38379. #, no-wrap
  38380. msgid "@code{allow-weak-crypto?} (default: @code{#f})"
  38381. msgstr ""
  38382. #. type: table
  38383. #: guix-git/doc/guix.texi:26019
  38384. msgid "If this flag is @code{#t} then services which only offer encryption algorithms known to be weak will be accepted."
  38385. msgstr ""
  38386. #. type: item
  38387. #: guix-git/doc/guix.texi:26020
  38388. #, no-wrap
  38389. msgid "@code{default-realm} (default: @code{#f})"
  38390. msgstr ""
  38391. #. type: table
  38392. #: guix-git/doc/guix.texi:26027
  38393. 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}."
  38394. msgstr ""
  38395. #. type: code{#1}
  38396. #: guix-git/doc/guix.texi:26028
  38397. #, no-wrap
  38398. msgid "realms"
  38399. msgstr ""
  38400. #. type: table
  38401. #: guix-git/doc/guix.texi:26033
  38402. 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."
  38403. msgstr ""
  38404. #. type: subsubheading
  38405. #: guix-git/doc/guix.texi:26037
  38406. #, no-wrap
  38407. msgid "PAM krb5 Service"
  38408. msgstr ""
  38409. #. type: cindex
  38410. #: guix-git/doc/guix.texi:26038
  38411. #, no-wrap
  38412. msgid "pam-krb5"
  38413. msgstr ""
  38414. #. type: Plain text
  38415. #: guix-git/doc/guix.texi:26044
  38416. 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."
  38417. msgstr ""
  38418. #. type: defvr
  38419. #: guix-git/doc/guix.texi:26045
  38420. #, no-wrap
  38421. msgid "{Scheme Variable} pam-krb5-service-type"
  38422. msgstr ""
  38423. #. type: defvr
  38424. #: guix-git/doc/guix.texi:26047
  38425. msgid "A service type for the Kerberos 5 PAM module."
  38426. msgstr ""
  38427. #. type: deftp
  38428. #: guix-git/doc/guix.texi:26049
  38429. #, no-wrap
  38430. msgid "{Data Type} pam-krb5-configuration"
  38431. msgstr ""
  38432. #. type: deftp
  38433. #: guix-git/doc/guix.texi:26052
  38434. msgid "Data type representing the configuration of the Kerberos 5 PAM module. This type has the following parameters:"
  38435. msgstr ""
  38436. #. type: item
  38437. #: guix-git/doc/guix.texi:26053
  38438. #, no-wrap
  38439. msgid "@code{pam-krb5} (default: @code{pam-krb5})"
  38440. msgstr ""
  38441. #. type: table
  38442. #: guix-git/doc/guix.texi:26055
  38443. msgid "The pam-krb5 package to use."
  38444. msgstr ""
  38445. #. type: item
  38446. #: guix-git/doc/guix.texi:26056
  38447. #, no-wrap
  38448. msgid "@code{minimum-uid} (default: @code{1000})"
  38449. msgstr ""
  38450. #. type: table
  38451. #: guix-git/doc/guix.texi:26059
  38452. msgid "The smallest user ID for which Kerberos authentications should be attempted. Local accounts with lower values will silently fail to authenticate."
  38453. msgstr ""
  38454. #. type: cindex
  38455. #: guix-git/doc/guix.texi:26065
  38456. #, no-wrap
  38457. msgid "LDAP"
  38458. msgstr ""
  38459. #. type: cindex
  38460. #: guix-git/doc/guix.texi:26066
  38461. #, no-wrap
  38462. msgid "nslcd, LDAP service"
  38463. msgstr ""
  38464. #. type: Plain text
  38465. #: guix-git/doc/guix.texi:26073
  38466. 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."
  38467. msgstr ""
  38468. #. type: Plain text
  38469. #: guix-git/doc/guix.texi:26077
  38470. 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:"
  38471. msgstr ""
  38472. #. type: lisp
  38473. #: guix-git/doc/guix.texi:26100
  38474. #, no-wrap
  38475. msgid ""
  38476. "(use-service-modules authentication)\n"
  38477. "(use-modules (gnu system nss))\n"
  38478. "...\n"
  38479. "(operating-system\n"
  38480. " ...\n"
  38481. " (services\n"
  38482. " (cons*\n"
  38483. " (service nslcd-service-type)\n"
  38484. " (service dhcp-client-service-type)\n"
  38485. " %base-services))\n"
  38486. " (name-service-switch\n"
  38487. " (let ((services (list (name-service (name \"db\"))\n"
  38488. " (name-service (name \"files\"))\n"
  38489. " (name-service (name \"ldap\")))))\n"
  38490. " (name-service-switch\n"
  38491. " (inherit %mdns-host-lookup-nss)\n"
  38492. " (password services)\n"
  38493. " (shadow services)\n"
  38494. " (group services)\n"
  38495. " (netgroup services)\n"
  38496. " (gshadow services)))))\n"
  38497. msgstr ""
  38498. #. type: Plain text
  38499. #: guix-git/doc/guix.texi:26105
  38500. msgid "Available @code{nslcd-configuration} fields are:"
  38501. msgstr ""
  38502. #. type: deftypevr
  38503. #: guix-git/doc/guix.texi:26106
  38504. #, no-wrap
  38505. msgid "{@code{nslcd-configuration} parameter} package nss-pam-ldapd"
  38506. msgstr ""
  38507. #. type: deftypevr
  38508. #: guix-git/doc/guix.texi:26108
  38509. msgid "The @code{nss-pam-ldapd} package to use."
  38510. msgstr ""
  38511. #. type: deftypevr
  38512. #: guix-git/doc/guix.texi:26111
  38513. #, no-wrap
  38514. msgid "{@code{nslcd-configuration} parameter} maybe-number threads"
  38515. msgstr ""
  38516. #. type: deftypevr
  38517. #: guix-git/doc/guix.texi:26115
  38518. 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."
  38519. msgstr ""
  38520. #. type: deftypevr
  38521. #: guix-git/doc/guix.texi:26120
  38522. #, no-wrap
  38523. msgid "{@code{nslcd-configuration} parameter} string uid"
  38524. msgstr ""
  38525. #. type: deftypevr
  38526. #: guix-git/doc/guix.texi:26122
  38527. msgid "This specifies the user id with which the daemon should be run."
  38528. msgstr ""
  38529. #. type: deftypevr
  38530. #: guix-git/doc/guix.texi:26124 guix-git/doc/guix.texi:26131
  38531. msgid "Defaults to @samp{\"nslcd\"}."
  38532. msgstr ""
  38533. #. type: deftypevr
  38534. #: guix-git/doc/guix.texi:26127
  38535. #, no-wrap
  38536. msgid "{@code{nslcd-configuration} parameter} string gid"
  38537. msgstr ""
  38538. #. type: deftypevr
  38539. #: guix-git/doc/guix.texi:26129
  38540. msgid "This specifies the group id with which the daemon should be run."
  38541. msgstr ""
  38542. #. type: deftypevr
  38543. #: guix-git/doc/guix.texi:26134
  38544. #, no-wrap
  38545. msgid "{@code{nslcd-configuration} parameter} log-option log"
  38546. msgstr ""
  38547. #. type: deftypevr
  38548. #: guix-git/doc/guix.texi:26142
  38549. 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."
  38550. msgstr ""
  38551. #. type: deftypevr
  38552. #: guix-git/doc/guix.texi:26144
  38553. msgid "Defaults to @samp{(\"/var/log/nslcd\" info)}."
  38554. msgstr ""
  38555. #. type: deftypevr
  38556. #: guix-git/doc/guix.texi:26147
  38557. #, no-wrap
  38558. msgid "{@code{nslcd-configuration} parameter} list uri"
  38559. msgstr ""
  38560. #. type: deftypevr
  38561. #: guix-git/doc/guix.texi:26150
  38562. msgid "The list of LDAP server URIs. Normally, only the first server will be used with the following servers as fall-back."
  38563. msgstr ""
  38564. #. type: deftypevr
  38565. #: guix-git/doc/guix.texi:26152
  38566. msgid "Defaults to @samp{(\"ldap://localhost:389/\")}."
  38567. msgstr ""
  38568. #. type: deftypevr
  38569. #: guix-git/doc/guix.texi:26155
  38570. #, no-wrap
  38571. msgid "{@code{nslcd-configuration} parameter} maybe-string ldap-version"
  38572. msgstr ""
  38573. #. type: deftypevr
  38574. #: guix-git/doc/guix.texi:26158
  38575. msgid "The version of the LDAP protocol to use. The default is to use the maximum version supported by the LDAP library."
  38576. msgstr ""
  38577. #. type: deftypevr
  38578. #: guix-git/doc/guix.texi:26163
  38579. #, no-wrap
  38580. msgid "{@code{nslcd-configuration} parameter} maybe-string binddn"
  38581. msgstr ""
  38582. #. type: deftypevr
  38583. #: guix-git/doc/guix.texi:26166
  38584. msgid "Specifies the distinguished name with which to bind to the directory server for lookups. The default is to bind anonymously."
  38585. msgstr ""
  38586. #. type: deftypevr
  38587. #: guix-git/doc/guix.texi:26171
  38588. #, no-wrap
  38589. msgid "{@code{nslcd-configuration} parameter} maybe-string bindpw"
  38590. msgstr ""
  38591. #. type: deftypevr
  38592. #: guix-git/doc/guix.texi:26174
  38593. msgid "Specifies the credentials with which to bind. This option is only applicable when used with binddn."
  38594. msgstr ""
  38595. #. type: deftypevr
  38596. #: guix-git/doc/guix.texi:26179
  38597. #, no-wrap
  38598. msgid "{@code{nslcd-configuration} parameter} maybe-string rootpwmoddn"
  38599. msgstr ""
  38600. #. type: deftypevr
  38601. #: guix-git/doc/guix.texi:26182
  38602. msgid "Specifies the distinguished name to use when the root user tries to modify a user's password using the PAM module."
  38603. msgstr ""
  38604. #. type: deftypevr
  38605. #: guix-git/doc/guix.texi:26187
  38606. #, no-wrap
  38607. msgid "{@code{nslcd-configuration} parameter} maybe-string rootpwmodpw"
  38608. msgstr ""
  38609. #. type: deftypevr
  38610. #: guix-git/doc/guix.texi:26191
  38611. 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"
  38612. msgstr ""
  38613. #. type: deftypevr
  38614. #: guix-git/doc/guix.texi:26196
  38615. #, no-wrap
  38616. msgid "{@code{nslcd-configuration} parameter} maybe-string sasl-mech"
  38617. msgstr ""
  38618. #. type: deftypevr
  38619. #: guix-git/doc/guix.texi:26199
  38620. msgid "Specifies the SASL mechanism to be used when performing SASL authentication."
  38621. msgstr ""
  38622. #. type: deftypevr
  38623. #: guix-git/doc/guix.texi:26204
  38624. #, no-wrap
  38625. msgid "{@code{nslcd-configuration} parameter} maybe-string sasl-realm"
  38626. msgstr ""
  38627. #. type: deftypevr
  38628. #: guix-git/doc/guix.texi:26206
  38629. msgid "Specifies the SASL realm to be used when performing SASL authentication."
  38630. msgstr ""
  38631. #. type: deftypevr
  38632. #: guix-git/doc/guix.texi:26211
  38633. #, no-wrap
  38634. msgid "{@code{nslcd-configuration} parameter} maybe-string sasl-authcid"
  38635. msgstr ""
  38636. #. type: deftypevr
  38637. #: guix-git/doc/guix.texi:26214
  38638. msgid "Specifies the authentication identity to be used when performing SASL authentication."
  38639. msgstr ""
  38640. #. type: deftypevr
  38641. #: guix-git/doc/guix.texi:26219
  38642. #, no-wrap
  38643. msgid "{@code{nslcd-configuration} parameter} maybe-string sasl-authzid"
  38644. msgstr ""
  38645. #. type: deftypevr
  38646. #: guix-git/doc/guix.texi:26222
  38647. msgid "Specifies the authorization identity to be used when performing SASL authentication."
  38648. msgstr ""
  38649. #. type: deftypevr
  38650. #: guix-git/doc/guix.texi:26227
  38651. #, no-wrap
  38652. msgid "{@code{nslcd-configuration} parameter} maybe-boolean sasl-canonicalize?"
  38653. msgstr ""
  38654. #. type: deftypevr
  38655. #: guix-git/doc/guix.texi:26232
  38656. 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."
  38657. msgstr ""
  38658. #. type: deftypevr
  38659. #: guix-git/doc/guix.texi:26237
  38660. #, no-wrap
  38661. msgid "{@code{nslcd-configuration} parameter} maybe-string krb5-ccname"
  38662. msgstr ""
  38663. #. type: deftypevr
  38664. #: guix-git/doc/guix.texi:26239
  38665. msgid "Set the name for the GSS-API Kerberos credentials cache."
  38666. msgstr ""
  38667. #. type: deftypevr
  38668. #: guix-git/doc/guix.texi:26244
  38669. #, no-wrap
  38670. msgid "{@code{nslcd-configuration} parameter} string base"
  38671. msgstr ""
  38672. #. type: deftypevr
  38673. #: guix-git/doc/guix.texi:26246
  38674. msgid "The directory search base."
  38675. msgstr ""
  38676. #. type: deftypevr
  38677. #: guix-git/doc/guix.texi:26248
  38678. msgid "Defaults to @samp{\"dc=example,dc=com\"}."
  38679. msgstr ""
  38680. #. type: deftypevr
  38681. #: guix-git/doc/guix.texi:26251
  38682. #, no-wrap
  38683. msgid "{@code{nslcd-configuration} parameter} scope-option scope"
  38684. msgstr ""
  38685. #. type: deftypevr
  38686. #: guix-git/doc/guix.texi:26255
  38687. 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."
  38688. msgstr ""
  38689. #. type: deftypevr
  38690. #: guix-git/doc/guix.texi:26257
  38691. msgid "Defaults to @samp{(subtree)}."
  38692. msgstr ""
  38693. #. type: deftypevr
  38694. #: guix-git/doc/guix.texi:26260
  38695. #, no-wrap
  38696. msgid "{@code{nslcd-configuration} parameter} maybe-deref-option deref"
  38697. msgstr ""
  38698. #. type: deftypevr
  38699. #: guix-git/doc/guix.texi:26263
  38700. msgid "Specifies the policy for dereferencing aliases. The default policy is to never dereference aliases."
  38701. msgstr ""
  38702. #. type: deftypevr
  38703. #: guix-git/doc/guix.texi:26268
  38704. #, no-wrap
  38705. msgid "{@code{nslcd-configuration} parameter} maybe-boolean referrals"
  38706. msgstr ""
  38707. #. type: deftypevr
  38708. #: guix-git/doc/guix.texi:26271
  38709. msgid "Specifies whether automatic referral chasing should be enabled. The default behaviour is to chase referrals."
  38710. msgstr ""
  38711. #. type: deftypevr
  38712. #: guix-git/doc/guix.texi:26276
  38713. #, no-wrap
  38714. msgid "{@code{nslcd-configuration} parameter} list-of-map-entries maps"
  38715. msgstr ""
  38716. #. type: deftypevr
  38717. #: guix-git/doc/guix.texi:26281
  38718. 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."
  38719. msgstr ""
  38720. #. type: deftypevr
  38721. #: guix-git/doc/guix.texi:26286
  38722. #, no-wrap
  38723. msgid "{@code{nslcd-configuration} parameter} list-of-filter-entries filters"
  38724. msgstr ""
  38725. #. type: deftypevr
  38726. #: guix-git/doc/guix.texi:26289
  38727. msgid "A list of filters consisting of the name of a map to which the filter applies and an LDAP search filter expression."
  38728. msgstr ""
  38729. #. type: deftypevr
  38730. #: guix-git/doc/guix.texi:26294
  38731. #, no-wrap
  38732. msgid "{@code{nslcd-configuration} parameter} maybe-number bind-timelimit"
  38733. msgstr ""
  38734. #. type: deftypevr
  38735. #: guix-git/doc/guix.texi:26297
  38736. msgid "Specifies the time limit in seconds to use when connecting to the directory server. The default value is 10 seconds."
  38737. msgstr ""
  38738. #. type: deftypevr
  38739. #: guix-git/doc/guix.texi:26302
  38740. #, no-wrap
  38741. msgid "{@code{nslcd-configuration} parameter} maybe-number timelimit"
  38742. msgstr ""
  38743. #. type: deftypevr
  38744. #: guix-git/doc/guix.texi:26306
  38745. 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."
  38746. msgstr ""
  38747. #. type: deftypevr
  38748. #: guix-git/doc/guix.texi:26311
  38749. #, no-wrap
  38750. msgid "{@code{nslcd-configuration} parameter} maybe-number idle-timelimit"
  38751. msgstr ""
  38752. #. type: deftypevr
  38753. #: guix-git/doc/guix.texi:26315
  38754. 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."
  38755. msgstr ""
  38756. #. type: deftypevr
  38757. #: guix-git/doc/guix.texi:26320
  38758. #, no-wrap
  38759. msgid "{@code{nslcd-configuration} parameter} maybe-number reconnect-sleeptime"
  38760. msgstr ""
  38761. #. type: deftypevr
  38762. #: guix-git/doc/guix.texi:26324
  38763. 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."
  38764. msgstr ""
  38765. #. type: deftypevr
  38766. #: guix-git/doc/guix.texi:26329
  38767. #, no-wrap
  38768. msgid "{@code{nslcd-configuration} parameter} maybe-number reconnect-retrytime"
  38769. msgstr ""
  38770. #. type: deftypevr
  38771. #: guix-git/doc/guix.texi:26333
  38772. 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."
  38773. msgstr ""
  38774. #. type: deftypevr
  38775. #: guix-git/doc/guix.texi:26338
  38776. #, no-wrap
  38777. msgid "{@code{nslcd-configuration} parameter} maybe-ssl-option ssl"
  38778. msgstr ""
  38779. #. type: deftypevr
  38780. #: guix-git/doc/guix.texi:26342
  38781. 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."
  38782. msgstr ""
  38783. #. type: deftypevr
  38784. #: guix-git/doc/guix.texi:26347
  38785. #, no-wrap
  38786. msgid "{@code{nslcd-configuration} parameter} maybe-tls-reqcert-option tls-reqcert"
  38787. msgstr ""
  38788. #. type: deftypevr
  38789. #: guix-git/doc/guix.texi:26350
  38790. 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."
  38791. msgstr ""
  38792. #. type: deftypevr
  38793. #: guix-git/doc/guix.texi:26355
  38794. #, no-wrap
  38795. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-cacertdir"
  38796. msgstr ""
  38797. #. type: deftypevr
  38798. #: guix-git/doc/guix.texi:26358
  38799. msgid "Specifies the directory containing X.509 certificates for peer authen‐ tication. This parameter is ignored when using GnuTLS."
  38800. msgstr ""
  38801. #. type: deftypevr
  38802. #: guix-git/doc/guix.texi:26363
  38803. #, no-wrap
  38804. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-cacertfile"
  38805. msgstr ""
  38806. #. type: deftypevr
  38807. #: guix-git/doc/guix.texi:26365
  38808. msgid "Specifies the path to the X.509 certificate for peer authentication."
  38809. msgstr ""
  38810. #. type: deftypevr
  38811. #: guix-git/doc/guix.texi:26370
  38812. #, no-wrap
  38813. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-randfile"
  38814. msgstr ""
  38815. #. type: deftypevr
  38816. #: guix-git/doc/guix.texi:26373
  38817. msgid "Specifies the path to an entropy source. This parameter is ignored when using GnuTLS."
  38818. msgstr ""
  38819. #. type: deftypevr
  38820. #: guix-git/doc/guix.texi:26378
  38821. #, no-wrap
  38822. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-ciphers"
  38823. msgstr ""
  38824. #. type: deftypevr
  38825. #: guix-git/doc/guix.texi:26380
  38826. msgid "Specifies the ciphers to use for TLS as a string."
  38827. msgstr ""
  38828. #. type: deftypevr
  38829. #: guix-git/doc/guix.texi:26385
  38830. #, no-wrap
  38831. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-cert"
  38832. msgstr ""
  38833. #. type: deftypevr
  38834. #: guix-git/doc/guix.texi:26388
  38835. msgid "Specifies the path to the file containing the local certificate for client TLS authentication."
  38836. msgstr ""
  38837. #. type: deftypevr
  38838. #: guix-git/doc/guix.texi:26393
  38839. #, no-wrap
  38840. msgid "{@code{nslcd-configuration} parameter} maybe-string tls-key"
  38841. msgstr ""
  38842. #. type: deftypevr
  38843. #: guix-git/doc/guix.texi:26396
  38844. msgid "Specifies the path to the file containing the private key for client TLS authentication."
  38845. msgstr ""
  38846. #. type: deftypevr
  38847. #: guix-git/doc/guix.texi:26401
  38848. #, no-wrap
  38849. msgid "{@code{nslcd-configuration} parameter} maybe-number pagesize"
  38850. msgstr ""
  38851. #. type: deftypevr
  38852. #: guix-git/doc/guix.texi:26405
  38853. 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."
  38854. msgstr ""
  38855. #. type: deftypevr
  38856. #: guix-git/doc/guix.texi:26410
  38857. #, no-wrap
  38858. msgid "{@code{nslcd-configuration} parameter} maybe-ignore-users-option nss-initgroups-ignoreusers"
  38859. msgstr ""
  38860. #. type: deftypevr
  38861. #: guix-git/doc/guix.texi:26414
  38862. 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."
  38863. msgstr ""
  38864. #. type: deftypevr
  38865. #: guix-git/doc/guix.texi:26419
  38866. #, no-wrap
  38867. msgid "{@code{nslcd-configuration} parameter} maybe-number nss-min-uid"
  38868. msgstr ""
  38869. #. type: deftypevr
  38870. #: guix-git/doc/guix.texi:26422
  38871. msgid "This option ensures that LDAP users with a numeric user id lower than the specified value are ignored."
  38872. msgstr ""
  38873. #. type: deftypevr
  38874. #: guix-git/doc/guix.texi:26427
  38875. #, no-wrap
  38876. msgid "{@code{nslcd-configuration} parameter} maybe-number nss-uid-offset"
  38877. msgstr ""
  38878. #. type: deftypevr
  38879. #: guix-git/doc/guix.texi:26430
  38880. 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."
  38881. msgstr ""
  38882. #. type: deftypevr
  38883. #: guix-git/doc/guix.texi:26435
  38884. #, no-wrap
  38885. msgid "{@code{nslcd-configuration} parameter} maybe-number nss-gid-offset"
  38886. msgstr ""
  38887. #. type: deftypevr
  38888. #: guix-git/doc/guix.texi:26438
  38889. 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."
  38890. msgstr ""
  38891. #. type: deftypevr
  38892. #: guix-git/doc/guix.texi:26443
  38893. #, no-wrap
  38894. msgid "{@code{nslcd-configuration} parameter} maybe-boolean nss-nested-groups"
  38895. msgstr ""
  38896. #. type: deftypevr
  38897. #: guix-git/doc/guix.texi:26449
  38898. 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."
  38899. msgstr ""
  38900. #. type: deftypevr
  38901. #: guix-git/doc/guix.texi:26454
  38902. #, no-wrap
  38903. msgid "{@code{nslcd-configuration} parameter} maybe-boolean nss-getgrent-skipmembers"
  38904. msgstr ""
  38905. #. type: deftypevr
  38906. #: guix-git/doc/guix.texi:26459
  38907. 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."
  38908. msgstr ""
  38909. #. type: deftypevr
  38910. #: guix-git/doc/guix.texi:26464
  38911. #, no-wrap
  38912. msgid "{@code{nslcd-configuration} parameter} maybe-boolean nss-disable-enumeration"
  38913. msgstr ""
  38914. #. type: deftypevr
  38915. #: guix-git/doc/guix.texi:26470
  38916. 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."
  38917. msgstr ""
  38918. #. type: deftypevr
  38919. #: guix-git/doc/guix.texi:26475
  38920. #, no-wrap
  38921. msgid "{@code{nslcd-configuration} parameter} maybe-string validnames"
  38922. msgstr ""
  38923. #. type: deftypevr
  38924. #: guix-git/doc/guix.texi:26479
  38925. 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."
  38926. msgstr ""
  38927. #. type: deftypevr
  38928. #: guix-git/doc/guix.texi:26484
  38929. #, no-wrap
  38930. msgid "{@code{nslcd-configuration} parameter} maybe-boolean ignorecase"
  38931. msgstr ""
  38932. #. type: deftypevr
  38933. #: guix-git/doc/guix.texi:26489
  38934. 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."
  38935. msgstr ""
  38936. #. type: deftypevr
  38937. #: guix-git/doc/guix.texi:26494
  38938. #, no-wrap
  38939. msgid "{@code{nslcd-configuration} parameter} maybe-boolean pam-authc-ppolicy"
  38940. msgstr ""
  38941. #. type: deftypevr
  38942. #: guix-git/doc/guix.texi:26497
  38943. msgid "This option specifies whether password policy controls are requested and handled from the LDAP server when performing user authentication."
  38944. msgstr ""
  38945. #. type: deftypevr
  38946. #: guix-git/doc/guix.texi:26502
  38947. #, no-wrap
  38948. msgid "{@code{nslcd-configuration} parameter} maybe-string pam-authc-search"
  38949. msgstr ""
  38950. #. type: deftypevr
  38951. #: guix-git/doc/guix.texi:26508
  38952. 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."
  38953. msgstr ""
  38954. #. type: deftypevr
  38955. #: guix-git/doc/guix.texi:26513
  38956. #, no-wrap
  38957. msgid "{@code{nslcd-configuration} parameter} maybe-string pam-authz-search"
  38958. msgstr ""
  38959. #. type: deftypevr
  38960. #: guix-git/doc/guix.texi:26517
  38961. 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."
  38962. msgstr ""
  38963. #. type: deftypevr
  38964. #: guix-git/doc/guix.texi:26522
  38965. #, no-wrap
  38966. msgid "{@code{nslcd-configuration} parameter} maybe-string pam-password-prohibit-message"
  38967. msgstr ""
  38968. #. type: deftypevr
  38969. #: guix-git/doc/guix.texi:26527
  38970. 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."
  38971. msgstr ""
  38972. #. type: deftypevr
  38973. #: guix-git/doc/guix.texi:26532
  38974. #, no-wrap
  38975. msgid "{@code{nslcd-configuration} parameter} list pam-services"
  38976. msgstr ""
  38977. #. type: deftypevr
  38978. #: guix-git/doc/guix.texi:26534
  38979. msgid "List of pam service names for which LDAP authentication should suffice."
  38980. msgstr ""
  38981. #. type: cindex
  38982. #: guix-git/doc/guix.texi:26545
  38983. #, no-wrap
  38984. msgid "web"
  38985. msgstr ""
  38986. #. type: cindex
  38987. #: guix-git/doc/guix.texi:26546
  38988. #, no-wrap
  38989. msgid "www"
  38990. msgstr ""
  38991. #. type: cindex
  38992. #: guix-git/doc/guix.texi:26547
  38993. #, no-wrap
  38994. msgid "HTTP"
  38995. msgstr "HTTP"
  38996. #. type: Plain text
  38997. #: guix-git/doc/guix.texi:26550
  38998. msgid "The @code{(gnu services web)} module provides the Apache HTTP Server, the nginx web server, and also a fastcgi wrapper daemon."
  38999. msgstr ""
  39000. #. type: subsubheading
  39001. #: guix-git/doc/guix.texi:26551
  39002. #, no-wrap
  39003. msgid "Apache HTTP Server"
  39004. msgstr ""
  39005. #. type: deffn
  39006. #: guix-git/doc/guix.texi:26553
  39007. #, no-wrap
  39008. msgid "{Scheme Variable} httpd-service-type"
  39009. msgstr ""
  39010. #. type: deffn
  39011. #: guix-git/doc/guix.texi:26557
  39012. 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."
  39013. msgstr ""
  39014. #. type: deffn
  39015. #: guix-git/doc/guix.texi:26559 guix-git/doc/guix.texi:26741
  39016. msgid "A simple example configuration is given below."
  39017. msgstr ""
  39018. #. type: lisp
  39019. #: guix-git/doc/guix.texi:26567
  39020. #, no-wrap
  39021. msgid ""
  39022. "(service httpd-service-type\n"
  39023. " (httpd-configuration\n"
  39024. " (config\n"
  39025. " (httpd-config-file\n"
  39026. " (server-name \"www.example.com\")\n"
  39027. " (document-root \"/srv/http/www.example.com\")))))\n"
  39028. msgstr ""
  39029. #. type: deffn
  39030. #: guix-git/doc/guix.texi:26571
  39031. msgid "Other services can also extend the @code{httpd-service-type} to add to the configuration."
  39032. msgstr ""
  39033. #. type: lisp
  39034. #: guix-git/doc/guix.texi:26580 guix-git/doc/guix.texi:26720
  39035. #, no-wrap
  39036. msgid ""
  39037. "(simple-service 'www.example.com-server httpd-service-type\n"
  39038. " (list\n"
  39039. " (httpd-virtualhost\n"
  39040. " \"*:80\"\n"
  39041. " (list (string-join '(\"ServerName www.example.com\"\n"
  39042. " \"DocumentRoot /srv/http/www.example.com\")\n"
  39043. " \"\\n\")))))\n"
  39044. msgstr ""
  39045. #. type: Plain text
  39046. #: guix-git/doc/guix.texi:26586
  39047. msgid "The details for the @code{httpd-configuration}, @code{httpd-module}, @code{httpd-config-file} and @code{httpd-virtualhost} record types are given below."
  39048. msgstr ""
  39049. #. type: deffn
  39050. #: guix-git/doc/guix.texi:26587
  39051. #, no-wrap
  39052. msgid "{Data Type} httpd-configuration"
  39053. msgstr ""
  39054. #. type: deffn
  39055. #: guix-git/doc/guix.texi:26589
  39056. msgid "This data type represents the configuration for the httpd service."
  39057. msgstr ""
  39058. #. type: item
  39059. #: guix-git/doc/guix.texi:26591
  39060. #, no-wrap
  39061. msgid "@code{package} (default: @code{httpd})"
  39062. msgstr ""
  39063. #. type: table
  39064. #: guix-git/doc/guix.texi:26593
  39065. msgid "The httpd package to use."
  39066. msgstr ""
  39067. #. type: item
  39068. #: guix-git/doc/guix.texi:26594 guix-git/doc/guix.texi:26683
  39069. #, no-wrap
  39070. msgid "@code{pid-file} (default: @code{\"/var/run/httpd\"})"
  39071. msgstr ""
  39072. #. type: table
  39073. #: guix-git/doc/guix.texi:26596
  39074. msgid "The pid file used by the shepherd-service."
  39075. msgstr ""
  39076. #. type: item
  39077. #: guix-git/doc/guix.texi:26597
  39078. #, no-wrap
  39079. msgid "@code{config} (default: @code{(httpd-config-file)})"
  39080. msgstr ""
  39081. #. type: table
  39082. #: guix-git/doc/guix.texi:26602
  39083. 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."
  39084. msgstr ""
  39085. #. type: deffn
  39086. #: guix-git/doc/guix.texi:26606
  39087. #, no-wrap
  39088. msgid "{Data Type} httpd-module"
  39089. msgstr ""
  39090. #. type: deffn
  39091. #: guix-git/doc/guix.texi:26608
  39092. msgid "This data type represents a module for the httpd service."
  39093. msgstr ""
  39094. #. type: table
  39095. #: guix-git/doc/guix.texi:26612
  39096. msgid "The name of the module."
  39097. msgstr ""
  39098. #. type: table
  39099. #: guix-git/doc/guix.texi:26618
  39100. 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\")}."
  39101. msgstr ""
  39102. #. type: defvr
  39103. #: guix-git/doc/guix.texi:26622
  39104. #, no-wrap
  39105. msgid "{Scheme Variable} %default-httpd-modules"
  39106. msgstr ""
  39107. #. type: defvr
  39108. #: guix-git/doc/guix.texi:26624
  39109. msgid "A default list of @code{httpd-module} objects."
  39110. msgstr ""
  39111. #. type: deffn
  39112. #: guix-git/doc/guix.texi:26626
  39113. #, no-wrap
  39114. msgid "{Data Type} httpd-config-file"
  39115. msgstr ""
  39116. #. type: deffn
  39117. #: guix-git/doc/guix.texi:26628
  39118. msgid "This data type represents a configuration file for the httpd service."
  39119. msgstr ""
  39120. #. type: item
  39121. #: guix-git/doc/guix.texi:26630
  39122. #, no-wrap
  39123. msgid "@code{modules} (default: @code{%default-httpd-modules})"
  39124. msgstr ""
  39125. #. type: table
  39126. #: guix-git/doc/guix.texi:26633
  39127. msgid "The modules to load. Additional modules can be added here, or loaded by additional configuration."
  39128. msgstr ""
  39129. #. type: table
  39130. #: guix-git/doc/guix.texi:26636
  39131. 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}:"
  39132. msgstr ""
  39133. #. type: lisp
  39134. #: guix-git/doc/guix.texi:26658
  39135. #, no-wrap
  39136. msgid ""
  39137. "(service httpd-service-type\n"
  39138. " (httpd-configuration\n"
  39139. " (config\n"
  39140. " (httpd-config-file\n"
  39141. " (modules (cons*\n"
  39142. " (httpd-module\n"
  39143. " (name \"proxy_module\")\n"
  39144. " (file \"modules/mod_proxy.so\"))\n"
  39145. " (httpd-module\n"
  39146. " (name \"proxy_fcgi_module\")\n"
  39147. " (file \"modules/mod_proxy_fcgi.so\"))\n"
  39148. " %default-httpd-modules))\n"
  39149. " (extra-config (list \"\\\n"
  39150. "<FilesMatch \\\\.php$>\n"
  39151. " SetHandler \\\"proxy:unix:/var/run/php-fpm.sock|fcgi://localhost/\\\"\n"
  39152. "</FilesMatch>\"))))))\n"
  39153. "(service php-fpm-service-type\n"
  39154. " (php-fpm-configuration\n"
  39155. " (socket \"/var/run/php-fpm.sock\")\n"
  39156. " (socket-group \"httpd\")))\n"
  39157. msgstr ""
  39158. #. type: item
  39159. #: guix-git/doc/guix.texi:26660
  39160. #, no-wrap
  39161. msgid "@code{server-root} (default: @code{httpd})"
  39162. msgstr ""
  39163. #. type: table
  39164. #: guix-git/doc/guix.texi:26664
  39165. 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."
  39166. msgstr ""
  39167. #. type: item
  39168. #: guix-git/doc/guix.texi:26665
  39169. #, no-wrap
  39170. msgid "@code{server-name} (default: @code{#f})"
  39171. msgstr ""
  39172. #. type: table
  39173. #: guix-git/doc/guix.texi:26669
  39174. msgid "The @code{ServerName} in the configuration file, used to specify the request scheme, hostname and port that the server uses to identify itself."
  39175. msgstr ""
  39176. #. type: table
  39177. #: guix-git/doc/guix.texi:26673
  39178. 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}."
  39179. msgstr ""
  39180. #. type: item
  39181. #: guix-git/doc/guix.texi:26674
  39182. #, no-wrap
  39183. msgid "@code{document-root} (default: @code{\"/srv/http\"})"
  39184. msgstr ""
  39185. #. type: table
  39186. #: guix-git/doc/guix.texi:26676
  39187. msgid "The @code{DocumentRoot} from which files will be served."
  39188. msgstr ""
  39189. #. type: item
  39190. #: guix-git/doc/guix.texi:26677
  39191. #, no-wrap
  39192. msgid "@code{listen} (default: @code{'(\"80\")})"
  39193. msgstr ""
  39194. #. type: table
  39195. #: guix-git/doc/guix.texi:26682
  39196. 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."
  39197. msgstr ""
  39198. #. type: table
  39199. #: guix-git/doc/guix.texi:26687
  39200. 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."
  39201. msgstr ""
  39202. #. type: item
  39203. #: guix-git/doc/guix.texi:26688
  39204. #, no-wrap
  39205. msgid "@code{error-log} (default: @code{\"/var/log/httpd/error_log\"})"
  39206. msgstr ""
  39207. #. type: table
  39208. #: guix-git/doc/guix.texi:26690
  39209. msgid "The @code{ErrorLog} to which the server will log errors."
  39210. msgstr ""
  39211. #. type: item
  39212. #: guix-git/doc/guix.texi:26691 guix-git/doc/guix.texi:27254
  39213. #, no-wrap
  39214. msgid "@code{user} (default: @code{\"httpd\"})"
  39215. msgstr ""
  39216. #. type: table
  39217. #: guix-git/doc/guix.texi:26693
  39218. msgid "The @code{User} which the server will answer requests as."
  39219. msgstr ""
  39220. #. type: item
  39221. #: guix-git/doc/guix.texi:26694
  39222. #, no-wrap
  39223. msgid "@code{group} (default: @code{\"httpd\"})"
  39224. msgstr ""
  39225. #. type: table
  39226. #: guix-git/doc/guix.texi:26696
  39227. msgid "The @code{Group} which the server will answer requests as."
  39228. msgstr ""
  39229. #. type: item
  39230. #: guix-git/doc/guix.texi:26697
  39231. #, no-wrap
  39232. msgid "@code{extra-config} (default: @code{(list \"TypesConfig etc/httpd/mime.types\")})"
  39233. msgstr ""
  39234. #. type: table
  39235. #: guix-git/doc/guix.texi:26700
  39236. msgid "A flat list of strings and G-expressions which will be added to the end of the configuration file."
  39237. msgstr ""
  39238. #. type: table
  39239. #: guix-git/doc/guix.texi:26703
  39240. msgid "Any values which the service is extended with will be appended to this list."
  39241. msgstr ""
  39242. #. type: deffn
  39243. #: guix-git/doc/guix.texi:26707
  39244. #, no-wrap
  39245. msgid "{Data Type} httpd-virtualhost"
  39246. msgstr ""
  39247. #. type: deffn
  39248. #: guix-git/doc/guix.texi:26709
  39249. msgid "This data type represents a virtualhost configuration block for the httpd service."
  39250. msgstr ""
  39251. #. type: deffn
  39252. #: guix-git/doc/guix.texi:26711
  39253. msgid "These should be added to the extra-config for the httpd-service."
  39254. msgstr ""
  39255. #. type: code{#1}
  39256. #: guix-git/doc/guix.texi:26723
  39257. #, no-wrap
  39258. msgid "addresses-and-ports"
  39259. msgstr ""
  39260. #. type: table
  39261. #: guix-git/doc/guix.texi:26725
  39262. msgid "The addresses and ports for the @code{VirtualHost} directive."
  39263. msgstr ""
  39264. #. type: code{#1}
  39265. #: guix-git/doc/guix.texi:26726
  39266. #, no-wrap
  39267. msgid "contents"
  39268. msgstr "sisältö"
  39269. #. type: table
  39270. #: guix-git/doc/guix.texi:26729
  39271. msgid "The contents of the @code{VirtualHost} directive, this should be a list of strings and G-expressions."
  39272. msgstr ""
  39273. #. type: subsubheading
  39274. #: guix-git/doc/guix.texi:26734
  39275. #, no-wrap
  39276. msgid "NGINX"
  39277. msgstr ""
  39278. #. type: deffn
  39279. #: guix-git/doc/guix.texi:26736
  39280. #, no-wrap
  39281. msgid "{Scheme Variable} nginx-service-type"
  39282. msgstr ""
  39283. #. type: deffn
  39284. #: guix-git/doc/guix.texi:26739
  39285. msgid "Service type for the @uref{https://nginx.org/,NGinx} web server. The value for this service type is a @code{<nginx-configuration>} record."
  39286. msgstr ""
  39287. #. type: lisp
  39288. #: guix-git/doc/guix.texi:26749 guix-git/doc/guix.texi:26803
  39289. #, no-wrap
  39290. msgid ""
  39291. "(service nginx-service-type\n"
  39292. " (nginx-configuration\n"
  39293. " (server-blocks\n"
  39294. " (list (nginx-server-configuration\n"
  39295. " (server-name '(\"www.example.com\"))\n"
  39296. " (root \"/srv/http/www.example.com\"))))))\n"
  39297. msgstr ""
  39298. #. type: deffn
  39299. #: guix-git/doc/guix.texi:26754
  39300. 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:"
  39301. msgstr ""
  39302. #. type: lisp
  39303. #: guix-git/doc/guix.texi:26760
  39304. #, no-wrap
  39305. msgid ""
  39306. "(simple-service 'my-extra-server nginx-service-type\n"
  39307. " (list (nginx-server-configuration\n"
  39308. " (root \"/srv/http/extra-website\")\n"
  39309. " (try-files (list \"$uri\" \"$uri/index.html\")))))\n"
  39310. msgstr ""
  39311. #. type: Plain text
  39312. #: guix-git/doc/guix.texi:26771
  39313. 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."
  39314. msgstr ""
  39315. #. type: deffn
  39316. #: guix-git/doc/guix.texi:26772
  39317. #, no-wrap
  39318. msgid "{Data Type} nginx-configuration"
  39319. msgstr ""
  39320. #. type: deffn
  39321. #: guix-git/doc/guix.texi:26776
  39322. 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."
  39323. msgstr ""
  39324. #. type: item
  39325. #: guix-git/doc/guix.texi:26778
  39326. #, no-wrap
  39327. msgid "@code{nginx} (default: @code{nginx})"
  39328. msgstr ""
  39329. #. type: table
  39330. #: guix-git/doc/guix.texi:26780
  39331. msgid "The nginx package to use."
  39332. msgstr ""
  39333. #. type: item
  39334. #: guix-git/doc/guix.texi:26781
  39335. #, no-wrap
  39336. msgid "@code{log-directory} (default: @code{\"/var/log/nginx\"})"
  39337. msgstr ""
  39338. #. type: table
  39339. #: guix-git/doc/guix.texi:26783
  39340. msgid "The directory to which NGinx will write log files."
  39341. msgstr ""
  39342. #. type: item
  39343. #: guix-git/doc/guix.texi:26784
  39344. #, no-wrap
  39345. msgid "@code{run-directory} (default: @code{\"/var/run/nginx\"})"
  39346. msgstr ""
  39347. #. type: table
  39348. #: guix-git/doc/guix.texi:26787
  39349. msgid "The directory in which NGinx will create a pid file, and write temporary files."
  39350. msgstr ""
  39351. #. type: item
  39352. #: guix-git/doc/guix.texi:26788
  39353. #, no-wrap
  39354. msgid "@code{server-blocks} (default: @code{'()})"
  39355. msgstr ""
  39356. #. type: table
  39357. #: guix-git/doc/guix.texi:26792
  39358. msgid "A list of @dfn{server blocks} to create in the generated configuration file, the elements should be of type @code{<nginx-server-configuration>}."
  39359. msgstr ""
  39360. #. type: table
  39361. #: guix-git/doc/guix.texi:26796
  39362. 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."
  39363. msgstr ""
  39364. #. type: item
  39365. #: guix-git/doc/guix.texi:26805
  39366. #, no-wrap
  39367. msgid "@code{upstream-blocks} (default: @code{'()})"
  39368. msgstr ""
  39369. #. type: table
  39370. #: guix-git/doc/guix.texi:26809
  39371. msgid "A list of @dfn{upstream blocks} to create in the generated configuration file, the elements should be of type @code{<nginx-upstream-configuration>}."
  39372. msgstr ""
  39373. #. type: table
  39374. #: guix-git/doc/guix.texi:26816
  39375. 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."
  39376. msgstr ""
  39377. #. type: lisp
  39378. #: guix-git/doc/guix.texi:26835
  39379. #, no-wrap
  39380. msgid ""
  39381. "(service\n"
  39382. " nginx-service-type\n"
  39383. " (nginx-configuration\n"
  39384. " (server-blocks\n"
  39385. " (list (nginx-server-configuration\n"
  39386. " (server-name '(\"www.example.com\"))\n"
  39387. " (root \"/srv/http/www.example.com\")\n"
  39388. " (locations\n"
  39389. " (list\n"
  39390. " (nginx-location-configuration\n"
  39391. " (uri \"/path1\")\n"
  39392. " (body '(\"proxy_pass http://server-proxy;\"))))))))\n"
  39393. " (upstream-blocks\n"
  39394. " (list (nginx-upstream-configuration\n"
  39395. " (name \"server-proxy\")\n"
  39396. " (servers (list \"server1.example.com\"\n"
  39397. " \"server2.example.com\")))))))\n"
  39398. msgstr ""
  39399. #. type: table
  39400. #: guix-git/doc/guix.texi:26843
  39401. 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."
  39402. msgstr ""
  39403. #. type: table
  39404. #: guix-git/doc/guix.texi:26847
  39405. 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."
  39406. msgstr ""
  39407. #. type: item
  39408. #: guix-git/doc/guix.texi:26848
  39409. #, no-wrap
  39410. msgid "@code{server-names-hash-bucket-size} (default: @code{#f})"
  39411. msgstr ""
  39412. #. type: table
  39413. #: guix-git/doc/guix.texi:26851
  39414. msgid "Bucket size for the server names hash tables, defaults to @code{#f} to use the size of the processors cache line."
  39415. msgstr ""
  39416. #. type: item
  39417. #: guix-git/doc/guix.texi:26852
  39418. #, no-wrap
  39419. msgid "@code{server-names-hash-bucket-max-size} (default: @code{#f})"
  39420. msgstr ""
  39421. #. type: table
  39422. #: guix-git/doc/guix.texi:26854
  39423. msgid "Maximum bucket size for the server names hash tables."
  39424. msgstr ""
  39425. #. type: table
  39426. #: guix-git/doc/guix.texi:26858
  39427. msgid "List of nginx dynamic modules to load. This should be a list of file names of loadable modules, as in this example:"
  39428. msgstr ""
  39429. #. type: lisp
  39430. #: guix-git/doc/guix.texi:26866
  39431. #, no-wrap
  39432. msgid ""
  39433. "(modules\n"
  39434. " (list\n"
  39435. " (file-append nginx-accept-language-module \"\\\n"
  39436. "/etc/nginx/modules/ngx_http_accept_language_module.so\")\n"
  39437. " (file-append nginx-lua-module \"\\\n"
  39438. "/etc/nginx/modules/ngx_http_lua_module.so\")))\n"
  39439. msgstr ""
  39440. #. type: item
  39441. #: guix-git/doc/guix.texi:26868
  39442. #, no-wrap
  39443. msgid "@code{lua-package-path} (default: @code{'()})"
  39444. msgstr ""
  39445. #. type: table
  39446. #: guix-git/doc/guix.texi:26871
  39447. msgid "List of nginx lua packages to load. This should be a list of package names of loadable lua modules, as in this example:"
  39448. msgstr ""
  39449. #. type: lisp
  39450. #: guix-git/doc/guix.texi:26878
  39451. #, no-wrap
  39452. msgid ""
  39453. "(lua-package-path (list lua-resty-core\n"
  39454. " lua-resty-lrucache\n"
  39455. " lua-resty-signal\n"
  39456. " lua-tablepool\n"
  39457. " lua-resty-shell))\n"
  39458. msgstr ""
  39459. #. type: item
  39460. #: guix-git/doc/guix.texi:26880
  39461. #, no-wrap
  39462. msgid "@code{lua-package-cpath} (default: @code{'()})"
  39463. msgstr ""
  39464. #. type: table
  39465. #: guix-git/doc/guix.texi:26883
  39466. 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:"
  39467. msgstr ""
  39468. #. type: lisp
  39469. #: guix-git/doc/guix.texi:26886
  39470. #, no-wrap
  39471. msgid "(lua-package-cpath (list lua-resty-signal))\n"
  39472. msgstr ""
  39473. #. type: item
  39474. #: guix-git/doc/guix.texi:26888
  39475. #, no-wrap
  39476. msgid "@code{global-directives} (default: @code{'((events . ()))})"
  39477. msgstr ""
  39478. #. type: table
  39479. #: guix-git/doc/guix.texi:26891
  39480. msgid "Association list of global directives for the top level of the nginx configuration. Values may themselves be association lists."
  39481. msgstr ""
  39482. #. type: lisp
  39483. #: guix-git/doc/guix.texi:26897
  39484. #, no-wrap
  39485. msgid ""
  39486. "(global-directives\n"
  39487. " `((worker_processes . 16)\n"
  39488. " (pcre_jit . on)\n"
  39489. " (events . ((worker_connections . 1024)))))\n"
  39490. msgstr ""
  39491. #. type: table
  39492. #: guix-git/doc/guix.texi:26902
  39493. msgid "Extra content for the @code{http} block. Should be string or a string valued G-expression."
  39494. msgstr ""
  39495. #. type: anchor{#1}
  39496. #: guix-git/doc/guix.texi:26907
  39497. #, fuzzy
  39498. #| msgid "git configuration"
  39499. msgid "nginx-server-configuration"
  39500. msgstr "git-määritykset"
  39501. #. type: deftp
  39502. #: guix-git/doc/guix.texi:26907
  39503. #, no-wrap
  39504. msgid "{Data Type} nginx-server-configuration"
  39505. msgstr ""
  39506. #. type: deftp
  39507. #: guix-git/doc/guix.texi:26910
  39508. msgid "Data type representing the configuration of an nginx server block. This type has the following parameters:"
  39509. msgstr ""
  39510. #. type: item
  39511. #: guix-git/doc/guix.texi:26912
  39512. #, no-wrap
  39513. msgid "@code{listen} (default: @code{'(\"80\" \"443 ssl\")})"
  39514. msgstr ""
  39515. #. type: table
  39516. #: guix-git/doc/guix.texi:26917
  39517. 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:"
  39518. msgstr ""
  39519. #. type: lisp
  39520. #: guix-git/doc/guix.texi:26920
  39521. #, no-wrap
  39522. msgid "'(\"127.0.0.1:8000\" \"127.0.0.1\" \"8000\" \"*:8000\" \"localhost:8000\")\n"
  39523. msgstr ""
  39524. #. type: item
  39525. #: guix-git/doc/guix.texi:26922
  39526. #, no-wrap
  39527. msgid "@code{server-name} (default: @code{(list 'default)})"
  39528. msgstr ""
  39529. #. type: table
  39530. #: guix-git/doc/guix.texi:26925
  39531. msgid "A list of server names this server represents. @code{'default} represents the default server for connections matching no other server."
  39532. msgstr ""
  39533. #. type: item
  39534. #: guix-git/doc/guix.texi:26926
  39535. #, no-wrap
  39536. msgid "@code{root} (default: @code{\"/srv/http\"})"
  39537. msgstr ""
  39538. #. type: table
  39539. #: guix-git/doc/guix.texi:26928
  39540. msgid "Root of the website nginx will serve."
  39541. msgstr ""
  39542. #. type: item
  39543. #: guix-git/doc/guix.texi:26929
  39544. #, no-wrap
  39545. msgid "@code{locations} (default: @code{'()})"
  39546. msgstr ""
  39547. #. type: table
  39548. #: guix-git/doc/guix.texi:26933
  39549. msgid "A list of @dfn{nginx-location-configuration} or @dfn{nginx-named-location-configuration} records to use within this server block."
  39550. msgstr ""
  39551. #. type: item
  39552. #: guix-git/doc/guix.texi:26934
  39553. #, no-wrap
  39554. msgid "@code{index} (default: @code{(list \"index.html\")})"
  39555. msgstr ""
  39556. #. type: table
  39557. #: guix-git/doc/guix.texi:26937
  39558. 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."
  39559. msgstr ""
  39560. #. type: item
  39561. #: guix-git/doc/guix.texi:26938
  39562. #, no-wrap
  39563. msgid "@code{try-files} (default: @code{'()})"
  39564. msgstr ""
  39565. #. type: table
  39566. #: guix-git/doc/guix.texi:26941
  39567. 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."
  39568. msgstr ""
  39569. #. type: item
  39570. #: guix-git/doc/guix.texi:26942
  39571. #, no-wrap
  39572. msgid "@code{ssl-certificate} (default: @code{#f})"
  39573. msgstr ""
  39574. #. type: table
  39575. #: guix-git/doc/guix.texi:26945
  39576. 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."
  39577. msgstr ""
  39578. #. type: item
  39579. #: guix-git/doc/guix.texi:26946
  39580. #, no-wrap
  39581. msgid "@code{ssl-certificate-key} (default: @code{#f})"
  39582. msgstr ""
  39583. #. type: table
  39584. #: guix-git/doc/guix.texi:26949
  39585. 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."
  39586. msgstr ""
  39587. #. type: item
  39588. #: guix-git/doc/guix.texi:26950
  39589. #, no-wrap
  39590. msgid "@code{server-tokens?} (default: @code{#f})"
  39591. msgstr ""
  39592. #. type: table
  39593. #: guix-git/doc/guix.texi:26952
  39594. msgid "Whether the server should add its configuration to response."
  39595. msgstr ""
  39596. #. type: item
  39597. #: guix-git/doc/guix.texi:26953
  39598. #, no-wrap
  39599. msgid "@code{raw-content} (default: @code{'()})"
  39600. msgstr ""
  39601. #. type: table
  39602. #: guix-git/doc/guix.texi:26955
  39603. msgid "A list of raw lines added to the server block."
  39604. msgstr ""
  39605. #. type: deftp
  39606. #: guix-git/doc/guix.texi:26959
  39607. #, no-wrap
  39608. msgid "{Data Type} nginx-upstream-configuration"
  39609. msgstr ""
  39610. #. type: deftp
  39611. #: guix-git/doc/guix.texi:26962
  39612. msgid "Data type representing the configuration of an nginx @code{upstream} block. This type has the following parameters:"
  39613. msgstr ""
  39614. #. type: table
  39615. #: guix-git/doc/guix.texi:26966
  39616. msgid "Name for this group of servers."
  39617. msgstr ""
  39618. #. type: code{#1}
  39619. #: guix-git/doc/guix.texi:26967
  39620. #, no-wrap
  39621. msgid "servers"
  39622. msgstr "palvelimet"
  39623. #. type: table
  39624. #: guix-git/doc/guix.texi:26974
  39625. 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."
  39626. msgstr ""
  39627. #. type: deftp
  39628. #: guix-git/doc/guix.texi:26978
  39629. #, no-wrap
  39630. msgid "{Data Type} nginx-location-configuration"
  39631. msgstr ""
  39632. #. type: deftp
  39633. #: guix-git/doc/guix.texi:26981
  39634. msgid "Data type representing the configuration of an nginx @code{location} block. This type has the following parameters:"
  39635. msgstr ""
  39636. #. type: table
  39637. #: guix-git/doc/guix.texi:26985
  39638. msgid "URI which this location block matches."
  39639. msgstr ""
  39640. #. type: anchor{#1}
  39641. #: guix-git/doc/guix.texi:26987
  39642. msgid "nginx-location-configuration body"
  39643. msgstr ""
  39644. #. type: code{#1}
  39645. #: guix-git/doc/guix.texi:26987 guix-git/doc/guix.texi:27008
  39646. #, no-wrap
  39647. msgid "body"
  39648. msgstr ""
  39649. #. type: table
  39650. #: guix-git/doc/guix.texi:26994
  39651. 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;\")}."
  39652. msgstr ""
  39653. #. type: deftp
  39654. #: guix-git/doc/guix.texi:26998
  39655. #, no-wrap
  39656. msgid "{Data Type} nginx-named-location-configuration"
  39657. msgstr ""
  39658. #. type: deftp
  39659. #: guix-git/doc/guix.texi:27003
  39660. 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:"
  39661. msgstr ""
  39662. #. type: table
  39663. #: guix-git/doc/guix.texi:27007
  39664. msgid "Name to identify this location block."
  39665. msgstr ""
  39666. #. type: table
  39667. #: guix-git/doc/guix.texi:27013
  39668. 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."
  39669. msgstr ""
  39670. #. type: subsubheading
  39671. #: guix-git/doc/guix.texi:27017
  39672. #, no-wrap
  39673. msgid "Varnish Cache"
  39674. msgstr ""
  39675. #. type: cindex
  39676. #: guix-git/doc/guix.texi:27018
  39677. #, no-wrap
  39678. msgid "Varnish"
  39679. msgstr ""
  39680. #. type: Plain text
  39681. #: guix-git/doc/guix.texi:27023
  39682. 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."
  39683. msgstr ""
  39684. #. type: defvr
  39685. #: guix-git/doc/guix.texi:27024
  39686. #, no-wrap
  39687. msgid "{Scheme Variable} varnish-service-type"
  39688. msgstr ""
  39689. #. type: defvr
  39690. #: guix-git/doc/guix.texi:27026
  39691. msgid "Service type for the Varnish daemon."
  39692. msgstr ""
  39693. #. type: deftp
  39694. #: guix-git/doc/guix.texi:27028
  39695. #, no-wrap
  39696. msgid "{Data Type} varnish-configuration"
  39697. msgstr ""
  39698. #. type: deftp
  39699. #: guix-git/doc/guix.texi:27031
  39700. msgid "Data type representing the @code{varnish} service configuration. This type has the following parameters:"
  39701. msgstr ""
  39702. #. type: item
  39703. #: guix-git/doc/guix.texi:27033
  39704. #, no-wrap
  39705. msgid "@code{package} (default: @code{varnish})"
  39706. msgstr ""
  39707. #. type: table
  39708. #: guix-git/doc/guix.texi:27035
  39709. msgid "The Varnish package to use."
  39710. msgstr ""
  39711. #. type: item
  39712. #: guix-git/doc/guix.texi:27036
  39713. #, no-wrap
  39714. msgid "@code{name} (default: @code{\"default\"})"
  39715. msgstr ""
  39716. #. type: table
  39717. #: guix-git/doc/guix.texi:27041
  39718. 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."
  39719. msgstr ""
  39720. #. type: table
  39721. #: guix-git/doc/guix.texi:27044
  39722. msgid "Pass the @code{-n} argument to other Varnish programs to connect to the named instance, e.g.@: @command{varnishncsa -n default}."
  39723. msgstr ""
  39724. #. type: item
  39725. #: guix-git/doc/guix.texi:27045
  39726. #, no-wrap
  39727. msgid "@code{backend} (default: @code{\"localhost:8080\"})"
  39728. msgstr ""
  39729. #. type: table
  39730. #: guix-git/doc/guix.texi:27047
  39731. msgid "The backend to use. This option has no effect if @code{vcl} is set."
  39732. msgstr ""
  39733. #. type: item
  39734. #: guix-git/doc/guix.texi:27048
  39735. #, no-wrap
  39736. msgid "@code{vcl} (default: #f)"
  39737. msgstr ""
  39738. #. type: table
  39739. #: guix-git/doc/guix.texi:27053
  39740. 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."
  39741. msgstr ""
  39742. #. type: table
  39743. #: guix-git/doc/guix.texi:27057
  39744. msgid "For example, to mirror @url{https://www.gnu.org,www.gnu.org} with VCL you can do something along these lines:"
  39745. msgstr ""
  39746. #. type: lisp
  39747. #: guix-git/doc/guix.texi:27063
  39748. #, no-wrap
  39749. msgid ""
  39750. "(define %gnu-mirror\n"
  39751. " (plain-file \"gnu.vcl\"\n"
  39752. " \"vcl 4.1;\n"
  39753. "backend gnu @{ .host = \\\"www.gnu.org\\\"; @}\"))\n"
  39754. "\n"
  39755. msgstr ""
  39756. #. type: lisp
  39757. #: guix-git/doc/guix.texi:27071
  39758. #, no-wrap
  39759. msgid ""
  39760. "(operating-system\n"
  39761. " ;; @dots{}\n"
  39762. " (services (cons (service varnish-service-type\n"
  39763. " (varnish-configuration\n"
  39764. " (listen '(\":80\"))\n"
  39765. " (vcl %gnu-mirror)))\n"
  39766. " %base-services)))\n"
  39767. msgstr ""
  39768. #. type: table
  39769. #: guix-git/doc/guix.texi:27075
  39770. msgid "The configuration of an already running Varnish instance can be inspected and changed using the @command{varnishadm} program."
  39771. msgstr ""
  39772. #. type: table
  39773. #: guix-git/doc/guix.texi:27079
  39774. 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."
  39775. msgstr ""
  39776. #. type: item
  39777. #: guix-git/doc/guix.texi:27080
  39778. #, no-wrap
  39779. msgid "@code{listen} (default: @code{'(\"localhost:80\")})"
  39780. msgstr ""
  39781. #. type: table
  39782. #: guix-git/doc/guix.texi:27082
  39783. msgid "List of addresses Varnish will listen on."
  39784. msgstr ""
  39785. #. type: item
  39786. #: guix-git/doc/guix.texi:27083
  39787. #, no-wrap
  39788. msgid "@code{storage} (default: @code{'(\"malloc,128m\")})"
  39789. msgstr ""
  39790. #. type: table
  39791. #: guix-git/doc/guix.texi:27085
  39792. msgid "List of storage backends that will be available in VCL."
  39793. msgstr ""
  39794. #. type: item
  39795. #: guix-git/doc/guix.texi:27086
  39796. #, no-wrap
  39797. msgid "@code{parameters} (default: @code{'()})"
  39798. msgstr ""
  39799. #. type: table
  39800. #: guix-git/doc/guix.texi:27088
  39801. msgid "List of run-time parameters in the form @code{'((\"parameter\" . \"value\"))}."
  39802. msgstr ""
  39803. #. type: table
  39804. #: guix-git/doc/guix.texi:27091
  39805. msgid "Additional arguments to pass to the @command{varnishd} process."
  39806. msgstr ""
  39807. #. type: cindex
  39808. #: guix-git/doc/guix.texi:27095 guix-git/doc/guix.texi:27096
  39809. #, no-wrap
  39810. msgid "Patchwork"
  39811. msgstr ""
  39812. #. type: Plain text
  39813. #: guix-git/doc/guix.texi:27099
  39814. msgid "Patchwork is a patch tracking system. It can collect patches sent to a mailing list, and display them in a web interface."
  39815. msgstr ""
  39816. #. type: defvr
  39817. #: guix-git/doc/guix.texi:27100
  39818. #, no-wrap
  39819. msgid "{Scheme Variable} patchwork-service-type"
  39820. msgstr ""
  39821. #. type: defvr
  39822. #: guix-git/doc/guix.texi:27102
  39823. msgid "Service type for Patchwork."
  39824. msgstr ""
  39825. #. type: Plain text
  39826. #: guix-git/doc/guix.texi:27106
  39827. msgid "The following example is an example of a minimal service for Patchwork, for the @code{patchwork.example.com} domain."
  39828. msgstr ""
  39829. #. type: lisp
  39830. #: guix-git/doc/guix.texi:27126
  39831. #, no-wrap
  39832. msgid ""
  39833. "(service patchwork-service-type\n"
  39834. " (patchwork-configuration\n"
  39835. " (domain \"patchwork.example.com\")\n"
  39836. " (settings-module\n"
  39837. " (patchwork-settings-module\n"
  39838. " (allowed-hosts (list domain))\n"
  39839. " (default-from-email \"patchwork@@patchwork.example.com\")))\n"
  39840. " (getmail-retriever-config\n"
  39841. " (getmail-retriever-configuration\n"
  39842. " (type \"SimpleIMAPSSLRetriever\")\n"
  39843. " (server \"imap.example.com\")\n"
  39844. " (port 993)\n"
  39845. " (username \"patchwork\")\n"
  39846. " (password-command\n"
  39847. " (list (file-append coreutils \"/bin/cat\")\n"
  39848. " \"/etc/getmail-patchwork-imap-password\"))\n"
  39849. " (extra-parameters\n"
  39850. " '((mailboxes . (\"Patches\"))))))))\n"
  39851. "\n"
  39852. msgstr ""
  39853. #. type: Plain text
  39854. #: guix-git/doc/guix.texi:27132
  39855. msgid "There are three records for configuring the Patchwork service. The @code{<patchwork-configuration>} relates to the configuration for Patchwork within the HTTPD service."
  39856. msgstr ""
  39857. #. type: Plain text
  39858. #: guix-git/doc/guix.texi:27136
  39859. 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."
  39860. msgstr ""
  39861. #. type: Plain text
  39862. #: guix-git/doc/guix.texi:27140
  39863. msgid "For the @code{database-configuration} field within the @code{<patchwork-settings-module>}, the @code{<patchwork-database-configuration>} must be used."
  39864. msgstr ""
  39865. #. type: deftp
  39866. #: guix-git/doc/guix.texi:27141
  39867. #, no-wrap
  39868. msgid "{Data Type} patchwork-configuration"
  39869. msgstr ""
  39870. #. type: deftp
  39871. #: guix-git/doc/guix.texi:27144
  39872. msgid "Data type representing the Patchwork service configuration. This type has the following parameters:"
  39873. msgstr ""
  39874. #. type: item
  39875. #: guix-git/doc/guix.texi:27146
  39876. #, no-wrap
  39877. msgid "@code{patchwork} (default: @code{patchwork})"
  39878. msgstr ""
  39879. #. type: table
  39880. #: guix-git/doc/guix.texi:27148
  39881. msgid "The Patchwork package to use."
  39882. msgstr ""
  39883. #. type: code{#1}
  39884. #: guix-git/doc/guix.texi:27149
  39885. #, no-wrap
  39886. msgid "domain"
  39887. msgstr "toimialue"
  39888. #. type: table
  39889. #: guix-git/doc/guix.texi:27152
  39890. msgid "The domain to use for Patchwork, this is used in the HTTPD service virtual host."
  39891. msgstr ""
  39892. #. type: code{#1}
  39893. #: guix-git/doc/guix.texi:27153
  39894. #, no-wrap
  39895. msgid "settings-module"
  39896. msgstr ""
  39897. #. type: table
  39898. #: guix-git/doc/guix.texi:27159
  39899. 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."
  39900. msgstr ""
  39901. #. type: item
  39902. #: guix-git/doc/guix.texi:27160
  39903. #, no-wrap
  39904. msgid "@code{static-path} (default: @code{\"/static/\"})"
  39905. msgstr ""
  39906. #. type: table
  39907. #: guix-git/doc/guix.texi:27162
  39908. msgid "The path under which the HTTPD service should serve the static files."
  39909. msgstr ""
  39910. #. type: code{#1}
  39911. #: guix-git/doc/guix.texi:27163
  39912. #, no-wrap
  39913. msgid "getmail-retriever-config"
  39914. msgstr ""
  39915. #. type: table
  39916. #: guix-git/doc/guix.texi:27167
  39917. 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."
  39918. msgstr ""
  39919. #. type: deftp
  39920. #: guix-git/doc/guix.texi:27171
  39921. #, no-wrap
  39922. msgid "{Data Type} patchwork-settings-module"
  39923. msgstr ""
  39924. #. type: deftp
  39925. #: guix-git/doc/guix.texi:27176
  39926. 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:"
  39927. msgstr ""
  39928. #. type: item
  39929. #: guix-git/doc/guix.texi:27178
  39930. #, no-wrap
  39931. msgid "@code{database-configuration} (default: @code{(patchwork-database-configuration)})"
  39932. msgstr ""
  39933. #. type: table
  39934. #: guix-git/doc/guix.texi:27181
  39935. msgid "The database connection settings used for Patchwork. See the @code{<patchwork-database-configuration>} record type for more information."
  39936. msgstr ""
  39937. #. type: item
  39938. #: guix-git/doc/guix.texi:27182
  39939. #, no-wrap
  39940. msgid "@code{secret-key-file} (default: @code{\"/etc/patchwork/django-secret-key\"})"
  39941. msgstr ""
  39942. #. type: table
  39943. #: guix-git/doc/guix.texi:27185
  39944. msgid "Patchwork, as a Django web application uses a secret key for cryptographically signing values. This file should contain a unique unpredictable value."
  39945. msgstr ""
  39946. #. type: table
  39947. #: guix-git/doc/guix.texi:27188
  39948. msgid "If this file does not exist, it will be created and populated with a random value by the patchwork-setup shepherd service."
  39949. msgstr ""
  39950. #. type: table
  39951. #: guix-git/doc/guix.texi:27190
  39952. msgid "This setting relates to Django."
  39953. msgstr ""
  39954. #. type: code{#1}
  39955. #: guix-git/doc/guix.texi:27191
  39956. #, no-wrap
  39957. msgid "allowed-hosts"
  39958. msgstr ""
  39959. #. type: table
  39960. #: guix-git/doc/guix.texi:27194
  39961. msgid "A list of valid hosts for this Patchwork service. This should at least include the domain specified in the @code{<patchwork-configuration>} record."
  39962. msgstr ""
  39963. #. type: table
  39964. #: guix-git/doc/guix.texi:27196 guix-git/doc/guix.texi:27210
  39965. #: guix-git/doc/guix.texi:27216 guix-git/doc/guix.texi:27222
  39966. msgid "This is a Django setting."
  39967. msgstr ""
  39968. #. type: code{#1}
  39969. #: guix-git/doc/guix.texi:27197
  39970. #, no-wrap
  39971. msgid "default-from-email"
  39972. msgstr ""
  39973. #. type: table
  39974. #: guix-git/doc/guix.texi:27199
  39975. msgid "The email address from which Patchwork should send email by default."
  39976. msgstr ""
  39977. #. type: table
  39978. #: guix-git/doc/guix.texi:27201 guix-git/doc/guix.texi:27227
  39979. #: guix-git/doc/guix.texi:27232 guix-git/doc/guix.texi:27237
  39980. msgid "This is a Patchwork setting."
  39981. msgstr ""
  39982. #. type: item
  39983. #: guix-git/doc/guix.texi:27202
  39984. #, no-wrap
  39985. msgid "@code{static-url} (default: @code{#f})"
  39986. msgstr ""
  39987. #. type: table
  39988. #: guix-git/doc/guix.texi:27205
  39989. 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{/}."
  39990. msgstr ""
  39991. #. type: table
  39992. #: guix-git/doc/guix.texi:27208
  39993. msgid "If the default value is used, the @code{static-path} value from the @code{<patchwork-configuration>} record will be used."
  39994. msgstr ""
  39995. #. type: item
  39996. #: guix-git/doc/guix.texi:27211
  39997. #, no-wrap
  39998. msgid "@code{admins} (default: @code{'()})"
  39999. msgstr ""
  40000. #. type: table
  40001. #: guix-git/doc/guix.texi:27214
  40002. 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."
  40003. msgstr ""
  40004. #. type: table
  40005. #: guix-git/doc/guix.texi:27220
  40006. msgid "Whether to run Patchwork in debug mode. If set to @code{#t}, detailed error messages will be shown."
  40007. msgstr ""
  40008. #. type: item
  40009. #: guix-git/doc/guix.texi:27223
  40010. #, no-wrap
  40011. msgid "@code{enable-rest-api?} (default: @code{#t})"
  40012. msgstr ""
  40013. #. type: table
  40014. #: guix-git/doc/guix.texi:27225
  40015. msgid "Whether to enable the Patchwork REST API."
  40016. msgstr ""
  40017. #. type: item
  40018. #: guix-git/doc/guix.texi:27228
  40019. #, no-wrap
  40020. msgid "@code{enable-xmlrpc?} (default: @code{#t})"
  40021. msgstr ""
  40022. #. type: table
  40023. #: guix-git/doc/guix.texi:27230
  40024. msgid "Whether to enable the XML RPC API."
  40025. msgstr ""
  40026. #. type: item
  40027. #: guix-git/doc/guix.texi:27233
  40028. #, no-wrap
  40029. msgid "@code{force-https-links?} (default: @code{#t})"
  40030. msgstr ""
  40031. #. type: table
  40032. #: guix-git/doc/guix.texi:27235
  40033. msgid "Whether to use HTTPS links on Patchwork pages."
  40034. msgstr ""
  40035. #. type: table
  40036. #: guix-git/doc/guix.texi:27240
  40037. msgid "Extra code to place at the end of the Patchwork settings module."
  40038. msgstr ""
  40039. #. type: deftp
  40040. #: guix-git/doc/guix.texi:27244
  40041. #, no-wrap
  40042. msgid "{Data Type} patchwork-database-configuration"
  40043. msgstr ""
  40044. #. type: deftp
  40045. #: guix-git/doc/guix.texi:27246
  40046. msgid "Data type representing the database configuration for Patchwork."
  40047. msgstr ""
  40048. #. type: item
  40049. #: guix-git/doc/guix.texi:27248
  40050. #, no-wrap
  40051. msgid "@code{engine} (default: @code{\"django.db.backends.postgresql_psycopg2\"})"
  40052. msgstr ""
  40053. #. type: table
  40054. #: guix-git/doc/guix.texi:27250
  40055. msgid "The database engine to use."
  40056. msgstr ""
  40057. #. type: item
  40058. #: guix-git/doc/guix.texi:27251
  40059. #, no-wrap
  40060. msgid "@code{name} (default: @code{\"patchwork\"})"
  40061. msgstr ""
  40062. #. type: table
  40063. #: guix-git/doc/guix.texi:27253
  40064. msgid "The name of the database to use."
  40065. msgstr ""
  40066. #. type: table
  40067. #: guix-git/doc/guix.texi:27256
  40068. msgid "The user to connect to the database as."
  40069. msgstr ""
  40070. #. type: item
  40071. #: guix-git/doc/guix.texi:27257
  40072. #, no-wrap
  40073. msgid "@code{password} (default: @code{\"\"})"
  40074. msgstr ""
  40075. #. type: table
  40076. #: guix-git/doc/guix.texi:27259
  40077. msgid "The password to use when connecting to the database."
  40078. msgstr ""
  40079. #. type: item
  40080. #: guix-git/doc/guix.texi:27260
  40081. #, no-wrap
  40082. msgid "@code{host} (default: @code{\"\"})"
  40083. msgstr ""
  40084. #. type: table
  40085. #: guix-git/doc/guix.texi:27262
  40086. msgid "The host to make the database connection to."
  40087. msgstr ""
  40088. #. type: item
  40089. #: guix-git/doc/guix.texi:27263
  40090. #, no-wrap
  40091. msgid "@code{port} (default: @code{\"\"})"
  40092. msgstr ""
  40093. #. type: table
  40094. #: guix-git/doc/guix.texi:27265
  40095. msgid "The port on which to connect to the database."
  40096. msgstr ""
  40097. #. type: subsubheading
  40098. #: guix-git/doc/guix.texi:27269
  40099. #, no-wrap
  40100. msgid "Mumi"
  40101. msgstr ""
  40102. #. type: cindex
  40103. #: guix-git/doc/guix.texi:27271
  40104. #, no-wrap
  40105. msgid "Mumi, Debbugs Web interface"
  40106. msgstr ""
  40107. #. type: cindex
  40108. #: guix-git/doc/guix.texi:27272
  40109. #, no-wrap
  40110. msgid "Debbugs, Mumi Web interface"
  40111. msgstr ""
  40112. #. type: Plain text
  40113. #: guix-git/doc/guix.texi:27277
  40114. 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."
  40115. msgstr ""
  40116. #. type: defvr
  40117. #: guix-git/doc/guix.texi:27278
  40118. #, no-wrap
  40119. msgid "{Scheme Variable} mumi-service-type"
  40120. msgstr ""
  40121. #. type: defvr
  40122. #: guix-git/doc/guix.texi:27280
  40123. msgid "This is the service type for Mumi."
  40124. msgstr ""
  40125. #. type: deftp
  40126. #: guix-git/doc/guix.texi:27282
  40127. #, no-wrap
  40128. msgid "{Data Type} mumi-configuration"
  40129. msgstr ""
  40130. #. type: deftp
  40131. #: guix-git/doc/guix.texi:27285
  40132. msgid "Data type representing the Mumi service configuration. This type has the following fields:"
  40133. msgstr ""
  40134. #. type: item
  40135. #: guix-git/doc/guix.texi:27287
  40136. #, no-wrap
  40137. msgid "@code{mumi} (default: @code{mumi})"
  40138. msgstr ""
  40139. #. type: table
  40140. #: guix-git/doc/guix.texi:27289
  40141. msgid "The Mumi package to use."
  40142. msgstr ""
  40143. #. type: item
  40144. #: guix-git/doc/guix.texi:27290
  40145. #, no-wrap
  40146. msgid "@code{mailer?} (default: @code{#true})"
  40147. msgstr ""
  40148. #. type: table
  40149. #: guix-git/doc/guix.texi:27292
  40150. msgid "Whether to enable or disable the mailer component."
  40151. msgstr ""
  40152. #. type: code{#1}
  40153. #: guix-git/doc/guix.texi:27293
  40154. #, no-wrap
  40155. msgid "mumi-configuration-sender"
  40156. msgstr ""
  40157. #. type: table
  40158. #: guix-git/doc/guix.texi:27295
  40159. msgid "The email address used as the sender for comments."
  40160. msgstr ""
  40161. #. type: code{#1}
  40162. #: guix-git/doc/guix.texi:27296
  40163. #, no-wrap
  40164. msgid "mumi-configuration-smtp"
  40165. msgstr ""
  40166. #. type: table
  40167. #: guix-git/doc/guix.texi:27301
  40168. 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}."
  40169. msgstr ""
  40170. #. type: subsubheading
  40171. #: guix-git/doc/guix.texi:27306
  40172. #, no-wrap
  40173. msgid "FastCGI"
  40174. msgstr ""
  40175. #. type: cindex
  40176. #: guix-git/doc/guix.texi:27307
  40177. #, no-wrap
  40178. msgid "fastcgi"
  40179. msgstr ""
  40180. #. type: cindex
  40181. #: guix-git/doc/guix.texi:27308
  40182. #, no-wrap
  40183. msgid "fcgiwrap"
  40184. msgstr ""
  40185. #. type: Plain text
  40186. #: guix-git/doc/guix.texi:27315
  40187. 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."
  40188. msgstr ""
  40189. #. type: Plain text
  40190. #: guix-git/doc/guix.texi:27322
  40191. 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."
  40192. msgstr ""
  40193. #. type: defvr
  40194. #: guix-git/doc/guix.texi:27323
  40195. #, no-wrap
  40196. msgid "{Scheme Variable} fcgiwrap-service-type"
  40197. msgstr ""
  40198. #. type: defvr
  40199. #: guix-git/doc/guix.texi:27325
  40200. msgid "A service type for the @code{fcgiwrap} FastCGI proxy."
  40201. msgstr ""
  40202. #. type: deftp
  40203. #: guix-git/doc/guix.texi:27327
  40204. #, no-wrap
  40205. msgid "{Data Type} fcgiwrap-configuration"
  40206. msgstr ""
  40207. #. type: deftp
  40208. #: guix-git/doc/guix.texi:27330
  40209. msgid "Data type representing the configuration of the @code{fcgiwrap} service. This type has the following parameters:"
  40210. msgstr ""
  40211. #. type: item
  40212. #: guix-git/doc/guix.texi:27331
  40213. #, no-wrap
  40214. msgid "@code{package} (default: @code{fcgiwrap})"
  40215. msgstr ""
  40216. #. type: table
  40217. #: guix-git/doc/guix.texi:27333
  40218. msgid "The fcgiwrap package to use."
  40219. msgstr ""
  40220. #. type: item
  40221. #: guix-git/doc/guix.texi:27334
  40222. #, no-wrap
  40223. msgid "@code{socket} (default: @code{tcp:127.0.0.1:9000})"
  40224. msgstr ""
  40225. #. type: table
  40226. #: guix-git/doc/guix.texi:27340
  40227. 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}."
  40228. msgstr ""
  40229. #. type: item
  40230. #: guix-git/doc/guix.texi:27341
  40231. #, no-wrap
  40232. msgid "@code{user} (default: @code{fcgiwrap})"
  40233. msgstr ""
  40234. #. type: itemx
  40235. #: guix-git/doc/guix.texi:27342
  40236. #, no-wrap
  40237. msgid "@code{group} (default: @code{fcgiwrap})"
  40238. msgstr ""
  40239. #. type: table
  40240. #: guix-git/doc/guix.texi:27347
  40241. 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."
  40242. msgstr ""
  40243. #. type: table
  40244. #: guix-git/doc/guix.texi:27354
  40245. 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."
  40246. msgstr ""
  40247. #. type: subsubheading
  40248. #: guix-git/doc/guix.texi:27358
  40249. #, no-wrap
  40250. msgid "PHP-FPM"
  40251. msgstr ""
  40252. #. type: cindex
  40253. #: guix-git/doc/guix.texi:27359
  40254. #, no-wrap
  40255. msgid "php-fpm"
  40256. msgstr ""
  40257. #. type: Plain text
  40258. #: guix-git/doc/guix.texi:27362
  40259. msgid "PHP-FPM (FastCGI Process Manager) is an alternative PHP FastCGI implementation with some additional features useful for sites of any size."
  40260. msgstr ""
  40261. #. type: Plain text
  40262. #: guix-git/doc/guix.texi:27364
  40263. msgid "These features include:"
  40264. msgstr ""
  40265. #. type: item
  40266. #: guix-git/doc/guix.texi:27365
  40267. #, no-wrap
  40268. msgid "Adaptive process spawning"
  40269. msgstr ""
  40270. #. type: item
  40271. #: guix-git/doc/guix.texi:27366
  40272. #, no-wrap
  40273. msgid "Basic statistics (similar to Apache's mod_status)"
  40274. msgstr ""
  40275. #. type: item
  40276. #: guix-git/doc/guix.texi:27367
  40277. #, no-wrap
  40278. msgid "Advanced process management with graceful stop/start"
  40279. msgstr ""
  40280. #. type: item
  40281. #: guix-git/doc/guix.texi:27368
  40282. #, no-wrap
  40283. msgid "Ability to start workers with different uid/gid/chroot/environment"
  40284. msgstr ""
  40285. #. type: itemize
  40286. #: guix-git/doc/guix.texi:27370
  40287. msgid "and different php.ini (replaces safe_mode)"
  40288. msgstr ""
  40289. #. type: item
  40290. #: guix-git/doc/guix.texi:27370
  40291. #, no-wrap
  40292. msgid "Stdout & stderr logging"
  40293. msgstr ""
  40294. #. type: item
  40295. #: guix-git/doc/guix.texi:27371
  40296. #, no-wrap
  40297. msgid "Emergency restart in case of accidental opcode cache destruction"
  40298. msgstr ""
  40299. #. type: item
  40300. #: guix-git/doc/guix.texi:27372
  40301. #, no-wrap
  40302. msgid "Accelerated upload support"
  40303. msgstr ""
  40304. #. type: item
  40305. #: guix-git/doc/guix.texi:27373
  40306. #, no-wrap
  40307. msgid "Support for a \"slowlog\""
  40308. msgstr ""
  40309. #. type: item
  40310. #: guix-git/doc/guix.texi:27374
  40311. #, no-wrap
  40312. msgid "Enhancements to FastCGI, such as fastcgi_finish_request() -"
  40313. msgstr ""
  40314. #. type: itemize
  40315. #: guix-git/doc/guix.texi:27377
  40316. msgid "a special function to finish request & flush all data while continuing to do something time-consuming (video converting, stats processing, etc.)"
  40317. msgstr ""
  40318. #. type: Plain text
  40319. #: guix-git/doc/guix.texi:27379
  40320. msgid "...@: and much more."
  40321. msgstr ""
  40322. #. type: defvr
  40323. #: guix-git/doc/guix.texi:27380
  40324. #, no-wrap
  40325. msgid "{Scheme Variable} php-fpm-service-type"
  40326. msgstr ""
  40327. #. type: defvr
  40328. #: guix-git/doc/guix.texi:27382
  40329. msgid "A Service type for @code{php-fpm}."
  40330. msgstr ""
  40331. #. type: deftp
  40332. #: guix-git/doc/guix.texi:27384
  40333. #, no-wrap
  40334. msgid "{Data Type} php-fpm-configuration"
  40335. msgstr ""
  40336. #. type: deftp
  40337. #: guix-git/doc/guix.texi:27386
  40338. msgid "Data Type for php-fpm service configuration."
  40339. msgstr ""
  40340. #. type: item
  40341. #: guix-git/doc/guix.texi:27387
  40342. #, no-wrap
  40343. msgid "@code{php} (default: @code{php})"
  40344. msgstr ""
  40345. #. type: table
  40346. #: guix-git/doc/guix.texi:27389
  40347. msgid "The php package to use."
  40348. msgstr ""
  40349. #. type: item
  40350. #: guix-git/doc/guix.texi:27389
  40351. #, no-wrap
  40352. msgid "@code{socket} (default: @code{(string-append \"/var/run/php\" (version-major (package-version php)) \"-fpm.sock\")})"
  40353. msgstr ""
  40354. #. type: table
  40355. #: guix-git/doc/guix.texi:27391
  40356. msgid "The address on which to accept FastCGI requests. Valid syntaxes are:"
  40357. msgstr ""
  40358. #. type: code{#1}
  40359. #: guix-git/doc/guix.texi:27392
  40360. #, no-wrap
  40361. msgid "\"ip.add.re.ss:port\""
  40362. msgstr ""
  40363. #. type: table
  40364. #: guix-git/doc/guix.texi:27394
  40365. msgid "Listen on a TCP socket to a specific address on a specific port."
  40366. msgstr ""
  40367. #. type: code{#1}
  40368. #: guix-git/doc/guix.texi:27394
  40369. #, no-wrap
  40370. msgid "\"port\""
  40371. msgstr ""
  40372. #. type: table
  40373. #: guix-git/doc/guix.texi:27396
  40374. msgid "Listen on a TCP socket to all addresses on a specific port."
  40375. msgstr ""
  40376. #. type: code{#1}
  40377. #: guix-git/doc/guix.texi:27396
  40378. #, no-wrap
  40379. msgid "\"/path/to/unix/socket\""
  40380. msgstr ""
  40381. #. type: table
  40382. #: guix-git/doc/guix.texi:27398
  40383. msgid "Listen on a unix socket."
  40384. msgstr ""
  40385. #. type: item
  40386. #: guix-git/doc/guix.texi:27400
  40387. #, no-wrap
  40388. msgid "@code{user} (default: @code{php-fpm})"
  40389. msgstr ""
  40390. #. type: table
  40391. #: guix-git/doc/guix.texi:27402
  40392. msgid "User who will own the php worker processes."
  40393. msgstr ""
  40394. #. type: item
  40395. #: guix-git/doc/guix.texi:27402
  40396. #, no-wrap
  40397. msgid "@code{group} (default: @code{php-fpm})"
  40398. msgstr ""
  40399. #. type: table
  40400. #: guix-git/doc/guix.texi:27404
  40401. msgid "Group of the worker processes."
  40402. msgstr ""
  40403. #. type: item
  40404. #: guix-git/doc/guix.texi:27404
  40405. #, no-wrap
  40406. msgid "@code{socket-user} (default: @code{php-fpm})"
  40407. msgstr ""
  40408. #. type: table
  40409. #: guix-git/doc/guix.texi:27406
  40410. msgid "User who can speak to the php-fpm socket."
  40411. msgstr ""
  40412. #. type: item
  40413. #: guix-git/doc/guix.texi:27406
  40414. #, no-wrap
  40415. msgid "@code{socket-group} (default: @code{nginx})"
  40416. msgstr ""
  40417. #. type: table
  40418. #: guix-git/doc/guix.texi:27408
  40419. msgid "Group that can speak to the php-fpm socket."
  40420. msgstr ""
  40421. #. type: item
  40422. #: guix-git/doc/guix.texi:27408
  40423. #, no-wrap
  40424. msgid "@code{pid-file} (default: @code{(string-append \"/var/run/php\" (version-major (package-version php)) \"-fpm.pid\")})"
  40425. msgstr ""
  40426. #. type: table
  40427. #: guix-git/doc/guix.texi:27411
  40428. msgid "The process id of the php-fpm process is written to this file once the service has started."
  40429. msgstr ""
  40430. #. type: item
  40431. #: guix-git/doc/guix.texi:27411
  40432. #, no-wrap
  40433. msgid "@code{log-file} (default: @code{(string-append \"/var/log/php\" (version-major (package-version php)) \"-fpm.log\")})"
  40434. msgstr ""
  40435. #. type: table
  40436. #: guix-git/doc/guix.texi:27413
  40437. msgid "Log for the php-fpm master process."
  40438. msgstr ""
  40439. #. type: item
  40440. #: guix-git/doc/guix.texi:27413
  40441. #, no-wrap
  40442. msgid "@code{process-manager} (default: @code{(php-fpm-dynamic-process-manager-configuration)})"
  40443. msgstr ""
  40444. #. type: table
  40445. #: guix-git/doc/guix.texi:27416
  40446. msgid "Detailed settings for the php-fpm process manager. Must be one of:"
  40447. msgstr ""
  40448. #. type: code{#1}
  40449. #: guix-git/doc/guix.texi:27417
  40450. #, no-wrap
  40451. msgid "<php-fpm-dynamic-process-manager-configuration>"
  40452. msgstr ""
  40453. #. type: code{#1}
  40454. #: guix-git/doc/guix.texi:27418
  40455. #, no-wrap
  40456. msgid "<php-fpm-static-process-manager-configuration>"
  40457. msgstr ""
  40458. #. type: code{#1}
  40459. #: guix-git/doc/guix.texi:27419
  40460. #, no-wrap
  40461. msgid "<php-fpm-on-demand-process-manager-configuration>"
  40462. msgstr ""
  40463. #. type: item
  40464. #: guix-git/doc/guix.texi:27421
  40465. #, no-wrap
  40466. msgid "@code{display-errors} (default @code{#f})"
  40467. msgstr ""
  40468. #. type: table
  40469. #: guix-git/doc/guix.texi:27426
  40470. 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."
  40471. msgstr ""
  40472. #. type: item
  40473. #: guix-git/doc/guix.texi:27426
  40474. #, no-wrap
  40475. msgid "@code{timezone} (default @code{#f})"
  40476. msgstr ""
  40477. #. type: table
  40478. #: guix-git/doc/guix.texi:27428
  40479. msgid "Specifies @code{php_admin_value[date.timezone]} parameter."
  40480. msgstr ""
  40481. #. type: item
  40482. #: guix-git/doc/guix.texi:27428
  40483. #, no-wrap
  40484. msgid "@code{workers-logfile} (default @code{(string-append \"/var/log/php\" (version-major (package-version php)) \"-fpm.www.log\")})"
  40485. msgstr ""
  40486. #. type: table
  40487. #: guix-git/doc/guix.texi:27431
  40488. msgid "This file will log the @code{stderr} outputs of php worker processes. Can be set to @code{#f} to disable logging."
  40489. msgstr ""
  40490. #. type: item
  40491. #: guix-git/doc/guix.texi:27431
  40492. #, no-wrap
  40493. msgid "@code{file} (default @code{#f})"
  40494. msgstr ""
  40495. #. type: table
  40496. #: guix-git/doc/guix.texi:27434
  40497. msgid "An optional override of the whole configuration. You can use the @code{mixed-text-file} function or an absolute filepath for it."
  40498. msgstr ""
  40499. #. type: item
  40500. #: guix-git/doc/guix.texi:27434
  40501. #, no-wrap
  40502. msgid "@code{php-ini-file} (default @code{#f})"
  40503. msgstr ""
  40504. #. type: table
  40505. #: guix-git/doc/guix.texi:27438
  40506. 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."
  40507. msgstr ""
  40508. #. type: table
  40509. #: guix-git/doc/guix.texi:27442
  40510. 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:"
  40511. msgstr ""
  40512. #. type: lisp
  40513. #: guix-git/doc/guix.texi:27447
  40514. #, no-wrap
  40515. msgid ""
  40516. "(define %local-php-ini\n"
  40517. " (plain-file \"php.ini\"\n"
  40518. " \"memory_limit = 2G\n"
  40519. "max_execution_time = 1800\"))\n"
  40520. "\n"
  40521. msgstr ""
  40522. #. type: lisp
  40523. #: guix-git/doc/guix.texi:27454
  40524. #, no-wrap
  40525. msgid ""
  40526. "(operating-system\n"
  40527. " ;; @dots{}\n"
  40528. " (services (cons (service php-fpm-service-type\n"
  40529. " (php-fpm-configuration\n"
  40530. " (php-ini-file %local-php-ini)))\n"
  40531. " %base-services)))\n"
  40532. msgstr ""
  40533. #. type: table
  40534. #: guix-git/doc/guix.texi:27459
  40535. 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."
  40536. msgstr ""
  40537. #. type: deftp
  40538. #: guix-git/doc/guix.texi:27462
  40539. #, no-wrap
  40540. msgid "{Data type} php-fpm-dynamic-process-manager-configuration"
  40541. msgstr ""
  40542. #. type: deftp
  40543. #: guix-git/doc/guix.texi:27466
  40544. 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."
  40545. msgstr ""
  40546. #. type: item
  40547. #: guix-git/doc/guix.texi:27467 guix-git/doc/guix.texi:27483
  40548. #: guix-git/doc/guix.texi:27493
  40549. #, no-wrap
  40550. msgid "@code{max-children} (default: @code{5})"
  40551. msgstr ""
  40552. #. type: table
  40553. #: guix-git/doc/guix.texi:27469 guix-git/doc/guix.texi:27485
  40554. #: guix-git/doc/guix.texi:27495
  40555. msgid "Maximum of worker processes."
  40556. msgstr ""
  40557. #. type: item
  40558. #: guix-git/doc/guix.texi:27469
  40559. #, no-wrap
  40560. msgid "@code{start-servers} (default: @code{2})"
  40561. msgstr ""
  40562. #. type: table
  40563. #: guix-git/doc/guix.texi:27471
  40564. msgid "How many worker processes should be started on start-up."
  40565. msgstr ""
  40566. #. type: item
  40567. #: guix-git/doc/guix.texi:27471
  40568. #, no-wrap
  40569. msgid "@code{min-spare-servers} (default: @code{1})"
  40570. msgstr ""
  40571. #. type: table
  40572. #: guix-git/doc/guix.texi:27473
  40573. msgid "How many spare worker processes should be kept around at minimum."
  40574. msgstr ""
  40575. #. type: item
  40576. #: guix-git/doc/guix.texi:27473
  40577. #, no-wrap
  40578. msgid "@code{max-spare-servers} (default: @code{3})"
  40579. msgstr ""
  40580. #. type: table
  40581. #: guix-git/doc/guix.texi:27475
  40582. msgid "How many spare worker processes should be kept around at maximum."
  40583. msgstr ""
  40584. #. type: deftp
  40585. #: guix-git/doc/guix.texi:27478
  40586. #, no-wrap
  40587. msgid "{Data type} php-fpm-static-process-manager-configuration"
  40588. msgstr ""
  40589. #. type: deftp
  40590. #: guix-git/doc/guix.texi:27482
  40591. 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."
  40592. msgstr ""
  40593. #. type: deftp
  40594. #: guix-git/doc/guix.texi:27488
  40595. #, no-wrap
  40596. msgid "{Data type} php-fpm-on-demand-process-manager-configuration"
  40597. msgstr ""
  40598. #. type: deftp
  40599. #: guix-git/doc/guix.texi:27492
  40600. 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."
  40601. msgstr ""
  40602. #. type: item
  40603. #: guix-git/doc/guix.texi:27495
  40604. #, no-wrap
  40605. msgid "@code{process-idle-timeout} (default: @code{10})"
  40606. msgstr ""
  40607. #. type: table
  40608. #: guix-git/doc/guix.texi:27497
  40609. msgid "The time in seconds after which a process with no requests is killed."
  40610. msgstr ""
  40611. #. type: deffn
  40612. #: guix-git/doc/guix.texi:27501
  40613. #, no-wrap
  40614. msgid "{Scheme Procedure} nginx-php-location @"
  40615. msgstr ""
  40616. #. type: deffn
  40617. #: guix-git/doc/guix.texi:27507
  40618. 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}."
  40619. msgstr ""
  40620. #. type: Plain text
  40621. #: guix-git/doc/guix.texi:27510
  40622. msgid "A simple services setup for nginx with php can look like this:"
  40623. msgstr ""
  40624. #. type: lisp
  40625. #: guix-git/doc/guix.texi:27523
  40626. #, no-wrap
  40627. msgid ""
  40628. "(services (cons* (service dhcp-client-service-type)\n"
  40629. " (service php-fpm-service-type)\n"
  40630. " (service nginx-service-type\n"
  40631. " (nginx-server-configuration\n"
  40632. " (server-name '(\"example.com\"))\n"
  40633. " (root \"/srv/http/\")\n"
  40634. " (locations\n"
  40635. " (list (nginx-php-location)))\n"
  40636. " (listen '(\"80\"))\n"
  40637. " (ssl-certificate #f)\n"
  40638. " (ssl-certificate-key #f)))\n"
  40639. " %base-services))\n"
  40640. msgstr ""
  40641. #. type: cindex
  40642. #: guix-git/doc/guix.texi:27525
  40643. #, no-wrap
  40644. msgid "cat-avatar-generator"
  40645. msgstr ""
  40646. #. type: Plain text
  40647. #: guix-git/doc/guix.texi:27529
  40648. 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."
  40649. msgstr ""
  40650. #. type: deffn
  40651. #: guix-git/doc/guix.texi:27530
  40652. #, no-wrap
  40653. msgid "{Scheme Procedure} cat-avatar-generator-service @"
  40654. msgstr ""
  40655. #. type: deffn
  40656. #: guix-git/doc/guix.texi:27538
  40657. 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."
  40658. msgstr ""
  40659. #. type: Plain text
  40660. #: guix-git/doc/guix.texi:27541
  40661. msgid "A simple setup for cat-avatar-generator can look like this:"
  40662. msgstr ""
  40663. #. type: lisp
  40664. #: guix-git/doc/guix.texi:27548
  40665. #, no-wrap
  40666. msgid ""
  40667. "(services (cons* (cat-avatar-generator-service\n"
  40668. " #:configuration\n"
  40669. " (nginx-server-configuration\n"
  40670. " (server-name '(\"example.com\"))))\n"
  40671. " ...\n"
  40672. " %base-services))\n"
  40673. msgstr ""
  40674. #. type: subsubheading
  40675. #: guix-git/doc/guix.texi:27550
  40676. #, no-wrap
  40677. msgid "Hpcguix-web"
  40678. msgstr ""
  40679. #. type: cindex
  40680. #: guix-git/doc/guix.texi:27552
  40681. #, no-wrap
  40682. msgid "hpcguix-web"
  40683. msgstr ""
  40684. #. type: Plain text
  40685. #: guix-git/doc/guix.texi:27557
  40686. 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."
  40687. msgstr ""
  40688. #. type: defvr
  40689. #: guix-git/doc/guix.texi:27558
  40690. #, no-wrap
  40691. msgid "{Scheme Variable} hpcguix-web-service-type"
  40692. msgstr ""
  40693. #. type: defvr
  40694. #: guix-git/doc/guix.texi:27560
  40695. msgid "The service type for @code{hpcguix-web}."
  40696. msgstr ""
  40697. #. type: deftp
  40698. #: guix-git/doc/guix.texi:27562
  40699. #, no-wrap
  40700. msgid "{Data Type} hpcguix-web-configuration"
  40701. msgstr ""
  40702. #. type: deftp
  40703. #: guix-git/doc/guix.texi:27564
  40704. msgid "Data type for the hpcguix-web service configuration."
  40705. msgstr ""
  40706. #. type: code{#1}
  40707. #: guix-git/doc/guix.texi:27566
  40708. #, no-wrap
  40709. msgid "specs"
  40710. msgstr ""
  40711. #. type: table
  40712. #: guix-git/doc/guix.texi:27569
  40713. msgid "A gexp (@pxref{G-Expressions}) specifying the hpcguix-web service configuration. The main items available in this spec are:"
  40714. msgstr ""
  40715. #. type: item
  40716. #: guix-git/doc/guix.texi:27571
  40717. #, no-wrap
  40718. msgid "@code{title-prefix} (default: @code{\"hpcguix | \"})"
  40719. msgstr ""
  40720. #. type: table
  40721. #: guix-git/doc/guix.texi:27573
  40722. msgid "The page title prefix."
  40723. msgstr ""
  40724. #. type: item
  40725. #: guix-git/doc/guix.texi:27574
  40726. #, no-wrap
  40727. msgid "@code{guix-command} (default: @code{\"guix\"})"
  40728. msgstr ""
  40729. #. type: table
  40730. #: guix-git/doc/guix.texi:27576
  40731. msgid "The @command{guix} command."
  40732. msgstr ""
  40733. #. type: item
  40734. #: guix-git/doc/guix.texi:27577
  40735. #, no-wrap
  40736. msgid "@code{package-filter-proc} (default: @code{(const #t)})"
  40737. msgstr ""
  40738. #. type: table
  40739. #: guix-git/doc/guix.texi:27579
  40740. msgid "A procedure specifying how to filter packages that are displayed."
  40741. msgstr ""
  40742. #. type: item
  40743. #: guix-git/doc/guix.texi:27580
  40744. #, no-wrap
  40745. msgid "@code{package-page-extension-proc} (default: @code{(const '())})"
  40746. msgstr ""
  40747. #. type: table
  40748. #: guix-git/doc/guix.texi:27582
  40749. msgid "Extension package for @code{hpcguix-web}."
  40750. msgstr ""
  40751. #. type: item
  40752. #: guix-git/doc/guix.texi:27583
  40753. #, no-wrap
  40754. msgid "@code{menu} (default: @code{'()})"
  40755. msgstr ""
  40756. #. type: table
  40757. #: guix-git/doc/guix.texi:27585
  40758. msgid "Additional entry in page @code{menu}."
  40759. msgstr ""
  40760. #. type: item
  40761. #: guix-git/doc/guix.texi:27586
  40762. #, no-wrap
  40763. msgid "@code{channels} (default: @code{%default-channels})"
  40764. msgstr ""
  40765. #. type: table
  40766. #: guix-git/doc/guix.texi:27588
  40767. msgid "List of channels from which the package list is built (@pxref{Channels})."
  40768. msgstr ""
  40769. #. type: item
  40770. #: guix-git/doc/guix.texi:27589
  40771. #, no-wrap
  40772. msgid "@code{package-list-expiration} (default: @code{(* 12 3600)})"
  40773. msgstr ""
  40774. #. type: table
  40775. #: guix-git/doc/guix.texi:27592
  40776. msgid "The expiration time, in seconds, after which the package list is rebuilt from the latest instances of the given channels."
  40777. msgstr ""
  40778. #. type: table
  40779. #: guix-git/doc/guix.texi:27597
  40780. msgid "See the hpcguix-web repository for a @uref{https://github.com/UMCUGenetics/hpcguix-web/blob/master/hpcweb-configuration.scm, complete example}."
  40781. msgstr ""
  40782. #. type: item
  40783. #: guix-git/doc/guix.texi:27598
  40784. #, no-wrap
  40785. msgid "@code{package} (default: @code{hpcguix-web})"
  40786. msgstr ""
  40787. #. type: table
  40788. #: guix-git/doc/guix.texi:27600
  40789. msgid "The hpcguix-web package to use."
  40790. msgstr ""
  40791. #. type: item
  40792. #: guix-git/doc/guix.texi:27601
  40793. #, no-wrap
  40794. msgid "@code{address} (default: @code{\"127.0.0.1\"})"
  40795. msgstr ""
  40796. #. type: table
  40797. #: guix-git/doc/guix.texi:27603
  40798. msgid "The IP address to listen to."
  40799. msgstr ""
  40800. #. type: item
  40801. #: guix-git/doc/guix.texi:27604
  40802. #, no-wrap
  40803. msgid "@code{port} (default: @code{5000})"
  40804. msgstr ""
  40805. #. type: table
  40806. #: guix-git/doc/guix.texi:27606
  40807. msgid "The port number to listen to."
  40808. msgstr ""
  40809. #. type: Plain text
  40810. #: guix-git/doc/guix.texi:27610
  40811. msgid "A typical hpcguix-web service declaration looks like this:"
  40812. msgstr ""
  40813. #. type: lisp
  40814. #: guix-git/doc/guix.texi:27619
  40815. #, no-wrap
  40816. msgid ""
  40817. "(service hpcguix-web-service-type\n"
  40818. " (hpcguix-web-configuration\n"
  40819. " (specs\n"
  40820. " #~(define site-config\n"
  40821. " (hpcweb-configuration\n"
  40822. " (title-prefix \"Guix-HPC - \")\n"
  40823. " (menu '((\"/about\" \"ABOUT\"))))))))\n"
  40824. msgstr ""
  40825. #. type: quotation
  40826. #: guix-git/doc/guix.texi:27626
  40827. 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."
  40828. msgstr ""
  40829. #. type: quotation
  40830. #: guix-git/doc/guix.texi:27630
  40831. 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."
  40832. msgstr ""
  40833. #. type: cindex
  40834. #: guix-git/doc/guix.texi:27632 guix-git/doc/guix.texi:27634
  40835. #, no-wrap
  40836. msgid "gmnisrv"
  40837. msgstr ""
  40838. #. type: Plain text
  40839. #: guix-git/doc/guix.texi:27637
  40840. msgid "The @uref{https://git.sr.ht/~sircmpwn/gmnisrv, gmnisrv} program is a simple @uref{https://gemini.circumlunar.space/, Gemini} protocol server."
  40841. msgstr ""
  40842. #. type: deffn
  40843. #: guix-git/doc/guix.texi:27638
  40844. #, no-wrap
  40845. msgid "{Scheme Variable} gmnisrv-service-type"
  40846. msgstr ""
  40847. #. type: deffn
  40848. #: guix-git/doc/guix.texi:27641
  40849. msgid "This is the type of the gmnisrv service, whose value should be a @code{gmnisrv-configuration} object, as in this example:"
  40850. msgstr ""
  40851. #. type: lisp
  40852. #: guix-git/doc/guix.texi:27646
  40853. #, no-wrap
  40854. msgid ""
  40855. "(service gmnisrv-service-type\n"
  40856. " (gmnisrv-configuration\n"
  40857. " (config-file (local-file \"./my-gmnisrv.ini\"))))\n"
  40858. msgstr ""
  40859. #. type: deftp
  40860. #: guix-git/doc/guix.texi:27649
  40861. #, no-wrap
  40862. msgid "{Data Type} gmnisrv-configuration"
  40863. msgstr ""
  40864. #. type: deftp
  40865. #: guix-git/doc/guix.texi:27651
  40866. msgid "Data type representing the configuration of gmnisrv."
  40867. msgstr ""
  40868. #. type: item
  40869. #: guix-git/doc/guix.texi:27653
  40870. #, no-wrap
  40871. msgid "@code{package} (default: @var{gmnisrv})"
  40872. msgstr ""
  40873. #. type: table
  40874. #: guix-git/doc/guix.texi:27655
  40875. msgid "Package object of the gmnisrv server."
  40876. msgstr ""
  40877. #. type: item
  40878. #: guix-git/doc/guix.texi:27656
  40879. #, no-wrap
  40880. msgid "@code{config-file} (default: @code{%default-gmnisrv-config-file})"
  40881. msgstr ""
  40882. #. type: table
  40883. #: guix-git/doc/guix.texi:27662
  40884. 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}."
  40885. msgstr ""
  40886. #. type: subsubheading
  40887. #: guix-git/doc/guix.texi:27666
  40888. #, no-wrap
  40889. msgid "Agate"
  40890. msgstr ""
  40891. #. type: cindex
  40892. #: guix-git/doc/guix.texi:27668
  40893. #, no-wrap
  40894. msgid "agate"
  40895. msgstr ""
  40896. #. type: Plain text
  40897. #: guix-git/doc/guix.texi:27673
  40898. 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."
  40899. msgstr ""
  40900. #. type: deffn
  40901. #: guix-git/doc/guix.texi:27674
  40902. #, no-wrap
  40903. msgid "{Scheme Variable} agate-service-type"
  40904. msgstr ""
  40905. #. type: deffn
  40906. #: guix-git/doc/guix.texi:27677
  40907. msgid "This is the type of the agate service, whose value should be an @code{agate-service-type} object, as in this example:"
  40908. msgstr ""
  40909. #. type: lisp
  40910. #: guix-git/doc/guix.texi:27684
  40911. #, no-wrap
  40912. msgid ""
  40913. "(service agate-service-type\n"
  40914. "\t (agate-configuration\n"
  40915. "\t (content \"/srv/gemini\")\n"
  40916. "\t (cert \"/srv/cert.pem\")\n"
  40917. "\t (key \"/srv/key.rsa\")))\n"
  40918. msgstr ""
  40919. #. type: deffn
  40920. #: guix-git/doc/guix.texi:27689
  40921. 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."
  40922. msgstr ""
  40923. #. type: deffn
  40924. #: guix-git/doc/guix.texi:27692
  40925. msgid "To obtain a certificate and a key, you could, for example, use OpenSSL, running a command similar to the following example:"
  40926. msgstr ""
  40927. #. type: example
  40928. #: guix-git/doc/guix.texi:27696
  40929. #, no-wrap
  40930. msgid ""
  40931. "openssl req -x509 -newkey rsa:4096 -keyout key.rsa -out cert.pem \\\n"
  40932. " -days 3650 -nodes -subj \"/CN=example.com\"\n"
  40933. msgstr ""
  40934. #. type: deffn
  40935. #: guix-git/doc/guix.texi:27701
  40936. 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."
  40937. msgstr ""
  40938. #. type: deftp
  40939. #: guix-git/doc/guix.texi:27704
  40940. #, no-wrap
  40941. msgid "{Data Type} agate-configuration"
  40942. msgstr ""
  40943. #. type: deftp
  40944. #: guix-git/doc/guix.texi:27706
  40945. msgid "Data type representing the configuration of Agate."
  40946. msgstr ""
  40947. #. type: item
  40948. #: guix-git/doc/guix.texi:27708
  40949. #, no-wrap
  40950. msgid "@code{package} (default: @code{agate})"
  40951. msgstr ""
  40952. #. type: table
  40953. #: guix-git/doc/guix.texi:27710
  40954. msgid "The package object of the Agate server."
  40955. msgstr ""
  40956. #. type: item
  40957. #: guix-git/doc/guix.texi:27711
  40958. #, no-wrap
  40959. msgid "@code{content} (default: @file{\"/srv/gemini\"})"
  40960. msgstr ""
  40961. #. type: table
  40962. #: guix-git/doc/guix.texi:27713
  40963. msgid "The directory from which Agate will serve files."
  40964. msgstr ""
  40965. #. type: item
  40966. #: guix-git/doc/guix.texi:27714
  40967. #, no-wrap
  40968. msgid "@code{cert} (default: @code{#f})"
  40969. msgstr ""
  40970. #. type: table
  40971. #: guix-git/doc/guix.texi:27717
  40972. 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."
  40973. msgstr ""
  40974. #. type: item
  40975. #: guix-git/doc/guix.texi:27718 guix-git/doc/guix.texi:28154
  40976. #, no-wrap
  40977. msgid "@code{key} (default: @code{#f})"
  40978. msgstr ""
  40979. #. type: table
  40980. #: guix-git/doc/guix.texi:27721
  40981. 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."
  40982. msgstr ""
  40983. #. type: item
  40984. #: guix-git/doc/guix.texi:27722
  40985. #, no-wrap
  40986. msgid "@code{addr} (default: @code{'(\"0.0.0.0:1965\" \"[::]:1965\")})"
  40987. msgstr ""
  40988. #. type: table
  40989. #: guix-git/doc/guix.texi:27724
  40990. msgid "A list of the addresses to listen on."
  40991. msgstr ""
  40992. #. type: table
  40993. #: guix-git/doc/guix.texi:27727
  40994. msgid "The domain name of this Gemini server. Optional."
  40995. msgstr ""
  40996. #. type: item
  40997. #: guix-git/doc/guix.texi:27728
  40998. #, no-wrap
  40999. msgid "@code{lang} (default: @code{#f})"
  41000. msgstr ""
  41001. #. type: table
  41002. #: guix-git/doc/guix.texi:27730
  41003. msgid "RFC 4646 language code(s) for text/gemini documents. Optional."
  41004. msgstr ""
  41005. #. type: item
  41006. #: guix-git/doc/guix.texi:27731
  41007. #, no-wrap
  41008. msgid "@code{silent?} (default: @code{#f})"
  41009. msgstr ""
  41010. #. type: table
  41011. #: guix-git/doc/guix.texi:27733
  41012. msgid "Set to @code{#t} to disable logging output."
  41013. msgstr ""
  41014. #. type: item
  41015. #: guix-git/doc/guix.texi:27734
  41016. #, no-wrap
  41017. msgid "@code{serve-secret?} (default: @code{#f})"
  41018. msgstr ""
  41019. #. type: table
  41020. #: guix-git/doc/guix.texi:27737
  41021. msgid "Set to @code{#t} to serve secret files (files/directories starting with a dot)."
  41022. msgstr ""
  41023. #. type: item
  41024. #: guix-git/doc/guix.texi:27738
  41025. #, no-wrap
  41026. msgid "@code{log-ip?} (default: @code{#t})"
  41027. msgstr ""
  41028. #. type: table
  41029. #: guix-git/doc/guix.texi:27740
  41030. msgid "Whether or not to output IP addresses when logging."
  41031. msgstr ""
  41032. #. type: item
  41033. #: guix-git/doc/guix.texi:27741
  41034. #, no-wrap
  41035. msgid "@code{user} (default: @code{\"agate\"})"
  41036. msgstr ""
  41037. #. type: table
  41038. #: guix-git/doc/guix.texi:27743
  41039. msgid "Owner of the @code{agate} process."
  41040. msgstr ""
  41041. #. type: item
  41042. #: guix-git/doc/guix.texi:27744
  41043. #, no-wrap
  41044. msgid "@code{group} (default: @code{\"agate\"})"
  41045. msgstr ""
  41046. #. type: table
  41047. #: guix-git/doc/guix.texi:27746
  41048. msgid "Owner's group of the @code{agate} process."
  41049. msgstr ""
  41050. #. type: item
  41051. #: guix-git/doc/guix.texi:27747
  41052. #, no-wrap
  41053. msgid "@code{log-file} (default: @file{\"/var/log/agate.log\"})"
  41054. msgstr ""
  41055. #. type: table
  41056. #: guix-git/doc/guix.texi:27749
  41057. msgid "The file which should store the logging output of Agate."
  41058. msgstr ""
  41059. #. type: cindex
  41060. #: guix-git/doc/guix.texi:27756
  41061. #, no-wrap
  41062. msgid "Web"
  41063. msgstr ""
  41064. #. type: cindex
  41065. #: guix-git/doc/guix.texi:27757
  41066. #, no-wrap
  41067. msgid "HTTP, HTTPS"
  41068. msgstr ""
  41069. #. type: cindex
  41070. #: guix-git/doc/guix.texi:27758
  41071. #, no-wrap
  41072. msgid "Let's Encrypt"
  41073. msgstr ""
  41074. #. type: cindex
  41075. #: guix-git/doc/guix.texi:27759
  41076. #, no-wrap
  41077. msgid "TLS certificates"
  41078. msgstr ""
  41079. #. type: Plain text
  41080. #: guix-git/doc/guix.texi:27766
  41081. 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."
  41082. msgstr ""
  41083. #. type: Plain text
  41084. #: guix-git/doc/guix.texi:27778
  41085. 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."
  41086. msgstr ""
  41087. #. type: Plain text
  41088. #: guix-git/doc/guix.texi:27785
  41089. 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)."
  41090. msgstr ""
  41091. #. type: Plain text
  41092. #: guix-git/doc/guix.texi:27791
  41093. 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."
  41094. msgstr ""
  41095. #. type: Plain text
  41096. #: guix-git/doc/guix.texi:27795
  41097. 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}."
  41098. msgstr ""
  41099. #. type: defvr
  41100. #: guix-git/doc/guix.texi:27796
  41101. #, no-wrap
  41102. msgid "{Scheme Variable} certbot-service-type"
  41103. msgstr ""
  41104. #. type: defvr
  41105. #: guix-git/doc/guix.texi:27799
  41106. 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:"
  41107. msgstr ""
  41108. #. type: lisp
  41109. #: guix-git/doc/guix.texi:27806
  41110. #, no-wrap
  41111. msgid ""
  41112. "(define %nginx-deploy-hook\n"
  41113. " (program-file\n"
  41114. " \"nginx-deploy-hook\"\n"
  41115. " #~(let ((pid (call-with-input-file \"/var/run/nginx/pid\" read)))\n"
  41116. " (kill pid SIGHUP))))\n"
  41117. "\n"
  41118. msgstr ""
  41119. #. type: lisp
  41120. #: guix-git/doc/guix.texi:27817
  41121. #, no-wrap
  41122. msgid ""
  41123. "(service certbot-service-type\n"
  41124. " (certbot-configuration\n"
  41125. " (email \"foo@@example.net\")\n"
  41126. " (certificates\n"
  41127. " (list\n"
  41128. " (certificate-configuration\n"
  41129. " (domains '(\"example.net\" \"www.example.net\"))\n"
  41130. " (deploy-hook %nginx-deploy-hook))\n"
  41131. " (certificate-configuration\n"
  41132. " (domains '(\"bar.example.net\")))))))\n"
  41133. msgstr ""
  41134. #. type: defvr
  41135. #: guix-git/doc/guix.texi:27820
  41136. msgid "See below for details about @code{certbot-configuration}."
  41137. msgstr ""
  41138. #. type: deftp
  41139. #: guix-git/doc/guix.texi:27822
  41140. #, no-wrap
  41141. msgid "{Data Type} certbot-configuration"
  41142. msgstr ""
  41143. #. type: deftp
  41144. #: guix-git/doc/guix.texi:27825
  41145. msgid "Data type representing the configuration of the @code{certbot} service. This type has the following parameters:"
  41146. msgstr ""
  41147. #. type: item
  41148. #: guix-git/doc/guix.texi:27827
  41149. #, no-wrap
  41150. msgid "@code{package} (default: @code{certbot})"
  41151. msgstr ""
  41152. #. type: table
  41153. #: guix-git/doc/guix.texi:27829
  41154. msgid "The certbot package to use."
  41155. msgstr ""
  41156. #. type: item
  41157. #: guix-git/doc/guix.texi:27830
  41158. #, no-wrap
  41159. msgid "@code{webroot} (default: @code{/var/www})"
  41160. msgstr ""
  41161. #. type: table
  41162. #: guix-git/doc/guix.texi:27833
  41163. msgid "The directory from which to serve the Let's Encrypt challenge/response files."
  41164. msgstr ""
  41165. #. type: item
  41166. #: guix-git/doc/guix.texi:27834
  41167. #, no-wrap
  41168. msgid "@code{certificates} (default: @code{()})"
  41169. msgstr ""
  41170. #. type: table
  41171. #: guix-git/doc/guix.texi:27838
  41172. 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}."
  41173. msgstr ""
  41174. #. type: item
  41175. #: guix-git/doc/guix.texi:27839
  41176. #, no-wrap
  41177. msgid "@code{email} (default: @code{#f})"
  41178. msgstr ""
  41179. #. type: table
  41180. #: guix-git/doc/guix.texi:27843
  41181. 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."
  41182. msgstr ""
  41183. #. type: item
  41184. #: guix-git/doc/guix.texi:27844 guix-git/doc/guix.texi:29591
  41185. #, no-wrap
  41186. msgid "@code{server} (default: @code{#f})"
  41187. msgstr ""
  41188. #. type: table
  41189. #: guix-git/doc/guix.texi:27847
  41190. msgid "Optional URL of ACME server. Setting this overrides certbot's default, which is the Let's Encrypt server."
  41191. msgstr ""
  41192. #. type: item
  41193. #: guix-git/doc/guix.texi:27848
  41194. #, no-wrap
  41195. msgid "@code{rsa-key-size} (default: @code{2048})"
  41196. msgstr ""
  41197. #. type: table
  41198. #: guix-git/doc/guix.texi:27850
  41199. msgid "Size of the RSA key."
  41200. msgstr ""
  41201. #. type: item
  41202. #: guix-git/doc/guix.texi:27851
  41203. #, no-wrap
  41204. msgid "@code{default-location} (default: @i{see below})"
  41205. msgstr ""
  41206. #. type: table
  41207. #: guix-git/doc/guix.texi:27860
  41208. 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."
  41209. msgstr ""
  41210. #. type: table
  41211. #: guix-git/doc/guix.texi:27864
  41212. 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."
  41213. msgstr ""
  41214. #. type: table
  41215. #: guix-git/doc/guix.texi:27868
  41216. 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}."
  41217. msgstr ""
  41218. #. type: table
  41219. #: guix-git/doc/guix.texi:27870
  41220. msgid "Pass @code{#f} to not issue a default location."
  41221. msgstr ""
  41222. #. type: deftp
  41223. #: guix-git/doc/guix.texi:27873
  41224. #, no-wrap
  41225. msgid "{Data Type} certificate-configuration"
  41226. msgstr ""
  41227. #. type: deftp
  41228. #: guix-git/doc/guix.texi:27876
  41229. msgid "Data type representing the configuration of a certificate. This type has the following parameters:"
  41230. msgstr ""
  41231. #. type: item
  41232. #: guix-git/doc/guix.texi:27878
  41233. #, no-wrap
  41234. msgid "@code{name} (default: @i{see below})"
  41235. msgstr ""
  41236. #. type: table
  41237. #: guix-git/doc/guix.texi:27882
  41238. 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}."
  41239. msgstr ""
  41240. #. type: table
  41241. #: guix-git/doc/guix.texi:27884
  41242. msgid "Its default is the first provided domain."
  41243. msgstr ""
  41244. #. type: item
  41245. #: guix-git/doc/guix.texi:27885
  41246. #, no-wrap
  41247. msgid "@code{domains} (default: @code{()})"
  41248. msgstr ""
  41249. #. type: table
  41250. #: guix-git/doc/guix.texi:27888
  41251. msgid "The first domain provided will be the subject CN of the certificate, and all domains will be Subject Alternative Names on the certificate."
  41252. msgstr ""
  41253. #. type: item
  41254. #: guix-git/doc/guix.texi:27889
  41255. #, no-wrap
  41256. msgid "@code{challenge} (default: @code{#f})"
  41257. msgstr ""
  41258. #. type: table
  41259. #: guix-git/doc/guix.texi:27896
  41260. 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."
  41261. msgstr ""
  41262. #. type: item
  41263. #: guix-git/doc/guix.texi:27897
  41264. #, no-wrap
  41265. msgid "@code{csr} (default: @code{#f})"
  41266. msgstr ""
  41267. #. type: table
  41268. #: guix-git/doc/guix.texi:27904
  41269. 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."
  41270. msgstr ""
  41271. #. type: item
  41272. #: guix-git/doc/guix.texi:27905
  41273. #, no-wrap
  41274. msgid "@code{authentication-hook} (default: @code{#f})"
  41275. msgstr ""
  41276. #. type: table
  41277. #: guix-git/doc/guix.texi:27911
  41278. 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."
  41279. msgstr ""
  41280. #. type: item
  41281. #: guix-git/doc/guix.texi:27912
  41282. #, no-wrap
  41283. msgid "@code{cleanup-hook} (default: @code{#f})"
  41284. msgstr ""
  41285. #. type: table
  41286. #: guix-git/doc/guix.texi:27918
  41287. 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."
  41288. msgstr ""
  41289. #. type: item
  41290. #: guix-git/doc/guix.texi:27919
  41291. #, no-wrap
  41292. msgid "@code{deploy-hook} (default: @code{#f})"
  41293. msgstr ""
  41294. #. type: table
  41295. #: guix-git/doc/guix.texi:27927
  41296. 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\"}."
  41297. msgstr ""
  41298. #. type: Plain text
  41299. #: guix-git/doc/guix.texi:27934
  41300. 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}."
  41301. msgstr ""
  41302. #. type: cindex
  41303. #: guix-git/doc/guix.texi:27936
  41304. #, no-wrap
  41305. msgid "DNS (domain name system)"
  41306. msgstr ""
  41307. #. type: cindex
  41308. #: guix-git/doc/guix.texi:27937
  41309. #, no-wrap
  41310. msgid "domain name system (DNS)"
  41311. msgstr ""
  41312. #. type: Plain text
  41313. #: guix-git/doc/guix.texi:27945
  41314. 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}."
  41315. msgstr ""
  41316. #. type: subsubheading
  41317. #: guix-git/doc/guix.texi:27946
  41318. #, no-wrap
  41319. msgid "Knot Service"
  41320. msgstr ""
  41321. #. type: Plain text
  41322. #: guix-git/doc/guix.texi:27950
  41323. msgid "An example configuration of an authoritative server for two zones, one master and one slave, is:"
  41324. msgstr ""
  41325. #. type: lisp
  41326. #: guix-git/doc/guix.texi:27957
  41327. #, no-wrap
  41328. msgid ""
  41329. "(define-zone-entries example.org.zone\n"
  41330. ";; Name TTL Class Type Data\n"
  41331. " (\"@@\" \"\" \"IN\" \"A\" \"127.0.0.1\")\n"
  41332. " (\"@@\" \"\" \"IN\" \"NS\" \"ns\")\n"
  41333. " (\"ns\" \"\" \"IN\" \"A\" \"127.0.0.1\"))\n"
  41334. "\n"
  41335. msgstr ""
  41336. #. type: lisp
  41337. #: guix-git/doc/guix.texi:27964
  41338. #, no-wrap
  41339. msgid ""
  41340. "(define master-zone\n"
  41341. " (knot-zone-configuration\n"
  41342. " (domain \"example.org\")\n"
  41343. " (zone (zone-file\n"
  41344. " (origin \"example.org\")\n"
  41345. " (entries example.org.zone)))))\n"
  41346. "\n"
  41347. msgstr ""
  41348. #. type: lisp
  41349. #: guix-git/doc/guix.texi:27970
  41350. #, no-wrap
  41351. msgid ""
  41352. "(define slave-zone\n"
  41353. " (knot-zone-configuration\n"
  41354. " (domain \"plop.org\")\n"
  41355. " (dnssec-policy \"default\")\n"
  41356. " (master (list \"plop-master\"))))\n"
  41357. "\n"
  41358. msgstr ""
  41359. #. type: lisp
  41360. #: guix-git/doc/guix.texi:27975
  41361. #, no-wrap
  41362. msgid ""
  41363. "(define plop-master\n"
  41364. " (knot-remote-configuration\n"
  41365. " (id \"plop-master\")\n"
  41366. " (address (list \"208.76.58.171\"))))\n"
  41367. "\n"
  41368. msgstr ""
  41369. #. type: lisp
  41370. #: guix-git/doc/guix.texi:27984
  41371. #, no-wrap
  41372. msgid ""
  41373. "(operating-system\n"
  41374. " ;; ...\n"
  41375. " (services (cons* (service knot-service-type\n"
  41376. " (knot-configuration\n"
  41377. " (remotes (list plop-master))\n"
  41378. " (zones (list master-zone slave-zone))))\n"
  41379. " ;; ...\n"
  41380. " %base-services)))\n"
  41381. msgstr ""
  41382. #. type: deffn
  41383. #: guix-git/doc/guix.texi:27986
  41384. #, no-wrap
  41385. msgid "{Scheme Variable} knot-service-type"
  41386. msgstr ""
  41387. #. type: deffn
  41388. #: guix-git/doc/guix.texi:27988
  41389. msgid "This is the type for the Knot DNS server."
  41390. msgstr ""
  41391. #. type: deffn
  41392. #: guix-git/doc/guix.texi:27996
  41393. 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."
  41394. msgstr ""
  41395. #. type: deffn
  41396. #: guix-git/doc/guix.texi:27998
  41397. msgid "The following data types are used to configure the Knot DNS server:"
  41398. msgstr ""
  41399. #. type: deftp
  41400. #: guix-git/doc/guix.texi:28000
  41401. #, no-wrap
  41402. msgid "{Data Type} knot-key-configuration"
  41403. msgstr ""
  41404. #. type: deftp
  41405. #: guix-git/doc/guix.texi:28003
  41406. msgid "Data type representing a key. This type has the following parameters:"
  41407. msgstr ""
  41408. #. type: item
  41409. #: guix-git/doc/guix.texi:28005 guix-git/doc/guix.texi:28025
  41410. #: guix-git/doc/guix.texi:28140 guix-git/doc/guix.texi:28166
  41411. #: guix-git/doc/guix.texi:28201
  41412. #, no-wrap
  41413. msgid "@code{id} (default: @code{\"\"})"
  41414. msgstr ""
  41415. #. type: table
  41416. #: guix-git/doc/guix.texi:28008 guix-git/doc/guix.texi:28028
  41417. msgid "An identifier for other configuration fields to refer to this key. IDs must be unique and must not be empty."
  41418. msgstr ""
  41419. #. type: item
  41420. #: guix-git/doc/guix.texi:28009
  41421. #, no-wrap
  41422. msgid "@code{algorithm} (default: @code{#f})"
  41423. msgstr ""
  41424. #. type: table
  41425. #: guix-git/doc/guix.texi:28013
  41426. 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}."
  41427. msgstr ""
  41428. #. type: item
  41429. #: guix-git/doc/guix.texi:28014
  41430. #, no-wrap
  41431. msgid "@code{secret} (default: @code{\"\"})"
  41432. msgstr ""
  41433. #. type: table
  41434. #: guix-git/doc/guix.texi:28016
  41435. msgid "The secret key itself."
  41436. msgstr ""
  41437. #. type: deftp
  41438. #: guix-git/doc/guix.texi:28020
  41439. #, no-wrap
  41440. msgid "{Data Type} knot-acl-configuration"
  41441. msgstr ""
  41442. #. type: deftp
  41443. #: guix-git/doc/guix.texi:28023
  41444. msgid "Data type representing an Access Control List (ACL) configuration. This type has the following parameters:"
  41445. msgstr ""
  41446. #. type: item
  41447. #: guix-git/doc/guix.texi:28029 guix-git/doc/guix.texi:28144
  41448. #, no-wrap
  41449. msgid "@code{address} (default: @code{'()})"
  41450. msgstr ""
  41451. #. type: table
  41452. #: guix-git/doc/guix.texi:28033
  41453. 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."
  41454. msgstr ""
  41455. #. type: item
  41456. #: guix-git/doc/guix.texi:28034
  41457. #, no-wrap
  41458. msgid "@code{key} (default: @code{'()})"
  41459. msgstr ""
  41460. #. type: table
  41461. #: guix-git/doc/guix.texi:28038
  41462. 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."
  41463. msgstr ""
  41464. #. type: item
  41465. #: guix-git/doc/guix.texi:28039
  41466. #, no-wrap
  41467. msgid "@code{action} (default: @code{'()})"
  41468. msgstr ""
  41469. #. type: table
  41470. #: guix-git/doc/guix.texi:28043
  41471. 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}."
  41472. msgstr ""
  41473. #. type: item
  41474. #: guix-git/doc/guix.texi:28044
  41475. #, no-wrap
  41476. msgid "@code{deny?} (default: @code{#f})"
  41477. msgstr ""
  41478. #. type: table
  41479. #: guix-git/doc/guix.texi:28047
  41480. msgid "When true, the ACL defines restrictions. Listed actions are forbidden. When false, listed actions are allowed."
  41481. msgstr ""
  41482. #. type: deftp
  41483. #: guix-git/doc/guix.texi:28051
  41484. #, no-wrap
  41485. msgid "{Data Type} zone-entry"
  41486. msgstr ""
  41487. #. type: deftp
  41488. #: guix-git/doc/guix.texi:28054
  41489. msgid "Data type representing a record entry in a zone file. This type has the following parameters:"
  41490. msgstr ""
  41491. #. type: item
  41492. #: guix-git/doc/guix.texi:28056
  41493. #, no-wrap
  41494. msgid "@code{name} (default: @code{\"@@\"})"
  41495. msgstr ""
  41496. #. type: table
  41497. #: guix-git/doc/guix.texi:28062
  41498. 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}."
  41499. msgstr ""
  41500. #. type: item
  41501. #: guix-git/doc/guix.texi:28063
  41502. #, no-wrap
  41503. msgid "@code{ttl} (default: @code{\"\"})"
  41504. msgstr ""
  41505. #. type: table
  41506. #: guix-git/doc/guix.texi:28065
  41507. msgid "The Time-To-Live (TTL) of this record. If not set, the default TTL is used."
  41508. msgstr ""
  41509. #. type: item
  41510. #: guix-git/doc/guix.texi:28066
  41511. #, no-wrap
  41512. msgid "@code{class} (default: @code{\"IN\"})"
  41513. msgstr ""
  41514. #. type: table
  41515. #: guix-git/doc/guix.texi:28069
  41516. msgid "The class of the record. Knot currently supports only @code{\"IN\"} and partially @code{\"CH\"}."
  41517. msgstr ""
  41518. #. type: item
  41519. #: guix-git/doc/guix.texi:28070
  41520. #, no-wrap
  41521. msgid "@code{type} (default: @code{\"A\"})"
  41522. msgstr ""
  41523. #. type: table
  41524. #: guix-git/doc/guix.texi:28074
  41525. 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."
  41526. msgstr ""
  41527. #. type: item
  41528. #: guix-git/doc/guix.texi:28075
  41529. #, no-wrap
  41530. msgid "@code{data} (default: @code{\"\"})"
  41531. msgstr ""
  41532. #. type: table
  41533. #: guix-git/doc/guix.texi:28079
  41534. 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."
  41535. msgstr ""
  41536. #. type: deftp
  41537. #: guix-git/doc/guix.texi:28083
  41538. #, no-wrap
  41539. msgid "{Data Type} zone-file"
  41540. msgstr ""
  41541. #. type: deftp
  41542. #: guix-git/doc/guix.texi:28086
  41543. msgid "Data type representing the content of a zone file. This type has the following parameters:"
  41544. msgstr ""
  41545. #. type: table
  41546. #: guix-git/doc/guix.texi:28095
  41547. 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}."
  41548. msgstr ""
  41549. #. type: item
  41550. #: guix-git/doc/guix.texi:28096
  41551. #, no-wrap
  41552. msgid "@code{origin} (default: @code{\"\"})"
  41553. msgstr ""
  41554. #. type: table
  41555. #: guix-git/doc/guix.texi:28098
  41556. msgid "The name of your zone. This parameter cannot be empty."
  41557. msgstr ""
  41558. #. type: item
  41559. #: guix-git/doc/guix.texi:28099
  41560. #, no-wrap
  41561. msgid "@code{ns} (default: @code{\"ns\"})"
  41562. msgstr ""
  41563. #. type: table
  41564. #: guix-git/doc/guix.texi:28104
  41565. 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."
  41566. msgstr ""
  41567. #. type: item
  41568. #: guix-git/doc/guix.texi:28105
  41569. #, no-wrap
  41570. msgid "@code{mail} (default: @code{\"hostmaster\"})"
  41571. msgstr ""
  41572. #. type: table
  41573. #: guix-git/doc/guix.texi:28108
  41574. msgid "An email address people can contact you at, as the owner of the zone. This is translated as @code{<mail>@@<origin>}."
  41575. msgstr ""
  41576. #. type: item
  41577. #: guix-git/doc/guix.texi:28109
  41578. #, no-wrap
  41579. msgid "@code{serial} (default: @code{1})"
  41580. msgstr ""
  41581. #. type: table
  41582. #: guix-git/doc/guix.texi:28113
  41583. 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."
  41584. msgstr ""
  41585. #. type: item
  41586. #: guix-git/doc/guix.texi:28114
  41587. #, no-wrap
  41588. msgid "@code{refresh} (default: @code{(* 2 24 3600)})"
  41589. msgstr ""
  41590. #. type: table
  41591. #: guix-git/doc/guix.texi:28118
  41592. 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)}."
  41593. msgstr ""
  41594. #. type: item
  41595. #: guix-git/doc/guix.texi:28119
  41596. #, no-wrap
  41597. msgid "@code{retry} (default: @code{(* 15 60)})"
  41598. msgstr ""
  41599. #. type: table
  41600. #: guix-git/doc/guix.texi:28122
  41601. msgid "The period after which a slave will retry to contact its master when it fails to do so a first time."
  41602. msgstr ""
  41603. #. type: item
  41604. #: guix-git/doc/guix.texi:28123
  41605. #, no-wrap
  41606. msgid "@code{expiry} (default: @code{(* 14 24 3600)})"
  41607. msgstr ""
  41608. #. type: table
  41609. #: guix-git/doc/guix.texi:28127
  41610. 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."
  41611. msgstr ""
  41612. #. type: item
  41613. #: guix-git/doc/guix.texi:28128
  41614. #, no-wrap
  41615. msgid "@code{nx} (default: @code{3600})"
  41616. msgstr ""
  41617. #. type: table
  41618. #: guix-git/doc/guix.texi:28131
  41619. msgid "Default TTL of inexistent records. This delay is usually short because you want your new domains to reach everyone quickly."
  41620. msgstr ""
  41621. #. type: deftp
  41622. #: guix-git/doc/guix.texi:28135
  41623. #, no-wrap
  41624. msgid "{Data Type} knot-remote-configuration"
  41625. msgstr ""
  41626. #. type: deftp
  41627. #: guix-git/doc/guix.texi:28138
  41628. msgid "Data type representing a remote configuration. This type has the following parameters:"
  41629. msgstr ""
  41630. #. type: table
  41631. #: guix-git/doc/guix.texi:28143
  41632. msgid "An identifier for other configuration fields to refer to this remote. IDs must be unique and must not be empty."
  41633. msgstr ""
  41634. #. type: table
  41635. #: guix-git/doc/guix.texi:28148
  41636. 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."
  41637. msgstr ""
  41638. #. type: item
  41639. #: guix-git/doc/guix.texi:28149
  41640. #, no-wrap
  41641. msgid "@code{via} (default: @code{'()})"
  41642. msgstr ""
  41643. #. type: table
  41644. #: guix-git/doc/guix.texi:28153
  41645. 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."
  41646. msgstr ""
  41647. #. type: table
  41648. #: guix-git/doc/guix.texi:28157
  41649. msgid "A reference to a key, that is a string containing the identifier of a key defined in a @code{knot-key-configuration} field."
  41650. msgstr ""
  41651. #. type: deftp
  41652. #: guix-git/doc/guix.texi:28161
  41653. #, no-wrap
  41654. msgid "{Data Type} knot-keystore-configuration"
  41655. msgstr ""
  41656. #. type: deftp
  41657. #: guix-git/doc/guix.texi:28164
  41658. msgid "Data type representing a keystore to hold dnssec keys. This type has the following parameters:"
  41659. msgstr ""
  41660. #. type: table
  41661. #: guix-git/doc/guix.texi:28168
  41662. msgid "The id of the keystore. It must not be empty."
  41663. msgstr ""
  41664. #. type: item
  41665. #: guix-git/doc/guix.texi:28169
  41666. #, no-wrap
  41667. msgid "@code{backend} (default: @code{'pem})"
  41668. msgstr ""
  41669. #. type: table
  41670. #: guix-git/doc/guix.texi:28171
  41671. msgid "The backend to store the keys in. Can be @code{'pem} or @code{'pkcs11}."
  41672. msgstr ""
  41673. #. type: item
  41674. #: guix-git/doc/guix.texi:28172
  41675. #, no-wrap
  41676. msgid "@code{config} (default: @code{\"/var/lib/knot/keys/keys\"})"
  41677. msgstr ""
  41678. #. type: table
  41679. #: guix-git/doc/guix.texi:28176
  41680. 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."
  41681. msgstr ""
  41682. #. type: deftp
  41683. #: guix-git/doc/guix.texi:28180
  41684. #, no-wrap
  41685. msgid "{Data Type} knot-policy-configuration"
  41686. msgstr ""
  41687. #. type: deftp
  41688. #: guix-git/doc/guix.texi:28184
  41689. 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."
  41690. msgstr ""
  41691. #. type: deftp
  41692. #: guix-git/doc/guix.texi:28191
  41693. 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."
  41694. msgstr ""
  41695. #. type: deftp
  41696. #: guix-git/doc/guix.texi:28197
  41697. 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."
  41698. msgstr ""
  41699. #. type: deftp
  41700. #: guix-git/doc/guix.texi:28199
  41701. msgid "This type has the following parameters:"
  41702. msgstr ""
  41703. #. type: table
  41704. #: guix-git/doc/guix.texi:28203
  41705. msgid "The id of the policy. It must not be empty."
  41706. msgstr ""
  41707. #. type: item
  41708. #: guix-git/doc/guix.texi:28204
  41709. #, no-wrap
  41710. msgid "@code{keystore} (default: @code{\"default\"})"
  41711. msgstr ""
  41712. #. type: table
  41713. #: guix-git/doc/guix.texi:28209
  41714. 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)."
  41715. msgstr ""
  41716. #. type: item
  41717. #: guix-git/doc/guix.texi:28210
  41718. #, no-wrap
  41719. msgid "@code{manual?} (default: @code{#f})"
  41720. msgstr ""
  41721. #. type: table
  41722. #: guix-git/doc/guix.texi:28212
  41723. msgid "Whether the key management is manual or automatic."
  41724. msgstr ""
  41725. #. type: item
  41726. #: guix-git/doc/guix.texi:28213
  41727. #, no-wrap
  41728. msgid "@code{single-type-signing?} (default: @code{#f})"
  41729. msgstr ""
  41730. #. type: table
  41731. #: guix-git/doc/guix.texi:28215
  41732. msgid "When @code{#t}, use the Single-Type Signing Scheme."
  41733. msgstr ""
  41734. #. type: item
  41735. #: guix-git/doc/guix.texi:28216
  41736. #, no-wrap
  41737. msgid "@code{algorithm} (default: @code{\"ecdsap256sha256\"})"
  41738. msgstr ""
  41739. #. type: table
  41740. #: guix-git/doc/guix.texi:28218
  41741. msgid "An algorithm of signing keys and issued signatures."
  41742. msgstr ""
  41743. #. type: item
  41744. #: guix-git/doc/guix.texi:28219
  41745. #, no-wrap
  41746. msgid "@code{ksk-size} (default: @code{256})"
  41747. msgstr ""
  41748. #. type: table
  41749. #: guix-git/doc/guix.texi:28222
  41750. msgid "The length of the KSK@. Note that this value is correct for the default algorithm, but would be unsecure for other algorithms."
  41751. msgstr ""
  41752. #. type: item
  41753. #: guix-git/doc/guix.texi:28223
  41754. #, no-wrap
  41755. msgid "@code{zsk-size} (default: @code{256})"
  41756. msgstr ""
  41757. #. type: table
  41758. #: guix-git/doc/guix.texi:28226
  41759. msgid "The length of the ZSK@. Note that this value is correct for the default algorithm, but would be unsecure for other algorithms."
  41760. msgstr ""
  41761. #. type: item
  41762. #: guix-git/doc/guix.texi:28227
  41763. #, no-wrap
  41764. msgid "@code{dnskey-ttl} (default: @code{'default})"
  41765. msgstr ""
  41766. #. type: table
  41767. #: guix-git/doc/guix.texi:28230
  41768. msgid "The TTL value for DNSKEY records added into zone apex. The special @code{'default} value means same as the zone SOA TTL."
  41769. msgstr ""
  41770. #. type: item
  41771. #: guix-git/doc/guix.texi:28231
  41772. #, no-wrap
  41773. msgid "@code{zsk-lifetime} (default: @code{(* 30 24 3600)})"
  41774. msgstr ""
  41775. #. type: table
  41776. #: guix-git/doc/guix.texi:28233
  41777. msgid "The period between ZSK publication and the next rollover initiation."
  41778. msgstr ""
  41779. #. type: item
  41780. #: guix-git/doc/guix.texi:28234
  41781. #, no-wrap
  41782. msgid "@code{propagation-delay} (default: @code{(* 24 3600)})"
  41783. msgstr ""
  41784. #. type: table
  41785. #: guix-git/doc/guix.texi:28237
  41786. 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."
  41787. msgstr ""
  41788. #. type: item
  41789. #: guix-git/doc/guix.texi:28238
  41790. #, no-wrap
  41791. msgid "@code{rrsig-lifetime} (default: @code{(* 14 24 3600)})"
  41792. msgstr ""
  41793. #. type: table
  41794. #: guix-git/doc/guix.texi:28240
  41795. msgid "A validity period of newly issued signatures."
  41796. msgstr ""
  41797. #. type: item
  41798. #: guix-git/doc/guix.texi:28241
  41799. #, no-wrap
  41800. msgid "@code{rrsig-refresh} (default: @code{(* 7 24 3600)})"
  41801. msgstr ""
  41802. #. type: table
  41803. #: guix-git/doc/guix.texi:28243
  41804. msgid "A period how long before a signature expiration the signature will be refreshed."
  41805. msgstr ""
  41806. #. type: item
  41807. #: guix-git/doc/guix.texi:28244
  41808. #, no-wrap
  41809. msgid "@code{nsec3?} (default: @code{#f})"
  41810. msgstr ""
  41811. #. type: table
  41812. #: guix-git/doc/guix.texi:28246
  41813. msgid "When @code{#t}, NSEC3 will be used instead of NSEC."
  41814. msgstr ""
  41815. #. type: item
  41816. #: guix-git/doc/guix.texi:28247
  41817. #, no-wrap
  41818. msgid "@code{nsec3-iterations} (default: @code{5})"
  41819. msgstr ""
  41820. #. type: table
  41821. #: guix-git/doc/guix.texi:28249
  41822. msgid "The number of additional times the hashing is performed."
  41823. msgstr ""
  41824. #. type: item
  41825. #: guix-git/doc/guix.texi:28250
  41826. #, no-wrap
  41827. msgid "@code{nsec3-salt-length} (default: @code{8})"
  41828. msgstr ""
  41829. #. type: table
  41830. #: guix-git/doc/guix.texi:28253
  41831. msgid "The length of a salt field in octets, which is appended to the original owner name before hashing."
  41832. msgstr ""
  41833. #. type: item
  41834. #: guix-git/doc/guix.texi:28254
  41835. #, no-wrap
  41836. msgid "@code{nsec3-salt-lifetime} (default: @code{(* 30 24 3600)})"
  41837. msgstr ""
  41838. #. type: table
  41839. #: guix-git/doc/guix.texi:28256
  41840. msgid "The validity period of newly issued salt field."
  41841. msgstr ""
  41842. #. type: deftp
  41843. #: guix-git/doc/guix.texi:28260
  41844. #, no-wrap
  41845. msgid "{Data Type} knot-zone-configuration"
  41846. msgstr ""
  41847. #. type: deftp
  41848. #: guix-git/doc/guix.texi:28263
  41849. msgid "Data type representing a zone served by Knot. This type has the following parameters:"
  41850. msgstr ""
  41851. #. type: item
  41852. #: guix-git/doc/guix.texi:28265
  41853. #, no-wrap
  41854. msgid "@code{domain} (default: @code{\"\"})"
  41855. msgstr ""
  41856. #. type: table
  41857. #: guix-git/doc/guix.texi:28267
  41858. msgid "The domain served by this configuration. It must not be empty."
  41859. msgstr ""
  41860. #. type: item
  41861. #: guix-git/doc/guix.texi:28268
  41862. #, no-wrap
  41863. msgid "@code{file} (default: @code{\"\"})"
  41864. msgstr ""
  41865. #. type: table
  41866. #: guix-git/doc/guix.texi:28271
  41867. 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."
  41868. msgstr ""
  41869. #. type: item
  41870. #: guix-git/doc/guix.texi:28272
  41871. #, no-wrap
  41872. msgid "@code{zone} (default: @code{(zone-file)})"
  41873. msgstr ""
  41874. #. type: table
  41875. #: guix-git/doc/guix.texi:28275
  41876. msgid "The content of the zone file. This parameter is ignored by slave zones. It must contain a zone-file record."
  41877. msgstr ""
  41878. #. type: item
  41879. #: guix-git/doc/guix.texi:28276
  41880. #, no-wrap
  41881. msgid "@code{master} (default: @code{'()})"
  41882. msgstr ""
  41883. #. type: table
  41884. #: guix-git/doc/guix.texi:28279
  41885. 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."
  41886. msgstr ""
  41887. #. type: item
  41888. #: guix-git/doc/guix.texi:28280
  41889. #, no-wrap
  41890. msgid "@code{ddns-master} (default: @code{#f})"
  41891. msgstr ""
  41892. #. type: table
  41893. #: guix-git/doc/guix.texi:28283
  41894. msgid "The main master. When empty, it defaults to the first master in the list of masters."
  41895. msgstr ""
  41896. #. type: item
  41897. #: guix-git/doc/guix.texi:28284
  41898. #, no-wrap
  41899. msgid "@code{notify} (default: @code{'()})"
  41900. msgstr ""
  41901. #. type: table
  41902. #: guix-git/doc/guix.texi:28286
  41903. msgid "A list of slave remote identifiers."
  41904. msgstr ""
  41905. #. type: item
  41906. #: guix-git/doc/guix.texi:28287
  41907. #, no-wrap
  41908. msgid "@code{acl} (default: @code{'()})"
  41909. msgstr ""
  41910. #. type: table
  41911. #: guix-git/doc/guix.texi:28289
  41912. msgid "A list of acl identifiers."
  41913. msgstr ""
  41914. #. type: item
  41915. #: guix-git/doc/guix.texi:28290
  41916. #, no-wrap
  41917. msgid "@code{semantic-checks?} (default: @code{#f})"
  41918. msgstr ""
  41919. #. type: table
  41920. #: guix-git/doc/guix.texi:28292
  41921. msgid "When set, this adds more semantic checks to the zone."
  41922. msgstr ""
  41923. #. type: item
  41924. #: guix-git/doc/guix.texi:28293
  41925. #, no-wrap
  41926. msgid "@code{zonefile-sync} (default: @code{0})"
  41927. msgstr ""
  41928. #. type: table
  41929. #: guix-git/doc/guix.texi:28296
  41930. msgid "The delay between a modification in memory and on disk. 0 means immediate synchronization."
  41931. msgstr ""
  41932. #. type: item
  41933. #: guix-git/doc/guix.texi:28297
  41934. #, no-wrap
  41935. msgid "@code{zonefile-load} (default: @code{#f})"
  41936. msgstr ""
  41937. #. type: table
  41938. #: guix-git/doc/guix.texi:28300
  41939. msgid "The way the zone file contents are applied during zone load. Possible values are:"
  41940. msgstr ""
  41941. #. type: item
  41942. #: guix-git/doc/guix.texi:28302
  41943. #, no-wrap
  41944. msgid "@code{#f} for using the default value from Knot,"
  41945. msgstr ""
  41946. #. type: item
  41947. #: guix-git/doc/guix.texi:28303
  41948. #, no-wrap
  41949. msgid "@code{'none} for not using the zone file at all,"
  41950. msgstr ""
  41951. #. type: item
  41952. #: guix-git/doc/guix.texi:28304
  41953. #, no-wrap
  41954. msgid "@code{'difference} for computing the difference between already available"
  41955. msgstr ""
  41956. #. type: itemize
  41957. #: guix-git/doc/guix.texi:28306
  41958. msgid "contents and zone contents and applying it to the current zone contents,"
  41959. msgstr ""
  41960. #. type: item
  41961. #: guix-git/doc/guix.texi:28306
  41962. #, no-wrap
  41963. msgid "@code{'difference-no-serial} for the same as @code{'difference}, but"
  41964. msgstr ""
  41965. #. type: itemize
  41966. #: guix-git/doc/guix.texi:28309
  41967. msgid "ignoring the SOA serial in the zone file, while the server takes care of it automatically."
  41968. msgstr ""
  41969. #. type: item
  41970. #: guix-git/doc/guix.texi:28309
  41971. #, no-wrap
  41972. msgid "@code{'whole} for loading zone contents from the zone file."
  41973. msgstr ""
  41974. #. type: item
  41975. #: guix-git/doc/guix.texi:28312
  41976. #, no-wrap
  41977. msgid "@code{journal-content} (default: @code{#f})"
  41978. msgstr ""
  41979. #. type: table
  41980. #: guix-git/doc/guix.texi:28317
  41981. 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."
  41982. msgstr ""
  41983. #. type: item
  41984. #: guix-git/doc/guix.texi:28318
  41985. #, no-wrap
  41986. msgid "@code{max-journal-usage} (default: @code{#f})"
  41987. msgstr ""
  41988. #. type: table
  41989. #: guix-git/doc/guix.texi:28321
  41990. msgid "The maximum size for the journal on disk. @code{#f} does not set this option, so the default value from Knot is used."
  41991. msgstr ""
  41992. #. type: item
  41993. #: guix-git/doc/guix.texi:28322
  41994. #, no-wrap
  41995. msgid "@code{max-journal-depth} (default: @code{#f})"
  41996. msgstr ""
  41997. #. type: table
  41998. #: guix-git/doc/guix.texi:28325
  41999. msgid "The maximum size of the history. @code{#f} does not set this option, so the default value from Knot is used."
  42000. msgstr ""
  42001. #. type: item
  42002. #: guix-git/doc/guix.texi:28326
  42003. #, no-wrap
  42004. msgid "@code{max-zone-size} (default: @code{#f})"
  42005. msgstr ""
  42006. #. type: table
  42007. #: guix-git/doc/guix.texi:28330
  42008. 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."
  42009. msgstr ""
  42010. #. type: item
  42011. #: guix-git/doc/guix.texi:28331
  42012. #, no-wrap
  42013. msgid "@code{dnssec-policy} (default: @code{#f})"
  42014. msgstr ""
  42015. #. type: table
  42016. #: guix-git/doc/guix.texi:28335
  42017. 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."
  42018. msgstr ""
  42019. #. type: item
  42020. #: guix-git/doc/guix.texi:28336
  42021. #, no-wrap
  42022. msgid "@code{serial-policy} (default: @code{'increment})"
  42023. msgstr ""
  42024. #. type: table
  42025. #: guix-git/doc/guix.texi:28338
  42026. msgid "A policy between @code{'increment} and @code{'unixtime}."
  42027. msgstr ""
  42028. #. type: deftp
  42029. #: guix-git/doc/guix.texi:28342
  42030. #, no-wrap
  42031. msgid "{Data Type} knot-configuration"
  42032. msgstr ""
  42033. #. type: deftp
  42034. #: guix-git/doc/guix.texi:28345
  42035. msgid "Data type representing the Knot configuration. This type has the following parameters:"
  42036. msgstr ""
  42037. #. type: item
  42038. #: guix-git/doc/guix.texi:28347
  42039. #, no-wrap
  42040. msgid "@code{knot} (default: @code{knot})"
  42041. msgstr ""
  42042. #. type: table
  42043. #: guix-git/doc/guix.texi:28349
  42044. msgid "The Knot package."
  42045. msgstr ""
  42046. #. type: item
  42047. #: guix-git/doc/guix.texi:28350
  42048. #, no-wrap
  42049. msgid "@code{run-directory} (default: @code{\"/var/run/knot\"})"
  42050. msgstr ""
  42051. #. type: table
  42052. #: guix-git/doc/guix.texi:28352
  42053. msgid "The run directory. This directory will be used for pid file and sockets."
  42054. msgstr ""
  42055. #. type: item
  42056. #: guix-git/doc/guix.texi:28353
  42057. #, no-wrap
  42058. msgid "@code{includes} (default: @code{'()})"
  42059. msgstr ""
  42060. #. type: table
  42061. #: guix-git/doc/guix.texi:28356
  42062. msgid "A list of strings or file-like objects denoting other files that must be included at the top of the configuration file."
  42063. msgstr ""
  42064. #. type: cindex
  42065. #: guix-git/doc/guix.texi:28357
  42066. #, no-wrap
  42067. msgid "secrets, Knot service"
  42068. msgstr ""
  42069. #. type: table
  42070. #: guix-git/doc/guix.texi:28363
  42071. 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."
  42072. msgstr ""
  42073. #. type: table
  42074. #: guix-git/doc/guix.texi:28368
  42075. 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:"
  42076. msgstr ""
  42077. #. type: example
  42078. #: guix-git/doc/guix.texi:28372
  42079. #, no-wrap
  42080. msgid ""
  42081. "keymgr -t mysecret > /etc/knot/secrets.conf\n"
  42082. "chmod 600 /etc/knot/secrets.conf\n"
  42083. msgstr ""
  42084. #. type: table
  42085. #: guix-git/doc/guix.texi:28378
  42086. 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."
  42087. msgstr ""
  42088. #. type: table
  42089. #: guix-git/doc/guix.texi:28380
  42090. msgid "It can also be used to add configuration not supported by this interface."
  42091. msgstr ""
  42092. #. type: item
  42093. #: guix-git/doc/guix.texi:28381
  42094. #, no-wrap
  42095. msgid "@code{listen-v4} (default: @code{\"0.0.0.0\"})"
  42096. msgstr ""
  42097. #. type: table
  42098. #: guix-git/doc/guix.texi:28383 guix-git/doc/guix.texi:28386
  42099. msgid "An ip address on which to listen."
  42100. msgstr ""
  42101. #. type: item
  42102. #: guix-git/doc/guix.texi:28384
  42103. #, no-wrap
  42104. msgid "@code{listen-v6} (default: @code{\"::\"})"
  42105. msgstr ""
  42106. #. type: item
  42107. #: guix-git/doc/guix.texi:28387
  42108. #, no-wrap
  42109. msgid "@code{listen-port} (default: @code{53})"
  42110. msgstr ""
  42111. #. type: table
  42112. #: guix-git/doc/guix.texi:28389
  42113. msgid "A port on which to listen."
  42114. msgstr ""
  42115. #. type: item
  42116. #: guix-git/doc/guix.texi:28390
  42117. #, no-wrap
  42118. msgid "@code{keys} (default: @code{'()})"
  42119. msgstr ""
  42120. #. type: table
  42121. #: guix-git/doc/guix.texi:28392
  42122. msgid "The list of knot-key-configuration used by this configuration."
  42123. msgstr ""
  42124. #. type: item
  42125. #: guix-git/doc/guix.texi:28393
  42126. #, no-wrap
  42127. msgid "@code{acls} (default: @code{'()})"
  42128. msgstr ""
  42129. #. type: table
  42130. #: guix-git/doc/guix.texi:28395
  42131. msgid "The list of knot-acl-configuration used by this configuration."
  42132. msgstr ""
  42133. #. type: item
  42134. #: guix-git/doc/guix.texi:28396
  42135. #, no-wrap
  42136. msgid "@code{remotes} (default: @code{'()})"
  42137. msgstr ""
  42138. #. type: table
  42139. #: guix-git/doc/guix.texi:28398
  42140. msgid "The list of knot-remote-configuration used by this configuration."
  42141. msgstr ""
  42142. #. type: item
  42143. #: guix-git/doc/guix.texi:28399
  42144. #, no-wrap
  42145. msgid "@code{zones} (default: @code{'()})"
  42146. msgstr ""
  42147. #. type: table
  42148. #: guix-git/doc/guix.texi:28401
  42149. msgid "The list of knot-zone-configuration used by this configuration."
  42150. msgstr ""
  42151. #. type: subsubheading
  42152. #: guix-git/doc/guix.texi:28405
  42153. #, no-wrap
  42154. msgid "Knot Resolver Service"
  42155. msgstr ""
  42156. #. type: deffn
  42157. #: guix-git/doc/guix.texi:28407
  42158. #, no-wrap
  42159. msgid "{Scheme Variable} knot-resolver-service-type"
  42160. msgstr ""
  42161. #. type: deffn
  42162. #: guix-git/doc/guix.texi:28410
  42163. msgid "This is the type of the knot resolver service, whose value should be an @code{knot-resolver-configuration} object as in this example:"
  42164. msgstr ""
  42165. #. type: lisp
  42166. #: guix-git/doc/guix.texi:28420
  42167. #, no-wrap
  42168. msgid ""
  42169. "(service knot-resolver-service-type\n"
  42170. " (knot-resolver-configuration\n"
  42171. " (kresd-config-file (plain-file \"kresd.conf\" \"\n"
  42172. "net.listen('192.168.0.1', 5353)\n"
  42173. "user('knot-resolver', 'knot-resolver')\n"
  42174. "modules = @{ 'hints > iterate', 'stats', 'predict' @}\n"
  42175. "cache.size = 100 * MB\n"
  42176. "\"))))\n"
  42177. msgstr ""
  42178. #. type: deffn
  42179. #: guix-git/doc/guix.texi:28423
  42180. msgid "For more information, refer its @url{https://knot-resolver.readthedocs.org/en/stable/daemon.html#configuration, manual}."
  42181. msgstr ""
  42182. #. type: deftp
  42183. #: guix-git/doc/guix.texi:28425
  42184. #, no-wrap
  42185. msgid "{Data Type} knot-resolver-configuration"
  42186. msgstr ""
  42187. #. type: deftp
  42188. #: guix-git/doc/guix.texi:28427
  42189. msgid "Data type representing the configuration of knot-resolver."
  42190. msgstr ""
  42191. #. type: item
  42192. #: guix-git/doc/guix.texi:28429
  42193. #, no-wrap
  42194. msgid "@code{package} (default: @var{knot-resolver})"
  42195. msgstr ""
  42196. #. type: table
  42197. #: guix-git/doc/guix.texi:28431
  42198. msgid "Package object of the knot DNS resolver."
  42199. msgstr ""
  42200. #. type: item
  42201. #: guix-git/doc/guix.texi:28432
  42202. #, no-wrap
  42203. msgid "@code{kresd-config-file} (default: %kresd.conf)"
  42204. msgstr ""
  42205. #. type: table
  42206. #: guix-git/doc/guix.texi:28435
  42207. 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}."
  42208. msgstr ""
  42209. #. type: item
  42210. #: guix-git/doc/guix.texi:28436
  42211. #, no-wrap
  42212. msgid "@code{garbage-collection-interval} (default: 1000)"
  42213. msgstr ""
  42214. #. type: table
  42215. #: guix-git/doc/guix.texi:28438
  42216. msgid "Number of milliseconds for @code{kres-cache-gc} to periodically trim the cache."
  42217. msgstr ""
  42218. #. type: subsubheading
  42219. #: guix-git/doc/guix.texi:28443
  42220. #, no-wrap
  42221. msgid "Dnsmasq Service"
  42222. msgstr ""
  42223. #. type: deffn
  42224. #: guix-git/doc/guix.texi:28445
  42225. #, no-wrap
  42226. msgid "{Scheme Variable} dnsmasq-service-type"
  42227. msgstr ""
  42228. #. type: deffn
  42229. #: guix-git/doc/guix.texi:28448
  42230. msgid "This is the type of the dnsmasq service, whose value should be an @code{dnsmasq-configuration} object as in this example:"
  42231. msgstr ""
  42232. #. type: lisp
  42233. #: guix-git/doc/guix.texi:28454
  42234. #, no-wrap
  42235. msgid ""
  42236. "(service dnsmasq-service-type\n"
  42237. " (dnsmasq-configuration\n"
  42238. " (no-resolv? #t)\n"
  42239. " (servers '(\"192.168.1.1\"))))\n"
  42240. msgstr ""
  42241. #. type: deftp
  42242. #: guix-git/doc/guix.texi:28457
  42243. #, no-wrap
  42244. msgid "{Data Type} dnsmasq-configuration"
  42245. msgstr ""
  42246. #. type: deftp
  42247. #: guix-git/doc/guix.texi:28459
  42248. msgid "Data type representing the configuration of dnsmasq."
  42249. msgstr ""
  42250. #. type: item
  42251. #: guix-git/doc/guix.texi:28461
  42252. #, no-wrap
  42253. msgid "@code{package} (default: @var{dnsmasq})"
  42254. msgstr ""
  42255. #. type: table
  42256. #: guix-git/doc/guix.texi:28463
  42257. msgid "Package object of the dnsmasq server."
  42258. msgstr ""
  42259. #. type: item
  42260. #: guix-git/doc/guix.texi:28464
  42261. #, no-wrap
  42262. msgid "@code{no-hosts?} (default: @code{#f})"
  42263. msgstr ""
  42264. #. type: table
  42265. #: guix-git/doc/guix.texi:28466
  42266. msgid "When true, don't read the hostnames in /etc/hosts."
  42267. msgstr ""
  42268. #. type: item
  42269. #: guix-git/doc/guix.texi:28467
  42270. #, no-wrap
  42271. msgid "@code{port} (default: @code{53})"
  42272. msgstr ""
  42273. #. type: table
  42274. #: guix-git/doc/guix.texi:28470
  42275. msgid "The port to listen on. Setting this to zero completely disables DNS responses, leaving only DHCP and/or TFTP functions."
  42276. msgstr ""
  42277. #. type: item
  42278. #: guix-git/doc/guix.texi:28471
  42279. #, no-wrap
  42280. msgid "@code{local-service?} (default: @code{#t})"
  42281. msgstr ""
  42282. #. type: table
  42283. #: guix-git/doc/guix.texi:28474
  42284. 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."
  42285. msgstr ""
  42286. #. type: item
  42287. #: guix-git/doc/guix.texi:28475
  42288. #, no-wrap
  42289. msgid "@code{listen-addresses} (default: @code{'()})"
  42290. msgstr ""
  42291. #. type: table
  42292. #: guix-git/doc/guix.texi:28477
  42293. msgid "Listen on the given IP addresses."
  42294. msgstr ""
  42295. #. type: item
  42296. #: guix-git/doc/guix.texi:28478
  42297. #, no-wrap
  42298. msgid "@code{resolv-file} (default: @code{\"/etc/resolv.conf\"})"
  42299. msgstr ""
  42300. #. type: table
  42301. #: guix-git/doc/guix.texi:28480
  42302. msgid "The file to read the IP address of the upstream nameservers from."
  42303. msgstr ""
  42304. #. type: item
  42305. #: guix-git/doc/guix.texi:28481
  42306. #, no-wrap
  42307. msgid "@code{no-resolv?} (default: @code{#f})"
  42308. msgstr ""
  42309. #. type: table
  42310. #: guix-git/doc/guix.texi:28483
  42311. msgid "When true, don't read @var{resolv-file}."
  42312. msgstr ""
  42313. #. type: item
  42314. #: guix-git/doc/guix.texi:28484
  42315. #, no-wrap
  42316. msgid "@code{servers} (default: @code{'()})"
  42317. msgstr ""
  42318. #. type: table
  42319. #: guix-git/doc/guix.texi:28486
  42320. msgid "Specify IP address of upstream servers directly."
  42321. msgstr ""
  42322. #. type: item
  42323. #: guix-git/doc/guix.texi:28487
  42324. #, no-wrap
  42325. msgid "@code{addresses} (default: @code{'()})"
  42326. msgstr ""
  42327. #. type: table
  42328. #: guix-git/doc/guix.texi:28491
  42329. 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."
  42330. msgstr ""
  42331. #. type: table
  42332. #: guix-git/doc/guix.texi:28493
  42333. msgid "This is useful for redirecting hosts locally, for example:"
  42334. msgstr ""
  42335. #. type: lisp
  42336. #: guix-git/doc/guix.texi:28502
  42337. #, no-wrap
  42338. msgid ""
  42339. "(service dnsmasq-service-type\n"
  42340. " (dnsmasq-configuration\n"
  42341. " (addresses\n"
  42342. " '(; Redirect to a local web-server.\n"
  42343. " \"/example.org/127.0.0.1\"\n"
  42344. " ; Redirect subdomain to a specific IP.\n"
  42345. " \"/subdomain.example.org/192.168.1.42\"))))\n"
  42346. msgstr ""
  42347. #. type: table
  42348. #: guix-git/doc/guix.texi:28505
  42349. msgid "Note that rules in @file{/etc/hosts} take precedence over this."
  42350. msgstr ""
  42351. #. type: item
  42352. #: guix-git/doc/guix.texi:28506
  42353. #, no-wrap
  42354. msgid "@code{cache-size} (default: @code{150})"
  42355. msgstr ""
  42356. #. type: table
  42357. #: guix-git/doc/guix.texi:28509
  42358. msgid "Set the size of dnsmasq's cache. Setting the cache size to zero disables caching."
  42359. msgstr ""
  42360. #. type: item
  42361. #: guix-git/doc/guix.texi:28510
  42362. #, no-wrap
  42363. msgid "@code{negative-cache?} (default: @code{#t})"
  42364. msgstr ""
  42365. #. type: table
  42366. #: guix-git/doc/guix.texi:28512
  42367. msgid "When false, disable negative caching."
  42368. msgstr ""
  42369. #. type: item
  42370. #: guix-git/doc/guix.texi:28513
  42371. #, no-wrap
  42372. msgid "@code{tftp-enable?} (default: @code{#f})"
  42373. msgstr ""
  42374. #. type: table
  42375. #: guix-git/doc/guix.texi:28515
  42376. msgid "Whether to enable the built-in TFTP server."
  42377. msgstr ""
  42378. #. type: item
  42379. #: guix-git/doc/guix.texi:28516
  42380. #, no-wrap
  42381. msgid "@code{tftp-no-fail?} (default: @code{#f})"
  42382. msgstr ""
  42383. #. type: table
  42384. #: guix-git/doc/guix.texi:28518
  42385. msgid "If true, does not fail dnsmasq if the TFTP server could not start up."
  42386. msgstr ""
  42387. #. type: item
  42388. #: guix-git/doc/guix.texi:28519
  42389. #, no-wrap
  42390. msgid "@code{tftp-single-port?} (default: @code{#f})"
  42391. msgstr ""
  42392. #. type: table
  42393. #: guix-git/doc/guix.texi:28521
  42394. msgid "Whether to use only one single port for TFTP."
  42395. msgstr ""
  42396. #. type: item
  42397. #: guix-git/doc/guix.texi:28522
  42398. #, no-wrap
  42399. msgid "@code{tftp-secure?} (default: @code{#f})"
  42400. msgstr ""
  42401. #. type: table
  42402. #: guix-git/doc/guix.texi:28524
  42403. msgid "If true, only files owned by the user running the dnsmasq process are accessible."
  42404. msgstr ""
  42405. #. type: table
  42406. #: guix-git/doc/guix.texi:28528
  42407. 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."
  42408. msgstr ""
  42409. #. type: item
  42410. #: guix-git/doc/guix.texi:28529
  42411. #, no-wrap
  42412. msgid "@code{tftp-max} (default: @code{#f})"
  42413. msgstr ""
  42414. #. type: table
  42415. #: guix-git/doc/guix.texi:28531
  42416. msgid "If set, sets the maximal number of concurrent connections allowed."
  42417. msgstr ""
  42418. #. type: item
  42419. #: guix-git/doc/guix.texi:28532
  42420. #, no-wrap
  42421. msgid "@code{tftp-mtu} (default: @code{#f})"
  42422. msgstr ""
  42423. #. type: table
  42424. #: guix-git/doc/guix.texi:28534
  42425. msgid "If set, sets the MTU for TFTP packets to that value."
  42426. msgstr ""
  42427. #. type: item
  42428. #: guix-git/doc/guix.texi:28535
  42429. #, no-wrap
  42430. msgid "@code{tftp-no-blocksize?} (default: @code{#f})"
  42431. msgstr ""
  42432. #. type: table
  42433. #: guix-git/doc/guix.texi:28537
  42434. msgid "If true, stops the TFTP server from negotiating the blocksize with a client."
  42435. msgstr ""
  42436. #. type: item
  42437. #: guix-git/doc/guix.texi:28538
  42438. #, no-wrap
  42439. msgid "@code{tftp-lowercase?} (default: @code{#f})"
  42440. msgstr ""
  42441. #. type: table
  42442. #: guix-git/doc/guix.texi:28540
  42443. msgid "Whether to convert all filenames in TFTP requests to lowercase."
  42444. msgstr ""
  42445. #. type: item
  42446. #: guix-git/doc/guix.texi:28541
  42447. #, no-wrap
  42448. msgid "@code{tftp-port-range} (default: @code{#f})"
  42449. msgstr ""
  42450. #. type: table
  42451. #: guix-git/doc/guix.texi:28544
  42452. msgid "If set, fixes the dynamical ports (one per client) to the given range (@code{\"<start>,<end>\"})."
  42453. msgstr ""
  42454. #. type: item
  42455. #: guix-git/doc/guix.texi:28545
  42456. #, no-wrap
  42457. msgid "@code{tftp-root} (default: @code{/var/empty,lo})"
  42458. msgstr ""
  42459. #. type: table
  42460. #: guix-git/doc/guix.texi:28552
  42461. 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."
  42462. msgstr ""
  42463. #. type: item
  42464. #: guix-git/doc/guix.texi:28553
  42465. #, no-wrap
  42466. msgid "@code{tftp-unique-root} (default: @code{#f})"
  42467. msgstr ""
  42468. #. type: table
  42469. #: guix-git/doc/guix.texi:28558
  42470. 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)."
  42471. msgstr ""
  42472. #. type: table
  42473. #: guix-git/doc/guix.texi:28567
  42474. 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."
  42475. msgstr ""
  42476. #. type: subsubheading
  42477. #: guix-git/doc/guix.texi:28571
  42478. #, no-wrap
  42479. msgid "ddclient Service"
  42480. msgstr ""
  42481. #. type: cindex
  42482. #: guix-git/doc/guix.texi:28573
  42483. #, no-wrap
  42484. msgid "ddclient"
  42485. msgstr ""
  42486. #. type: Plain text
  42487. #: guix-git/doc/guix.texi:28577
  42488. 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}."
  42489. msgstr ""
  42490. #. type: Plain text
  42491. #: guix-git/doc/guix.texi:28580
  42492. msgid "The following example show instantiates the service with its default configuration:"
  42493. msgstr ""
  42494. #. type: lisp
  42495. #: guix-git/doc/guix.texi:28583
  42496. #, no-wrap
  42497. msgid "(service ddclient-service-type)\n"
  42498. msgstr ""
  42499. #. type: Plain text
  42500. #: guix-git/doc/guix.texi:28592
  42501. 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."
  42502. msgstr ""
  42503. #. type: Plain text
  42504. #: guix-git/doc/guix.texi:28596
  42505. msgid "Available @code{ddclient-configuration} fields are:"
  42506. msgstr ""
  42507. #. type: deftypevr
  42508. #: guix-git/doc/guix.texi:28597
  42509. #, no-wrap
  42510. msgid "{@code{ddclient-configuration} parameter} package ddclient"
  42511. msgstr ""
  42512. #. type: deftypevr
  42513. #: guix-git/doc/guix.texi:28599
  42514. msgid "The ddclient package."
  42515. msgstr ""
  42516. #. type: deftypevr
  42517. #: guix-git/doc/guix.texi:28602
  42518. #, no-wrap
  42519. msgid "{@code{ddclient-configuration} parameter} integer daemon"
  42520. msgstr ""
  42521. #. type: deftypevr
  42522. #: guix-git/doc/guix.texi:28604
  42523. msgid "The period after which ddclient will retry to check IP and domain name."
  42524. msgstr ""
  42525. #. type: deftypevr
  42526. #: guix-git/doc/guix.texi:28606
  42527. msgid "Defaults to @samp{300}."
  42528. msgstr ""
  42529. #. type: deftypevr
  42530. #: guix-git/doc/guix.texi:28609
  42531. #, no-wrap
  42532. msgid "{@code{ddclient-configuration} parameter} boolean syslog"
  42533. msgstr ""
  42534. #. type: deftypevr
  42535. #: guix-git/doc/guix.texi:28611
  42536. msgid "Use syslog for the output."
  42537. msgstr ""
  42538. #. type: deftypevr
  42539. #: guix-git/doc/guix.texi:28616
  42540. #, no-wrap
  42541. msgid "{@code{ddclient-configuration} parameter} string mail"
  42542. msgstr ""
  42543. #. type: deftypevr
  42544. #: guix-git/doc/guix.texi:28618
  42545. msgid "Mail to user."
  42546. msgstr ""
  42547. #. type: deftypevr
  42548. #: guix-git/doc/guix.texi:28620 guix-git/doc/guix.texi:28627
  42549. #: guix-git/doc/guix.texi:30457
  42550. msgid "Defaults to @samp{\"root\"}."
  42551. msgstr ""
  42552. #. type: deftypevr
  42553. #: guix-git/doc/guix.texi:28623
  42554. #, no-wrap
  42555. msgid "{@code{ddclient-configuration} parameter} string mail-failure"
  42556. msgstr ""
  42557. #. type: deftypevr
  42558. #: guix-git/doc/guix.texi:28625
  42559. msgid "Mail failed update to user."
  42560. msgstr ""
  42561. #. type: deftypevr
  42562. #: guix-git/doc/guix.texi:28630
  42563. #, no-wrap
  42564. msgid "{@code{ddclient-configuration} parameter} string pid"
  42565. msgstr ""
  42566. #. type: deftypevr
  42567. #: guix-git/doc/guix.texi:28632
  42568. msgid "The ddclient PID file."
  42569. msgstr ""
  42570. #. type: deftypevr
  42571. #: guix-git/doc/guix.texi:28634
  42572. msgid "Defaults to @samp{\"/var/run/ddclient/ddclient.pid\"}."
  42573. msgstr ""
  42574. #. type: deftypevr
  42575. #: guix-git/doc/guix.texi:28637
  42576. #, no-wrap
  42577. msgid "{@code{ddclient-configuration} parameter} boolean ssl"
  42578. msgstr ""
  42579. #. type: deftypevr
  42580. #: guix-git/doc/guix.texi:28639
  42581. msgid "Enable SSL support."
  42582. msgstr ""
  42583. #. type: deftypevr
  42584. #: guix-git/doc/guix.texi:28644
  42585. #, no-wrap
  42586. msgid "{@code{ddclient-configuration} parameter} string user"
  42587. msgstr ""
  42588. #. type: deftypevr
  42589. #: guix-git/doc/guix.texi:28647
  42590. msgid "Specifies the user name or ID that is used when running ddclient program."
  42591. msgstr ""
  42592. #. type: deftypevr
  42593. #: guix-git/doc/guix.texi:28649 guix-git/doc/guix.texi:28656
  42594. msgid "Defaults to @samp{\"ddclient\"}."
  42595. msgstr ""
  42596. #. type: deftypevr
  42597. #: guix-git/doc/guix.texi:28652
  42598. #, no-wrap
  42599. msgid "{@code{ddclient-configuration} parameter} string group"
  42600. msgstr ""
  42601. #. type: deftypevr
  42602. #: guix-git/doc/guix.texi:28654
  42603. msgid "Group of the user who will run the ddclient program."
  42604. msgstr ""
  42605. #. type: deftypevr
  42606. #: guix-git/doc/guix.texi:28659
  42607. #, no-wrap
  42608. msgid "{@code{ddclient-configuration} parameter} string secret-file"
  42609. msgstr ""
  42610. #. type: deftypevr
  42611. #: guix-git/doc/guix.texi:28663
  42612. 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."
  42613. msgstr ""
  42614. #. type: deftypevr
  42615. #: guix-git/doc/guix.texi:28665
  42616. msgid "Defaults to @samp{\"/etc/ddclient/secrets.conf\"}."
  42617. msgstr ""
  42618. #. type: deftypevr
  42619. #: guix-git/doc/guix.texi:28668
  42620. #, no-wrap
  42621. msgid "{@code{ddclient-configuration} parameter} list extra-options"
  42622. msgstr ""
  42623. #. type: deftypevr
  42624. #: guix-git/doc/guix.texi:28670
  42625. msgid "Extra options will be appended to @file{ddclient.conf} file."
  42626. msgstr ""
  42627. #. type: cindex
  42628. #: guix-git/doc/guix.texi:28681
  42629. #, no-wrap
  42630. msgid "VPN (virtual private network)"
  42631. msgstr ""
  42632. #. type: cindex
  42633. #: guix-git/doc/guix.texi:28682
  42634. #, no-wrap
  42635. msgid "virtual private network (VPN)"
  42636. msgstr ""
  42637. #. type: Plain text
  42638. #: guix-git/doc/guix.texi:28686
  42639. msgid "The @code{(gnu services vpn)} module provides services related to @dfn{virtual private networks} (VPNs)."
  42640. msgstr ""
  42641. #. type: subsubheading
  42642. #: guix-git/doc/guix.texi:28687
  42643. #, no-wrap
  42644. msgid "Bitmask"
  42645. msgstr ""
  42646. #. type: defvr
  42647. #: guix-git/doc/guix.texi:28689
  42648. #, no-wrap
  42649. msgid "{Scheme Variable} bitmask-service-type"
  42650. msgstr ""
  42651. #. type: defvr
  42652. #: guix-git/doc/guix.texi:28694
  42653. 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."
  42654. msgstr ""
  42655. #. type: subsubheading
  42656. #: guix-git/doc/guix.texi:28696
  42657. #, no-wrap
  42658. msgid "OpenVPN"
  42659. msgstr ""
  42660. #. type: Plain text
  42661. #: guix-git/doc/guix.texi:28700
  42662. 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@."
  42663. msgstr ""
  42664. #. type: deffn
  42665. #: guix-git/doc/guix.texi:28701
  42666. #, no-wrap
  42667. msgid "{Scheme Procedure} openvpn-client-service @"
  42668. msgstr ""
  42669. #. type: deffn
  42670. #: guix-git/doc/guix.texi:28703
  42671. msgid "[#:config (openvpn-client-configuration)]"
  42672. msgstr ""
  42673. #. type: deffn
  42674. #: guix-git/doc/guix.texi:28705
  42675. msgid "Return a service that runs @command{openvpn}, a VPN daemon, as a client."
  42676. msgstr ""
  42677. #. type: deffn
  42678. #: guix-git/doc/guix.texi:28707
  42679. #, no-wrap
  42680. msgid "{Scheme Procedure} openvpn-server-service @"
  42681. msgstr ""
  42682. #. type: deffn
  42683. #: guix-git/doc/guix.texi:28709
  42684. msgid "[#:config (openvpn-server-configuration)]"
  42685. msgstr ""
  42686. #. type: deffn
  42687. #: guix-git/doc/guix.texi:28711
  42688. msgid "Return a service that runs @command{openvpn}, a VPN daemon, as a server."
  42689. msgstr ""
  42690. #. type: deffn
  42691. #: guix-git/doc/guix.texi:28713
  42692. msgid "Both can be run simultaneously."
  42693. msgstr ""
  42694. #. type: Plain text
  42695. #: guix-git/doc/guix.texi:28718
  42696. msgid "Available @code{openvpn-client-configuration} fields are:"
  42697. msgstr ""
  42698. #. type: deftypevr
  42699. #: guix-git/doc/guix.texi:28719
  42700. #, no-wrap
  42701. msgid "{@code{openvpn-client-configuration} parameter} package openvpn"
  42702. msgstr ""
  42703. #. type: deftypevr
  42704. #: guix-git/doc/guix.texi:28721 guix-git/doc/guix.texi:28876
  42705. msgid "The OpenVPN package."
  42706. msgstr ""
  42707. #. type: deftypevr
  42708. #: guix-git/doc/guix.texi:28724
  42709. #, no-wrap
  42710. msgid "{@code{openvpn-client-configuration} parameter} string pid-file"
  42711. msgstr ""
  42712. #. type: deftypevr
  42713. #: guix-git/doc/guix.texi:28726 guix-git/doc/guix.texi:28881
  42714. msgid "The OpenVPN pid file."
  42715. msgstr ""
  42716. #. type: deftypevr
  42717. #: guix-git/doc/guix.texi:28728 guix-git/doc/guix.texi:28883
  42718. msgid "Defaults to @samp{\"/var/run/openvpn/openvpn.pid\"}."
  42719. msgstr ""
  42720. #. type: deftypevr
  42721. #: guix-git/doc/guix.texi:28731
  42722. #, no-wrap
  42723. msgid "{@code{openvpn-client-configuration} parameter} proto proto"
  42724. msgstr ""
  42725. #. type: deftypevr
  42726. #: guix-git/doc/guix.texi:28734 guix-git/doc/guix.texi:28889
  42727. msgid "The protocol (UDP or TCP) used to open a channel between clients and servers."
  42728. msgstr ""
  42729. #. type: deftypevr
  42730. #: guix-git/doc/guix.texi:28736 guix-git/doc/guix.texi:28891
  42731. msgid "Defaults to @samp{udp}."
  42732. msgstr ""
  42733. #. type: deftypevr
  42734. #: guix-git/doc/guix.texi:28739
  42735. #, no-wrap
  42736. msgid "{@code{openvpn-client-configuration} parameter} dev dev"
  42737. msgstr ""
  42738. #. type: deftypevr
  42739. #: guix-git/doc/guix.texi:28741 guix-git/doc/guix.texi:28896
  42740. msgid "The device type used to represent the VPN connection."
  42741. msgstr ""
  42742. #. type: deftypevr
  42743. #: guix-git/doc/guix.texi:28743 guix-git/doc/guix.texi:28898
  42744. msgid "Defaults to @samp{tun}."
  42745. msgstr ""
  42746. #. type: Plain text
  42747. #: guix-git/doc/guix.texi:28749 guix-git/doc/guix.texi:28904
  42748. 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}."
  42749. msgstr ""
  42750. #. type: deftypevr
  42751. #: guix-git/doc/guix.texi:28750
  42752. #, no-wrap
  42753. msgid "{@code{openvpn-client-configuration} parameter} maybe-string ca"
  42754. msgstr ""
  42755. #. type: deftypevr
  42756. #: guix-git/doc/guix.texi:28752 guix-git/doc/guix.texi:28907
  42757. msgid "The certificate authority to check connections against."
  42758. msgstr ""
  42759. #. type: deftypevr
  42760. #: guix-git/doc/guix.texi:28754 guix-git/doc/guix.texi:28909
  42761. msgid "Defaults to @samp{\"/etc/openvpn/ca.crt\"}."
  42762. msgstr ""
  42763. #. type: deftypevr
  42764. #: guix-git/doc/guix.texi:28757
  42765. #, no-wrap
  42766. msgid "{@code{openvpn-client-configuration} parameter} maybe-string cert"
  42767. msgstr ""
  42768. #. type: deftypevr
  42769. #: guix-git/doc/guix.texi:28760 guix-git/doc/guix.texi:28915
  42770. msgid "The certificate of the machine the daemon is running on. It should be signed by the authority given in @code{ca}."
  42771. msgstr ""
  42772. #. type: deftypevr
  42773. #: guix-git/doc/guix.texi:28762 guix-git/doc/guix.texi:28917
  42774. msgid "Defaults to @samp{\"/etc/openvpn/client.crt\"}."
  42775. msgstr ""
  42776. #. type: deftypevr
  42777. #: guix-git/doc/guix.texi:28765
  42778. #, no-wrap
  42779. msgid "{@code{openvpn-client-configuration} parameter} maybe-string key"
  42780. msgstr ""
  42781. #. type: deftypevr
  42782. #: guix-git/doc/guix.texi:28768 guix-git/doc/guix.texi:28923
  42783. msgid "The key of the machine the daemon is running on. It must be the key whose certificate is @code{cert}."
  42784. msgstr ""
  42785. #. type: deftypevr
  42786. #: guix-git/doc/guix.texi:28770 guix-git/doc/guix.texi:28925
  42787. msgid "Defaults to @samp{\"/etc/openvpn/client.key\"}."
  42788. msgstr ""
  42789. #. type: deftypevr
  42790. #: guix-git/doc/guix.texi:28773
  42791. #, no-wrap
  42792. msgid "{@code{openvpn-client-configuration} parameter} boolean comp-lzo?"
  42793. msgstr ""
  42794. #. type: deftypevr
  42795. #: guix-git/doc/guix.texi:28775 guix-git/doc/guix.texi:28930
  42796. msgid "Whether to use the lzo compression algorithm."
  42797. msgstr ""
  42798. #. type: deftypevr
  42799. #: guix-git/doc/guix.texi:28780
  42800. #, no-wrap
  42801. msgid "{@code{openvpn-client-configuration} parameter} boolean persist-key?"
  42802. msgstr ""
  42803. #. type: deftypevr
  42804. #: guix-git/doc/guix.texi:28782 guix-git/doc/guix.texi:28937
  42805. msgid "Don't re-read key files across SIGUSR1 or --ping-restart."
  42806. msgstr ""
  42807. #. type: deftypevr
  42808. #: guix-git/doc/guix.texi:28787
  42809. #, no-wrap
  42810. msgid "{@code{openvpn-client-configuration} parameter} boolean persist-tun?"
  42811. msgstr ""
  42812. #. type: deftypevr
  42813. #: guix-git/doc/guix.texi:28790 guix-git/doc/guix.texi:28945
  42814. msgid "Don't close and reopen TUN/TAP device or run up/down scripts across SIGUSR1 or --ping-restart restarts."
  42815. msgstr ""
  42816. #. type: deftypevr
  42817. #: guix-git/doc/guix.texi:28795
  42818. #, no-wrap
  42819. msgid "{@code{openvpn-client-configuration} parameter} boolean fast-io?"
  42820. msgstr ""
  42821. #. type: deftypevr
  42822. #: guix-git/doc/guix.texi:28798 guix-git/doc/guix.texi:28953
  42823. msgid "(Experimental) Optimize TUN/TAP/UDP I/O writes by avoiding a call to poll/epoll/select prior to the write operation."
  42824. msgstr ""
  42825. #. type: deftypevr
  42826. #: guix-git/doc/guix.texi:28802
  42827. #, no-wrap
  42828. msgid "{@code{openvpn-client-configuration} parameter} number verbosity"
  42829. msgstr ""
  42830. #. type: deftypevr
  42831. #: guix-git/doc/guix.texi:28804 guix-git/doc/guix.texi:28959
  42832. msgid "Verbosity level."
  42833. msgstr ""
  42834. #. type: deftypevr
  42835. #: guix-git/doc/guix.texi:28806 guix-git/doc/guix.texi:28961
  42836. #: guix-git/doc/guix.texi:30725 guix-git/doc/guix.texi:30953
  42837. msgid "Defaults to @samp{3}."
  42838. msgstr ""
  42839. #. type: deftypevr
  42840. #: guix-git/doc/guix.texi:28809
  42841. #, no-wrap
  42842. msgid "{@code{openvpn-client-configuration} parameter} tls-auth-client tls-auth"
  42843. msgstr ""
  42844. #. type: deftypevr
  42845. #: guix-git/doc/guix.texi:28812 guix-git/doc/guix.texi:28967
  42846. msgid "Add an additional layer of HMAC authentication on top of the TLS control channel to protect against DoS attacks."
  42847. msgstr ""
  42848. #. type: deftypevr
  42849. #: guix-git/doc/guix.texi:28817
  42850. #, no-wrap
  42851. msgid "{@code{openvpn-client-configuration} parameter} maybe-string auth-user-pass"
  42852. msgstr ""
  42853. #. type: deftypevr
  42854. #: guix-git/doc/guix.texi:28821
  42855. 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."
  42856. msgstr ""
  42857. #. type: deftypevr
  42858. #: guix-git/doc/guix.texi:28823
  42859. msgid "Defaults to @samp{'disabled}."
  42860. msgstr ""
  42861. #. type: deftypevr
  42862. #: guix-git/doc/guix.texi:28825
  42863. #, no-wrap
  42864. msgid "{@code{openvpn-client-configuration} parameter} key-usage verify-key-usage?"
  42865. msgstr ""
  42866. #. type: deftypevr
  42867. #: guix-git/doc/guix.texi:28827
  42868. msgid "Whether to check the server certificate has server usage extension."
  42869. msgstr ""
  42870. #. type: deftypevr
  42871. #: guix-git/doc/guix.texi:28832
  42872. #, no-wrap
  42873. msgid "{@code{openvpn-client-configuration} parameter} bind bind?"
  42874. msgstr ""
  42875. #. type: deftypevr
  42876. #: guix-git/doc/guix.texi:28834
  42877. msgid "Bind to a specific local port number."
  42878. msgstr ""
  42879. #. type: deftypevr
  42880. #: guix-git/doc/guix.texi:28839
  42881. #, no-wrap
  42882. msgid "{@code{openvpn-client-configuration} parameter} resolv-retry resolv-retry?"
  42883. msgstr ""
  42884. #. type: deftypevr
  42885. #: guix-git/doc/guix.texi:28841
  42886. msgid "Retry resolving server address."
  42887. msgstr ""
  42888. #. type: deftypevr
  42889. #: guix-git/doc/guix.texi:28846
  42890. #, no-wrap
  42891. msgid "{@code{openvpn-client-configuration} parameter} openvpn-remote-list remote"
  42892. msgstr ""
  42893. #. type: deftypevr
  42894. #: guix-git/doc/guix.texi:28848
  42895. msgid "A list of remote servers to connect to."
  42896. msgstr ""
  42897. #. type: deftypevr
  42898. #: guix-git/doc/guix.texi:28852
  42899. msgid "Available @code{openvpn-remote-configuration} fields are:"
  42900. msgstr ""
  42901. #. type: deftypevr
  42902. #: guix-git/doc/guix.texi:28853
  42903. #, no-wrap
  42904. msgid "{@code{openvpn-remote-configuration} parameter} string name"
  42905. msgstr ""
  42906. #. type: deftypevr
  42907. #: guix-git/doc/guix.texi:28855
  42908. msgid "Server name."
  42909. msgstr "Palvelimen nimi."
  42910. #. type: deftypevr
  42911. #: guix-git/doc/guix.texi:28857
  42912. msgid "Defaults to @samp{\"my-server\"}."
  42913. msgstr ""
  42914. #. type: deftypevr
  42915. #: guix-git/doc/guix.texi:28860
  42916. #, no-wrap
  42917. msgid "{@code{openvpn-remote-configuration} parameter} number port"
  42918. msgstr ""
  42919. #. type: deftypevr
  42920. #: guix-git/doc/guix.texi:28862
  42921. msgid "Port number the server listens to."
  42922. msgstr ""
  42923. #. type: deftypevr
  42924. #: guix-git/doc/guix.texi:28864 guix-git/doc/guix.texi:28976
  42925. msgid "Defaults to @samp{1194}."
  42926. msgstr ""
  42927. #. type: Plain text
  42928. #: guix-git/doc/guix.texi:28873
  42929. msgid "Available @code{openvpn-server-configuration} fields are:"
  42930. msgstr ""
  42931. #. type: deftypevr
  42932. #: guix-git/doc/guix.texi:28874
  42933. #, no-wrap
  42934. msgid "{@code{openvpn-server-configuration} parameter} package openvpn"
  42935. msgstr ""
  42936. #. type: deftypevr
  42937. #: guix-git/doc/guix.texi:28879
  42938. #, no-wrap
  42939. msgid "{@code{openvpn-server-configuration} parameter} string pid-file"
  42940. msgstr ""
  42941. #. type: deftypevr
  42942. #: guix-git/doc/guix.texi:28886
  42943. #, no-wrap
  42944. msgid "{@code{openvpn-server-configuration} parameter} proto proto"
  42945. msgstr ""
  42946. #. type: deftypevr
  42947. #: guix-git/doc/guix.texi:28894
  42948. #, no-wrap
  42949. msgid "{@code{openvpn-server-configuration} parameter} dev dev"
  42950. msgstr ""
  42951. #. type: deftypevr
  42952. #: guix-git/doc/guix.texi:28905
  42953. #, no-wrap
  42954. msgid "{@code{openvpn-server-configuration} parameter} maybe-string ca"
  42955. msgstr ""
  42956. #. type: deftypevr
  42957. #: guix-git/doc/guix.texi:28912
  42958. #, no-wrap
  42959. msgid "{@code{openvpn-server-configuration} parameter} maybe-string cert"
  42960. msgstr ""
  42961. #. type: deftypevr
  42962. #: guix-git/doc/guix.texi:28920
  42963. #, no-wrap
  42964. msgid "{@code{openvpn-server-configuration} parameter} maybe-string key"
  42965. msgstr ""
  42966. #. type: deftypevr
  42967. #: guix-git/doc/guix.texi:28928
  42968. #, no-wrap
  42969. msgid "{@code{openvpn-server-configuration} parameter} boolean comp-lzo?"
  42970. msgstr ""
  42971. #. type: deftypevr
  42972. #: guix-git/doc/guix.texi:28935
  42973. #, no-wrap
  42974. msgid "{@code{openvpn-server-configuration} parameter} boolean persist-key?"
  42975. msgstr ""
  42976. #. type: deftypevr
  42977. #: guix-git/doc/guix.texi:28942
  42978. #, no-wrap
  42979. msgid "{@code{openvpn-server-configuration} parameter} boolean persist-tun?"
  42980. msgstr ""
  42981. #. type: deftypevr
  42982. #: guix-git/doc/guix.texi:28950
  42983. #, no-wrap
  42984. msgid "{@code{openvpn-server-configuration} parameter} boolean fast-io?"
  42985. msgstr ""
  42986. #. type: deftypevr
  42987. #: guix-git/doc/guix.texi:28957
  42988. #, no-wrap
  42989. msgid "{@code{openvpn-server-configuration} parameter} number verbosity"
  42990. msgstr ""
  42991. #. type: deftypevr
  42992. #: guix-git/doc/guix.texi:28964
  42993. #, no-wrap
  42994. msgid "{@code{openvpn-server-configuration} parameter} tls-auth-server tls-auth"
  42995. msgstr ""
  42996. #. type: deftypevr
  42997. #: guix-git/doc/guix.texi:28972
  42998. #, no-wrap
  42999. msgid "{@code{openvpn-server-configuration} parameter} number port"
  43000. msgstr ""
  43001. #. type: deftypevr
  43002. #: guix-git/doc/guix.texi:28974
  43003. msgid "Specifies the port number on which the server listens."
  43004. msgstr ""
  43005. #. type: deftypevr
  43006. #: guix-git/doc/guix.texi:28979
  43007. #, no-wrap
  43008. msgid "{@code{openvpn-server-configuration} parameter} ip-mask server"
  43009. msgstr ""
  43010. #. type: deftypevr
  43011. #: guix-git/doc/guix.texi:28981
  43012. msgid "An ip and mask specifying the subnet inside the virtual network."
  43013. msgstr ""
  43014. #. type: deftypevr
  43015. #: guix-git/doc/guix.texi:28983
  43016. msgid "Defaults to @samp{\"10.8.0.0 255.255.255.0\"}."
  43017. msgstr ""
  43018. #. type: deftypevr
  43019. #: guix-git/doc/guix.texi:28986
  43020. #, no-wrap
  43021. msgid "{@code{openvpn-server-configuration} parameter} cidr6 server-ipv6"
  43022. msgstr ""
  43023. #. type: deftypevr
  43024. #: guix-git/doc/guix.texi:28988
  43025. msgid "A CIDR notation specifying the IPv6 subnet inside the virtual network."
  43026. msgstr ""
  43027. #. type: deftypevr
  43028. #: guix-git/doc/guix.texi:28993
  43029. #, no-wrap
  43030. msgid "{@code{openvpn-server-configuration} parameter} string dh"
  43031. msgstr ""
  43032. #. type: deftypevr
  43033. #: guix-git/doc/guix.texi:28995
  43034. msgid "The Diffie-Hellman parameters file."
  43035. msgstr ""
  43036. #. type: deftypevr
  43037. #: guix-git/doc/guix.texi:28997
  43038. msgid "Defaults to @samp{\"/etc/openvpn/dh2048.pem\"}."
  43039. msgstr ""
  43040. #. type: deftypevr
  43041. #: guix-git/doc/guix.texi:29000
  43042. #, no-wrap
  43043. msgid "{@code{openvpn-server-configuration} parameter} string ifconfig-pool-persist"
  43044. msgstr ""
  43045. #. type: deftypevr
  43046. #: guix-git/doc/guix.texi:29002
  43047. msgid "The file that records client IPs."
  43048. msgstr ""
  43049. #. type: deftypevr
  43050. #: guix-git/doc/guix.texi:29004
  43051. msgid "Defaults to @samp{\"/etc/openvpn/ipp.txt\"}."
  43052. msgstr ""
  43053. #. type: deftypevr
  43054. #: guix-git/doc/guix.texi:29007
  43055. #, no-wrap
  43056. msgid "{@code{openvpn-server-configuration} parameter} gateway redirect-gateway?"
  43057. msgstr ""
  43058. #. type: deftypevr
  43059. #: guix-git/doc/guix.texi:29009
  43060. msgid "When true, the server will act as a gateway for its clients."
  43061. msgstr ""
  43062. #. type: deftypevr
  43063. #: guix-git/doc/guix.texi:29014
  43064. #, no-wrap
  43065. msgid "{@code{openvpn-server-configuration} parameter} boolean client-to-client?"
  43066. msgstr ""
  43067. #. type: deftypevr
  43068. #: guix-git/doc/guix.texi:29016
  43069. msgid "When true, clients are allowed to talk to each other inside the VPN."
  43070. msgstr ""
  43071. #. type: deftypevr
  43072. #: guix-git/doc/guix.texi:29021
  43073. #, no-wrap
  43074. msgid "{@code{openvpn-server-configuration} parameter} keepalive keepalive"
  43075. msgstr ""
  43076. #. type: deftypevr
  43077. #: guix-git/doc/guix.texi:29027
  43078. 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."
  43079. msgstr ""
  43080. #. type: deftypevr
  43081. #: guix-git/doc/guix.texi:29030
  43082. #, no-wrap
  43083. msgid "{@code{openvpn-server-configuration} parameter} number max-clients"
  43084. msgstr ""
  43085. #. type: deftypevr
  43086. #: guix-git/doc/guix.texi:29032
  43087. msgid "The maximum number of clients."
  43088. msgstr ""
  43089. #. type: deftypevr
  43090. #: guix-git/doc/guix.texi:29037
  43091. #, no-wrap
  43092. msgid "{@code{openvpn-server-configuration} parameter} string status"
  43093. msgstr ""
  43094. #. type: deftypevr
  43095. #: guix-git/doc/guix.texi:29040
  43096. msgid "The status file. This file shows a small report on current connection. It is truncated and rewritten every minute."
  43097. msgstr ""
  43098. #. type: deftypevr
  43099. #: guix-git/doc/guix.texi:29042
  43100. msgid "Defaults to @samp{\"/var/run/openvpn/status\"}."
  43101. msgstr ""
  43102. #. type: deftypevr
  43103. #: guix-git/doc/guix.texi:29045
  43104. #, no-wrap
  43105. msgid "{@code{openvpn-server-configuration} parameter} openvpn-ccd-list client-config-dir"
  43106. msgstr ""
  43107. #. type: deftypevr
  43108. #: guix-git/doc/guix.texi:29047
  43109. msgid "The list of configuration for some clients."
  43110. msgstr ""
  43111. #. type: deftypevr
  43112. #: guix-git/doc/guix.texi:29051
  43113. msgid "Available @code{openvpn-ccd-configuration} fields are:"
  43114. msgstr ""
  43115. #. type: deftypevr
  43116. #: guix-git/doc/guix.texi:29052
  43117. #, no-wrap
  43118. msgid "{@code{openvpn-ccd-configuration} parameter} string name"
  43119. msgstr ""
  43120. #. type: deftypevr
  43121. #: guix-git/doc/guix.texi:29054
  43122. msgid "Client name."
  43123. msgstr ""
  43124. #. type: deftypevr
  43125. #: guix-git/doc/guix.texi:29056
  43126. msgid "Defaults to @samp{\"client\"}."
  43127. msgstr ""
  43128. #. type: deftypevr
  43129. #: guix-git/doc/guix.texi:29059
  43130. #, no-wrap
  43131. msgid "{@code{openvpn-ccd-configuration} parameter} ip-mask iroute"
  43132. msgstr ""
  43133. #. type: deftypevr
  43134. #: guix-git/doc/guix.texi:29061
  43135. msgid "Client own network"
  43136. msgstr ""
  43137. #. type: deftypevr
  43138. #: guix-git/doc/guix.texi:29066
  43139. #, no-wrap
  43140. msgid "{@code{openvpn-ccd-configuration} parameter} ip-mask ifconfig-push"
  43141. msgstr ""
  43142. #. type: deftypevr
  43143. #: guix-git/doc/guix.texi:29068
  43144. msgid "Client VPN IP."
  43145. msgstr ""
  43146. #. type: subheading
  43147. #: guix-git/doc/guix.texi:29077
  43148. #, no-wrap
  43149. msgid "strongSwan"
  43150. msgstr ""
  43151. #. type: Plain text
  43152. #: guix-git/doc/guix.texi:29081
  43153. msgid "Currently, the strongSwan service only provides legacy-style configuration with @file{ipsec.conf} and @file{ipsec.secrets} files."
  43154. msgstr ""
  43155. #. type: defvr
  43156. #: guix-git/doc/guix.texi:29082
  43157. #, no-wrap
  43158. msgid "{Scheme Variable} strongswan-service-type"
  43159. msgstr ""
  43160. #. type: defvr
  43161. #: guix-git/doc/guix.texi:29086
  43162. 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:"
  43163. msgstr ""
  43164. #. type: lisp
  43165. #: guix-git/doc/guix.texi:29092
  43166. #, no-wrap
  43167. msgid ""
  43168. "(service strongswan-service-type\n"
  43169. " (strongswan-configuration\n"
  43170. " (ipsec-conf \"/etc/ipsec.conf\")\n"
  43171. " (ipsec-secrets \"/etc/ipsec.secrets\")))\n"
  43172. msgstr ""
  43173. #. type: deftp
  43174. #: guix-git/doc/guix.texi:29096
  43175. #, no-wrap
  43176. msgid "{Data Type} strongswan-configuration"
  43177. msgstr ""
  43178. #. type: deftp
  43179. #: guix-git/doc/guix.texi:29098
  43180. msgid "Data type representing the configuration of the StrongSwan service."
  43181. msgstr ""
  43182. #. type: code{#1}
  43183. #: guix-git/doc/guix.texi:29100
  43184. #, no-wrap
  43185. msgid "strongswan"
  43186. msgstr ""
  43187. #. type: table
  43188. #: guix-git/doc/guix.texi:29102
  43189. msgid "The strongSwan package to use for this service."
  43190. msgstr ""
  43191. #. type: item
  43192. #: guix-git/doc/guix.texi:29103
  43193. #, no-wrap
  43194. msgid "@code{ipsec-conf} (default: @code{#f})"
  43195. msgstr ""
  43196. #. type: table
  43197. #: guix-git/doc/guix.texi:29106
  43198. msgid "The file name of your @file{ipsec.conf}. If not @code{#f}, then this and @code{ipsec-secrets} must both be strings."
  43199. msgstr ""
  43200. #. type: item
  43201. #: guix-git/doc/guix.texi:29107
  43202. #, no-wrap
  43203. msgid "@code{ipsec-secrets} (default @code{#f})"
  43204. msgstr ""
  43205. #. type: table
  43206. #: guix-git/doc/guix.texi:29110
  43207. msgid "The file name of your @file{ipsec.secrets}. If not @code{#f}, then this and @code{ipsec-conf} must both be strings."
  43208. msgstr ""
  43209. #. type: subsubheading
  43210. #: guix-git/doc/guix.texi:29114
  43211. #, no-wrap
  43212. msgid "Wireguard"
  43213. msgstr ""
  43214. #. type: defvr
  43215. #: guix-git/doc/guix.texi:29116
  43216. #, no-wrap
  43217. msgid "{Scheme Variable} wireguard-service-type"
  43218. msgstr ""
  43219. #. type: defvr
  43220. #: guix-git/doc/guix.texi:29119
  43221. msgid "A service type for a Wireguard tunnel interface. Its value must be a @code{wireguard-configuration} record as in this example:"
  43222. msgstr ""
  43223. #. type: lisp
  43224. #: guix-git/doc/guix.texi:29130
  43225. #, no-wrap
  43226. msgid ""
  43227. "(service wireguard-service-type\n"
  43228. " (wireguard-configuration\n"
  43229. " (peers\n"
  43230. " (list\n"
  43231. " (wireguard-peer\n"
  43232. " (name \"my-peer\")\n"
  43233. " (endpoint \"my.wireguard.com:51820\")\n"
  43234. " (public-key \"hzpKg9X1yqu1axN6iJp0mWf6BZGo8m1wteKwtTmDGF4=\")\n"
  43235. " (allowed-ips '(\"10.0.0.2/32\")))))))\n"
  43236. msgstr ""
  43237. #. type: deftp
  43238. #: guix-git/doc/guix.texi:29134
  43239. #, no-wrap
  43240. msgid "{Data Type} wireguard-configuration"
  43241. msgstr ""
  43242. #. type: deftp
  43243. #: guix-git/doc/guix.texi:29136
  43244. msgid "Data type representing the configuration of the Wireguard service."
  43245. msgstr ""
  43246. #. type: code{#1}
  43247. #: guix-git/doc/guix.texi:29138
  43248. #, no-wrap
  43249. msgid "wireguard"
  43250. msgstr ""
  43251. #. type: table
  43252. #: guix-git/doc/guix.texi:29140
  43253. msgid "The wireguard package to use for this service."
  43254. msgstr ""
  43255. #. type: item
  43256. #: guix-git/doc/guix.texi:29141
  43257. #, no-wrap
  43258. msgid "@code{interface} (default: @code{\"wg0\"})"
  43259. msgstr ""
  43260. #. type: table
  43261. #: guix-git/doc/guix.texi:29143
  43262. msgid "The interface name for the VPN."
  43263. msgstr ""
  43264. #. type: item
  43265. #: guix-git/doc/guix.texi:29144
  43266. #, no-wrap
  43267. msgid "@code{addresses} (default: @code{'(\"10.0.0.1/32\")})"
  43268. msgstr ""
  43269. #. type: table
  43270. #: guix-git/doc/guix.texi:29146
  43271. msgid "The IP addresses to be assigned to the above interface."
  43272. msgstr ""
  43273. #. type: item
  43274. #: guix-git/doc/guix.texi:29147
  43275. #, no-wrap
  43276. msgid "@code{port} (default: @code{51820})"
  43277. msgstr ""
  43278. #. type: table
  43279. #: guix-git/doc/guix.texi:29149
  43280. msgid "The port on which to listen for incoming connections."
  43281. msgstr ""
  43282. #. type: item
  43283. #: guix-git/doc/guix.texi:29150
  43284. #, no-wrap
  43285. msgid "@code{dns} (default: @code{#f})"
  43286. msgstr ""
  43287. #. type: table
  43288. #: guix-git/doc/guix.texi:29152
  43289. msgid "The DNS server(s) to announce to VPN clients via DHCP."
  43290. msgstr ""
  43291. #. type: item
  43292. #: guix-git/doc/guix.texi:29153
  43293. #, no-wrap
  43294. msgid "@code{private-key} (default: @code{\"/etc/wireguard/private.key\"})"
  43295. msgstr ""
  43296. #. type: table
  43297. #: guix-git/doc/guix.texi:29156
  43298. msgid "The private key file for the interface. It is automatically generated if the file does not exist."
  43299. msgstr ""
  43300. #. type: item
  43301. #: guix-git/doc/guix.texi:29157
  43302. #, no-wrap
  43303. msgid "@code{peers} (default: @code{'()})"
  43304. msgstr ""
  43305. #. type: table
  43306. #: guix-git/doc/guix.texi:29160
  43307. msgid "The authorized peers on this interface. This is a list of @var{wireguard-peer} records."
  43308. msgstr ""
  43309. #. type: deftp
  43310. #: guix-git/doc/guix.texi:29164
  43311. #, no-wrap
  43312. msgid "{Data Type} wireguard-peer"
  43313. msgstr ""
  43314. #. type: deftp
  43315. #: guix-git/doc/guix.texi:29166
  43316. msgid "Data type representing a Wireguard peer attached to a given interface."
  43317. msgstr ""
  43318. #. type: table
  43319. #: guix-git/doc/guix.texi:29170
  43320. msgid "The peer name."
  43321. msgstr ""
  43322. #. type: item
  43323. #: guix-git/doc/guix.texi:29171
  43324. #, no-wrap
  43325. msgid "@code{endpoint} (default: @code{#f})"
  43326. msgstr ""
  43327. #. type: table
  43328. #: guix-git/doc/guix.texi:29174
  43329. msgid "The optional endpoint for the peer, such as @code{\"demo.wireguard.com:51820\"}."
  43330. msgstr ""
  43331. #. type: itemx
  43332. #: guix-git/doc/guix.texi:29175 guix-git/doc/guix.texi:29570
  43333. #: guix-git/doc/guix.texi:29607 guix-git/doc/guix.texi:34858
  43334. #, no-wrap
  43335. msgid "public-key"
  43336. msgstr "julkinen avain"
  43337. #. type: table
  43338. #: guix-git/doc/guix.texi:29177
  43339. msgid "The peer public-key represented as a base64 string."
  43340. msgstr ""
  43341. #. type: code{#1}
  43342. #: guix-git/doc/guix.texi:29178
  43343. #, no-wrap
  43344. msgid "allowed-ips"
  43345. msgstr ""
  43346. #. type: table
  43347. #: guix-git/doc/guix.texi:29181
  43348. 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."
  43349. msgstr ""
  43350. #. type: item
  43351. #: guix-git/doc/guix.texi:29182
  43352. #, no-wrap
  43353. msgid "@code{keep-alive} (default: @code{#f})"
  43354. msgstr ""
  43355. #. type: table
  43356. #: guix-git/doc/guix.texi:29187
  43357. 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."
  43358. msgstr ""
  43359. #. type: cindex
  43360. #: guix-git/doc/guix.texi:29193
  43361. #, no-wrap
  43362. msgid "NFS"
  43363. msgstr "NFS"
  43364. #. type: Plain text
  43365. #: guix-git/doc/guix.texi:29198
  43366. 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)."
  43367. msgstr ""
  43368. #. type: Plain text
  43369. #: guix-git/doc/guix.texi:29202
  43370. 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}."
  43371. msgstr ""
  43372. #. type: subsubheading
  43373. #: guix-git/doc/guix.texi:29203
  43374. #, no-wrap
  43375. msgid "NFS Service"
  43376. msgstr ""
  43377. #. type: cindex
  43378. #: guix-git/doc/guix.texi:29204
  43379. #, no-wrap
  43380. msgid "NFS, server"
  43381. msgstr ""
  43382. #. type: Plain text
  43383. #: guix-git/doc/guix.texi:29209
  43384. 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."
  43385. msgstr ""
  43386. #. type: defvr
  43387. #: guix-git/doc/guix.texi:29210
  43388. #, no-wrap
  43389. msgid "{Scheme Variable} nfs-service-type"
  43390. msgstr ""
  43391. #. type: defvr
  43392. #: guix-git/doc/guix.texi:29212
  43393. msgid "A service type for a complete NFS server."
  43394. msgstr ""
  43395. #. type: deftp
  43396. #: guix-git/doc/guix.texi:29214
  43397. #, no-wrap
  43398. msgid "{Data Type} nfs-configuration"
  43399. msgstr ""
  43400. #. type: deftp
  43401. #: guix-git/doc/guix.texi:29217
  43402. msgid "This data type represents the configuration of the NFS service and all of its subsystems."
  43403. msgstr ""
  43404. #. type: deftp
  43405. #: guix-git/doc/guix.texi:29219
  43406. msgid "It has the following parameters:"
  43407. msgstr ""
  43408. #. type: item
  43409. #: guix-git/doc/guix.texi:29220 guix-git/doc/guix.texi:29345
  43410. #: guix-git/doc/guix.texi:29370
  43411. #, no-wrap
  43412. msgid "@code{nfs-utils} (default: @code{nfs-utils})"
  43413. msgstr ""
  43414. #. type: table
  43415. #: guix-git/doc/guix.texi:29222
  43416. msgid "The nfs-utils package to use."
  43417. msgstr ""
  43418. #. type: item
  43419. #: guix-git/doc/guix.texi:29223
  43420. #, no-wrap
  43421. msgid "@code{nfs-versions} (default: @code{'(\"4.2\" \"4.1\" \"4.0\")})"
  43422. msgstr ""
  43423. #. type: table
  43424. #: guix-git/doc/guix.texi:29226
  43425. 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."
  43426. msgstr ""
  43427. #. type: item
  43428. #: guix-git/doc/guix.texi:29227
  43429. #, no-wrap
  43430. msgid "@code{exports} (default: @code{'()})"
  43431. msgstr ""
  43432. #. type: table
  43433. #: guix-git/doc/guix.texi:29232
  43434. 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:"
  43435. msgstr ""
  43436. #. type: lisp
  43437. #: guix-git/doc/guix.texi:29238
  43438. #, no-wrap
  43439. msgid ""
  43440. "(nfs-configuration\n"
  43441. " (exports\n"
  43442. " '((\"/export\"\n"
  43443. " \"*(ro,insecure,no_subtree_check,crossmnt,fsid=0)\"))))\n"
  43444. msgstr ""
  43445. #. type: item
  43446. #: guix-git/doc/guix.texi:29240
  43447. #, no-wrap
  43448. msgid "@code{rpcmountd-port} (default: @code{#f})"
  43449. msgstr ""
  43450. #. type: table
  43451. #: guix-git/doc/guix.texi:29242
  43452. msgid "The network port that the @command{rpc.mountd} daemon should use."
  43453. msgstr ""
  43454. #. type: item
  43455. #: guix-git/doc/guix.texi:29243
  43456. #, no-wrap
  43457. msgid "@code{rpcstatd-port} (default: @code{#f})"
  43458. msgstr ""
  43459. #. type: table
  43460. #: guix-git/doc/guix.texi:29245
  43461. msgid "The network port that the @command{rpc.statd} daemon should use."
  43462. msgstr ""
  43463. #. type: item
  43464. #: guix-git/doc/guix.texi:29246 guix-git/doc/guix.texi:29294
  43465. #, no-wrap
  43466. msgid "@code{rpcbind} (default: @code{rpcbind})"
  43467. msgstr ""
  43468. #. type: table
  43469. #: guix-git/doc/guix.texi:29248 guix-git/doc/guix.texi:29296
  43470. msgid "The rpcbind package to use."
  43471. msgstr ""
  43472. #. type: item
  43473. #: guix-git/doc/guix.texi:29249
  43474. #, no-wrap
  43475. msgid "@code{idmap-domain} (default: @code{\"localdomain\"})"
  43476. msgstr ""
  43477. #. type: table
  43478. #: guix-git/doc/guix.texi:29251
  43479. msgid "The local NFSv4 domain name."
  43480. msgstr ""
  43481. #. type: item
  43482. #: guix-git/doc/guix.texi:29252
  43483. #, no-wrap
  43484. msgid "@code{nfsd-port} (default: @code{2049})"
  43485. msgstr ""
  43486. #. type: table
  43487. #: guix-git/doc/guix.texi:29254
  43488. msgid "The network port that the @command{nfsd} daemon should use."
  43489. msgstr ""
  43490. #. type: item
  43491. #: guix-git/doc/guix.texi:29255
  43492. #, no-wrap
  43493. msgid "@code{nfsd-threads} (default: @code{8})"
  43494. msgstr ""
  43495. #. type: table
  43496. #: guix-git/doc/guix.texi:29257
  43497. msgid "The number of threads used by the @command{nfsd} daemon."
  43498. msgstr ""
  43499. #. type: item
  43500. #: guix-git/doc/guix.texi:29258
  43501. #, no-wrap
  43502. msgid "@code{nfsd-tcp?} (default: @code{#t})"
  43503. msgstr ""
  43504. #. type: table
  43505. #: guix-git/doc/guix.texi:29260
  43506. msgid "Whether the @command{nfsd} daemon should listen on a TCP socket."
  43507. msgstr ""
  43508. #. type: item
  43509. #: guix-git/doc/guix.texi:29261
  43510. #, no-wrap
  43511. msgid "@code{nfsd-udp?} (default: @code{#f})"
  43512. msgstr ""
  43513. #. type: table
  43514. #: guix-git/doc/guix.texi:29263
  43515. msgid "Whether the @command{nfsd} daemon should listen on a UDP socket."
  43516. msgstr ""
  43517. #. type: item
  43518. #: guix-git/doc/guix.texi:29264 guix-git/doc/guix.texi:29348
  43519. #: guix-git/doc/guix.texi:29373
  43520. #, no-wrap
  43521. msgid "@code{pipefs-directory} (default: @code{\"/var/lib/nfs/rpc_pipefs\"})"
  43522. msgstr ""
  43523. #. type: table
  43524. #: guix-git/doc/guix.texi:29266 guix-git/doc/guix.texi:29350
  43525. #: guix-git/doc/guix.texi:29375
  43526. msgid "The directory where the pipefs file system is mounted."
  43527. msgstr ""
  43528. #. type: item
  43529. #: guix-git/doc/guix.texi:29267
  43530. #, no-wrap
  43531. msgid "@code{debug} (default: @code{'()\"})"
  43532. msgstr ""
  43533. #. type: table
  43534. #: guix-git/doc/guix.texi:29271
  43535. 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}."
  43536. msgstr ""
  43537. #. type: Plain text
  43538. #: guix-git/doc/guix.texi:29276
  43539. 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."
  43540. msgstr ""
  43541. #. type: subsubheading
  43542. #: guix-git/doc/guix.texi:29277
  43543. #, no-wrap
  43544. msgid "RPC Bind Service"
  43545. msgstr ""
  43546. #. type: cindex
  43547. #: guix-git/doc/guix.texi:29278
  43548. #, no-wrap
  43549. msgid "rpcbind"
  43550. msgstr ""
  43551. #. type: Plain text
  43552. #: guix-git/doc/guix.texi:29284
  43553. 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."
  43554. msgstr ""
  43555. #. type: defvr
  43556. #: guix-git/doc/guix.texi:29285
  43557. #, no-wrap
  43558. msgid "{Scheme Variable} rpcbind-service-type"
  43559. msgstr ""
  43560. #. type: defvr
  43561. #: guix-git/doc/guix.texi:29287
  43562. msgid "A service type for the RPC portmapper daemon."
  43563. msgstr ""
  43564. #. type: deftp
  43565. #: guix-git/doc/guix.texi:29290
  43566. #, no-wrap
  43567. msgid "{Data Type} rpcbind-configuration"
  43568. msgstr ""
  43569. #. type: deftp
  43570. #: guix-git/doc/guix.texi:29293
  43571. msgid "Data type representing the configuration of the RPC Bind Service. This type has the following parameters:"
  43572. msgstr ""
  43573. #. type: item
  43574. #: guix-git/doc/guix.texi:29297
  43575. #, no-wrap
  43576. msgid "@code{warm-start?} (default: @code{#t})"
  43577. msgstr ""
  43578. #. type: table
  43579. #: guix-git/doc/guix.texi:29301
  43580. 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."
  43581. msgstr ""
  43582. #. type: subsubheading
  43583. #: guix-git/doc/guix.texi:29305
  43584. #, no-wrap
  43585. msgid "Pipefs Pseudo File System"
  43586. msgstr ""
  43587. #. type: cindex
  43588. #: guix-git/doc/guix.texi:29306
  43589. #, no-wrap
  43590. msgid "pipefs"
  43591. msgstr ""
  43592. #. type: cindex
  43593. #: guix-git/doc/guix.texi:29307
  43594. #, no-wrap
  43595. msgid "rpc_pipefs"
  43596. msgstr ""
  43597. #. type: Plain text
  43598. #: guix-git/doc/guix.texi:29311
  43599. msgid "The pipefs file system is used to transfer NFS related data between the kernel and user space programs."
  43600. msgstr ""
  43601. #. type: defvr
  43602. #: guix-git/doc/guix.texi:29312
  43603. #, no-wrap
  43604. msgid "{Scheme Variable} pipefs-service-type"
  43605. msgstr ""
  43606. #. type: defvr
  43607. #: guix-git/doc/guix.texi:29314
  43608. msgid "A service type for the pipefs pseudo file system."
  43609. msgstr ""
  43610. #. type: deftp
  43611. #: guix-git/doc/guix.texi:29316
  43612. #, no-wrap
  43613. msgid "{Data Type} pipefs-configuration"
  43614. msgstr ""
  43615. #. type: deftp
  43616. #: guix-git/doc/guix.texi:29319
  43617. msgid "Data type representing the configuration of the pipefs pseudo file system service. This type has the following parameters:"
  43618. msgstr ""
  43619. #. type: item
  43620. #: guix-git/doc/guix.texi:29320
  43621. #, no-wrap
  43622. msgid "@code{mount-point} (default: @code{\"/var/lib/nfs/rpc_pipefs\"})"
  43623. msgstr ""
  43624. #. type: table
  43625. #: guix-git/doc/guix.texi:29322
  43626. msgid "The directory to which the file system is to be attached."
  43627. msgstr ""
  43628. #. type: subsubheading
  43629. #: guix-git/doc/guix.texi:29326
  43630. #, no-wrap
  43631. msgid "GSS Daemon Service"
  43632. msgstr ""
  43633. #. type: cindex
  43634. #: guix-git/doc/guix.texi:29327
  43635. #, no-wrap
  43636. msgid "GSSD"
  43637. msgstr ""
  43638. #. type: cindex
  43639. #: guix-git/doc/guix.texi:29328
  43640. #, no-wrap
  43641. msgid "GSS"
  43642. msgstr ""
  43643. #. type: cindex
  43644. #: guix-git/doc/guix.texi:29329
  43645. #, no-wrap
  43646. msgid "global security system"
  43647. msgstr ""
  43648. #. type: Plain text
  43649. #: guix-git/doc/guix.texi:29336
  43650. 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})."
  43651. msgstr ""
  43652. #. type: defvr
  43653. #: guix-git/doc/guix.texi:29337
  43654. #, no-wrap
  43655. msgid "{Scheme Variable} gss-service-type"
  43656. msgstr ""
  43657. #. type: defvr
  43658. #: guix-git/doc/guix.texi:29339
  43659. msgid "A service type for the Global Security System (GSS) daemon."
  43660. msgstr ""
  43661. #. type: deftp
  43662. #: guix-git/doc/guix.texi:29341
  43663. #, no-wrap
  43664. msgid "{Data Type} gss-configuration"
  43665. msgstr ""
  43666. #. type: deftp
  43667. #: guix-git/doc/guix.texi:29344
  43668. msgid "Data type representing the configuration of the GSS daemon service. This type has the following parameters:"
  43669. msgstr ""
  43670. #. type: table
  43671. #: guix-git/doc/guix.texi:29347
  43672. msgid "The package in which the @command{rpc.gssd} command is to be found."
  43673. msgstr ""
  43674. #. type: subsubheading
  43675. #: guix-git/doc/guix.texi:29355
  43676. #, no-wrap
  43677. msgid "IDMAP Daemon Service"
  43678. msgstr ""
  43679. #. type: cindex
  43680. #: guix-git/doc/guix.texi:29356
  43681. #, no-wrap
  43682. msgid "idmapd"
  43683. msgstr ""
  43684. #. type: cindex
  43685. #: guix-git/doc/guix.texi:29357
  43686. #, no-wrap
  43687. msgid "name mapper"
  43688. msgstr ""
  43689. #. type: Plain text
  43690. #: guix-git/doc/guix.texi:29361
  43691. 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."
  43692. msgstr ""
  43693. #. type: defvr
  43694. #: guix-git/doc/guix.texi:29362
  43695. #, no-wrap
  43696. msgid "{Scheme Variable} idmap-service-type"
  43697. msgstr ""
  43698. #. type: defvr
  43699. #: guix-git/doc/guix.texi:29364
  43700. msgid "A service type for the Identity Mapper (IDMAP) daemon."
  43701. msgstr ""
  43702. #. type: deftp
  43703. #: guix-git/doc/guix.texi:29366
  43704. #, no-wrap
  43705. msgid "{Data Type} idmap-configuration"
  43706. msgstr ""
  43707. #. type: deftp
  43708. #: guix-git/doc/guix.texi:29369
  43709. msgid "Data type representing the configuration of the IDMAP daemon service. This type has the following parameters:"
  43710. msgstr ""
  43711. #. type: table
  43712. #: guix-git/doc/guix.texi:29372
  43713. msgid "The package in which the @command{rpc.idmapd} command is to be found."
  43714. msgstr ""
  43715. #. type: item
  43716. #: guix-git/doc/guix.texi:29376
  43717. #, no-wrap
  43718. msgid "@code{domain} (default: @code{#f})"
  43719. msgstr ""
  43720. #. type: table
  43721. #: guix-git/doc/guix.texi:29380
  43722. 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."
  43723. msgstr ""
  43724. #. type: item
  43725. #: guix-git/doc/guix.texi:29381
  43726. #, no-wrap
  43727. msgid "@code{verbosity} (default: @code{0})"
  43728. msgstr ""
  43729. #. type: table
  43730. #: guix-git/doc/guix.texi:29383
  43731. msgid "The verbosity level of the daemon."
  43732. msgstr ""
  43733. #. type: Plain text
  43734. #: guix-git/doc/guix.texi:29394
  43735. 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})."
  43736. msgstr ""
  43737. #. type: Plain text
  43738. #: guix-git/doc/guix.texi:29396
  43739. msgid "The @code{(gnu services cuirass)} module provides the following service."
  43740. msgstr ""
  43741. #. type: defvr
  43742. #: guix-git/doc/guix.texi:29397
  43743. #, no-wrap
  43744. msgid "{Scheme Procedure} cuirass-service-type"
  43745. msgstr ""
  43746. #. type: defvr
  43747. #: guix-git/doc/guix.texi:29400
  43748. msgid "The type of the Cuirass service. Its value must be a @code{cuirass-configuration} object, as described below."
  43749. msgstr ""
  43750. #. type: Plain text
  43751. #: guix-git/doc/guix.texi:29405
  43752. 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."
  43753. msgstr ""
  43754. #. type: lisp
  43755. #: guix-git/doc/guix.texi:29416
  43756. #, no-wrap
  43757. msgid ""
  43758. "(define %cuirass-specs\n"
  43759. " #~(list (specification\n"
  43760. " (name \"my-channel\")\n"
  43761. " (build '(channels my-channel))\n"
  43762. " (channels\n"
  43763. " (cons (channel\n"
  43764. " (name 'my-channel)\n"
  43765. " (url \"https://my-channel.git\"))\n"
  43766. " %default-channels)))))\n"
  43767. "\n"
  43768. msgstr ""
  43769. #. type: lisp
  43770. #: guix-git/doc/guix.texi:29420 guix-git/doc/guix.texi:29434
  43771. #, no-wrap
  43772. msgid ""
  43773. "(service cuirass-service-type\n"
  43774. " (cuirass-configuration\n"
  43775. " (specifications %cuirass-specs)))\n"
  43776. msgstr ""
  43777. #. type: Plain text
  43778. #: guix-git/doc/guix.texi:29424
  43779. msgid "To build the @code{linux-libre} package defined by the default Guix channel, one can use the following configuration."
  43780. msgstr ""
  43781. #. type: lisp
  43782. #: guix-git/doc/guix.texi:29430
  43783. #, no-wrap
  43784. msgid ""
  43785. "(define %cuirass-specs\n"
  43786. " #~(list (specification\n"
  43787. " (name \"my-linux\")\n"
  43788. " (build '(packages \"linux-libre\")))))\n"
  43789. "\n"
  43790. msgstr ""
  43791. #. type: Plain text
  43792. #: guix-git/doc/guix.texi:29439
  43793. msgid "The other configuration possibilities, as well as the specification record itself are described in the Cuirass manual (@pxref{Specifications,,, cuirass, Cuirass})."
  43794. msgstr ""
  43795. #. type: Plain text
  43796. #: guix-git/doc/guix.texi:29443
  43797. 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."
  43798. msgstr ""
  43799. #. type: deftp
  43800. #: guix-git/doc/guix.texi:29444
  43801. #, no-wrap
  43802. msgid "{Data Type} cuirass-configuration"
  43803. msgstr ""
  43804. #. type: deftp
  43805. #: guix-git/doc/guix.texi:29446
  43806. msgid "Data type representing the configuration of Cuirass."
  43807. msgstr ""
  43808. #. type: item
  43809. #: guix-git/doc/guix.texi:29448 guix-git/doc/guix.texi:29585
  43810. #, no-wrap
  43811. msgid "@code{cuirass} (default: @code{cuirass})"
  43812. msgstr ""
  43813. #. type: table
  43814. #: guix-git/doc/guix.texi:29450 guix-git/doc/guix.texi:29587
  43815. msgid "The Cuirass package to use."
  43816. msgstr ""
  43817. #. type: item
  43818. #: guix-git/doc/guix.texi:29451
  43819. #, no-wrap
  43820. msgid "@code{log-file} (default: @code{\"/var/log/cuirass.log\"})"
  43821. msgstr ""
  43822. #. type: table
  43823. #: guix-git/doc/guix.texi:29453 guix-git/doc/guix.texi:29557
  43824. #: guix-git/doc/guix.texi:29600
  43825. msgid "Location of the log file."
  43826. msgstr ""
  43827. #. type: item
  43828. #: guix-git/doc/guix.texi:29454
  43829. #, no-wrap
  43830. msgid "@code{web-log-file} (default: @code{\"/var/log/cuirass-web.log\"})"
  43831. msgstr ""
  43832. #. type: table
  43833. #: guix-git/doc/guix.texi:29456
  43834. msgid "Location of the log file used by the web interface."
  43835. msgstr ""
  43836. #. type: item
  43837. #: guix-git/doc/guix.texi:29457
  43838. #, no-wrap
  43839. msgid "@code{cache-directory} (default: @code{\"/var/cache/cuirass\"})"
  43840. msgstr ""
  43841. #. type: table
  43842. #: guix-git/doc/guix.texi:29459
  43843. msgid "Location of the repository cache."
  43844. msgstr ""
  43845. #. type: item
  43846. #: guix-git/doc/guix.texi:29460
  43847. #, no-wrap
  43848. msgid "@code{user} (default: @code{\"cuirass\"})"
  43849. msgstr ""
  43850. #. type: table
  43851. #: guix-git/doc/guix.texi:29462
  43852. msgid "Owner of the @code{cuirass} process."
  43853. msgstr ""
  43854. #. type: item
  43855. #: guix-git/doc/guix.texi:29463
  43856. #, no-wrap
  43857. msgid "@code{group} (default: @code{\"cuirass\"})"
  43858. msgstr ""
  43859. #. type: table
  43860. #: guix-git/doc/guix.texi:29465
  43861. msgid "Owner's group of the @code{cuirass} process."
  43862. msgstr ""
  43863. #. type: item
  43864. #: guix-git/doc/guix.texi:29466
  43865. #, no-wrap
  43866. msgid "@code{interval} (default: @code{60})"
  43867. msgstr ""
  43868. #. type: table
  43869. #: guix-git/doc/guix.texi:29469
  43870. msgid "Number of seconds between the poll of the repositories followed by the Cuirass jobs."
  43871. msgstr ""
  43872. #. type: item
  43873. #: guix-git/doc/guix.texi:29470
  43874. #, no-wrap
  43875. msgid "@code{parameters} (default: @code{#f})"
  43876. msgstr ""
  43877. #. type: table
  43878. #: guix-git/doc/guix.texi:29473
  43879. msgid "Read parameters from the given @var{parameters} file. The supported parameters are described here (@pxref{Parameters,,, cuirass, Cuirass})."
  43880. msgstr ""
  43881. #. type: item
  43882. #: guix-git/doc/guix.texi:29474
  43883. #, no-wrap
  43884. msgid "@code{remote-server} (default: @code{#f})"
  43885. msgstr ""
  43886. #. type: table
  43887. #: guix-git/doc/guix.texi:29477
  43888. msgid "A @code{cuirass-remote-server-configuration} record to use the build remote mechanism or @code{#f} to use the default build mechanism."
  43889. msgstr ""
  43890. #. type: item
  43891. #: guix-git/doc/guix.texi:29478
  43892. #, no-wrap
  43893. msgid "@code{database} (default: @code{\"dbname=cuirass host=/var/run/postgresql\"})"
  43894. msgstr ""
  43895. #. type: table
  43896. #: guix-git/doc/guix.texi:29483
  43897. 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\"}."
  43898. msgstr ""
  43899. #. type: item
  43900. #: guix-git/doc/guix.texi:29484
  43901. #, no-wrap
  43902. msgid "@code{port} (default: @code{8081})"
  43903. msgstr ""
  43904. #. type: table
  43905. #: guix-git/doc/guix.texi:29486
  43906. msgid "Port number used by the HTTP server."
  43907. msgstr ""
  43908. #. type: table
  43909. #: guix-git/doc/guix.texi:29490
  43910. msgid "Listen on the network interface for @var{host}. The default is to accept connections from localhost."
  43911. msgstr ""
  43912. #. type: item
  43913. #: guix-git/doc/guix.texi:29491
  43914. #, no-wrap
  43915. msgid "@code{specifications} (default: @code{#~'()})"
  43916. msgstr ""
  43917. #. type: table
  43918. #: guix-git/doc/guix.texi:29495
  43919. 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})."
  43920. msgstr ""
  43921. #. type: item
  43922. #: guix-git/doc/guix.texi:29496
  43923. #, no-wrap
  43924. msgid "@code{use-substitutes?} (default: @code{#f})"
  43925. msgstr ""
  43926. #. type: table
  43927. #: guix-git/doc/guix.texi:29499
  43928. msgid "This allows using substitutes to avoid building every dependencies of a job from source."
  43929. msgstr ""
  43930. #. type: item
  43931. #: guix-git/doc/guix.texi:29500 guix-git/doc/guix.texi:36940
  43932. #, no-wrap
  43933. msgid "@code{one-shot?} (default: @code{#f})"
  43934. msgstr ""
  43935. #. type: table
  43936. #: guix-git/doc/guix.texi:29502
  43937. msgid "Only evaluate specifications and build derivations once."
  43938. msgstr ""
  43939. #. type: item
  43940. #: guix-git/doc/guix.texi:29503
  43941. #, no-wrap
  43942. msgid "@code{fallback?} (default: @code{#f})"
  43943. msgstr ""
  43944. #. type: table
  43945. #: guix-git/doc/guix.texi:29506
  43946. msgid "When substituting a pre-built binary fails, fall back to building packages locally."
  43947. msgstr ""
  43948. #. type: table
  43949. #: guix-git/doc/guix.texi:29509
  43950. msgid "Extra options to pass when running the Cuirass processes."
  43951. msgstr ""
  43952. #. type: cindex
  43953. #: guix-git/doc/guix.texi:29513
  43954. #, no-wrap
  43955. msgid "remote build"
  43956. msgstr ""
  43957. #. type: subsubheading
  43958. #: guix-git/doc/guix.texi:29514
  43959. #, no-wrap
  43960. msgid "Cuirass remote building"
  43961. msgstr ""
  43962. #. type: Plain text
  43963. #: guix-git/doc/guix.texi:29517
  43964. msgid "Cuirass supports two mechanisms to build derivations."
  43965. msgstr ""
  43966. #. type: item
  43967. #: guix-git/doc/guix.texi:29519
  43968. #, no-wrap
  43969. msgid "Using the local Guix daemon."
  43970. msgstr ""
  43971. #. type: itemize
  43972. #: guix-git/doc/guix.texi:29523
  43973. 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."
  43974. msgstr ""
  43975. #. type: item
  43976. #: guix-git/doc/guix.texi:29524
  43977. #, no-wrap
  43978. msgid "Using the remote build mechanism."
  43979. msgstr ""
  43980. #. type: itemize
  43981. #: guix-git/doc/guix.texi:29528
  43982. 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."
  43983. msgstr ""
  43984. #. type: Plain text
  43985. #: guix-git/doc/guix.texi:29535
  43986. 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."
  43987. msgstr ""
  43988. #. type: Plain text
  43989. #: guix-git/doc/guix.texi:29540
  43990. 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."
  43991. msgstr ""
  43992. #. type: deftp
  43993. #: guix-git/doc/guix.texi:29541
  43994. #, no-wrap
  43995. msgid "{Data Type} cuirass-remote-server-configuration"
  43996. msgstr ""
  43997. #. type: deftp
  43998. #: guix-git/doc/guix.texi:29543
  43999. msgid "Data type representing the configuration of the Cuirass remote-server."
  44000. msgstr ""
  44001. #. type: item
  44002. #: guix-git/doc/guix.texi:29545
  44003. #, no-wrap
  44004. msgid "@code{backend-port} (default: @code{5555})"
  44005. msgstr ""
  44006. #. type: table
  44007. #: guix-git/doc/guix.texi:29548
  44008. msgid "The TCP port for communicating with @code{remote-worker} processes using ZMQ. It defaults to @code{5555}."
  44009. msgstr ""
  44010. #. type: item
  44011. #: guix-git/doc/guix.texi:29549
  44012. #, no-wrap
  44013. msgid "@code{log-port} (default: @code{5556})"
  44014. msgstr ""
  44015. #. type: table
  44016. #: guix-git/doc/guix.texi:29551
  44017. msgid "The TCP port of the log server. It defaults to @code{5556}."
  44018. msgstr ""
  44019. #. type: item
  44020. #: guix-git/doc/guix.texi:29552
  44021. #, no-wrap
  44022. msgid "@code{publish-port} (default: @code{5557})"
  44023. msgstr ""
  44024. #. type: table
  44025. #: guix-git/doc/guix.texi:29554
  44026. msgid "The TCP port of the publish server. It defaults to @code{5557}."
  44027. msgstr ""
  44028. #. type: item
  44029. #: guix-git/doc/guix.texi:29555
  44030. #, no-wrap
  44031. msgid "@code{log-file} (default: @code{\"/var/log/cuirass-remote-server.log\"})"
  44032. msgstr ""
  44033. #. type: item
  44034. #: guix-git/doc/guix.texi:29558
  44035. #, no-wrap
  44036. msgid "@code{cache} (default: @code{\"/var/cache/cuirass/remote\"})"
  44037. msgstr ""
  44038. #. type: table
  44039. #: guix-git/doc/guix.texi:29560
  44040. msgid "Use @var{cache} directory to cache build log files."
  44041. msgstr ""
  44042. #. type: item
  44043. #: guix-git/doc/guix.texi:29561
  44044. #, no-wrap
  44045. msgid "@code{trigger-url} (default: @code{#f})"
  44046. msgstr ""
  44047. #. type: table
  44048. #: guix-git/doc/guix.texi:29564
  44049. msgid "Once a substitute is successfully fetched, trigger substitute baking at @var{trigger-url}."
  44050. msgstr ""
  44051. #. type: table
  44052. #: guix-git/doc/guix.texi:29569
  44053. 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."
  44054. msgstr ""
  44055. #. type: code{#1}
  44056. #: guix-git/doc/guix.texi:29571 guix-git/doc/guix.texi:29608
  44057. #, no-wrap
  44058. msgid "private-key"
  44059. msgstr ""
  44060. #. type: Plain text
  44061. #: guix-git/doc/guix.texi:29580
  44062. 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."
  44063. msgstr ""
  44064. #. type: deftp
  44065. #: guix-git/doc/guix.texi:29581
  44066. #, no-wrap
  44067. msgid "{Data Type} cuirass-remote-worker-configuration"
  44068. msgstr ""
  44069. #. type: deftp
  44070. #: guix-git/doc/guix.texi:29583
  44071. msgid "Data type representing the configuration of the Cuirass remote-worker."
  44072. msgstr ""
  44073. #. type: item
  44074. #: guix-git/doc/guix.texi:29588
  44075. #, no-wrap
  44076. msgid "@code{workers} (default: @code{1})"
  44077. msgstr ""
  44078. #. type: table
  44079. #: guix-git/doc/guix.texi:29590
  44080. msgid "Start @var{workers} parallel workers."
  44081. msgstr ""
  44082. #. type: table
  44083. #: guix-git/doc/guix.texi:29594
  44084. msgid "Do not use Avahi discovery and connect to the given @code{server} IP address instead."
  44085. msgstr ""
  44086. #. type: item
  44087. #: guix-git/doc/guix.texi:29595
  44088. #, no-wrap
  44089. msgid "@code{systems} (default: @code{(list (%current-system))})"
  44090. msgstr ""
  44091. #. type: table
  44092. #: guix-git/doc/guix.texi:29597
  44093. msgid "Only request builds for the given @var{systems}."
  44094. msgstr ""
  44095. #. type: item
  44096. #: guix-git/doc/guix.texi:29598
  44097. #, no-wrap
  44098. msgid "@code{log-file} (default: @code{\"/var/log/cuirass-remote-worker.log\"})"
  44099. msgstr ""
  44100. #. type: item
  44101. #: guix-git/doc/guix.texi:29601
  44102. #, no-wrap
  44103. msgid "@code{publish-port} (default: @code{5558})"
  44104. msgstr ""
  44105. #. type: table
  44106. #: guix-git/doc/guix.texi:29603
  44107. msgid "The TCP port of the publish server. It defaults to @code{5558}."
  44108. msgstr ""
  44109. #. type: subsubheading
  44110. #: guix-git/doc/guix.texi:29615
  44111. #, no-wrap
  44112. msgid "Laminar"
  44113. msgstr ""
  44114. #. type: Plain text
  44115. #: guix-git/doc/guix.texi:29620
  44116. 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."
  44117. msgstr ""
  44118. #. type: Plain text
  44119. #: guix-git/doc/guix.texi:29623
  44120. msgid "Laminar encourages the use of existing tools such as bash and cron instead of reinventing them."
  44121. msgstr ""
  44122. #. type: defvr
  44123. #: guix-git/doc/guix.texi:29624
  44124. #, no-wrap
  44125. msgid "{Scheme Procedure} laminar-service-type"
  44126. msgstr ""
  44127. #. type: defvr
  44128. #: guix-git/doc/guix.texi:29627
  44129. msgid "The type of the Laminar service. Its value must be a @code{laminar-configuration} object, as described below."
  44130. msgstr ""
  44131. #. type: defvr
  44132. #: guix-git/doc/guix.texi:29631
  44133. 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."
  44134. msgstr ""
  44135. #. type: lisp
  44136. #: guix-git/doc/guix.texi:29634
  44137. #, no-wrap
  44138. msgid "(service laminar-service-type)\n"
  44139. msgstr ""
  44140. #. type: deftp
  44141. #: guix-git/doc/guix.texi:29637
  44142. #, no-wrap
  44143. msgid "{Data Type} laminar-configuration"
  44144. msgstr ""
  44145. #. type: deftp
  44146. #: guix-git/doc/guix.texi:29639
  44147. msgid "Data type representing the configuration of Laminar."
  44148. msgstr ""
  44149. #. type: item
  44150. #: guix-git/doc/guix.texi:29641
  44151. #, no-wrap
  44152. msgid "@code{laminar} (default: @code{laminar})"
  44153. msgstr ""
  44154. #. type: table
  44155. #: guix-git/doc/guix.texi:29643
  44156. msgid "The Laminar package to use."
  44157. msgstr ""
  44158. #. type: item
  44159. #: guix-git/doc/guix.texi:29644
  44160. #, no-wrap
  44161. msgid "@code{home-directory} (default: @code{\"/var/lib/laminar\"})"
  44162. msgstr ""
  44163. #. type: table
  44164. #: guix-git/doc/guix.texi:29646
  44165. msgid "The directory for job configurations and run directories."
  44166. msgstr ""
  44167. #. type: item
  44168. #: guix-git/doc/guix.texi:29647
  44169. #, no-wrap
  44170. msgid "@code{bind-http} (default: @code{\"*:8080\"})"
  44171. msgstr ""
  44172. #. type: table
  44173. #: guix-git/doc/guix.texi:29650
  44174. msgid "The interface/port or unix socket on which laminard should listen for incoming connections to the web frontend."
  44175. msgstr ""
  44176. #. type: item
  44177. #: guix-git/doc/guix.texi:29651
  44178. #, no-wrap
  44179. msgid "@code{bind-rpc} (default: @code{\"unix-abstract:laminar\"})"
  44180. msgstr ""
  44181. #. type: table
  44182. #: guix-git/doc/guix.texi:29654
  44183. msgid "The interface/port or unix socket on which laminard should listen for incoming commands such as build triggers."
  44184. msgstr ""
  44185. #. type: item
  44186. #: guix-git/doc/guix.texi:29655
  44187. #, no-wrap
  44188. msgid "@code{title} (default: @code{\"Laminar\"})"
  44189. msgstr ""
  44190. #. type: table
  44191. #: guix-git/doc/guix.texi:29657
  44192. msgid "The page title to show in the web frontend."
  44193. msgstr ""
  44194. #. type: item
  44195. #: guix-git/doc/guix.texi:29658
  44196. #, no-wrap
  44197. msgid "@code{keep-rundirs} (default: @code{0})"
  44198. msgstr ""
  44199. #. type: table
  44200. #: guix-git/doc/guix.texi:29662
  44201. 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."
  44202. msgstr ""
  44203. #. type: item
  44204. #: guix-git/doc/guix.texi:29663
  44205. #, no-wrap
  44206. msgid "@code{archive-url} (default: @code{#f})"
  44207. msgstr ""
  44208. #. type: table
  44209. #: guix-git/doc/guix.texi:29666
  44210. msgid "The web frontend served by laminard will use this URL to form links to artefacts archived jobs."
  44211. msgstr ""
  44212. #. type: item
  44213. #: guix-git/doc/guix.texi:29667
  44214. #, no-wrap
  44215. msgid "@code{base-url} (default: @code{#f})"
  44216. msgstr ""
  44217. #. type: table
  44218. #: guix-git/doc/guix.texi:29669
  44219. msgid "Base URL to use for links to laminar itself."
  44220. msgstr ""
  44221. #. type: cindex
  44222. #: guix-git/doc/guix.texi:29676
  44223. #, no-wrap
  44224. msgid "tlp"
  44225. msgstr ""
  44226. #. type: cindex
  44227. #: guix-git/doc/guix.texi:29677
  44228. #, no-wrap
  44229. msgid "power management with TLP"
  44230. msgstr ""
  44231. #. type: subsubheading
  44232. #: guix-git/doc/guix.texi:29678
  44233. #, no-wrap
  44234. msgid "TLP daemon"
  44235. msgstr ""
  44236. #. type: Plain text
  44237. #: guix-git/doc/guix.texi:29682
  44238. msgid "The @code{(gnu services pm)} module provides a Guix service definition for the Linux power management tool TLP."
  44239. msgstr ""
  44240. #. type: Plain text
  44241. #: guix-git/doc/guix.texi:29688
  44242. 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}."
  44243. msgstr ""
  44244. #. type: deffn
  44245. #: guix-git/doc/guix.texi:29689
  44246. #, no-wrap
  44247. msgid "{Scheme Variable} tlp-service-type"
  44248. msgstr ""
  44249. #. type: deffn
  44250. #: guix-git/doc/guix.texi:29693
  44251. 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}:"
  44252. msgstr ""
  44253. #. type: lisp
  44254. #: guix-git/doc/guix.texi:29698
  44255. #, no-wrap
  44256. msgid ""
  44257. "(service tlp-service-type\n"
  44258. " (tlp-configuration\n"
  44259. " (cpu-scaling-governor-on-ac (list \"performance\"))\n"
  44260. " (sched-powersave-on-bat? #t)))\n"
  44261. msgstr ""
  44262. #. type: Plain text
  44263. #: guix-git/doc/guix.texi:29706
  44264. 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}."
  44265. msgstr ""
  44266. #. type: Plain text
  44267. #: guix-git/doc/guix.texi:29716
  44268. msgid "Available @code{tlp-configuration} fields are:"
  44269. msgstr ""
  44270. #. type: deftypevr
  44271. #: guix-git/doc/guix.texi:29717
  44272. #, no-wrap
  44273. msgid "{@code{tlp-configuration} parameter} package tlp"
  44274. msgstr ""
  44275. #. type: deftypevr
  44276. #: guix-git/doc/guix.texi:29719
  44277. msgid "The TLP package."
  44278. msgstr ""
  44279. #. type: deftypevr
  44280. #: guix-git/doc/guix.texi:29722
  44281. #, no-wrap
  44282. msgid "{@code{tlp-configuration} parameter} boolean tlp-enable?"
  44283. msgstr ""
  44284. #. type: deftypevr
  44285. #: guix-git/doc/guix.texi:29724
  44286. msgid "Set to true if you wish to enable TLP."
  44287. msgstr ""
  44288. #. type: deftypevr
  44289. #: guix-git/doc/guix.texi:29729
  44290. #, no-wrap
  44291. msgid "{@code{tlp-configuration} parameter} string tlp-default-mode"
  44292. msgstr ""
  44293. #. type: deftypevr
  44294. #: guix-git/doc/guix.texi:29732
  44295. msgid "Default mode when no power supply can be detected. Alternatives are AC and BAT."
  44296. msgstr ""
  44297. #. type: deftypevr
  44298. #: guix-git/doc/guix.texi:29734
  44299. msgid "Defaults to @samp{\"AC\"}."
  44300. msgstr ""
  44301. #. type: deftypevr
  44302. #: guix-git/doc/guix.texi:29737
  44303. #, no-wrap
  44304. msgid "{@code{tlp-configuration} parameter} non-negative-integer disk-idle-secs-on-ac"
  44305. msgstr ""
  44306. #. type: deftypevr
  44307. #: guix-git/doc/guix.texi:29740
  44308. msgid "Number of seconds Linux kernel has to wait after the disk goes idle, before syncing on AC."
  44309. msgstr ""
  44310. #. type: deftypevr
  44311. #: guix-git/doc/guix.texi:29745
  44312. #, no-wrap
  44313. msgid "{@code{tlp-configuration} parameter} non-negative-integer disk-idle-secs-on-bat"
  44314. msgstr ""
  44315. #. type: deftypevr
  44316. #: guix-git/doc/guix.texi:29747
  44317. msgid "Same as @code{disk-idle-ac} but on BAT mode."
  44318. msgstr ""
  44319. #. type: deftypevr
  44320. #: guix-git/doc/guix.texi:29749
  44321. msgid "Defaults to @samp{2}."
  44322. msgstr ""
  44323. #. type: deftypevr
  44324. #: guix-git/doc/guix.texi:29752
  44325. #, no-wrap
  44326. msgid "{@code{tlp-configuration} parameter} non-negative-integer max-lost-work-secs-on-ac"
  44327. msgstr ""
  44328. #. type: deftypevr
  44329. #: guix-git/doc/guix.texi:29754
  44330. msgid "Dirty pages flushing periodicity, expressed in seconds."
  44331. msgstr ""
  44332. #. type: deftypevr
  44333. #: guix-git/doc/guix.texi:29756 guix-git/doc/guix.texi:29979
  44334. #: guix-git/doc/guix.texi:32279 guix-git/doc/guix.texi:32287
  44335. msgid "Defaults to @samp{15}."
  44336. msgstr ""
  44337. #. type: deftypevr
  44338. #: guix-git/doc/guix.texi:29759
  44339. #, no-wrap
  44340. msgid "{@code{tlp-configuration} parameter} non-negative-integer max-lost-work-secs-on-bat"
  44341. msgstr ""
  44342. #. type: deftypevr
  44343. #: guix-git/doc/guix.texi:29761
  44344. msgid "Same as @code{max-lost-work-secs-on-ac} but on BAT mode."
  44345. msgstr ""
  44346. #. type: deftypevr
  44347. #: guix-git/doc/guix.texi:29763
  44348. msgid "Defaults to @samp{60}."
  44349. msgstr ""
  44350. #. type: deftypevr
  44351. #: guix-git/doc/guix.texi:29766
  44352. #, no-wrap
  44353. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list cpu-scaling-governor-on-ac"
  44354. msgstr ""
  44355. #. type: deftypevr
  44356. #: guix-git/doc/guix.texi:29770
  44357. 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."
  44358. msgstr ""
  44359. #. type: deftypevr
  44360. #: guix-git/doc/guix.texi:29775
  44361. #, no-wrap
  44362. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list cpu-scaling-governor-on-bat"
  44363. msgstr ""
  44364. #. type: deftypevr
  44365. #: guix-git/doc/guix.texi:29777
  44366. msgid "Same as @code{cpu-scaling-governor-on-ac} but on BAT mode."
  44367. msgstr ""
  44368. #. type: deftypevr
  44369. #: guix-git/doc/guix.texi:29782
  44370. #, no-wrap
  44371. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-scaling-min-freq-on-ac"
  44372. msgstr ""
  44373. #. type: deftypevr
  44374. #: guix-git/doc/guix.texi:29784
  44375. msgid "Set the min available frequency for the scaling governor on AC."
  44376. msgstr ""
  44377. #. type: deftypevr
  44378. #: guix-git/doc/guix.texi:29789
  44379. #, no-wrap
  44380. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-scaling-max-freq-on-ac"
  44381. msgstr ""
  44382. #. type: deftypevr
  44383. #: guix-git/doc/guix.texi:29791
  44384. msgid "Set the max available frequency for the scaling governor on AC."
  44385. msgstr ""
  44386. #. type: deftypevr
  44387. #: guix-git/doc/guix.texi:29796
  44388. #, no-wrap
  44389. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-scaling-min-freq-on-bat"
  44390. msgstr ""
  44391. #. type: deftypevr
  44392. #: guix-git/doc/guix.texi:29798
  44393. msgid "Set the min available frequency for the scaling governor on BAT."
  44394. msgstr ""
  44395. #. type: deftypevr
  44396. #: guix-git/doc/guix.texi:29803
  44397. #, no-wrap
  44398. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-scaling-max-freq-on-bat"
  44399. msgstr ""
  44400. #. type: deftypevr
  44401. #: guix-git/doc/guix.texi:29805
  44402. msgid "Set the max available frequency for the scaling governor on BAT."
  44403. msgstr ""
  44404. #. type: deftypevr
  44405. #: guix-git/doc/guix.texi:29810
  44406. #, no-wrap
  44407. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-min-perf-on-ac"
  44408. msgstr ""
  44409. #. type: deftypevr
  44410. #: guix-git/doc/guix.texi:29813
  44411. 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."
  44412. msgstr ""
  44413. #. type: deftypevr
  44414. #: guix-git/doc/guix.texi:29818
  44415. #, no-wrap
  44416. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-max-perf-on-ac"
  44417. msgstr ""
  44418. #. type: deftypevr
  44419. #: guix-git/doc/guix.texi:29821
  44420. 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."
  44421. msgstr ""
  44422. #. type: deftypevr
  44423. #: guix-git/doc/guix.texi:29826
  44424. #, no-wrap
  44425. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-min-perf-on-bat"
  44426. msgstr ""
  44427. #. type: deftypevr
  44428. #: guix-git/doc/guix.texi:29828
  44429. msgid "Same as @code{cpu-min-perf-on-ac} on BAT mode."
  44430. msgstr ""
  44431. #. type: deftypevr
  44432. #: guix-git/doc/guix.texi:29833
  44433. #, no-wrap
  44434. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer cpu-max-perf-on-bat"
  44435. msgstr ""
  44436. #. type: deftypevr
  44437. #: guix-git/doc/guix.texi:29835
  44438. msgid "Same as @code{cpu-max-perf-on-ac} on BAT mode."
  44439. msgstr ""
  44440. #. type: deftypevr
  44441. #: guix-git/doc/guix.texi:29840
  44442. #, no-wrap
  44443. msgid "{@code{tlp-configuration} parameter} maybe-boolean cpu-boost-on-ac?"
  44444. msgstr ""
  44445. #. type: deftypevr
  44446. #: guix-git/doc/guix.texi:29842
  44447. msgid "Enable CPU turbo boost feature on AC mode."
  44448. msgstr ""
  44449. #. type: deftypevr
  44450. #: guix-git/doc/guix.texi:29847
  44451. #, no-wrap
  44452. msgid "{@code{tlp-configuration} parameter} maybe-boolean cpu-boost-on-bat?"
  44453. msgstr ""
  44454. #. type: deftypevr
  44455. #: guix-git/doc/guix.texi:29849
  44456. msgid "Same as @code{cpu-boost-on-ac?} on BAT mode."
  44457. msgstr ""
  44458. #. type: deftypevr
  44459. #: guix-git/doc/guix.texi:29854
  44460. #, no-wrap
  44461. msgid "{@code{tlp-configuration} parameter} boolean sched-powersave-on-ac?"
  44462. msgstr ""
  44463. #. type: deftypevr
  44464. #: guix-git/doc/guix.texi:29857
  44465. msgid "Allow Linux kernel to minimize the number of CPU cores/hyper-threads used under light load conditions."
  44466. msgstr ""
  44467. #. type: deftypevr
  44468. #: guix-git/doc/guix.texi:29862
  44469. #, no-wrap
  44470. msgid "{@code{tlp-configuration} parameter} boolean sched-powersave-on-bat?"
  44471. msgstr ""
  44472. #. type: deftypevr
  44473. #: guix-git/doc/guix.texi:29864
  44474. msgid "Same as @code{sched-powersave-on-ac?} but on BAT mode."
  44475. msgstr ""
  44476. #. type: deftypevr
  44477. #: guix-git/doc/guix.texi:29869
  44478. #, no-wrap
  44479. msgid "{@code{tlp-configuration} parameter} boolean nmi-watchdog?"
  44480. msgstr ""
  44481. #. type: deftypevr
  44482. #: guix-git/doc/guix.texi:29871
  44483. msgid "Enable Linux kernel NMI watchdog."
  44484. msgstr ""
  44485. #. type: deftypevr
  44486. #: guix-git/doc/guix.texi:29876
  44487. #, no-wrap
  44488. msgid "{@code{tlp-configuration} parameter} maybe-string phc-controls"
  44489. msgstr ""
  44490. #. type: deftypevr
  44491. #: guix-git/doc/guix.texi:29879
  44492. 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\"}."
  44493. msgstr ""
  44494. #. type: deftypevr
  44495. #: guix-git/doc/guix.texi:29884
  44496. #, no-wrap
  44497. msgid "{@code{tlp-configuration} parameter} string energy-perf-policy-on-ac"
  44498. msgstr ""
  44499. #. type: deftypevr
  44500. #: guix-git/doc/guix.texi:29887
  44501. msgid "Set CPU performance versus energy saving policy on AC@. Alternatives are performance, normal, powersave."
  44502. msgstr ""
  44503. #. type: deftypevr
  44504. #: guix-git/doc/guix.texi:29889 guix-git/doc/guix.texi:29987
  44505. #: guix-git/doc/guix.texi:30045
  44506. msgid "Defaults to @samp{\"performance\"}."
  44507. msgstr ""
  44508. #. type: deftypevr
  44509. #: guix-git/doc/guix.texi:29892
  44510. #, no-wrap
  44511. msgid "{@code{tlp-configuration} parameter} string energy-perf-policy-on-bat"
  44512. msgstr ""
  44513. #. type: deftypevr
  44514. #: guix-git/doc/guix.texi:29894
  44515. msgid "Same as @code{energy-perf-policy-ac} but on BAT mode."
  44516. msgstr ""
  44517. #. type: deftypevr
  44518. #: guix-git/doc/guix.texi:29896 guix-git/doc/guix.texi:29994
  44519. msgid "Defaults to @samp{\"powersave\"}."
  44520. msgstr ""
  44521. #. type: deftypevr
  44522. #: guix-git/doc/guix.texi:29899
  44523. #, no-wrap
  44524. msgid "{@code{tlp-configuration} parameter} space-separated-string-list disks-devices"
  44525. msgstr ""
  44526. #. type: deftypevr
  44527. #: guix-git/doc/guix.texi:29901
  44528. msgid "Hard disk devices."
  44529. msgstr ""
  44530. #. type: deftypevr
  44531. #: guix-git/doc/guix.texi:29904
  44532. #, no-wrap
  44533. msgid "{@code{tlp-configuration} parameter} space-separated-string-list disk-apm-level-on-ac"
  44534. msgstr ""
  44535. #. type: deftypevr
  44536. #: guix-git/doc/guix.texi:29906
  44537. msgid "Hard disk advanced power management level."
  44538. msgstr ""
  44539. #. type: deftypevr
  44540. #: guix-git/doc/guix.texi:29909
  44541. #, no-wrap
  44542. msgid "{@code{tlp-configuration} parameter} space-separated-string-list disk-apm-level-on-bat"
  44543. msgstr ""
  44544. #. type: deftypevr
  44545. #: guix-git/doc/guix.texi:29911
  44546. msgid "Same as @code{disk-apm-bat} but on BAT mode."
  44547. msgstr ""
  44548. #. type: deftypevr
  44549. #: guix-git/doc/guix.texi:29914
  44550. #, no-wrap
  44551. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list disk-spindown-timeout-on-ac"
  44552. msgstr ""
  44553. #. type: deftypevr
  44554. #: guix-git/doc/guix.texi:29917
  44555. msgid "Hard disk spin down timeout. One value has to be specified for each declared hard disk."
  44556. msgstr ""
  44557. #. type: deftypevr
  44558. #: guix-git/doc/guix.texi:29922
  44559. #, no-wrap
  44560. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list disk-spindown-timeout-on-bat"
  44561. msgstr ""
  44562. #. type: deftypevr
  44563. #: guix-git/doc/guix.texi:29924
  44564. msgid "Same as @code{disk-spindown-timeout-on-ac} but on BAT mode."
  44565. msgstr ""
  44566. #. type: deftypevr
  44567. #: guix-git/doc/guix.texi:29929
  44568. #, no-wrap
  44569. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list disk-iosched"
  44570. msgstr ""
  44571. #. type: deftypevr
  44572. #: guix-git/doc/guix.texi:29933
  44573. 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."
  44574. msgstr ""
  44575. #. type: deftypevr
  44576. #: guix-git/doc/guix.texi:29938
  44577. #, no-wrap
  44578. msgid "{@code{tlp-configuration} parameter} string sata-linkpwr-on-ac"
  44579. msgstr ""
  44580. #. type: deftypevr
  44581. #: guix-git/doc/guix.texi:29941
  44582. msgid "SATA aggressive link power management (ALPM) level. Alternatives are min_power, medium_power, max_performance."
  44583. msgstr ""
  44584. #. type: deftypevr
  44585. #: guix-git/doc/guix.texi:29943
  44586. msgid "Defaults to @samp{\"max_performance\"}."
  44587. msgstr ""
  44588. #. type: deftypevr
  44589. #: guix-git/doc/guix.texi:29946
  44590. #, no-wrap
  44591. msgid "{@code{tlp-configuration} parameter} string sata-linkpwr-on-bat"
  44592. msgstr ""
  44593. #. type: deftypevr
  44594. #: guix-git/doc/guix.texi:29948
  44595. msgid "Same as @code{sata-linkpwr-ac} but on BAT mode."
  44596. msgstr ""
  44597. #. type: deftypevr
  44598. #: guix-git/doc/guix.texi:29950
  44599. msgid "Defaults to @samp{\"min_power\"}."
  44600. msgstr ""
  44601. #. type: deftypevr
  44602. #: guix-git/doc/guix.texi:29953
  44603. #, no-wrap
  44604. msgid "{@code{tlp-configuration} parameter} maybe-string sata-linkpwr-blacklist"
  44605. msgstr ""
  44606. #. type: deftypevr
  44607. #: guix-git/doc/guix.texi:29955
  44608. msgid "Exclude specified SATA host devices for link power management."
  44609. msgstr ""
  44610. #. type: deftypevr
  44611. #: guix-git/doc/guix.texi:29960
  44612. #, no-wrap
  44613. msgid "{@code{tlp-configuration} parameter} maybe-on-off-boolean ahci-runtime-pm-on-ac?"
  44614. msgstr ""
  44615. #. type: deftypevr
  44616. #: guix-git/doc/guix.texi:29963
  44617. msgid "Enable Runtime Power Management for AHCI controller and disks on AC mode."
  44618. msgstr ""
  44619. #. type: deftypevr
  44620. #: guix-git/doc/guix.texi:29968
  44621. #, no-wrap
  44622. msgid "{@code{tlp-configuration} parameter} maybe-on-off-boolean ahci-runtime-pm-on-bat?"
  44623. msgstr ""
  44624. #. type: deftypevr
  44625. #: guix-git/doc/guix.texi:29970
  44626. msgid "Same as @code{ahci-runtime-pm-on-ac} on BAT mode."
  44627. msgstr ""
  44628. #. type: deftypevr
  44629. #: guix-git/doc/guix.texi:29975
  44630. #, no-wrap
  44631. msgid "{@code{tlp-configuration} parameter} non-negative-integer ahci-runtime-pm-timeout"
  44632. msgstr ""
  44633. #. type: deftypevr
  44634. #: guix-git/doc/guix.texi:29977
  44635. msgid "Seconds of inactivity before disk is suspended."
  44636. msgstr ""
  44637. #. type: deftypevr
  44638. #: guix-git/doc/guix.texi:29982
  44639. #, no-wrap
  44640. msgid "{@code{tlp-configuration} parameter} string pcie-aspm-on-ac"
  44641. msgstr ""
  44642. #. type: deftypevr
  44643. #: guix-git/doc/guix.texi:29985
  44644. msgid "PCI Express Active State Power Management level. Alternatives are default, performance, powersave."
  44645. msgstr ""
  44646. #. type: deftypevr
  44647. #: guix-git/doc/guix.texi:29990
  44648. #, no-wrap
  44649. msgid "{@code{tlp-configuration} parameter} string pcie-aspm-on-bat"
  44650. msgstr ""
  44651. #. type: deftypevr
  44652. #: guix-git/doc/guix.texi:29992
  44653. msgid "Same as @code{pcie-aspm-ac} but on BAT mode."
  44654. msgstr ""
  44655. #. type: deftypevr
  44656. #: guix-git/doc/guix.texi:29997
  44657. #, no-wrap
  44658. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer start-charge-thresh-bat0"
  44659. msgstr ""
  44660. #. type: deftypevr
  44661. #: guix-git/doc/guix.texi:29999
  44662. msgid "Percentage when battery 0 should begin charging. Only supported on some laptops."
  44663. msgstr ""
  44664. #. type: deftypevr
  44665. #: guix-git/doc/guix.texi:30004
  44666. #, no-wrap
  44667. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer stop-charge-thresh-bat0"
  44668. msgstr ""
  44669. #. type: deftypevr
  44670. #: guix-git/doc/guix.texi:30006
  44671. msgid "Percentage when battery 0 should stop charging. Only supported on some laptops."
  44672. msgstr ""
  44673. #. type: deftypevr
  44674. #: guix-git/doc/guix.texi:30011
  44675. #, no-wrap
  44676. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer start-charge-thresh-bat1"
  44677. msgstr ""
  44678. #. type: deftypevr
  44679. #: guix-git/doc/guix.texi:30013
  44680. msgid "Percentage when battery 1 should begin charging. Only supported on some laptops."
  44681. msgstr ""
  44682. #. type: deftypevr
  44683. #: guix-git/doc/guix.texi:30018
  44684. #, no-wrap
  44685. msgid "{@code{tlp-configuration} parameter} maybe-non-negative-integer stop-charge-thresh-bat1"
  44686. msgstr ""
  44687. #. type: deftypevr
  44688. #: guix-git/doc/guix.texi:30020
  44689. msgid "Percentage when battery 1 should stop charging. Only supported on some laptops."
  44690. msgstr ""
  44691. #. type: deftypevr
  44692. #: guix-git/doc/guix.texi:30025
  44693. #, no-wrap
  44694. msgid "{@code{tlp-configuration} parameter} string radeon-power-profile-on-ac"
  44695. msgstr ""
  44696. #. type: deftypevr
  44697. #: guix-git/doc/guix.texi:30028
  44698. msgid "Radeon graphics clock speed level. Alternatives are low, mid, high, auto, default."
  44699. msgstr ""
  44700. #. type: deftypevr
  44701. #: guix-git/doc/guix.texi:30030
  44702. msgid "Defaults to @samp{\"high\"}."
  44703. msgstr ""
  44704. #. type: deftypevr
  44705. #: guix-git/doc/guix.texi:30033
  44706. #, no-wrap
  44707. msgid "{@code{tlp-configuration} parameter} string radeon-power-profile-on-bat"
  44708. msgstr ""
  44709. #. type: deftypevr
  44710. #: guix-git/doc/guix.texi:30035
  44711. msgid "Same as @code{radeon-power-ac} but on BAT mode."
  44712. msgstr ""
  44713. #. type: deftypevr
  44714. #: guix-git/doc/guix.texi:30037
  44715. msgid "Defaults to @samp{\"low\"}."
  44716. msgstr ""
  44717. #. type: deftypevr
  44718. #: guix-git/doc/guix.texi:30040
  44719. #, no-wrap
  44720. msgid "{@code{tlp-configuration} parameter} string radeon-dpm-state-on-ac"
  44721. msgstr ""
  44722. #. type: deftypevr
  44723. #: guix-git/doc/guix.texi:30043
  44724. msgid "Radeon dynamic power management method (DPM). Alternatives are battery, performance."
  44725. msgstr ""
  44726. #. type: deftypevr
  44727. #: guix-git/doc/guix.texi:30048
  44728. #, no-wrap
  44729. msgid "{@code{tlp-configuration} parameter} string radeon-dpm-state-on-bat"
  44730. msgstr ""
  44731. #. type: deftypevr
  44732. #: guix-git/doc/guix.texi:30050
  44733. msgid "Same as @code{radeon-dpm-state-ac} but on BAT mode."
  44734. msgstr ""
  44735. #. type: deftypevr
  44736. #: guix-git/doc/guix.texi:30052
  44737. msgid "Defaults to @samp{\"battery\"}."
  44738. msgstr ""
  44739. #. type: deftypevr
  44740. #: guix-git/doc/guix.texi:30055
  44741. #, no-wrap
  44742. msgid "{@code{tlp-configuration} parameter} string radeon-dpm-perf-level-on-ac"
  44743. msgstr ""
  44744. #. type: deftypevr
  44745. #: guix-git/doc/guix.texi:30057
  44746. msgid "Radeon DPM performance level. Alternatives are auto, low, high."
  44747. msgstr ""
  44748. #. type: deftypevr
  44749. #: guix-git/doc/guix.texi:30059 guix-git/doc/guix.texi:30066
  44750. #: guix-git/doc/guix.texi:30140
  44751. msgid "Defaults to @samp{\"auto\"}."
  44752. msgstr ""
  44753. #. type: deftypevr
  44754. #: guix-git/doc/guix.texi:30062
  44755. #, no-wrap
  44756. msgid "{@code{tlp-configuration} parameter} string radeon-dpm-perf-level-on-bat"
  44757. msgstr ""
  44758. #. type: deftypevr
  44759. #: guix-git/doc/guix.texi:30064
  44760. msgid "Same as @code{radeon-dpm-perf-ac} but on BAT mode."
  44761. msgstr ""
  44762. #. type: deftypevr
  44763. #: guix-git/doc/guix.texi:30069
  44764. #, no-wrap
  44765. msgid "{@code{tlp-configuration} parameter} on-off-boolean wifi-pwr-on-ac?"
  44766. msgstr ""
  44767. #. type: deftypevr
  44768. #: guix-git/doc/guix.texi:30071
  44769. msgid "Wifi power saving mode."
  44770. msgstr ""
  44771. #. type: deftypevr
  44772. #: guix-git/doc/guix.texi:30076
  44773. #, no-wrap
  44774. msgid "{@code{tlp-configuration} parameter} on-off-boolean wifi-pwr-on-bat?"
  44775. msgstr ""
  44776. #. type: deftypevr
  44777. #: guix-git/doc/guix.texi:30078
  44778. msgid "Same as @code{wifi-power-ac?} but on BAT mode."
  44779. msgstr ""
  44780. #. type: deftypevr
  44781. #: guix-git/doc/guix.texi:30083
  44782. #, no-wrap
  44783. msgid "{@code{tlp-configuration} parameter} y-n-boolean wol-disable?"
  44784. msgstr ""
  44785. #. type: deftypevr
  44786. #: guix-git/doc/guix.texi:30085
  44787. msgid "Disable wake on LAN."
  44788. msgstr ""
  44789. #. type: deftypevr
  44790. #: guix-git/doc/guix.texi:30090
  44791. #, no-wrap
  44792. msgid "{@code{tlp-configuration} parameter} non-negative-integer sound-power-save-on-ac"
  44793. msgstr ""
  44794. #. type: deftypevr
  44795. #: guix-git/doc/guix.texi:30093
  44796. msgid "Timeout duration in seconds before activating audio power saving on Intel HDA and AC97 devices. A value of 0 disables power saving."
  44797. msgstr ""
  44798. #. type: deftypevr
  44799. #: guix-git/doc/guix.texi:30098
  44800. #, no-wrap
  44801. msgid "{@code{tlp-configuration} parameter} non-negative-integer sound-power-save-on-bat"
  44802. msgstr ""
  44803. #. type: deftypevr
  44804. #: guix-git/doc/guix.texi:30100
  44805. msgid "Same as @code{sound-powersave-ac} but on BAT mode."
  44806. msgstr ""
  44807. #. type: deftypevr
  44808. #: guix-git/doc/guix.texi:30105
  44809. #, no-wrap
  44810. msgid "{@code{tlp-configuration} parameter} y-n-boolean sound-power-save-controller?"
  44811. msgstr ""
  44812. #. type: deftypevr
  44813. #: guix-git/doc/guix.texi:30107
  44814. msgid "Disable controller in powersaving mode on Intel HDA devices."
  44815. msgstr ""
  44816. #. type: deftypevr
  44817. #: guix-git/doc/guix.texi:30112
  44818. #, no-wrap
  44819. msgid "{@code{tlp-configuration} parameter} boolean bay-poweroff-on-bat?"
  44820. msgstr ""
  44821. #. type: deftypevr
  44822. #: guix-git/doc/guix.texi:30116
  44823. 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."
  44824. msgstr ""
  44825. #. type: deftypevr
  44826. #: guix-git/doc/guix.texi:30121
  44827. #, no-wrap
  44828. msgid "{@code{tlp-configuration} parameter} string bay-device"
  44829. msgstr ""
  44830. #. type: deftypevr
  44831. #: guix-git/doc/guix.texi:30123
  44832. msgid "Name of the optical drive device to power off."
  44833. msgstr ""
  44834. #. type: deftypevr
  44835. #: guix-git/doc/guix.texi:30125
  44836. msgid "Defaults to @samp{\"sr0\"}."
  44837. msgstr ""
  44838. #. type: deftypevr
  44839. #: guix-git/doc/guix.texi:30128
  44840. #, no-wrap
  44841. msgid "{@code{tlp-configuration} parameter} string runtime-pm-on-ac"
  44842. msgstr ""
  44843. #. type: deftypevr
  44844. #: guix-git/doc/guix.texi:30131
  44845. msgid "Runtime Power Management for PCI(e) bus devices. Alternatives are on and auto."
  44846. msgstr ""
  44847. #. type: deftypevr
  44848. #: guix-git/doc/guix.texi:30133
  44849. msgid "Defaults to @samp{\"on\"}."
  44850. msgstr ""
  44851. #. type: deftypevr
  44852. #: guix-git/doc/guix.texi:30136
  44853. #, no-wrap
  44854. msgid "{@code{tlp-configuration} parameter} string runtime-pm-on-bat"
  44855. msgstr ""
  44856. #. type: deftypevr
  44857. #: guix-git/doc/guix.texi:30138
  44858. msgid "Same as @code{runtime-pm-ac} but on BAT mode."
  44859. msgstr ""
  44860. #. type: deftypevr
  44861. #: guix-git/doc/guix.texi:30143
  44862. #, no-wrap
  44863. msgid "{@code{tlp-configuration} parameter} boolean runtime-pm-all?"
  44864. msgstr ""
  44865. #. type: deftypevr
  44866. #: guix-git/doc/guix.texi:30146
  44867. msgid "Runtime Power Management for all PCI(e) bus devices, except blacklisted ones."
  44868. msgstr ""
  44869. #. type: deftypevr
  44870. #: guix-git/doc/guix.texi:30151
  44871. #, no-wrap
  44872. msgid "{@code{tlp-configuration} parameter} maybe-space-separated-string-list runtime-pm-blacklist"
  44873. msgstr ""
  44874. #. type: deftypevr
  44875. #: guix-git/doc/guix.texi:30153
  44876. msgid "Exclude specified PCI(e) device addresses from Runtime Power Management."
  44877. msgstr ""
  44878. #. type: deftypevr
  44879. #: guix-git/doc/guix.texi:30158
  44880. #, no-wrap
  44881. msgid "{@code{tlp-configuration} parameter} space-separated-string-list runtime-pm-driver-blacklist"
  44882. msgstr ""
  44883. #. type: deftypevr
  44884. #: guix-git/doc/guix.texi:30161
  44885. msgid "Exclude PCI(e) devices assigned to the specified drivers from Runtime Power Management."
  44886. msgstr ""
  44887. #. type: deftypevr
  44888. #: guix-git/doc/guix.texi:30164
  44889. #, no-wrap
  44890. msgid "{@code{tlp-configuration} parameter} boolean usb-autosuspend?"
  44891. msgstr ""
  44892. #. type: deftypevr
  44893. #: guix-git/doc/guix.texi:30166
  44894. msgid "Enable USB autosuspend feature."
  44895. msgstr ""
  44896. #. type: deftypevr
  44897. #: guix-git/doc/guix.texi:30171
  44898. #, no-wrap
  44899. msgid "{@code{tlp-configuration} parameter} maybe-string usb-blacklist"
  44900. msgstr ""
  44901. #. type: deftypevr
  44902. #: guix-git/doc/guix.texi:30173
  44903. msgid "Exclude specified devices from USB autosuspend."
  44904. msgstr ""
  44905. #. type: deftypevr
  44906. #: guix-git/doc/guix.texi:30178
  44907. #, no-wrap
  44908. msgid "{@code{tlp-configuration} parameter} boolean usb-blacklist-wwan?"
  44909. msgstr ""
  44910. #. type: deftypevr
  44911. #: guix-git/doc/guix.texi:30180
  44912. msgid "Exclude WWAN devices from USB autosuspend."
  44913. msgstr ""
  44914. #. type: deftypevr
  44915. #: guix-git/doc/guix.texi:30185
  44916. #, no-wrap
  44917. msgid "{@code{tlp-configuration} parameter} maybe-string usb-whitelist"
  44918. msgstr ""
  44919. #. type: deftypevr
  44920. #: guix-git/doc/guix.texi:30188
  44921. msgid "Include specified devices into USB autosuspend, even if they are already excluded by the driver or via @code{usb-blacklist-wwan?}."
  44922. msgstr ""
  44923. #. type: deftypevr
  44924. #: guix-git/doc/guix.texi:30193
  44925. #, no-wrap
  44926. msgid "{@code{tlp-configuration} parameter} maybe-boolean usb-autosuspend-disable-on-shutdown?"
  44927. msgstr ""
  44928. #. type: deftypevr
  44929. #: guix-git/doc/guix.texi:30195
  44930. msgid "Enable USB autosuspend before shutdown."
  44931. msgstr ""
  44932. #. type: deftypevr
  44933. #: guix-git/doc/guix.texi:30200
  44934. #, no-wrap
  44935. msgid "{@code{tlp-configuration} parameter} boolean restore-device-state-on-startup?"
  44936. msgstr ""
  44937. #. type: deftypevr
  44938. #: guix-git/doc/guix.texi:30203
  44939. msgid "Restore radio device state (bluetooth, wifi, wwan) from previous shutdown on system startup."
  44940. msgstr ""
  44941. #. type: cindex
  44942. #: guix-git/doc/guix.texi:30208
  44943. #, no-wrap
  44944. msgid "thermald"
  44945. msgstr ""
  44946. #. type: cindex
  44947. #: guix-git/doc/guix.texi:30209
  44948. #, no-wrap
  44949. msgid "CPU frequency scaling with thermald"
  44950. msgstr ""
  44951. #. type: subsubheading
  44952. #: guix-git/doc/guix.texi:30210
  44953. #, no-wrap
  44954. msgid "Thermald daemon"
  44955. msgstr ""
  44956. #. type: Plain text
  44957. #: guix-git/doc/guix.texi:30214
  44958. msgid "The @code{(gnu services pm)} module provides an interface to thermald, a CPU frequency scaling service which helps prevent overheating."
  44959. msgstr ""
  44960. #. type: defvr
  44961. #: guix-git/doc/guix.texi:30215
  44962. #, no-wrap
  44963. msgid "{Scheme Variable} thermald-service-type"
  44964. msgstr ""
  44965. #. type: defvr
  44966. #: guix-git/doc/guix.texi:30220
  44967. 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."
  44968. msgstr ""
  44969. #. type: deftp
  44970. #: guix-git/doc/guix.texi:30222
  44971. #, no-wrap
  44972. msgid "{Data Type} thermald-configuration"
  44973. msgstr ""
  44974. #. type: deftp
  44975. #: guix-git/doc/guix.texi:30224
  44976. msgid "Data type representing the configuration of @code{thermald-service-type}."
  44977. msgstr ""
  44978. #. type: item
  44979. #: guix-git/doc/guix.texi:30226
  44980. #, no-wrap
  44981. msgid "@code{ignore-cpuid-check?} (default: @code{#f})"
  44982. msgstr ""
  44983. #. type: table
  44984. #: guix-git/doc/guix.texi:30228
  44985. msgid "Ignore cpuid check for supported CPU models."
  44986. msgstr ""
  44987. #. type: item
  44988. #: guix-git/doc/guix.texi:30229
  44989. #, no-wrap
  44990. msgid "@code{thermald} (default: @var{thermald})"
  44991. msgstr ""
  44992. #. type: table
  44993. #: guix-git/doc/guix.texi:30231
  44994. msgid "Package object of thermald."
  44995. msgstr ""
  44996. #. type: Plain text
  44997. #: guix-git/doc/guix.texi:30240
  44998. msgid "The @code{(gnu services audio)} module provides a service to start MPD (the Music Player Daemon)."
  44999. msgstr ""
  45000. #. type: cindex
  45001. #: guix-git/doc/guix.texi:30241
  45002. #, no-wrap
  45003. msgid "mpd"
  45004. msgstr ""
  45005. #. type: subsubheading
  45006. #: guix-git/doc/guix.texi:30242
  45007. #, no-wrap
  45008. msgid "Music Player Daemon"
  45009. msgstr ""
  45010. #. type: Plain text
  45011. #: guix-git/doc/guix.texi:30247
  45012. 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."
  45013. msgstr ""
  45014. #. type: Plain text
  45015. #: guix-git/doc/guix.texi:30250
  45016. msgid "The following example shows how one might run @code{mpd} as user @code{\"bob\"} on port @code{6666}. It uses pulseaudio for output."
  45017. msgstr ""
  45018. #. type: lisp
  45019. #: guix-git/doc/guix.texi:30256
  45020. #, no-wrap
  45021. msgid ""
  45022. "(service mpd-service-type\n"
  45023. " (mpd-configuration\n"
  45024. " (user \"bob\")\n"
  45025. " (port \"6666\")))\n"
  45026. msgstr ""
  45027. #. type: defvr
  45028. #: guix-git/doc/guix.texi:30258
  45029. #, no-wrap
  45030. msgid "{Scheme Variable} mpd-service-type"
  45031. msgstr ""
  45032. #. type: defvr
  45033. #: guix-git/doc/guix.texi:30260
  45034. msgid "The service type for @command{mpd}"
  45035. msgstr ""
  45036. #. type: deftp
  45037. #: guix-git/doc/guix.texi:30262
  45038. #, no-wrap
  45039. msgid "{Data Type} mpd-configuration"
  45040. msgstr ""
  45041. #. type: deftp
  45042. #: guix-git/doc/guix.texi:30264
  45043. msgid "Data type representing the configuration of @command{mpd}."
  45044. msgstr ""
  45045. #. type: item
  45046. #: guix-git/doc/guix.texi:30266
  45047. #, no-wrap
  45048. msgid "@code{user} (default: @code{\"mpd\"})"
  45049. msgstr ""
  45050. #. type: table
  45051. #: guix-git/doc/guix.texi:30268
  45052. msgid "The user to run mpd as."
  45053. msgstr ""
  45054. #. type: item
  45055. #: guix-git/doc/guix.texi:30269
  45056. #, no-wrap
  45057. msgid "@code{music-dir} (default: @code{\"~/Music\"})"
  45058. msgstr ""
  45059. #. type: table
  45060. #: guix-git/doc/guix.texi:30271
  45061. msgid "The directory to scan for music files."
  45062. msgstr ""
  45063. #. type: item
  45064. #: guix-git/doc/guix.texi:30272
  45065. #, no-wrap
  45066. msgid "@code{playlist-dir} (default: @code{\"~/.mpd/playlists\"})"
  45067. msgstr ""
  45068. #. type: table
  45069. #: guix-git/doc/guix.texi:30274
  45070. msgid "The directory to store playlists."
  45071. msgstr ""
  45072. #. type: item
  45073. #: guix-git/doc/guix.texi:30275
  45074. #, no-wrap
  45075. msgid "@code{db-file} (default: @code{\"~/.mpd/tag_cache\"})"
  45076. msgstr ""
  45077. #. type: table
  45078. #: guix-git/doc/guix.texi:30277
  45079. msgid "The location of the music database."
  45080. msgstr ""
  45081. #. type: item
  45082. #: guix-git/doc/guix.texi:30278
  45083. #, no-wrap
  45084. msgid "@code{state-file} (default: @code{\"~/.mpd/state\"})"
  45085. msgstr ""
  45086. #. type: table
  45087. #: guix-git/doc/guix.texi:30280
  45088. msgid "The location of the file that stores current MPD's state."
  45089. msgstr ""
  45090. #. type: item
  45091. #: guix-git/doc/guix.texi:30281
  45092. #, no-wrap
  45093. msgid "@code{sticker-file} (default: @code{\"~/.mpd/sticker.sql\"})"
  45094. msgstr ""
  45095. #. type: table
  45096. #: guix-git/doc/guix.texi:30283
  45097. msgid "The location of the sticker database."
  45098. msgstr ""
  45099. #. type: item
  45100. #: guix-git/doc/guix.texi:30284
  45101. #, no-wrap
  45102. msgid "@code{port} (default: @code{\"6600\"})"
  45103. msgstr ""
  45104. #. type: table
  45105. #: guix-git/doc/guix.texi:30286
  45106. msgid "The port to run mpd on."
  45107. msgstr ""
  45108. #. type: item
  45109. #: guix-git/doc/guix.texi:30287
  45110. #, no-wrap
  45111. msgid "@code{address} (default: @code{\"any\"})"
  45112. msgstr ""
  45113. #. type: table
  45114. #: guix-git/doc/guix.texi:30290
  45115. msgid "The address that mpd will bind to. To use a Unix domain socket, an absolute path can be specified here."
  45116. msgstr ""
  45117. #. type: item
  45118. #: guix-git/doc/guix.texi:30291
  45119. #, no-wrap
  45120. msgid "@code{outputs} (default: @code{\"(list (mpd-output))\"})"
  45121. msgstr ""
  45122. #. type: table
  45123. #: guix-git/doc/guix.texi:30293
  45124. msgid "The audio outputs that MPD can use. By default this is a single output using pulseaudio."
  45125. msgstr ""
  45126. #. type: deftp
  45127. #: guix-git/doc/guix.texi:30297
  45128. #, no-wrap
  45129. msgid "{Data Type} mpd-output"
  45130. msgstr ""
  45131. #. type: deftp
  45132. #: guix-git/doc/guix.texi:30299
  45133. msgid "Data type representing an @command{mpd} audio output."
  45134. msgstr ""
  45135. #. type: item
  45136. #: guix-git/doc/guix.texi:30301
  45137. #, no-wrap
  45138. msgid "@code{name} (default: @code{\"MPD\"})"
  45139. msgstr ""
  45140. #. type: table
  45141. #: guix-git/doc/guix.texi:30303
  45142. msgid "The name of the audio output."
  45143. msgstr ""
  45144. #. type: item
  45145. #: guix-git/doc/guix.texi:30304
  45146. #, no-wrap
  45147. msgid "@code{type} (default: @code{\"pulse\"})"
  45148. msgstr ""
  45149. #. type: table
  45150. #: guix-git/doc/guix.texi:30306
  45151. msgid "The type of audio output."
  45152. msgstr ""
  45153. #. type: item
  45154. #: guix-git/doc/guix.texi:30307
  45155. #, no-wrap
  45156. msgid "@code{enabled?} (default: @code{#t})"
  45157. msgstr ""
  45158. #. type: table
  45159. #: guix-git/doc/guix.texi:30312
  45160. 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."
  45161. msgstr ""
  45162. #. type: item
  45163. #: guix-git/doc/guix.texi:30313
  45164. #, no-wrap
  45165. msgid "@code{tags?} (default: @code{#t})"
  45166. msgstr ""
  45167. #. type: table
  45168. #: guix-git/doc/guix.texi:30317
  45169. 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."
  45170. msgstr ""
  45171. #. type: item
  45172. #: guix-git/doc/guix.texi:30318
  45173. #, no-wrap
  45174. msgid "@code{always-on?} (default: @code{#f})"
  45175. msgstr ""
  45176. #. type: table
  45177. #: guix-git/doc/guix.texi:30322
  45178. 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."
  45179. msgstr ""
  45180. #. type: code{#1}
  45181. #: guix-git/doc/guix.texi:30323
  45182. #, no-wrap
  45183. msgid "mixer-type"
  45184. msgstr ""
  45185. #. type: table
  45186. #: guix-git/doc/guix.texi:30329
  45187. 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})."
  45188. msgstr ""
  45189. #. type: table
  45190. #: guix-git/doc/guix.texi:30333
  45191. msgid "An association list of option symbols to string values to be appended to the audio output configuration."
  45192. msgstr ""
  45193. #. type: Plain text
  45194. #: guix-git/doc/guix.texi:30339
  45195. msgid "The following example shows a configuration of @code{mpd} that provides an HTTP audio streaming output."
  45196. msgstr ""
  45197. #. type: lisp
  45198. #: guix-git/doc/guix.texi:30351
  45199. #, no-wrap
  45200. msgid ""
  45201. "(service mpd-service-type\n"
  45202. " (mpd-configuration\n"
  45203. " (outputs\n"
  45204. " (list (mpd-output\n"
  45205. " (name \"streaming\")\n"
  45206. " (type \"httpd\")\n"
  45207. " (mixer-type 'null)\n"
  45208. " (extra-options\n"
  45209. " `((encoder . \"vorbis\")\n"
  45210. " (port . \"8080\"))))))))\n"
  45211. msgstr ""
  45212. #. type: Plain text
  45213. #: guix-git/doc/guix.texi:30360
  45214. msgid "The @code{(gnu services virtualization)} module provides services for the libvirt and virtlog daemons, as well as other virtualization-related services."
  45215. msgstr ""
  45216. #. type: subsubheading
  45217. #: guix-git/doc/guix.texi:30361
  45218. #, no-wrap
  45219. msgid "Libvirt daemon"
  45220. msgstr ""
  45221. #. type: Plain text
  45222. #: guix-git/doc/guix.texi:30366
  45223. 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."
  45224. msgstr ""
  45225. #. type: deffn
  45226. #: guix-git/doc/guix.texi:30367
  45227. #, no-wrap
  45228. msgid "{Scheme Variable} libvirt-service-type"
  45229. msgstr ""
  45230. #. type: deffn
  45231. #: guix-git/doc/guix.texi:30370
  45232. msgid "This is the type of the @uref{https://libvirt.org, libvirt daemon}. Its value must be a @code{libvirt-configuration}."
  45233. msgstr ""
  45234. #. type: lisp
  45235. #: guix-git/doc/guix.texi:30376
  45236. #, no-wrap
  45237. msgid ""
  45238. "(service libvirt-service-type\n"
  45239. " (libvirt-configuration\n"
  45240. " (unix-sock-group \"libvirt\")\n"
  45241. " (tls-port \"16555\")))\n"
  45242. msgstr ""
  45243. #. type: Plain text
  45244. #: guix-git/doc/guix.texi:30381
  45245. msgid "Available @code{libvirt-configuration} fields are:"
  45246. msgstr ""
  45247. #. type: deftypevr
  45248. #: guix-git/doc/guix.texi:30382
  45249. #, no-wrap
  45250. msgid "{@code{libvirt-configuration} parameter} package libvirt"
  45251. msgstr ""
  45252. #. type: deftypevar
  45253. #: guix-git/doc/guix.texi:30384 guix-git/doc/guix.texi:30947
  45254. msgid "Libvirt package."
  45255. msgstr ""
  45256. #. type: deftypevr
  45257. #: guix-git/doc/guix.texi:30387
  45258. #, no-wrap
  45259. msgid "{@code{libvirt-configuration} parameter} boolean listen-tls?"
  45260. msgstr ""
  45261. #. type: deftypevr
  45262. #: guix-git/doc/guix.texi:30390
  45263. msgid "Flag listening for secure TLS connections on the public TCP/IP port. You must set @code{listen} for this to have any effect."
  45264. msgstr ""
  45265. #. type: deftypevr
  45266. #: guix-git/doc/guix.texi:30393
  45267. msgid "It is necessary to setup a CA and issue server certificates before using this capability."
  45268. msgstr ""
  45269. #. type: deftypevr
  45270. #: guix-git/doc/guix.texi:30398
  45271. #, no-wrap
  45272. msgid "{@code{libvirt-configuration} parameter} boolean listen-tcp?"
  45273. msgstr ""
  45274. #. type: deftypevr
  45275. #: guix-git/doc/guix.texi:30401
  45276. msgid "Listen for unencrypted TCP connections on the public TCP/IP port. You must set @code{listen} for this to have any effect."
  45277. msgstr ""
  45278. #. type: deftypevr
  45279. #: guix-git/doc/guix.texi:30405
  45280. 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)."
  45281. msgstr ""
  45282. #. type: deftypevr
  45283. #: guix-git/doc/guix.texi:30410
  45284. #, no-wrap
  45285. msgid "{@code{libvirt-configuration} parameter} string tls-port"
  45286. msgstr ""
  45287. #. type: deftypevr
  45288. #: guix-git/doc/guix.texi:30413
  45289. msgid "Port for accepting secure TLS connections. This can be a port number, or service name."
  45290. msgstr ""
  45291. #. type: deftypevr
  45292. #: guix-git/doc/guix.texi:30415
  45293. msgid "Defaults to @samp{\"16514\"}."
  45294. msgstr ""
  45295. #. type: deftypevr
  45296. #: guix-git/doc/guix.texi:30418
  45297. #, no-wrap
  45298. msgid "{@code{libvirt-configuration} parameter} string tcp-port"
  45299. msgstr ""
  45300. #. type: deftypevr
  45301. #: guix-git/doc/guix.texi:30421
  45302. msgid "Port for accepting insecure TCP connections. This can be a port number, or service name."
  45303. msgstr ""
  45304. #. type: deftypevr
  45305. #: guix-git/doc/guix.texi:30423
  45306. msgid "Defaults to @samp{\"16509\"}."
  45307. msgstr ""
  45308. #. type: deftypevr
  45309. #: guix-git/doc/guix.texi:30426
  45310. #, no-wrap
  45311. msgid "{@code{libvirt-configuration} parameter} string listen-addr"
  45312. msgstr ""
  45313. #. type: deftypevr
  45314. #: guix-git/doc/guix.texi:30428
  45315. msgid "IP address or hostname used for client connections."
  45316. msgstr ""
  45317. #. type: deftypevr
  45318. #: guix-git/doc/guix.texi:30433
  45319. #, no-wrap
  45320. msgid "{@code{libvirt-configuration} parameter} boolean mdns-adv?"
  45321. msgstr ""
  45322. #. type: deftypevr
  45323. #: guix-git/doc/guix.texi:30435
  45324. msgid "Flag toggling mDNS advertisement of the libvirt service."
  45325. msgstr ""
  45326. #. type: deftypevr
  45327. #: guix-git/doc/guix.texi:30438
  45328. msgid "Alternatively can disable for all services on a host by stopping the Avahi daemon."
  45329. msgstr ""
  45330. #. type: deftypevr
  45331. #: guix-git/doc/guix.texi:30443
  45332. #, no-wrap
  45333. msgid "{@code{libvirt-configuration} parameter} string mdns-name"
  45334. msgstr ""
  45335. #. type: deftypevr
  45336. #: guix-git/doc/guix.texi:30446
  45337. msgid "Default mDNS advertisement name. This must be unique on the immediate broadcast network."
  45338. msgstr ""
  45339. #. type: deftypevr
  45340. #: guix-git/doc/guix.texi:30448
  45341. msgid "Defaults to @samp{\"Virtualization Host <hostname>\"}."
  45342. msgstr ""
  45343. #. type: deftypevr
  45344. #: guix-git/doc/guix.texi:30451
  45345. #, no-wrap
  45346. msgid "{@code{libvirt-configuration} parameter} string unix-sock-group"
  45347. msgstr ""
  45348. #. type: deftypevr
  45349. #: guix-git/doc/guix.texi:30455
  45350. msgid "UNIX domain socket group ownership. This can be used to allow a 'trusted' set of users access to management capabilities without becoming root."
  45351. msgstr ""
  45352. #. type: deftypevr
  45353. #: guix-git/doc/guix.texi:30460
  45354. #, no-wrap
  45355. msgid "{@code{libvirt-configuration} parameter} string unix-sock-ro-perms"
  45356. msgstr ""
  45357. #. type: deftypevr
  45358. #: guix-git/doc/guix.texi:30463
  45359. msgid "UNIX socket permissions for the R/O socket. This is used for monitoring VM status only."
  45360. msgstr ""
  45361. #. type: deftypevr
  45362. #: guix-git/doc/guix.texi:30465 guix-git/doc/guix.texi:30483
  45363. msgid "Defaults to @samp{\"0777\"}."
  45364. msgstr ""
  45365. #. type: deftypevr
  45366. #: guix-git/doc/guix.texi:30468
  45367. #, no-wrap
  45368. msgid "{@code{libvirt-configuration} parameter} string unix-sock-rw-perms"
  45369. msgstr ""
  45370. #. type: deftypevr
  45371. #: guix-git/doc/guix.texi:30472
  45372. 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)"
  45373. msgstr ""
  45374. #. type: deftypevr
  45375. #: guix-git/doc/guix.texi:30474
  45376. msgid "Defaults to @samp{\"0770\"}."
  45377. msgstr ""
  45378. #. type: deftypevr
  45379. #: guix-git/doc/guix.texi:30477
  45380. #, no-wrap
  45381. msgid "{@code{libvirt-configuration} parameter} string unix-sock-admin-perms"
  45382. msgstr ""
  45383. #. type: deftypevr
  45384. #: guix-git/doc/guix.texi:30481
  45385. 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."
  45386. msgstr ""
  45387. #. type: deftypevr
  45388. #: guix-git/doc/guix.texi:30486
  45389. #, no-wrap
  45390. msgid "{@code{libvirt-configuration} parameter} string unix-sock-dir"
  45391. msgstr ""
  45392. #. type: deftypevr
  45393. #: guix-git/doc/guix.texi:30488
  45394. msgid "The directory in which sockets will be found/created."
  45395. msgstr ""
  45396. #. type: deftypevr
  45397. #: guix-git/doc/guix.texi:30490
  45398. msgid "Defaults to @samp{\"/var/run/libvirt\"}."
  45399. msgstr ""
  45400. #. type: deftypevr
  45401. #: guix-git/doc/guix.texi:30493
  45402. #, no-wrap
  45403. msgid "{@code{libvirt-configuration} parameter} string auth-unix-ro"
  45404. msgstr ""
  45405. #. type: deftypevr
  45406. #: guix-git/doc/guix.texi:30496
  45407. msgid "Authentication scheme for UNIX read-only sockets. By default socket permissions allow anyone to connect"
  45408. msgstr ""
  45409. #. type: deftypevr
  45410. #: guix-git/doc/guix.texi:30498 guix-git/doc/guix.texi:30507
  45411. msgid "Defaults to @samp{\"polkit\"}."
  45412. msgstr ""
  45413. #. type: deftypevr
  45414. #: guix-git/doc/guix.texi:30501
  45415. #, no-wrap
  45416. msgid "{@code{libvirt-configuration} parameter} string auth-unix-rw"
  45417. msgstr ""
  45418. #. type: deftypevr
  45419. #: guix-git/doc/guix.texi:30505
  45420. 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."
  45421. msgstr ""
  45422. #. type: deftypevr
  45423. #: guix-git/doc/guix.texi:30510
  45424. #, no-wrap
  45425. msgid "{@code{libvirt-configuration} parameter} string auth-tcp"
  45426. msgstr ""
  45427. #. type: deftypevr
  45428. #: guix-git/doc/guix.texi:30514
  45429. 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."
  45430. msgstr ""
  45431. #. type: deftypevr
  45432. #: guix-git/doc/guix.texi:30516
  45433. msgid "Defaults to @samp{\"sasl\"}."
  45434. msgstr ""
  45435. #. type: deftypevr
  45436. #: guix-git/doc/guix.texi:30519
  45437. #, no-wrap
  45438. msgid "{@code{libvirt-configuration} parameter} string auth-tls"
  45439. msgstr ""
  45440. #. type: deftypevr
  45441. #: guix-git/doc/guix.texi:30523
  45442. msgid "Authentication scheme for TLS sockets. TLS sockets already have encryption provided by the TLS layer, and limited authentication is done by certificates."
  45443. msgstr ""
  45444. #. type: deftypevr
  45445. #: guix-git/doc/guix.texi:30526
  45446. msgid "It is possible to make use of any SASL authentication mechanism as well, by using 'sasl' for this option"
  45447. msgstr ""
  45448. #. type: deftypevr
  45449. #: guix-git/doc/guix.texi:30528
  45450. msgid "Defaults to @samp{\"none\"}."
  45451. msgstr ""
  45452. #. type: deftypevr
  45453. #: guix-git/doc/guix.texi:30531
  45454. #, no-wrap
  45455. msgid "{@code{libvirt-configuration} parameter} optional-list access-drivers"
  45456. msgstr ""
  45457. #. type: deftypevr
  45458. #: guix-git/doc/guix.texi:30533
  45459. msgid "API access control scheme."
  45460. msgstr ""
  45461. #. type: deftypevr
  45462. #: guix-git/doc/guix.texi:30536
  45463. msgid "By default an authenticated user is allowed access to all APIs. Access drivers can place restrictions on this."
  45464. msgstr ""
  45465. #. type: deftypevr
  45466. #: guix-git/doc/guix.texi:30541
  45467. #, no-wrap
  45468. msgid "{@code{libvirt-configuration} parameter} string key-file"
  45469. msgstr ""
  45470. #. type: deftypevr
  45471. #: guix-git/doc/guix.texi:30544
  45472. msgid "Server key file path. If set to an empty string, then no private key is loaded."
  45473. msgstr ""
  45474. #. type: deftypevr
  45475. #: guix-git/doc/guix.texi:30549
  45476. #, no-wrap
  45477. msgid "{@code{libvirt-configuration} parameter} string cert-file"
  45478. msgstr ""
  45479. #. type: deftypevr
  45480. #: guix-git/doc/guix.texi:30552
  45481. msgid "Server key file path. If set to an empty string, then no certificate is loaded."
  45482. msgstr ""
  45483. #. type: deftypevr
  45484. #: guix-git/doc/guix.texi:30557
  45485. #, no-wrap
  45486. msgid "{@code{libvirt-configuration} parameter} string ca-file"
  45487. msgstr ""
  45488. #. type: deftypevr
  45489. #: guix-git/doc/guix.texi:30560
  45490. msgid "Server key file path. If set to an empty string, then no CA certificate is loaded."
  45491. msgstr ""
  45492. #. type: deftypevr
  45493. #: guix-git/doc/guix.texi:30565
  45494. #, no-wrap
  45495. msgid "{@code{libvirt-configuration} parameter} string crl-file"
  45496. msgstr ""
  45497. #. type: deftypevr
  45498. #: guix-git/doc/guix.texi:30568
  45499. msgid "Certificate revocation list path. If set to an empty string, then no CRL is loaded."
  45500. msgstr ""
  45501. #. type: deftypevr
  45502. #: guix-git/doc/guix.texi:30573
  45503. #, no-wrap
  45504. msgid "{@code{libvirt-configuration} parameter} boolean tls-no-sanity-cert"
  45505. msgstr ""
  45506. #. type: deftypevr
  45507. #: guix-git/doc/guix.texi:30575
  45508. msgid "Disable verification of our own server certificates."
  45509. msgstr ""
  45510. #. type: deftypevr
  45511. #: guix-git/doc/guix.texi:30578
  45512. msgid "When libvirtd starts it performs some sanity checks against its own certificates."
  45513. msgstr ""
  45514. #. type: deftypevr
  45515. #: guix-git/doc/guix.texi:30583
  45516. #, no-wrap
  45517. msgid "{@code{libvirt-configuration} parameter} boolean tls-no-verify-cert"
  45518. msgstr ""
  45519. #. type: deftypevr
  45520. #: guix-git/doc/guix.texi:30585
  45521. msgid "Disable verification of client certificates."
  45522. msgstr ""
  45523. #. type: deftypevr
  45524. #: guix-git/doc/guix.texi:30589
  45525. msgid "Client certificate verification is the primary authentication mechanism. Any client which does not present a certificate signed by the CA will be rejected."
  45526. msgstr ""
  45527. #. type: deftypevr
  45528. #: guix-git/doc/guix.texi:30594
  45529. #, no-wrap
  45530. msgid "{@code{libvirt-configuration} parameter} optional-list tls-allowed-dn-list"
  45531. msgstr ""
  45532. #. type: deftypevr
  45533. #: guix-git/doc/guix.texi:30596
  45534. msgid "Whitelist of allowed x509 Distinguished Name."
  45535. msgstr ""
  45536. #. type: deftypevr
  45537. #: guix-git/doc/guix.texi:30601
  45538. #, no-wrap
  45539. msgid "{@code{libvirt-configuration} parameter} optional-list sasl-allowed-usernames"
  45540. msgstr ""
  45541. #. type: deftypevr
  45542. #: guix-git/doc/guix.texi:30604
  45543. msgid "Whitelist of allowed SASL usernames. The format for username depends on the SASL authentication mechanism."
  45544. msgstr ""
  45545. #. type: deftypevr
  45546. #: guix-git/doc/guix.texi:30609
  45547. #, no-wrap
  45548. msgid "{@code{libvirt-configuration} parameter} string tls-priority"
  45549. msgstr ""
  45550. #. type: deftypevr
  45551. #: guix-git/doc/guix.texi:30613
  45552. 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."
  45553. msgstr ""
  45554. #. type: deftypevr
  45555. #: guix-git/doc/guix.texi:30615
  45556. msgid "Defaults to @samp{\"NORMAL\"}."
  45557. msgstr ""
  45558. #. type: deftypevr
  45559. #: guix-git/doc/guix.texi:30618
  45560. #, no-wrap
  45561. msgid "{@code{libvirt-configuration} parameter} integer max-clients"
  45562. msgstr ""
  45563. #. type: deftypevr
  45564. #: guix-git/doc/guix.texi:30621 guix-git/doc/guix.texi:31049
  45565. msgid "Maximum number of concurrent client connections to allow over all sockets combined."
  45566. msgstr ""
  45567. #. type: deftypevr
  45568. #: guix-git/doc/guix.texi:30623
  45569. msgid "Defaults to @samp{5000}."
  45570. msgstr ""
  45571. #. type: deftypevr
  45572. #: guix-git/doc/guix.texi:30626
  45573. #, no-wrap
  45574. msgid "{@code{libvirt-configuration} parameter} integer max-queued-clients"
  45575. msgstr ""
  45576. #. type: deftypevr
  45577. #: guix-git/doc/guix.texi:30630
  45578. 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."
  45579. msgstr ""
  45580. #. type: deftypevr
  45581. #: guix-git/doc/guix.texi:30635
  45582. #, no-wrap
  45583. msgid "{@code{libvirt-configuration} parameter} integer max-anonymous-clients"
  45584. msgstr ""
  45585. #. type: deftypevr
  45586. #: guix-git/doc/guix.texi:30638
  45587. msgid "Maximum length of queue of accepted but not yet authenticated clients. Set this to zero to turn this feature off"
  45588. msgstr ""
  45589. #. type: deftypevr
  45590. #: guix-git/doc/guix.texi:30640 guix-git/doc/guix.texi:30658
  45591. #: guix-git/doc/guix.texi:30674
  45592. msgid "Defaults to @samp{20}."
  45593. msgstr ""
  45594. #. type: deftypevr
  45595. #: guix-git/doc/guix.texi:30643
  45596. #, no-wrap
  45597. msgid "{@code{libvirt-configuration} parameter} integer min-workers"
  45598. msgstr ""
  45599. #. type: deftypevr
  45600. #: guix-git/doc/guix.texi:30645
  45601. msgid "Number of workers to start up initially."
  45602. msgstr ""
  45603. #. type: deftypevr
  45604. #: guix-git/doc/guix.texi:30650
  45605. #, no-wrap
  45606. msgid "{@code{libvirt-configuration} parameter} integer max-workers"
  45607. msgstr ""
  45608. #. type: deftypevr
  45609. #: guix-git/doc/guix.texi:30652
  45610. msgid "Maximum number of worker threads."
  45611. msgstr ""
  45612. #. type: deftypevr
  45613. #: guix-git/doc/guix.texi:30656
  45614. 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."
  45615. msgstr ""
  45616. #. type: deftypevr
  45617. #: guix-git/doc/guix.texi:30661
  45618. #, no-wrap
  45619. msgid "{@code{libvirt-configuration} parameter} integer prio-workers"
  45620. msgstr ""
  45621. #. type: deftypevr
  45622. #: guix-git/doc/guix.texi:30665
  45623. 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."
  45624. msgstr ""
  45625. #. type: deftypevr
  45626. #: guix-git/doc/guix.texi:30670
  45627. #, no-wrap
  45628. msgid "{@code{libvirt-configuration} parameter} integer max-requests"
  45629. msgstr ""
  45630. #. type: deftypevr
  45631. #: guix-git/doc/guix.texi:30672
  45632. msgid "Total global limit on concurrent RPC calls."
  45633. msgstr ""
  45634. #. type: deftypevr
  45635. #: guix-git/doc/guix.texi:30677
  45636. #, no-wrap
  45637. msgid "{@code{libvirt-configuration} parameter} integer max-client-requests"
  45638. msgstr ""
  45639. #. type: deftypevr
  45640. #: guix-git/doc/guix.texi:30681
  45641. 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."
  45642. msgstr ""
  45643. #. type: deftypevr
  45644. #: guix-git/doc/guix.texi:30686
  45645. #, no-wrap
  45646. msgid "{@code{libvirt-configuration} parameter} integer admin-min-workers"
  45647. msgstr ""
  45648. #. type: deftypevr
  45649. #: guix-git/doc/guix.texi:30688
  45650. msgid "Same as @code{min-workers} but for the admin interface."
  45651. msgstr ""
  45652. #. type: deftypevr
  45653. #: guix-git/doc/guix.texi:30693
  45654. #, no-wrap
  45655. msgid "{@code{libvirt-configuration} parameter} integer admin-max-workers"
  45656. msgstr ""
  45657. #. type: deftypevr
  45658. #: guix-git/doc/guix.texi:30695
  45659. msgid "Same as @code{max-workers} but for the admin interface."
  45660. msgstr ""
  45661. #. type: deftypevr
  45662. #: guix-git/doc/guix.texi:30700
  45663. #, no-wrap
  45664. msgid "{@code{libvirt-configuration} parameter} integer admin-max-clients"
  45665. msgstr ""
  45666. #. type: deftypevr
  45667. #: guix-git/doc/guix.texi:30702
  45668. msgid "Same as @code{max-clients} but for the admin interface."
  45669. msgstr ""
  45670. #. type: deftypevr
  45671. #: guix-git/doc/guix.texi:30707
  45672. #, no-wrap
  45673. msgid "{@code{libvirt-configuration} parameter} integer admin-max-queued-clients"
  45674. msgstr ""
  45675. #. type: deftypevr
  45676. #: guix-git/doc/guix.texi:30709
  45677. msgid "Same as @code{max-queued-clients} but for the admin interface."
  45678. msgstr ""
  45679. #. type: deftypevr
  45680. #: guix-git/doc/guix.texi:30714
  45681. #, no-wrap
  45682. msgid "{@code{libvirt-configuration} parameter} integer admin-max-client-requests"
  45683. msgstr ""
  45684. #. type: deftypevr
  45685. #: guix-git/doc/guix.texi:30716
  45686. msgid "Same as @code{max-client-requests} but for the admin interface."
  45687. msgstr ""
  45688. #. type: deftypevr
  45689. #: guix-git/doc/guix.texi:30721
  45690. #, no-wrap
  45691. msgid "{@code{libvirt-configuration} parameter} integer log-level"
  45692. msgstr ""
  45693. #. type: deftypevr
  45694. #: guix-git/doc/guix.texi:30723 guix-git/doc/guix.texi:30951
  45695. msgid "Logging level. 4 errors, 3 warnings, 2 information, 1 debug."
  45696. msgstr ""
  45697. #. type: deftypevr
  45698. #: guix-git/doc/guix.texi:30728
  45699. #, no-wrap
  45700. msgid "{@code{libvirt-configuration} parameter} string log-filters"
  45701. msgstr ""
  45702. #. type: deftypevr
  45703. #: guix-git/doc/guix.texi:30730 guix-git/doc/guix.texi:30958
  45704. msgid "Logging filters."
  45705. msgstr ""
  45706. #. type: deftypevr
  45707. #: guix-git/doc/guix.texi:30733
  45708. msgid "A filter allows to select a different logging level for a given category of logs. The format for a filter is one of:"
  45709. msgstr ""
  45710. #. type: itemize
  45711. #: guix-git/doc/guix.texi:30737 guix-git/doc/guix.texi:30965
  45712. msgid "x:name"
  45713. msgstr ""
  45714. #. type: itemize
  45715. #: guix-git/doc/guix.texi:30740 guix-git/doc/guix.texi:30968
  45716. msgid "x:+name"
  45717. msgstr ""
  45718. #. type: deftypevr
  45719. #: guix-git/doc/guix.texi:30751
  45720. 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:"
  45721. msgstr ""
  45722. #. type: itemize
  45723. #: guix-git/doc/guix.texi:30755 guix-git/doc/guix.texi:30800
  45724. #: guix-git/doc/guix.texi:30982 guix-git/doc/guix.texi:31027
  45725. msgid "1: DEBUG"
  45726. msgstr ""
  45727. #. type: itemize
  45728. #: guix-git/doc/guix.texi:30758 guix-git/doc/guix.texi:30803
  45729. #: guix-git/doc/guix.texi:30985 guix-git/doc/guix.texi:31030
  45730. msgid "2: INFO"
  45731. msgstr ""
  45732. #. type: itemize
  45733. #: guix-git/doc/guix.texi:30761 guix-git/doc/guix.texi:30806
  45734. #: guix-git/doc/guix.texi:30988 guix-git/doc/guix.texi:31033
  45735. msgid "3: WARNING"
  45736. msgstr ""
  45737. #. type: itemize
  45738. #: guix-git/doc/guix.texi:30764 guix-git/doc/guix.texi:30809
  45739. #: guix-git/doc/guix.texi:30991 guix-git/doc/guix.texi:31036
  45740. msgid "4: ERROR"
  45741. msgstr ""
  45742. #. type: deftypevr
  45743. #: guix-git/doc/guix.texi:30769 guix-git/doc/guix.texi:30996
  45744. msgid "Multiple filters can be defined in a single filters statement, they just need to be separated by spaces."
  45745. msgstr ""
  45746. #. type: deftypevr
  45747. #: guix-git/doc/guix.texi:30771 guix-git/doc/guix.texi:30998
  45748. msgid "Defaults to @samp{\"3:remote 4:event\"}."
  45749. msgstr ""
  45750. #. type: deftypevr
  45751. #: guix-git/doc/guix.texi:30774
  45752. #, no-wrap
  45753. msgid "{@code{libvirt-configuration} parameter} string log-outputs"
  45754. msgstr ""
  45755. #. type: deftypevr
  45756. #: guix-git/doc/guix.texi:30776 guix-git/doc/guix.texi:31003
  45757. msgid "Logging outputs."
  45758. msgstr ""
  45759. #. type: deftypevr
  45760. #: guix-git/doc/guix.texi:30779
  45761. msgid "An output is one of the places to save logging information. The format for an output can be:"
  45762. msgstr ""
  45763. #. type: item
  45764. #: guix-git/doc/guix.texi:30781 guix-git/doc/guix.texi:31008
  45765. #, no-wrap
  45766. msgid "x:stderr"
  45767. msgstr ""
  45768. #. type: table
  45769. #: guix-git/doc/guix.texi:30783 guix-git/doc/guix.texi:31010
  45770. msgid "output goes to stderr"
  45771. msgstr ""
  45772. #. type: item
  45773. #: guix-git/doc/guix.texi:30784 guix-git/doc/guix.texi:31011
  45774. #, no-wrap
  45775. msgid "x:syslog:name"
  45776. msgstr ""
  45777. #. type: table
  45778. #: guix-git/doc/guix.texi:30786 guix-git/doc/guix.texi:31013
  45779. msgid "use syslog for the output and use the given name as the ident"
  45780. msgstr ""
  45781. #. type: item
  45782. #: guix-git/doc/guix.texi:30787 guix-git/doc/guix.texi:31014
  45783. #, no-wrap
  45784. msgid "x:file:file_path"
  45785. msgstr ""
  45786. #. type: table
  45787. #: guix-git/doc/guix.texi:30789 guix-git/doc/guix.texi:31016
  45788. msgid "output to a file, with the given filepath"
  45789. msgstr ""
  45790. #. type: item
  45791. #: guix-git/doc/guix.texi:30790 guix-git/doc/guix.texi:31017
  45792. #, no-wrap
  45793. msgid "x:journald"
  45794. msgstr ""
  45795. #. type: table
  45796. #: guix-git/doc/guix.texi:30792 guix-git/doc/guix.texi:31019
  45797. msgid "output to journald logging system"
  45798. msgstr ""
  45799. #. type: deftypevr
  45800. #: guix-git/doc/guix.texi:30796 guix-git/doc/guix.texi:31023
  45801. msgid "In all case the x prefix is the minimal level, acting as a filter"
  45802. msgstr ""
  45803. #. type: deftypevr
  45804. #: guix-git/doc/guix.texi:30814 guix-git/doc/guix.texi:31041
  45805. msgid "Multiple outputs can be defined, they just need to be separated by spaces."
  45806. msgstr ""
  45807. #. type: deftypevr
  45808. #: guix-git/doc/guix.texi:30816 guix-git/doc/guix.texi:31043
  45809. msgid "Defaults to @samp{\"3:stderr\"}."
  45810. msgstr ""
  45811. #. type: deftypevr
  45812. #: guix-git/doc/guix.texi:30819
  45813. #, no-wrap
  45814. msgid "{@code{libvirt-configuration} parameter} integer audit-level"
  45815. msgstr ""
  45816. #. type: deftypevr
  45817. #: guix-git/doc/guix.texi:30821
  45818. msgid "Allows usage of the auditing subsystem to be altered"
  45819. msgstr ""
  45820. #. type: itemize
  45821. #: guix-git/doc/guix.texi:30825
  45822. msgid "0: disable all auditing"
  45823. msgstr ""
  45824. #. type: itemize
  45825. #: guix-git/doc/guix.texi:30828
  45826. msgid "1: enable auditing, only if enabled on host"
  45827. msgstr ""
  45828. #. type: itemize
  45829. #: guix-git/doc/guix.texi:30831
  45830. msgid "2: enable auditing, and exit if disabled on host."
  45831. msgstr ""
  45832. #. type: deftypevr
  45833. #: guix-git/doc/guix.texi:30838
  45834. #, no-wrap
  45835. msgid "{@code{libvirt-configuration} parameter} boolean audit-logging"
  45836. msgstr ""
  45837. #. type: deftypevr
  45838. #: guix-git/doc/guix.texi:30840
  45839. msgid "Send audit messages via libvirt logging infrastructure."
  45840. msgstr ""
  45841. #. type: deftypevr
  45842. #: guix-git/doc/guix.texi:30845
  45843. #, no-wrap
  45844. msgid "{@code{libvirt-configuration} parameter} optional-string host-uuid"
  45845. msgstr ""
  45846. #. type: deftypevr
  45847. #: guix-git/doc/guix.texi:30847
  45848. msgid "Host UUID@. UUID must not have all digits be the same."
  45849. msgstr ""
  45850. #. type: deftypevr
  45851. #: guix-git/doc/guix.texi:30852
  45852. #, no-wrap
  45853. msgid "{@code{libvirt-configuration} parameter} string host-uuid-source"
  45854. msgstr ""
  45855. #. type: deftypevr
  45856. #: guix-git/doc/guix.texi:30854
  45857. msgid "Source to read host UUID."
  45858. msgstr ""
  45859. #. type: itemize
  45860. #: guix-git/doc/guix.texi:30858
  45861. msgid "@code{smbios}: fetch the UUID from @code{dmidecode -s system-uuid}"
  45862. msgstr ""
  45863. #. type: itemize
  45864. #: guix-git/doc/guix.texi:30861
  45865. msgid "@code{machine-id}: fetch the UUID from @code{/etc/machine-id}"
  45866. msgstr ""
  45867. #. type: deftypevr
  45868. #: guix-git/doc/guix.texi:30866
  45869. msgid "If @code{dmidecode} does not provide a valid UUID a temporary UUID will be generated."
  45870. msgstr ""
  45871. #. type: deftypevr
  45872. #: guix-git/doc/guix.texi:30868
  45873. msgid "Defaults to @samp{\"smbios\"}."
  45874. msgstr ""
  45875. #. type: deftypevr
  45876. #: guix-git/doc/guix.texi:30871
  45877. #, no-wrap
  45878. msgid "{@code{libvirt-configuration} parameter} integer keepalive-interval"
  45879. msgstr ""
  45880. #. type: deftypevr
  45881. #: guix-git/doc/guix.texi:30876
  45882. 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."
  45883. msgstr ""
  45884. #. type: deftypevr
  45885. #: guix-git/doc/guix.texi:30881
  45886. #, no-wrap
  45887. msgid "{@code{libvirt-configuration} parameter} integer keepalive-count"
  45888. msgstr ""
  45889. #. type: deftypevr
  45890. #: guix-git/doc/guix.texi:30885
  45891. 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."
  45892. msgstr ""
  45893. #. type: deftypevr
  45894. #: guix-git/doc/guix.texi:30892
  45895. 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."
  45896. msgstr ""
  45897. #. type: deftypevr
  45898. #: guix-git/doc/guix.texi:30897
  45899. #, no-wrap
  45900. msgid "{@code{libvirt-configuration} parameter} integer admin-keepalive-interval"
  45901. msgstr ""
  45902. #. type: deftypevr
  45903. #: guix-git/doc/guix.texi:30899 guix-git/doc/guix.texi:30906
  45904. msgid "Same as above but for admin interface."
  45905. msgstr ""
  45906. #. type: deftypevr
  45907. #: guix-git/doc/guix.texi:30904
  45908. #, no-wrap
  45909. msgid "{@code{libvirt-configuration} parameter} integer admin-keepalive-count"
  45910. msgstr ""
  45911. #. type: deftypevr
  45912. #: guix-git/doc/guix.texi:30911
  45913. #, no-wrap
  45914. msgid "{@code{libvirt-configuration} parameter} integer ovs-timeout"
  45915. msgstr ""
  45916. #. type: deftypevr
  45917. #: guix-git/doc/guix.texi:30913
  45918. msgid "Timeout for Open vSwitch calls."
  45919. msgstr ""
  45920. #. type: deftypevr
  45921. #: guix-git/doc/guix.texi:30917
  45922. 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."
  45923. msgstr ""
  45924. #. type: subsubheading
  45925. #: guix-git/doc/guix.texi:30924
  45926. #, no-wrap
  45927. msgid "Virtlog daemon"
  45928. msgstr ""
  45929. #. type: Plain text
  45930. #: guix-git/doc/guix.texi:30927
  45931. msgid "The virtlogd service is a server side daemon component of libvirt that is used to manage logs from virtual machine consoles."
  45932. msgstr ""
  45933. #. type: Plain text
  45934. #: guix-git/doc/guix.texi:30933
  45935. 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."
  45936. msgstr ""
  45937. #. type: deffn
  45938. #: guix-git/doc/guix.texi:30934
  45939. #, no-wrap
  45940. msgid "{Scheme Variable} virtlog-service-type"
  45941. msgstr ""
  45942. #. type: deffn
  45943. #: guix-git/doc/guix.texi:30937
  45944. msgid "This is the type of the virtlog daemon. Its value must be a @code{virtlog-configuration}."
  45945. msgstr ""
  45946. #. type: lisp
  45947. #: guix-git/doc/guix.texi:30942
  45948. #, no-wrap
  45949. msgid ""
  45950. "(service virtlog-service-type\n"
  45951. " (virtlog-configuration\n"
  45952. " (max-clients 1000)))\n"
  45953. msgstr ""
  45954. #. type: deftypevar
  45955. #: guix-git/doc/guix.texi:30945
  45956. #, no-wrap
  45957. msgid "{@code{libvirt} parameter} package libvirt"
  45958. msgstr ""
  45959. #. type: deftypevr
  45960. #: guix-git/doc/guix.texi:30949
  45961. #, no-wrap
  45962. msgid "{@code{virtlog-configuration} parameter} integer log-level"
  45963. msgstr ""
  45964. #. type: deftypevr
  45965. #: guix-git/doc/guix.texi:30956
  45966. #, no-wrap
  45967. msgid "{@code{virtlog-configuration} parameter} string log-filters"
  45968. msgstr ""
  45969. #. type: deftypevr
  45970. #: guix-git/doc/guix.texi:30961
  45971. msgid "A filter allows to select a different logging level for a given category of logs The format for a filter is one of:"
  45972. msgstr ""
  45973. #. type: deftypevr
  45974. #: guix-git/doc/guix.texi:30978
  45975. 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:"
  45976. msgstr ""
  45977. #. type: deftypevr
  45978. #: guix-git/doc/guix.texi:31001
  45979. #, no-wrap
  45980. msgid "{@code{virtlog-configuration} parameter} string log-outputs"
  45981. msgstr ""
  45982. #. type: deftypevr
  45983. #: guix-git/doc/guix.texi:31006
  45984. msgid "An output is one of the places to save logging information The format for an output can be:"
  45985. msgstr ""
  45986. #. type: deftypevr
  45987. #: guix-git/doc/guix.texi:31046
  45988. #, no-wrap
  45989. msgid "{@code{virtlog-configuration} parameter} integer max-clients"
  45990. msgstr ""
  45991. #. type: deftypevr
  45992. #: guix-git/doc/guix.texi:31051
  45993. msgid "Defaults to @samp{1024}."
  45994. msgstr ""
  45995. #. type: deftypevr
  45996. #: guix-git/doc/guix.texi:31054
  45997. #, no-wrap
  45998. msgid "{@code{virtlog-configuration} parameter} integer max-size"
  45999. msgstr ""
  46000. #. type: deftypevr
  46001. #: guix-git/doc/guix.texi:31056
  46002. msgid "Maximum file size before rolling over."
  46003. msgstr ""
  46004. #. type: deftypevr
  46005. #: guix-git/doc/guix.texi:31058
  46006. msgid "Defaults to @samp{2MB}"
  46007. msgstr ""
  46008. #. type: deftypevr
  46009. #: guix-git/doc/guix.texi:31061
  46010. #, no-wrap
  46011. msgid "{@code{virtlog-configuration} parameter} integer max-backups"
  46012. msgstr ""
  46013. #. type: deftypevr
  46014. #: guix-git/doc/guix.texi:31063
  46015. msgid "Maximum number of backup files to keep."
  46016. msgstr ""
  46017. #. type: deftypevr
  46018. #: guix-git/doc/guix.texi:31065
  46019. msgid "Defaults to @samp{3}"
  46020. msgstr ""
  46021. #. type: anchor{#1}
  46022. #: guix-git/doc/guix.texi:31069
  46023. msgid "transparent-emulation-qemu"
  46024. msgstr ""
  46025. #. type: subsubheading
  46026. #: guix-git/doc/guix.texi:31069
  46027. #, no-wrap
  46028. msgid "Transparent Emulation with QEMU"
  46029. msgstr ""
  46030. #. type: cindex
  46031. #: guix-git/doc/guix.texi:31071 guix-git/doc/guix.texi:31151
  46032. #, no-wrap
  46033. msgid "emulation"
  46034. msgstr ""
  46035. #. type: code{#1}
  46036. #: guix-git/doc/guix.texi:31072
  46037. #, no-wrap
  46038. msgid "binfmt_misc"
  46039. msgstr ""
  46040. #. type: Plain text
  46041. #: guix-git/doc/guix.texi:31080
  46042. 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."
  46043. msgstr ""
  46044. #. type: defvr
  46045. #: guix-git/doc/guix.texi:31081
  46046. #, no-wrap
  46047. msgid "{Scheme Variable} qemu-binfmt-service-type"
  46048. msgstr ""
  46049. #. type: defvr
  46050. #: guix-git/doc/guix.texi:31086
  46051. 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:"
  46052. msgstr ""
  46053. #. type: lisp
  46054. #: guix-git/doc/guix.texi:31091
  46055. #, no-wrap
  46056. msgid ""
  46057. "(service qemu-binfmt-service-type\n"
  46058. " (qemu-binfmt-configuration\n"
  46059. " (platforms (lookup-qemu-platforms \"arm\" \"aarch64\"))))\n"
  46060. msgstr ""
  46061. #. type: defvr
  46062. #: guix-git/doc/guix.texi:31097
  46063. 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})."
  46064. msgstr ""
  46065. #. type: deftp
  46066. #: guix-git/doc/guix.texi:31099
  46067. #, no-wrap
  46068. msgid "{Data Type} qemu-binfmt-configuration"
  46069. msgstr ""
  46070. #. type: deftp
  46071. #: guix-git/doc/guix.texi:31101
  46072. msgid "This is the configuration for the @code{qemu-binfmt} service."
  46073. msgstr ""
  46074. #. type: item
  46075. #: guix-git/doc/guix.texi:31103
  46076. #, no-wrap
  46077. msgid "@code{platforms} (default: @code{'()})"
  46078. msgstr ""
  46079. #. type: table
  46080. #: guix-git/doc/guix.texi:31106
  46081. msgid "The list of emulated QEMU platforms. Each item must be a @dfn{platform object} as returned by @code{lookup-qemu-platforms} (see below)."
  46082. msgstr ""
  46083. #. type: table
  46084. #: guix-git/doc/guix.texi:31109
  46085. msgid "For example, let's suppose you're on an x86_64 machine and you have this service:"
  46086. msgstr ""
  46087. #. type: lisp
  46088. #: guix-git/doc/guix.texi:31114
  46089. #, no-wrap
  46090. msgid ""
  46091. "(service qemu-binfmt-service-type\n"
  46092. " (qemu-binfmt-configuration\n"
  46093. " (platforms (lookup-qemu-platforms \"arm\"))))\n"
  46094. msgstr ""
  46095. #. type: table
  46096. #: guix-git/doc/guix.texi:31117
  46097. msgid "You can run:"
  46098. msgstr ""
  46099. #. type: example
  46100. #: guix-git/doc/guix.texi:31120
  46101. #, no-wrap
  46102. msgid "guix build -s armhf-linux inkscape\n"
  46103. msgstr ""
  46104. #. type: table
  46105. #: guix-git/doc/guix.texi:31127
  46106. 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!"
  46107. msgstr ""
  46108. #. type: item
  46109. #: guix-git/doc/guix.texi:31128
  46110. #, no-wrap
  46111. msgid "@code{qemu} (default: @code{qemu})"
  46112. msgstr ""
  46113. #. type: table
  46114. #: guix-git/doc/guix.texi:31130 guix-git/doc/guix.texi:31188
  46115. #: guix-git/doc/guix.texi:31270
  46116. msgid "The QEMU package to use."
  46117. msgstr ""
  46118. #. type: deffn
  46119. #: guix-git/doc/guix.texi:31133
  46120. #, no-wrap
  46121. msgid "{Scheme Procedure} lookup-qemu-platforms @var{platforms}@dots{}"
  46122. msgstr ""
  46123. #. type: deffn
  46124. #: guix-git/doc/guix.texi:31138
  46125. 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."
  46126. msgstr ""
  46127. #. type: deffn
  46128. #: guix-git/doc/guix.texi:31140
  46129. #, no-wrap
  46130. msgid "{Scheme Procedure} qemu-platform? @var{obj}"
  46131. msgstr ""
  46132. #. type: deffn
  46133. #: guix-git/doc/guix.texi:31142
  46134. msgid "Return true if @var{obj} is a platform object."
  46135. msgstr ""
  46136. #. type: deffn
  46137. #: guix-git/doc/guix.texi:31144
  46138. #, no-wrap
  46139. msgid "{Scheme Procedure} qemu-platform-name @var{platform}"
  46140. msgstr ""
  46141. #. type: deffn
  46142. #: guix-git/doc/guix.texi:31146
  46143. msgid "Return the name of @var{platform}---a string such as @code{\"arm\"}."
  46144. msgstr ""
  46145. #. type: subsubheading
  46146. #: guix-git/doc/guix.texi:31149
  46147. #, no-wrap
  46148. msgid "QEMU Guest Agent"
  46149. msgstr ""
  46150. #. type: Plain text
  46151. #: guix-git/doc/guix.texi:31157
  46152. msgid "The QEMU guest agent provides control over the emulated system to the host. The @code{qemu-guest-agent} service runs the agent on Guix guests. To control the agent from the host, open a socket by invoking QEMU with the following arguments:"
  46153. msgstr ""
  46154. #. type: example
  46155. #: guix-git/doc/guix.texi:31164
  46156. #, no-wrap
  46157. msgid ""
  46158. "qemu-system-x86_64 \\\n"
  46159. "\t-chardev socket,path=/tmp/qga.sock,server=on,wait=off,id=qga0 \\\n"
  46160. "\t-device virtio-serial \\\n"
  46161. "\t-device virtserialport,chardev=qga0,name=org.qemu.guest_agent.0 \\\n"
  46162. "\t...\n"
  46163. msgstr ""
  46164. #. type: Plain text
  46165. #: guix-git/doc/guix.texi:31168
  46166. msgid "This creates a socket at @file{/tmp/qga.sock} on the host. Once the guest agent is running, you can issue commands with @code{socat}:"
  46167. msgstr ""
  46168. #. type: example
  46169. #: guix-git/doc/guix.texi:31173
  46170. #, no-wrap
  46171. msgid ""
  46172. "$ guix shell socat -- socat unix-connect:/tmp/qga.sock stdio\n"
  46173. "@{\"execute\": \"guest-get-host-name\"@}\n"
  46174. "@{\"return\": @{\"host-name\": \"guix\"@}@}\n"
  46175. msgstr ""
  46176. #. type: Plain text
  46177. #: guix-git/doc/guix.texi:31177
  46178. msgid "See @url{https://wiki.qemu.org/Features/GuestAgent,QEMU guest agent documentation} for more options and commands."
  46179. msgstr ""
  46180. #. type: defvr
  46181. #: guix-git/doc/guix.texi:31178
  46182. #, no-wrap
  46183. msgid "{Scheme Variable} qemu-guest-agent-service-type"
  46184. msgstr ""
  46185. #. type: defvr
  46186. #: guix-git/doc/guix.texi:31180
  46187. msgid "Service type for the QEMU guest agent service."
  46188. msgstr ""
  46189. #. type: deftp
  46190. #: guix-git/doc/guix.texi:31182
  46191. #, no-wrap
  46192. msgid "{Data Type} qemu-guest-agent-configuration"
  46193. msgstr ""
  46194. #. type: deftp
  46195. #: guix-git/doc/guix.texi:31184
  46196. msgid "Configuration for the @code{qemu-guest-agent} service."
  46197. msgstr ""
  46198. #. type: item
  46199. #: guix-git/doc/guix.texi:31186 guix-git/doc/guix.texi:31268
  46200. #, no-wrap
  46201. msgid "@code{qemu} (default: @code{qemu-minimal})"
  46202. msgstr ""
  46203. #. type: item
  46204. #: guix-git/doc/guix.texi:31189
  46205. #, no-wrap
  46206. msgid "@code{device} (default: @code{\"\"})"
  46207. msgstr ""
  46208. #. type: table
  46209. #: guix-git/doc/guix.texi:31192
  46210. msgid "File name of the device or socket the agent uses to communicate with the host. If empty, QEMU uses a default file name."
  46211. msgstr ""
  46212. #. type: subsubheading
  46213. #: guix-git/doc/guix.texi:31196
  46214. #, no-wrap
  46215. msgid "The Hurd in a Virtual Machine"
  46216. msgstr ""
  46217. #. type: cindex
  46218. #: guix-git/doc/guix.texi:31199
  46219. #, no-wrap
  46220. msgid "the Hurd"
  46221. msgstr ""
  46222. #. type: cindex
  46223. #: guix-git/doc/guix.texi:31200
  46224. #, no-wrap
  46225. msgid "childhurd"
  46226. msgstr ""
  46227. #. type: Plain text
  46228. #: guix-git/doc/guix.texi:31208
  46229. 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:"
  46230. msgstr ""
  46231. #. type: example
  46232. #: guix-git/doc/guix.texi:31212
  46233. #, no-wrap
  46234. msgid ""
  46235. "herd start hurd-vm\n"
  46236. "herd stop childhurd\n"
  46237. msgstr ""
  46238. #. type: Plain text
  46239. #: guix-git/doc/guix.texi:31216
  46240. msgid "When the service is running, you can view its console by connecting to it with a VNC client, for example with:"
  46241. msgstr ""
  46242. #. type: example
  46243. #: guix-git/doc/guix.texi:31219
  46244. #, no-wrap
  46245. msgid "guix shell tigervnc-client -- vncviewer localhost:5900\n"
  46246. msgstr ""
  46247. #. type: Plain text
  46248. #: guix-git/doc/guix.texi:31225
  46249. 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:"
  46250. msgstr ""
  46251. #. type: example
  46252. #: guix-git/doc/guix.texi:31228
  46253. #, no-wrap
  46254. msgid "ssh root@@localhost -p 10022\n"
  46255. msgstr ""
  46256. #. type: Plain text
  46257. #: guix-git/doc/guix.texi:31237
  46258. 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."
  46259. msgstr ""
  46260. #. type: defvr
  46261. #: guix-git/doc/guix.texi:31238
  46262. #, no-wrap
  46263. msgid "{Scheme Variable} hurd-vm-service-type"
  46264. msgstr ""
  46265. #. type: defvr
  46266. #: guix-git/doc/guix.texi:31244
  46267. 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."
  46268. msgstr ""
  46269. #. type: defvr
  46270. #: guix-git/doc/guix.texi:31246
  46271. msgid "For example:"
  46272. msgstr "Esimerkiksi:"
  46273. #. type: lisp
  46274. #: guix-git/doc/guix.texi:31252
  46275. #, no-wrap
  46276. msgid ""
  46277. "(service hurd-vm-service-type\n"
  46278. " (hurd-vm-configuration\n"
  46279. " (disk-size (* 5000 (expt 2 20))) ;5G\n"
  46280. " (memory-size 1024))) ;1024MiB\n"
  46281. msgstr ""
  46282. #. type: defvr
  46283. #: guix-git/doc/guix.texi:31256
  46284. msgid "would create a disk image big enough to build GNU@tie{}Hello, with some extra memory."
  46285. msgstr ""
  46286. #. type: deftp
  46287. #: guix-git/doc/guix.texi:31258
  46288. #, no-wrap
  46289. msgid "{Data Type} hurd-vm-configuration"
  46290. msgstr ""
  46291. #. type: deftp
  46292. #: guix-git/doc/guix.texi:31261
  46293. msgid "The data type representing the configuration for @code{hurd-vm-service-type}."
  46294. msgstr ""
  46295. #. type: item
  46296. #: guix-git/doc/guix.texi:31263
  46297. #, no-wrap
  46298. msgid "@code{os} (default: @var{%hurd-vm-operating-system})"
  46299. msgstr ""
  46300. #. type: table
  46301. #: guix-git/doc/guix.texi:31267
  46302. 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}})."
  46303. msgstr ""
  46304. #. type: item
  46305. #: guix-git/doc/guix.texi:31271
  46306. #, no-wrap
  46307. msgid "@code{image} (default: @var{hurd-vm-disk-image})"
  46308. msgstr ""
  46309. #. type: table
  46310. #: guix-git/doc/guix.texi:31274
  46311. msgid "The procedure used to build the disk-image built from this configuration."
  46312. msgstr ""
  46313. #. type: item
  46314. #: guix-git/doc/guix.texi:31275
  46315. #, no-wrap
  46316. msgid "@code{disk-size} (default: @code{'guess})"
  46317. msgstr ""
  46318. #. type: table
  46319. #: guix-git/doc/guix.texi:31277
  46320. msgid "The size of the disk image."
  46321. msgstr ""
  46322. #. type: item
  46323. #: guix-git/doc/guix.texi:31278
  46324. #, no-wrap
  46325. msgid "@code{memory-size} (default: @code{512})"
  46326. msgstr ""
  46327. #. type: table
  46328. #: guix-git/doc/guix.texi:31280
  46329. msgid "The memory size of the Virtual Machine in mebibytes."
  46330. msgstr ""
  46331. #. type: item
  46332. #: guix-git/doc/guix.texi:31281
  46333. #, no-wrap
  46334. msgid "@code{options} (default: @code{'(\"--snapshot\")})"
  46335. msgstr ""
  46336. #. type: table
  46337. #: guix-git/doc/guix.texi:31283
  46338. msgid "The extra options for running QEMU."
  46339. msgstr ""
  46340. #. type: table
  46341. #: guix-git/doc/guix.texi:31288
  46342. 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}."
  46343. msgstr ""
  46344. #. type: item
  46345. #: guix-git/doc/guix.texi:31289
  46346. #, no-wrap
  46347. msgid "@code{net-options} (default: @var{hurd-vm-net-options})"
  46348. msgstr ""
  46349. #. type: table
  46350. #: guix-git/doc/guix.texi:31291
  46351. msgid "The procedure used to produce the list of QEMU networking options."
  46352. msgstr ""
  46353. #. type: table
  46354. #: guix-git/doc/guix.texi:31293
  46355. msgid "By default, it produces"
  46356. msgstr ""
  46357. #. type: lisp
  46358. #: guix-git/doc/guix.texi:31301
  46359. #, no-wrap
  46360. msgid ""
  46361. "'(\"--device\" \"rtl8139,netdev=net0\"\n"
  46362. " \"--netdev\" (string-append\n"
  46363. " \"user,id=net0,\"\n"
  46364. " \"hostfwd=tcp:127.0.0.1:@var{secrets-port}-:1004,\"\n"
  46365. " \"hostfwd=tcp:127.0.0.1:@var{ssh-port}-:2222,\"\n"
  46366. " \"hostfwd=tcp:127.0.0.1:@var{vnc-port}-:5900\"))\n"
  46367. msgstr ""
  46368. #. type: table
  46369. #: guix-git/doc/guix.texi:31304
  46370. msgid "with forwarded ports:"
  46371. msgstr ""
  46372. #. type: example
  46373. #: guix-git/doc/guix.texi:31309
  46374. #, no-wrap
  46375. msgid ""
  46376. "@var{secrets-port}: @code{(+ 11004 (* 1000 @var{ID}))}\n"
  46377. "@var{ssh-port}: @code{(+ 10022 (* 1000 @var{ID}))}\n"
  46378. "@var{vnc-port}: @code{(+ 15900 (* 1000 @var{ID}))}\n"
  46379. msgstr ""
  46380. #. type: item
  46381. #: guix-git/doc/guix.texi:31311
  46382. #, no-wrap
  46383. msgid "@code{secret-root} (default: @file{/etc/childhurd})"
  46384. msgstr ""
  46385. #. type: table
  46386. #: guix-git/doc/guix.texi:31316
  46387. 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."
  46388. msgstr ""
  46389. #. type: table
  46390. #: guix-git/doc/guix.texi:31320
  46391. 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."
  46392. msgstr ""
  46393. #. type: table
  46394. #: guix-git/doc/guix.texi:31323
  46395. msgid "By default, the service automatically populates @file{/etc/childhurd} with the following non-volatile secrets, unless they already exist:"
  46396. msgstr ""
  46397. #. type: example
  46398. #: guix-git/doc/guix.texi:31332
  46399. #, no-wrap
  46400. msgid ""
  46401. "/etc/childhurd/etc/guix/acl\n"
  46402. "/etc/childhurd/etc/guix/signing-key.pub\n"
  46403. "/etc/childhurd/etc/guix/signing-key.sec\n"
  46404. "/etc/childhurd/etc/ssh/ssh_host_ed25519_key\n"
  46405. "/etc/childhurd/etc/ssh/ssh_host_ecdsa_key\n"
  46406. "/etc/childhurd/etc/ssh/ssh_host_ed25519_key.pub\n"
  46407. "/etc/childhurd/etc/ssh/ssh_host_ecdsa_key.pub\n"
  46408. msgstr ""
  46409. #. type: table
  46410. #: guix-git/doc/guix.texi:31336
  46411. msgid "These files are automatically sent to the guest Hurd VM when it boots, including permissions."
  46412. msgstr ""
  46413. #. type: cindex
  46414. #: guix-git/doc/guix.texi:31337
  46415. #, no-wrap
  46416. msgid "childhurd, offloading"
  46417. msgstr ""
  46418. #. type: cindex
  46419. #: guix-git/doc/guix.texi:31338
  46420. #, no-wrap
  46421. msgid "Hurd, offloading"
  46422. msgstr ""
  46423. #. type: table
  46424. #: guix-git/doc/guix.texi:31342
  46425. 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:"
  46426. msgstr ""
  46427. #. type: enumerate
  46428. #: guix-git/doc/guix.texi:31347
  46429. 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:"
  46430. msgstr ""
  46431. #. type: example
  46432. #: guix-git/doc/guix.texi:31351
  46433. #, no-wrap
  46434. msgid ""
  46435. "guix archive --authorize < \\\n"
  46436. " /etc/childhurd/etc/guix/signing-key.pub\n"
  46437. msgstr ""
  46438. #. type: enumerate
  46439. #: guix-git/doc/guix.texi:31356
  46440. msgid "Adding the childhurd to @file{/etc/guix/machines.scm} (@pxref{Daemon Offload Setup})."
  46441. msgstr ""
  46442. #. type: table
  46443. #: guix-git/doc/guix.texi:31360
  46444. msgid "We're working towards making that happen automatically---get in touch with us at @email{guix-devel@@gnu.org} to discuss it!"
  46445. msgstr ""
  46446. #. type: Plain text
  46447. #: guix-git/doc/guix.texi:31367
  46448. 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:"
  46449. msgstr ""
  46450. #. type: lisp
  46451. #: guix-git/doc/guix.texi:31373
  46452. #, no-wrap
  46453. msgid ""
  46454. "(service hurd-vm-service-type\n"
  46455. " (hurd-vm-configuration\n"
  46456. " (image (const \"/out/of/store/writable/hurd.img\"))\n"
  46457. " (options '())))\n"
  46458. msgstr ""
  46459. #. type: subsubheading
  46460. #: guix-git/doc/guix.texi:31375
  46461. #, no-wrap
  46462. msgid "Ganeti"
  46463. msgstr ""
  46464. #. type: cindex
  46465. #: guix-git/doc/guix.texi:31377
  46466. #, no-wrap
  46467. msgid "ganeti"
  46468. msgstr ""
  46469. #. type: quotation
  46470. #: guix-git/doc/guix.texi:31384
  46471. 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}."
  46472. msgstr ""
  46473. #. type: Plain text
  46474. #: guix-git/doc/guix.texi:31394
  46475. 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)."
  46476. msgstr ""
  46477. #. type: Plain text
  46478. #: guix-git/doc/guix.texi:31399
  46479. 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}:"
  46480. msgstr ""
  46481. #. type: lisp
  46482. #: guix-git/doc/guix.texi:31409
  46483. #, no-wrap
  46484. msgid ""
  46485. "(use-package-modules virtualization)\n"
  46486. "(use-service-modules base ganeti networking ssh)\n"
  46487. "(operating-system\n"
  46488. " ;; @dots{}\n"
  46489. " (host-name \"node1\")\n"
  46490. " (hosts-file (plain-file \"hosts\" (format #f \"\n"
  46491. "127.0.0.1 localhost\n"
  46492. "::1 localhost\n"
  46493. "\n"
  46494. msgstr ""
  46495. #. type: lisp
  46496. #: guix-git/doc/guix.texi:31414
  46497. #, no-wrap
  46498. msgid ""
  46499. "192.168.1.200 ganeti.example.com\n"
  46500. "192.168.1.201 node1.example.com node1\n"
  46501. "192.168.1.202 node2.example.com node2\n"
  46502. "\")))\n"
  46503. "\n"
  46504. msgstr ""
  46505. #. type: lisp
  46506. #: guix-git/doc/guix.texi:31435
  46507. #, no-wrap
  46508. msgid ""
  46509. " ;; Install QEMU so we can use KVM-based instances, and LVM, DRBD and Ceph\n"
  46510. " ;; in order to use the \"plain\", \"drbd\" and \"rbd\" storage backends.\n"
  46511. " (packages (append (map specification->package\n"
  46512. " '(\"qemu\" \"lvm2\" \"drbd-utils\" \"ceph\"\n"
  46513. " ;; Add the debootstrap and guix OS providers.\n"
  46514. " \"ganeti-instance-guix\" \"ganeti-instance-debootstrap\"))\n"
  46515. " %base-packages))\n"
  46516. " (services\n"
  46517. " (append (list (service static-networking-service-type\n"
  46518. " (list (static-networking\n"
  46519. " (addresses\n"
  46520. " (list (network-address\n"
  46521. " (device \"eth0\")\n"
  46522. " (value \"192.168.1.201/24\"))))\n"
  46523. " (routes\n"
  46524. " (list (network-route\n"
  46525. " (destination \"default\")\n"
  46526. " (gateway \"192.168.1.254\"))))\n"
  46527. " (name-servers '(\"192.168.1.252\"\n"
  46528. " \"192.168.1.253\")))))\n"
  46529. "\n"
  46530. msgstr ""
  46531. #. type: lisp
  46532. #: guix-git/doc/guix.texi:31440
  46533. #, no-wrap
  46534. msgid ""
  46535. " ;; Ganeti uses SSH to communicate between nodes.\n"
  46536. " (service openssh-service-type\n"
  46537. " (openssh-configuration\n"
  46538. " (permit-root-login 'prohibit-password)))\n"
  46539. "\n"
  46540. msgstr ""
  46541. #. type: lisp
  46542. #: guix-git/doc/guix.texi:31450
  46543. #, no-wrap
  46544. msgid ""
  46545. " (service ganeti-service-type\n"
  46546. " (ganeti-configuration\n"
  46547. " ;; This list specifies allowed file system paths\n"
  46548. " ;; for storing virtual machine images.\n"
  46549. " (file-storage-paths '(\"/srv/ganeti/file-storage\"))\n"
  46550. " ;; This variable configures a single \"variant\" for\n"
  46551. " ;; both Debootstrap and Guix that works with KVM.\n"
  46552. " (os %default-ganeti-os))))\n"
  46553. " %base-services)))\n"
  46554. msgstr ""
  46555. #. type: Plain text
  46556. #: guix-git/doc/guix.texi:31458
  46557. 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."
  46558. msgstr ""
  46559. #. type: defvr
  46560. #: guix-git/doc/guix.texi:31459
  46561. #, no-wrap
  46562. msgid "{Scheme Variable} ganeti-service-type"
  46563. msgstr ""
  46564. #. type: defvr
  46565. #: guix-git/doc/guix.texi:31462
  46566. msgid "This is a service type that includes all the various services that Ganeti nodes should run."
  46567. msgstr ""
  46568. #. type: defvr
  46569. #: guix-git/doc/guix.texi:31467
  46570. 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."
  46571. msgstr ""
  46572. #. type: deftp
  46573. #: guix-git/doc/guix.texi:31469
  46574. #, no-wrap
  46575. msgid "{Data Type} ganeti-configuration"
  46576. msgstr ""
  46577. #. type: deftp
  46578. #: guix-git/doc/guix.texi:31471
  46579. msgid "The @code{ganeti} service takes the following configuration options:"
  46580. msgstr ""
  46581. #. type: item
  46582. #: guix-git/doc/guix.texi:31473 guix-git/doc/guix.texi:31701
  46583. #: guix-git/doc/guix.texi:31751 guix-git/doc/guix.texi:31781
  46584. #: guix-git/doc/guix.texi:31808 guix-git/doc/guix.texi:31840
  46585. #: guix-git/doc/guix.texi:31893 guix-git/doc/guix.texi:31913
  46586. #: guix-git/doc/guix.texi:31939 guix-git/doc/guix.texi:31972
  46587. #: guix-git/doc/guix.texi:32012
  46588. #, no-wrap
  46589. msgid "@code{ganeti} (default: @code{ganeti})"
  46590. msgstr ""
  46591. #. type: table
  46592. #: guix-git/doc/guix.texi:31478
  46593. 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)."
  46594. msgstr ""
  46595. #. type: item
  46596. #: guix-git/doc/guix.texi:31479
  46597. #, no-wrap
  46598. msgid "@code{noded-configuration} (default: @code{(ganeti-noded-configuration)})"
  46599. msgstr ""
  46600. #. type: itemx
  46601. #: guix-git/doc/guix.texi:31480
  46602. #, no-wrap
  46603. msgid "@code{confd-configuration} (default: @code{(ganeti-confd-configuration)})"
  46604. msgstr ""
  46605. #. type: itemx
  46606. #: guix-git/doc/guix.texi:31481
  46607. #, no-wrap
  46608. msgid "@code{wconfd-configuration} (default: @code{(ganeti-wconfd-configuration)})"
  46609. msgstr ""
  46610. #. type: itemx
  46611. #: guix-git/doc/guix.texi:31482
  46612. #, no-wrap
  46613. msgid "@code{luxid-configuration} (default: @code{(ganeti-luxid-configuration)})"
  46614. msgstr ""
  46615. #. type: itemx
  46616. #: guix-git/doc/guix.texi:31483
  46617. #, no-wrap
  46618. msgid "@code{rapi-configuration} (default: @code{(ganeti-rapi-configuration)})"
  46619. msgstr ""
  46620. #. type: itemx
  46621. #: guix-git/doc/guix.texi:31484
  46622. #, no-wrap
  46623. msgid "@code{kvmd-configuration} (default: @code{(ganeti-kvmd-configuration)})"
  46624. msgstr ""
  46625. #. type: itemx
  46626. #: guix-git/doc/guix.texi:31485
  46627. #, no-wrap
  46628. msgid "@code{mond-configuration} (default: @code{(ganeti-mond-configuration)})"
  46629. msgstr ""
  46630. #. type: itemx
  46631. #: guix-git/doc/guix.texi:31486
  46632. #, no-wrap
  46633. msgid "@code{metad-configuration} (default: @code{(ganeti-metad-configuration)})"
  46634. msgstr ""
  46635. #. type: itemx
  46636. #: guix-git/doc/guix.texi:31487
  46637. #, no-wrap
  46638. msgid "@code{watcher-configuration} (default: @code{(ganeti-watcher-configuration)})"
  46639. msgstr ""
  46640. #. type: itemx
  46641. #: guix-git/doc/guix.texi:31488
  46642. #, no-wrap
  46643. msgid "@code{cleaner-configuration} (default: @code{(ganeti-cleaner-configuration)})"
  46644. msgstr ""
  46645. #. type: table
  46646. #: guix-git/doc/guix.texi:31493
  46647. 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:"
  46648. msgstr ""
  46649. #. type: lisp
  46650. #: guix-git/doc/guix.texi:31503
  46651. #, no-wrap
  46652. msgid ""
  46653. "(service ganeti-service-type\n"
  46654. " (ganeti-configuration\n"
  46655. " (rapi-configuration\n"
  46656. " (ganeti-rapi-configuration\n"
  46657. " (interface \"eth1\"))))\n"
  46658. " (watcher-configuration\n"
  46659. " (ganeti-watcher-configuration\n"
  46660. " (rapi-ip \"10.0.0.1\"))))\n"
  46661. msgstr ""
  46662. #. type: item
  46663. #: guix-git/doc/guix.texi:31505
  46664. #, no-wrap
  46665. msgid "@code{file-storage-paths} (default: @code{'()})"
  46666. msgstr ""
  46667. #. type: table
  46668. #: guix-git/doc/guix.texi:31507
  46669. msgid "List of allowed directories for file storage backend."
  46670. msgstr ""
  46671. #. type: item
  46672. #: guix-git/doc/guix.texi:31508
  46673. #, no-wrap
  46674. msgid "@code{os} (default: @code{%default-ganeti-os})"
  46675. msgstr ""
  46676. #. type: table
  46677. #: guix-git/doc/guix.texi:31510
  46678. msgid "List of @code{<ganeti-os>} records."
  46679. msgstr ""
  46680. #. type: deftp
  46681. #: guix-git/doc/guix.texi:31514
  46682. msgid "In essence @code{ganeti-service-type} is shorthand for declaring each service individually:"
  46683. msgstr ""
  46684. #. type: lisp
  46685. #: guix-git/doc/guix.texi:31525
  46686. #, no-wrap
  46687. msgid ""
  46688. "(service ganeti-noded-service-type)\n"
  46689. "(service ganeti-confd-service-type)\n"
  46690. "(service ganeti-wconfd-service-type)\n"
  46691. "(service ganeti-luxid-service-type)\n"
  46692. "(service ganeti-kvmd-service-type)\n"
  46693. "(service ganeti-mond-service-type)\n"
  46694. "(service ganeti-metad-service-type)\n"
  46695. "(service ganeti-watcher-service-type)\n"
  46696. "(service ganeti-cleaner-service-type)\n"
  46697. msgstr ""
  46698. #. type: deftp
  46699. #: guix-git/doc/guix.texi:31529
  46700. msgid "Plus a service extension for @code{etc-service-type} that configures the file storage backend and OS variants."
  46701. msgstr ""
  46702. #. type: deftp
  46703. #: guix-git/doc/guix.texi:31532
  46704. #, no-wrap
  46705. msgid "{Data Type} ganeti-os"
  46706. msgstr ""
  46707. #. type: deftp
  46708. #: guix-git/doc/guix.texi:31535
  46709. msgid "This data type is suitable for passing to the @code{os} parameter of @code{ganeti-configuration}. It takes the following parameters:"
  46710. msgstr ""
  46711. #. type: table
  46712. #: guix-git/doc/guix.texi:31541
  46713. 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}."
  46714. msgstr ""
  46715. #. type: code{#1}
  46716. #: guix-git/doc/guix.texi:31542
  46717. #, no-wrap
  46718. msgid "extension"
  46719. msgstr "laajennus"
  46720. #. type: table
  46721. #: guix-git/doc/guix.texi:31545
  46722. msgid "The file extension for variants of this OS type. For example @file{.conf} or @file{.scm}."
  46723. msgstr ""
  46724. #. type: item
  46725. #: guix-git/doc/guix.texi:31546
  46726. #, no-wrap
  46727. msgid "@code{variants} (default: @code{'()})"
  46728. msgstr ""
  46729. #. type: table
  46730. #: guix-git/doc/guix.texi:31548
  46731. msgid "List of @code{ganeti-os-variant} objects for this OS."
  46732. msgstr ""
  46733. #. type: deftp
  46734. #: guix-git/doc/guix.texi:31552
  46735. #, no-wrap
  46736. msgid "{Data Type} ganeti-os-variant"
  46737. msgstr ""
  46738. #. type: deftp
  46739. #: guix-git/doc/guix.texi:31555
  46740. msgid "This is the data type for a Ganeti OS variant. It takes the following parameters:"
  46741. msgstr ""
  46742. #. type: table
  46743. #: guix-git/doc/guix.texi:31559
  46744. msgid "The name of this variant."
  46745. msgstr ""
  46746. #. type: code{#1}
  46747. #: guix-git/doc/guix.texi:31560
  46748. #, no-wrap
  46749. msgid "configuration"
  46750. msgstr "asetukset"
  46751. #. type: table
  46752. #: guix-git/doc/guix.texi:31562
  46753. msgid "A configuration file for this variant."
  46754. msgstr ""
  46755. #. type: defvr
  46756. #: guix-git/doc/guix.texi:31565
  46757. #, no-wrap
  46758. msgid "{Scheme Variable} %default-debootstrap-hooks"
  46759. msgstr ""
  46760. #. type: defvr
  46761. #: guix-git/doc/guix.texi:31567
  46762. msgid "This variable contains hooks to configure networking and the GRUB bootloader."
  46763. msgstr ""
  46764. #. type: defvr
  46765. #: guix-git/doc/guix.texi:31569
  46766. #, no-wrap
  46767. msgid "{Scheme Variable} %default-debootstrap-extra-pkgs"
  46768. msgstr ""
  46769. #. type: defvr
  46770. #: guix-git/doc/guix.texi:31571
  46771. msgid "This variable contains a list of packages suitable for a fully-virtualized guest."
  46772. msgstr ""
  46773. #. type: deftp
  46774. #: guix-git/doc/guix.texi:31573
  46775. #, no-wrap
  46776. msgid "{Data Type} debootstrap-configuration"
  46777. msgstr ""
  46778. #. type: deftp
  46779. #: guix-git/doc/guix.texi:31576
  46780. msgid "This data type creates configuration files suitable for the debootstrap OS provider."
  46781. msgstr ""
  46782. #. type: item
  46783. #: guix-git/doc/guix.texi:31578
  46784. #, no-wrap
  46785. msgid "@code{hooks} (default: @code{%default-debootstrap-hooks})"
  46786. msgstr ""
  46787. #. type: table
  46788. #: guix-git/doc/guix.texi:31582
  46789. 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:"
  46790. msgstr ""
  46791. #. type: lisp
  46792. #: guix-git/doc/guix.texi:31585
  46793. #, no-wrap
  46794. msgid "`((99-hello-world . ,(plain-file \"#!/bin/sh\\necho Hello, World\")))\n"
  46795. msgstr ""
  46796. #. type: table
  46797. #: guix-git/doc/guix.texi:31590
  46798. 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."
  46799. msgstr ""
  46800. #. type: item
  46801. #: guix-git/doc/guix.texi:31590
  46802. #, no-wrap
  46803. msgid "@code{proxy} (default: @code{#f})"
  46804. msgstr ""
  46805. #. type: table
  46806. #: guix-git/doc/guix.texi:31592
  46807. msgid "Optional HTTP proxy to use."
  46808. msgstr ""
  46809. #. type: item
  46810. #: guix-git/doc/guix.texi:31592 guix-git/doc/guix.texi:33785
  46811. #, no-wrap
  46812. msgid "@code{mirror} (default: @code{#f})"
  46813. msgstr ""
  46814. #. type: table
  46815. #: guix-git/doc/guix.texi:31595
  46816. msgid "The Debian mirror. Typically something like @code{http://ftp.no.debian.org/debian}. The default varies depending on the distribution."
  46817. msgstr ""
  46818. #. type: item
  46819. #: guix-git/doc/guix.texi:31595
  46820. #, no-wrap
  46821. msgid "@code{arch} (default: @code{#f})"
  46822. msgstr ""
  46823. #. type: table
  46824. #: guix-git/doc/guix.texi:31598
  46825. 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."
  46826. msgstr ""
  46827. #. type: item
  46828. #: guix-git/doc/guix.texi:31598
  46829. #, no-wrap
  46830. msgid "@code{suite} (default: @code{\"stable\"})"
  46831. msgstr ""
  46832. #. type: table
  46833. #: guix-git/doc/guix.texi:31601
  46834. 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."
  46835. msgstr ""
  46836. #. type: item
  46837. #: guix-git/doc/guix.texi:31601
  46838. #, no-wrap
  46839. msgid "@code{extra-pkgs} (default: @code{%default-debootstrap-extra-pkgs})"
  46840. msgstr ""
  46841. #. type: table
  46842. #: guix-git/doc/guix.texi:31604
  46843. msgid "List of extra packages that will get installed by dpkg in addition to the minimal system."
  46844. msgstr ""
  46845. #. type: item
  46846. #: guix-git/doc/guix.texi:31604
  46847. #, no-wrap
  46848. msgid "@code{components} (default: @code{#f})"
  46849. msgstr ""
  46850. #. type: table
  46851. #: guix-git/doc/guix.texi:31607
  46852. msgid "When set, must be a list of Debian repository ``components''. For example @code{'(\"main\" \"contrib\")}."
  46853. msgstr ""
  46854. #. type: item
  46855. #: guix-git/doc/guix.texi:31607
  46856. #, no-wrap
  46857. msgid "@code{generate-cache?} (default: @code{#t})"
  46858. msgstr ""
  46859. #. type: table
  46860. #: guix-git/doc/guix.texi:31609
  46861. msgid "Whether to automatically cache the generated debootstrap archive."
  46862. msgstr ""
  46863. #. type: item
  46864. #: guix-git/doc/guix.texi:31609
  46865. #, no-wrap
  46866. msgid "@code{clean-cache} (default: @code{14})"
  46867. msgstr ""
  46868. #. type: table
  46869. #: guix-git/doc/guix.texi:31612
  46870. msgid "Discard the cache after this amount of days. Use @code{#f} to never clear the cache."
  46871. msgstr ""
  46872. #. type: item
  46873. #: guix-git/doc/guix.texi:31612
  46874. #, no-wrap
  46875. msgid "@code{partition-style} (default: @code{'msdos})"
  46876. msgstr ""
  46877. #. type: table
  46878. #: guix-git/doc/guix.texi:31615
  46879. msgid "The type of partition to create. When set, it must be one of @code{'msdos}, @code{'none} or a string."
  46880. msgstr ""
  46881. #. type: item
  46882. #: guix-git/doc/guix.texi:31615
  46883. #, no-wrap
  46884. msgid "@code{partition-alignment} (default: @code{2048})"
  46885. msgstr ""
  46886. #. type: table
  46887. #: guix-git/doc/guix.texi:31617
  46888. msgid "Alignment of the partition in sectors."
  46889. msgstr ""
  46890. #. type: deffn
  46891. #: guix-git/doc/guix.texi:31620
  46892. #, no-wrap
  46893. msgid "{Scheme Procedure} debootstrap-variant @var{name} @var{configuration}"
  46894. msgstr ""
  46895. #. type: deffn
  46896. #: guix-git/doc/guix.texi:31623
  46897. 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."
  46898. msgstr ""
  46899. #. type: deffn
  46900. #: guix-git/doc/guix.texi:31625
  46901. #, no-wrap
  46902. msgid "{Scheme Procedure} debootstrap-os @var{variants}@dots{}"
  46903. msgstr ""
  46904. #. type: deffn
  46905. #: guix-git/doc/guix.texi:31628
  46906. msgid "This is a helper procedure that creates a @code{ganeti-os} record. It takes a list of variants created with @code{debootstrap-variant}."
  46907. msgstr ""
  46908. #. type: deffn
  46909. #: guix-git/doc/guix.texi:31630
  46910. #, no-wrap
  46911. msgid "{Scheme Procedure} guix-variant @var{name} @var{configuration}"
  46912. msgstr ""
  46913. #. type: deffn
  46914. #: guix-git/doc/guix.texi:31635
  46915. 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."
  46916. msgstr ""
  46917. #. type: deffn
  46918. #: guix-git/doc/guix.texi:31637
  46919. #, no-wrap
  46920. msgid "{Scheme Procedure} guix-os @var{variants}@dots{}"
  46921. msgstr ""
  46922. #. type: deffn
  46923. #: guix-git/doc/guix.texi:31640
  46924. msgid "This is a helper procedure that creates a @code{ganeti-os} record. It takes a list of variants produced by @code{guix-variant}."
  46925. msgstr ""
  46926. #. type: defvr
  46927. #: guix-git/doc/guix.texi:31642
  46928. #, no-wrap
  46929. msgid "{Scheme Variable} %default-debootstrap-variants"
  46930. msgstr ""
  46931. #. type: defvr
  46932. #: guix-git/doc/guix.texi:31646
  46933. 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:"
  46934. msgstr ""
  46935. #. type: lisp
  46936. #: guix-git/doc/guix.texi:31651
  46937. #, no-wrap
  46938. msgid ""
  46939. "(list (debootstrap-variant\n"
  46940. " \"default\"\n"
  46941. " (debootstrap-configuration)))\n"
  46942. msgstr ""
  46943. #. type: defvr
  46944. #: guix-git/doc/guix.texi:31654
  46945. #, no-wrap
  46946. msgid "{Scheme Variable} %default-guix-variants"
  46947. msgstr ""
  46948. #. type: defvr
  46949. #: guix-git/doc/guix.texi:31658
  46950. 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."
  46951. msgstr ""
  46952. #. type: lisp
  46953. #: guix-git/doc/guix.texi:31664
  46954. #, no-wrap
  46955. msgid ""
  46956. "(list (guix-variant\n"
  46957. " \"default\"\n"
  46958. " (file-append ganeti-instance-guix\n"
  46959. " \"/share/doc/ganeti-instance-guix/examples/dynamic.scm\")))\n"
  46960. msgstr ""
  46961. #. type: Plain text
  46962. #: guix-git/doc/guix.texi:31670
  46963. 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:"
  46964. msgstr ""
  46965. #. type: lisp
  46966. #: guix-git/doc/guix.texi:31679
  46967. #, no-wrap
  46968. msgid ""
  46969. "(ganeti-os\n"
  46970. " (name \"custom\")\n"
  46971. " (extension \".conf\")\n"
  46972. " (variants\n"
  46973. " (list (ganeti-os-variant\n"
  46974. " (name \"foo\")\n"
  46975. " (configuration (plain-file \"bar\" \"this is fine\"))))))\n"
  46976. msgstr ""
  46977. #. type: Plain text
  46978. #: guix-git/doc/guix.texi:31684
  46979. 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}."
  46980. msgstr ""
  46981. #. type: Plain text
  46982. #: guix-git/doc/guix.texi:31687
  46983. 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}."
  46984. msgstr ""
  46985. #. type: Plain text
  46986. #: guix-git/doc/guix.texi:31690
  46987. msgid "The rest of this section documents the various services that are included by @code{ganeti-service-type}."
  46988. msgstr ""
  46989. #. type: defvr
  46990. #: guix-git/doc/guix.texi:31691
  46991. #, no-wrap
  46992. msgid "{Scheme Variable} ganeti-noded-service-type"
  46993. msgstr ""
  46994. #. type: defvr
  46995. #: guix-git/doc/guix.texi:31695
  46996. 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."
  46997. msgstr ""
  46998. #. type: deftp
  46999. #: guix-git/doc/guix.texi:31697
  47000. #, no-wrap
  47001. msgid "{Data Type} ganeti-noded-configuration"
  47002. msgstr ""
  47003. #. type: deftp
  47004. #: guix-git/doc/guix.texi:31699
  47005. msgid "This is the configuration for the @code{ganeti-noded} service."
  47006. msgstr ""
  47007. #. type: table
  47008. #: guix-git/doc/guix.texi:31703 guix-git/doc/guix.texi:31753
  47009. #: guix-git/doc/guix.texi:31783 guix-git/doc/guix.texi:31810
  47010. #: guix-git/doc/guix.texi:31842 guix-git/doc/guix.texi:31895
  47011. #: guix-git/doc/guix.texi:31915 guix-git/doc/guix.texi:31941
  47012. #: guix-git/doc/guix.texi:31974
  47013. msgid "The @code{ganeti} package to use for this service."
  47014. msgstr ""
  47015. #. type: item
  47016. #: guix-git/doc/guix.texi:31704
  47017. #, no-wrap
  47018. msgid "@code{port} (default: @code{1811})"
  47019. msgstr ""
  47020. #. type: table
  47021. #: guix-git/doc/guix.texi:31706
  47022. msgid "The TCP port on which the node daemon listens for network requests."
  47023. msgstr ""
  47024. #. type: item
  47025. #: guix-git/doc/guix.texi:31707 guix-git/doc/guix.texi:31757
  47026. #: guix-git/doc/guix.texi:31849 guix-git/doc/guix.texi:31919
  47027. #, no-wrap
  47028. msgid "@code{address} (default: @code{\"0.0.0.0\"})"
  47029. msgstr ""
  47030. #. type: table
  47031. #: guix-git/doc/guix.texi:31710
  47032. msgid "The network address that the daemon will bind to. The default address means bind to all available addresses."
  47033. msgstr ""
  47034. #. type: table
  47035. #: guix-git/doc/guix.texi:31714
  47036. msgid "When this is set, it must be a specific network interface (e.g.@: @code{eth0}) that the daemon will bind to."
  47037. msgstr ""
  47038. #. type: item
  47039. #: guix-git/doc/guix.texi:31715 guix-git/doc/guix.texi:31857
  47040. #, no-wrap
  47041. msgid "@code{max-clients} (default: @code{20})"
  47042. msgstr ""
  47043. #. type: table
  47044. #: guix-git/doc/guix.texi:31719
  47045. 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."
  47046. msgstr ""
  47047. #. type: item
  47048. #: guix-git/doc/guix.texi:31720 guix-git/doc/guix.texi:31862
  47049. #, no-wrap
  47050. msgid "@code{ssl?} (default: @code{#t})"
  47051. msgstr ""
  47052. #. type: table
  47053. #: guix-git/doc/guix.texi:31724
  47054. 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}."
  47055. msgstr ""
  47056. #. type: item
  47057. #: guix-git/doc/guix.texi:31725 guix-git/doc/guix.texi:31865
  47058. #, no-wrap
  47059. msgid "@code{ssl-key} (default: @file{\"/var/lib/ganeti/server.pem\"})"
  47060. msgstr ""
  47061. #. type: table
  47062. #: guix-git/doc/guix.texi:31727 guix-git/doc/guix.texi:31867
  47063. msgid "This can be used to provide a specific encryption key for TLS communications."
  47064. msgstr ""
  47065. #. type: item
  47066. #: guix-git/doc/guix.texi:31728 guix-git/doc/guix.texi:31868
  47067. #, no-wrap
  47068. msgid "@code{ssl-cert} (default: @file{\"/var/lib/ganeti/server.pem\"})"
  47069. msgstr ""
  47070. #. type: table
  47071. #: guix-git/doc/guix.texi:31730 guix-git/doc/guix.texi:31870
  47072. msgid "This can be used to provide a specific certificate for TLS communications."
  47073. msgstr ""
  47074. #. type: table
  47075. #: guix-git/doc/guix.texi:31734 guix-git/doc/guix.texi:31874
  47076. 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."
  47077. msgstr ""
  47078. #. type: defvr
  47079. #: guix-git/doc/guix.texi:31738
  47080. #, no-wrap
  47081. msgid "{Scheme Variable} ganeti-confd-service-type"
  47082. msgstr ""
  47083. #. type: defvr
  47084. #: guix-git/doc/guix.texi:31744
  47085. 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."
  47086. msgstr ""
  47087. #. type: deftp
  47088. #: guix-git/doc/guix.texi:31747
  47089. #, no-wrap
  47090. msgid "{Data Type} ganeti-confd-configuration"
  47091. msgstr ""
  47092. #. type: deftp
  47093. #: guix-git/doc/guix.texi:31749
  47094. msgid "This is the configuration for the @code{ganeti-confd} service."
  47095. msgstr ""
  47096. #. type: item
  47097. #: guix-git/doc/guix.texi:31754
  47098. #, no-wrap
  47099. msgid "@code{port} (default: @code{1814})"
  47100. msgstr ""
  47101. #. type: table
  47102. #: guix-git/doc/guix.texi:31756
  47103. msgid "The UDP port on which to listen for network requests."
  47104. msgstr ""
  47105. #. type: table
  47106. #: guix-git/doc/guix.texi:31759
  47107. msgid "Network address that the daemon will bind to."
  47108. msgstr ""
  47109. #. type: table
  47110. #: guix-git/doc/guix.texi:31762 guix-git/doc/guix.texi:31791
  47111. #: guix-git/doc/guix.texi:31818 guix-git/doc/guix.texi:31898
  47112. #: guix-git/doc/guix.texi:31925 guix-git/doc/guix.texi:31951
  47113. msgid "When true, the daemon performs additional logging for debugging purposes."
  47114. msgstr ""
  47115. #. type: defvr
  47116. #: guix-git/doc/guix.texi:31766
  47117. #, no-wrap
  47118. msgid "{Scheme Variable} ganeti-wconfd-service-type"
  47119. msgstr ""
  47120. #. type: defvr
  47121. #: guix-git/doc/guix.texi:31772
  47122. 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."
  47123. msgstr ""
  47124. #. type: defvr
  47125. #: guix-git/doc/guix.texi:31775
  47126. msgid "The value of this service must be a @code{ganeti-wconfd-configuration} object."
  47127. msgstr ""
  47128. #. type: deftp
  47129. #: guix-git/doc/guix.texi:31777
  47130. #, no-wrap
  47131. msgid "{Data Type} ganeti-wconfd-configuration"
  47132. msgstr ""
  47133. #. type: deftp
  47134. #: guix-git/doc/guix.texi:31779
  47135. msgid "This is the configuration for the @code{ganeti-wconfd} service."
  47136. msgstr ""
  47137. #. type: item
  47138. #: guix-git/doc/guix.texi:31784 guix-git/doc/guix.texi:31811
  47139. #, no-wrap
  47140. msgid "@code{no-voting?} (default: @code{#f})"
  47141. msgstr ""
  47142. #. type: table
  47143. #: guix-git/doc/guix.texi:31788
  47144. 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)."
  47145. msgstr ""
  47146. #. type: defvr
  47147. #: guix-git/doc/guix.texi:31795
  47148. #, no-wrap
  47149. msgid "{Scheme Variable} ganeti-luxid-service-type"
  47150. msgstr ""
  47151. #. type: defvr
  47152. #: guix-git/doc/guix.texi:31800
  47153. 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."
  47154. msgstr ""
  47155. #. type: defvr
  47156. #: guix-git/doc/guix.texi:31802
  47157. msgid "It takes a @code{ganeti-luxid-configuration} object."
  47158. msgstr ""
  47159. #. type: deftp
  47160. #: guix-git/doc/guix.texi:31804
  47161. #, no-wrap
  47162. msgid "{Data Type} ganeti-luxid-configuration"
  47163. msgstr ""
  47164. #. type: deftp
  47165. #: guix-git/doc/guix.texi:31806
  47166. msgid "This is the configuration for the @code{ganeti-luxid} service."
  47167. msgstr ""
  47168. #. type: table
  47169. #: guix-git/doc/guix.texi:31815
  47170. 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)."
  47171. msgstr ""
  47172. #. type: defvr
  47173. #: guix-git/doc/guix.texi:31822
  47174. #, no-wrap
  47175. msgid "{Scheme Variable} ganeti-rapi-service-type"
  47176. msgstr ""
  47177. #. type: defvr
  47178. #: guix-git/doc/guix.texi:31826
  47179. 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."
  47180. msgstr ""
  47181. #. type: defvr
  47182. #: guix-git/doc/guix.texi:31832
  47183. 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."
  47184. msgstr ""
  47185. #. type: defvr
  47186. #: guix-git/doc/guix.texi:31834
  47187. msgid "The value of this service must be a @code{ganeti-rapi-configuration} object."
  47188. msgstr ""
  47189. #. type: deftp
  47190. #: guix-git/doc/guix.texi:31836
  47191. #, no-wrap
  47192. msgid "{Data Type} ganeti-rapi-configuration"
  47193. msgstr ""
  47194. #. type: deftp
  47195. #: guix-git/doc/guix.texi:31838
  47196. msgid "This is the configuration for the @code{ganeti-rapi} service."
  47197. msgstr ""
  47198. #. type: item
  47199. #: guix-git/doc/guix.texi:31843
  47200. #, no-wrap
  47201. msgid "@code{require-authentication?} (default: @code{#f})"
  47202. msgstr ""
  47203. #. type: table
  47204. #: guix-git/doc/guix.texi:31845
  47205. msgid "Whether to require authentication even for read-only operations."
  47206. msgstr ""
  47207. #. type: item
  47208. #: guix-git/doc/guix.texi:31846
  47209. #, no-wrap
  47210. msgid "@code{port} (default: @code{5080})"
  47211. msgstr ""
  47212. #. type: table
  47213. #: guix-git/doc/guix.texi:31848
  47214. msgid "The TCP port on which to listen to API requests."
  47215. msgstr ""
  47216. #. type: table
  47217. #: guix-git/doc/guix.texi:31852
  47218. msgid "The network address that the service will bind to. By default it listens on all configured addresses."
  47219. msgstr ""
  47220. #. type: table
  47221. #: guix-git/doc/guix.texi:31856
  47222. msgid "When set, it must specify a specific network interface such as @code{eth0} that the daemon will bind to."
  47223. msgstr ""
  47224. #. type: table
  47225. #: guix-git/doc/guix.texi:31861
  47226. msgid "The maximum number of simultaneous client requests to handle. Further connections are allowed, but no responses are sent until enough connections have closed."
  47227. msgstr ""
  47228. #. type: table
  47229. #: guix-git/doc/guix.texi:31864
  47230. msgid "Whether to use SSL/TLS encryption on the RAPI port."
  47231. msgstr ""
  47232. #. type: defvr
  47233. #: guix-git/doc/guix.texi:31878
  47234. #, no-wrap
  47235. msgid "{Scheme Variable} ganeti-kvmd-service-type"
  47236. msgstr ""
  47237. #. type: defvr
  47238. #: guix-git/doc/guix.texi:31886
  47239. 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."
  47240. msgstr ""
  47241. #. type: defvr
  47242. #: guix-git/doc/guix.texi:31888
  47243. msgid "It takes a @code{ganeti-kvmd-configuration} object."
  47244. msgstr ""
  47245. #. type: deftp
  47246. #: guix-git/doc/guix.texi:31890
  47247. #, no-wrap
  47248. msgid "{Data Type} ganeti-kvmd-configuration"
  47249. msgstr ""
  47250. #. type: defvr
  47251. #: guix-git/doc/guix.texi:31902
  47252. #, no-wrap
  47253. msgid "{Scheme Variable} ganeti-mond-service-type"
  47254. msgstr ""
  47255. #. type: defvr
  47256. #: guix-git/doc/guix.texi:31906
  47257. 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."
  47258. msgstr ""
  47259. #. type: defvr
  47260. #: guix-git/doc/guix.texi:31908
  47261. msgid "It takes a @code{ganeti-mond-configuration} object."
  47262. msgstr ""
  47263. #. type: deftp
  47264. #: guix-git/doc/guix.texi:31910
  47265. #, no-wrap
  47266. msgid "{Data Type} ganeti-mond-configuration"
  47267. msgstr ""
  47268. #. type: item
  47269. #: guix-git/doc/guix.texi:31916
  47270. #, no-wrap
  47271. msgid "@code{port} (default: @code{1815})"
  47272. msgstr ""
  47273. #. type: table
  47274. #: guix-git/doc/guix.texi:31918 guix-git/doc/guix.texi:31944
  47275. msgid "The port on which the daemon will listen."
  47276. msgstr ""
  47277. #. type: table
  47278. #: guix-git/doc/guix.texi:31922
  47279. msgid "The network address that the daemon will bind to. By default it binds to all available interfaces."
  47280. msgstr ""
  47281. #. type: defvr
  47282. #: guix-git/doc/guix.texi:31929
  47283. #, no-wrap
  47284. msgid "{Scheme Variable} ganeti-metad-service-type"
  47285. msgstr ""
  47286. #. type: defvr
  47287. #: guix-git/doc/guix.texi:31932
  47288. msgid "@command{ganeti-metad} is an optional daemon that can be used to provide information about the cluster to instances or OS install scripts."
  47289. msgstr ""
  47290. #. type: defvr
  47291. #: guix-git/doc/guix.texi:31934
  47292. msgid "It takes a @code{ganeti-metad-configuration} object."
  47293. msgstr ""
  47294. #. type: deftp
  47295. #: guix-git/doc/guix.texi:31936
  47296. #, no-wrap
  47297. msgid "{Data Type} ganeti-metad-configuration"
  47298. msgstr ""
  47299. #. type: table
  47300. #: guix-git/doc/guix.texi:31948
  47301. msgid "If set, the daemon will bind to this address only. If left unset, the behavior depends on the cluster configuration."
  47302. msgstr ""
  47303. #. type: defvr
  47304. #: guix-git/doc/guix.texi:31955
  47305. #, no-wrap
  47306. msgid "{Scheme Variable} ganeti-watcher-service-type"
  47307. msgstr ""
  47308. #. type: defvr
  47309. #: guix-git/doc/guix.texi:31963
  47310. 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."
  47311. msgstr ""
  47312. #. type: defvr
  47313. #: guix-git/doc/guix.texi:31965
  47314. msgid "It can be paused on all nodes with @command{gnt-cluster watcher pause}."
  47315. msgstr ""
  47316. #. type: defvr
  47317. #: guix-git/doc/guix.texi:31967
  47318. msgid "The service takes a @code{ganeti-watcher-configuration} object."
  47319. msgstr ""
  47320. #. type: deftp
  47321. #: guix-git/doc/guix.texi:31969
  47322. #, no-wrap
  47323. msgid "{Data Type} ganeti-watcher-configuration"
  47324. msgstr ""
  47325. #. type: item
  47326. #: guix-git/doc/guix.texi:31975
  47327. #, no-wrap
  47328. msgid "@code{schedule} (default: @code{'(next-second-from (next-minute (range 0 60 5)))})"
  47329. msgstr ""
  47330. #. type: table
  47331. #: guix-git/doc/guix.texi:31977
  47332. msgid "How often to run the script. The default is every five minutes."
  47333. msgstr ""
  47334. #. type: item
  47335. #: guix-git/doc/guix.texi:31978
  47336. #, no-wrap
  47337. msgid "@code{rapi-ip} (default: @code{#f})"
  47338. msgstr ""
  47339. #. type: table
  47340. #: guix-git/doc/guix.texi:31981
  47341. 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."
  47342. msgstr ""
  47343. #. type: item
  47344. #: guix-git/doc/guix.texi:31982
  47345. #, no-wrap
  47346. msgid "@code{job-age} (default: @code{(* 6 3600)})"
  47347. msgstr ""
  47348. #. type: table
  47349. #: guix-git/doc/guix.texi:31985
  47350. msgid "Archive cluster jobs older than this age, specified in seconds. The default is 6 hours. This keeps @command{gnt-job list} manageable."
  47351. msgstr ""
  47352. #. type: item
  47353. #: guix-git/doc/guix.texi:31986
  47354. #, no-wrap
  47355. msgid "@code{verify-disks?} (default: @code{#t})"
  47356. msgstr ""
  47357. #. type: table
  47358. #: guix-git/doc/guix.texi:31990
  47359. 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."
  47360. msgstr ""
  47361. #. type: table
  47362. #: guix-git/doc/guix.texi:31993
  47363. msgid "When @code{#t}, the script performs additional logging for debugging purposes."
  47364. msgstr ""
  47365. #. type: defvr
  47366. #: guix-git/doc/guix.texi:31997
  47367. #, no-wrap
  47368. msgid "{Scheme Variable} ganeti-cleaner-service-type"
  47369. msgstr ""
  47370. #. type: defvr
  47371. #: guix-git/doc/guix.texi:32005
  47372. 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."
  47373. msgstr ""
  47374. #. type: defvr
  47375. #: guix-git/doc/guix.texi:32007
  47376. msgid "It takes a @code{ganeti-cleaner-configuration} object."
  47377. msgstr ""
  47378. #. type: deftp
  47379. #: guix-git/doc/guix.texi:32009
  47380. #, no-wrap
  47381. msgid "{Data Type} ganeti-cleaner-configuration"
  47382. msgstr ""
  47383. #. type: table
  47384. #: guix-git/doc/guix.texi:32014
  47385. msgid "The @code{ganeti} package to use for the @command{gnt-cleaner} command."
  47386. msgstr ""
  47387. #. type: item
  47388. #: guix-git/doc/guix.texi:32015
  47389. #, no-wrap
  47390. msgid "@code{master-schedule} (default: @code{\"45 1 * * *\"})"
  47391. msgstr ""
  47392. #. type: table
  47393. #: guix-git/doc/guix.texi:32018
  47394. msgid "How often to run the master cleaning job. The default is once per day, at 01:45:00."
  47395. msgstr ""
  47396. #. type: item
  47397. #: guix-git/doc/guix.texi:32019
  47398. #, no-wrap
  47399. msgid "@code{node-schedule} (default: @code{\"45 2 * * *\"})"
  47400. msgstr ""
  47401. #. type: table
  47402. #: guix-git/doc/guix.texi:32022
  47403. msgid "How often to run the node cleaning job. The default is once per day, at 02:45:00."
  47404. msgstr ""
  47405. #. type: Plain text
  47406. #: guix-git/doc/guix.texi:32036
  47407. 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}."
  47408. msgstr ""
  47409. #. type: deffn
  47410. #: guix-git/doc/guix.texi:32037
  47411. #, no-wrap
  47412. msgid "{Scheme Procedure} git-daemon-service [#:config (git-daemon-configuration)]"
  47413. msgstr ""
  47414. #. type: deffn
  47415. #: guix-git/doc/guix.texi:32041
  47416. msgid "Return a service that runs @command{git daemon}, a simple TCP server to expose repositories over the Git protocol for anonymous access."
  47417. msgstr ""
  47418. #. type: deffn
  47419. #: guix-git/doc/guix.texi:32047
  47420. 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}."
  47421. msgstr ""
  47422. #. type: deftp
  47423. #: guix-git/doc/guix.texi:32050
  47424. #, no-wrap
  47425. msgid "{Data Type} git-daemon-configuration"
  47426. msgstr ""
  47427. #. type: deftp
  47428. #: guix-git/doc/guix.texi:32052
  47429. msgid "Data type representing the configuration for @code{git-daemon-service}."
  47430. msgstr ""
  47431. #. type: item
  47432. #: guix-git/doc/guix.texi:32054
  47433. #, no-wrap
  47434. msgid "@code{package} (default: @code{git})"
  47435. msgstr ""
  47436. #. type: table
  47437. #: guix-git/doc/guix.texi:32056 guix-git/doc/guix.texi:32116
  47438. msgid "Package object of the Git distributed version control system."
  47439. msgstr ""
  47440. #. type: item
  47441. #: guix-git/doc/guix.texi:32057 guix-git/doc/guix.texi:32120
  47442. #, no-wrap
  47443. msgid "@code{export-all?} (default: @code{#f})"
  47444. msgstr ""
  47445. #. type: table
  47446. #: guix-git/doc/guix.texi:32060
  47447. msgid "Whether to allow access for all Git repositories, even if they do not have the @file{git-daemon-export-ok} file."
  47448. msgstr ""
  47449. #. type: item
  47450. #: guix-git/doc/guix.texi:32061
  47451. #, no-wrap
  47452. msgid "@code{base-path} (default: @file{/srv/git})"
  47453. msgstr ""
  47454. #. type: table
  47455. #: guix-git/doc/guix.texi:32067
  47456. 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}."
  47457. msgstr ""
  47458. #. type: item
  47459. #: guix-git/doc/guix.texi:32068
  47460. #, no-wrap
  47461. msgid "@code{user-path} (default: @code{#f})"
  47462. msgstr ""
  47463. #. type: table
  47464. #: guix-git/doc/guix.texi:32076
  47465. 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}."
  47466. msgstr ""
  47467. #. type: item
  47468. #: guix-git/doc/guix.texi:32077
  47469. #, no-wrap
  47470. msgid "@code{listen} (default: @code{'()})"
  47471. msgstr ""
  47472. #. type: table
  47473. #: guix-git/doc/guix.texi:32080
  47474. msgid "Whether to listen on specific IP addresses or hostnames, defaults to all."
  47475. msgstr ""
  47476. #. type: item
  47477. #: guix-git/doc/guix.texi:32081
  47478. #, no-wrap
  47479. msgid "@code{port} (default: @code{#f})"
  47480. msgstr ""
  47481. #. type: table
  47482. #: guix-git/doc/guix.texi:32083
  47483. msgid "Whether to listen on an alternative port, which defaults to 9418."
  47484. msgstr ""
  47485. #. type: item
  47486. #: guix-git/doc/guix.texi:32084
  47487. #, no-wrap
  47488. msgid "@code{whitelist} (default: @code{'()})"
  47489. msgstr ""
  47490. #. type: table
  47491. #: guix-git/doc/guix.texi:32086
  47492. msgid "If not empty, only allow access to this list of directories."
  47493. msgstr ""
  47494. #. type: table
  47495. #: guix-git/doc/guix.texi:32090
  47496. msgid "Extra options will be passed to @command{git daemon}, please run @command{man git-daemon} for more information."
  47497. msgstr ""
  47498. #. type: Plain text
  47499. #: guix-git/doc/guix.texi:32104
  47500. 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."
  47501. msgstr ""
  47502. #. type: Plain text
  47503. #: guix-git/doc/guix.texi:32107
  47504. msgid "Guix has a separate configuration data type for serving Git repositories over HTTP."
  47505. msgstr ""
  47506. #. type: deftp
  47507. #: guix-git/doc/guix.texi:32108
  47508. #, no-wrap
  47509. msgid "{Data Type} git-http-configuration"
  47510. msgstr ""
  47511. #. type: deftp
  47512. #: guix-git/doc/guix.texi:32112
  47513. 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}."
  47514. msgstr ""
  47515. #. type: item
  47516. #: guix-git/doc/guix.texi:32114
  47517. #, no-wrap
  47518. msgid "@code{package} (default: @var{git})"
  47519. msgstr ""
  47520. #. type: item
  47521. #: guix-git/doc/guix.texi:32117
  47522. #, no-wrap
  47523. msgid "@code{git-root} (default: @file{/srv/git})"
  47524. msgstr ""
  47525. #. type: table
  47526. #: guix-git/doc/guix.texi:32119
  47527. msgid "Directory containing the Git repositories to expose to the world."
  47528. msgstr ""
  47529. #. type: table
  47530. #: guix-git/doc/guix.texi:32123
  47531. 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."
  47532. msgstr ""
  47533. #. type: item
  47534. #: guix-git/doc/guix.texi:32124
  47535. #, no-wrap
  47536. msgid "@code{uri-path} (default: @samp{/git/})"
  47537. msgstr ""
  47538. #. type: table
  47539. #: guix-git/doc/guix.texi:32129
  47540. 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."
  47541. msgstr ""
  47542. #. type: item
  47543. #: guix-git/doc/guix.texi:32130
  47544. #, no-wrap
  47545. msgid "@code{fcgiwrap-socket} (default: @code{127.0.0.1:9000})"
  47546. msgstr ""
  47547. #. type: table
  47548. #: guix-git/doc/guix.texi:32133
  47549. msgid "The socket on which the @code{fcgiwrap} daemon is listening. @xref{Web Services}."
  47550. msgstr ""
  47551. #. type: Plain text
  47552. #: guix-git/doc/guix.texi:32140
  47553. 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."
  47554. msgstr ""
  47555. #. type: deffn
  47556. #: guix-git/doc/guix.texi:32141
  47557. #, no-wrap
  47558. msgid "{Scheme Procedure} git-http-nginx-location-configuration @"
  47559. msgstr ""
  47560. #. type: deffn
  47561. #: guix-git/doc/guix.texi:32146
  47562. 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:"
  47563. msgstr ""
  47564. #. type: lisp
  47565. #: guix-git/doc/guix.texi:32163
  47566. #, no-wrap
  47567. msgid ""
  47568. "(service nginx-service-type\n"
  47569. " (nginx-configuration\n"
  47570. " (server-blocks\n"
  47571. " (list\n"
  47572. " (nginx-server-configuration\n"
  47573. " (listen '(\"443 ssl\"))\n"
  47574. " (server-name \"git.my-host.org\")\n"
  47575. " (ssl-certificate\n"
  47576. " \"/etc/letsencrypt/live/git.my-host.org/fullchain.pem\")\n"
  47577. " (ssl-certificate-key\n"
  47578. " \"/etc/letsencrypt/live/git.my-host.org/privkey.pem\")\n"
  47579. " (locations\n"
  47580. " (list\n"
  47581. " (git-http-nginx-location-configuration\n"
  47582. " (git-http-configuration (uri-path \"/\"))))))))))\n"
  47583. msgstr ""
  47584. #. type: deffn
  47585. #: guix-git/doc/guix.texi:32170
  47586. 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}."
  47587. msgstr ""
  47588. #. type: subsubheading
  47589. #: guix-git/doc/guix.texi:32172
  47590. #, no-wrap
  47591. msgid "Cgit Service"
  47592. msgstr "Cgit palvelu"
  47593. #. type: cindex
  47594. #: guix-git/doc/guix.texi:32174
  47595. #, no-wrap
  47596. msgid "Cgit service"
  47597. msgstr "Cgit palvelu"
  47598. #. type: cindex
  47599. #: guix-git/doc/guix.texi:32175
  47600. #, no-wrap
  47601. msgid "Git, web interface"
  47602. msgstr ""
  47603. #. type: Plain text
  47604. #: guix-git/doc/guix.texi:32178
  47605. msgid "@uref{https://git.zx2c4.com/cgit/, Cgit} is a web frontend for Git repositories written in C."
  47606. msgstr ""
  47607. #. type: Plain text
  47608. #: guix-git/doc/guix.texi:32181
  47609. msgid "The following example will configure the service with default values. By default, Cgit can be accessed on port 80 (@code{http://localhost:80})."
  47610. msgstr ""
  47611. #. type: lisp
  47612. #: guix-git/doc/guix.texi:32184
  47613. #, no-wrap
  47614. msgid "(service cgit-service-type)\n"
  47615. msgstr ""
  47616. #. type: Plain text
  47617. #: guix-git/doc/guix.texi:32188
  47618. msgid "The @code{file-object} type designates either a file-like object (@pxref{G-Expressions, file-like objects}) or a string."
  47619. msgstr ""
  47620. #. type: Plain text
  47621. #: guix-git/doc/guix.texi:32192
  47622. msgid "Available @code{cgit-configuration} fields are:"
  47623. msgstr ""
  47624. #. type: deftypevr
  47625. #: guix-git/doc/guix.texi:32193
  47626. #, no-wrap
  47627. msgid "{@code{cgit-configuration} parameter} package package"
  47628. msgstr ""
  47629. #. type: deftypevr
  47630. #: guix-git/doc/guix.texi:32195
  47631. msgid "The CGIT package."
  47632. msgstr ""
  47633. #. type: deftypevr
  47634. #: guix-git/doc/guix.texi:32198
  47635. #, no-wrap
  47636. msgid "{@code{cgit-configuration} parameter} nginx-server-configuration-list nginx"
  47637. msgstr ""
  47638. #. type: deftypevr
  47639. #: guix-git/doc/guix.texi:32200
  47640. msgid "NGINX configuration."
  47641. msgstr ""
  47642. #. type: deftypevr
  47643. #: guix-git/doc/guix.texi:32203
  47644. #, no-wrap
  47645. msgid "{@code{cgit-configuration} parameter} file-object about-filter"
  47646. msgstr ""
  47647. #. type: deftypevr
  47648. #: guix-git/doc/guix.texi:32206
  47649. msgid "Specifies a command which will be invoked to format the content of about pages (both top-level and for each repository)."
  47650. msgstr ""
  47651. #. type: deftypevr
  47652. #: guix-git/doc/guix.texi:32211
  47653. #, no-wrap
  47654. msgid "{@code{cgit-configuration} parameter} string agefile"
  47655. msgstr ""
  47656. #. type: deftypevr
  47657. #: guix-git/doc/guix.texi:32214
  47658. 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."
  47659. msgstr ""
  47660. #. type: deftypevr
  47661. #: guix-git/doc/guix.texi:32219
  47662. #, no-wrap
  47663. msgid "{@code{cgit-configuration} parameter} file-object auth-filter"
  47664. msgstr ""
  47665. #. type: deftypevr
  47666. #: guix-git/doc/guix.texi:32222
  47667. msgid "Specifies a command that will be invoked for authenticating repository access."
  47668. msgstr ""
  47669. #. type: deftypevr
  47670. #: guix-git/doc/guix.texi:32227
  47671. #, no-wrap
  47672. msgid "{@code{cgit-configuration} parameter} string branch-sort"
  47673. msgstr ""
  47674. #. type: deftypevr
  47675. #: guix-git/doc/guix.texi:32230
  47676. 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."
  47677. msgstr ""
  47678. #. type: deftypevr
  47679. #: guix-git/doc/guix.texi:32232
  47680. msgid "Defaults to @samp{\"name\"}."
  47681. msgstr ""
  47682. #. type: deftypevr
  47683. #: guix-git/doc/guix.texi:32235
  47684. #, no-wrap
  47685. msgid "{@code{cgit-configuration} parameter} string cache-root"
  47686. msgstr ""
  47687. #. type: deftypevr
  47688. #: guix-git/doc/guix.texi:32237
  47689. msgid "Path used to store the cgit cache entries."
  47690. msgstr ""
  47691. #. type: deftypevr
  47692. #: guix-git/doc/guix.texi:32239
  47693. msgid "Defaults to @samp{\"/var/cache/cgit\"}."
  47694. msgstr ""
  47695. #. type: deftypevr
  47696. #: guix-git/doc/guix.texi:32242
  47697. #, no-wrap
  47698. msgid "{@code{cgit-configuration} parameter} integer cache-static-ttl"
  47699. msgstr ""
  47700. #. type: deftypevr
  47701. #: guix-git/doc/guix.texi:32245
  47702. msgid "Number which specifies the time-to-live, in minutes, for the cached version of repository pages accessed with a fixed SHA1."
  47703. msgstr ""
  47704. #. type: deftypevr
  47705. #: guix-git/doc/guix.texi:32247 guix-git/doc/guix.texi:32690
  47706. msgid "Defaults to @samp{-1}."
  47707. msgstr ""
  47708. #. type: deftypevr
  47709. #: guix-git/doc/guix.texi:32250
  47710. #, no-wrap
  47711. msgid "{@code{cgit-configuration} parameter} integer cache-dynamic-ttl"
  47712. msgstr ""
  47713. #. type: deftypevr
  47714. #: guix-git/doc/guix.texi:32253
  47715. msgid "Number which specifies the time-to-live, in minutes, for the cached version of repository pages accessed without a fixed SHA1."
  47716. msgstr ""
  47717. #. type: deftypevr
  47718. #: guix-git/doc/guix.texi:32258
  47719. #, no-wrap
  47720. msgid "{@code{cgit-configuration} parameter} integer cache-repo-ttl"
  47721. msgstr ""
  47722. #. type: deftypevr
  47723. #: guix-git/doc/guix.texi:32261
  47724. msgid "Number which specifies the time-to-live, in minutes, for the cached version of the repository summary page."
  47725. msgstr ""
  47726. #. type: deftypevr
  47727. #: guix-git/doc/guix.texi:32266
  47728. #, no-wrap
  47729. msgid "{@code{cgit-configuration} parameter} integer cache-root-ttl"
  47730. msgstr ""
  47731. #. type: deftypevr
  47732. #: guix-git/doc/guix.texi:32269
  47733. msgid "Number which specifies the time-to-live, in minutes, for the cached version of the repository index page."
  47734. msgstr ""
  47735. #. type: deftypevr
  47736. #: guix-git/doc/guix.texi:32274
  47737. #, no-wrap
  47738. msgid "{@code{cgit-configuration} parameter} integer cache-scanrc-ttl"
  47739. msgstr ""
  47740. #. type: deftypevr
  47741. #: guix-git/doc/guix.texi:32277
  47742. msgid "Number which specifies the time-to-live, in minutes, for the result of scanning a path for Git repositories."
  47743. msgstr ""
  47744. #. type: deftypevr
  47745. #: guix-git/doc/guix.texi:32282
  47746. #, no-wrap
  47747. msgid "{@code{cgit-configuration} parameter} integer cache-about-ttl"
  47748. msgstr ""
  47749. #. type: deftypevr
  47750. #: guix-git/doc/guix.texi:32285
  47751. msgid "Number which specifies the time-to-live, in minutes, for the cached version of the repository about page."
  47752. msgstr ""
  47753. #. type: deftypevr
  47754. #: guix-git/doc/guix.texi:32290
  47755. #, no-wrap
  47756. msgid "{@code{cgit-configuration} parameter} integer cache-snapshot-ttl"
  47757. msgstr ""
  47758. #. type: deftypevr
  47759. #: guix-git/doc/guix.texi:32293
  47760. msgid "Number which specifies the time-to-live, in minutes, for the cached version of snapshots."
  47761. msgstr ""
  47762. #. type: deftypevr
  47763. #: guix-git/doc/guix.texi:32298
  47764. #, no-wrap
  47765. msgid "{@code{cgit-configuration} parameter} integer cache-size"
  47766. msgstr ""
  47767. #. type: deftypevr
  47768. #: guix-git/doc/guix.texi:32301
  47769. msgid "The maximum number of entries in the cgit cache. When set to @samp{0}, caching is disabled."
  47770. msgstr ""
  47771. #. type: deftypevr
  47772. #: guix-git/doc/guix.texi:32306
  47773. #, no-wrap
  47774. msgid "{@code{cgit-configuration} parameter} boolean case-sensitive-sort?"
  47775. msgstr ""
  47776. #. type: deftypevr
  47777. #: guix-git/doc/guix.texi:32308
  47778. msgid "Sort items in the repo list case sensitively."
  47779. msgstr ""
  47780. #. type: deftypevr
  47781. #: guix-git/doc/guix.texi:32313
  47782. #, no-wrap
  47783. msgid "{@code{cgit-configuration} parameter} list clone-prefix"
  47784. msgstr ""
  47785. #. type: deftypevr
  47786. #: guix-git/doc/guix.texi:32316
  47787. msgid "List of common prefixes which, when combined with a repository URL, generates valid clone URLs for the repository."
  47788. msgstr ""
  47789. #. type: deftypevr
  47790. #: guix-git/doc/guix.texi:32321
  47791. #, no-wrap
  47792. msgid "{@code{cgit-configuration} parameter} list clone-url"
  47793. msgstr ""
  47794. #. type: deftypevr
  47795. #: guix-git/doc/guix.texi:32323
  47796. msgid "List of @code{clone-url} templates."
  47797. msgstr ""
  47798. #. type: deftypevr
  47799. #: guix-git/doc/guix.texi:32328
  47800. #, no-wrap
  47801. msgid "{@code{cgit-configuration} parameter} file-object commit-filter"
  47802. msgstr ""
  47803. #. type: deftypevr
  47804. #: guix-git/doc/guix.texi:32330
  47805. msgid "Command which will be invoked to format commit messages."
  47806. msgstr ""
  47807. #. type: deftypevr
  47808. #: guix-git/doc/guix.texi:32335
  47809. #, no-wrap
  47810. msgid "{@code{cgit-configuration} parameter} string commit-sort"
  47811. msgstr ""
  47812. #. type: deftypevr
  47813. #: guix-git/doc/guix.texi:32339 guix-git/doc/guix.texi:32897
  47814. 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."
  47815. msgstr ""
  47816. #. type: deftypevr
  47817. #: guix-git/doc/guix.texi:32341
  47818. msgid "Defaults to @samp{\"git log\"}."
  47819. msgstr ""
  47820. #. type: deftypevr
  47821. #: guix-git/doc/guix.texi:32344
  47822. #, no-wrap
  47823. msgid "{@code{cgit-configuration} parameter} file-object css"
  47824. msgstr ""
  47825. #. type: deftypevr
  47826. #: guix-git/doc/guix.texi:32346
  47827. msgid "URL which specifies the css document to include in all cgit pages."
  47828. msgstr ""
  47829. #. type: deftypevr
  47830. #: guix-git/doc/guix.texi:32348
  47831. msgid "Defaults to @samp{\"/share/cgit/cgit.css\"}."
  47832. msgstr ""
  47833. #. type: deftypevr
  47834. #: guix-git/doc/guix.texi:32351
  47835. #, no-wrap
  47836. msgid "{@code{cgit-configuration} parameter} file-object email-filter"
  47837. msgstr ""
  47838. #. type: deftypevr
  47839. #: guix-git/doc/guix.texi:32355
  47840. 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."
  47841. msgstr ""
  47842. #. type: deftypevr
  47843. #: guix-git/doc/guix.texi:32360
  47844. #, no-wrap
  47845. msgid "{@code{cgit-configuration} parameter} boolean embedded?"
  47846. msgstr ""
  47847. #. type: deftypevr
  47848. #: guix-git/doc/guix.texi:32363
  47849. msgid "Flag which, when set to @samp{#t}, will make cgit generate a HTML fragment suitable for embedding in other HTML pages."
  47850. msgstr ""
  47851. #. type: deftypevr
  47852. #: guix-git/doc/guix.texi:32368
  47853. #, no-wrap
  47854. msgid "{@code{cgit-configuration} parameter} boolean enable-commit-graph?"
  47855. msgstr ""
  47856. #. type: deftypevr
  47857. #: guix-git/doc/guix.texi:32372
  47858. 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."
  47859. msgstr ""
  47860. #. type: deftypevr
  47861. #: guix-git/doc/guix.texi:32377
  47862. #, no-wrap
  47863. msgid "{@code{cgit-configuration} parameter} boolean enable-filter-overrides?"
  47864. msgstr ""
  47865. #. type: deftypevr
  47866. #: guix-git/doc/guix.texi:32380
  47867. msgid "Flag which, when set to @samp{#t}, allows all filter settings to be overridden in repository-specific cgitrc files."
  47868. msgstr ""
  47869. #. type: deftypevr
  47870. #: guix-git/doc/guix.texi:32385
  47871. #, no-wrap
  47872. msgid "{@code{cgit-configuration} parameter} boolean enable-follow-links?"
  47873. msgstr ""
  47874. #. type: deftypevr
  47875. #: guix-git/doc/guix.texi:32388
  47876. msgid "Flag which, when set to @samp{#t}, allows users to follow a file in the log view."
  47877. msgstr ""
  47878. #. type: deftypevr
  47879. #: guix-git/doc/guix.texi:32393
  47880. #, no-wrap
  47881. msgid "{@code{cgit-configuration} parameter} boolean enable-http-clone?"
  47882. msgstr ""
  47883. #. type: deftypevr
  47884. #: guix-git/doc/guix.texi:32396
  47885. msgid "If set to @samp{#t}, cgit will act as an dumb HTTP endpoint for Git clones."
  47886. msgstr ""
  47887. #. type: deftypevr
  47888. #: guix-git/doc/guix.texi:32401
  47889. #, no-wrap
  47890. msgid "{@code{cgit-configuration} parameter} boolean enable-index-links?"
  47891. msgstr ""
  47892. #. type: deftypevr
  47893. #: guix-git/doc/guix.texi:32404
  47894. msgid "Flag which, when set to @samp{#t}, will make cgit generate extra links \"summary\", \"commit\", \"tree\" for each repo in the repository index."
  47895. msgstr ""
  47896. #. type: deftypevr
  47897. #: guix-git/doc/guix.texi:32409
  47898. #, no-wrap
  47899. msgid "{@code{cgit-configuration} parameter} boolean enable-index-owner?"
  47900. msgstr ""
  47901. #. type: deftypevr
  47902. #: guix-git/doc/guix.texi:32412
  47903. msgid "Flag which, when set to @samp{#t}, will make cgit display the owner of each repo in the repository index."
  47904. msgstr ""
  47905. #. type: deftypevr
  47906. #: guix-git/doc/guix.texi:32417
  47907. #, no-wrap
  47908. msgid "{@code{cgit-configuration} parameter} boolean enable-log-filecount?"
  47909. msgstr ""
  47910. #. type: deftypevr
  47911. #: guix-git/doc/guix.texi:32420
  47912. 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."
  47913. msgstr ""
  47914. #. type: deftypevr
  47915. #: guix-git/doc/guix.texi:32425
  47916. #, no-wrap
  47917. msgid "{@code{cgit-configuration} parameter} boolean enable-log-linecount?"
  47918. msgstr ""
  47919. #. type: deftypevr
  47920. #: guix-git/doc/guix.texi:32428
  47921. 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."
  47922. msgstr ""
  47923. #. type: deftypevr
  47924. #: guix-git/doc/guix.texi:32433
  47925. #, no-wrap
  47926. msgid "{@code{cgit-configuration} parameter} boolean enable-remote-branches?"
  47927. msgstr ""
  47928. #. type: deftypevr
  47929. #: guix-git/doc/guix.texi:32436 guix-git/doc/guix.texi:32960
  47930. msgid "Flag which, when set to @code{#t}, will make cgit display remote branches in the summary and refs views."
  47931. msgstr ""
  47932. #. type: deftypevr
  47933. #: guix-git/doc/guix.texi:32441
  47934. #, no-wrap
  47935. msgid "{@code{cgit-configuration} parameter} boolean enable-subject-links?"
  47936. msgstr ""
  47937. #. type: deftypevr
  47938. #: guix-git/doc/guix.texi:32445
  47939. 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."
  47940. msgstr ""
  47941. #. type: deftypevr
  47942. #: guix-git/doc/guix.texi:32450
  47943. #, no-wrap
  47944. msgid "{@code{cgit-configuration} parameter} boolean enable-html-serving?"
  47945. msgstr ""
  47946. #. type: deftypevr
  47947. #: guix-git/doc/guix.texi:32454
  47948. 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."
  47949. msgstr ""
  47950. #. type: deftypevr
  47951. #: guix-git/doc/guix.texi:32459
  47952. #, no-wrap
  47953. msgid "{@code{cgit-configuration} parameter} boolean enable-tree-linenumbers?"
  47954. msgstr ""
  47955. #. type: deftypevr
  47956. #: guix-git/doc/guix.texi:32462
  47957. msgid "Flag which, when set to @samp{#t}, will make cgit generate linenumber links for plaintext blobs printed in the tree view."
  47958. msgstr ""
  47959. #. type: deftypevr
  47960. #: guix-git/doc/guix.texi:32467
  47961. #, no-wrap
  47962. msgid "{@code{cgit-configuration} parameter} boolean enable-git-config?"
  47963. msgstr ""
  47964. #. type: deftypevr
  47965. #: guix-git/doc/guix.texi:32470
  47966. msgid "Flag which, when set to @samp{#f}, will allow cgit to use Git config to set any repo specific settings."
  47967. msgstr ""
  47968. #. type: deftypevr
  47969. #: guix-git/doc/guix.texi:32475
  47970. #, no-wrap
  47971. msgid "{@code{cgit-configuration} parameter} file-object favicon"
  47972. msgstr ""
  47973. #. type: deftypevr
  47974. #: guix-git/doc/guix.texi:32477
  47975. msgid "URL used as link to a shortcut icon for cgit."
  47976. msgstr ""
  47977. #. type: deftypevr
  47978. #: guix-git/doc/guix.texi:32479
  47979. msgid "Defaults to @samp{\"/favicon.ico\"}."
  47980. msgstr ""
  47981. #. type: deftypevr
  47982. #: guix-git/doc/guix.texi:32482
  47983. #, no-wrap
  47984. msgid "{@code{cgit-configuration} parameter} string footer"
  47985. msgstr ""
  47986. #. type: deftypevr
  47987. #: guix-git/doc/guix.texi:32486
  47988. 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)."
  47989. msgstr ""
  47990. #. type: deftypevr
  47991. #: guix-git/doc/guix.texi:32491
  47992. #, no-wrap
  47993. msgid "{@code{cgit-configuration} parameter} string head-include"
  47994. msgstr ""
  47995. #. type: deftypevr
  47996. #: guix-git/doc/guix.texi:32494
  47997. msgid "The content of the file specified with this option will be included verbatim in the HTML HEAD section on all pages."
  47998. msgstr ""
  47999. #. type: deftypevr
  48000. #: guix-git/doc/guix.texi:32499
  48001. #, no-wrap
  48002. msgid "{@code{cgit-configuration} parameter} string header"
  48003. msgstr ""
  48004. #. type: deftypevr
  48005. #: guix-git/doc/guix.texi:32502
  48006. msgid "The content of the file specified with this option will be included verbatim at the top of all pages."
  48007. msgstr ""
  48008. #. type: deftypevr
  48009. #: guix-git/doc/guix.texi:32507
  48010. #, no-wrap
  48011. msgid "{@code{cgit-configuration} parameter} file-object include"
  48012. msgstr ""
  48013. #. type: deftypevr
  48014. #: guix-git/doc/guix.texi:32510
  48015. msgid "Name of a configfile to include before the rest of the current config- file is parsed."
  48016. msgstr ""
  48017. #. type: deftypevr
  48018. #: guix-git/doc/guix.texi:32515
  48019. #, no-wrap
  48020. msgid "{@code{cgit-configuration} parameter} string index-header"
  48021. msgstr ""
  48022. #. type: deftypevr
  48023. #: guix-git/doc/guix.texi:32518
  48024. msgid "The content of the file specified with this option will be included verbatim above the repository index."
  48025. msgstr ""
  48026. #. type: deftypevr
  48027. #: guix-git/doc/guix.texi:32523
  48028. #, no-wrap
  48029. msgid "{@code{cgit-configuration} parameter} string index-info"
  48030. msgstr ""
  48031. #. type: deftypevr
  48032. #: guix-git/doc/guix.texi:32526
  48033. msgid "The content of the file specified with this option will be included verbatim below the heading on the repository index page."
  48034. msgstr ""
  48035. #. type: deftypevr
  48036. #: guix-git/doc/guix.texi:32531
  48037. #, no-wrap
  48038. msgid "{@code{cgit-configuration} parameter} boolean local-time?"
  48039. msgstr ""
  48040. #. type: deftypevr
  48041. #: guix-git/doc/guix.texi:32534
  48042. msgid "Flag which, if set to @samp{#t}, makes cgit print commit and tag times in the servers timezone."
  48043. msgstr ""
  48044. #. type: deftypevr
  48045. #: guix-git/doc/guix.texi:32539
  48046. #, no-wrap
  48047. msgid "{@code{cgit-configuration} parameter} file-object logo"
  48048. msgstr ""
  48049. #. type: deftypevr
  48050. #: guix-git/doc/guix.texi:32542
  48051. msgid "URL which specifies the source of an image which will be used as a logo on all cgit pages."
  48052. msgstr ""
  48053. #. type: deftypevr
  48054. #: guix-git/doc/guix.texi:32544
  48055. msgid "Defaults to @samp{\"/share/cgit/cgit.png\"}."
  48056. msgstr ""
  48057. #. type: deftypevr
  48058. #: guix-git/doc/guix.texi:32547
  48059. #, no-wrap
  48060. msgid "{@code{cgit-configuration} parameter} string logo-link"
  48061. msgstr ""
  48062. #. type: deftypevr
  48063. #: guix-git/doc/guix.texi:32549 guix-git/doc/guix.texi:33006
  48064. msgid "URL loaded when clicking on the cgit logo image."
  48065. msgstr ""
  48066. #. type: deftypevr
  48067. #: guix-git/doc/guix.texi:32554
  48068. #, no-wrap
  48069. msgid "{@code{cgit-configuration} parameter} file-object owner-filter"
  48070. msgstr ""
  48071. #. type: deftypevr
  48072. #: guix-git/doc/guix.texi:32557
  48073. msgid "Command which will be invoked to format the Owner column of the main page."
  48074. msgstr ""
  48075. #. type: deftypevr
  48076. #: guix-git/doc/guix.texi:32562
  48077. #, no-wrap
  48078. msgid "{@code{cgit-configuration} parameter} integer max-atom-items"
  48079. msgstr ""
  48080. #. type: deftypevr
  48081. #: guix-git/doc/guix.texi:32564
  48082. msgid "Number of items to display in atom feeds view."
  48083. msgstr ""
  48084. #. type: deftypevr
  48085. #: guix-git/doc/guix.texi:32569
  48086. #, no-wrap
  48087. msgid "{@code{cgit-configuration} parameter} integer max-commit-count"
  48088. msgstr ""
  48089. #. type: deftypevr
  48090. #: guix-git/doc/guix.texi:32571
  48091. msgid "Number of entries to list per page in \"log\" view."
  48092. msgstr ""
  48093. #. type: deftypevr
  48094. #: guix-git/doc/guix.texi:32576
  48095. #, no-wrap
  48096. msgid "{@code{cgit-configuration} parameter} integer max-message-length"
  48097. msgstr ""
  48098. #. type: deftypevr
  48099. #: guix-git/doc/guix.texi:32578
  48100. msgid "Number of commit message characters to display in \"log\" view."
  48101. msgstr ""
  48102. #. type: deftypevr
  48103. #: guix-git/doc/guix.texi:32580 guix-git/doc/guix.texi:32596
  48104. msgid "Defaults to @samp{80}."
  48105. msgstr ""
  48106. #. type: deftypevr
  48107. #: guix-git/doc/guix.texi:32583
  48108. #, no-wrap
  48109. msgid "{@code{cgit-configuration} parameter} integer max-repo-count"
  48110. msgstr ""
  48111. #. type: deftypevr
  48112. #: guix-git/doc/guix.texi:32586
  48113. msgid "Specifies the number of entries to list per page on the repository index page."
  48114. msgstr ""
  48115. #. type: deftypevr
  48116. #: guix-git/doc/guix.texi:32591
  48117. #, no-wrap
  48118. msgid "{@code{cgit-configuration} parameter} integer max-repodesc-length"
  48119. msgstr ""
  48120. #. type: deftypevr
  48121. #: guix-git/doc/guix.texi:32594
  48122. msgid "Specifies the maximum number of repo description characters to display on the repository index page."
  48123. msgstr ""
  48124. #. type: deftypevr
  48125. #: guix-git/doc/guix.texi:32599
  48126. #, no-wrap
  48127. msgid "{@code{cgit-configuration} parameter} integer max-blob-size"
  48128. msgstr ""
  48129. #. type: deftypevr
  48130. #: guix-git/doc/guix.texi:32601
  48131. msgid "Specifies the maximum size of a blob to display HTML for in KBytes."
  48132. msgstr ""
  48133. #. type: deftypevr
  48134. #: guix-git/doc/guix.texi:32606
  48135. #, no-wrap
  48136. msgid "{@code{cgit-configuration} parameter} string max-stats"
  48137. msgstr ""
  48138. #. type: deftypevr
  48139. #: guix-git/doc/guix.texi:32609
  48140. msgid "Maximum statistics period. Valid values are @samp{week},@samp{month}, @samp{quarter} and @samp{year}."
  48141. msgstr ""
  48142. #. type: deftypevr
  48143. #: guix-git/doc/guix.texi:32614
  48144. #, no-wrap
  48145. msgid "{@code{cgit-configuration} parameter} mimetype-alist mimetype"
  48146. msgstr ""
  48147. #. type: deftypevr
  48148. #: guix-git/doc/guix.texi:32616
  48149. msgid "Mimetype for the specified filename extension."
  48150. msgstr ""
  48151. #. type: deftypevr
  48152. #: guix-git/doc/guix.texi:32620
  48153. 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\"))}."
  48154. msgstr ""
  48155. #. type: deftypevr
  48156. #: guix-git/doc/guix.texi:32623
  48157. #, no-wrap
  48158. msgid "{@code{cgit-configuration} parameter} file-object mimetype-file"
  48159. msgstr ""
  48160. #. type: deftypevr
  48161. #: guix-git/doc/guix.texi:32625
  48162. msgid "Specifies the file to use for automatic mimetype lookup."
  48163. msgstr ""
  48164. #. type: deftypevr
  48165. #: guix-git/doc/guix.texi:32630
  48166. #, no-wrap
  48167. msgid "{@code{cgit-configuration} parameter} string module-link"
  48168. msgstr ""
  48169. #. type: deftypevr
  48170. #: guix-git/doc/guix.texi:32633
  48171. msgid "Text which will be used as the formatstring for a hyperlink when a submodule is printed in a directory listing."
  48172. msgstr ""
  48173. #. type: deftypevr
  48174. #: guix-git/doc/guix.texi:32638
  48175. #, no-wrap
  48176. msgid "{@code{cgit-configuration} parameter} boolean nocache?"
  48177. msgstr ""
  48178. #. type: deftypevr
  48179. #: guix-git/doc/guix.texi:32640
  48180. msgid "If set to the value @samp{#t} caching will be disabled."
  48181. msgstr ""
  48182. #. type: deftypevr
  48183. #: guix-git/doc/guix.texi:32645
  48184. #, no-wrap
  48185. msgid "{@code{cgit-configuration} parameter} boolean noplainemail?"
  48186. msgstr ""
  48187. #. type: deftypevr
  48188. #: guix-git/doc/guix.texi:32648
  48189. msgid "If set to @samp{#t} showing full author email addresses will be disabled."
  48190. msgstr ""
  48191. #. type: deftypevr
  48192. #: guix-git/doc/guix.texi:32653
  48193. #, no-wrap
  48194. msgid "{@code{cgit-configuration} parameter} boolean noheader?"
  48195. msgstr ""
  48196. #. type: deftypevr
  48197. #: guix-git/doc/guix.texi:32656
  48198. msgid "Flag which, when set to @samp{#t}, will make cgit omit the standard header on all pages."
  48199. msgstr ""
  48200. #. type: deftypevr
  48201. #: guix-git/doc/guix.texi:32661
  48202. #, no-wrap
  48203. msgid "{@code{cgit-configuration} parameter} project-list project-list"
  48204. msgstr ""
  48205. #. type: deftypevr
  48206. #: guix-git/doc/guix.texi:32665
  48207. 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."
  48208. msgstr ""
  48209. #. type: deftypevr
  48210. #: guix-git/doc/guix.texi:32670
  48211. #, no-wrap
  48212. msgid "{@code{cgit-configuration} parameter} file-object readme"
  48213. msgstr ""
  48214. #. type: deftypevr
  48215. #: guix-git/doc/guix.texi:32672
  48216. msgid "Text which will be used as default value for @code{cgit-repo-readme}."
  48217. msgstr ""
  48218. #. type: deftypevr
  48219. #: guix-git/doc/guix.texi:32677
  48220. #, no-wrap
  48221. msgid "{@code{cgit-configuration} parameter} boolean remove-suffix?"
  48222. msgstr ""
  48223. #. type: deftypevr
  48224. #: guix-git/doc/guix.texi:32681
  48225. 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."
  48226. msgstr ""
  48227. #. type: deftypevr
  48228. #: guix-git/doc/guix.texi:32686
  48229. #, no-wrap
  48230. msgid "{@code{cgit-configuration} parameter} integer renamelimit"
  48231. msgstr ""
  48232. #. type: deftypevr
  48233. #: guix-git/doc/guix.texi:32688
  48234. msgid "Maximum number of files to consider when detecting renames."
  48235. msgstr ""
  48236. #. type: deftypevr
  48237. #: guix-git/doc/guix.texi:32693
  48238. #, no-wrap
  48239. msgid "{@code{cgit-configuration} parameter} string repository-sort"
  48240. msgstr ""
  48241. #. type: deftypevr
  48242. #: guix-git/doc/guix.texi:32695
  48243. msgid "The way in which repositories in each section are sorted."
  48244. msgstr ""
  48245. #. type: deftypevr
  48246. #: guix-git/doc/guix.texi:32700
  48247. #, no-wrap
  48248. msgid "{@code{cgit-configuration} parameter} robots-list robots"
  48249. msgstr ""
  48250. #. type: deftypevr
  48251. #: guix-git/doc/guix.texi:32702
  48252. msgid "Text used as content for the @code{robots} meta-tag."
  48253. msgstr ""
  48254. #. type: deftypevr
  48255. #: guix-git/doc/guix.texi:32704
  48256. msgid "Defaults to @samp{(\"noindex\" \"nofollow\")}."
  48257. msgstr ""
  48258. #. type: deftypevr
  48259. #: guix-git/doc/guix.texi:32707
  48260. #, no-wrap
  48261. msgid "{@code{cgit-configuration} parameter} string root-desc"
  48262. msgstr ""
  48263. #. type: deftypevr
  48264. #: guix-git/doc/guix.texi:32709
  48265. msgid "Text printed below the heading on the repository index page."
  48266. msgstr ""
  48267. #. type: deftypevr
  48268. #: guix-git/doc/guix.texi:32711
  48269. msgid "Defaults to @samp{\"a fast webinterface for the git dscm\"}."
  48270. msgstr ""
  48271. #. type: deftypevr
  48272. #: guix-git/doc/guix.texi:32714
  48273. #, no-wrap
  48274. msgid "{@code{cgit-configuration} parameter} string root-readme"
  48275. msgstr ""
  48276. #. type: deftypevr
  48277. #: guix-git/doc/guix.texi:32717
  48278. msgid "The content of the file specified with this option will be included verbatim below the ``about'' link on the repository index page."
  48279. msgstr ""
  48280. #. type: deftypevr
  48281. #: guix-git/doc/guix.texi:32722
  48282. #, no-wrap
  48283. msgid "{@code{cgit-configuration} parameter} string root-title"
  48284. msgstr ""
  48285. #. type: deftypevr
  48286. #: guix-git/doc/guix.texi:32724
  48287. msgid "Text printed as heading on the repository index page."
  48288. msgstr ""
  48289. #. type: deftypevr
  48290. #: guix-git/doc/guix.texi:32729
  48291. #, no-wrap
  48292. msgid "{@code{cgit-configuration} parameter} boolean scan-hidden-path"
  48293. msgstr ""
  48294. #. type: deftypevr
  48295. #: guix-git/doc/guix.texi:32735
  48296. 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."
  48297. msgstr ""
  48298. #. type: deftypevr
  48299. #: guix-git/doc/guix.texi:32740
  48300. #, no-wrap
  48301. msgid "{@code{cgit-configuration} parameter} list snapshots"
  48302. msgstr ""
  48303. #. type: deftypevr
  48304. #: guix-git/doc/guix.texi:32743
  48305. msgid "Text which specifies the default set of snapshot formats that cgit generates links for."
  48306. msgstr ""
  48307. #. type: deftypevr
  48308. #: guix-git/doc/guix.texi:32748
  48309. #, no-wrap
  48310. msgid "{@code{cgit-configuration} parameter} repository-directory repository-directory"
  48311. msgstr ""
  48312. #. type: deftypevr
  48313. #: guix-git/doc/guix.texi:32751
  48314. msgid "Name of the directory to scan for repositories (represents @code{scan-path})."
  48315. msgstr ""
  48316. #. type: deftypevr
  48317. #: guix-git/doc/guix.texi:32753
  48318. msgid "Defaults to @samp{\"/srv/git\"}."
  48319. msgstr ""
  48320. #. type: deftypevr
  48321. #: guix-git/doc/guix.texi:32756
  48322. #, no-wrap
  48323. msgid "{@code{cgit-configuration} parameter} string section"
  48324. msgstr ""
  48325. #. type: deftypevr
  48326. #: guix-git/doc/guix.texi:32759 guix-git/doc/guix.texi:33075
  48327. msgid "The name of the current repository section - all repositories defined after this option will inherit the current section name."
  48328. msgstr ""
  48329. #. type: deftypevr
  48330. #: guix-git/doc/guix.texi:32764
  48331. #, no-wrap
  48332. msgid "{@code{cgit-configuration} parameter} string section-sort"
  48333. msgstr ""
  48334. #. type: deftypevr
  48335. #: guix-git/doc/guix.texi:32767
  48336. msgid "Flag which, when set to @samp{1}, will sort the sections on the repository listing by name."
  48337. msgstr ""
  48338. #. type: deftypevr
  48339. #: guix-git/doc/guix.texi:32772
  48340. #, no-wrap
  48341. msgid "{@code{cgit-configuration} parameter} integer section-from-path"
  48342. msgstr ""
  48343. #. type: deftypevr
  48344. #: guix-git/doc/guix.texi:32775
  48345. 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."
  48346. msgstr ""
  48347. #. type: deftypevr
  48348. #: guix-git/doc/guix.texi:32780
  48349. #, no-wrap
  48350. msgid "{@code{cgit-configuration} parameter} boolean side-by-side-diffs?"
  48351. msgstr ""
  48352. #. type: deftypevr
  48353. #: guix-git/doc/guix.texi:32783
  48354. msgid "If set to @samp{#t} shows side-by-side diffs instead of unidiffs per default."
  48355. msgstr ""
  48356. #. type: deftypevr
  48357. #: guix-git/doc/guix.texi:32788
  48358. #, no-wrap
  48359. msgid "{@code{cgit-configuration} parameter} file-object source-filter"
  48360. msgstr ""
  48361. #. type: deftypevr
  48362. #: guix-git/doc/guix.texi:32791
  48363. msgid "Specifies a command which will be invoked to format plaintext blobs in the tree view."
  48364. msgstr ""
  48365. #. type: deftypevr
  48366. #: guix-git/doc/guix.texi:32796
  48367. #, no-wrap
  48368. msgid "{@code{cgit-configuration} parameter} integer summary-branches"
  48369. msgstr ""
  48370. #. type: deftypevr
  48371. #: guix-git/doc/guix.texi:32799
  48372. msgid "Specifies the number of branches to display in the repository ``summary'' view."
  48373. msgstr ""
  48374. #. type: deftypevr
  48375. #: guix-git/doc/guix.texi:32804
  48376. #, no-wrap
  48377. msgid "{@code{cgit-configuration} parameter} integer summary-log"
  48378. msgstr ""
  48379. #. type: deftypevr
  48380. #: guix-git/doc/guix.texi:32807
  48381. msgid "Specifies the number of log entries to display in the repository ``summary'' view."
  48382. msgstr ""
  48383. #. type: deftypevr
  48384. #: guix-git/doc/guix.texi:32812
  48385. #, no-wrap
  48386. msgid "{@code{cgit-configuration} parameter} integer summary-tags"
  48387. msgstr ""
  48388. #. type: deftypevr
  48389. #: guix-git/doc/guix.texi:32815
  48390. msgid "Specifies the number of tags to display in the repository ``summary'' view."
  48391. msgstr ""
  48392. #. type: deftypevr
  48393. #: guix-git/doc/guix.texi:32820
  48394. #, no-wrap
  48395. msgid "{@code{cgit-configuration} parameter} string strict-export"
  48396. msgstr ""
  48397. #. type: deftypevr
  48398. #: guix-git/doc/guix.texi:32823
  48399. msgid "Filename which, if specified, needs to be present within the repository for cgit to allow access to that repository."
  48400. msgstr ""
  48401. #. type: deftypevr
  48402. #: guix-git/doc/guix.texi:32828
  48403. #, no-wrap
  48404. msgid "{@code{cgit-configuration} parameter} string virtual-root"
  48405. msgstr ""
  48406. #. type: deftypevr
  48407. #: guix-git/doc/guix.texi:32830
  48408. msgid "URL which, if specified, will be used as root for all cgit links."
  48409. msgstr ""
  48410. #. type: deftypevr
  48411. #: guix-git/doc/guix.texi:32832
  48412. msgid "Defaults to @samp{\"/\"}."
  48413. msgstr ""
  48414. #. type: deftypevr
  48415. #: guix-git/doc/guix.texi:32835
  48416. #, no-wrap
  48417. msgid "{@code{cgit-configuration} parameter} repository-cgit-configuration-list repositories"
  48418. msgstr ""
  48419. #. type: deftypevr
  48420. #: guix-git/doc/guix.texi:32837
  48421. msgid "A list of @dfn{cgit-repo} records to use with config."
  48422. msgstr ""
  48423. #. type: deftypevr
  48424. #: guix-git/doc/guix.texi:32841
  48425. msgid "Available @code{repository-cgit-configuration} fields are:"
  48426. msgstr ""
  48427. #. type: deftypevr
  48428. #: guix-git/doc/guix.texi:32842
  48429. #, no-wrap
  48430. msgid "{@code{repository-cgit-configuration} parameter} repo-list snapshots"
  48431. msgstr ""
  48432. #. type: deftypevr
  48433. #: guix-git/doc/guix.texi:32845
  48434. msgid "A mask of snapshot formats for this repo that cgit generates links for, restricted by the global @code{snapshots} setting."
  48435. msgstr ""
  48436. #. type: deftypevr
  48437. #: guix-git/doc/guix.texi:32850
  48438. #, no-wrap
  48439. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object source-filter"
  48440. msgstr ""
  48441. #. type: deftypevr
  48442. #: guix-git/doc/guix.texi:32852
  48443. msgid "Override the default @code{source-filter}."
  48444. msgstr ""
  48445. #. type: deftypevr
  48446. #: guix-git/doc/guix.texi:32857
  48447. #, no-wrap
  48448. msgid "{@code{repository-cgit-configuration} parameter} repo-string url"
  48449. msgstr ""
  48450. #. type: deftypevr
  48451. #: guix-git/doc/guix.texi:32859
  48452. msgid "The relative URL used to access the repository."
  48453. msgstr ""
  48454. #. type: deftypevr
  48455. #: guix-git/doc/guix.texi:32864
  48456. #, no-wrap
  48457. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object about-filter"
  48458. msgstr ""
  48459. #. type: deftypevr
  48460. #: guix-git/doc/guix.texi:32866
  48461. msgid "Override the default @code{about-filter}."
  48462. msgstr ""
  48463. #. type: deftypevr
  48464. #: guix-git/doc/guix.texi:32871
  48465. #, no-wrap
  48466. msgid "{@code{repository-cgit-configuration} parameter} repo-string branch-sort"
  48467. msgstr ""
  48468. #. type: deftypevr
  48469. #: guix-git/doc/guix.texi:32874
  48470. 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."
  48471. msgstr ""
  48472. #. type: deftypevr
  48473. #: guix-git/doc/guix.texi:32879
  48474. #, no-wrap
  48475. msgid "{@code{repository-cgit-configuration} parameter} repo-list clone-url"
  48476. msgstr ""
  48477. #. type: deftypevr
  48478. #: guix-git/doc/guix.texi:32881
  48479. msgid "A list of URLs which can be used to clone repo."
  48480. msgstr ""
  48481. #. type: deftypevr
  48482. #: guix-git/doc/guix.texi:32886
  48483. #, no-wrap
  48484. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object commit-filter"
  48485. msgstr ""
  48486. #. type: deftypevr
  48487. #: guix-git/doc/guix.texi:32888
  48488. msgid "Override the default @code{commit-filter}."
  48489. msgstr ""
  48490. #. type: deftypevr
  48491. #: guix-git/doc/guix.texi:32893
  48492. #, no-wrap
  48493. msgid "{@code{repository-cgit-configuration} parameter} repo-string commit-sort"
  48494. msgstr ""
  48495. #. type: deftypevr
  48496. #: guix-git/doc/guix.texi:32902
  48497. #, no-wrap
  48498. msgid "{@code{repository-cgit-configuration} parameter} repo-string defbranch"
  48499. msgstr ""
  48500. #. type: deftypevr
  48501. #: guix-git/doc/guix.texi:32907
  48502. 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."
  48503. msgstr ""
  48504. #. type: deftypevr
  48505. #: guix-git/doc/guix.texi:32912
  48506. #, no-wrap
  48507. msgid "{@code{repository-cgit-configuration} parameter} repo-string desc"
  48508. msgstr ""
  48509. #. type: deftypevr
  48510. #: guix-git/doc/guix.texi:32914
  48511. msgid "The value to show as repository description."
  48512. msgstr ""
  48513. #. type: deftypevr
  48514. #: guix-git/doc/guix.texi:32919
  48515. #, no-wrap
  48516. msgid "{@code{repository-cgit-configuration} parameter} repo-string homepage"
  48517. msgstr ""
  48518. #. type: deftypevr
  48519. #: guix-git/doc/guix.texi:32921
  48520. msgid "The value to show as repository homepage."
  48521. msgstr ""
  48522. #. type: deftypevr
  48523. #: guix-git/doc/guix.texi:32926
  48524. #, no-wrap
  48525. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object email-filter"
  48526. msgstr ""
  48527. #. type: deftypevr
  48528. #: guix-git/doc/guix.texi:32928
  48529. msgid "Override the default @code{email-filter}."
  48530. msgstr ""
  48531. #. type: deftypevr
  48532. #: guix-git/doc/guix.texi:32933
  48533. #, no-wrap
  48534. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-commit-graph?"
  48535. msgstr ""
  48536. #. type: deftypevr
  48537. #: guix-git/doc/guix.texi:32936
  48538. msgid "A flag which can be used to disable the global setting @code{enable-commit-graph?}."
  48539. msgstr ""
  48540. #. type: deftypevr
  48541. #: guix-git/doc/guix.texi:32941
  48542. #, no-wrap
  48543. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-log-filecount?"
  48544. msgstr ""
  48545. #. type: deftypevr
  48546. #: guix-git/doc/guix.texi:32944
  48547. msgid "A flag which can be used to disable the global setting @code{enable-log-filecount?}."
  48548. msgstr ""
  48549. #. type: deftypevr
  48550. #: guix-git/doc/guix.texi:32949
  48551. #, no-wrap
  48552. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-log-linecount?"
  48553. msgstr ""
  48554. #. type: deftypevr
  48555. #: guix-git/doc/guix.texi:32952
  48556. msgid "A flag which can be used to disable the global setting @code{enable-log-linecount?}."
  48557. msgstr ""
  48558. #. type: deftypevr
  48559. #: guix-git/doc/guix.texi:32957
  48560. #, no-wrap
  48561. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-remote-branches?"
  48562. msgstr ""
  48563. #. type: deftypevr
  48564. #: guix-git/doc/guix.texi:32965
  48565. #, no-wrap
  48566. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-subject-links?"
  48567. msgstr ""
  48568. #. type: deftypevr
  48569. #: guix-git/doc/guix.texi:32968
  48570. msgid "A flag which can be used to override the global setting @code{enable-subject-links?}."
  48571. msgstr ""
  48572. #. type: deftypevr
  48573. #: guix-git/doc/guix.texi:32973
  48574. #, no-wrap
  48575. msgid "{@code{repository-cgit-configuration} parameter} maybe-repo-boolean enable-html-serving?"
  48576. msgstr ""
  48577. #. type: deftypevr
  48578. #: guix-git/doc/guix.texi:32976
  48579. msgid "A flag which can be used to override the global setting @code{enable-html-serving?}."
  48580. msgstr ""
  48581. #. type: deftypevr
  48582. #: guix-git/doc/guix.texi:32981
  48583. #, no-wrap
  48584. msgid "{@code{repository-cgit-configuration} parameter} repo-boolean hide?"
  48585. msgstr ""
  48586. #. type: deftypevr
  48587. #: guix-git/doc/guix.texi:32984
  48588. msgid "Flag which, when set to @code{#t}, hides the repository from the repository index."
  48589. msgstr ""
  48590. #. type: deftypevr
  48591. #: guix-git/doc/guix.texi:32989
  48592. #, no-wrap
  48593. msgid "{@code{repository-cgit-configuration} parameter} repo-boolean ignore?"
  48594. msgstr ""
  48595. #. type: deftypevr
  48596. #: guix-git/doc/guix.texi:32991
  48597. msgid "Flag which, when set to @samp{#t}, ignores the repository."
  48598. msgstr ""
  48599. #. type: deftypevr
  48600. #: guix-git/doc/guix.texi:32996
  48601. #, no-wrap
  48602. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object logo"
  48603. msgstr ""
  48604. #. type: deftypevr
  48605. #: guix-git/doc/guix.texi:32999
  48606. msgid "URL which specifies the source of an image which will be used as a logo on this repo’s pages."
  48607. msgstr ""
  48608. #. type: deftypevr
  48609. #: guix-git/doc/guix.texi:33004
  48610. #, no-wrap
  48611. msgid "{@code{repository-cgit-configuration} parameter} repo-string logo-link"
  48612. msgstr ""
  48613. #. type: deftypevr
  48614. #: guix-git/doc/guix.texi:33011
  48615. #, no-wrap
  48616. msgid "{@code{repository-cgit-configuration} parameter} repo-file-object owner-filter"
  48617. msgstr ""
  48618. #. type: deftypevr
  48619. #: guix-git/doc/guix.texi:33013
  48620. msgid "Override the default @code{owner-filter}."
  48621. msgstr ""
  48622. #. type: deftypevr
  48623. #: guix-git/doc/guix.texi:33018
  48624. #, no-wrap
  48625. msgid "{@code{repository-cgit-configuration} parameter} repo-string module-link"
  48626. msgstr ""
  48627. #. type: deftypevr
  48628. #: guix-git/doc/guix.texi:33022
  48629. 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."
  48630. msgstr ""
  48631. #. type: deftypevr
  48632. #: guix-git/doc/guix.texi:33027
  48633. #, no-wrap
  48634. msgid "{@code{repository-cgit-configuration} parameter} module-link-path module-link-path"
  48635. msgstr ""
  48636. #. type: deftypevr
  48637. #: guix-git/doc/guix.texi:33031
  48638. 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."
  48639. msgstr ""
  48640. #. type: deftypevr
  48641. #: guix-git/doc/guix.texi:33036
  48642. #, no-wrap
  48643. msgid "{@code{repository-cgit-configuration} parameter} repo-string max-stats"
  48644. msgstr ""
  48645. #. type: deftypevr
  48646. #: guix-git/doc/guix.texi:33038
  48647. msgid "Override the default maximum statistics period."
  48648. msgstr ""
  48649. #. type: deftypevr
  48650. #: guix-git/doc/guix.texi:33043
  48651. #, no-wrap
  48652. msgid "{@code{repository-cgit-configuration} parameter} repo-string name"
  48653. msgstr ""
  48654. #. type: deftypevr
  48655. #: guix-git/doc/guix.texi:33045
  48656. msgid "The value to show as repository name."
  48657. msgstr ""
  48658. #. type: deftypevr
  48659. #: guix-git/doc/guix.texi:33050
  48660. #, no-wrap
  48661. msgid "{@code{repository-cgit-configuration} parameter} repo-string owner"
  48662. msgstr ""
  48663. #. type: deftypevr
  48664. #: guix-git/doc/guix.texi:33052
  48665. msgid "A value used to identify the owner of the repository."
  48666. msgstr ""
  48667. #. type: deftypevr
  48668. #: guix-git/doc/guix.texi:33057
  48669. #, no-wrap
  48670. msgid "{@code{repository-cgit-configuration} parameter} repo-string path"
  48671. msgstr ""
  48672. #. type: deftypevr
  48673. #: guix-git/doc/guix.texi:33059
  48674. msgid "An absolute path to the repository directory."
  48675. msgstr ""
  48676. #. type: deftypevr
  48677. #: guix-git/doc/guix.texi:33064
  48678. #, no-wrap
  48679. msgid "{@code{repository-cgit-configuration} parameter} repo-string readme"
  48680. msgstr ""
  48681. #. type: deftypevr
  48682. #: guix-git/doc/guix.texi:33067
  48683. msgid "A path (relative to repo) which specifies a file to include verbatim as the ``About'' page for this repo."
  48684. msgstr ""
  48685. #. type: deftypevr
  48686. #: guix-git/doc/guix.texi:33072
  48687. #, no-wrap
  48688. msgid "{@code{repository-cgit-configuration} parameter} repo-string section"
  48689. msgstr ""
  48690. #. type: deftypevr
  48691. #: guix-git/doc/guix.texi:33080
  48692. #, no-wrap
  48693. msgid "{@code{repository-cgit-configuration} parameter} repo-list extra-options"
  48694. msgstr ""
  48695. #. type: deftypevr
  48696. #: guix-git/doc/guix.texi:33082 guix-git/doc/guix.texi:33091
  48697. msgid "Extra options will be appended to cgitrc file."
  48698. msgstr ""
  48699. #. type: deftypevr
  48700. #: guix-git/doc/guix.texi:33089
  48701. #, no-wrap
  48702. msgid "{@code{cgit-configuration} parameter} list extra-options"
  48703. msgstr ""
  48704. #. type: Plain text
  48705. #: guix-git/doc/guix.texi:33103
  48706. 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."
  48707. msgstr ""
  48708. #. type: Plain text
  48709. #: guix-git/doc/guix.texi:33105
  48710. msgid "Available @code{opaque-cgit-configuration} fields are:"
  48711. msgstr ""
  48712. #. type: deftypevr
  48713. #: guix-git/doc/guix.texi:33106
  48714. #, no-wrap
  48715. msgid "{@code{opaque-cgit-configuration} parameter} package cgit"
  48716. msgstr ""
  48717. #. type: deftypevr
  48718. #: guix-git/doc/guix.texi:33108
  48719. msgid "The cgit package."
  48720. msgstr ""
  48721. #. type: deftypevr
  48722. #: guix-git/doc/guix.texi:33110
  48723. #, no-wrap
  48724. msgid "{@code{opaque-cgit-configuration} parameter} string string"
  48725. msgstr ""
  48726. #. type: deftypevr
  48727. #: guix-git/doc/guix.texi:33112
  48728. msgid "The contents of the @code{cgitrc}, as a string."
  48729. msgstr ""
  48730. #. type: Plain text
  48731. #: guix-git/doc/guix.texi:33116
  48732. msgid "For example, if your @code{cgitrc} is just the empty string, you could instantiate a cgit service like this:"
  48733. msgstr ""
  48734. #. type: lisp
  48735. #: guix-git/doc/guix.texi:33121
  48736. #, no-wrap
  48737. msgid ""
  48738. "(service cgit-service-type\n"
  48739. " (opaque-cgit-configuration\n"
  48740. " (cgitrc \"\")))\n"
  48741. msgstr ""
  48742. #. type: subsubheading
  48743. #: guix-git/doc/guix.texi:33123
  48744. #, no-wrap
  48745. msgid "Gitolite Service"
  48746. msgstr ""
  48747. #. type: cindex
  48748. #: guix-git/doc/guix.texi:33125
  48749. #, no-wrap
  48750. msgid "Gitolite service"
  48751. msgstr ""
  48752. #. type: cindex
  48753. #: guix-git/doc/guix.texi:33126
  48754. #, no-wrap
  48755. msgid "Git, hosting"
  48756. msgstr ""
  48757. #. type: Plain text
  48758. #: guix-git/doc/guix.texi:33129
  48759. msgid "@uref{https://gitolite.com/gitolite/, Gitolite} is a tool for hosting Git repositories on a central server."
  48760. msgstr ""
  48761. #. type: Plain text
  48762. #: guix-git/doc/guix.texi:33132
  48763. msgid "Gitolite can handle multiple repositories and users, and supports flexible configuration of the permissions for the users on the repositories."
  48764. msgstr ""
  48765. #. type: Plain text
  48766. #: guix-git/doc/guix.texi:33135
  48767. msgid "The following example will configure Gitolite using the default @code{git} user, and the provided SSH public key."
  48768. msgstr ""
  48769. #. type: lisp
  48770. #: guix-git/doc/guix.texi:33142
  48771. #, no-wrap
  48772. msgid ""
  48773. "(service gitolite-service-type\n"
  48774. " (gitolite-configuration\n"
  48775. " (admin-pubkey (plain-file\n"
  48776. " \"yourname.pub\"\n"
  48777. " \"ssh-rsa AAAA... guix@@example.com\"))))\n"
  48778. msgstr ""
  48779. #. type: Plain text
  48780. #: guix-git/doc/guix.texi:33147
  48781. 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."
  48782. msgstr ""
  48783. #. type: example
  48784. #: guix-git/doc/guix.texi:33150
  48785. #, no-wrap
  48786. msgid "git clone git@@example.com:gitolite-admin\n"
  48787. msgstr ""
  48788. #. type: Plain text
  48789. #: guix-git/doc/guix.texi:33156
  48790. 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''."
  48791. msgstr ""
  48792. #. type: deftp
  48793. #: guix-git/doc/guix.texi:33157
  48794. #, no-wrap
  48795. msgid "{Data Type} gitolite-configuration"
  48796. msgstr ""
  48797. #. type: deftp
  48798. #: guix-git/doc/guix.texi:33159
  48799. msgid "Data type representing the configuration for @code{gitolite-service-type}."
  48800. msgstr ""
  48801. #. type: item
  48802. #: guix-git/doc/guix.texi:33161
  48803. #, no-wrap
  48804. msgid "@code{package} (default: @var{gitolite})"
  48805. msgstr ""
  48806. #. type: table
  48807. #: guix-git/doc/guix.texi:33163
  48808. msgid "Gitolite package to use."
  48809. msgstr ""
  48810. #. type: item
  48811. #: guix-git/doc/guix.texi:33164
  48812. #, no-wrap
  48813. msgid "@code{user} (default: @var{git})"
  48814. msgstr ""
  48815. #. type: table
  48816. #: guix-git/doc/guix.texi:33167
  48817. msgid "User to use for Gitolite. This will be user that you use when accessing Gitolite over SSH."
  48818. msgstr ""
  48819. #. type: item
  48820. #: guix-git/doc/guix.texi:33168
  48821. #, no-wrap
  48822. msgid "@code{group} (default: @var{git})"
  48823. msgstr ""
  48824. #. type: table
  48825. #: guix-git/doc/guix.texi:33170
  48826. msgid "Group to use for Gitolite."
  48827. msgstr ""
  48828. #. type: item
  48829. #: guix-git/doc/guix.texi:33171
  48830. #, no-wrap
  48831. msgid "@code{home-directory} (default: @var{\"/var/lib/gitolite\"})"
  48832. msgstr ""
  48833. #. type: table
  48834. #: guix-git/doc/guix.texi:33173
  48835. msgid "Directory in which to store the Gitolite configuration and repositories."
  48836. msgstr ""
  48837. #. type: item
  48838. #: guix-git/doc/guix.texi:33174
  48839. #, no-wrap
  48840. msgid "@code{rc-file} (default: @var{(gitolite-rc-file)})"
  48841. msgstr ""
  48842. #. type: table
  48843. #: guix-git/doc/guix.texi:33177
  48844. msgid "A ``file-like'' object (@pxref{G-Expressions, file-like objects}), representing the configuration for Gitolite."
  48845. msgstr ""
  48846. #. type: item
  48847. #: guix-git/doc/guix.texi:33178
  48848. #, no-wrap
  48849. msgid "@code{admin-pubkey} (default: @var{#f})"
  48850. msgstr ""
  48851. #. type: table
  48852. #: guix-git/doc/guix.texi:33182
  48853. 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."
  48854. msgstr ""
  48855. #. type: table
  48856. #: guix-git/doc/guix.texi:33184
  48857. msgid "To specify the SSH key as a string, use the @code{plain-file} function."
  48858. msgstr ""
  48859. #. type: lisp
  48860. #: guix-git/doc/guix.texi:33187
  48861. #, no-wrap
  48862. msgid "(plain-file \"yourname.pub\" \"ssh-rsa AAAA... guix@@example.com\")\n"
  48863. msgstr ""
  48864. #. type: deftp
  48865. #: guix-git/doc/guix.texi:33192
  48866. #, no-wrap
  48867. msgid "{Data Type} gitolite-rc-file"
  48868. msgstr ""
  48869. #. type: deftp
  48870. #: guix-git/doc/guix.texi:33194
  48871. msgid "Data type representing the Gitolite RC file."
  48872. msgstr ""
  48873. #. type: item
  48874. #: guix-git/doc/guix.texi:33196
  48875. #, no-wrap
  48876. msgid "@code{umask} (default: @code{#o0077})"
  48877. msgstr ""
  48878. #. type: table
  48879. #: guix-git/doc/guix.texi:33199
  48880. msgid "This controls the permissions Gitolite sets on the repositories and their contents."
  48881. msgstr ""
  48882. #. type: table
  48883. #: guix-git/doc/guix.texi:33203
  48884. 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."
  48885. msgstr ""
  48886. #. type: item
  48887. #: guix-git/doc/guix.texi:33204
  48888. #, no-wrap
  48889. msgid "@code{unsafe-pattern} (default: @code{#f})"
  48890. msgstr ""
  48891. #. type: table
  48892. #: guix-git/doc/guix.texi:33209
  48893. msgid "An optional Perl regular expression for catching unsafe configurations in the configuration file. See @uref{https://gitolite.com/gitolite/git-config.html#compensating-for-unsafe_patt, Gitolite's documentation} for more information."
  48894. msgstr ""
  48895. #. type: table
  48896. #: guix-git/doc/guix.texi:33216
  48897. msgid "When the value is not @code{#f}, it should be a string containing a Perl regular expression, such as @samp{\"[`~#\\$\\&()|;<>]\"}, which is the default value used by gitolite. It rejects any special character in configuration that might be interpreted by a shell, which is useful when sharing the administration burden with other people that do not otherwise have shell access on the server."
  48898. msgstr ""
  48899. #. type: item
  48900. #: guix-git/doc/guix.texi:33217
  48901. #, no-wrap
  48902. msgid "@code{git-config-keys} (default: @code{\"\"})"
  48903. msgstr ""
  48904. #. type: table
  48905. #: guix-git/doc/guix.texi:33220
  48906. msgid "Gitolite allows you to set git config values using the @samp{config} keyword. This setting allows control over the config keys to accept."
  48907. msgstr ""
  48908. #. type: item
  48909. #: guix-git/doc/guix.texi:33221
  48910. #, no-wrap
  48911. msgid "@code{roles} (default: @code{'((\"READERS\" . 1) (\"WRITERS\" . ))})"
  48912. msgstr ""
  48913. #. type: table
  48914. #: guix-git/doc/guix.texi:33223
  48915. msgid "Set the role names allowed to be used by users running the perms command."
  48916. msgstr ""
  48917. #. type: item
  48918. #: guix-git/doc/guix.texi:33224
  48919. #, no-wrap
  48920. msgid "@code{enable} (default: @code{'(\"help\" \"desc\" \"info\" \"perms\" \"writable\" \"ssh-authkeys\" \"git-config\" \"daemon\" \"gitweb\")})"
  48921. msgstr ""
  48922. #. type: table
  48923. #: guix-git/doc/guix.texi:33226
  48924. msgid "This setting controls the commands and features to enable within Gitolite."
  48925. msgstr ""
  48926. #. type: subsubheading
  48927. #: guix-git/doc/guix.texi:33231
  48928. #, no-wrap
  48929. msgid "Gitile Service"
  48930. msgstr ""
  48931. #. type: cindex
  48932. #: guix-git/doc/guix.texi:33233
  48933. #, no-wrap
  48934. msgid "Gitile service"
  48935. msgstr ""
  48936. #. type: cindex
  48937. #: guix-git/doc/guix.texi:33234
  48938. #, no-wrap
  48939. msgid "Git, forge"
  48940. msgstr ""
  48941. #. type: Plain text
  48942. #: guix-git/doc/guix.texi:33237
  48943. msgid "@uref{https://git.lepiller.eu/gitile, Gitile} is a Git forge for viewing public git repository contents from a web browser."
  48944. msgstr ""
  48945. #. type: Plain text
  48946. #: guix-git/doc/guix.texi:33243
  48947. msgid "Gitile works best in collaboration with Gitolite, and will serve the public repositories from Gitolite by default. The service should listen only on a local port, and a webserver should be configured to serve static resources. The gitile service provides an easy way to extend the Nginx service for that purpose (@pxref{NGINX})."
  48948. msgstr ""
  48949. #. type: Plain text
  48950. #: guix-git/doc/guix.texi:33247
  48951. msgid "The following example will configure Gitile to serve repositories from a custom location, with some default messages for the home page and the footers."
  48952. msgstr ""
  48953. #. type: lisp
  48954. #: guix-git/doc/guix.texi:33270
  48955. #, no-wrap
  48956. msgid ""
  48957. "(service gitile-service-type\n"
  48958. " (gitile-configuration\n"
  48959. " (repositories \"/srv/git\")\n"
  48960. " (base-git-url \"https://myweb.site/git\")\n"
  48961. " (index-title \"My git repositories\")\n"
  48962. " (intro '((p \"This is all my public work!\")))\n"
  48963. " (footer '((p \"This is the end\")))\n"
  48964. " (nginx-server-block\n"
  48965. " (nginx-server-configuration\n"
  48966. " (ssl-certificate\n"
  48967. " \"/etc/letsencrypt/live/myweb.site/fullchain.pem\")\n"
  48968. " (ssl-certificate-key\n"
  48969. " \"/etc/letsencrypt/live/myweb.site/privkey.pem\")\n"
  48970. " (listen '(\"443 ssl http2\" \"[::]:443 ssl http2\"))\n"
  48971. " (locations\n"
  48972. " (list\n"
  48973. " ;; Allow for https anonymous fetch on /git/ urls.\n"
  48974. " (git-http-nginx-location-configuration\n"
  48975. " (git-http-configuration\n"
  48976. " (uri-path \"/git/\")\n"
  48977. " (git-root \"/var/lib/gitolite/repositories\")))))))))\n"
  48978. msgstr ""
  48979. #. type: Plain text
  48980. #: guix-git/doc/guix.texi:33279
  48981. msgid "In addition to the configuration record, you should configure your git repositories to contain some optional information. First, your public repositories need to contain the @file{git-daemon-export-ok} magic file that allows Git to export the repository. Gitile uses the presence of this file to detect public repositories it should make accessible. To do so with Gitolite for instance, modify your @file{conf/gitolite.conf} to include this in the repositories you want to make public:"
  48982. msgstr ""
  48983. #. type: example
  48984. #: guix-git/doc/guix.texi:33283
  48985. #, no-wrap
  48986. msgid ""
  48987. "repo foo\n"
  48988. " R = daemon\n"
  48989. msgstr ""
  48990. #. type: Plain text
  48991. #: guix-git/doc/guix.texi:33289
  48992. msgid "In addition, Gitile can read the repository configuration to display more information on the repository. Gitile uses the gitweb namespace for its configuration. As an example, you can use the following in your @file{conf/gitolite.conf}:"
  48993. msgstr ""
  48994. #. type: example
  48995. #: guix-git/doc/guix.texi:33296
  48996. #, no-wrap
  48997. msgid ""
  48998. "repo foo\n"
  48999. " R = daemon\n"
  49000. " desc = A long description, optionally with <i>HTML</i>, shown on the index page\n"
  49001. " config gitweb.name = The Foo Project\n"
  49002. " config gitweb.synopsis = A short description, shown on the main page of the project\n"
  49003. msgstr ""
  49004. #. type: Plain text
  49005. #: guix-git/doc/guix.texi:33302
  49006. msgid "Do not forget to commit and push these changes once you are satisfied. You may need to change your gitolite configuration to allow the previous configuration options to be set. One way to do that is to add the following service definition:"
  49007. msgstr ""
  49008. #. type: lisp
  49009. #: guix-git/doc/guix.texi:33314
  49010. #, no-wrap
  49011. msgid ""
  49012. "(service gitolite-service-type\n"
  49013. " (gitolite-configuration\n"
  49014. " (admin-pubkey (local-file \"key.pub\"))\n"
  49015. " (rc-file\n"
  49016. " (gitolite-rc-file\n"
  49017. " (umask #o0027)\n"
  49018. " ;; Allow to set any configuration key\n"
  49019. " (git-config-keys \".*\")\n"
  49020. " ;; Allow any text as a valid configuration value\n"
  49021. " (unsafe-patt \"^$\")))))\n"
  49022. msgstr ""
  49023. #. type: deftp
  49024. #: guix-git/doc/guix.texi:33316
  49025. #, no-wrap
  49026. msgid "{Data Type} gitile-configuration"
  49027. msgstr ""
  49028. #. type: deftp
  49029. #: guix-git/doc/guix.texi:33318
  49030. msgid "Data type representing the configuration for @code{gitile-service-type}."
  49031. msgstr ""
  49032. #. type: item
  49033. #: guix-git/doc/guix.texi:33320
  49034. #, no-wrap
  49035. msgid "@code{package} (default: @var{gitile})"
  49036. msgstr ""
  49037. #. type: table
  49038. #: guix-git/doc/guix.texi:33322
  49039. msgid "Gitile package to use."
  49040. msgstr ""
  49041. #. type: table
  49042. #: guix-git/doc/guix.texi:33325
  49043. msgid "The host on which gitile is listening."
  49044. msgstr ""
  49045. #. type: item
  49046. #: guix-git/doc/guix.texi:33326
  49047. #, no-wrap
  49048. msgid "@code{port} (default: @code{8080})"
  49049. msgstr ""
  49050. #. type: table
  49051. #: guix-git/doc/guix.texi:33328
  49052. msgid "The port on which gitile is listening."
  49053. msgstr ""
  49054. #. type: item
  49055. #: guix-git/doc/guix.texi:33329
  49056. #, no-wrap
  49057. msgid "@code{database} (default: @code{\"/var/lib/gitile/gitile-db.sql\"})"
  49058. msgstr ""
  49059. #. type: table
  49060. #: guix-git/doc/guix.texi:33331
  49061. msgid "The location of the database."
  49062. msgstr ""
  49063. #. type: item
  49064. #: guix-git/doc/guix.texi:33332
  49065. #, no-wrap
  49066. msgid "@code{repositories} (default: @code{\"/var/lib/gitolite/repositories\"})"
  49067. msgstr ""
  49068. #. type: table
  49069. #: guix-git/doc/guix.texi:33336
  49070. msgid "The location of the repositories. Note that only public repositories will be shown by Gitile. To make a repository public, add an empty @file{git-daemon-export-ok} file at the root of that repository."
  49071. msgstr ""
  49072. #. type: code{#1}
  49073. #: guix-git/doc/guix.texi:33337
  49074. #, no-wrap
  49075. msgid "base-git-url"
  49076. msgstr ""
  49077. #. type: table
  49078. #: guix-git/doc/guix.texi:33339
  49079. msgid "The base git url that will be used to show clone commands."
  49080. msgstr ""
  49081. #. type: item
  49082. #: guix-git/doc/guix.texi:33340
  49083. #, no-wrap
  49084. msgid "@code{index-title} (default: @code{\"Index\"})"
  49085. msgstr ""
  49086. #. type: table
  49087. #: guix-git/doc/guix.texi:33342
  49088. msgid "The page title for the index page that lists all the available repositories."
  49089. msgstr ""
  49090. #. type: item
  49091. #: guix-git/doc/guix.texi:33343
  49092. #, no-wrap
  49093. msgid "@code{intro} (default: @code{'()})"
  49094. msgstr ""
  49095. #. type: table
  49096. #: guix-git/doc/guix.texi:33346
  49097. msgid "The intro content, as a list of sxml expressions. This is shown above the list of repositories, on the index page."
  49098. msgstr ""
  49099. #. type: item
  49100. #: guix-git/doc/guix.texi:33347
  49101. #, no-wrap
  49102. msgid "@code{footer} (default: @code{'()})"
  49103. msgstr ""
  49104. #. type: table
  49105. #: guix-git/doc/guix.texi:33350
  49106. msgid "The footer content, as a list of sxml expressions. This is shown on every page served by Gitile."
  49107. msgstr ""
  49108. #. type: code{#1}
  49109. #: guix-git/doc/guix.texi:33351
  49110. #, no-wrap
  49111. msgid "nginx-server-block"
  49112. msgstr ""
  49113. #. type: table
  49114. #: guix-git/doc/guix.texi:33354
  49115. msgid "An nginx server block that will be extended and used as a reverse proxy by Gitile to serve its pages, and as a normal web server to serve its assets."
  49116. msgstr ""
  49117. #. type: table
  49118. #: guix-git/doc/guix.texi:33358
  49119. msgid "You can use this block to add more custom URLs to your domain, such as a @code{/git/} URL for anonymous clones, or serving any other files you would like to serve."
  49120. msgstr ""
  49121. #. type: subsubheading
  49122. #: guix-git/doc/guix.texi:33365
  49123. #, no-wrap
  49124. msgid "The Battle for Wesnoth Service"
  49125. msgstr ""
  49126. #. type: cindex
  49127. #: guix-git/doc/guix.texi:33366
  49128. #, no-wrap
  49129. msgid "wesnothd"
  49130. msgstr ""
  49131. #. type: Plain text
  49132. #: guix-git/doc/guix.texi:33370
  49133. 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)."
  49134. msgstr ""
  49135. #. type: defvar
  49136. #: guix-git/doc/guix.texi:33371
  49137. #, no-wrap
  49138. msgid "{Scheme Variable} wesnothd-service-type"
  49139. msgstr ""
  49140. #. type: defvar
  49141. #: guix-git/doc/guix.texi:33375
  49142. 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:"
  49143. msgstr ""
  49144. #. type: lisp
  49145. #: guix-git/doc/guix.texi:33378
  49146. #, no-wrap
  49147. msgid "(service wesnothd-service-type)\n"
  49148. msgstr ""
  49149. #. type: deftp
  49150. #: guix-git/doc/guix.texi:33381
  49151. #, no-wrap
  49152. msgid "{Data Type} wesnothd-configuration"
  49153. msgstr ""
  49154. #. type: deftp
  49155. #: guix-git/doc/guix.texi:33383
  49156. msgid "Data type representing the configuration of @command{wesnothd}."
  49157. msgstr ""
  49158. #. type: item
  49159. #: guix-git/doc/guix.texi:33385
  49160. #, no-wrap
  49161. msgid "@code{package} (default: @code{wesnoth-server})"
  49162. msgstr ""
  49163. #. type: table
  49164. #: guix-git/doc/guix.texi:33387
  49165. msgid "The wesnoth server package to use."
  49166. msgstr ""
  49167. #. type: item
  49168. #: guix-git/doc/guix.texi:33388
  49169. #, no-wrap
  49170. msgid "@code{port} (default: @code{15000})"
  49171. msgstr ""
  49172. #. type: table
  49173. #: guix-git/doc/guix.texi:33390 guix-git/doc/guix.texi:33781
  49174. msgid "The port to bind the server to."
  49175. msgstr ""
  49176. #. type: cindex
  49177. #: guix-git/doc/guix.texi:33396
  49178. #, no-wrap
  49179. msgid "pam-mount"
  49180. msgstr ""
  49181. #. type: Plain text
  49182. #: guix-git/doc/guix.texi:33401
  49183. 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."
  49184. msgstr ""
  49185. #. type: defvar
  49186. #: guix-git/doc/guix.texi:33402
  49187. #, no-wrap
  49188. msgid "{Scheme Variable} pam-mount-service-type"
  49189. msgstr ""
  49190. #. type: defvar
  49191. #: guix-git/doc/guix.texi:33404
  49192. msgid "Service type for PAM Mount support."
  49193. msgstr ""
  49194. #. type: deftp
  49195. #: guix-git/doc/guix.texi:33406
  49196. #, no-wrap
  49197. msgid "{Data Type} pam-mount-configuration"
  49198. msgstr ""
  49199. #. type: deftp
  49200. #: guix-git/doc/guix.texi:33408
  49201. msgid "Data type representing the configuration of PAM Mount."
  49202. msgstr ""
  49203. #. type: code{#1}
  49204. #: guix-git/doc/guix.texi:33412
  49205. #, no-wrap
  49206. msgid "rules"
  49207. msgstr "säännöt"
  49208. #. type: table
  49209. #: guix-git/doc/guix.texi:33415
  49210. msgid "The configuration rules that will be used to generate @file{/etc/security/pam_mount.conf.xml}."
  49211. msgstr ""
  49212. #. type: table
  49213. #: guix-git/doc/guix.texi:33419
  49214. 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:"
  49215. msgstr ""
  49216. #. type: lisp
  49217. #: guix-git/doc/guix.texi:33434
  49218. #, no-wrap
  49219. msgid ""
  49220. "`((debug (@@ (enable \"0\")))\n"
  49221. " (mntoptions (@@ (allow ,(string-join\n"
  49222. " '(\"nosuid\" \"nodev\" \"loop\"\n"
  49223. " \"encryption\" \"fsck\" \"nonempty\"\n"
  49224. " \"allow_root\" \"allow_other\")\n"
  49225. " \",\"))))\n"
  49226. " (mntoptions (@@ (require \"nosuid,nodev\")))\n"
  49227. " (logout (@@ (wait \"0\")\n"
  49228. " (hup \"0\")\n"
  49229. " (term \"no\")\n"
  49230. " (kill \"no\")))\n"
  49231. " (mkmountpoint (@@ (enable \"1\")\n"
  49232. " (remove \"true\"))))\n"
  49233. msgstr ""
  49234. #. type: table
  49235. #: guix-git/doc/guix.texi:33440
  49236. 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:"
  49237. msgstr ""
  49238. #. type: lisp
  49239. #: guix-git/doc/guix.texi:33465
  49240. #, no-wrap
  49241. msgid ""
  49242. "(define pam-mount-rules\n"
  49243. "`((debug (@@ (enable \"0\")))\n"
  49244. " (volume (@@ (user \"alice\")\n"
  49245. " (fstype \"crypt\")\n"
  49246. " (path \"/dev/sda2\")\n"
  49247. " (mountpoint \"/home/alice\")))\n"
  49248. " (volume (@@ (user \"bob\")\n"
  49249. " (fstype \"auto\")\n"
  49250. " (path \"/dev/sdb3\")\n"
  49251. " (mountpoint \"/home/bob/data\")\n"
  49252. " (options \"defaults,autodefrag,compress\")))\n"
  49253. " (mntoptions (@@ (allow ,(string-join\n"
  49254. " '(\"nosuid\" \"nodev\" \"loop\"\n"
  49255. " \"encryption\" \"fsck\" \"nonempty\"\n"
  49256. " \"allow_root\" \"allow_other\")\n"
  49257. " \",\"))))\n"
  49258. " (mntoptions (@@ (require \"nosuid,nodev\")))\n"
  49259. " (logout (@@ (wait \"0\")\n"
  49260. " (hup \"0\")\n"
  49261. " (term \"no\")\n"
  49262. " (kill \"no\")))\n"
  49263. " (mkmountpoint (@@ (enable \"1\")\n"
  49264. " (remove \"true\")))))\n"
  49265. "\n"
  49266. msgstr ""
  49267. #. type: lisp
  49268. #: guix-git/doc/guix.texi:33469
  49269. #, no-wrap
  49270. msgid ""
  49271. "(service pam-mount-service-type\n"
  49272. " (pam-mount-configuration\n"
  49273. " (rules pam-mount-rules)))\n"
  49274. msgstr ""
  49275. #. type: table
  49276. #: guix-git/doc/guix.texi:33473
  49277. 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}."
  49278. msgstr ""
  49279. #. type: subsubheading
  49280. #: guix-git/doc/guix.texi:33480
  49281. #, no-wrap
  49282. msgid "Guix Build Coordinator"
  49283. msgstr ""
  49284. #. type: Plain text
  49285. #: guix-git/doc/guix.texi:33486
  49286. 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."
  49287. msgstr ""
  49288. #. type: Plain text
  49289. #: guix-git/doc/guix.texi:33492
  49290. 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."
  49291. msgstr ""
  49292. #. type: Plain text
  49293. #: guix-git/doc/guix.texi:33496
  49294. 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."
  49295. msgstr ""
  49296. #. type: defvar
  49297. #: guix-git/doc/guix.texi:33497
  49298. #, no-wrap
  49299. msgid "{Scheme Variable} guix-build-coordinator-service-type"
  49300. msgstr ""
  49301. #. type: defvar
  49302. #: guix-git/doc/guix.texi:33500
  49303. msgid "Service type for the Guix Build Coordinator. Its value must be a @code{guix-build-coordinator-configuration} object."
  49304. msgstr ""
  49305. #. type: deftp
  49306. #: guix-git/doc/guix.texi:33502
  49307. #, no-wrap
  49308. msgid "{Data Type} guix-build-coordinator-configuration"
  49309. msgstr ""
  49310. #. type: deftp
  49311. #: guix-git/doc/guix.texi:33504
  49312. msgid "Data type representing the configuration of the Guix Build Coordinator."
  49313. msgstr ""
  49314. #. type: item
  49315. #: guix-git/doc/guix.texi:33506 guix-git/doc/guix.texi:33676
  49316. #, no-wrap
  49317. msgid "@code{package} (default: @code{guix-build-coordinator})"
  49318. msgstr ""
  49319. #. type: table
  49320. #: guix-git/doc/guix.texi:33508 guix-git/doc/guix.texi:33552
  49321. #: guix-git/doc/guix.texi:33678
  49322. msgid "The Guix Build Coordinator package to use."
  49323. msgstr ""
  49324. #. type: item
  49325. #: guix-git/doc/guix.texi:33509
  49326. #, no-wrap
  49327. msgid "@code{user} (default: @code{\"guix-build-coordinator\"})"
  49328. msgstr ""
  49329. #. type: table
  49330. #: guix-git/doc/guix.texi:33511 guix-git/doc/guix.texi:33555
  49331. #: guix-git/doc/guix.texi:33681 guix-git/doc/guix.texi:33727
  49332. #: guix-git/doc/guix.texi:33775
  49333. msgid "The system user to run the service as."
  49334. msgstr ""
  49335. #. type: item
  49336. #: guix-git/doc/guix.texi:33512
  49337. #, no-wrap
  49338. msgid "@code{group} (default: @code{\"guix-build-coordinator\"})"
  49339. msgstr ""
  49340. #. type: table
  49341. #: guix-git/doc/guix.texi:33514 guix-git/doc/guix.texi:33730
  49342. #: guix-git/doc/guix.texi:33778
  49343. msgid "The system group to run the service as."
  49344. msgstr ""
  49345. #. type: item
  49346. #: guix-git/doc/guix.texi:33515
  49347. #, no-wrap
  49348. msgid "@code{database-uri-string} (default: @code{\"sqlite:///var/lib/guix-build-coordinator/guix_build_coordinator.db\"})"
  49349. msgstr ""
  49350. #. type: table
  49351. #: guix-git/doc/guix.texi:33517
  49352. msgid "The URI to use for the database."
  49353. msgstr ""
  49354. #. type: item
  49355. #: guix-git/doc/guix.texi:33518
  49356. #, no-wrap
  49357. msgid "@code{agent-communication-uri} (default: @code{\"http://0.0.0.0:8745\"})"
  49358. msgstr ""
  49359. #. type: table
  49360. #: guix-git/doc/guix.texi:33520
  49361. msgid "The URI describing how to listen to requests from agent processes."
  49362. msgstr ""
  49363. #. type: item
  49364. #: guix-git/doc/guix.texi:33521
  49365. #, no-wrap
  49366. msgid "@code{client-communication-uri} (default: @code{\"http://127.0.0.1:8746\"})"
  49367. msgstr ""
  49368. #. type: table
  49369. #: guix-git/doc/guix.texi:33525
  49370. 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."
  49371. msgstr ""
  49372. #. type: item
  49373. #: guix-git/doc/guix.texi:33526
  49374. #, no-wrap
  49375. msgid "@code{allocation-strategy} (default: @code{#~basic-build-allocation-strategy})"
  49376. msgstr ""
  49377. #. type: table
  49378. #: guix-git/doc/guix.texi:33530
  49379. 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."
  49380. msgstr ""
  49381. #. type: item
  49382. #: guix-git/doc/guix.texi:33531
  49383. #, no-wrap
  49384. msgid "@code{hooks} (default: @var{'()})"
  49385. msgstr ""
  49386. #. type: table
  49387. #: guix-git/doc/guix.texi:33534
  49388. msgid "An association list of hooks. These provide a way to execute arbitrary code upon certain events, like a build result being processed."
  49389. msgstr ""
  49390. #. type: item
  49391. #: guix-git/doc/guix.texi:33535
  49392. #, no-wrap
  49393. msgid "@code{guile} (default: @code{guile-3.0-latest})"
  49394. msgstr ""
  49395. #. type: table
  49396. #: guix-git/doc/guix.texi:33537
  49397. msgid "The Guile package with which to run the Guix Build Coordinator."
  49398. msgstr ""
  49399. #. type: defvar
  49400. #: guix-git/doc/guix.texi:33541
  49401. #, no-wrap
  49402. msgid "{Scheme Variable} guix-build-coordinator-agent-service-type"
  49403. msgstr ""
  49404. #. type: defvar
  49405. #: guix-git/doc/guix.texi:33544
  49406. msgid "Service type for a Guix Build Coordinator agent. Its value must be a @code{guix-build-coordinator-agent-configuration} object."
  49407. msgstr ""
  49408. #. type: deftp
  49409. #: guix-git/doc/guix.texi:33546
  49410. #, no-wrap
  49411. msgid "{Data Type} guix-build-coordinator-agent-configuration"
  49412. msgstr ""
  49413. #. type: deftp
  49414. #: guix-git/doc/guix.texi:33548
  49415. msgid "Data type representing the configuration a Guix Build Coordinator agent."
  49416. msgstr ""
  49417. #. type: item
  49418. #: guix-git/doc/guix.texi:33550
  49419. #, no-wrap
  49420. msgid "@code{package} (default: @code{guix-build-coordinator/agent-only})"
  49421. msgstr ""
  49422. #. type: item
  49423. #: guix-git/doc/guix.texi:33553
  49424. #, no-wrap
  49425. msgid "@code{user} (default: @code{\"guix-build-coordinator-agent\"})"
  49426. msgstr ""
  49427. #. type: item
  49428. #: guix-git/doc/guix.texi:33556
  49429. #, no-wrap
  49430. msgid "@code{coordinator} (default: @code{\"http://localhost:8745\"})"
  49431. msgstr ""
  49432. #. type: table
  49433. #: guix-git/doc/guix.texi:33558 guix-git/doc/guix.texi:33684
  49434. msgid "The URI to use when connecting to the coordinator."
  49435. msgstr ""
  49436. #. type: code{#1}
  49437. #: guix-git/doc/guix.texi:33559
  49438. #, no-wrap
  49439. msgid "authentication"
  49440. msgstr "tunnistautuminen"
  49441. #. type: table
  49442. #: guix-git/doc/guix.texi:33562
  49443. msgid "Record describing how this agent should authenticate with the coordinator. Possible record types are described below."
  49444. msgstr ""
  49445. #. type: item
  49446. #: guix-git/doc/guix.texi:33563 guix-git/doc/guix.texi:33685
  49447. #, no-wrap
  49448. msgid "@code{systems} (default: @code{#f})"
  49449. msgstr ""
  49450. #. type: table
  49451. #: guix-git/doc/guix.texi:33566
  49452. 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."
  49453. msgstr ""
  49454. #. type: item
  49455. #: guix-git/doc/guix.texi:33567
  49456. #, no-wrap
  49457. msgid "@code{max-parallel-builds} (default: @code{1})"
  49458. msgstr ""
  49459. #. type: table
  49460. #: guix-git/doc/guix.texi:33569
  49461. msgid "The number of builds to perform in parallel."
  49462. msgstr ""
  49463. #. type: item
  49464. #: guix-git/doc/guix.texi:33570
  49465. #, no-wrap
  49466. msgid "@code{max-1min-load-average} (default: @code{#f})"
  49467. msgstr ""
  49468. #. type: table
  49469. #: guix-git/doc/guix.texi:33574
  49470. 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."
  49471. msgstr ""
  49472. #. type: table
  49473. #: guix-git/doc/guix.texi:33578
  49474. 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."
  49475. msgstr ""
  49476. #. type: item
  49477. #: guix-git/doc/guix.texi:33579
  49478. #, no-wrap
  49479. msgid "@code{derivation-substitute-urls} (default: @code{#f})"
  49480. msgstr ""
  49481. #. type: table
  49482. #: guix-git/doc/guix.texi:33582
  49483. msgid "URLs from which to attempt to fetch substitutes for derivations, if the derivations aren't already available."
  49484. msgstr ""
  49485. #. type: item
  49486. #: guix-git/doc/guix.texi:33583
  49487. #, no-wrap
  49488. msgid "@code{non-derivation-substitute-urls} (default: @code{#f})"
  49489. msgstr ""
  49490. #. type: table
  49491. #: guix-git/doc/guix.texi:33586
  49492. msgid "URLs from which to attempt to fetch substitutes for build inputs, if the input store items aren't already available."
  49493. msgstr ""
  49494. #. type: deftp
  49495. #: guix-git/doc/guix.texi:33590
  49496. #, no-wrap
  49497. msgid "{Data Type} guix-build-coordinator-agent-password-auth"
  49498. msgstr ""
  49499. #. type: deftp
  49500. #: guix-git/doc/guix.texi:33593
  49501. msgid "Data type representing an agent authenticating with a coordinator via a UUID and password."
  49502. msgstr ""
  49503. #. type: table
  49504. #: guix-git/doc/guix.texi:33599 guix-git/doc/guix.texi:33615
  49505. 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."
  49506. msgstr ""
  49507. #. type: table
  49508. #: guix-git/doc/guix.texi:33602
  49509. msgid "The password to use when connecting to the coordinator."
  49510. msgstr ""
  49511. #. type: deftp
  49512. #: guix-git/doc/guix.texi:33606
  49513. #, no-wrap
  49514. msgid "{Data Type} guix-build-coordinator-agent-password-file-auth"
  49515. msgstr ""
  49516. #. type: deftp
  49517. #: guix-git/doc/guix.texi:33609
  49518. msgid "Data type representing an agent authenticating with a coordinator via a UUID and password read from a file."
  49519. msgstr ""
  49520. #. type: code{#1}
  49521. #: guix-git/doc/guix.texi:33616
  49522. #, no-wrap
  49523. msgid "password-file"
  49524. msgstr ""
  49525. #. type: table
  49526. #: guix-git/doc/guix.texi:33619
  49527. msgid "A file containing the password to use when connecting to the coordinator."
  49528. msgstr ""
  49529. #. type: deftp
  49530. #: guix-git/doc/guix.texi:33623
  49531. #, no-wrap
  49532. msgid "{Data Type} guix-build-coordinator-agent-dynamic-auth"
  49533. msgstr ""
  49534. #. type: deftp
  49535. #: guix-git/doc/guix.texi:33626
  49536. msgid "Data type representing an agent authenticating with a coordinator via a dynamic auth token and agent name."
  49537. msgstr ""
  49538. #. type: code{#1}
  49539. #: guix-git/doc/guix.texi:33628 guix-git/doc/guix.texi:33645
  49540. #, no-wrap
  49541. msgid "agent-name"
  49542. msgstr ""
  49543. #. type: table
  49544. #: guix-git/doc/guix.texi:33632 guix-git/doc/guix.texi:33649
  49545. 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."
  49546. msgstr ""
  49547. #. type: code{#1}
  49548. #: guix-git/doc/guix.texi:33633
  49549. #, no-wrap
  49550. msgid "token"
  49551. msgstr ""
  49552. #. type: table
  49553. #: guix-git/doc/guix.texi:33636
  49554. msgid "Dynamic auth token, this is created and stored in the coordinator database, and is used by the agent to authenticate."
  49555. msgstr ""
  49556. #. type: deftp
  49557. #: guix-git/doc/guix.texi:33640
  49558. #, no-wrap
  49559. msgid "{Data Type} guix-build-coordinator-agent-dynamic-auth-with-file"
  49560. msgstr ""
  49561. #. type: deftp
  49562. #: guix-git/doc/guix.texi:33643
  49563. msgid "Data type representing an agent authenticating with a coordinator via a dynamic auth token read from a file and agent name."
  49564. msgstr ""
  49565. #. type: code{#1}
  49566. #: guix-git/doc/guix.texi:33650
  49567. #, no-wrap
  49568. msgid "token-file"
  49569. msgstr ""
  49570. #. type: table
  49571. #: guix-git/doc/guix.texi:33653
  49572. msgid "File containing the dynamic auth token, this is created and stored in the coordinator database, and is used by the agent to authenticate."
  49573. msgstr ""
  49574. #. type: Plain text
  49575. #: guix-git/doc/guix.texi:33663
  49576. 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."
  49577. msgstr ""
  49578. #. type: defvar
  49579. #: guix-git/doc/guix.texi:33664
  49580. #, no-wrap
  49581. msgid "{Scheme Variable} guix-build-coordinator-queue-builds-service-type"
  49582. msgstr ""
  49583. #. type: defvar
  49584. #: guix-git/doc/guix.texi:33669
  49585. 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."
  49586. msgstr ""
  49587. #. type: deftp
  49588. #: guix-git/doc/guix.texi:33671
  49589. #, no-wrap
  49590. msgid "{Data Type} guix-build-coordinator-queue-builds-configuration"
  49591. msgstr ""
  49592. #. type: deftp
  49593. #: guix-git/doc/guix.texi:33674
  49594. msgid "Data type representing the options to the queue builds from guix data service script."
  49595. msgstr ""
  49596. #. type: item
  49597. #: guix-git/doc/guix.texi:33679
  49598. #, no-wrap
  49599. msgid "@code{user} (default: @code{\"guix-build-coordinator-queue-builds\"})"
  49600. msgstr ""
  49601. #. type: item
  49602. #: guix-git/doc/guix.texi:33682
  49603. #, no-wrap
  49604. msgid "@code{coordinator} (default: @code{\"http://localhost:8746\"})"
  49605. msgstr ""
  49606. #. type: table
  49607. #: guix-git/doc/guix.texi:33687
  49608. msgid "The systems for which to fetch derivations to build."
  49609. msgstr ""
  49610. #. type: item
  49611. #: guix-git/doc/guix.texi:33688
  49612. #, no-wrap
  49613. msgid "@code{systems-and-targets} (default: @code{#f})"
  49614. msgstr ""
  49615. #. type: table
  49616. #: guix-git/doc/guix.texi:33691
  49617. msgid "An association list of system and target pairs for which to fetch derivations to build."
  49618. msgstr ""
  49619. #. type: item
  49620. #: guix-git/doc/guix.texi:33692
  49621. #, no-wrap
  49622. msgid "@code{guix-data-service} (default: @code{\"https://data.guix.gnu.org\"})"
  49623. msgstr ""
  49624. #. type: table
  49625. #: guix-git/doc/guix.texi:33695
  49626. msgid "The Guix Data Service instance from which to query to find out about derivations to build."
  49627. msgstr ""
  49628. #. type: item
  49629. #: guix-git/doc/guix.texi:33696
  49630. #, no-wrap
  49631. msgid "@code{processed-commits-file} (default: @code{\"/var/cache/guix-build-coordinator-queue-builds/processed-commits\"})"
  49632. msgstr ""
  49633. #. type: table
  49634. #: guix-git/doc/guix.texi:33699
  49635. msgid "A file to record which commits have been processed, to avoid needlessly processing them again if the service is restarted."
  49636. msgstr ""
  49637. #. type: subsubheading
  49638. #: guix-git/doc/guix.texi:33703
  49639. #, no-wrap
  49640. msgid "Guix Data Service"
  49641. msgstr ""
  49642. #. type: Plain text
  49643. #: guix-git/doc/guix.texi:33707
  49644. 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."
  49645. msgstr ""
  49646. #. type: Plain text
  49647. #: guix-git/doc/guix.texi:33710
  49648. msgid "The data is stored in a PostgreSQL database, and available through a web interface."
  49649. msgstr ""
  49650. #. type: defvar
  49651. #: guix-git/doc/guix.texi:33711
  49652. #, no-wrap
  49653. msgid "{Scheme Variable} guix-data-service-type"
  49654. msgstr ""
  49655. #. type: defvar
  49656. #: guix-git/doc/guix.texi:33716
  49657. 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."
  49658. msgstr ""
  49659. #. type: deftp
  49660. #: guix-git/doc/guix.texi:33718
  49661. #, no-wrap
  49662. msgid "{Data Type} guix-data-service-configuration"
  49663. msgstr ""
  49664. #. type: deftp
  49665. #: guix-git/doc/guix.texi:33720 guix-git/doc/guix.texi:33768
  49666. msgid "Data type representing the configuration of the Guix Data Service."
  49667. msgstr ""
  49668. #. type: item
  49669. #: guix-git/doc/guix.texi:33722
  49670. #, no-wrap
  49671. msgid "@code{package} (default: @code{guix-data-service})"
  49672. msgstr ""
  49673. #. type: table
  49674. #: guix-git/doc/guix.texi:33724
  49675. msgid "The Guix Data Service package to use."
  49676. msgstr ""
  49677. #. type: item
  49678. #: guix-git/doc/guix.texi:33725
  49679. #, no-wrap
  49680. msgid "@code{user} (default: @code{\"guix-data-service\"})"
  49681. msgstr ""
  49682. #. type: item
  49683. #: guix-git/doc/guix.texi:33728
  49684. #, no-wrap
  49685. msgid "@code{group} (default: @code{\"guix-data-service\"})"
  49686. msgstr ""
  49687. #. type: item
  49688. #: guix-git/doc/guix.texi:33731
  49689. #, no-wrap
  49690. msgid "@code{port} (default: @code{8765})"
  49691. msgstr ""
  49692. #. type: table
  49693. #: guix-git/doc/guix.texi:33733
  49694. msgid "The port to bind the web service to."
  49695. msgstr ""
  49696. #. type: item
  49697. #: guix-git/doc/guix.texi:33734 guix-git/doc/guix.texi:33782
  49698. #, no-wrap
  49699. msgid "@code{host} (default: @code{\"127.0.0.1\"})"
  49700. msgstr ""
  49701. #. type: table
  49702. #: guix-git/doc/guix.texi:33736
  49703. msgid "The host to bind the web service to."
  49704. msgstr ""
  49705. #. type: item
  49706. #: guix-git/doc/guix.texi:33737
  49707. #, no-wrap
  49708. msgid "@code{getmail-idle-mailboxes} (default: @code{#f})"
  49709. msgstr ""
  49710. #. type: table
  49711. #: guix-git/doc/guix.texi:33740
  49712. msgid "If set, this is the list of mailboxes that the getmail service will be configured to listen to."
  49713. msgstr ""
  49714. #. type: item
  49715. #: guix-git/doc/guix.texi:33741
  49716. #, no-wrap
  49717. msgid "@code{commits-getmail-retriever-configuration} (default: @code{#f})"
  49718. msgstr ""
  49719. #. type: table
  49720. #: guix-git/doc/guix.texi:33745
  49721. 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."
  49722. msgstr ""
  49723. #. type: item
  49724. #: guix-git/doc/guix.texi:33746
  49725. #, no-wrap
  49726. msgid "@code{extra-options} (default: @var{'()})"
  49727. msgstr ""
  49728. #. type: table
  49729. #: guix-git/doc/guix.texi:33748
  49730. msgid "Extra command line options for @code{guix-data-service}."
  49731. msgstr ""
  49732. #. type: item
  49733. #: guix-git/doc/guix.texi:33749
  49734. #, no-wrap
  49735. msgid "@code{extra-process-jobs-options} (default: @var{'()})"
  49736. msgstr ""
  49737. #. type: table
  49738. #: guix-git/doc/guix.texi:33751
  49739. msgid "Extra command line options for @code{guix-data-service-process-jobs}."
  49740. msgstr ""
  49741. #. type: subsubheading
  49742. #: guix-git/doc/guix.texi:33755
  49743. #, no-wrap
  49744. msgid "Nar Herder"
  49745. msgstr ""
  49746. #. type: Plain text
  49747. #: guix-git/doc/guix.texi:33758
  49748. msgid "The @uref{https://git.cbaines.net/guix/nar-herder/about/,Nar Herder} is a utility for managing a collection of nars."
  49749. msgstr ""
  49750. #. type: defvar
  49751. #: guix-git/doc/guix.texi:33759
  49752. #, no-wrap
  49753. msgid "{Scheme Variable} nar-herder-type"
  49754. msgstr ""
  49755. #. type: defvar
  49756. #: guix-git/doc/guix.texi:33764
  49757. msgid "Service type for the Guix Data Service. Its value must be a @code{nar-herder-configuration} object. The service optionally extends the getmail service, as the guix-commits mailing list is used to find out about changes in the Guix git repository."
  49758. msgstr ""
  49759. #. type: deftp
  49760. #: guix-git/doc/guix.texi:33766
  49761. #, no-wrap
  49762. msgid "{Data Type} nar-herder-configuration"
  49763. msgstr ""
  49764. #. type: item
  49765. #: guix-git/doc/guix.texi:33770
  49766. #, no-wrap
  49767. msgid "@code{package} (default: @code{nar-herder})"
  49768. msgstr ""
  49769. #. type: table
  49770. #: guix-git/doc/guix.texi:33772
  49771. msgid "The Nar Herder package to use."
  49772. msgstr ""
  49773. #. type: item
  49774. #: guix-git/doc/guix.texi:33773
  49775. #, no-wrap
  49776. msgid "@code{user} (default: @code{\"nar-herder\"})"
  49777. msgstr ""
  49778. #. type: item
  49779. #: guix-git/doc/guix.texi:33776
  49780. #, no-wrap
  49781. msgid "@code{group} (default: @code{\"nar-herder\"})"
  49782. msgstr ""
  49783. #. type: item
  49784. #: guix-git/doc/guix.texi:33779
  49785. #, no-wrap
  49786. msgid "@code{port} (default: @code{8734})"
  49787. msgstr ""
  49788. #. type: table
  49789. #: guix-git/doc/guix.texi:33784
  49790. msgid "The host to bind the server to."
  49791. msgstr ""
  49792. #. type: table
  49793. #: guix-git/doc/guix.texi:33789
  49794. msgid "Optional URL of the other Nar Herder instance which should be mirrored. This means that this Nar Herder instance will download it's database, and keep it up to date."
  49795. msgstr ""
  49796. #. type: item
  49797. #: guix-git/doc/guix.texi:33790
  49798. #, no-wrap
  49799. msgid "@code{database} (default: @code{\"/var/lib/nar-herder/nar_herder.db\"})"
  49800. msgstr ""
  49801. #. type: table
  49802. #: guix-git/doc/guix.texi:33795
  49803. msgid "Location for the database. If this Nar Herder instance is mirroring another, the database will be downloaded if it doesn't exist. If this Nar Herder instance isn't mirroring another, an empty database will be created."
  49804. msgstr ""
  49805. #. type: item
  49806. #: guix-git/doc/guix.texi:33796
  49807. #, no-wrap
  49808. msgid "@code{database-dump} (default: @code{\"/var/lib/nar-herder/nar_herder_dump.db\"})"
  49809. msgstr ""
  49810. #. type: table
  49811. #: guix-git/doc/guix.texi:33800
  49812. msgid "Location of the database dump. This is created and regularly updated by taking a copy of the database. This is the version of the database that is available to download."
  49813. msgstr ""
  49814. #. type: item
  49815. #: guix-git/doc/guix.texi:33801
  49816. #, no-wrap
  49817. msgid "@code{storage} (default: @code{#f})"
  49818. msgstr ""
  49819. #. type: table
  49820. #: guix-git/doc/guix.texi:33803
  49821. msgid "Optional location in which to store nars."
  49822. msgstr ""
  49823. #. type: item
  49824. #: guix-git/doc/guix.texi:33804
  49825. #, no-wrap
  49826. msgid "@code{storage-limit} (default: @code{\"none\"})"
  49827. msgstr ""
  49828. #. type: table
  49829. #: guix-git/doc/guix.texi:33807
  49830. msgid "Limit in bytes for the nars stored in the storage location. This can also be set to ``none'' so that there is no limit."
  49831. msgstr ""
  49832. #. type: table
  49833. #: guix-git/doc/guix.texi:33810
  49834. msgid "When the storage location exceeds this size, nars are removed according to the nar removal criteria."
  49835. msgstr ""
  49836. #. type: item
  49837. #: guix-git/doc/guix.texi:33811
  49838. #, no-wrap
  49839. msgid "@code{storage-nar-removal-criteria} (default: @code{'()})"
  49840. msgstr ""
  49841. #. type: table
  49842. #: guix-git/doc/guix.texi:33814
  49843. msgid "Criteria used to remove nars from the storage location. These are used in conjunction with the storage limit."
  49844. msgstr ""
  49845. #. type: table
  49846. #: guix-git/doc/guix.texi:33819
  49847. msgid "When the storage location exceeds the storage limit size, nars will be checked against the nar removal criteria and if any of the criteria match, they will be removed. This will continue until the storage location is below the storage limit size."
  49848. msgstr ""
  49849. #. type: table
  49850. #: guix-git/doc/guix.texi:33823
  49851. msgid "Each criteria is specified by a string, then an equals sign, then another string. Currently, only one criteria is supported, checking if a nar is stored on another Nar Herder instance."
  49852. msgstr ""
  49853. #. type: table
  49854. #: guix-git/doc/guix.texi:33831
  49855. msgid "This allows the user's Guix to keep substitute information in cache for @var{ttl}."
  49856. msgstr ""
  49857. #. type: cindex
  49858. #: guix-git/doc/guix.texi:33844
  49859. #, no-wrap
  49860. msgid "oom"
  49861. msgstr ""
  49862. #. type: cindex
  49863. #: guix-git/doc/guix.texi:33845
  49864. #, no-wrap
  49865. msgid "out of memory killer"
  49866. msgstr ""
  49867. #. type: cindex
  49868. #: guix-git/doc/guix.texi:33846
  49869. #, no-wrap
  49870. msgid "earlyoom"
  49871. msgstr ""
  49872. #. type: cindex
  49873. #: guix-git/doc/guix.texi:33847
  49874. #, no-wrap
  49875. msgid "early out of memory daemon"
  49876. msgstr ""
  49877. #. type: subsubheading
  49878. #: guix-git/doc/guix.texi:33848
  49879. #, no-wrap
  49880. msgid "Early OOM Service"
  49881. msgstr ""
  49882. #. type: Plain text
  49883. #: guix-git/doc/guix.texi:33855
  49884. 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."
  49885. msgstr ""
  49886. #. type: deffn
  49887. #: guix-git/doc/guix.texi:33856
  49888. #, no-wrap
  49889. msgid "{Scheme Variable} earlyoom-service-type"
  49890. msgstr ""
  49891. #. type: deffn
  49892. #: guix-git/doc/guix.texi:33861
  49893. 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:"
  49894. msgstr ""
  49895. #. type: lisp
  49896. #: guix-git/doc/guix.texi:33864
  49897. #, no-wrap
  49898. msgid "(service earlyoom-service-type)\n"
  49899. msgstr ""
  49900. #. type: deftp
  49901. #: guix-git/doc/guix.texi:33867
  49902. #, no-wrap
  49903. msgid "{Data Type} earlyoom-configuration"
  49904. msgstr ""
  49905. #. type: deftp
  49906. #: guix-git/doc/guix.texi:33869
  49907. msgid "This is the configuration record for the @code{earlyoom-service-type}."
  49908. msgstr ""
  49909. #. type: item
  49910. #: guix-git/doc/guix.texi:33871
  49911. #, no-wrap
  49912. msgid "@code{earlyoom} (default: @var{earlyoom})"
  49913. msgstr ""
  49914. #. type: table
  49915. #: guix-git/doc/guix.texi:33873
  49916. msgid "The Earlyoom package to use."
  49917. msgstr ""
  49918. #. type: item
  49919. #: guix-git/doc/guix.texi:33874
  49920. #, no-wrap
  49921. msgid "@code{minimum-available-memory} (default: @code{10})"
  49922. msgstr ""
  49923. #. type: table
  49924. #: guix-git/doc/guix.texi:33876
  49925. msgid "The threshold for the minimum @emph{available} memory, in percentages."
  49926. msgstr ""
  49927. #. type: item
  49928. #: guix-git/doc/guix.texi:33877
  49929. #, no-wrap
  49930. msgid "@code{minimum-free-swap} (default: @code{10})"
  49931. msgstr ""
  49932. #. type: table
  49933. #: guix-git/doc/guix.texi:33879
  49934. msgid "The threshold for the minimum free swap memory, in percentages."
  49935. msgstr ""
  49936. #. type: item
  49937. #: guix-git/doc/guix.texi:33880
  49938. #, no-wrap
  49939. msgid "@code{prefer-regexp} (default: @code{#f})"
  49940. msgstr ""
  49941. #. type: table
  49942. #: guix-git/doc/guix.texi:33883
  49943. msgid "A regular expression (as a string) to match the names of the processes that should be preferably killed."
  49944. msgstr ""
  49945. #. type: item
  49946. #: guix-git/doc/guix.texi:33884
  49947. #, no-wrap
  49948. msgid "@code{avoid-regexp} (default: @code{#f})"
  49949. msgstr ""
  49950. #. type: table
  49951. #: guix-git/doc/guix.texi:33887
  49952. msgid "A regular expression (as a string) to match the names of the processes that should @emph{not} be killed."
  49953. msgstr ""
  49954. #. type: item
  49955. #: guix-git/doc/guix.texi:33888
  49956. #, no-wrap
  49957. msgid "@code{memory-report-interval} (default: @code{0})"
  49958. msgstr ""
  49959. #. type: table
  49960. #: guix-git/doc/guix.texi:33891
  49961. msgid "The interval in seconds at which a memory report is printed. It is disabled by default."
  49962. msgstr ""
  49963. #. type: item
  49964. #: guix-git/doc/guix.texi:33892
  49965. #, no-wrap
  49966. msgid "@code{ignore-positive-oom-score-adj?} (default: @code{#f})"
  49967. msgstr ""
  49968. #. type: table
  49969. #: guix-git/doc/guix.texi:33895
  49970. msgid "A boolean indicating whether the positive adjustments set in @file{/proc/*/oom_score_adj} should be ignored."
  49971. msgstr ""
  49972. #. type: item
  49973. #: guix-git/doc/guix.texi:33896
  49974. #, no-wrap
  49975. msgid "@code{show-debug-messages?} (default: @code{#f})"
  49976. msgstr ""
  49977. #. type: table
  49978. #: guix-git/doc/guix.texi:33899
  49979. msgid "A boolean indicating whether debug messages should be printed. The logs are saved at @file{/var/log/earlyoom.log}."
  49980. msgstr ""
  49981. #. type: item
  49982. #: guix-git/doc/guix.texi:33900
  49983. #, no-wrap
  49984. msgid "@code{send-notification-command} (default: @code{#f})"
  49985. msgstr ""
  49986. #. type: table
  49987. #: guix-git/doc/guix.texi:33903
  49988. msgid "This can be used to provide a custom command used for sending notifications."
  49989. msgstr ""
  49990. #. type: cindex
  49991. #: guix-git/doc/guix.texi:33906
  49992. #, no-wrap
  49993. msgid "modprobe"
  49994. msgstr ""
  49995. #. type: cindex
  49996. #: guix-git/doc/guix.texi:33907
  49997. #, no-wrap
  49998. msgid "kernel module loader"
  49999. msgstr ""
  50000. #. type: subsubheading
  50001. #: guix-git/doc/guix.texi:33908
  50002. #, no-wrap
  50003. msgid "Kernel Module Loader Service"
  50004. msgstr ""
  50005. #. type: Plain text
  50006. #: guix-git/doc/guix.texi:33914
  50007. 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}."
  50008. msgstr ""
  50009. #. type: deffn
  50010. #: guix-git/doc/guix.texi:33915
  50011. #, no-wrap
  50012. msgid "{Scheme Variable} kernel-module-loader-service-type"
  50013. msgstr ""
  50014. #. type: deffn
  50015. #: guix-git/doc/guix.texi:33921
  50016. 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:"
  50017. msgstr ""
  50018. #. type: lisp
  50019. #: guix-git/doc/guix.texi:33926
  50020. #, no-wrap
  50021. msgid ""
  50022. "(use-modules (gnu) (gnu services))\n"
  50023. "(use-package-modules linux)\n"
  50024. "(use-service-modules linux)\n"
  50025. "\n"
  50026. msgstr ""
  50027. #. type: lisp
  50028. #: guix-git/doc/guix.texi:33930
  50029. #, no-wrap
  50030. msgid ""
  50031. "(define ddcci-config\n"
  50032. " (plain-file \"ddcci.conf\"\n"
  50033. " \"options ddcci dyndbg delay=120\"))\n"
  50034. "\n"
  50035. msgstr ""
  50036. #. type: lisp
  50037. #: guix-git/doc/guix.texi:33940
  50038. #, no-wrap
  50039. msgid ""
  50040. "(operating-system\n"
  50041. " ...\n"
  50042. " (services (cons* (service kernel-module-loader-service-type\n"
  50043. " '(\"ddcci\" \"ddcci_backlight\"))\n"
  50044. " (simple-service 'ddcci-config etc-service-type\n"
  50045. " (list `(\"modprobe.d/ddcci.conf\"\n"
  50046. " ,ddcci-config)))\n"
  50047. " %base-services))\n"
  50048. " (kernel-loadable-modules (list ddcci-driver-linux)))\n"
  50049. msgstr ""
  50050. #. type: cindex
  50051. #: guix-git/doc/guix.texi:33943
  50052. #, no-wrap
  50053. msgid "rasdaemon"
  50054. msgstr ""
  50055. #. type: cindex
  50056. #: guix-git/doc/guix.texi:33944
  50057. #, no-wrap
  50058. msgid "Platform Reliability, Availability and Serviceability daemon"
  50059. msgstr ""
  50060. #. type: subsubheading
  50061. #: guix-git/doc/guix.texi:33945
  50062. #, no-wrap
  50063. msgid "Rasdaemon Service"
  50064. msgstr ""
  50065. #. type: Plain text
  50066. #: guix-git/doc/guix.texi:33950
  50067. 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."
  50068. msgstr ""
  50069. #. type: Plain text
  50070. #: guix-git/doc/guix.texi:33953
  50071. msgid "Reliability, Availability and Serviceability is a concept used on servers meant to measure their robustness."
  50072. msgstr ""
  50073. #. type: Plain text
  50074. #: guix-git/doc/guix.texi:33956
  50075. msgid "@strong{Relability} is the probability that a system will produce correct outputs:"
  50076. msgstr ""
  50077. #. type: item
  50078. #: guix-git/doc/guix.texi:33958
  50079. #, no-wrap
  50080. msgid "Generally measured as Mean Time Between Failures (MTBF), and"
  50081. msgstr ""
  50082. #. type: item
  50083. #: guix-git/doc/guix.texi:33959
  50084. #, no-wrap
  50085. msgid "Enhanced by features that help to avoid, detect and repair hardware"
  50086. msgstr ""
  50087. #. type: itemize
  50088. #: guix-git/doc/guix.texi:33961
  50089. msgid "faults"
  50090. msgstr ""
  50091. #. type: Plain text
  50092. #: guix-git/doc/guix.texi:33965
  50093. msgid "@strong{Availability} is the probability that a system is operational at a given time:"
  50094. msgstr ""
  50095. #. type: item
  50096. #: guix-git/doc/guix.texi:33967
  50097. #, no-wrap
  50098. msgid "Generally measured as a percentage of downtime per a period of time, and"
  50099. msgstr ""
  50100. #. type: item
  50101. #: guix-git/doc/guix.texi:33968
  50102. #, no-wrap
  50103. msgid "Often uses mechanisms to detect and correct hardware faults in runtime."
  50104. msgstr ""
  50105. #. type: Plain text
  50106. #: guix-git/doc/guix.texi:33973
  50107. msgid "@strong{Serviceability} is the simplicity and speed with which a system can be repaired or maintained:"
  50108. msgstr ""
  50109. #. type: item
  50110. #: guix-git/doc/guix.texi:33975
  50111. #, no-wrap
  50112. msgid "Generally measured on Mean Time Between Repair (MTBR)."
  50113. msgstr ""
  50114. #. type: Plain text
  50115. #: guix-git/doc/guix.texi:33980
  50116. msgid "Among the monitoring measures, the most usual ones include:"
  50117. msgstr ""
  50118. #. type: item
  50119. #: guix-git/doc/guix.texi:33982
  50120. #, no-wrap
  50121. msgid "CPU – detect errors at instruction execution and at L1/L2/L3 caches;"
  50122. msgstr ""
  50123. #. type: item
  50124. #: guix-git/doc/guix.texi:33983
  50125. #, no-wrap
  50126. msgid "Memory – add error correction logic (ECC) to detect and correct errors;"
  50127. msgstr ""
  50128. #. type: item
  50129. #: guix-git/doc/guix.texi:33984
  50130. #, no-wrap
  50131. msgid "I/O – add CRC checksums for transferred data;"
  50132. msgstr ""
  50133. #. type: item
  50134. #: guix-git/doc/guix.texi:33985
  50135. #, no-wrap
  50136. msgid "Storage – RAID, journal file systems, checksums, Self-Monitoring,"
  50137. msgstr ""
  50138. #. type: itemize
  50139. #: guix-git/doc/guix.texi:33987
  50140. msgid "Analysis and Reporting Technology (SMART)."
  50141. msgstr ""
  50142. #. type: Plain text
  50143. #: guix-git/doc/guix.texi:33993
  50144. 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."
  50145. msgstr ""
  50146. #. type: Plain text
  50147. #: guix-git/doc/guix.texi:33997
  50148. 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}."
  50149. msgstr ""
  50150. #. type: defvr
  50151. #: guix-git/doc/guix.texi:33998
  50152. #, no-wrap
  50153. msgid "{Scheme Variable} rasdaemon-service-type"
  50154. msgstr ""
  50155. #. type: defvr
  50156. #: guix-git/doc/guix.texi:34001
  50157. msgid "Service type for the @command{rasdaemon} service. It accepts a @code{rasdaemon-configuration} object. Instantiating like"
  50158. msgstr ""
  50159. #. type: lisp
  50160. #: guix-git/doc/guix.texi:34004
  50161. #, no-wrap
  50162. msgid "(service rasdaemon-service-type)\n"
  50163. msgstr ""
  50164. #. type: defvr
  50165. #: guix-git/doc/guix.texi:34008
  50166. msgid "will load with a default configuration, which monitors all events and logs to syslogd."
  50167. msgstr ""
  50168. #. type: deftp
  50169. #: guix-git/doc/guix.texi:34010
  50170. #, no-wrap
  50171. msgid "{Data Type} rasdaemon-configuration"
  50172. msgstr ""
  50173. #. type: deftp
  50174. #: guix-git/doc/guix.texi:34012
  50175. msgid "The data type representing the configuration of @command{rasdaemon}."
  50176. msgstr ""
  50177. #. type: item
  50178. #: guix-git/doc/guix.texi:34014
  50179. #, no-wrap
  50180. msgid "@code{record?} (default: @code{#f})"
  50181. msgstr ""
  50182. #. type: table
  50183. #: guix-git/doc/guix.texi:34019
  50184. 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}."
  50185. msgstr ""
  50186. #. type: cindex
  50187. #: guix-git/doc/guix.texi:34023
  50188. #, no-wrap
  50189. msgid "zram"
  50190. msgstr ""
  50191. #. type: cindex
  50192. #: guix-git/doc/guix.texi:34024
  50193. #, no-wrap
  50194. msgid "compressed swap"
  50195. msgstr ""
  50196. #. type: cindex
  50197. #: guix-git/doc/guix.texi:34025
  50198. #, no-wrap
  50199. msgid "Compressed RAM-based block devices"
  50200. msgstr ""
  50201. #. type: subsubheading
  50202. #: guix-git/doc/guix.texi:34026
  50203. #, no-wrap
  50204. msgid "Zram Device Service"
  50205. msgstr ""
  50206. #. type: Plain text
  50207. #: guix-git/doc/guix.texi:34032
  50208. 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."
  50209. msgstr ""
  50210. #. type: deffn
  50211. #: guix-git/doc/guix.texi:34033
  50212. #, no-wrap
  50213. msgid "{Scheme Variable} zram-device-service-type"
  50214. msgstr ""
  50215. #. type: deffn
  50216. #: guix-git/doc/guix.texi:34037
  50217. 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."
  50218. msgstr ""
  50219. #. type: deftp
  50220. #: guix-git/doc/guix.texi:34038
  50221. #, no-wrap
  50222. msgid "{Data Type} zram-device-configuration"
  50223. msgstr ""
  50224. #. type: deftp
  50225. #: guix-git/doc/guix.texi:34041
  50226. msgid "This is the data type representing the configuration for the zram-device service."
  50227. msgstr ""
  50228. #. type: item
  50229. #: guix-git/doc/guix.texi:34043
  50230. #, no-wrap
  50231. msgid "@code{size} (default @code{\"1G\"})"
  50232. msgstr ""
  50233. #. type: table
  50234. #: guix-git/doc/guix.texi:34047
  50235. 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}."
  50236. msgstr ""
  50237. #. type: item
  50238. #: guix-git/doc/guix.texi:34047
  50239. #, no-wrap
  50240. msgid "@code{compression-algorithm} (default @code{'lzo})"
  50241. msgstr ""
  50242. #. type: table
  50243. #: guix-git/doc/guix.texi:34051
  50244. 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}."
  50245. msgstr ""
  50246. #. type: item
  50247. #: guix-git/doc/guix.texi:34051
  50248. #, no-wrap
  50249. msgid "@code{memory-limit} (default @code{0})"
  50250. msgstr ""
  50251. #. type: table
  50252. #: guix-git/doc/guix.texi:34058
  50253. 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\"}."
  50254. msgstr ""
  50255. #. type: item
  50256. #: guix-git/doc/guix.texi:34058
  50257. #, no-wrap
  50258. msgid "@code{priority} (default @code{-1})"
  50259. msgstr ""
  50260. #. type: table
  50261. #: guix-git/doc/guix.texi:34063
  50262. 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."
  50263. msgstr ""
  50264. #. type: defvr
  50265. #: guix-git/doc/guix.texi:34071
  50266. #, no-wrap
  50267. msgid "{Scheme Variable} hurd-console-service-type"
  50268. msgstr ""
  50269. #. type: defvr
  50270. #: guix-git/doc/guix.texi:34073
  50271. msgid "This service starts the fancy @code{VGA} console client on the Hurd."
  50272. msgstr ""
  50273. #. type: defvr
  50274. #: guix-git/doc/guix.texi:34075
  50275. msgid "The service's value is a @code{hurd-console-configuration} record."
  50276. msgstr ""
  50277. #. type: deftp
  50278. #: guix-git/doc/guix.texi:34077
  50279. #, no-wrap
  50280. msgid "{Data Type} hurd-console-configuration"
  50281. msgstr ""
  50282. #. type: deftp
  50283. #: guix-git/doc/guix.texi:34080
  50284. msgid "This is the data type representing the configuration for the hurd-console-service."
  50285. msgstr ""
  50286. #. type: item
  50287. #: guix-git/doc/guix.texi:34082 guix-git/doc/guix.texi:34098
  50288. #, no-wrap
  50289. msgid "@code{hurd} (default: @var{hurd})"
  50290. msgstr ""
  50291. #. type: table
  50292. #: guix-git/doc/guix.texi:34084 guix-git/doc/guix.texi:34100
  50293. msgid "The Hurd package to use."
  50294. msgstr ""
  50295. #. type: defvr
  50296. #: guix-git/doc/guix.texi:34087
  50297. #, no-wrap
  50298. msgid "{Scheme Variable} hurd-getty-service-type"
  50299. msgstr ""
  50300. #. type: defvr
  50301. #: guix-git/doc/guix.texi:34089
  50302. msgid "This service starts a tty using the Hurd @code{getty} program."
  50303. msgstr ""
  50304. #. type: defvr
  50305. #: guix-git/doc/guix.texi:34091
  50306. msgid "The service's value is a @code{hurd-getty-configuration} record."
  50307. msgstr ""
  50308. #. type: deftp
  50309. #: guix-git/doc/guix.texi:34093
  50310. #, no-wrap
  50311. msgid "{Data Type} hurd-getty-configuration"
  50312. msgstr ""
  50313. #. type: deftp
  50314. #: guix-git/doc/guix.texi:34096
  50315. msgid "This is the data type representing the configuration for the hurd-getty-service."
  50316. msgstr ""
  50317. #. type: table
  50318. #: guix-git/doc/guix.texi:34103
  50319. msgid "The name of the console this Getty runs on---e.g., @code{\"tty1\"}."
  50320. msgstr ""
  50321. #. type: item
  50322. #: guix-git/doc/guix.texi:34104
  50323. #, no-wrap
  50324. msgid "@code{baud-rate} (default: @code{38400})"
  50325. msgstr ""
  50326. #. type: table
  50327. #: guix-git/doc/guix.texi:34106
  50328. msgid "An integer specifying the baud rate of the tty."
  50329. msgstr ""
  50330. #. type: cindex
  50331. #: guix-git/doc/guix.texi:34113
  50332. #, no-wrap
  50333. msgid "fingerprint"
  50334. msgstr "sormenjälki"
  50335. #. type: subsubheading
  50336. #: guix-git/doc/guix.texi:34114
  50337. #, no-wrap
  50338. msgid "Fingerprint Service"
  50339. msgstr ""
  50340. #. type: Plain text
  50341. #: guix-git/doc/guix.texi:34118
  50342. msgid "The @code{(gnu services authentication)} module provides a DBus service to read and identify fingerprints via a fingerprint sensor."
  50343. msgstr ""
  50344. #. type: defvr
  50345. #: guix-git/doc/guix.texi:34119
  50346. #, no-wrap
  50347. msgid "{Scheme Variable} fprintd-service-type"
  50348. msgstr ""
  50349. #. type: defvr
  50350. #: guix-git/doc/guix.texi:34122
  50351. msgid "The service type for @command{fprintd}, which provides the fingerprint reading capability."
  50352. msgstr ""
  50353. #. type: lisp
  50354. #: guix-git/doc/guix.texi:34125
  50355. #, no-wrap
  50356. msgid "(service fprintd-service-type)\n"
  50357. msgstr ""
  50358. #. type: cindex
  50359. #: guix-git/doc/guix.texi:34128
  50360. #, no-wrap
  50361. msgid "sysctl"
  50362. msgstr ""
  50363. #. type: subsubheading
  50364. #: guix-git/doc/guix.texi:34129
  50365. #, no-wrap
  50366. msgid "System Control Service"
  50367. msgstr ""
  50368. #. type: Plain text
  50369. #: guix-git/doc/guix.texi:34133
  50370. msgid "The @code{(gnu services sysctl)} provides a service to configure kernel parameters at boot."
  50371. msgstr ""
  50372. #. type: defvr
  50373. #: guix-git/doc/guix.texi:34134
  50374. #, no-wrap
  50375. msgid "{Scheme Variable} sysctl-service-type"
  50376. msgstr ""
  50377. #. type: defvr
  50378. #: guix-git/doc/guix.texi:34138
  50379. msgid "The service type for @command{sysctl}, which modifies kernel parameters under @file{/proc/sys/}. To enable IPv4 forwarding, it can be instantiated as:"
  50380. msgstr ""
  50381. #. type: lisp
  50382. #: guix-git/doc/guix.texi:34143
  50383. #, no-wrap
  50384. msgid ""
  50385. "(service sysctl-service-type\n"
  50386. " (sysctl-configuration\n"
  50387. " (settings '((\"net.ipv4.ip_forward\" . \"1\")))))\n"
  50388. msgstr ""
  50389. #. type: defvr
  50390. #: guix-git/doc/guix.texi:34150
  50391. 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}})."
  50392. msgstr ""
  50393. #. type: lisp
  50394. #: guix-git/doc/guix.texi:34157
  50395. #, no-wrap
  50396. msgid ""
  50397. "(modify-services %base-services\n"
  50398. " (sysctl-service-type config =>\n"
  50399. " (sysctl-configuration\n"
  50400. " (settings (append '((\"net.ipv4.ip_forward\" . \"1\"))\n"
  50401. " %default-sysctl-settings)))))\n"
  50402. msgstr ""
  50403. #. type: deftp
  50404. #: guix-git/doc/guix.texi:34161
  50405. #, no-wrap
  50406. msgid "{Data Type} sysctl-configuration"
  50407. msgstr ""
  50408. #. type: deftp
  50409. #: guix-git/doc/guix.texi:34163
  50410. msgid "The data type representing the configuration of @command{sysctl}."
  50411. msgstr ""
  50412. #. type: item
  50413. #: guix-git/doc/guix.texi:34165
  50414. #, no-wrap
  50415. msgid "@code{sysctl} (default: @code{(file-append procps \"/sbin/sysctl\"})"
  50416. msgstr ""
  50417. #. type: table
  50418. #: guix-git/doc/guix.texi:34167
  50419. msgid "The @command{sysctl} executable to use."
  50420. msgstr ""
  50421. #. type: item
  50422. #: guix-git/doc/guix.texi:34168
  50423. #, no-wrap
  50424. msgid "@code{settings} (default: @code{%default-sysctl-settings})"
  50425. msgstr ""
  50426. #. type: table
  50427. #: guix-git/doc/guix.texi:34170
  50428. msgid "An association list specifies kernel parameters and their values."
  50429. msgstr ""
  50430. #. type: defvr
  50431. #: guix-git/doc/guix.texi:34173
  50432. #, no-wrap
  50433. msgid "{Scheme Variable} %default-sysctl-settings"
  50434. msgstr ""
  50435. #. type: defvr
  50436. #: guix-git/doc/guix.texi:34176
  50437. msgid "An association list specifying the default @command{sysctl} parameters on Guix System."
  50438. msgstr ""
  50439. #. type: cindex
  50440. #: guix-git/doc/guix.texi:34178
  50441. #, no-wrap
  50442. msgid "pcscd"
  50443. msgstr ""
  50444. #. type: subsubheading
  50445. #: guix-git/doc/guix.texi:34179
  50446. #, no-wrap
  50447. msgid "PC/SC Smart Card Daemon Service"
  50448. msgstr ""
  50449. #. type: Plain text
  50450. #: guix-git/doc/guix.texi:34186
  50451. 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."
  50452. msgstr ""
  50453. #. type: defvr
  50454. #: guix-git/doc/guix.texi:34187
  50455. #, no-wrap
  50456. msgid "{Scheme Variable} pcscd-service-type"
  50457. msgstr ""
  50458. #. type: defvr
  50459. #: guix-git/doc/guix.texi:34191
  50460. 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:"
  50461. msgstr ""
  50462. #. type: lisp
  50463. #: guix-git/doc/guix.texi:34194
  50464. #, no-wrap
  50465. msgid "(service pcscd-service-type)\n"
  50466. msgstr ""
  50467. #. type: deftp
  50468. #: guix-git/doc/guix.texi:34197
  50469. #, no-wrap
  50470. msgid "{Data Type} pcscd-configuration"
  50471. msgstr ""
  50472. #. type: deftp
  50473. #: guix-git/doc/guix.texi:34199
  50474. msgid "The data type representing the configuration of @command{pcscd}."
  50475. msgstr ""
  50476. #. type: item
  50477. #: guix-git/doc/guix.texi:34201
  50478. #, no-wrap
  50479. msgid "@code{pcsc-lite} (default: @code{pcsc-lite})"
  50480. msgstr ""
  50481. #. type: table
  50482. #: guix-git/doc/guix.texi:34203
  50483. msgid "The pcsc-lite package that provides pcscd."
  50484. msgstr ""
  50485. #. type: item
  50486. #: guix-git/doc/guix.texi:34203
  50487. #, no-wrap
  50488. msgid "@code{usb-drivers} (default: @code{(list ccid)})"
  50489. msgstr ""
  50490. #. type: table
  50491. #: guix-git/doc/guix.texi:34206
  50492. 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."
  50493. msgstr ""
  50494. #. type: cindex
  50495. #: guix-git/doc/guix.texi:34209
  50496. #, no-wrap
  50497. msgid "lirc"
  50498. msgstr ""
  50499. #. type: subsubheading
  50500. #: guix-git/doc/guix.texi:34210
  50501. #, no-wrap
  50502. msgid "Lirc Service"
  50503. msgstr ""
  50504. #. type: Plain text
  50505. #: guix-git/doc/guix.texi:34213
  50506. msgid "The @code{(gnu services lirc)} module provides the following service."
  50507. msgstr ""
  50508. #. type: deffn
  50509. #: guix-git/doc/guix.texi:34214
  50510. #, no-wrap
  50511. msgid "{Scheme Procedure} lirc-service [#:lirc lirc] @"
  50512. msgstr ""
  50513. #. type: deffn
  50514. #: guix-git/doc/guix.texi:34219
  50515. 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."
  50516. msgstr ""
  50517. #. type: deffn
  50518. #: guix-git/doc/guix.texi:34223
  50519. msgid "Optionally, @var{device}, @var{driver} and @var{config-file} (configuration file name) may be specified. See @command{lircd} manual for details."
  50520. msgstr ""
  50521. #. type: deffn
  50522. #: guix-git/doc/guix.texi:34226
  50523. msgid "Finally, @var{extra-options} is a list of additional command-line options passed to @command{lircd}."
  50524. msgstr ""
  50525. #. type: cindex
  50526. #: guix-git/doc/guix.texi:34228
  50527. #, no-wrap
  50528. msgid "spice"
  50529. msgstr ""
  50530. #. type: subsubheading
  50531. #: guix-git/doc/guix.texi:34229
  50532. #, no-wrap
  50533. msgid "Spice Service"
  50534. msgstr ""
  50535. #. type: Plain text
  50536. #: guix-git/doc/guix.texi:34232
  50537. msgid "The @code{(gnu services spice)} module provides the following service."
  50538. msgstr ""
  50539. #. type: deffn
  50540. #: guix-git/doc/guix.texi:34233
  50541. #, no-wrap
  50542. msgid "{Scheme Procedure} spice-vdagent-service [#:spice-vdagent]"
  50543. msgstr ""
  50544. #. type: deffn
  50545. #: guix-git/doc/guix.texi:34237
  50546. 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."
  50547. msgstr ""
  50548. #. type: cindex
  50549. #: guix-git/doc/guix.texi:34239
  50550. #, no-wrap
  50551. msgid "inputattach"
  50552. msgstr ""
  50553. #. type: subsubheading
  50554. #: guix-git/doc/guix.texi:34240
  50555. #, no-wrap
  50556. msgid "inputattach Service"
  50557. msgstr ""
  50558. #. type: cindex
  50559. #: guix-git/doc/guix.texi:34242
  50560. #, no-wrap
  50561. msgid "tablet input, for Xorg"
  50562. msgstr ""
  50563. #. type: cindex
  50564. #: guix-git/doc/guix.texi:34243
  50565. #, no-wrap
  50566. msgid "touchscreen input, for Xorg"
  50567. msgstr ""
  50568. #. type: Plain text
  50569. #: guix-git/doc/guix.texi:34247
  50570. 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."
  50571. msgstr ""
  50572. #. type: deffn
  50573. #: guix-git/doc/guix.texi:34248
  50574. #, no-wrap
  50575. msgid "{Scheme Variable} inputattach-service-type"
  50576. msgstr ""
  50577. #. type: deffn
  50578. #: guix-git/doc/guix.texi:34251
  50579. msgid "Type of a service that runs @command{inputattach} on a device and dispatches events from it."
  50580. msgstr ""
  50581. #. type: deftp
  50582. #: guix-git/doc/guix.texi:34253
  50583. #, no-wrap
  50584. msgid "{Data Type} inputattach-configuration"
  50585. msgstr ""
  50586. #. type: item
  50587. #: guix-git/doc/guix.texi:34255
  50588. #, no-wrap
  50589. msgid "@code{device-type} (default: @code{\"wacom\"})"
  50590. msgstr ""
  50591. #. type: table
  50592. #: guix-git/doc/guix.texi:34258
  50593. 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."
  50594. msgstr ""
  50595. #. type: item
  50596. #: guix-git/doc/guix.texi:34259
  50597. #, no-wrap
  50598. msgid "@code{device} (default: @code{\"/dev/ttyS0\"})"
  50599. msgstr ""
  50600. #. type: table
  50601. #: guix-git/doc/guix.texi:34261
  50602. msgid "The device file to connect to the device."
  50603. msgstr ""
  50604. #. type: table
  50605. #: guix-git/doc/guix.texi:34265
  50606. msgid "Baud rate to use for the serial connection. Should be a number or @code{#f}."
  50607. msgstr ""
  50608. #. type: item
  50609. #: guix-git/doc/guix.texi:34266
  50610. #, no-wrap
  50611. msgid "@code{log-file} (default: @code{#f})"
  50612. msgstr ""
  50613. #. type: table
  50614. #: guix-git/doc/guix.texi:34268
  50615. msgid "If true, this must be the name of a file to log messages to."
  50616. msgstr ""
  50617. #. type: subsubheading
  50618. #: guix-git/doc/guix.texi:34271
  50619. #, no-wrap
  50620. msgid "Dictionary Service"
  50621. msgstr ""
  50622. #. type: cindex
  50623. #: guix-git/doc/guix.texi:34272
  50624. #, no-wrap
  50625. msgid "dictionary"
  50626. msgstr ""
  50627. #. type: Plain text
  50628. #: guix-git/doc/guix.texi:34274
  50629. msgid "The @code{(gnu services dict)} module provides the following service:"
  50630. msgstr ""
  50631. #. type: defvr
  50632. #: guix-git/doc/guix.texi:34275
  50633. #, no-wrap
  50634. msgid "{Scheme Variable} dicod-service-type"
  50635. msgstr ""
  50636. #. type: defvr
  50637. #: guix-git/doc/guix.texi:34278
  50638. 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})."
  50639. msgstr ""
  50640. #. type: deffn
  50641. #: guix-git/doc/guix.texi:34280
  50642. #, no-wrap
  50643. msgid "{Scheme Procedure} dicod-service [#:config (dicod-configuration)]"
  50644. msgstr ""
  50645. #. type: deffn
  50646. #: guix-git/doc/guix.texi:34283
  50647. msgid "Return a service that runs the @command{dicod} daemon, an implementation of DICT server (@pxref{Dicod,,, dico, GNU Dico Manual})."
  50648. msgstr ""
  50649. #. type: deffn
  50650. #: guix-git/doc/guix.texi:34287
  50651. 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."
  50652. msgstr ""
  50653. #. type: deffn
  50654. #: guix-git/doc/guix.texi:34291
  50655. 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})."
  50656. msgstr ""
  50657. #. type: deftp
  50658. #: guix-git/doc/guix.texi:34293
  50659. #, no-wrap
  50660. msgid "{Data Type} dicod-configuration"
  50661. msgstr ""
  50662. #. type: deftp
  50663. #: guix-git/doc/guix.texi:34295
  50664. msgid "Data type representing the configuration of dicod."
  50665. msgstr ""
  50666. #. type: item
  50667. #: guix-git/doc/guix.texi:34297
  50668. #, no-wrap
  50669. msgid "@code{dico} (default: @var{dico})"
  50670. msgstr ""
  50671. #. type: table
  50672. #: guix-git/doc/guix.texi:34299
  50673. msgid "Package object of the GNU Dico dictionary server."
  50674. msgstr ""
  50675. #. type: item
  50676. #: guix-git/doc/guix.texi:34300
  50677. #, no-wrap
  50678. msgid "@code{interfaces} (default: @var{'(\"localhost\")})"
  50679. msgstr ""
  50680. #. type: table
  50681. #: guix-git/doc/guix.texi:34304
  50682. 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})."
  50683. msgstr ""
  50684. #. type: item
  50685. #: guix-git/doc/guix.texi:34305
  50686. #, no-wrap
  50687. msgid "@code{handlers} (default: @var{'()})"
  50688. msgstr ""
  50689. #. type: table
  50690. #: guix-git/doc/guix.texi:34307
  50691. msgid "List of @code{<dicod-handler>} objects denoting handlers (module instances)."
  50692. msgstr ""
  50693. #. type: item
  50694. #: guix-git/doc/guix.texi:34308
  50695. #, no-wrap
  50696. msgid "@code{databases} (default: @var{(list %dicod-database:gcide)})"
  50697. msgstr ""
  50698. #. type: table
  50699. #: guix-git/doc/guix.texi:34310
  50700. msgid "List of @code{<dicod-database>} objects denoting dictionaries to be served."
  50701. msgstr ""
  50702. #. type: deftp
  50703. #: guix-git/doc/guix.texi:34313
  50704. #, no-wrap
  50705. msgid "{Data Type} dicod-handler"
  50706. msgstr ""
  50707. #. type: deftp
  50708. #: guix-git/doc/guix.texi:34315
  50709. msgid "Data type representing a dictionary handler (module instance)."
  50710. msgstr ""
  50711. #. type: table
  50712. #: guix-git/doc/guix.texi:34319
  50713. msgid "Name of the handler (module instance)."
  50714. msgstr ""
  50715. #. type: item
  50716. #: guix-git/doc/guix.texi:34320
  50717. #, no-wrap
  50718. msgid "@code{module} (default: @var{#f})"
  50719. msgstr ""
  50720. #. type: table
  50721. #: guix-git/doc/guix.texi:34324
  50722. 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})."
  50723. msgstr ""
  50724. #. type: table
  50725. #: guix-git/doc/guix.texi:34327
  50726. msgid "List of strings or gexps representing the arguments for the module handler"
  50727. msgstr ""
  50728. #. type: deftp
  50729. #: guix-git/doc/guix.texi:34330
  50730. #, no-wrap
  50731. msgid "{Data Type} dicod-database"
  50732. msgstr ""
  50733. #. type: deftp
  50734. #: guix-git/doc/guix.texi:34332
  50735. msgid "Data type representing a dictionary database."
  50736. msgstr ""
  50737. #. type: table
  50738. #: guix-git/doc/guix.texi:34336
  50739. msgid "Name of the database, will be used in DICT commands."
  50740. msgstr ""
  50741. #. type: code{#1}
  50742. #: guix-git/doc/guix.texi:34337
  50743. #, no-wrap
  50744. msgid "handler"
  50745. msgstr ""
  50746. #. type: table
  50747. #: guix-git/doc/guix.texi:34340
  50748. msgid "Name of the dicod handler (module instance) used by this database (@pxref{Handlers,,, dico, GNU Dico Manual})."
  50749. msgstr ""
  50750. #. type: item
  50751. #: guix-git/doc/guix.texi:34341
  50752. #, no-wrap
  50753. msgid "@code{complex?} (default: @var{#f})"
  50754. msgstr ""
  50755. #. type: table
  50756. #: guix-git/doc/guix.texi:34344
  50757. msgid "Whether the database configuration complex. The complex configuration will need a corresponding @code{<dicod-handler>} object, otherwise not."
  50758. msgstr ""
  50759. #. type: table
  50760. #: guix-git/doc/guix.texi:34348
  50761. msgid "List of strings or gexps representing the arguments for the database (@pxref{Databases,,, dico, GNU Dico Manual})."
  50762. msgstr ""
  50763. #. type: defvr
  50764. #: guix-git/doc/guix.texi:34351
  50765. #, no-wrap
  50766. msgid "{Scheme Variable} %dicod-database:gcide"
  50767. msgstr ""
  50768. #. type: defvr
  50769. #: guix-git/doc/guix.texi:34354
  50770. msgid "A @code{<dicod-database>} object serving the GNU Collaborative International Dictionary of English using the @code{gcide} package."
  50771. msgstr ""
  50772. #. type: Plain text
  50773. #: guix-git/doc/guix.texi:34357
  50774. msgid "The following is an example @code{dicod-service} configuration."
  50775. msgstr ""
  50776. #. type: lisp
  50777. #: guix-git/doc/guix.texi:34372
  50778. #, no-wrap
  50779. msgid ""
  50780. "(dicod-service #:config\n"
  50781. " (dicod-configuration\n"
  50782. " (handlers (list (dicod-handler\n"
  50783. " (name \"wordnet\")\n"
  50784. " (module \"dictorg\")\n"
  50785. " (options\n"
  50786. " (list #~(string-append \"dbdir=\" #$wordnet))))))\n"
  50787. " (databases (list (dicod-database\n"
  50788. " (name \"wordnet\")\n"
  50789. " (complex? #t)\n"
  50790. " (handler \"wordnet\")\n"
  50791. " (options '(\"database=wn\")))\n"
  50792. " %dicod-database:gcide))))\n"
  50793. msgstr ""
  50794. #. type: cindex
  50795. #: guix-git/doc/guix.texi:34374
  50796. #, no-wrap
  50797. msgid "Docker"
  50798. msgstr "Docker"
  50799. #. type: subsubheading
  50800. #: guix-git/doc/guix.texi:34375
  50801. #, no-wrap
  50802. msgid "Docker Service"
  50803. msgstr ""
  50804. #. type: Plain text
  50805. #: guix-git/doc/guix.texi:34378
  50806. msgid "The @code{(gnu services docker)} module provides the following services."
  50807. msgstr ""
  50808. #. type: defvr
  50809. #: guix-git/doc/guix.texi:34379
  50810. #, no-wrap
  50811. msgid "{Scheme Variable} docker-service-type"
  50812. msgstr ""
  50813. #. type: defvr
  50814. #: guix-git/doc/guix.texi:34384
  50815. 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."
  50816. msgstr ""
  50817. #. type: deftp
  50818. #: guix-git/doc/guix.texi:34387
  50819. #, no-wrap
  50820. msgid "{Data Type} docker-configuration"
  50821. msgstr ""
  50822. #. type: deftp
  50823. #: guix-git/doc/guix.texi:34389
  50824. msgid "This is the data type representing the configuration of Docker and Containerd."
  50825. msgstr ""
  50826. #. type: item
  50827. #: guix-git/doc/guix.texi:34392
  50828. #, no-wrap
  50829. msgid "@code{docker} (default: @code{docker})"
  50830. msgstr ""
  50831. #. type: table
  50832. #: guix-git/doc/guix.texi:34394
  50833. msgid "The Docker daemon package to use."
  50834. msgstr ""
  50835. #. type: item
  50836. #: guix-git/doc/guix.texi:34395
  50837. #, no-wrap
  50838. msgid "@code{docker-cli} (default: @code{docker-cli})"
  50839. msgstr ""
  50840. #. type: table
  50841. #: guix-git/doc/guix.texi:34397
  50842. msgid "The Docker client package to use."
  50843. msgstr ""
  50844. #. type: item
  50845. #: guix-git/doc/guix.texi:34398
  50846. #, no-wrap
  50847. msgid "@code{containerd} (default: @var{containerd})"
  50848. msgstr ""
  50849. #. type: table
  50850. #: guix-git/doc/guix.texi:34400
  50851. msgid "The Containerd package to use."
  50852. msgstr ""
  50853. #. type: item
  50854. #: guix-git/doc/guix.texi:34401
  50855. #, no-wrap
  50856. msgid "@code{proxy} (default @var{docker-libnetwork-cmd-proxy})"
  50857. msgstr ""
  50858. #. type: table
  50859. #: guix-git/doc/guix.texi:34403
  50860. msgid "The Docker user-land networking proxy package to use."
  50861. msgstr ""
  50862. #. type: item
  50863. #: guix-git/doc/guix.texi:34404
  50864. #, no-wrap
  50865. msgid "@code{enable-proxy?} (default @code{#t})"
  50866. msgstr ""
  50867. #. type: table
  50868. #: guix-git/doc/guix.texi:34406
  50869. msgid "Enable or disable the use of the Docker user-land networking proxy."
  50870. msgstr ""
  50871. #. type: item
  50872. #: guix-git/doc/guix.texi:34407
  50873. #, no-wrap
  50874. msgid "@code{debug?} (default @code{#f})"
  50875. msgstr ""
  50876. #. type: table
  50877. #: guix-git/doc/guix.texi:34409
  50878. msgid "Enable or disable debug output."
  50879. msgstr ""
  50880. #. type: item
  50881. #: guix-git/doc/guix.texi:34410
  50882. #, no-wrap
  50883. msgid "@code{enable-iptables?} (default @code{#t})"
  50884. msgstr ""
  50885. #. type: table
  50886. #: guix-git/doc/guix.texi:34412
  50887. msgid "Enable or disable the addition of iptables rules."
  50888. msgstr ""
  50889. #. type: item
  50890. #: guix-git/doc/guix.texi:34413
  50891. #, no-wrap
  50892. msgid "@code{environment-variables} (default: @code{()})"
  50893. msgstr ""
  50894. #. type: table
  50895. #: guix-git/doc/guix.texi:34415
  50896. msgid "List of environment variables to set for @command{dockerd}."
  50897. msgstr ""
  50898. #. type: table
  50899. #: guix-git/doc/guix.texi:34418
  50900. msgid "This must be a list of strings where each string has the form @samp{@var{key}=@var{value}} as in this example:"
  50901. msgstr ""
  50902. #. type: lisp
  50903. #: guix-git/doc/guix.texi:34422
  50904. #, no-wrap
  50905. msgid ""
  50906. "(list \"LANGUAGE=eo:ca:eu\"\n"
  50907. " \"TMPDIR=/tmp/dockerd\")\n"
  50908. msgstr ""
  50909. #. type: cindex
  50910. #: guix-git/doc/guix.texi:34427
  50911. #, no-wrap
  50912. msgid "Singularity, container service"
  50913. msgstr ""
  50914. #. type: defvr
  50915. #: guix-git/doc/guix.texi:34428
  50916. #, no-wrap
  50917. msgid "{Scheme Variable} singularity-service-type"
  50918. msgstr ""
  50919. #. type: defvr
  50920. #: guix-git/doc/guix.texi:34433
  50921. 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."
  50922. msgstr ""
  50923. #. type: defvr
  50924. #: guix-git/doc/guix.texi:34437
  50925. 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."
  50926. msgstr ""
  50927. #. type: cindex
  50928. #: guix-git/doc/guix.texi:34439
  50929. #, no-wrap
  50930. msgid "Audit"
  50931. msgstr "Auditointi"
  50932. #. type: subsubheading
  50933. #: guix-git/doc/guix.texi:34440
  50934. #, no-wrap
  50935. msgid "Auditd Service"
  50936. msgstr ""
  50937. #. type: Plain text
  50938. #: guix-git/doc/guix.texi:34443
  50939. msgid "The @code{(gnu services auditd)} module provides the following service."
  50940. msgstr ""
  50941. #. type: defvr
  50942. #: guix-git/doc/guix.texi:34444
  50943. #, no-wrap
  50944. msgid "{Scheme Variable} auditd-service-type"
  50945. msgstr ""
  50946. #. type: defvr
  50947. #: guix-git/doc/guix.texi:34449
  50948. 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."
  50949. msgstr ""
  50950. #. type: defvr
  50951. #: guix-git/doc/guix.texi:34451
  50952. msgid "Examples of things that can be tracked:"
  50953. msgstr ""
  50954. #. type: enumerate
  50955. #: guix-git/doc/guix.texi:34455
  50956. msgid "File accesses"
  50957. msgstr ""
  50958. #. type: enumerate
  50959. #: guix-git/doc/guix.texi:34457
  50960. msgid "System calls"
  50961. msgstr ""
  50962. #. type: enumerate
  50963. #: guix-git/doc/guix.texi:34459
  50964. msgid "Invoked commands"
  50965. msgstr ""
  50966. #. type: enumerate
  50967. #: guix-git/doc/guix.texi:34461
  50968. msgid "Failed login attempts"
  50969. msgstr ""
  50970. #. type: enumerate
  50971. #: guix-git/doc/guix.texi:34463
  50972. msgid "Firewall filtering"
  50973. msgstr ""
  50974. #. type: enumerate
  50975. #: guix-git/doc/guix.texi:34465
  50976. msgid "Network access"
  50977. msgstr "Verkkopääsy"
  50978. #. type: defvr
  50979. #: guix-git/doc/guix.texi:34476
  50980. 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}."
  50981. msgstr ""
  50982. #. type: deftp
  50983. #: guix-git/doc/guix.texi:34479
  50984. #, no-wrap
  50985. msgid "{Data Type} auditd-configuration"
  50986. msgstr ""
  50987. #. type: deftp
  50988. #: guix-git/doc/guix.texi:34481
  50989. msgid "This is the data type representing the configuration of auditd."
  50990. msgstr ""
  50991. #. type: item
  50992. #: guix-git/doc/guix.texi:34484
  50993. #, no-wrap
  50994. msgid "@code{audit} (default: @code{audit})"
  50995. msgstr ""
  50996. #. type: table
  50997. #: guix-git/doc/guix.texi:34486
  50998. msgid "The audit package to use."
  50999. msgstr ""
  51000. #. type: item
  51001. #: guix-git/doc/guix.texi:34487
  51002. #, no-wrap
  51003. msgid "@code{configuration-directory} (default: @code{%default-auditd-configuration-directory})"
  51004. msgstr ""
  51005. #. type: table
  51006. #: guix-git/doc/guix.texi:34491
  51007. 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."
  51008. msgstr ""
  51009. #. type: cindex
  51010. #: guix-git/doc/guix.texi:34495
  51011. #, no-wrap
  51012. msgid "rshiny"
  51013. msgstr ""
  51014. #. type: subsubheading
  51015. #: guix-git/doc/guix.texi:34496
  51016. #, no-wrap
  51017. msgid "R-Shiny service"
  51018. msgstr ""
  51019. #. type: Plain text
  51020. #: guix-git/doc/guix.texi:34499
  51021. msgid "The @code{(gnu services science)} module provides the following service."
  51022. msgstr ""
  51023. #. type: defvr
  51024. #: guix-git/doc/guix.texi:34500
  51025. #, no-wrap
  51026. msgid "{Scheme Variable} rshiny-service-type"
  51027. msgstr ""
  51028. #. type: defvr
  51029. #: guix-git/doc/guix.texi:34505
  51030. 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}."
  51031. msgstr ""
  51032. #. type: deftp
  51033. #: guix-git/doc/guix.texi:34506
  51034. #, no-wrap
  51035. msgid "{Data Type} rshiny-configuration"
  51036. msgstr ""
  51037. #. type: deftp
  51038. #: guix-git/doc/guix.texi:34508
  51039. msgid "This is the data type representing the configuration of rshiny."
  51040. msgstr ""
  51041. #. type: item
  51042. #: guix-git/doc/guix.texi:34511
  51043. #, no-wrap
  51044. msgid "@code{package} (default: @code{r-shiny})"
  51045. msgstr ""
  51046. #. type: table
  51047. #: guix-git/doc/guix.texi:34513
  51048. msgid "The package to use."
  51049. msgstr ""
  51050. #. type: item
  51051. #: guix-git/doc/guix.texi:34514
  51052. #, no-wrap
  51053. msgid "@code{binary} (defaunlt @code{\"rshiny\"})"
  51054. msgstr ""
  51055. #. type: table
  51056. #: guix-git/doc/guix.texi:34517
  51057. msgid "The name of the binary or shell script located at @code{package/bin/} to run when the service is run."
  51058. msgstr ""
  51059. #. type: table
  51060. #: guix-git/doc/guix.texi:34519
  51061. msgid "The common way to create this file is as follows:"
  51062. msgstr ""
  51063. #. type: lisp
  51064. #: guix-git/doc/guix.texi:34536
  51065. #, no-wrap
  51066. msgid ""
  51067. "@dots{}\n"
  51068. "(let* ((out (assoc-ref %outputs \"out\"))\n"
  51069. " (targetdir (string-append out \"/share/\" ,name))\n"
  51070. " (app (string-append out \"/bin/\" ,name))\n"
  51071. " (Rbin (search-input-file %build-inputs \"/bin/Rscript\")))\n"
  51072. " ;; @dots{}\n"
  51073. " (mkdir-p (string-append out \"/bin\"))\n"
  51074. " (call-with-output-file app\n"
  51075. " (lambda (port)\n"
  51076. " (format port\n"
  51077. "\"#!~a\n"
  51078. "library(shiny)\n"
  51079. "setwd(\\\"~a\\\")\n"
  51080. "runApp(launch.browser=0, port=4202)~%\\n\"\n"
  51081. " Rbin targetdir))))\n"
  51082. msgstr ""
  51083. #. type: cindex
  51084. #: guix-git/doc/guix.texi:34542
  51085. #, no-wrap
  51086. msgid "Nix"
  51087. msgstr ""
  51088. #. type: subsubheading
  51089. #: guix-git/doc/guix.texi:34543
  51090. #, no-wrap
  51091. msgid "Nix service"
  51092. msgstr ""
  51093. #. type: Plain text
  51094. #: guix-git/doc/guix.texi:34546
  51095. msgid "The @code{(gnu services nix)} module provides the following service."
  51096. msgstr ""
  51097. #. type: defvr
  51098. #: guix-git/doc/guix.texi:34547
  51099. #, no-wrap
  51100. msgid "{Scheme Variable} nix-service-type"
  51101. msgstr ""
  51102. #. type: defvr
  51103. #: guix-git/doc/guix.texi:34552
  51104. 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:"
  51105. msgstr ""
  51106. #. type: lisp
  51107. #: guix-git/doc/guix.texi:34557
  51108. #, no-wrap
  51109. msgid ""
  51110. "(use-modules (gnu))\n"
  51111. "(use-service-modules nix)\n"
  51112. "(use-package-modules package-management)\n"
  51113. "\n"
  51114. msgstr ""
  51115. #. type: lisp
  51116. #: guix-git/doc/guix.texi:34562
  51117. #, no-wrap
  51118. msgid ""
  51119. "(operating-system\n"
  51120. " ;; @dots{}\n"
  51121. " (packages (append (list nix)\n"
  51122. " %base-packages))\n"
  51123. "\n"
  51124. msgstr ""
  51125. #. type: lisp
  51126. #: guix-git/doc/guix.texi:34565
  51127. #, no-wrap
  51128. msgid ""
  51129. " (services (append (list (service nix-service-type))\n"
  51130. " %base-services)))\n"
  51131. msgstr ""
  51132. #. type: defvr
  51133. #: guix-git/doc/guix.texi:34568
  51134. msgid "After @command{guix system reconfigure} configure Nix for your user:"
  51135. msgstr ""
  51136. #. type: item
  51137. #: guix-git/doc/guix.texi:34570
  51138. #, no-wrap
  51139. msgid "Add a Nix channel and update it. See"
  51140. msgstr ""
  51141. #. type: itemize
  51142. #: guix-git/doc/guix.texi:34572
  51143. msgid "@url{https://nixos.org/nix/manual/, Nix Package Manager Guide}."
  51144. msgstr ""
  51145. #. type: item
  51146. #: guix-git/doc/guix.texi:34573
  51147. #, no-wrap
  51148. msgid "Create a symlink to your profile and activate Nix profile:"
  51149. msgstr ""
  51150. #. type: example
  51151. #: guix-git/doc/guix.texi:34579
  51152. #, no-wrap
  51153. msgid ""
  51154. "$ ln -s \"/nix/var/nix/profiles/per-user/$USER/profile\" ~/.nix-profile\n"
  51155. "$ source /run/current-system/profile/etc/profile.d/nix.sh\n"
  51156. msgstr ""
  51157. #. type: deftp
  51158. #: guix-git/doc/guix.texi:34583
  51159. #, no-wrap
  51160. msgid "{Data Type} nix-configuration"
  51161. msgstr ""
  51162. #. type: deftp
  51163. #: guix-git/doc/guix.texi:34585
  51164. msgid "This data type represents the configuration of the Nix daemon."
  51165. msgstr ""
  51166. #. type: item
  51167. #: guix-git/doc/guix.texi:34587
  51168. #, no-wrap
  51169. msgid "@code{nix} (default: @code{nix})"
  51170. msgstr ""
  51171. #. type: table
  51172. #: guix-git/doc/guix.texi:34589
  51173. msgid "The Nix package to use."
  51174. msgstr ""
  51175. #. type: item
  51176. #: guix-git/doc/guix.texi:34590
  51177. #, no-wrap
  51178. msgid "@code{sandbox} (default: @code{#t})"
  51179. msgstr ""
  51180. #. type: table
  51181. #: guix-git/doc/guix.texi:34592
  51182. msgid "Specifies whether builds are sandboxed by default."
  51183. msgstr ""
  51184. #. type: item
  51185. #: guix-git/doc/guix.texi:34593
  51186. #, no-wrap
  51187. msgid "@code{build-sandbox-items} (default: @code{'()})"
  51188. msgstr ""
  51189. #. type: table
  51190. #: guix-git/doc/guix.texi:34596
  51191. msgid "This is a list of strings or objects appended to the @code{build-sandbox-items} field of the configuration file."
  51192. msgstr ""
  51193. #. type: table
  51194. #: guix-git/doc/guix.texi:34604
  51195. msgid "Extra command line options for @code{nix-service-type}."
  51196. msgstr ""
  51197. #. type: cindex
  51198. #: guix-git/doc/guix.texi:34610
  51199. #, no-wrap
  51200. msgid "setuid programs"
  51201. msgstr ""
  51202. #. type: Plain text
  51203. #: guix-git/doc/guix.texi:34620
  51204. 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)."
  51205. msgstr ""
  51206. #. type: Plain text
  51207. #: guix-git/doc/guix.texi:34627
  51208. 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."
  51209. msgstr ""
  51210. #. type: Plain text
  51211. #: guix-git/doc/guix.texi:34634
  51212. msgid "The @code{setuid-programs} field of an @code{operating-system} declaration contains a list of @code{<setuid-program>} denoting the names of programs to have a setuid or setgid bit set (@pxref{Using the Configuration System}). For instance, the @command{mount.nfs} program, which is part of the nfs-utils package, with a setuid root can be designated like this:"
  51213. msgstr ""
  51214. #. type: lisp
  51215. #: guix-git/doc/guix.texi:34638
  51216. #, no-wrap
  51217. msgid ""
  51218. "(setuid-program\n"
  51219. " (program (file-append nfs-utils \"/sbin/mount.nfs\")))\n"
  51220. msgstr ""
  51221. #. type: Plain text
  51222. #: guix-git/doc/guix.texi:34643
  51223. msgid "And then, to make @command{mount.nfs} setuid on your system, add the previous example to your operating system declaration by appending it to @code{%setuid-programs} like this:"
  51224. msgstr ""
  51225. #. type: lisp
  51226. #: guix-git/doc/guix.texi:34651
  51227. #, no-wrap
  51228. msgid ""
  51229. "(operating-system\n"
  51230. " ;; Some fields omitted...\n"
  51231. " (setuid-programs\n"
  51232. " (append (list (setuid-program\n"
  51233. " (program (file-append nfs-utils \"/sbin/mount.nfs\"))))\n"
  51234. " %setuid-programs)))\n"
  51235. msgstr ""
  51236. #. type: deftp
  51237. #: guix-git/doc/guix.texi:34653
  51238. #, no-wrap
  51239. msgid "{Data Type} setuid-program"
  51240. msgstr ""
  51241. #. type: deftp
  51242. #: guix-git/doc/guix.texi:34655
  51243. msgid "This data type represents a program with a setuid or setgid bit set."
  51244. msgstr ""
  51245. #. type: code{#1}
  51246. #: guix-git/doc/guix.texi:34657
  51247. #, no-wrap
  51248. msgid "program"
  51249. msgstr ""
  51250. #. type: table
  51251. #: guix-git/doc/guix.texi:34659
  51252. msgid "A file-like object having its setuid and/or setgid bit set."
  51253. msgstr ""
  51254. #. type: item
  51255. #: guix-git/doc/guix.texi:34660
  51256. #, no-wrap
  51257. msgid "@code{setuid?} (default: @code{#t})"
  51258. msgstr ""
  51259. #. type: table
  51260. #: guix-git/doc/guix.texi:34662
  51261. msgid "Whether to set user setuid bit."
  51262. msgstr ""
  51263. #. type: item
  51264. #: guix-git/doc/guix.texi:34663
  51265. #, no-wrap
  51266. msgid "@code{setgid?} (default: @code{#f})"
  51267. msgstr ""
  51268. #. type: table
  51269. #: guix-git/doc/guix.texi:34665
  51270. msgid "Whether to set group setgid bit."
  51271. msgstr ""
  51272. #. type: item
  51273. #: guix-git/doc/guix.texi:34666
  51274. #, no-wrap
  51275. msgid "@code{user} (default: @code{0})"
  51276. msgstr ""
  51277. #. type: table
  51278. #: guix-git/doc/guix.texi:34669
  51279. msgid "UID (integer) or user name (string) for the user owner of the program, defaults to root."
  51280. msgstr ""
  51281. #. type: item
  51282. #: guix-git/doc/guix.texi:34670
  51283. #, no-wrap
  51284. msgid "@code{group} (default: @code{0})"
  51285. msgstr ""
  51286. #. type: table
  51287. #: guix-git/doc/guix.texi:34673
  51288. msgid "GID (integer) goup name (string) for the group owner of the program, defaults to root."
  51289. msgstr ""
  51290. #. type: Plain text
  51291. #: guix-git/doc/guix.texi:34679
  51292. msgid "A default set of setuid programs is defined by the @code{%setuid-programs} variable of the @code{(gnu system)} module."
  51293. msgstr ""
  51294. #. type: defvr
  51295. #: guix-git/doc/guix.texi:34680
  51296. #, no-wrap
  51297. msgid "{Scheme Variable} %setuid-programs"
  51298. msgstr ""
  51299. #. type: defvr
  51300. #: guix-git/doc/guix.texi:34683
  51301. msgid "A list of @code{<setuid-program>} denoting common programs that are setuid-root."
  51302. msgstr ""
  51303. #. type: defvr
  51304. #: guix-git/doc/guix.texi:34686
  51305. msgid "The list includes commands such as @command{passwd}, @command{ping}, @command{su}, and @command{sudo}."
  51306. msgstr ""
  51307. #. type: Plain text
  51308. #: guix-git/doc/guix.texi:34692
  51309. 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."
  51310. msgstr ""
  51311. #. type: cindex
  51312. #: guix-git/doc/guix.texi:34696
  51313. #, no-wrap
  51314. msgid "HTTPS, certificates"
  51315. msgstr ""
  51316. #. type: cindex
  51317. #: guix-git/doc/guix.texi:34697
  51318. #, no-wrap
  51319. msgid "X.509 certificates"
  51320. msgstr ""
  51321. #. type: cindex
  51322. #: guix-git/doc/guix.texi:34698
  51323. #, no-wrap
  51324. msgid "TLS"
  51325. msgstr ""
  51326. #. type: Plain text
  51327. #: guix-git/doc/guix.texi:34705
  51328. 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."
  51329. msgstr ""
  51330. #. type: Plain text
  51331. #: guix-git/doc/guix.texi:34709
  51332. 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."
  51333. msgstr ""
  51334. #. type: Plain text
  51335. #: guix-git/doc/guix.texi:34713
  51336. 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."
  51337. msgstr ""
  51338. #. type: Plain text
  51339. #: guix-git/doc/guix.texi:34720
  51340. 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."
  51341. msgstr ""
  51342. #. type: Plain text
  51343. #: guix-git/doc/guix.texi:34725
  51344. 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."
  51345. msgstr ""
  51346. #. type: Plain text
  51347. #: guix-git/doc/guix.texi:34735
  51348. 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:"
  51349. msgstr ""
  51350. #. type: example
  51351. #: guix-git/doc/guix.texi:34741
  51352. #, no-wrap
  51353. msgid ""
  51354. "guix install nss-certs\n"
  51355. "export SSL_CERT_DIR=\"$HOME/.guix-profile/etc/ssl/certs\"\n"
  51356. "export SSL_CERT_FILE=\"$HOME/.guix-profile/etc/ssl/certs/ca-certificates.crt\"\n"
  51357. "export GIT_SSL_CAINFO=\"$SSL_CERT_FILE\"\n"
  51358. msgstr ""
  51359. #. type: Plain text
  51360. #: guix-git/doc/guix.texi:34746
  51361. 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:"
  51362. msgstr ""
  51363. #. type: example
  51364. #: guix-git/doc/guix.texi:34750
  51365. #, no-wrap
  51366. msgid ""
  51367. "guix install nss-certs\n"
  51368. "export CURL_CA_BUNDLE=\"$HOME/.guix-profile/etc/ssl/certs/ca-certificates.crt\"\n"
  51369. msgstr ""
  51370. #. type: Plain text
  51371. #: guix-git/doc/guix.texi:34754
  51372. msgid "For other applications you may want to look up the required environment variable in the relevant documentation."
  51373. msgstr ""
  51374. #. type: cindex
  51375. #: guix-git/doc/guix.texi:34759
  51376. #, no-wrap
  51377. msgid "name service switch"
  51378. msgstr ""
  51379. #. type: cindex
  51380. #: guix-git/doc/guix.texi:34760
  51381. #, no-wrap
  51382. msgid "NSS"
  51383. msgstr ""
  51384. #. type: Plain text
  51385. #: guix-git/doc/guix.texi:34769
  51386. 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})."
  51387. msgstr ""
  51388. #. type: Plain text
  51389. #: guix-git/doc/guix.texi:34776
  51390. 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}})."
  51391. msgstr ""
  51392. #. type: cindex
  51393. #: guix-git/doc/guix.texi:34777
  51394. #, no-wrap
  51395. msgid "nss-mdns"
  51396. msgstr ""
  51397. #. type: cindex
  51398. #: guix-git/doc/guix.texi:34778
  51399. #, no-wrap
  51400. msgid ".local, host name lookup"
  51401. msgstr ""
  51402. #. type: Plain text
  51403. #: guix-git/doc/guix.texi:34783
  51404. 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}:"
  51405. msgstr ""
  51406. #. type: lisp
  51407. #: guix-git/doc/guix.texi:34787
  51408. #, no-wrap
  51409. msgid ""
  51410. "(name-service-switch\n"
  51411. " (hosts (list %files ;first, check /etc/hosts\n"
  51412. "\n"
  51413. msgstr ""
  51414. #. type: lisp
  51415. #: guix-git/doc/guix.texi:34792
  51416. #, no-wrap
  51417. msgid ""
  51418. " ;; If the above did not succeed, try\n"
  51419. " ;; with 'mdns_minimal'.\n"
  51420. " (name-service\n"
  51421. " (name \"mdns_minimal\")\n"
  51422. "\n"
  51423. msgstr ""
  51424. #. type: lisp
  51425. #: guix-git/doc/guix.texi:34798
  51426. #, no-wrap
  51427. msgid ""
  51428. " ;; 'mdns_minimal' is authoritative for\n"
  51429. " ;; '.local'. When it returns \"not found\",\n"
  51430. " ;; no need to try the next methods.\n"
  51431. " (reaction (lookup-specification\n"
  51432. " (not-found => return))))\n"
  51433. "\n"
  51434. msgstr ""
  51435. #. type: lisp
  51436. #: guix-git/doc/guix.texi:34802
  51437. #, no-wrap
  51438. msgid ""
  51439. " ;; Then fall back to DNS.\n"
  51440. " (name-service\n"
  51441. " (name \"dns\"))\n"
  51442. "\n"
  51443. msgstr ""
  51444. #. type: lisp
  51445. #: guix-git/doc/guix.texi:34806
  51446. #, no-wrap
  51447. msgid ""
  51448. " ;; Finally, try with the \"full\" 'mdns'.\n"
  51449. " (name-service\n"
  51450. " (name \"mdns\")))))\n"
  51451. msgstr ""
  51452. #. type: Plain text
  51453. #: guix-git/doc/guix.texi:34811
  51454. 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."
  51455. msgstr ""
  51456. #. type: Plain text
  51457. #: guix-git/doc/guix.texi:34819
  51458. 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}})."
  51459. msgstr ""
  51460. #. type: Plain text
  51461. #: guix-git/doc/guix.texi:34822
  51462. msgid "For convenience, the following variables provide typical NSS configurations."
  51463. msgstr ""
  51464. #. type: defvr
  51465. #: guix-git/doc/guix.texi:34823
  51466. #, no-wrap
  51467. msgid "{Scheme Variable} %default-nss"
  51468. msgstr ""
  51469. #. type: defvr
  51470. #: guix-git/doc/guix.texi:34826
  51471. msgid "This is the default name service switch configuration, a @code{name-service-switch} object."
  51472. msgstr ""
  51473. #. type: defvr
  51474. #: guix-git/doc/guix.texi:34828
  51475. #, no-wrap
  51476. msgid "{Scheme Variable} %mdns-host-lookup-nss"
  51477. msgstr ""
  51478. #. type: defvr
  51479. #: guix-git/doc/guix.texi:34831
  51480. 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}."
  51481. msgstr ""
  51482. #. type: Plain text
  51483. #: guix-git/doc/guix.texi:34841
  51484. 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}."
  51485. msgstr ""
  51486. #. type: deftp
  51487. #: guix-git/doc/guix.texi:34842
  51488. #, no-wrap
  51489. msgid "{Data Type} name-service-switch"
  51490. msgstr ""
  51491. #. type: deftp
  51492. #: guix-git/doc/guix.texi:34847
  51493. 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."
  51494. msgstr ""
  51495. #. type: item
  51496. #: guix-git/doc/guix.texi:34849
  51497. #, no-wrap
  51498. msgid "aliases"
  51499. msgstr ""
  51500. #. type: itemx
  51501. #: guix-git/doc/guix.texi:34850
  51502. #, no-wrap
  51503. msgid "ethers"
  51504. msgstr ""
  51505. #. type: itemx
  51506. #: guix-git/doc/guix.texi:34852
  51507. #, no-wrap
  51508. msgid "gshadow"
  51509. msgstr ""
  51510. #. type: itemx
  51511. #: guix-git/doc/guix.texi:34853
  51512. #, no-wrap
  51513. msgid "hosts"
  51514. msgstr "isännät"
  51515. #. type: itemx
  51516. #: guix-git/doc/guix.texi:34854
  51517. #, no-wrap
  51518. msgid "initgroups"
  51519. msgstr ""
  51520. #. type: itemx
  51521. #: guix-git/doc/guix.texi:34855
  51522. #, no-wrap
  51523. msgid "netgroup"
  51524. msgstr "verkkoryhmä"
  51525. #. type: itemx
  51526. #: guix-git/doc/guix.texi:34856
  51527. #, no-wrap
  51528. msgid "networks"
  51529. msgstr "verkot"
  51530. #. type: itemx
  51531. #: guix-git/doc/guix.texi:34859
  51532. #, no-wrap
  51533. msgid "rpc"
  51534. msgstr ""
  51535. #. type: itemx
  51536. #: guix-git/doc/guix.texi:34861
  51537. #, no-wrap
  51538. msgid "shadow"
  51539. msgstr ""
  51540. #. type: table
  51541. #: guix-git/doc/guix.texi:34864
  51542. msgid "The system databases handled by the NSS@. Each of these fields must be a list of @code{<name-service>} objects (see below)."
  51543. msgstr ""
  51544. #. type: deftp
  51545. #: guix-git/doc/guix.texi:34867
  51546. #, no-wrap
  51547. msgid "{Data Type} name-service"
  51548. msgstr ""
  51549. #. type: deftp
  51550. #: guix-git/doc/guix.texi:34871
  51551. msgid "This is the data type representing an actual name service and the associated lookup action."
  51552. msgstr ""
  51553. #. type: table
  51554. #: guix-git/doc/guix.texi:34876
  51555. msgid "A string denoting the name service (@pxref{Services in the NSS configuration,,, libc, The GNU C Library Reference Manual})."
  51556. msgstr ""
  51557. #. type: table
  51558. #: guix-git/doc/guix.texi:34881
  51559. 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}})."
  51560. msgstr ""
  51561. #. type: item
  51562. #: guix-git/doc/guix.texi:34882
  51563. #, no-wrap
  51564. msgid "reaction"
  51565. msgstr ""
  51566. #. type: table
  51567. #: guix-git/doc/guix.texi:34886
  51568. 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:"
  51569. msgstr ""
  51570. #. type: lisp
  51571. #: guix-git/doc/guix.texi:34890
  51572. #, no-wrap
  51573. msgid ""
  51574. "(lookup-specification (unavailable => continue)\n"
  51575. " (success => return))\n"
  51576. msgstr ""
  51577. #. type: Plain text
  51578. #: guix-git/doc/guix.texi:34904
  51579. 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."
  51580. msgstr ""
  51581. #. type: Plain text
  51582. #: guix-git/doc/guix.texi:34913
  51583. 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:"
  51584. msgstr ""
  51585. #. type: lisp
  51586. #: guix-git/doc/guix.texi:34918
  51587. #, no-wrap
  51588. msgid ""
  51589. "(operating-system\n"
  51590. " ;; @dots{}\n"
  51591. " (initrd-modules (cons \"megaraid_sas\" %base-initrd-modules)))\n"
  51592. msgstr ""
  51593. #. type: defvr
  51594. #: guix-git/doc/guix.texi:34920
  51595. #, no-wrap
  51596. msgid "{Scheme Variable} %base-initrd-modules"
  51597. msgstr ""
  51598. #. type: defvr
  51599. #: guix-git/doc/guix.texi:34922
  51600. msgid "This is the list of kernel modules included in the initrd by default."
  51601. msgstr ""
  51602. #. type: Plain text
  51603. #: guix-git/doc/guix.texi:34930
  51604. 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."
  51605. msgstr ""
  51606. #. type: Plain text
  51607. #: guix-git/doc/guix.texi:34935
  51608. 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:"
  51609. msgstr ""
  51610. #. type: lisp
  51611. #: guix-git/doc/guix.texi:34943
  51612. #, no-wrap
  51613. msgid ""
  51614. "(initrd (lambda (file-systems . rest)\n"
  51615. " ;; Create a standard initrd but set up networking\n"
  51616. " ;; with the parameters QEMU expects by default.\n"
  51617. " (apply base-initrd file-systems\n"
  51618. " #:qemu-networking? #t\n"
  51619. " rest)))\n"
  51620. msgstr ""
  51621. #. type: Plain text
  51622. #: guix-git/doc/guix.texi:34948
  51623. 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."
  51624. msgstr ""
  51625. #. type: Plain text
  51626. #: guix-git/doc/guix.texi:34955
  51627. 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."
  51628. msgstr ""
  51629. #. type: Plain text
  51630. #: guix-git/doc/guix.texi:34960
  51631. 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:"
  51632. msgstr ""
  51633. #. type: item
  51634. #: guix-git/doc/guix.texi:34962
  51635. #, no-wrap
  51636. msgid "--load=@var{boot}"
  51637. msgstr ""
  51638. #. type: table
  51639. #: guix-git/doc/guix.texi:34965
  51640. msgid "Tell the initial RAM disk to load @var{boot}, a file containing a Scheme program, once it has mounted the root file system."
  51641. msgstr ""
  51642. #. type: table
  51643. #: guix-git/doc/guix.texi:34969
  51644. 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."
  51645. msgstr ""
  51646. #. type: item
  51647. #: guix-git/doc/guix.texi:34970
  51648. #, no-wrap
  51649. msgid "--root=@var{root}"
  51650. msgstr ""
  51651. #. type: table
  51652. #: guix-git/doc/guix.texi:34975
  51653. 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."
  51654. msgstr ""
  51655. #. type: item
  51656. #: guix-git/doc/guix.texi:34976
  51657. #, no-wrap
  51658. msgid "fsck.mode=@var{mode}"
  51659. msgstr ""
  51660. #. type: table
  51661. #: guix-git/doc/guix.texi:34982
  51662. msgid "Whether to check the @var{root} file system for errors before mounting it. @var{mode} is one of @code{skip} (never check), @code{force} (always check), or @code{auto} to respect the root file-system object's 'check?' setting (@pxref{File Systems}) and run a full scan only if the file system was not cleanly shut down."
  51663. msgstr ""
  51664. #. type: table
  51665. #: guix-git/doc/guix.texi:34985
  51666. msgid "@code{auto} is the default if this option is not present or if @var{mode} is not one of the above."
  51667. msgstr ""
  51668. #. type: item
  51669. #: guix-git/doc/guix.texi:34986
  51670. #, no-wrap
  51671. msgid "fsck.repair=@var{level}"
  51672. msgstr ""
  51673. #. type: table
  51674. #: guix-git/doc/guix.texi:34991
  51675. msgid "The level of repairs to perform automatically if errors are found in the @var{root} file system. @var{level} is one of @code{no} (do not write to @var{root} at all if possible), @code{yes} (repair as much as possible), or @code{preen} to repair problems considered safe to repair automatically."
  51676. msgstr ""
  51677. #. type: table
  51678. #: guix-git/doc/guix.texi:34994
  51679. msgid "@code{preen} is the default if this option is not present or if @var{level} is not one of the above."
  51680. msgstr ""
  51681. #. type: table
  51682. #: guix-git/doc/guix.texi:34998
  51683. msgid "Have @file{/run/booted-system} and @file{/run/current-system} point to @var{system}."
  51684. msgstr ""
  51685. #. type: item
  51686. #: guix-git/doc/guix.texi:34999
  51687. #, no-wrap
  51688. msgid "modprobe.blacklist=@var{modules}@dots{}"
  51689. msgstr ""
  51690. #. type: cindex
  51691. #: guix-git/doc/guix.texi:35000
  51692. #, no-wrap
  51693. msgid "module, black-listing"
  51694. msgstr ""
  51695. #. type: cindex
  51696. #: guix-git/doc/guix.texi:35001
  51697. #, no-wrap
  51698. msgid "black list, of kernel modules"
  51699. msgstr ""
  51700. #. type: table
  51701. #: guix-git/doc/guix.texi:35006
  51702. 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}."
  51703. msgstr ""
  51704. #. type: item
  51705. #: guix-git/doc/guix.texi:35007
  51706. #, no-wrap
  51707. msgid "--repl"
  51708. msgstr ""
  51709. #. type: table
  51710. #: guix-git/doc/guix.texi:35013
  51711. 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."
  51712. msgstr ""
  51713. #. type: Plain text
  51714. #: guix-git/doc/guix.texi:35019
  51715. 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."
  51716. msgstr ""
  51717. #. type: deffn
  51718. #: guix-git/doc/guix.texi:35022
  51719. #, no-wrap
  51720. msgid "{Scheme Procedure} raw-initrd @var{file-systems} @"
  51721. msgstr ""
  51722. #. type: deffn
  51723. #: guix-git/doc/guix.texi:35036
  51724. 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."
  51725. msgstr ""
  51726. #. type: deffn
  51727. #: guix-git/doc/guix.texi:35042 guix-git/doc/guix.texi:35066
  51728. 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."
  51729. msgstr ""
  51730. #. type: deffn
  51731. #: guix-git/doc/guix.texi:35046
  51732. 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."
  51733. msgstr ""
  51734. #. type: deffn
  51735. #: guix-git/doc/guix.texi:35049
  51736. msgid "When @var{volatile-root?} is true, the root file system is writable but any changes to it are lost."
  51737. msgstr ""
  51738. #. type: deffn
  51739. #: guix-git/doc/guix.texi:35051
  51740. #, no-wrap
  51741. msgid "{Scheme Procedure} base-initrd @var{file-systems} @"
  51742. msgstr ""
  51743. #. type: deffn
  51744. #: guix-git/doc/guix.texi:35060
  51745. 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."
  51746. msgstr ""
  51747. #. type: deffn
  51748. #: guix-git/doc/guix.texi:35068
  51749. msgid "@var{qemu-networking?} and @var{volatile-root?} behaves as in @code{raw-initrd}."
  51750. msgstr ""
  51751. #. type: deffn
  51752. #: guix-git/doc/guix.texi:35073
  51753. 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."
  51754. msgstr ""
  51755. #. type: Plain text
  51756. #: guix-git/doc/guix.texi:35080
  51757. 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."
  51758. msgstr ""
  51759. #. type: deffn
  51760. #: guix-git/doc/guix.texi:35081
  51761. #, no-wrap
  51762. msgid "{Scheme Procedure} expression->initrd @var{exp} @"
  51763. msgstr ""
  51764. #. type: deffn
  51765. #: guix-git/doc/guix.texi:35087
  51766. 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."
  51767. msgstr ""
  51768. #. type: cindex
  51769. #: guix-git/doc/guix.texi:35093
  51770. #, no-wrap
  51771. msgid "boot loader"
  51772. msgstr ""
  51773. #. type: Plain text
  51774. #: guix-git/doc/guix.texi:35100
  51775. 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."
  51776. msgstr ""
  51777. #. type: Plain text
  51778. #: guix-git/doc/guix.texi:35105
  51779. 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."
  51780. msgstr ""
  51781. #. type: deftp
  51782. #: guix-git/doc/guix.texi:35106
  51783. #, no-wrap
  51784. msgid "{Data Type} bootloader-configuration"
  51785. msgstr ""
  51786. #. type: deftp
  51787. #: guix-git/doc/guix.texi:35108
  51788. msgid "The type of a bootloader configuration declaration."
  51789. msgstr ""
  51790. #. type: cindex
  51791. #: guix-git/doc/guix.texi:35112
  51792. #, no-wrap
  51793. msgid "EFI, bootloader"
  51794. msgstr ""
  51795. #. type: cindex
  51796. #: guix-git/doc/guix.texi:35113
  51797. #, no-wrap
  51798. msgid "UEFI, bootloader"
  51799. msgstr ""
  51800. #. type: cindex
  51801. #: guix-git/doc/guix.texi:35114
  51802. #, no-wrap
  51803. msgid "BIOS, bootloader"
  51804. msgstr ""
  51805. #. type: table
  51806. #: guix-git/doc/guix.texi:35119
  51807. 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."
  51808. msgstr ""
  51809. #. type: cindex
  51810. #: guix-git/doc/guix.texi:35120
  51811. #, no-wrap
  51812. msgid "ARM, bootloaders"
  51813. msgstr ""
  51814. #. type: cindex
  51815. #: guix-git/doc/guix.texi:35121
  51816. #, no-wrap
  51817. msgid "AArch64, bootloaders"
  51818. msgstr ""
  51819. #. type: table
  51820. #: guix-git/doc/guix.texi:35126
  51821. 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}."
  51822. msgstr ""
  51823. #. type: table
  51824. #: guix-git/doc/guix.texi:35132
  51825. 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."
  51826. msgstr ""
  51827. #. type: table
  51828. #: guix-git/doc/guix.texi:35136
  51829. msgid "@code{grub-bootloader} allows you to boot in particular Intel-based machines in ``legacy'' BIOS mode."
  51830. msgstr ""
  51831. #. type: vindex
  51832. #: guix-git/doc/guix.texi:35137
  51833. #, no-wrap
  51834. msgid "grub-efi-netboot-bootloader"
  51835. msgstr ""
  51836. #. type: table
  51837. #: guix-git/doc/guix.texi:35141
  51838. 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."
  51839. msgstr ""
  51840. #. type: table
  51841. #: guix-git/doc/guix.texi:35147
  51842. msgid "The installation of the @code{grub-efi-netboot-bootloader} generates the content of the TFTP root directory at @code{targets} (@pxref{Bootloader Configuration, @code{targets}}), to be served by a TFTP server. You may want to mount your TFTP server directories onto the @code{targets} to move the required files to the TFTP server automatically."
  51843. msgstr ""
  51844. #. type: table
  51845. #: guix-git/doc/guix.texi:35156
  51846. 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}."
  51847. msgstr ""
  51848. #. type: table
  51849. #: guix-git/doc/guix.texi:35165
  51850. msgid "Two symlinks are created to make this possible. For each target in the @code{targets} field, the first symlink is @samp{target}@file{/efi/Guix/boot/grub/grub.cfg} pointing to @file{../../../boot/grub/grub.cfg}, where @samp{target} may be @file{/boot}. In this case the link is not leaving the served TFTP root directory, but otherwise it does. The second link is @samp{target}@file{/gnu/store} and points to @file{../gnu/store}. This link is leaving the served TFTP root directory."
  51851. msgstr ""
  51852. #. type: table
  51853. #: guix-git/doc/guix.texi:35171
  51854. msgid "The assumption behind all this is that you have an NFS server exporting the root file system for your Guix system, and additionally a TFTP server exporting your @code{targets} directories—usually a single @file{/boot}—from that same root file system for your Guix system. In this constellation the symlinks will work."
  51855. msgstr ""
  51856. #. type: table
  51857. #: guix-git/doc/guix.texi:35176
  51858. msgid "For other constellations you will have to program your own bootloader installer, which then takes care to make necessary files from the store accessible through TFTP, for example by copying them into the TFTP root directory to your @code{targets}."
  51859. msgstr ""
  51860. #. type: table
  51861. #: guix-git/doc/guix.texi:35181
  51862. 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."
  51863. msgstr ""
  51864. #. type: table
  51865. #: guix-git/doc/guix.texi:35186
  51866. 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}."
  51867. msgstr ""
  51868. #. type: table
  51869. #: guix-git/doc/guix.texi:35190
  51870. msgid "This is a list of strings denoting the targets onto which to install the bootloader."
  51871. msgstr ""
  51872. #. type: table
  51873. #: guix-git/doc/guix.texi:35200
  51874. msgid "The interpretation of targets depends on the bootloader in question. For @code{grub-bootloader}, for example, they should be device names understood by the bootloader @command{installer} command, such as @code{/dev/sda} or @code{(hd0)} (@pxref{Invoking grub-install,,, grub, GNU GRUB Manual}). For @code{grub-efi-bootloader}, they should be mount points of the EFI file system, usually @file{/boot/efi}. For @code{grub-efi-netboot-bootloader}, @code{targets} should be the mount points corresponding to TFTP root directories served by your TFTP server."
  51875. msgstr ""
  51876. #. type: item
  51877. #: guix-git/doc/guix.texi:35201
  51878. #, no-wrap
  51879. msgid "@code{menu-entries} (default: @code{()})"
  51880. msgstr ""
  51881. #. type: table
  51882. #: guix-git/doc/guix.texi:35205
  51883. 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."
  51884. msgstr ""
  51885. #. type: item
  51886. #: guix-git/doc/guix.texi:35206
  51887. #, no-wrap
  51888. msgid "@code{default-entry} (default: @code{0})"
  51889. msgstr ""
  51890. #. type: table
  51891. #: guix-git/doc/guix.texi:35209
  51892. msgid "The index of the default boot menu entry. Index 0 is for the entry of the current system."
  51893. msgstr ""
  51894. #. type: item
  51895. #: guix-git/doc/guix.texi:35210
  51896. #, no-wrap
  51897. msgid "@code{timeout} (default: @code{5})"
  51898. msgstr ""
  51899. #. type: table
  51900. #: guix-git/doc/guix.texi:35213
  51901. msgid "The number of seconds to wait for keyboard input before booting. Set to 0 to boot immediately, and to -1 to wait indefinitely."
  51902. msgstr ""
  51903. #. type: cindex
  51904. #: guix-git/doc/guix.texi:35214
  51905. #, no-wrap
  51906. msgid "keyboard layout, for the bootloader"
  51907. msgstr ""
  51908. #. type: table
  51909. #: guix-git/doc/guix.texi:35218
  51910. msgid "If this is @code{#f}, the bootloader's menu (if any) uses the default keyboard layout, usually US@tie{}English (``qwerty'')."
  51911. msgstr ""
  51912. #. type: table
  51913. #: guix-git/doc/guix.texi:35221
  51914. msgid "Otherwise, this must be a @code{keyboard-layout} object (@pxref{Keyboard Layout})."
  51915. msgstr ""
  51916. #. type: quotation
  51917. #: guix-git/doc/guix.texi:35225
  51918. msgid "This option is currently ignored by bootloaders other than @code{grub} and @code{grub-efi}."
  51919. msgstr ""
  51920. #. type: item
  51921. #: guix-git/doc/guix.texi:35227
  51922. #, no-wrap
  51923. msgid "@code{theme} (default: @var{#f})"
  51924. msgstr ""
  51925. #. type: table
  51926. #: guix-git/doc/guix.texi:35231
  51927. 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."
  51928. msgstr ""
  51929. #. type: item
  51930. #: guix-git/doc/guix.texi:35232
  51931. #, no-wrap
  51932. msgid "@code{terminal-outputs} (default: @code{'(gfxterm)})"
  51933. msgstr ""
  51934. #. type: table
  51935. #: guix-git/doc/guix.texi:35239
  51936. 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})."
  51937. msgstr ""
  51938. #. type: item
  51939. #: guix-git/doc/guix.texi:35240
  51940. #, no-wrap
  51941. msgid "@code{terminal-inputs} (default: @code{'()})"
  51942. msgstr ""
  51943. #. type: table
  51944. #: guix-git/doc/guix.texi:35248
  51945. 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})."
  51946. msgstr ""
  51947. #. type: item
  51948. #: guix-git/doc/guix.texi:35249
  51949. #, no-wrap
  51950. msgid "@code{serial-unit} (default: @code{#f})"
  51951. msgstr ""
  51952. #. type: table
  51953. #: guix-git/doc/guix.texi:35253
  51954. 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})."
  51955. msgstr ""
  51956. #. type: item
  51957. #: guix-git/doc/guix.texi:35254
  51958. #, no-wrap
  51959. msgid "@code{serial-speed} (default: @code{#f})"
  51960. msgstr ""
  51961. #. type: table
  51962. #: guix-git/doc/guix.texi:35258
  51963. 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})."
  51964. msgstr ""
  51965. #. type: cindex
  51966. #: guix-git/doc/guix.texi:35262
  51967. #, no-wrap
  51968. msgid "dual boot"
  51969. msgstr ""
  51970. #. type: cindex
  51971. #: guix-git/doc/guix.texi:35263
  51972. #, no-wrap
  51973. msgid "boot menu"
  51974. msgstr ""
  51975. #. type: Plain text
  51976. #: guix-git/doc/guix.texi:35269
  51977. 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:"
  51978. msgstr ""
  51979. #. type: lisp
  51980. #: guix-git/doc/guix.texi:35276
  51981. #, no-wrap
  51982. msgid ""
  51983. "(menu-entry\n"
  51984. " (label \"The Other Distro\")\n"
  51985. " (linux \"/boot/old/vmlinux-2.6.32\")\n"
  51986. " (linux-arguments '(\"root=/dev/sda2\"))\n"
  51987. " (initrd \"/boot/old/initrd\"))\n"
  51988. msgstr ""
  51989. #. type: Plain text
  51990. #: guix-git/doc/guix.texi:35279
  51991. msgid "Details below."
  51992. msgstr ""
  51993. #. type: deftp
  51994. #: guix-git/doc/guix.texi:35280
  51995. #, no-wrap
  51996. msgid "{Data Type} menu-entry"
  51997. msgstr ""
  51998. #. type: deftp
  51999. #: guix-git/doc/guix.texi:35282
  52000. msgid "The type of an entry in the bootloader menu."
  52001. msgstr ""
  52002. #. type: table
  52003. #: guix-git/doc/guix.texi:35287
  52004. msgid "The label to show in the menu---e.g., @code{\"GNU\"}."
  52005. msgstr ""
  52006. #. type: item
  52007. #: guix-git/doc/guix.texi:35288
  52008. #, no-wrap
  52009. msgid "@code{linux} (default: @code{#f})"
  52010. msgstr ""
  52011. #. type: table
  52012. #: guix-git/doc/guix.texi:35290
  52013. msgid "The Linux kernel image to boot, for example:"
  52014. msgstr ""
  52015. #. type: lisp
  52016. #: guix-git/doc/guix.texi:35293
  52017. #, no-wrap
  52018. msgid "(file-append linux-libre \"/bzImage\")\n"
  52019. msgstr ""
  52020. #. type: table
  52021. #: guix-git/doc/guix.texi:35298
  52022. 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:"
  52023. msgstr ""
  52024. #. type: example
  52025. #: guix-git/doc/guix.texi:35301
  52026. #, no-wrap
  52027. msgid "\"(hd0,msdos1)/boot/vmlinuz\"\n"
  52028. msgstr ""
  52029. #. type: table
  52030. #: guix-git/doc/guix.texi:35305
  52031. msgid "If the device is specified explicitly as above, then the @code{device} field is ignored entirely."
  52032. msgstr ""
  52033. #. type: item
  52034. #: guix-git/doc/guix.texi:35306
  52035. #, no-wrap
  52036. msgid "@code{linux-arguments} (default: @code{()})"
  52037. msgstr ""
  52038. #. type: table
  52039. #: guix-git/doc/guix.texi:35309
  52040. msgid "The list of extra Linux kernel command-line arguments---e.g., @code{(\"console=ttyS0\")}."
  52041. msgstr ""
  52042. #. type: item
  52043. #: guix-git/doc/guix.texi:35310
  52044. #, no-wrap
  52045. msgid "@code{initrd} (default: @code{#f})"
  52046. msgstr ""
  52047. #. type: table
  52048. #: guix-git/doc/guix.texi:35313
  52049. msgid "A G-Expression or string denoting the file name of the initial RAM disk to use (@pxref{G-Expressions})."
  52050. msgstr ""
  52051. #. type: table
  52052. #: guix-git/doc/guix.texi:35317
  52053. 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})."
  52054. msgstr ""
  52055. #. type: table
  52056. #: guix-git/doc/guix.texi:35323
  52057. 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}."
  52058. msgstr ""
  52059. #. type: item
  52060. #: guix-git/doc/guix.texi:35324
  52061. #, no-wrap
  52062. msgid "@code{multiboot-kernel} (default: @code{#f})"
  52063. msgstr ""
  52064. #. type: table
  52065. #: guix-git/doc/guix.texi:35328
  52066. 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:"
  52067. msgstr ""
  52068. #. type: lisp
  52069. #: guix-git/doc/guix.texi:35331
  52070. #, no-wrap
  52071. msgid "(file-append mach \"/boot/gnumach\")\n"
  52072. msgstr ""
  52073. #. type: item
  52074. #: guix-git/doc/guix.texi:35333
  52075. #, no-wrap
  52076. msgid "@code{multiboot-arguments} (default: @code{()})"
  52077. msgstr ""
  52078. #. type: table
  52079. #: guix-git/doc/guix.texi:35335
  52080. msgid "The list of extra command-line arguments for the multiboot-kernel."
  52081. msgstr ""
  52082. #. type: item
  52083. #: guix-git/doc/guix.texi:35336
  52084. #, no-wrap
  52085. msgid "@code{multiboot-modules} (default: @code{()})"
  52086. msgstr ""
  52087. #. type: table
  52088. #: guix-git/doc/guix.texi:35338
  52089. msgid "The list of commands for loading Multiboot modules. For example:"
  52090. msgstr ""
  52091. #. type: lisp
  52092. #: guix-git/doc/guix.texi:35344
  52093. #, no-wrap
  52094. msgid ""
  52095. "(list (list (file-append hurd \"/hurd/ext2fs.static\") \"ext2fs\"\n"
  52096. " @dots{})\n"
  52097. " (list (file-append libc \"/lib/ld.so.1\") \"exec\"\n"
  52098. " @dots{}))\n"
  52099. msgstr ""
  52100. #. type: cindex
  52101. #: guix-git/doc/guix.texi:35349 guix-git/doc/guix.texi:35408
  52102. #, no-wrap
  52103. msgid "HDPI"
  52104. msgstr ""
  52105. #. type: cindex
  52106. #: guix-git/doc/guix.texi:35350 guix-git/doc/guix.texi:35409
  52107. #, no-wrap
  52108. msgid "HiDPI"
  52109. msgstr ""
  52110. #. type: cindex
  52111. #: guix-git/doc/guix.texi:35351 guix-git/doc/guix.texi:35410
  52112. #, no-wrap
  52113. msgid "resolution"
  52114. msgstr "resoluutio"
  52115. #. type: Plain text
  52116. #: guix-git/doc/guix.texi:35355
  52117. msgid "For now only GRUB has theme support. GRUB themes are created using the @code{grub-theme} form, which is not fully documented yet."
  52118. msgstr ""
  52119. #. type: deftp
  52120. #: guix-git/doc/guix.texi:35356
  52121. #, no-wrap
  52122. msgid "{Data Type} grub-theme"
  52123. msgstr ""
  52124. #. type: deftp
  52125. #: guix-git/doc/guix.texi:35358
  52126. msgid "Data type representing the configuration of the GRUB theme."
  52127. msgstr ""
  52128. #. type: item
  52129. #: guix-git/doc/guix.texi:35360
  52130. #, no-wrap
  52131. msgid "@code{gfxmode} (default: @code{'(\"auto\")})"
  52132. msgstr ""
  52133. #. type: table
  52134. #: guix-git/doc/guix.texi:35363
  52135. msgid "The GRUB @code{gfxmode} to set (a list of screen resolution strings, @pxref{gfxmode,,, grub, GNU GRUB manual})."
  52136. msgstr ""
  52137. #. type: deffn
  52138. #: guix-git/doc/guix.texi:35366
  52139. #, no-wrap
  52140. msgid "{Scheme Procedure} grub-theme"
  52141. msgstr ""
  52142. #. type: deffn
  52143. #: guix-git/doc/guix.texi:35370
  52144. msgid "Return the default GRUB theme used by the operating system if no @code{theme} field is specified in @code{bootloader-configuration} record."
  52145. msgstr ""
  52146. #. type: deffn
  52147. #: guix-git/doc/guix.texi:35373
  52148. msgid "It comes with a fancy background image displaying the GNU and Guix logos."
  52149. msgstr ""
  52150. #. type: Plain text
  52151. #: guix-git/doc/guix.texi:35377
  52152. msgid "For example, to override the default resolution, you may use something like"
  52153. msgstr ""
  52154. #. type: lisp
  52155. #: guix-git/doc/guix.texi:35385
  52156. #, no-wrap
  52157. msgid ""
  52158. "(bootloader\n"
  52159. " (bootloader-configuration\n"
  52160. " ;; @dots{}\n"
  52161. " (theme (grub-theme\n"
  52162. " (inherit (grub-theme))\n"
  52163. " (gfxmode '(\"1024x786x32\" \"auto\"))))))\n"
  52164. msgstr ""
  52165. #. type: section
  52166. #: guix-git/doc/guix.texi:35388
  52167. #, no-wrap
  52168. msgid "Invoking @code{guix system}"
  52169. msgstr ""
  52170. #. type: Plain text
  52171. #: guix-git/doc/guix.texi:35393
  52172. 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:"
  52173. msgstr ""
  52174. #. type: example
  52175. #: guix-git/doc/guix.texi:35396
  52176. #, no-wrap
  52177. msgid "guix system @var{options}@dots{} @var{action} @var{file}\n"
  52178. msgstr ""
  52179. #. type: Plain text
  52180. #: guix-git/doc/guix.texi:35402
  52181. 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:"
  52182. msgstr ""
  52183. #. type: item
  52184. #: guix-git/doc/guix.texi:35404 guix-git/doc/guix.texi:38186
  52185. #, no-wrap
  52186. msgid "search"
  52187. msgstr "haku"
  52188. #. type: table
  52189. #: guix-git/doc/guix.texi:35407
  52190. msgid "Display available service type definitions that match the given regular expressions, sorted by relevance:"
  52191. msgstr ""
  52192. #. type: example
  52193. #: guix-git/doc/guix.texi:35429
  52194. #, no-wrap
  52195. msgid ""
  52196. "$ guix system search console\n"
  52197. "name: console-fonts\n"
  52198. "location: gnu/services/base.scm:806:2\n"
  52199. "extends: shepherd-root\n"
  52200. "description: Install the given fonts on the specified ttys (fonts are per\n"
  52201. "+ virtual console on GNU/Linux). The value of this service is a list of\n"
  52202. "+ tty/font pairs. The font can be the name of a font provided by the `kbd'\n"
  52203. "+ package or any valid argument to `setfont', as in this example:\n"
  52204. "+\n"
  52205. "+ '((\"tty1\" . \"LatGrkCyr-8x16\")\n"
  52206. "+ (\"tty2\" . (file-append\n"
  52207. "+ font-tamzen\n"
  52208. "+ \"/share/kbd/consolefonts/TamzenForPowerline10x20.psf\"))\n"
  52209. "+ (\"tty3\" . (file-append\n"
  52210. "+ font-terminus\n"
  52211. "+ \"/share/consolefonts/ter-132n\"))) ; for HDPI\n"
  52212. "relevance: 9\n"
  52213. "\n"
  52214. msgstr ""
  52215. #. type: example
  52216. #: guix-git/doc/guix.texi:35435
  52217. #, no-wrap
  52218. msgid ""
  52219. "name: mingetty\n"
  52220. "location: gnu/services/base.scm:1190:2\n"
  52221. "extends: shepherd-root\n"
  52222. "description: Provide console login using the `mingetty' program.\n"
  52223. "relevance: 2\n"
  52224. "\n"
  52225. msgstr ""
  52226. #. type: example
  52227. #: guix-git/doc/guix.texi:35442
  52228. #, no-wrap
  52229. msgid ""
  52230. "name: login\n"
  52231. "location: gnu/services/base.scm:860:2\n"
  52232. "extends: pam\n"
  52233. "description: Provide a console log-in service as specified by its\n"
  52234. "+ configuration value, a `login-configuration' object.\n"
  52235. "relevance: 2\n"
  52236. "\n"
  52237. msgstr ""
  52238. #. type: example
  52239. #: guix-git/doc/guix.texi:35444 guix-git/doc/guix.texi:38222
  52240. #, no-wrap
  52241. msgid "@dots{}\n"
  52242. msgstr ""
  52243. #. type: table
  52244. #: guix-git/doc/guix.texi:35449
  52245. 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})."
  52246. msgstr ""
  52247. #. type: item
  52248. #: guix-git/doc/guix.texi:35450 guix-git/doc/guix.texi:38228
  52249. #, no-wrap
  52250. msgid "reconfigure"
  52251. msgstr "muokkaa asetuksia"
  52252. #. type: table
  52253. #: guix-git/doc/guix.texi:35455
  52254. 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.}."
  52255. msgstr ""
  52256. #. type: quotation
  52257. #: guix-git/doc/guix.texi:35463
  52258. 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."
  52259. msgstr ""
  52260. #. type: table
  52261. #: guix-git/doc/guix.texi:35471
  52262. 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})."
  52263. msgstr ""
  52264. #. type: table
  52265. #: guix-git/doc/guix.texi:35477
  52266. 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})."
  52267. msgstr ""
  52268. #. type: table
  52269. #: guix-git/doc/guix.texi:35482
  52270. 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."
  52271. msgstr ""
  52272. #. type: cindex
  52273. #: guix-git/doc/guix.texi:35483 guix-git/doc/guix.texi:35819
  52274. #: guix-git/doc/guix.texi:36827
  52275. #, no-wrap
  52276. msgid "provenance tracking, of the operating system"
  52277. msgstr ""
  52278. #. type: table
  52279. #: guix-git/doc/guix.texi:35488
  52280. 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:"
  52281. msgstr ""
  52282. #. type: example
  52283. #: guix-git/doc/guix.texi:35491
  52284. #, no-wrap
  52285. msgid "guix system describe\n"
  52286. msgstr ""
  52287. #. type: table
  52288. #: guix-git/doc/guix.texi:35497
  52289. 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:"
  52290. msgstr ""
  52291. #. type: example
  52292. #: guix-git/doc/guix.texi:35503
  52293. #, no-wrap
  52294. msgid ""
  52295. "guix time-machine \\\n"
  52296. " -C /var/guix/profiles/system-@var{n}-link/channels.scm -- \\\n"
  52297. " system reconfigure \\\n"
  52298. " /var/guix/profiles/system-@var{n}-link/configuration.scm\n"
  52299. msgstr ""
  52300. #. type: table
  52301. #: guix-git/doc/guix.texi:35509
  52302. 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."
  52303. msgstr ""
  52304. #. type: table
  52305. #: guix-git/doc/guix.texi:35515
  52306. 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}."
  52307. msgstr ""
  52308. #. type: item
  52309. #: guix-git/doc/guix.texi:35516 guix-git/doc/guix.texi:38287
  52310. #, no-wrap
  52311. msgid "switch-generation"
  52312. msgstr ""
  52313. #. type: table
  52314. #: guix-git/doc/guix.texi:35525
  52315. 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."
  52316. msgstr ""
  52317. #. type: table
  52318. #: guix-git/doc/guix.texi:35529
  52319. msgid "The bootloader itself is not being reinstalled when using this command. Thus, the installed bootloader is used with an updated configuration file."
  52320. msgstr ""
  52321. #. type: table
  52322. #: guix-git/doc/guix.texi:35533
  52323. msgid "The target generation can be specified explicitly by its generation number. For example, the following invocation would switch to system generation 7:"
  52324. msgstr ""
  52325. #. type: example
  52326. #: guix-git/doc/guix.texi:35536
  52327. #, no-wrap
  52328. msgid "guix system switch-generation 7\n"
  52329. msgstr ""
  52330. #. type: table
  52331. #: guix-git/doc/guix.texi:35544 guix-git/doc/guix.texi:38306
  52332. 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:"
  52333. msgstr ""
  52334. #. type: example
  52335. #: guix-git/doc/guix.texi:35547
  52336. #, no-wrap
  52337. msgid "guix system switch-generation -- -1\n"
  52338. msgstr ""
  52339. #. type: table
  52340. #: guix-git/doc/guix.texi:35555
  52341. 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."
  52342. msgstr ""
  52343. #. type: table
  52344. #: guix-git/doc/guix.texi:35557 guix-git/doc/guix.texi:38312
  52345. msgid "This action will fail if the specified generation does not exist."
  52346. msgstr ""
  52347. #. type: item
  52348. #: guix-git/doc/guix.texi:35558 guix-git/doc/guix.texi:38313
  52349. #, no-wrap
  52350. msgid "roll-back"
  52351. msgstr ""
  52352. #. type: table
  52353. #: guix-git/doc/guix.texi:35564
  52354. 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}."
  52355. msgstr ""
  52356. #. type: table
  52357. #: guix-git/doc/guix.texi:35568
  52358. msgid "Currently, as with @command{switch-generation}, you must reboot after running this action to actually start using the preceding system generation."
  52359. msgstr ""
  52360. #. type: item
  52361. #: guix-git/doc/guix.texi:35569 guix-git/doc/guix.texi:38319
  52362. #, no-wrap
  52363. msgid "delete-generations"
  52364. msgstr ""
  52365. #. type: cindex
  52366. #: guix-git/doc/guix.texi:35570
  52367. #, no-wrap
  52368. msgid "deleting system generations"
  52369. msgstr ""
  52370. #. type: cindex
  52371. #: guix-git/doc/guix.texi:35571 guix-git/doc/guix.texi:38321
  52372. #, no-wrap
  52373. msgid "saving space"
  52374. msgstr ""
  52375. #. type: table
  52376. #: guix-git/doc/guix.texi:35575
  52377. msgid "Delete system generations, making them candidates for garbage collection (@pxref{Invoking guix gc}, for information on how to run the ``garbage collector'')."
  52378. msgstr ""
  52379. #. type: table
  52380. #: guix-git/doc/guix.texi:35579
  52381. 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:"
  52382. msgstr ""
  52383. #. type: example
  52384. #: guix-git/doc/guix.texi:35582
  52385. #, no-wrap
  52386. msgid "guix system delete-generations\n"
  52387. msgstr ""
  52388. #. type: table
  52389. #: guix-git/doc/guix.texi:35586
  52390. msgid "You can also select the generations you want to delete. The example below deletes all the system generations that are more than two months old:"
  52391. msgstr ""
  52392. #. type: example
  52393. #: guix-git/doc/guix.texi:35589
  52394. #, no-wrap
  52395. msgid "guix system delete-generations 2m\n"
  52396. msgstr ""
  52397. #. type: table
  52398. #: guix-git/doc/guix.texi:35594
  52399. 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."
  52400. msgstr ""
  52401. #. type: table
  52402. #: guix-git/doc/guix.texi:35599
  52403. 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."
  52404. msgstr ""
  52405. #. type: item
  52406. #: guix-git/doc/guix.texi:35600
  52407. #, no-wrap
  52408. msgid "init"
  52409. msgstr ""
  52410. #. type: table
  52411. #: guix-git/doc/guix.texi:35604
  52412. 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:"
  52413. msgstr ""
  52414. #. type: example
  52415. #: guix-git/doc/guix.texi:35607
  52416. #, no-wrap
  52417. msgid "guix system init my-os-config.scm /mnt\n"
  52418. msgstr ""
  52419. #. type: table
  52420. #: guix-git/doc/guix.texi:35614
  52421. 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."
  52422. msgstr ""
  52423. #. type: table
  52424. #: guix-git/doc/guix.texi:35618
  52425. msgid "This command also installs bootloader on the targets specified in @file{my-os-config}, unless the @option{--no-bootloader} option was passed."
  52426. msgstr ""
  52427. #. type: item
  52428. #: guix-git/doc/guix.texi:35619
  52429. #, no-wrap
  52430. msgid "vm"
  52431. msgstr "vm"
  52432. #. type: cindex
  52433. #: guix-git/doc/guix.texi:35620 guix-git/doc/guix.texi:36238
  52434. #, no-wrap
  52435. msgid "virtual machine"
  52436. msgstr "virtuaalikone"
  52437. #. type: cindex
  52438. #: guix-git/doc/guix.texi:35621
  52439. #, no-wrap
  52440. msgid "VM"
  52441. msgstr ""
  52442. #. type: anchor{#1}
  52443. #: guix-git/doc/guix.texi:35625
  52444. msgid "guix system vm"
  52445. msgstr ""
  52446. #. type: table
  52447. #: guix-git/doc/guix.texi:35625
  52448. msgid "Build a virtual machine (VM) that contains the operating system declared in @var{file}, and return a script to run that VM."
  52449. msgstr ""
  52450. #. type: quotation
  52451. #: guix-git/doc/guix.texi:35633
  52452. 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})."
  52453. msgstr ""
  52454. #. type: table
  52455. #: guix-git/doc/guix.texi:35638
  52456. 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:"
  52457. msgstr ""
  52458. #. type: example
  52459. #: guix-git/doc/guix.texi:35641
  52460. #, no-wrap
  52461. msgid "$ /gnu/store/@dots{}-run-vm.sh -m 1024 -smp 2 -nic user,model=virtio-net-pci\n"
  52462. msgstr ""
  52463. #. type: table
  52464. #: guix-git/doc/guix.texi:35644
  52465. msgid "It's possible to combine the two steps into one:"
  52466. msgstr ""
  52467. #. type: example
  52468. #: guix-git/doc/guix.texi:35647
  52469. #, no-wrap
  52470. msgid "$ $(guix system vm my-config.scm) -m 1024 -smp 2 -nic user,model=virtio-net-pci\n"
  52471. msgstr ""
  52472. #. type: table
  52473. #: guix-git/doc/guix.texi:35650
  52474. msgid "The VM shares its store with the host system."
  52475. msgstr ""
  52476. #. type: table
  52477. #: guix-git/doc/guix.texi:35655
  52478. msgid "By default, the root file system of the VM is mounted volatile; the @option{--persistent} option can be provided to make it persistent instead. In that case, the VM disk-image file will be copied from the store to the @env{TMPDIR} directory to make it writable."
  52479. msgstr ""
  52480. #. type: table
  52481. #: guix-git/doc/guix.texi:35660
  52482. 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."
  52483. msgstr ""
  52484. #. type: table
  52485. #: guix-git/doc/guix.texi:35664
  52486. 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:"
  52487. msgstr ""
  52488. #. type: example
  52489. #: guix-git/doc/guix.texi:35668
  52490. #, no-wrap
  52491. msgid ""
  52492. "guix system vm my-config.scm \\\n"
  52493. " --expose=$HOME --share=$HOME/tmp=/exchange\n"
  52494. msgstr ""
  52495. #. type: table
  52496. #: guix-git/doc/guix.texi:35673
  52497. 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."
  52498. msgstr ""
  52499. #. type: table
  52500. #: guix-git/doc/guix.texi:35678
  52501. 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."
  52502. msgstr ""
  52503. #. type: table
  52504. #: guix-git/doc/guix.texi:35681
  52505. msgid "The @option{--image-size} option can be used to specify the size of the image."
  52506. msgstr ""
  52507. #. type: table
  52508. #: guix-git/doc/guix.texi:35688
  52509. msgid "The @option{--no-graphic} option will instruct @command{guix system} to spawn a headless VM that will use the invoking tty for IO. Among other things, this enables copy-pasting, and scrollback. Use the @kbd{ctrl-a} prefix to issue QEMU commands; e.g. @kbd{ctrl-a h} prints a help, @kbd{ctrl-a x} quits the VM, and @kbd{ctrl-a c} switches between the QEMU monitor and the VM."
  52510. msgstr ""
  52511. #. type: cindex
  52512. #: guix-git/doc/guix.texi:35689
  52513. #, no-wrap
  52514. msgid "System images, creation in various formats"
  52515. msgstr ""
  52516. #. type: cindex
  52517. #: guix-git/doc/guix.texi:35690
  52518. #, no-wrap
  52519. msgid "Creating system images in various formats"
  52520. msgstr ""
  52521. #. type: item
  52522. #: guix-git/doc/guix.texi:35691
  52523. #, no-wrap
  52524. msgid "image"
  52525. msgstr "levykuva"
  52526. #. type: cindex
  52527. #: guix-git/doc/guix.texi:35692
  52528. #, no-wrap
  52529. msgid "image, creating disk images"
  52530. msgstr ""
  52531. #. type: table
  52532. #: guix-git/doc/guix.texi:35704
  52533. 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:"
  52534. msgstr ""
  52535. #. type: example
  52536. #: guix-git/doc/guix.texi:35712
  52537. #, no-wrap
  52538. msgid ""
  52539. "image=$(guix system image --image-type=qcow2 \\\n"
  52540. " gnu/system/examples/lightweight-desktop.tmpl)\n"
  52541. "cp $image /tmp/my-image.qcow2\n"
  52542. "chmod +w /tmp/my-image.qcow2\n"
  52543. "qemu-system-x86_64 -enable-kvm -hda /tmp/my-image.qcow2 -m 1000 \\\n"
  52544. " -bios $(guix build ovmf)/share/firmware/ovmf_x64.bin\n"
  52545. msgstr ""
  52546. #. type: table
  52547. #: guix-git/doc/guix.texi:35718
  52548. 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:"
  52549. msgstr ""
  52550. #. type: example
  52551. #: guix-git/doc/guix.texi:35721
  52552. #, no-wrap
  52553. msgid "# dd if=$(guix system image my-os.scm) of=/dev/sdc status=progress\n"
  52554. msgstr ""
  52555. #. type: table
  52556. #: guix-git/doc/guix.texi:35725
  52557. msgid "The @code{--list-image-types} command lists all the available image types."
  52558. msgstr ""
  52559. #. type: cindex
  52560. #: guix-git/doc/guix.texi:35726
  52561. #, no-wrap
  52562. msgid "creating virtual machine images"
  52563. msgstr ""
  52564. #. type: table
  52565. #: guix-git/doc/guix.texi:35735
  52566. 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)."
  52567. msgstr ""
  52568. #. type: cindex
  52569. #: guix-git/doc/guix.texi:35736
  52570. #, no-wrap
  52571. msgid "docker-image, creating docker images"
  52572. msgstr ""
  52573. #. type: table
  52574. #: guix-git/doc/guix.texi:35742
  52575. msgid "When using the @code{docker} image type, a Docker image is produced. Guix builds the image from scratch, not from a pre-existing Docker base image. As a result, it contains @emph{exactly} what you define in the operating system configuration file. You can then load the image and launch a Docker container using commands like the following:"
  52576. msgstr ""
  52577. #. type: example
  52578. #: guix-git/doc/guix.texi:35747
  52579. #, no-wrap
  52580. msgid ""
  52581. "image_id=\"$(docker load < guix-system-docker-image.tar.gz)\"\n"
  52582. "container_id=\"$(docker create $image_id)\"\n"
  52583. "docker start $container_id\n"
  52584. msgstr ""
  52585. #. type: table
  52586. #: guix-git/doc/guix.texi:35754
  52587. 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}:"
  52588. msgstr ""
  52589. #. type: example
  52590. #: guix-git/doc/guix.texi:35757
  52591. #, no-wrap
  52592. msgid "docker exec -ti $container_id /run/current-system/profile/bin/bash --login\n"
  52593. msgstr ""
  52594. #. type: table
  52595. #: guix-git/doc/guix.texi:35764
  52596. 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}."
  52597. msgstr ""
  52598. #. type: table
  52599. #: guix-git/doc/guix.texi:35768
  52600. 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."
  52601. msgstr ""
  52602. #. type: table
  52603. #: guix-git/doc/guix.texi:35776
  52604. 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."
  52605. msgstr ""
  52606. #. type: table
  52607. #: guix-git/doc/guix.texi:35780
  52608. 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."
  52609. msgstr ""
  52610. #. type: table
  52611. #: guix-git/doc/guix.texi:35784
  52612. 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:"
  52613. msgstr ""
  52614. #. type: example
  52615. #: guix-git/doc/guix.texi:35788
  52616. #, no-wrap
  52617. msgid ""
  52618. "guix system container my-config.scm \\\n"
  52619. " --expose=$HOME --share=$HOME/tmp=/exchange\n"
  52620. msgstr ""
  52621. #. type: quotation
  52622. #: guix-git/doc/guix.texi:35792
  52623. msgid "This option requires Linux-libre 3.19 or newer."
  52624. msgstr ""
  52625. #. type: Plain text
  52626. #: guix-git/doc/guix.texi:35799 guix-git/doc/guix.texi:38383
  52627. 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:"
  52628. msgstr ""
  52629. #. type: table
  52630. #: guix-git/doc/guix.texi:35808
  52631. 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})."
  52632. msgstr ""
  52633. #. type: table
  52634. #: guix-git/doc/guix.texi:35813
  52635. msgid "Attempt to build for @var{system} instead of the host system type. This works as per @command{guix build} (@pxref{Invoking guix build})."
  52636. msgstr ""
  52637. #. type: table
  52638. #: guix-git/doc/guix.texi:35818
  52639. msgid "Return the derivation file name of the given operating system without building anything."
  52640. msgstr ""
  52641. #. type: table
  52642. #: guix-git/doc/guix.texi:35827
  52643. 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:"
  52644. msgstr ""
  52645. #. type: example
  52646. #: guix-git/doc/guix.texi:35830
  52647. #, no-wrap
  52648. msgid "guix system image -t qcow2 --save-provenance config.scm\n"
  52649. msgstr ""
  52650. #. type: table
  52651. #: guix-git/doc/guix.texi:35837
  52652. 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."
  52653. msgstr ""
  52654. #. type: item
  52655. #: guix-git/doc/guix.texi:35838
  52656. #, no-wrap
  52657. msgid "--image-type=@var{type}"
  52658. msgstr ""
  52659. #. type: table
  52660. #: guix-git/doc/guix.texi:35841
  52661. msgid "For the @code{image} action, create an image with given @var{type}."
  52662. msgstr ""
  52663. #. type: table
  52664. #: guix-git/doc/guix.texi:35844
  52665. msgid "When this option is omitted, @command{guix system} uses the @code{efi-raw} image type."
  52666. msgstr ""
  52667. #. type: cindex
  52668. #: guix-git/doc/guix.texi:35845
  52669. #, no-wrap
  52670. msgid "ISO-9660 format"
  52671. msgstr ""
  52672. #. type: cindex
  52673. #: guix-git/doc/guix.texi:35846
  52674. #, no-wrap
  52675. msgid "CD image format"
  52676. msgstr ""
  52677. #. type: cindex
  52678. #: guix-git/doc/guix.texi:35847
  52679. #, no-wrap
  52680. msgid "DVD image format"
  52681. msgstr ""
  52682. #. type: table
  52683. #: guix-git/doc/guix.texi:35850
  52684. msgid "@option{--image-type=iso9660} produces an ISO-9660 image, suitable for burning on CDs and DVDs."
  52685. msgstr ""
  52686. #. type: item
  52687. #: guix-git/doc/guix.texi:35851
  52688. #, no-wrap
  52689. msgid "--image-size=@var{size}"
  52690. msgstr ""
  52691. #. type: table
  52692. #: guix-git/doc/guix.texi:35856
  52693. 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})."
  52694. msgstr ""
  52695. #. type: table
  52696. #: guix-git/doc/guix.texi:35860
  52697. 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}."
  52698. msgstr ""
  52699. #. type: table
  52700. #: guix-git/doc/guix.texi:35865
  52701. msgid "For the @code{container} action, allow containers to access the host network, that is, do not create a network namespace."
  52702. msgstr ""
  52703. #. type: item
  52704. #: guix-git/doc/guix.texi:35871
  52705. #, no-wrap
  52706. msgid "--skip-checks"
  52707. msgstr ""
  52708. #. type: table
  52709. #: guix-git/doc/guix.texi:35873
  52710. msgid "Skip pre-installation safety checks."
  52711. msgstr ""
  52712. #. type: table
  52713. #: guix-git/doc/guix.texi:35880
  52714. 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."
  52715. msgstr ""
  52716. #. type: table
  52717. #: guix-git/doc/guix.texi:35883
  52718. msgid "Instruct @command{guix system reconfigure} to allow system downgrades."
  52719. msgstr ""
  52720. #. type: table
  52721. #: guix-git/doc/guix.texi:35891
  52722. 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."
  52723. msgstr ""
  52724. #. type: cindex
  52725. #: guix-git/doc/guix.texi:35897
  52726. #, no-wrap
  52727. msgid "on-error"
  52728. msgstr ""
  52729. #. type: cindex
  52730. #: guix-git/doc/guix.texi:35898
  52731. #, no-wrap
  52732. msgid "on-error strategy"
  52733. msgstr ""
  52734. #. type: cindex
  52735. #: guix-git/doc/guix.texi:35899
  52736. #, no-wrap
  52737. msgid "error strategy"
  52738. msgstr ""
  52739. #. type: item
  52740. #: guix-git/doc/guix.texi:35900
  52741. #, no-wrap
  52742. msgid "--on-error=@var{strategy}"
  52743. msgstr ""
  52744. #. type: table
  52745. #: guix-git/doc/guix.texi:35903
  52746. msgid "Apply @var{strategy} when an error occurs when reading @var{file}. @var{strategy} may be one of the following:"
  52747. msgstr ""
  52748. #. type: item
  52749. #: guix-git/doc/guix.texi:35905
  52750. #, no-wrap
  52751. msgid "nothing-special"
  52752. msgstr ""
  52753. #. type: table
  52754. #: guix-git/doc/guix.texi:35907
  52755. msgid "Report the error concisely and exit. This is the default strategy."
  52756. msgstr ""
  52757. #. type: item
  52758. #: guix-git/doc/guix.texi:35908
  52759. #, no-wrap
  52760. msgid "backtrace"
  52761. msgstr ""
  52762. #. type: table
  52763. #: guix-git/doc/guix.texi:35910
  52764. msgid "Likewise, but also display a backtrace."
  52765. msgstr ""
  52766. #. type: item
  52767. #: guix-git/doc/guix.texi:35911
  52768. #, no-wrap
  52769. msgid "debug"
  52770. msgstr "virheenjäljitys"
  52771. #. type: table
  52772. #: guix-git/doc/guix.texi:35917
  52773. 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."
  52774. msgstr ""
  52775. #. type: Plain text
  52776. #: guix-git/doc/guix.texi:35924
  52777. 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:"
  52778. msgstr ""
  52779. #. type: item
  52780. #: guix-git/doc/guix.texi:35927 guix-git/doc/guix.texi:38346
  52781. #, no-wrap
  52782. msgid "describe"
  52783. msgstr ""
  52784. #. type: table
  52785. #: guix-git/doc/guix.texi:35930
  52786. msgid "Describe the running system generation: its file name, the kernel and bootloader used, etc., as well as provenance information when available."
  52787. msgstr ""
  52788. #. type: quotation
  52789. #: guix-git/doc/guix.texi:35937
  52790. msgid "The @emph{running} system generation---referred to by @file{/run/current-system}---is not necessarily the @emph{current} system generation---referred to by @file{/var/guix/profiles/system}: it differs when, for instance, you chose from the bootloader menu to boot an older generation."
  52791. msgstr ""
  52792. #. type: quotation
  52793. #: guix-git/doc/guix.texi:35941
  52794. msgid "It can also differ from the @emph{booted} system generation---referred to by @file{/run/booted-system}---for instance because you reconfigured the system in the meantime."
  52795. msgstr ""
  52796. #. type: item
  52797. #: guix-git/doc/guix.texi:35943 guix-git/doc/guix.texi:38350
  52798. #, no-wrap
  52799. msgid "list-generations"
  52800. msgstr ""
  52801. #. type: table
  52802. #: guix-git/doc/guix.texi:35948
  52803. 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})."
  52804. msgstr ""
  52805. #. type: table
  52806. #: guix-git/doc/guix.texi:35953 guix-git/doc/guix.texi:38360
  52807. 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:"
  52808. msgstr ""
  52809. #. type: example
  52810. #: guix-git/doc/guix.texi:35956
  52811. #, no-wrap
  52812. msgid "$ guix system list-generations 10d\n"
  52813. msgstr ""
  52814. #. type: Plain text
  52815. #: guix-git/doc/guix.texi:35963
  52816. 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:"
  52817. msgstr ""
  52818. #. type: anchor{#1}
  52819. #: guix-git/doc/guix.texi:35965
  52820. msgid "system-extension-graph"
  52821. msgstr ""
  52822. #. type: item
  52823. #: guix-git/doc/guix.texi:35967
  52824. #, no-wrap
  52825. msgid "extension-graph"
  52826. msgstr ""
  52827. #. type: table
  52828. #: guix-git/doc/guix.texi:35974
  52829. 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}}):"
  52830. msgstr ""
  52831. #. type: table
  52832. #: guix-git/doc/guix.texi:35976
  52833. msgid "The command:"
  52834. msgstr ""
  52835. #. type: example
  52836. #: guix-git/doc/guix.texi:35979
  52837. #, no-wrap
  52838. msgid "$ guix system extension-graph @var{file} | xdot -\n"
  52839. msgstr ""
  52840. #. type: table
  52841. #: guix-git/doc/guix.texi:35982
  52842. msgid "shows the extension relations among services."
  52843. msgstr ""
  52844. #. type: anchor{#1}
  52845. #: guix-git/doc/guix.texi:35984
  52846. msgid "system-shepherd-graph"
  52847. msgstr ""
  52848. #. type: item
  52849. #: guix-git/doc/guix.texi:35984
  52850. #, no-wrap
  52851. msgid "shepherd-graph"
  52852. msgstr ""
  52853. #. type: table
  52854. #: guix-git/doc/guix.texi:35989
  52855. 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."
  52856. msgstr ""
  52857. #. type: table
  52858. #: guix-git/doc/guix.texi:35992
  52859. msgid "Again, the default output format is Dot/Graphviz, but you can pass @option{--graph-backend} to select a different one."
  52860. msgstr ""
  52861. #. type: section
  52862. #: guix-git/doc/guix.texi:35996
  52863. #, no-wrap
  52864. msgid "Invoking @code{guix deploy}"
  52865. msgstr ""
  52866. #. type: Plain text
  52867. #: guix-git/doc/guix.texi:36004
  52868. 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''."
  52869. msgstr ""
  52870. #. type: quotation
  52871. #: guix-git/doc/guix.texi:36009 guix-git/doc/guix.texi:37504
  52872. 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}!"
  52873. msgstr ""
  52874. #. type: example
  52875. #: guix-git/doc/guix.texi:36013
  52876. #, no-wrap
  52877. msgid "guix deploy @var{file}\n"
  52878. msgstr ""
  52879. #. type: Plain text
  52880. #: guix-git/doc/guix.texi:36017
  52881. 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:"
  52882. msgstr ""
  52883. #. type: lisp
  52884. #: guix-git/doc/guix.texi:36024
  52885. #, no-wrap
  52886. msgid ""
  52887. ";; This is a Guix deployment of a \"bare bones\" setup, with\n"
  52888. ";; no X11 display server, to a machine with an SSH daemon\n"
  52889. ";; listening on localhost:2222. A configuration such as this\n"
  52890. ";; may be appropriate for virtual machine with ports\n"
  52891. ";; forwarded to the host's loopback interface.\n"
  52892. "\n"
  52893. msgstr ""
  52894. #. type: lisp
  52895. #: guix-git/doc/guix.texi:36027
  52896. #, no-wrap
  52897. msgid ""
  52898. "(use-service-modules networking ssh)\n"
  52899. "(use-package-modules bootloaders)\n"
  52900. "\n"
  52901. msgstr ""
  52902. #. type: lisp
  52903. #: guix-git/doc/guix.texi:36048
  52904. #, no-wrap
  52905. msgid ""
  52906. "(define %system\n"
  52907. " (operating-system\n"
  52908. " (host-name \"gnu-deployed\")\n"
  52909. " (timezone \"Etc/UTC\")\n"
  52910. " (bootloader (bootloader-configuration\n"
  52911. " (bootloader grub-bootloader)\n"
  52912. " (targets '(\"/dev/vda\"))\n"
  52913. " (terminal-outputs '(console))))\n"
  52914. " (file-systems (cons (file-system\n"
  52915. " (mount-point \"/\")\n"
  52916. " (device \"/dev/vda1\")\n"
  52917. " (type \"ext4\"))\n"
  52918. " %base-file-systems))\n"
  52919. " (services\n"
  52920. " (append (list (service dhcp-client-service-type)\n"
  52921. " (service openssh-service-type\n"
  52922. " (openssh-configuration\n"
  52923. " (permit-root-login #t)\n"
  52924. " (allow-empty-passwords? #t))))\n"
  52925. " %base-services))))\n"
  52926. "\n"
  52927. msgstr ""
  52928. #. type: lisp
  52929. #: guix-git/doc/guix.texi:36058
  52930. #, no-wrap
  52931. msgid ""
  52932. "(list (machine\n"
  52933. " (operating-system %system)\n"
  52934. " (environment managed-host-environment-type)\n"
  52935. " (configuration (machine-ssh-configuration\n"
  52936. " (host-name \"localhost\")\n"
  52937. " (system \"x86_64-linux\")\n"
  52938. " (user \"alice\")\n"
  52939. " (identity \"./id_rsa\")\n"
  52940. " (port 2222)))))\n"
  52941. msgstr ""
  52942. #. type: Plain text
  52943. #: guix-git/doc/guix.texi:36071
  52944. 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."
  52945. msgstr ""
  52946. #. type: Plain text
  52947. #: guix-git/doc/guix.texi:36076
  52948. 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:"
  52949. msgstr ""
  52950. #. type: Plain text
  52951. #: guix-git/doc/guix.texi:36084
  52952. msgid "Each target machine must authorize the key of the master machine so that it accepts store items it receives from the coordinator:"
  52953. msgstr ""
  52954. #. type: example
  52955. #: guix-git/doc/guix.texi:36087
  52956. #, no-wrap
  52957. msgid "# guix archive --authorize < coordinator-public-key.txt\n"
  52958. msgstr ""
  52959. #. type: Plain text
  52960. #: guix-git/doc/guix.texi:36098
  52961. 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:"
  52962. msgstr ""
  52963. #. type: lisp
  52964. #: guix-git/doc/guix.texi:36102
  52965. #, no-wrap
  52966. msgid ""
  52967. "(use-modules ...\n"
  52968. " (gnu system)) ;for %sudoers-specification\n"
  52969. "\n"
  52970. msgstr ""
  52971. #. type: lisp
  52972. #: guix-git/doc/guix.texi:36104
  52973. #, no-wrap
  52974. msgid ""
  52975. "(define %user \"username\")\n"
  52976. "\n"
  52977. msgstr ""
  52978. #. type: lisp
  52979. #: guix-git/doc/guix.texi:36112
  52980. #, no-wrap
  52981. msgid ""
  52982. "(operating-system\n"
  52983. " ...\n"
  52984. " (sudoers-file\n"
  52985. " (plain-file \"sudoers\"\n"
  52986. " (string-append (plain-file-content %sudoers-specification)\n"
  52987. " (format #f \"~a ALL = NOPASSWD: ALL~%\"\n"
  52988. " %user)))))\n"
  52989. "\n"
  52990. msgstr ""
  52991. #. type: Plain text
  52992. #: guix-git/doc/guix.texi:36117
  52993. msgid "For more information regarding the format of the @file{sudoers} file, consult @command{man sudoers}."
  52994. msgstr ""
  52995. #. type: Plain text
  52996. #: guix-git/doc/guix.texi:36122
  52997. msgid "Once you've deployed a system on a set of machines, you may find it useful to run a command on all of them. The @option{--execute} or @option{-x} option lets you do that; the example below runs @command{uname -a} on all the machines listed in the deployment file:"
  52998. msgstr ""
  52999. #. type: example
  53000. #: guix-git/doc/guix.texi:36125
  53001. #, no-wrap
  53002. msgid "guix deploy @var{file} -x -- uname -a\n"
  53003. msgstr ""
  53004. #. type: Plain text
  53005. #: guix-git/doc/guix.texi:36129
  53006. msgid "One thing you may often need to do after deployment is restart specific services on all the machines, which you can do like so:"
  53007. msgstr ""
  53008. #. type: example
  53009. #: guix-git/doc/guix.texi:36132
  53010. #, no-wrap
  53011. msgid "guix deploy @var{file} -x -- herd restart @var{service}\n"
  53012. msgstr ""
  53013. #. type: Plain text
  53014. #: guix-git/doc/guix.texi:36136
  53015. msgid "The @command{guix deploy -x} command returns zero if and only if the command succeeded on all the machines."
  53016. msgstr ""
  53017. #. type: Plain text
  53018. #: guix-git/doc/guix.texi:36141
  53019. msgid "Below are the data types you need to know about when writing a deployment file."
  53020. msgstr ""
  53021. #. type: deftp
  53022. #: guix-git/doc/guix.texi:36142
  53023. #, no-wrap
  53024. msgid "{Data Type} machine"
  53025. msgstr ""
  53026. #. type: deftp
  53027. #: guix-git/doc/guix.texi:36145
  53028. msgid "This is the data type representing a single machine in a heterogeneous Guix deployment."
  53029. msgstr ""
  53030. #. type: table
  53031. #: guix-git/doc/guix.texi:36149
  53032. msgid "The object of the operating system configuration to deploy."
  53033. msgstr ""
  53034. #. type: code{#1}
  53035. #: guix-git/doc/guix.texi:36150
  53036. #, no-wrap
  53037. msgid "environment"
  53038. msgstr "ympäristö"
  53039. #. type: table
  53040. #: guix-git/doc/guix.texi:36152
  53041. msgid "An @code{environment-type} describing how the machine should be provisioned."
  53042. msgstr ""
  53043. #. type: item
  53044. #: guix-git/doc/guix.texi:36153
  53045. #, no-wrap
  53046. msgid "@code{configuration} (default: @code{#f})"
  53047. msgstr ""
  53048. #. type: table
  53049. #: guix-git/doc/guix.texi:36158
  53050. 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."
  53051. msgstr ""
  53052. #. type: deftp
  53053. #: guix-git/doc/guix.texi:36161
  53054. #, no-wrap
  53055. msgid "{Data Type} machine-ssh-configuration"
  53056. msgstr ""
  53057. #. type: deftp
  53058. #: guix-git/doc/guix.texi:36164
  53059. msgid "This is the data type representing the SSH client parameters for a machine with an @code{environment} of @code{managed-host-environment-type}."
  53060. msgstr ""
  53061. #. type: item
  53062. #: guix-git/doc/guix.texi:36167
  53063. #, no-wrap
  53064. msgid "@code{build-locally?} (default: @code{#t})"
  53065. msgstr ""
  53066. #. type: table
  53067. #: guix-git/doc/guix.texi:36169
  53068. msgid "If false, system derivations will be built on the machine being deployed to."
  53069. msgstr ""
  53070. #. type: code{#1}
  53071. #: guix-git/doc/guix.texi:36169
  53072. #, no-wrap
  53073. msgid "system"
  53074. msgstr "järjestelmä"
  53075. #. type: table
  53076. #: guix-git/doc/guix.texi:36172
  53077. msgid "The system type describing the architecture of the machine being deployed to---e.g., @code{\"x86_64-linux\"}."
  53078. msgstr ""
  53079. #. type: item
  53080. #: guix-git/doc/guix.texi:36172
  53081. #, no-wrap
  53082. msgid "@code{authorize?} (default: @code{#t})"
  53083. msgstr ""
  53084. #. type: table
  53085. #: guix-git/doc/guix.texi:36175
  53086. msgid "If true, the coordinator's signing key will be added to the remote's ACL keyring."
  53087. msgstr ""
  53088. #. type: item
  53089. #: guix-git/doc/guix.texi:36177
  53090. #, no-wrap
  53091. msgid "@code{identity} (default: @code{#f})"
  53092. msgstr ""
  53093. #. type: table
  53094. #: guix-git/doc/guix.texi:36180
  53095. msgid "If specified, the path to the SSH private key to use to authenticate with the remote host."
  53096. msgstr ""
  53097. #. type: item
  53098. #: guix-git/doc/guix.texi:36181
  53099. #, no-wrap
  53100. msgid "@code{host-key} (default: @code{#f})"
  53101. msgstr ""
  53102. #. type: table
  53103. #: guix-git/doc/guix.texi:36183
  53104. msgid "This should be the SSH host key of the machine, which looks like this:"
  53105. msgstr ""
  53106. #. type: example
  53107. #: guix-git/doc/guix.texi:36186
  53108. #, no-wrap
  53109. msgid "ssh-ed25519 AAAAC3Nz@dots{} root@@example.org\n"
  53110. msgstr ""
  53111. #. type: table
  53112. #: guix-git/doc/guix.texi:36191
  53113. 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."
  53114. msgstr ""
  53115. #. type: item
  53116. #: guix-git/doc/guix.texi:36192
  53117. #, no-wrap
  53118. msgid "@code{allow-downgrades?} (default: @code{#f})"
  53119. msgstr ""
  53120. #. type: table
  53121. #: guix-git/doc/guix.texi:36194
  53122. msgid "Whether to allow potential downgrades."
  53123. msgstr ""
  53124. #. type: table
  53125. #: guix-git/doc/guix.texi:36202
  53126. 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."
  53127. msgstr ""
  53128. #. type: item
  53129. #: guix-git/doc/guix.texi:36203
  53130. #, no-wrap
  53131. msgid "@code{safety-checks?} (default: @code{#t})"
  53132. msgstr ""
  53133. #. type: table
  53134. #: guix-git/doc/guix.texi:36209
  53135. msgid "Whether to perform ``safety checks'' before deployment. This includes verifying that devices and file systems referred to in the operating system configuration actually exist on the target machine, and making sure that Linux modules required to access storage devices at boot time are listed in the @code{initrd-modules} field of the operating system."
  53136. msgstr ""
  53137. #. type: table
  53138. #: guix-git/doc/guix.texi:36212
  53139. msgid "These safety checks ensure that you do not inadvertently deploy a system that would fail to boot. Be careful before turning them off!"
  53140. msgstr ""
  53141. #. type: deftp
  53142. #: guix-git/doc/guix.texi:36215
  53143. #, no-wrap
  53144. msgid "{Data Type} digital-ocean-configuration"
  53145. msgstr ""
  53146. #. type: deftp
  53147. #: guix-git/doc/guix.texi:36218
  53148. 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}."
  53149. msgstr ""
  53150. #. type: code{#1}
  53151. #: guix-git/doc/guix.texi:36220
  53152. #, no-wrap
  53153. msgid "ssh-key"
  53154. msgstr "ssh-avain"
  53155. #. type: table
  53156. #: guix-git/doc/guix.texi:36223
  53157. msgid "The path to the SSH private key to use to authenticate with the remote host. In the future, this field may not exist."
  53158. msgstr ""
  53159. #. type: code{#1}
  53160. #: guix-git/doc/guix.texi:36223
  53161. #, no-wrap
  53162. msgid "tags"
  53163. msgstr ""
  53164. #. type: table
  53165. #: guix-git/doc/guix.texi:36226
  53166. 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."
  53167. msgstr ""
  53168. #. type: code{#1}
  53169. #: guix-git/doc/guix.texi:36226
  53170. #, no-wrap
  53171. msgid "region"
  53172. msgstr "alue"
  53173. #. type: table
  53174. #: guix-git/doc/guix.texi:36228
  53175. msgid "A Digital Ocean region slug, such as @code{\"nyc3\"}."
  53176. msgstr ""
  53177. #. type: table
  53178. #: guix-git/doc/guix.texi:36230
  53179. msgid "A Digital Ocean size slug, such as @code{\"s-1vcpu-1gb\"}"
  53180. msgstr ""
  53181. #. type: code{#1}
  53182. #: guix-git/doc/guix.texi:36230
  53183. #, no-wrap
  53184. msgid "enable-ipv6?"
  53185. msgstr ""
  53186. #. type: table
  53187. #: guix-git/doc/guix.texi:36232
  53188. msgid "Whether or not the droplet should be created with IPv6 networking."
  53189. msgstr ""
  53190. #. type: section
  53191. #: guix-git/doc/guix.texi:36236
  53192. #, no-wrap
  53193. msgid "Running Guix in a Virtual Machine"
  53194. msgstr ""
  53195. #. type: Plain text
  53196. #: guix-git/doc/guix.texi:36244
  53197. 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)."
  53198. msgstr ""
  53199. #. type: Plain text
  53200. #: guix-git/doc/guix.texi:36251
  53201. 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})."
  53202. msgstr ""
  53203. #. type: Plain text
  53204. #: guix-git/doc/guix.texi:36254
  53205. msgid "Instead of using this pre-built image, one can also build their own image using @command{guix system image} (@pxref{Invoking guix system})."
  53206. msgstr ""
  53207. #. type: cindex
  53208. #: guix-git/doc/guix.texi:36255
  53209. #, no-wrap
  53210. msgid "QEMU"
  53211. msgstr "QEMU"
  53212. #. type: Plain text
  53213. #: guix-git/doc/guix.texi:36262
  53214. 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:"
  53215. msgstr ""
  53216. #. type: example
  53217. #: guix-git/doc/guix.texi:36269
  53218. #, no-wrap
  53219. msgid ""
  53220. "$ qemu-system-x86_64 \\\n"
  53221. " -nic user,model=virtio-net-pci \\\n"
  53222. " -enable-kvm -m 1024 \\\n"
  53223. " -device virtio-blk,drive=myhd \\\n"
  53224. " -drive if=none,file=/tmp/qemu-image,id=myhd\n"
  53225. msgstr ""
  53226. #. type: Plain text
  53227. #: guix-git/doc/guix.texi:36272
  53228. msgid "Here is what each of these options means:"
  53229. msgstr ""
  53230. #. type: item
  53231. #: guix-git/doc/guix.texi:36274
  53232. #, no-wrap
  53233. msgid "qemu-system-x86_64"
  53234. msgstr ""
  53235. #. type: table
  53236. #: guix-git/doc/guix.texi:36277
  53237. msgid "This specifies the hardware platform to emulate. This should match the host."
  53238. msgstr ""
  53239. #. type: item
  53240. #: guix-git/doc/guix.texi:36278
  53241. #, no-wrap
  53242. msgid "-nic user,model=virtio-net-pci"
  53243. msgstr ""
  53244. #. type: table
  53245. #: guix-git/doc/guix.texi:36286
  53246. 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}."
  53247. msgstr ""
  53248. #. type: item
  53249. #: guix-git/doc/guix.texi:36287
  53250. #, no-wrap
  53251. msgid "-enable-kvm"
  53252. msgstr ""
  53253. #. type: table
  53254. #: guix-git/doc/guix.texi:36291
  53255. msgid "If your system has hardware virtualization extensions, enabling the virtual machine support (KVM) of the Linux kernel will make things run faster."
  53256. msgstr ""
  53257. #. type: item
  53258. #: guix-git/doc/guix.texi:36293
  53259. #, no-wrap
  53260. msgid "-m 1024"
  53261. msgstr ""
  53262. #. type: table
  53263. #: guix-git/doc/guix.texi:36296
  53264. msgid "RAM available to the guest OS, in mebibytes. Defaults to 128@tie{}MiB, which may be insufficient for some operations."
  53265. msgstr ""
  53266. #. type: item
  53267. #: guix-git/doc/guix.texi:36297
  53268. #, no-wrap
  53269. msgid "-device virtio-blk,drive=myhd"
  53270. msgstr ""
  53271. #. type: table
  53272. #: guix-git/doc/guix.texi:36302
  53273. 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."
  53274. msgstr ""
  53275. #. type: item
  53276. #: guix-git/doc/guix.texi:36303
  53277. #, no-wrap
  53278. msgid "-drive if=none,file=/tmp/qemu-image,id=myhd"
  53279. msgstr ""
  53280. #. type: table
  53281. #: guix-git/doc/guix.texi:36306
  53282. msgid "Use our QCOW image, the @file{/tmp/qemu-image} file, as the backing store of the ``myhd'' drive."
  53283. msgstr ""
  53284. #. type: Plain text
  53285. #: guix-git/doc/guix.texi:36316
  53286. 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}."
  53287. msgstr ""
  53288. #. type: subsection
  53289. #: guix-git/doc/guix.texi:36317
  53290. #, no-wrap
  53291. msgid "Connecting Through SSH"
  53292. msgstr ""
  53293. #. type: Plain text
  53294. #: guix-git/doc/guix.texi:36325
  53295. 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"
  53296. msgstr ""
  53297. #. type: example
  53298. #: guix-git/doc/guix.texi:36328
  53299. #, no-wrap
  53300. msgid "$(guix system vm config.scm) -nic user,model=virtio-net-pci,hostfwd=tcp::10022-:22\n"
  53301. msgstr ""
  53302. #. type: Plain text
  53303. #: guix-git/doc/guix.texi:36331
  53304. msgid "To connect to the VM you can run"
  53305. msgstr ""
  53306. #. type: example
  53307. #: guix-git/doc/guix.texi:36334
  53308. #, no-wrap
  53309. msgid "ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 10022 localhost\n"
  53310. msgstr ""
  53311. #. type: Plain text
  53312. #: guix-git/doc/guix.texi:36341
  53313. 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."
  53314. msgstr ""
  53315. #. type: quotation
  53316. #: guix-git/doc/guix.texi:36347
  53317. 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."
  53318. msgstr ""
  53319. #. type: subsection
  53320. #: guix-git/doc/guix.texi:36349
  53321. #, no-wrap
  53322. msgid "Using @command{virt-viewer} with Spice"
  53323. msgstr ""
  53324. #. type: Plain text
  53325. #: guix-git/doc/guix.texi:36355
  53326. 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."
  53327. msgstr ""
  53328. #. type: Plain text
  53329. #: guix-git/doc/guix.texi:36358
  53330. 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}:"
  53331. msgstr ""
  53332. #. type: example
  53333. #: guix-git/doc/guix.texi:36364
  53334. #, no-wrap
  53335. msgid ""
  53336. "-device virtio-serial-pci,id=virtio-serial0,max_ports=16,bus=pci.0,addr=0x5\n"
  53337. "-chardev spicevmc,name=vdagent,id=vdagent\n"
  53338. "-device virtserialport,nr=1,bus=virtio-serial0.0,chardev=vdagent,\\\n"
  53339. "name=com.redhat.spice.0\n"
  53340. msgstr ""
  53341. #. type: Plain text
  53342. #: guix-git/doc/guix.texi:36368
  53343. msgid "You'll also need to add the @code{(spice-vdagent-service)} to your system definition (@pxref{Miscellaneous Services, Spice service})."
  53344. msgstr ""
  53345. #. type: Plain text
  53346. #: guix-git/doc/guix.texi:36375
  53347. 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?"
  53348. msgstr ""
  53349. #. type: cindex
  53350. #: guix-git/doc/guix.texi:36388
  53351. #, no-wrap
  53352. msgid "daemons"
  53353. msgstr ""
  53354. #. type: Plain text
  53355. #: guix-git/doc/guix.texi:36401
  53356. 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."
  53357. msgstr ""
  53358. #. type: cindex
  53359. #: guix-git/doc/guix.texi:36402
  53360. #, no-wrap
  53361. msgid "service extensions"
  53362. msgstr ""
  53363. #. type: Plain text
  53364. #: guix-git/doc/guix.texi:36414
  53365. 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})."
  53366. msgstr ""
  53367. #. type: Plain text
  53368. #: guix-git/doc/guix.texi:36418
  53369. 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:"
  53370. msgstr ""
  53371. #. type: Plain text
  53372. #: guix-git/doc/guix.texi:36420
  53373. msgid "@image{images/service-graph,,5in,Typical service extension graph.}"
  53374. msgstr ""
  53375. #. type: cindex
  53376. #: guix-git/doc/guix.texi:36421
  53377. #, no-wrap
  53378. msgid "system service"
  53379. msgstr "järjestelmäpalvelu"
  53380. #. type: Plain text
  53381. #: guix-git/doc/guix.texi:36429
  53382. 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."
  53383. msgstr ""
  53384. #. type: cindex
  53385. #: guix-git/doc/guix.texi:36430
  53386. #, no-wrap
  53387. msgid "service types"
  53388. msgstr ""
  53389. #. type: Plain text
  53390. #: guix-git/doc/guix.texi:36436
  53391. 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."
  53392. msgstr ""
  53393. #. type: Plain text
  53394. #: guix-git/doc/guix.texi:36439
  53395. msgid "The following section describes the programming interface for service types and services."
  53396. msgstr ""
  53397. #. type: Plain text
  53398. #: guix-git/doc/guix.texi:36446
  53399. 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}):"
  53400. msgstr ""
  53401. #. type: lisp
  53402. #: guix-git/doc/guix.texi:36456
  53403. #, no-wrap
  53404. msgid ""
  53405. "(define guix-service-type\n"
  53406. " (service-type\n"
  53407. " (name 'guix)\n"
  53408. " (extensions\n"
  53409. " (list (service-extension shepherd-root-service-type guix-shepherd-service)\n"
  53410. " (service-extension account-service-type guix-accounts)\n"
  53411. " (service-extension activation-service-type guix-activation)))\n"
  53412. " (default-value (guix-configuration))))\n"
  53413. msgstr ""
  53414. #. type: Plain text
  53415. #: guix-git/doc/guix.texi:36460
  53416. msgid "It defines three things:"
  53417. msgstr ""
  53418. #. type: enumerate
  53419. #: guix-git/doc/guix.texi:36464
  53420. msgid "A name, whose sole purpose is to make inspection and debugging easier."
  53421. msgstr ""
  53422. #. type: enumerate
  53423. #: guix-git/doc/guix.texi:36469
  53424. 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."
  53425. msgstr ""
  53426. #. type: enumerate
  53427. #: guix-git/doc/guix.texi:36472
  53428. msgid "Every service type has at least one service extension. The only exception is the @dfn{boot service type}, which is the ultimate service."
  53429. msgstr ""
  53430. #. type: enumerate
  53431. #: guix-git/doc/guix.texi:36475
  53432. msgid "Optionally, a default value for instances of this type."
  53433. msgstr ""
  53434. #. type: Plain text
  53435. #: guix-git/doc/guix.texi:36478
  53436. msgid "In this example, @code{guix-service-type} extends three services:"
  53437. msgstr ""
  53438. #. type: item
  53439. #: guix-git/doc/guix.texi:36480
  53440. #, no-wrap
  53441. msgid "shepherd-root-service-type"
  53442. msgstr ""
  53443. #. type: table
  53444. #: guix-git/doc/guix.texi:36485
  53445. 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})."
  53446. msgstr ""
  53447. #. type: item
  53448. #: guix-git/doc/guix.texi:36486
  53449. #, no-wrap
  53450. msgid "account-service-type"
  53451. msgstr ""
  53452. #. type: table
  53453. #: guix-git/doc/guix.texi:36491
  53454. 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})."
  53455. msgstr ""
  53456. #. type: item
  53457. #: guix-git/doc/guix.texi:36492
  53458. #, no-wrap
  53459. msgid "activation-service-type"
  53460. msgstr ""
  53461. #. type: table
  53462. #: guix-git/doc/guix.texi:36496
  53463. 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."
  53464. msgstr ""
  53465. #. type: Plain text
  53466. #: guix-git/doc/guix.texi:36499
  53467. msgid "A service of this type is instantiated like this:"
  53468. msgstr ""
  53469. #. type: lisp
  53470. #: guix-git/doc/guix.texi:36505
  53471. #, no-wrap
  53472. msgid ""
  53473. "(service guix-service-type\n"
  53474. " (guix-configuration\n"
  53475. " (build-accounts 5)\n"
  53476. " (extra-options '(\"--gc-keep-derivations\"))))\n"
  53477. msgstr ""
  53478. #. type: Plain text
  53479. #: guix-git/doc/guix.texi:36513
  53480. 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:"
  53481. msgstr ""
  53482. #. type: lisp
  53483. #: guix-git/doc/guix.texi:36516
  53484. #, no-wrap
  53485. msgid "(service guix-service-type)\n"
  53486. msgstr ""
  53487. #. type: Plain text
  53488. #: guix-git/doc/guix.texi:36520
  53489. msgid "@code{guix-service-type} is quite simple because it extends other services but is not extensible itself."
  53490. msgstr ""
  53491. #. type: Plain text
  53492. #: guix-git/doc/guix.texi:36524
  53493. msgid "The service type for an @emph{extensible} service looks like this:"
  53494. msgstr ""
  53495. #. type: lisp
  53496. #: guix-git/doc/guix.texi:36531
  53497. #, no-wrap
  53498. msgid ""
  53499. "(define udev-service-type\n"
  53500. " (service-type (name 'udev)\n"
  53501. " (extensions\n"
  53502. " (list (service-extension shepherd-root-service-type\n"
  53503. " udev-shepherd-service)))\n"
  53504. "\n"
  53505. msgstr ""
  53506. #. type: lisp
  53507. #: guix-git/doc/guix.texi:36539
  53508. #, no-wrap
  53509. msgid ""
  53510. " (compose concatenate) ;concatenate the list of rules\n"
  53511. " (extend (lambda (config rules)\n"
  53512. " (match config\n"
  53513. " (($ <udev-configuration> udev initial-rules)\n"
  53514. " (udev-configuration\n"
  53515. " (udev udev) ;the udev package to use\n"
  53516. " (rules (append initial-rules rules)))))))))\n"
  53517. msgstr ""
  53518. #. type: Plain text
  53519. #: guix-git/doc/guix.texi:36545
  53520. 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:"
  53521. msgstr ""
  53522. #. type: item
  53523. #: guix-git/doc/guix.texi:36547
  53524. #, no-wrap
  53525. msgid "compose"
  53526. msgstr ""
  53527. #. type: table
  53528. #: guix-git/doc/guix.texi:36550
  53529. msgid "This is the procedure to @dfn{compose} the list of extensions to services of this type."
  53530. msgstr ""
  53531. #. type: table
  53532. #: guix-git/doc/guix.texi:36553
  53533. msgid "Services can extend the udev service by passing it lists of rules; we compose those extensions simply by concatenating them."
  53534. msgstr ""
  53535. #. type: item
  53536. #: guix-git/doc/guix.texi:36554
  53537. #, no-wrap
  53538. msgid "extend"
  53539. msgstr ""
  53540. #. type: table
  53541. #: guix-git/doc/guix.texi:36557
  53542. msgid "This procedure defines how the value of the service is @dfn{extended} with the composition of the extensions."
  53543. msgstr ""
  53544. #. type: table
  53545. #: guix-git/doc/guix.texi:36562
  53546. 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."
  53547. msgstr ""
  53548. #. type: table
  53549. #: guix-git/doc/guix.texi:36568
  53550. 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})."
  53551. msgstr ""
  53552. #. type: Plain text
  53553. #: guix-git/doc/guix.texi:36573
  53554. 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."
  53555. msgstr ""
  53556. #. type: Plain text
  53557. #: guix-git/doc/guix.texi:36576
  53558. msgid "Still here? The next section provides a reference of the programming interface for services."
  53559. msgstr ""
  53560. #. type: Plain text
  53561. #: guix-git/doc/guix.texi:36584
  53562. 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."
  53563. msgstr ""
  53564. #. type: deffn
  53565. #: guix-git/doc/guix.texi:36585
  53566. #, no-wrap
  53567. msgid "{Scheme Procedure} service @var{type} [@var{value}]"
  53568. msgstr ""
  53569. #. type: deffn
  53570. #: guix-git/doc/guix.texi:36589
  53571. 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."
  53572. msgstr ""
  53573. #. type: deffn
  53574. #: guix-git/doc/guix.texi:36593
  53575. 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."
  53576. msgstr ""
  53577. #. type: deffn
  53578. #: guix-git/doc/guix.texi:36595
  53579. msgid "For instance, this:"
  53580. msgstr ""
  53581. #. type: lisp
  53582. #: guix-git/doc/guix.texi:36598
  53583. #, no-wrap
  53584. msgid "(service openssh-service-type)\n"
  53585. msgstr ""
  53586. #. type: deffn
  53587. #: guix-git/doc/guix.texi:36602
  53588. msgid "is equivalent to this:"
  53589. msgstr ""
  53590. #. type: lisp
  53591. #: guix-git/doc/guix.texi:36606
  53592. #, no-wrap
  53593. msgid ""
  53594. "(service openssh-service-type\n"
  53595. " (openssh-configuration))\n"
  53596. msgstr ""
  53597. #. type: deffn
  53598. #: guix-git/doc/guix.texi:36610
  53599. msgid "In both cases the result is an instance of @code{openssh-service-type} with the default configuration."
  53600. msgstr ""
  53601. #. type: deffn
  53602. #: guix-git/doc/guix.texi:36612
  53603. #, no-wrap
  53604. msgid "{Scheme Procedure} service? @var{obj}"
  53605. msgstr ""
  53606. #. type: deffn
  53607. #: guix-git/doc/guix.texi:36614
  53608. msgid "Return true if @var{obj} is a service."
  53609. msgstr ""
  53610. #. type: deffn
  53611. #: guix-git/doc/guix.texi:36616
  53612. #, no-wrap
  53613. msgid "{Scheme Procedure} service-kind @var{service}"
  53614. msgstr ""
  53615. #. type: deffn
  53616. #: guix-git/doc/guix.texi:36618
  53617. msgid "Return the type of @var{service}---i.e., a @code{<service-type>} object."
  53618. msgstr ""
  53619. #. type: deffn
  53620. #: guix-git/doc/guix.texi:36620
  53621. #, no-wrap
  53622. msgid "{Scheme Procedure} service-value @var{service}"
  53623. msgstr ""
  53624. #. type: deffn
  53625. #: guix-git/doc/guix.texi:36623
  53626. msgid "Return the value associated with @var{service}. It represents its parameters."
  53627. msgstr ""
  53628. #. type: Plain text
  53629. #: guix-git/doc/guix.texi:36626
  53630. msgid "Here is an example of how a service is created and manipulated:"
  53631. msgstr ""
  53632. #. type: lisp
  53633. #: guix-git/doc/guix.texi:36635
  53634. #, no-wrap
  53635. msgid ""
  53636. "(define s\n"
  53637. " (service nginx-service-type\n"
  53638. " (nginx-configuration\n"
  53639. " (nginx nginx)\n"
  53640. " (log-directory log-directory)\n"
  53641. " (run-directory run-directory)\n"
  53642. " (file config-file))))\n"
  53643. "\n"
  53644. msgstr ""
  53645. #. type: lisp
  53646. #: guix-git/doc/guix.texi:36638
  53647. #, no-wrap
  53648. msgid ""
  53649. "(service? s)\n"
  53650. "@result{} #t\n"
  53651. "\n"
  53652. msgstr ""
  53653. #. type: lisp
  53654. #: guix-git/doc/guix.texi:36641
  53655. #, no-wrap
  53656. msgid ""
  53657. "(eq? (service-kind s) nginx-service-type)\n"
  53658. "@result{} #t\n"
  53659. msgstr ""
  53660. #. type: Plain text
  53661. #: guix-git/doc/guix.texi:36651
  53662. 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."
  53663. msgstr ""
  53664. #. type: deffn
  53665. #: guix-git/doc/guix.texi:36652
  53666. #, no-wrap
  53667. msgid "{Scheme Syntax} modify-services @var{services} @"
  53668. msgstr ""
  53669. #. type: deffn
  53670. #: guix-git/doc/guix.texi:36654
  53671. msgid "(@var{type} @var{variable} => @var{body}) @dots{}"
  53672. msgstr ""
  53673. #. type: deffn
  53674. #: guix-git/doc/guix.texi:36657
  53675. msgid "Modify the services listed in @var{services} according to the given clauses. Each clause has the form:"
  53676. msgstr ""
  53677. #. type: example
  53678. #: guix-git/doc/guix.texi:36660
  53679. #, no-wrap
  53680. msgid "(@var{type} @var{variable} => @var{body})\n"
  53681. msgstr ""
  53682. #. type: deffn
  53683. #: guix-git/doc/guix.texi:36667
  53684. 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}."
  53685. msgstr ""
  53686. #. type: deffn
  53687. #: guix-git/doc/guix.texi:36674
  53688. 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."
  53689. msgstr ""
  53690. #. type: deffn
  53691. #: guix-git/doc/guix.texi:36676
  53692. msgid "Clauses can also have the following form:"
  53693. msgstr ""
  53694. #. type: lisp
  53695. #: guix-git/doc/guix.texi:36679
  53696. #, no-wrap
  53697. msgid "(delete @var{type})\n"
  53698. msgstr ""
  53699. #. type: deffn
  53700. #: guix-git/doc/guix.texi:36683
  53701. msgid "Such a clause removes all services of the given @var{type} from @var{services}."
  53702. msgstr ""
  53703. #. type: deffn
  53704. #: guix-git/doc/guix.texi:36685
  53705. msgid "@xref{Using the Configuration System}, for example usage."
  53706. msgstr ""
  53707. #. type: Plain text
  53708. #: guix-git/doc/guix.texi:36692
  53709. 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."
  53710. msgstr ""
  53711. #. type: deftp
  53712. #: guix-git/doc/guix.texi:36693
  53713. #, no-wrap
  53714. msgid "{Data Type} service-type"
  53715. msgstr ""
  53716. #. type: cindex
  53717. #: guix-git/doc/guix.texi:36694
  53718. #, no-wrap
  53719. msgid "service type"
  53720. msgstr ""
  53721. #. type: deftp
  53722. #: guix-git/doc/guix.texi:36697
  53723. msgid "This is the representation of a @dfn{service type} (@pxref{Service Types and Services})."
  53724. msgstr ""
  53725. #. type: table
  53726. #: guix-git/doc/guix.texi:36701
  53727. msgid "This is a symbol, used only to simplify inspection and debugging."
  53728. msgstr ""
  53729. #. type: code{#1}
  53730. #: guix-git/doc/guix.texi:36702
  53731. #, no-wrap
  53732. msgid "extensions"
  53733. msgstr "laajennukset"
  53734. #. type: table
  53735. #: guix-git/doc/guix.texi:36704
  53736. msgid "A non-empty list of @code{<service-extension>} objects (see below)."
  53737. msgstr ""
  53738. #. type: item
  53739. #: guix-git/doc/guix.texi:36705
  53740. #, no-wrap
  53741. msgid "@code{compose} (default: @code{#f})"
  53742. msgstr ""
  53743. #. type: table
  53744. #: guix-git/doc/guix.texi:36709
  53745. 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."
  53746. msgstr ""
  53747. #. type: table
  53748. #: guix-git/doc/guix.texi:36713
  53749. 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."
  53750. msgstr ""
  53751. #. type: item
  53752. #: guix-git/doc/guix.texi:36714
  53753. #, no-wrap
  53754. msgid "@code{extend} (default: @code{#f})"
  53755. msgstr ""
  53756. #. type: table
  53757. #: guix-git/doc/guix.texi:36716
  53758. msgid "If this is @code{#f}, services of this type cannot be extended."
  53759. msgstr ""
  53760. #. type: table
  53761. #: guix-git/doc/guix.texi:36722
  53762. 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."
  53763. msgstr ""
  53764. #. type: table
  53765. #: guix-git/doc/guix.texi:36728
  53766. 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})."
  53767. msgstr ""
  53768. #. type: item
  53769. #: guix-git/doc/guix.texi:36729
  53770. #, no-wrap
  53771. msgid "@code{default-value} (default: @code{&no-default-value})"
  53772. msgstr ""
  53773. #. type: table
  53774. #: guix-git/doc/guix.texi:36732
  53775. msgid "The default value associated for instances of this service type. This allows users to use the @code{service} form without its second argument:"
  53776. msgstr ""
  53777. #. type: lisp
  53778. #: guix-git/doc/guix.texi:36735
  53779. #, no-wrap
  53780. msgid "(service @var{type})\n"
  53781. msgstr ""
  53782. #. type: table
  53783. #: guix-git/doc/guix.texi:36739
  53784. msgid "The returned service in this case has the default value specified by @var{type}."
  53785. msgstr ""
  53786. #. type: deftp
  53787. #: guix-git/doc/guix.texi:36742
  53788. msgid "@xref{Service Types and Services}, for examples."
  53789. msgstr ""
  53790. #. type: deffn
  53791. #: guix-git/doc/guix.texi:36744
  53792. #, no-wrap
  53793. msgid "{Scheme Procedure} service-extension @var{target-type} @"
  53794. msgstr ""
  53795. #. type: deffn
  53796. #: guix-git/doc/guix.texi:36750
  53797. 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."
  53798. msgstr ""
  53799. #. type: deffn
  53800. #: guix-git/doc/guix.texi:36752
  53801. #, no-wrap
  53802. msgid "{Scheme Procedure} service-extension? @var{obj}"
  53803. msgstr ""
  53804. #. type: deffn
  53805. #: guix-git/doc/guix.texi:36754
  53806. msgid "Return true if @var{obj} is a service extension."
  53807. msgstr ""
  53808. #. type: Plain text
  53809. #: guix-git/doc/guix.texi:36760
  53810. 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."
  53811. msgstr ""
  53812. #. type: deffn
  53813. #: guix-git/doc/guix.texi:36761
  53814. #, no-wrap
  53815. msgid "{Scheme Procedure} simple-service @var{name} @var{target} @var{value}"
  53816. msgstr ""
  53817. #. type: deffn
  53818. #: guix-git/doc/guix.texi:36765
  53819. 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."
  53820. msgstr ""
  53821. #. type: deffn
  53822. #: guix-git/doc/guix.texi:36768
  53823. msgid "For example, this extends mcron (@pxref{Scheduled Job Execution}) with an additional job:"
  53824. msgstr ""
  53825. #. type: lisp
  53826. #: guix-git/doc/guix.texi:36772
  53827. #, no-wrap
  53828. msgid ""
  53829. "(simple-service 'my-mcron-job mcron-service-type\n"
  53830. " #~(job '(next-hour (3)) \"guix gc -F 2G\"))\n"
  53831. msgstr ""
  53832. #. type: Plain text
  53833. #: guix-git/doc/guix.texi:36782
  53834. 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."
  53835. msgstr ""
  53836. #. type: deffn
  53837. #: guix-git/doc/guix.texi:36783
  53838. #, no-wrap
  53839. msgid "{Scheme Procedure} fold-services @var{services} @"
  53840. msgstr ""
  53841. #. type: deffn
  53842. #: guix-git/doc/guix.texi:36787
  53843. 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."
  53844. msgstr ""
  53845. #. type: Plain text
  53846. #: guix-git/doc/guix.texi:36791
  53847. msgid "Lastly, the @code{(gnu services)} module also defines several essential service types, some of which are listed below."
  53848. msgstr ""
  53849. #. type: defvr
  53850. #: guix-git/doc/guix.texi:36792
  53851. #, no-wrap
  53852. msgid "{Scheme Variable} system-service-type"
  53853. msgstr ""
  53854. #. type: defvr
  53855. #: guix-git/doc/guix.texi:36795
  53856. msgid "This is the root of the service graph. It produces the system directory as returned by the @command{guix system build} command."
  53857. msgstr ""
  53858. #. type: defvr
  53859. #: guix-git/doc/guix.texi:36797
  53860. #, no-wrap
  53861. msgid "{Scheme Variable} boot-service-type"
  53862. msgstr ""
  53863. #. type: defvr
  53864. #: guix-git/doc/guix.texi:36800
  53865. 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."
  53866. msgstr ""
  53867. #. type: defvr
  53868. #: guix-git/doc/guix.texi:36802
  53869. #, no-wrap
  53870. msgid "{Scheme Variable} etc-service-type"
  53871. msgstr ""
  53872. #. type: defvr
  53873. #: guix-git/doc/guix.texi:36806
  53874. 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:"
  53875. msgstr ""
  53876. #. type: lisp
  53877. #: guix-git/doc/guix.texi:36809
  53878. #, no-wrap
  53879. msgid "(list `(\"issue\" ,(plain-file \"issue\" \"Welcome!\\n\")))\n"
  53880. msgstr ""
  53881. #. type: defvr
  53882. #: guix-git/doc/guix.texi:36813
  53883. msgid "In this example, the effect would be to add an @file{/etc/issue} file pointing to the given file."
  53884. msgstr ""
  53885. #. type: defvr
  53886. #: guix-git/doc/guix.texi:36815
  53887. #, no-wrap
  53888. msgid "{Scheme Variable} setuid-program-service-type"
  53889. msgstr ""
  53890. #. type: defvr
  53891. #: guix-git/doc/guix.texi:36819
  53892. 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})."
  53893. msgstr ""
  53894. #. type: defvr
  53895. #: guix-git/doc/guix.texi:36821
  53896. #, no-wrap
  53897. msgid "{Scheme Variable} profile-service-type"
  53898. msgstr ""
  53899. #. type: defvr
  53900. #: guix-git/doc/guix.texi:36825
  53901. 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."
  53902. msgstr ""
  53903. #. type: anchor{#1}
  53904. #: guix-git/doc/guix.texi:36829
  53905. msgid "provenance-service-type"
  53906. msgstr ""
  53907. #. type: defvr
  53908. #: guix-git/doc/guix.texi:36829
  53909. #, no-wrap
  53910. msgid "{Scheme Variable} provenance-service-type"
  53911. msgstr ""
  53912. #. type: defvr
  53913. #: guix-git/doc/guix.texi:36833
  53914. 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}:"
  53915. msgstr ""
  53916. #. type: item
  53917. #: guix-git/doc/guix.texi:36835
  53918. #, no-wrap
  53919. msgid "channels.scm"
  53920. msgstr ""
  53921. #. type: table
  53922. #: guix-git/doc/guix.texi:36840
  53923. 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})."
  53924. msgstr ""
  53925. #. type: item
  53926. #: guix-git/doc/guix.texi:36841
  53927. #, no-wrap
  53928. msgid "configuration.scm"
  53929. msgstr ""
  53930. #. type: table
  53931. #: guix-git/doc/guix.texi:36846
  53932. 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."
  53933. msgstr ""
  53934. #. type: item
  53935. #: guix-git/doc/guix.texi:36847
  53936. #, no-wrap
  53937. msgid "provenance"
  53938. msgstr ""
  53939. #. type: table
  53940. #: guix-git/doc/guix.texi:36850
  53941. msgid "This contains the same information as the two other files but in a format that is more readily processable."
  53942. msgstr ""
  53943. #. type: defvr
  53944. #: guix-git/doc/guix.texi:36854
  53945. msgid "In general, these two pieces of information (channels and configuration file) are enough to reproduce the operating system ``from source''."
  53946. msgstr ""
  53947. #. type: quotation
  53948. #: guix-git/doc/guix.texi:36855
  53949. #, no-wrap
  53950. msgid "Caveats"
  53951. msgstr ""
  53952. #. type: quotation
  53953. #: guix-git/doc/guix.texi:36862
  53954. 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."
  53955. msgstr ""
  53956. #. type: quotation
  53957. #: guix-git/doc/guix.texi:36870
  53958. 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."
  53959. msgstr ""
  53960. #. type: defvr
  53961. #: guix-git/doc/guix.texi:36875
  53962. 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}."
  53963. msgstr ""
  53964. #. type: defvr
  53965. #: guix-git/doc/guix.texi:36877
  53966. #, no-wrap
  53967. msgid "{Scheme Variable} linux-loadable-module-service-type"
  53968. msgstr ""
  53969. #. type: defvr
  53970. #: guix-git/doc/guix.texi:36881
  53971. msgid "Type of the service that collects lists of packages containing kernel-loadable modules, and adds them to the set of kernel-loadable modules."
  53972. msgstr ""
  53973. #. type: defvr
  53974. #: guix-git/doc/guix.texi:36884
  53975. msgid "This service type is intended to be extended by other service types, such as below:"
  53976. msgstr ""
  53977. #. type: lisp
  53978. #: guix-git/doc/guix.texi:36890
  53979. #, no-wrap
  53980. msgid ""
  53981. "(simple-service 'installing-module\n"
  53982. " linux-loadable-module-service-type\n"
  53983. " (list module-to-install-1\n"
  53984. " module-to-install-2))\n"
  53985. msgstr ""
  53986. #. type: defvr
  53987. #: guix-git/doc/guix.texi:36894
  53988. 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."
  53989. msgstr ""
  53990. #. type: cindex
  53991. #: guix-git/doc/guix.texi:36899
  53992. #, no-wrap
  53993. msgid "shepherd services"
  53994. msgstr ""
  53995. #. type: cindex
  53996. #: guix-git/doc/guix.texi:36900
  53997. #, no-wrap
  53998. msgid "PID 1"
  53999. msgstr ""
  54000. #. type: cindex
  54001. #: guix-git/doc/guix.texi:36901
  54002. #, no-wrap
  54003. msgid "init system"
  54004. msgstr ""
  54005. #. type: Plain text
  54006. #: guix-git/doc/guix.texi:36907
  54007. 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})."
  54008. msgstr ""
  54009. #. type: Plain text
  54010. #: guix-git/doc/guix.texi:36913
  54011. 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:"
  54012. msgstr ""
  54013. #. type: Plain text
  54014. #: guix-git/doc/guix.texi:36915
  54015. msgid "@image{images/shepherd-graph,,5in,Typical shepherd service graph.}"
  54016. msgstr ""
  54017. #. type: Plain text
  54018. #: guix-git/doc/guix.texi:36919
  54019. 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}})."
  54020. msgstr ""
  54021. #. type: Plain text
  54022. #: guix-git/doc/guix.texi:36923
  54023. 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."
  54024. msgstr ""
  54025. #. type: deftp
  54026. #: guix-git/doc/guix.texi:36924
  54027. #, no-wrap
  54028. msgid "{Data Type} shepherd-service"
  54029. msgstr ""
  54030. #. type: deftp
  54031. #: guix-git/doc/guix.texi:36926
  54032. msgid "The data type representing a service managed by the Shepherd."
  54033. msgstr ""
  54034. #. type: code{#1}
  54035. #: guix-git/doc/guix.texi:36928
  54036. #, no-wrap
  54037. msgid "provision"
  54038. msgstr ""
  54039. #. type: table
  54040. #: guix-git/doc/guix.texi:36930
  54041. msgid "This is a list of symbols denoting what the service provides."
  54042. msgstr ""
  54043. #. type: table
  54044. #: guix-git/doc/guix.texi:36935
  54045. 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."
  54046. msgstr ""
  54047. #. type: item
  54048. #: guix-git/doc/guix.texi:36936
  54049. #, no-wrap
  54050. msgid "@code{requirement} (default: @code{'()})"
  54051. msgstr ""
  54052. #. type: table
  54053. #: guix-git/doc/guix.texi:36938
  54054. msgid "List of symbols denoting the Shepherd services this one depends on."
  54055. msgstr ""
  54056. #. type: cindex
  54057. #: guix-git/doc/guix.texi:36939
  54058. #, no-wrap
  54059. msgid "one-shot services, for the Shepherd"
  54060. msgstr ""
  54061. #. type: table
  54062. #: guix-git/doc/guix.texi:36944
  54063. 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."
  54064. msgstr ""
  54065. #. type: item
  54066. #: guix-git/doc/guix.texi:36945
  54067. #, no-wrap
  54068. msgid "@code{respawn?} (default: @code{#t})"
  54069. msgstr ""
  54070. #. type: table
  54071. #: guix-git/doc/guix.texi:36948
  54072. msgid "Whether to restart the service when it stops, for instance when the underlying process dies."
  54073. msgstr ""
  54074. #. type: code{#1}
  54075. #: guix-git/doc/guix.texi:36949
  54076. #, no-wrap
  54077. msgid "start"
  54078. msgstr "käynnistä"
  54079. #. type: itemx
  54080. #: guix-git/doc/guix.texi:36950
  54081. #, no-wrap
  54082. msgid "@code{stop} (default: @code{#~(const #f)})"
  54083. msgstr ""
  54084. #. type: table
  54085. #: guix-git/doc/guix.texi:36956
  54086. 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})."
  54087. msgstr ""
  54088. #. type: item
  54089. #: guix-git/doc/guix.texi:36957
  54090. #, no-wrap
  54091. msgid "@code{actions} (default: @code{'()})"
  54092. msgstr ""
  54093. #. type: cindex
  54094. #: guix-git/doc/guix.texi:36958
  54095. #, no-wrap
  54096. msgid "actions, of Shepherd services"
  54097. msgstr ""
  54098. #. type: table
  54099. #: guix-git/doc/guix.texi:36963
  54100. 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:"
  54101. msgstr ""
  54102. #. type: example
  54103. #: guix-git/doc/guix.texi:36966
  54104. #, no-wrap
  54105. msgid "herd @var{action} @var{service} [@var{arguments}@dots{}]\n"
  54106. msgstr ""
  54107. #. type: item
  54108. #: guix-git/doc/guix.texi:36968
  54109. #, no-wrap
  54110. msgid "@code{auto-start?} (default: @code{#t})"
  54111. msgstr ""
  54112. #. type: table
  54113. #: guix-git/doc/guix.texi:36971
  54114. 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}."
  54115. msgstr ""
  54116. #. type: table
  54117. #: guix-git/doc/guix.texi:36974
  54118. msgid "A documentation string, as shown when running:"
  54119. msgstr ""
  54120. #. type: example
  54121. #: guix-git/doc/guix.texi:36977
  54122. #, no-wrap
  54123. msgid "herd doc @var{service-name}\n"
  54124. msgstr ""
  54125. #. type: table
  54126. #: guix-git/doc/guix.texi:36981
  54127. msgid "where @var{service-name} is one of the symbols in @code{provision} (@pxref{Invoking herd,,, shepherd, The GNU Shepherd Manual})."
  54128. msgstr ""
  54129. #. type: table
  54130. #: guix-git/doc/guix.texi:36985
  54131. msgid "This is the list of modules that must be in scope when @code{start} and @code{stop} are evaluated."
  54132. msgstr ""
  54133. #. type: Plain text
  54134. #: guix-git/doc/guix.texi:36993
  54135. 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}):"
  54136. msgstr ""
  54137. #. type: example
  54138. #: guix-git/doc/guix.texi:37005
  54139. #, no-wrap
  54140. msgid ""
  54141. "(let ((config (plain-file \"syslogd.conf\" \"@dots{}\")))\n"
  54142. " (shepherd-service\n"
  54143. " (documentation \"Run the syslog daemon (syslogd).\")\n"
  54144. " (provision '(syslogd))\n"
  54145. " (requirement '(user-processes))\n"
  54146. " (start #~(make-forkexec-constructor\n"
  54147. " (list #$(file-append inetutils \"/libexec/syslogd\")\n"
  54148. " \"--rcfile\" #$config)\n"
  54149. " #:pid-file \"/var/run/syslog.pid\"))\n"
  54150. " (stop #~(make-kill-destructor))))\n"
  54151. msgstr ""
  54152. #. type: Plain text
  54153. #: guix-git/doc/guix.texi:37020
  54154. 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})."
  54155. msgstr ""
  54156. #. type: deftp
  54157. #: guix-git/doc/guix.texi:37021
  54158. #, no-wrap
  54159. msgid "{Data Type} shepherd-action"
  54160. msgstr ""
  54161. #. type: deftp
  54162. #: guix-git/doc/guix.texi:37024
  54163. msgid "This is the data type that defines additional actions implemented by a Shepherd service (see above)."
  54164. msgstr ""
  54165. #. type: table
  54166. #: guix-git/doc/guix.texi:37028
  54167. msgid "Symbol naming the action."
  54168. msgstr ""
  54169. #. type: table
  54170. #: guix-git/doc/guix.texi:37031
  54171. msgid "This is a documentation string for the action. It can be viewed by running:"
  54172. msgstr ""
  54173. #. type: example
  54174. #: guix-git/doc/guix.texi:37034
  54175. #, no-wrap
  54176. msgid "herd doc @var{service} action @var{action}\n"
  54177. msgstr ""
  54178. #. type: item
  54179. #: guix-git/doc/guix.texi:37036
  54180. #, no-wrap
  54181. msgid "procedure"
  54182. msgstr ""
  54183. #. type: table
  54184. #: guix-git/doc/guix.texi:37040
  54185. 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})."
  54186. msgstr ""
  54187. #. type: deftp
  54188. #: guix-git/doc/guix.texi:37044
  54189. msgid "The following example defines an action called @code{say-hello} that kindly greets the user:"
  54190. msgstr ""
  54191. #. type: lisp
  54192. #: guix-git/doc/guix.texi:37053
  54193. #, no-wrap
  54194. msgid ""
  54195. "(shepherd-action\n"
  54196. " (name 'say-hello)\n"
  54197. " (documentation \"Say hi!\")\n"
  54198. " (procedure #~(lambda (running . args)\n"
  54199. " (format #t \"Hello, friend! arguments: ~s\\n\"\n"
  54200. " args)\n"
  54201. " #t)))\n"
  54202. msgstr ""
  54203. #. type: deftp
  54204. #: guix-git/doc/guix.texi:37056
  54205. msgid "Assuming this action is added to the @code{example} service, then you can do:"
  54206. msgstr ""
  54207. #. type: example
  54208. #: guix-git/doc/guix.texi:37062
  54209. #, no-wrap
  54210. msgid ""
  54211. "# herd say-hello example\n"
  54212. "Hello, friend! arguments: ()\n"
  54213. "# herd say-hello example a b c\n"
  54214. "Hello, friend! arguments: (\"a\" \"b\" \"c\")\n"
  54215. msgstr ""
  54216. #. type: deftp
  54217. #: guix-git/doc/guix.texi:37067
  54218. 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."
  54219. msgstr ""
  54220. #. type: defvr
  54221. #: guix-git/doc/guix.texi:37069
  54222. #, no-wrap
  54223. msgid "{Scheme Variable} shepherd-root-service-type"
  54224. msgstr ""
  54225. #. type: defvr
  54226. #: guix-git/doc/guix.texi:37071
  54227. msgid "The service type for the Shepherd ``root service''---i.e., PID@tie{}1."
  54228. msgstr ""
  54229. #. type: defvr
  54230. #: guix-git/doc/guix.texi:37076
  54231. 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."
  54232. msgstr ""
  54233. #. type: deftp
  54234. #: guix-git/doc/guix.texi:37078
  54235. #, no-wrap
  54236. msgid "{Data Type} shepherd-configuration"
  54237. msgstr ""
  54238. #. type: deftp
  54239. #: guix-git/doc/guix.texi:37080 guix-git/doc/guix.texi:38074
  54240. msgid "This data type represents the Shepherd's configuration."
  54241. msgstr ""
  54242. #. type: item
  54243. #: guix-git/doc/guix.texi:37082 guix-git/doc/guix.texi:38076
  54244. #, no-wrap
  54245. msgid "shepherd (default: @code{shepherd})"
  54246. msgstr ""
  54247. #. type: table
  54248. #: guix-git/doc/guix.texi:37084 guix-git/doc/guix.texi:38078
  54249. msgid "The Shepherd package to use."
  54250. msgstr ""
  54251. #. type: item
  54252. #: guix-git/doc/guix.texi:37085 guix-git/doc/guix.texi:38082
  54253. #, no-wrap
  54254. msgid "services (default: @code{'()})"
  54255. msgstr ""
  54256. #. type: table
  54257. #: guix-git/doc/guix.texi:37089 guix-git/doc/guix.texi:38086
  54258. msgid "A list of @code{<shepherd-service>} to start. You should probably use the service extension mechanism instead (@pxref{Shepherd Services})."
  54259. msgstr ""
  54260. #. type: Plain text
  54261. #: guix-git/doc/guix.texi:37094
  54262. msgid "The following example specifies the Shepherd package for the operating system:"
  54263. msgstr ""
  54264. #. type: lisp
  54265. #: guix-git/doc/guix.texi:37109
  54266. #, no-wrap
  54267. msgid ""
  54268. "(operating-system\n"
  54269. " ;; ...\n"
  54270. " (services (append (list openssh-service-type))\n"
  54271. " ;; ...\n"
  54272. " %desktop-services)\n"
  54273. " ;; ...\n"
  54274. " ;; Use own Shepherd package.\n"
  54275. " (essential-services\n"
  54276. " (modify-services (operating-system-default-essential-services\n"
  54277. " this-operating-system)\n"
  54278. " (shepherd-root-service-type config => (shepherd-configuration\n"
  54279. " (inherit config)\n"
  54280. " (shepherd my-shepherd))))))\n"
  54281. msgstr ""
  54282. #. type: defvr
  54283. #: guix-git/doc/guix.texi:37111
  54284. #, no-wrap
  54285. msgid "{Scheme Variable} %shepherd-root-service"
  54286. msgstr ""
  54287. #. type: defvr
  54288. #: guix-git/doc/guix.texi:37113
  54289. msgid "This service represents PID@tie{}1."
  54290. msgstr ""
  54291. #. type: cindex
  54292. #: guix-git/doc/guix.texi:37117
  54293. #, no-wrap
  54294. msgid "complex configurations"
  54295. msgstr "moniosaiset asetukset"
  54296. #. type: Plain text
  54297. #: guix-git/doc/guix.texi:37122
  54298. msgid "Some programs might have rather complex configuration files or formats, and to make it easier to create Scheme bindings for these configuration files, you can use the utilities defined in the @code{(gnu services configuration)} module."
  54299. msgstr ""
  54300. #. type: Plain text
  54301. #: guix-git/doc/guix.texi:37130
  54302. msgid "The main utility is the @code{define-configuration} macro, which you will use to define a Scheme record type (@pxref{Record Overview,,, guile, GNU Guile Reference Manual}). The Scheme record will be serialized to a configuration file by using @dfn{serializers}, which are procedures that take some kind of Scheme value and returns a G-expression (@pxref{G-Expressions}), which should, once serialized to the disk, return a string. More details are listed below."
  54303. msgstr ""
  54304. #. type: deffn
  54305. #: guix-git/doc/guix.texi:37131
  54306. #, no-wrap
  54307. msgid "{Scheme Syntax} define-configuration @var{name} @var{clause1} @"
  54308. msgstr ""
  54309. #. type: deffn
  54310. #: guix-git/doc/guix.texi:37135
  54311. msgid "@var{clause2} ... Create a record type named @code{@var{name}} that contains the fields found in the clauses."
  54312. msgstr ""
  54313. #. type: deffn
  54314. #: guix-git/doc/guix.texi:37137
  54315. msgid "A clause can have one of the following forms:"
  54316. msgstr ""
  54317. #. type: example
  54318. #: guix-git/doc/guix.texi:37142
  54319. #, no-wrap
  54320. msgid ""
  54321. "(@var{field-name}\n"
  54322. " (@var{type} @var{default-value})\n"
  54323. " @var{documentation})\n"
  54324. " \n"
  54325. msgstr ""
  54326. #. type: example
  54327. #: guix-git/doc/guix.texi:37147
  54328. #, no-wrap
  54329. msgid ""
  54330. "(@var{field-name}\n"
  54331. " (@var{type} @var{default-value})\n"
  54332. " @var{documentation}\n"
  54333. " @var{serializer})\n"
  54334. "\n"
  54335. msgstr ""
  54336. #. type: example
  54337. #: guix-git/doc/guix.texi:37151
  54338. #, no-wrap
  54339. msgid ""
  54340. "(@var{field-name}\n"
  54341. " (@var{type})\n"
  54342. " @var{documentation})\n"
  54343. "\n"
  54344. msgstr ""
  54345. #. type: example
  54346. #: guix-git/doc/guix.texi:37156
  54347. #, no-wrap
  54348. msgid ""
  54349. "(@var{field-name}\n"
  54350. " (@var{type})\n"
  54351. " @var{documentation}\n"
  54352. " @var{serializer})\n"
  54353. msgstr ""
  54354. #. type: deffn
  54355. #: guix-git/doc/guix.texi:37160
  54356. msgid "@var{field-name} is an identifier that denotes the name of the field in the generated record."
  54357. msgstr ""
  54358. #. type: deffn
  54359. #: guix-git/doc/guix.texi:37168
  54360. msgid "@var{type} is the type of the value corresponding to @var{field-name}; since Guile is untyped, a predicate procedure---@code{@var{type}?}---will be called on the value corresponding to the field to ensure that the value is of the correct type. This means that if say, @var{type} is @code{package}, then a procedure named @code{package?} will be applied on the value to make sure that it is indeed a @code{<package>} object."
  54361. msgstr ""
  54362. #. type: deffn
  54363. #: guix-git/doc/guix.texi:37172
  54364. msgid "@var{default-value} is the default value corresponding to the field; if none is specified, the user is forced to provide a value when creating an object of the record type."
  54365. msgstr ""
  54366. #. type: deffn
  54367. #: guix-git/doc/guix.texi:37177
  54368. msgid "@var{documentation} is a string formatted with Texinfo syntax which should provide a description of what setting this field does."
  54369. msgstr ""
  54370. #. type: deffn
  54371. #: guix-git/doc/guix.texi:37184
  54372. msgid "@var{serializer} is the name of a procedure which takes two arguments, the first is the name of the field, and the second is the value corresponding to the field. The procedure should return a string or G-expression (@pxref{G-Expressions}) that represents the content that will be serialized to the configuration file. If none is specified, a procedure of the name @code{serialize-@var{type}} will be used."
  54373. msgstr ""
  54374. #. type: deffn
  54375. #: guix-git/doc/guix.texi:37186
  54376. msgid "A simple serializer procedure could look like this:"
  54377. msgstr ""
  54378. #. type: lisp
  54379. #: guix-git/doc/guix.texi:37191
  54380. #, no-wrap
  54381. msgid ""
  54382. "(define (serialize-boolean field-name value)\n"
  54383. " (let ((value (if value \"true\" \"false\")))\n"
  54384. " #~(string-append #$field-name #$value)))\n"
  54385. msgstr ""
  54386. #. type: deffn
  54387. #: guix-git/doc/guix.texi:37202
  54388. msgid "In some cases multiple different configuration records might be defined in the same file, but their serializers for the same type might have to be different, because they have different configuration formats. For example, the @code{serialize-boolean} procedure for the Getmail service would have to be different for the one for the Transmission service. To make it easier to deal with this situation, one can specify a serializer prefix by using the @code{prefix} literal in the @code{define-configuration} form. This means that one doesn't have to manually specify a custom @var{serializer} for every field."
  54389. msgstr ""
  54390. #. type: lisp
  54391. #: guix-git/doc/guix.texi:37206
  54392. #, no-wrap
  54393. msgid ""
  54394. "(define (foo-serialize-string field-name value)\n"
  54395. " @dots{})\n"
  54396. "\n"
  54397. msgstr ""
  54398. #. type: lisp
  54399. #: guix-git/doc/guix.texi:37209
  54400. #, no-wrap
  54401. msgid ""
  54402. "(define (bar-serialize-string field-name value)\n"
  54403. " @dots{})\n"
  54404. " \n"
  54405. msgstr ""
  54406. #. type: lisp
  54407. #: guix-git/doc/guix.texi:37215
  54408. #, no-wrap
  54409. msgid ""
  54410. "(define-configuration foo-configuration\n"
  54411. " (label\n"
  54412. " (string)\n"
  54413. " \"The name of label.\")\n"
  54414. " (prefix foo-))\n"
  54415. "\n"
  54416. msgstr ""
  54417. #. type: lisp
  54418. #: guix-git/doc/guix.texi:37221
  54419. #, no-wrap
  54420. msgid ""
  54421. "(define-configuration bar-configuration\n"
  54422. " (ip-address\n"
  54423. " (string)\n"
  54424. " \"The IPv4 address for this device.\")\n"
  54425. " (prefix bar-))\n"
  54426. msgstr ""
  54427. #. type: deffn
  54428. #: guix-git/doc/guix.texi:37227
  54429. msgid "However, in some cases you might not want to serialize any of the values of the record, to do this, you can use the @code{no-serialization} literal. There is also the @code{define-configuration/no-serialization} macro which is a shorthand of this."
  54430. msgstr ""
  54431. #. type: lisp
  54432. #: guix-git/doc/guix.texi:37235
  54433. #, no-wrap
  54434. msgid ""
  54435. ";; Nothing will be serialized to disk.\n"
  54436. "(define-configuration foo-configuration\n"
  54437. " (field\n"
  54438. " (string \"test\")\n"
  54439. " \"Some documentation.\")\n"
  54440. " (no-serialization))\n"
  54441. "\n"
  54442. msgstr ""
  54443. #. type: lisp
  54444. #: guix-git/doc/guix.texi:37241
  54445. #, no-wrap
  54446. msgid ""
  54447. ";; The same thing as above.\n"
  54448. "(define-configuration/no-serialization bar-configuration\n"
  54449. " (field\n"
  54450. " (string \"test\")\n"
  54451. " \"Some documentation.\"))\n"
  54452. msgstr ""
  54453. #. type: deffn
  54454. #: guix-git/doc/guix.texi:37244
  54455. #, no-wrap
  54456. msgid "{Scheme Syntax} define-maybe @var{type}"
  54457. msgstr ""
  54458. #. type: deffn
  54459. #: guix-git/doc/guix.texi:37249
  54460. msgid "Sometimes a field should not be serialized if the user doesn’t specify a value. To achieve this, you can use the @code{define-maybe} macro to define a ``maybe type''; if the value of a maybe type is set to the @code{disabled}, it will not be serialized."
  54461. msgstr ""
  54462. #. type: deffn
  54463. #: guix-git/doc/guix.texi:37256
  54464. msgid "When defining a ``maybe type'', the corresponding serializer for the regular type will be used by default. For example, a field of type @code{maybe-string} will be serialized using the @code{serialize-string} procedure by default, you can of course change this by specifying a custom serializer procedure. Likewise, the type of the value would have to be a string, unless it is set to the @code{disabled} symbol."
  54465. msgstr ""
  54466. #. type: lisp
  54467. #: guix-git/doc/guix.texi:37259
  54468. #, no-wrap
  54469. msgid ""
  54470. "(define-maybe string)\n"
  54471. "\n"
  54472. msgstr ""
  54473. #. type: lisp
  54474. #: guix-git/doc/guix.texi:37262
  54475. #, no-wrap
  54476. msgid ""
  54477. "(define (serialize-string field-name value)\n"
  54478. " @dots{})\n"
  54479. "\n"
  54480. msgstr ""
  54481. #. type: lisp
  54482. #: guix-git/doc/guix.texi:37269
  54483. #, no-wrap
  54484. msgid ""
  54485. "(define-configuration baz-configuration\n"
  54486. " (name\n"
  54487. " ;; Nothing will be serialized by default. If set to a string, the\n"
  54488. " ;; `serialize-string' procedure will be used to serialize the string.\n"
  54489. " (maybe-string 'disabled)\n"
  54490. " \"The name of this module.\"))\n"
  54491. msgstr ""
  54492. #. type: deffn
  54493. #: guix-git/doc/guix.texi:37273
  54494. msgid "Like with @code{define-configuration}, one can set a prefix for the serializer name by using the @code{prefix} literal."
  54495. msgstr ""
  54496. #. type: lisp
  54497. #: guix-git/doc/guix.texi:37277
  54498. #, no-wrap
  54499. msgid ""
  54500. "(define-maybe integer\n"
  54501. " (prefix baz-))\n"
  54502. "\n"
  54503. msgstr ""
  54504. #. type: lisp
  54505. #: guix-git/doc/guix.texi:37280
  54506. #, no-wrap
  54507. msgid ""
  54508. "(define (baz-serialize-interger field-name value)\n"
  54509. " @dots{})\n"
  54510. msgstr ""
  54511. #. type: deffn
  54512. #: guix-git/doc/guix.texi:37287
  54513. msgid "There is also the @code{no-serialization} literal, which when set means that no serializer will be defined for the ``maybe type'', regardless of its value is @code{disabled} or not. @code{define-maybe/no-serialization} is a shorthand for specifying the @code{no-serialization} literal."
  54514. msgstr ""
  54515. #. type: lisp
  54516. #: guix-git/doc/guix.texi:37290
  54517. #, no-wrap
  54518. msgid ""
  54519. "(define-maybe/no-serialization symbol)\n"
  54520. "\n"
  54521. msgstr ""
  54522. #. type: lisp
  54523. #: guix-git/doc/guix.texi:37295
  54524. #, no-wrap
  54525. msgid ""
  54526. "(define-configuration/no-serialization test-configuration\n"
  54527. " (mode\n"
  54528. " (maybe-symbol 'disabled)\n"
  54529. " \"Docstring.\"))\n"
  54530. msgstr ""
  54531. #. type: deffn
  54532. #: guix-git/doc/guix.texi:37298
  54533. #, no-wrap
  54534. msgid "{Scheme Procedure} serialize-configuration @var{configuration} @"
  54535. msgstr ""
  54536. #. type: deffn
  54537. #: guix-git/doc/guix.texi:37304
  54538. msgid "@var{fields} Return a G-expression that contains the values corresponding to the @var{fields} of @var{configuration}, a record that has been generated by @code{define-configuration}. The G-expression can then be serialized to disk by using something like @code{mixed-text-file}."
  54539. msgstr ""
  54540. #. type: deffn
  54541. #: guix-git/doc/guix.texi:37306
  54542. #, no-wrap
  54543. msgid "{Scheme Procedure} validate-configuration @var{configuration}"
  54544. msgstr ""
  54545. #. type: deffn
  54546. #: guix-git/doc/guix.texi:37310
  54547. msgid "@var{fields} Type-check @var{fields}, a list of field names of @var{configuration}, a configuration record created by @code{define-configuration}."
  54548. msgstr ""
  54549. #. type: deffn
  54550. #: guix-git/doc/guix.texi:37312
  54551. #, no-wrap
  54552. msgid "{Scheme Procedure} empty-serializer @var{field-name} @var{value}"
  54553. msgstr ""
  54554. #. type: deffn
  54555. #: guix-git/doc/guix.texi:37315
  54556. msgid "A serializer that just returns an empty string. The @code{serialize-package} procedure is an alias for this."
  54557. msgstr ""
  54558. #. type: Plain text
  54559. #: guix-git/doc/guix.texi:37320
  54560. msgid "Once you have defined a configuration record, you will most likely also want to document it so that other people know to use it. To help with that, there are two procedures, both of which are documented below."
  54561. msgstr ""
  54562. #. type: deffn
  54563. #: guix-git/doc/guix.texi:37321
  54564. #, no-wrap
  54565. msgid "{Scheme Procedure} generate-documentation @var{documentation} @"
  54566. msgstr ""
  54567. #. type: deffn
  54568. #: guix-git/doc/guix.texi:37328
  54569. msgid "@var{documentation-name} Generate a Texinfo fragment from the docstrings in @var{documentation}, a list of @code{(@var{label} @var{fields} @var{sub-documentation} ...)}. @var{label} should be a symbol and should be the name of the configuration record. @var{fields} should be a list of all the fields available for the configuration record."
  54570. msgstr ""
  54571. #. type: deffn
  54572. #: guix-git/doc/guix.texi:37333
  54573. msgid "@var{sub-documentation} is a @code{(@var{field-name} @var{configuration-name})} tuple. @var{field-name} is the name of the field which takes another configuration record as its value, and @var{configuration-name} is the name of that configuration record."
  54574. msgstr ""
  54575. #. type: deffn
  54576. #: guix-git/doc/guix.texi:37340
  54577. msgid "@var{sub-documentation} is only needed if there are nested configuration records. For example, the @code{getmail-configuration} record (@pxref{Mail Services}) accepts a @code{getmail-configuration-file} record in one of its @code{rcfile} field, therefore documentation for @code{getmail-configuration-file} is nested in @code{getmail-configuration}."
  54578. msgstr ""
  54579. #. type: lisp
  54580. #: guix-git/doc/guix.texi:37347
  54581. #, no-wrap
  54582. msgid ""
  54583. "(generate-documentation\n"
  54584. " `((getmail-configuration ,getmail-configuration-fields\n"
  54585. " (rcfile getmail-configuration-file))\n"
  54586. " @dots{})\n"
  54587. " 'getmail-configuration)\n"
  54588. msgstr ""
  54589. #. type: deffn
  54590. #: guix-git/doc/guix.texi:37351
  54591. msgid "@var{documentation-name} should be a symbol and should be the name of the configuration record."
  54592. msgstr ""
  54593. #. type: deffn
  54594. #: guix-git/doc/guix.texi:37354
  54595. #, no-wrap
  54596. msgid "{Scheme Procedure} configuration->documentation"
  54597. msgstr ""
  54598. #. type: deffn
  54599. #: guix-git/doc/guix.texi:37361
  54600. msgid "@var{configuration-symbol} Take @var{configuration-symbol}, the symbol corresponding to the name used when defining a configuration record with @code{define-configuration}, and print the Texinfo documentation of its fields. This is useful if there aren’t any nested configuration records since it only prints the documentation for the top-level fields."
  54601. msgstr ""
  54602. #. type: Plain text
  54603. #: guix-git/doc/guix.texi:37369
  54604. msgid "As of right now, there is no automated way to generate documentation for configuration records and put them in the manual. Instead, every time you make a change to the docstrings of a configuration record, you have to manually call @code{generate-documentation} or @code{configuration->documentation}, and paste the output into the @file{doc/guix.texi} file."
  54605. msgstr ""
  54606. #. type: Plain text
  54607. #: guix-git/doc/guix.texi:37373
  54608. msgid "Below is an example of a record type created using @code{define-configuration} and friends."
  54609. msgstr ""
  54610. #. type: lisp
  54611. #: guix-git/doc/guix.texi:37380
  54612. #, no-wrap
  54613. msgid ""
  54614. "(use-modules (gnu services)\n"
  54615. " (guix gexp)\n"
  54616. " (gnu services configuration)\n"
  54617. " (srfi srfi-26)\n"
  54618. " (srfi srfi-1))\n"
  54619. "\n"
  54620. msgstr ""
  54621. #. type: lisp
  54622. #: guix-git/doc/guix.texi:37388
  54623. #, no-wrap
  54624. msgid ""
  54625. ";; Turn field names, which are Scheme symbols into strings\n"
  54626. "(define (uglify-field-name field-name)\n"
  54627. " (let ((str (symbol->string field-name)))\n"
  54628. " ;; field? -> is-field\n"
  54629. " (if (string-suffix? \"?\" str)\n"
  54630. " (string-append \"is-\" (string-drop-right str 1))\n"
  54631. " str)))\n"
  54632. "\n"
  54633. msgstr ""
  54634. #. type: lisp
  54635. #: guix-git/doc/guix.texi:37391
  54636. #, no-wrap
  54637. msgid ""
  54638. "(define (serialize-string field-name value)\n"
  54639. " #~(string-append #$(uglify-field-name field-name) \" = \" #$value \"\\n\"))\n"
  54640. "\n"
  54641. msgstr ""
  54642. #. type: lisp
  54643. #: guix-git/doc/guix.texi:37394
  54644. #, no-wrap
  54645. msgid ""
  54646. "(define (serialize-integer field-name value)\n"
  54647. " (serialize-string field-name (number->string value)))\n"
  54648. "\n"
  54649. msgstr ""
  54650. #. type: lisp
  54651. #: guix-git/doc/guix.texi:37397
  54652. #, no-wrap
  54653. msgid ""
  54654. "(define (serialize-boolean field-name value)\n"
  54655. " (serialize-string field-name (if value \"true\" \"false\")))\n"
  54656. "\n"
  54657. msgstr ""
  54658. #. type: lisp
  54659. #: guix-git/doc/guix.texi:37400
  54660. #, no-wrap
  54661. msgid ""
  54662. "(define (serialize-contact-name field-name value)\n"
  54663. " #~(string-append \"\\n[\" #$value \"]\\n\"))\n"
  54664. "\n"
  54665. msgstr ""
  54666. #. type: lisp
  54667. #: guix-git/doc/guix.texi:37403
  54668. #, no-wrap
  54669. msgid ""
  54670. "(define (list-of-contact-configurations? lst)\n"
  54671. " (every contact-configuration? lst))\n"
  54672. "\n"
  54673. msgstr ""
  54674. #. type: lisp
  54675. #: guix-git/doc/guix.texi:37408
  54676. #, no-wrap
  54677. msgid ""
  54678. "(define (serialize-list-of-contact-configurations field-name value)\n"
  54679. " #~(string-append #$@@(map (cut serialize-configuration <>\n"
  54680. " contact-configuration-fields)\n"
  54681. " value)))\n"
  54682. "\n"
  54683. msgstr ""
  54684. #. type: lisp
  54685. #: guix-git/doc/guix.texi:37415
  54686. #, no-wrap
  54687. msgid ""
  54688. "(define (serialize-contacts-list-configuration configuration)\n"
  54689. " (mixed-text-file\n"
  54690. " \"contactrc\"\n"
  54691. " #~(string-append \"[Owner]\\n\"\n"
  54692. " #$(serialize-configuration\n"
  54693. " configuration contacts-list-configuration-fields))))\n"
  54694. "\n"
  54695. msgstr ""
  54696. #. type: lisp
  54697. #: guix-git/doc/guix.texi:37418
  54698. #, no-wrap
  54699. msgid ""
  54700. "(define-maybe integer)\n"
  54701. "(define-maybe string)\n"
  54702. "\n"
  54703. msgstr ""
  54704. #. type: lisp
  54705. #: guix-git/doc/guix.texi:37433
  54706. #, no-wrap
  54707. msgid ""
  54708. "(define-configuration contact-configuration\n"
  54709. " (name\n"
  54710. " (string)\n"
  54711. " \"The name of the contact.\"\n"
  54712. " serialize-contact-name)\n"
  54713. " (phone-number\n"
  54714. " (maybe-integer 'disabled)\n"
  54715. " \"The person's phone number.\")\n"
  54716. " (email\n"
  54717. " (maybe-string 'disabled)\n"
  54718. " \"The person's email address.\")\n"
  54719. " (married?\n"
  54720. " (boolean)\n"
  54721. " \"Whether the person is married.\"))\n"
  54722. "\n"
  54723. msgstr ""
  54724. #. type: lisp
  54725. #: guix-git/doc/guix.texi:37445
  54726. #, no-wrap
  54727. msgid ""
  54728. "(define-configuration contacts-list-configuration\n"
  54729. " (name\n"
  54730. " (string)\n"
  54731. " \"The name of the owner of this contact list.\")\n"
  54732. " (email\n"
  54733. " (string)\n"
  54734. " \"The owner's email address.\")\n"
  54735. " (contacts\n"
  54736. " (list-of-contact-configurations '())\n"
  54737. " \"A list of @@code@{contact-configuation@} records which contain\n"
  54738. "information about all your contacts.\"))\n"
  54739. msgstr ""
  54740. #. type: Plain text
  54741. #: guix-git/doc/guix.texi:37448
  54742. msgid "A contacts list configuration could then be created like this:"
  54743. msgstr ""
  54744. #. type: lisp
  54745. #: guix-git/doc/guix.texi:37464
  54746. #, no-wrap
  54747. msgid ""
  54748. "(define my-contacts\n"
  54749. " (contacts-list-configuration\n"
  54750. " (name \"Alice\")\n"
  54751. " (email \"alice@@example.org\")\n"
  54752. " (contacts\n"
  54753. " (list (contact-configuration\n"
  54754. " (name \"Bob\")\n"
  54755. " (phone-number 1234)\n"
  54756. " (email \"bob@@gnu.org\")\n"
  54757. " (married? #f))\n"
  54758. " (contact-configuration\n"
  54759. " (name \"Charlie\")\n"
  54760. " (phone-number 0000)\n"
  54761. " (married? #t))))))\n"
  54762. msgstr ""
  54763. #. type: Plain text
  54764. #: guix-git/doc/guix.texi:37468
  54765. msgid "After serializing the configuration to disk, the resulting file would look like this:"
  54766. msgstr ""
  54767. #. type: example
  54768. #: guix-git/doc/guix.texi:37473
  54769. #, no-wrap
  54770. msgid ""
  54771. "[owner]\n"
  54772. "name = Alice\n"
  54773. "email = alice@@example.org\n"
  54774. "\n"
  54775. msgstr ""
  54776. #. type: example
  54777. #: guix-git/doc/guix.texi:37478
  54778. #, no-wrap
  54779. msgid ""
  54780. "[Bob]\n"
  54781. "phone-number = 1234\n"
  54782. "email = bob@@gnu.org\n"
  54783. "is-married = false\n"
  54784. "\n"
  54785. msgstr ""
  54786. #. type: example
  54787. #: guix-git/doc/guix.texi:37482
  54788. #, no-wrap
  54789. msgid ""
  54790. "[Charlie]\n"
  54791. "phone-number = 0\n"
  54792. "is-married = true\n"
  54793. msgstr ""
  54794. #. type: cindex
  54795. #: guix-git/doc/guix.texi:37487
  54796. #, no-wrap
  54797. msgid "home configuration"
  54798. msgstr "kotiasetukset"
  54799. #. type: Plain text
  54800. #: guix-git/doc/guix.texi:37499
  54801. msgid "Guix supports declarative configuration of @dfn{home environments} by utilizing the configuration mechanism described in the previous chapter (@pxref{Defining Services}), but for user's dotfiles and packages. It works both on Guix System and foreign distros and allows users to declare all the packages and services that should be installed and configured for the user. Once a user has written a file containing @code{home-environment} record, such a configuration can be @dfn{instantiated} by an unprivileged user with the @command{guix home} command (@pxref{Invoking guix home})."
  54802. msgstr ""
  54803. #. type: Plain text
  54804. #: guix-git/doc/guix.texi:37516
  54805. msgid "The user's home environment usually consists of three basic parts: software, configuration, and state. Software in mainstream distros are usually installed system-wide, but with GNU Guix most software packages can be installed on a per-user basis without needing root privileges, and are thus considered part of the user’s @dfn{home environment}. Packages on their own not very useful in many cases, because often they require some additional configuration, usually config files that reside in @env{XDG_CONFIG_HOME} (@file{~/.config} by default) or other directories. Everything else can be considered state, like media files, application databases, and logs."
  54806. msgstr ""
  54807. #. type: Plain text
  54808. #: guix-git/doc/guix.texi:37519
  54809. msgid "Using Guix for managing home environments provides a number of advantages:"
  54810. msgstr ""
  54811. #. type: item
  54812. #: guix-git/doc/guix.texi:37522
  54813. #, no-wrap
  54814. msgid "All software can be configured in one language (Guile Scheme),"
  54815. msgstr ""
  54816. #. type: itemize
  54817. #: guix-git/doc/guix.texi:37525
  54818. msgid "this gives users the ability to share values between configurations of different programs."
  54819. msgstr ""
  54820. #. type: item
  54821. #: guix-git/doc/guix.texi:37526
  54822. #, no-wrap
  54823. msgid "A well-defined home environment is self-contained and can be"
  54824. msgstr ""
  54825. #. type: itemize
  54826. #: guix-git/doc/guix.texi:37529
  54827. msgid "created in a declarative and reproducible way---there is no need to grab external binaries or manually edit some configuration file."
  54828. msgstr ""
  54829. #. type: item
  54830. #: guix-git/doc/guix.texi:37530
  54831. #, no-wrap
  54832. msgid "After every @command{guix home reconfigure} invocation, a new home"
  54833. msgstr ""
  54834. #. type: itemize
  54835. #: guix-git/doc/guix.texi:37534
  54836. msgid "environment generation will be created. This means that users can rollback to a previous home environment generation so they don’t have to worry about breaking their configuration."
  54837. msgstr ""
  54838. #. type: item
  54839. #: guix-git/doc/guix.texi:37535
  54840. #, no-wrap
  54841. msgid "It is possible to manage stateful data with Guix Home, this"
  54842. msgstr ""
  54843. #. type: itemize
  54844. #: guix-git/doc/guix.texi:37540
  54845. msgid "includes the ability to automatically clone Git repositories on the initial setup of the machine, and periodically running commands like @command{rsync} to sync data with another host. This functionality is still in an experimental stage, though."
  54846. msgstr ""
  54847. #. type: section
  54848. #: guix-git/doc/guix.texi:37548 guix-git/doc/guix.texi:37550
  54849. #: guix-git/doc/guix.texi:37551
  54850. #, no-wrap
  54851. msgid "Declaring the Home Environment"
  54852. msgstr ""
  54853. #. type: menuentry
  54854. #: guix-git/doc/guix.texi:37548
  54855. msgid "Customizing your Home."
  54856. msgstr ""
  54857. #. type: section
  54858. #: guix-git/doc/guix.texi:37548 guix-git/doc/guix.texi:37618
  54859. #: guix-git/doc/guix.texi:37619
  54860. #, no-wrap
  54861. msgid "Configuring the Shell"
  54862. msgstr ""
  54863. #. type: menuentry
  54864. #: guix-git/doc/guix.texi:37548
  54865. msgid "Enabling home environment."
  54866. msgstr ""
  54867. #. type: section
  54868. #: guix-git/doc/guix.texi:37548 guix-git/doc/guix.texi:37665
  54869. #: guix-git/doc/guix.texi:37666
  54870. #, no-wrap
  54871. msgid "Home Services"
  54872. msgstr ""
  54873. #. type: menuentry
  54874. #: guix-git/doc/guix.texi:37548
  54875. msgid "Specifying home services."
  54876. msgstr ""
  54877. #. type: menuentry
  54878. #: guix-git/doc/guix.texi:37548
  54879. msgid "Instantiating a home configuration."
  54880. msgstr ""
  54881. #. type: Plain text
  54882. #: guix-git/doc/guix.texi:37557
  54883. msgid "The home environment is configured by providing a @code{home-environment} declaration in a file that can be passed to the @command{guix home} command (@pxref{Invoking guix home}). The easiest way to get started is by generating an initial configuration with @command{guix home import}:"
  54884. msgstr ""
  54885. #. type: example
  54886. #: guix-git/doc/guix.texi:37560
  54887. #, no-wrap
  54888. msgid "guix home import ~/src/guix-config\n"
  54889. msgstr ""
  54890. #. type: Plain text
  54891. #: guix-git/doc/guix.texi:37568
  54892. msgid "The @command{guix home import} command reads some of the ``dot files'' such as @file{~/.bashrc} found in your home directory and copies them to the given directory, @file{~/src/guix-config} in this case; it also reads the contents of your profile, @file{~/.guix-profile}, and, based on that, it populates @file{~/src/guix-config/home-configuration.scm} with a Home configuration that resembles your current configuration."
  54893. msgstr ""
  54894. #. type: Plain text
  54895. #: guix-git/doc/guix.texi:37574
  54896. msgid "A simple setup can include Bash and a custom text configuration, like in the example below. Don't be afraid to declare home environment parts, which overlaps with your current dot files: before installing any configuration files, Guix Home will back up existing config files to a separate place in the home directory."
  54897. msgstr ""
  54898. #. type: quotation
  54899. #: guix-git/doc/guix.texi:37580
  54900. msgid "It is highly recommended that you manage your shell or shells with Guix Home, because it will make sure that all the necessary scripts are sourced by the shell configuration file. Otherwise you will need to do it manually. (@pxref{Configuring the Shell})."
  54901. msgstr ""
  54902. #. type: findex
  54903. #: guix-git/doc/guix.texi:37582
  54904. #, no-wrap
  54905. msgid "home-environment"
  54906. msgstr ""
  54907. #. type: include
  54908. #: guix-git/doc/guix.texi:37584
  54909. #, no-wrap
  54910. msgid "he-config-bare-bones.scm"
  54911. msgstr ""
  54912. #. type: Plain text
  54913. #: guix-git/doc/guix.texi:37591
  54914. msgid "The @code{packages} field should be self-explanatory, it will install the list of packages into the user's profile. The most important field is @code{services}, it contains a list of @dfn{home services}, which are the basic building blocks of a home environment."
  54915. msgstr ""
  54916. #. type: Plain text
  54917. #: guix-git/doc/guix.texi:37599
  54918. msgid "There is no daemon (at least not necessarily) related to a home service, a home service is just an element that is used to declare part of home environment and extend other parts of it. The extension mechanism discussed in the previous chapter (@pxref{Defining Services}) should not be confused with Shepherd services (@pxref{Shepherd Services}). Using this extension mechanism and some Scheme code that glues things together gives the user the freedom to declare their own, very custom, home environments."
  54919. msgstr ""
  54920. #. type: Plain text
  54921. #: guix-git/doc/guix.texi:37602
  54922. msgid "Once you have a configuration file that suits your needs, you can reconfigure your home by running:"
  54923. msgstr ""
  54924. #. type: example
  54925. #: guix-git/doc/guix.texi:37605
  54926. #, no-wrap
  54927. msgid "guix home reconfigure config.scm\n"
  54928. msgstr ""
  54929. #. type: Plain text
  54930. #: guix-git/doc/guix.texi:37609
  54931. msgid "This ``builds'' your home environment and creates @file{~/.guix-home} pointing to it. Voilà!"
  54932. msgstr ""
  54933. #. type: quotation
  54934. #: guix-git/doc/guix.texi:37616
  54935. msgid "Make sure the operating system has elogind, systemd, or a similar mechanism to create the XDG run-time directory and has the @env{XDG_RUNTIME_DIR} variable set. Failing that, the @file{on-first-login} script will not execute anything, and processes like user Shepherd and its descendants will not start."
  54936. msgstr ""
  54937. #. type: Plain text
  54938. #: guix-git/doc/guix.texi:37622
  54939. msgid "This section is safe to skip if your shell or shells are managed by Guix Home. Otherwise, read it carefully."
  54940. msgstr ""
  54941. #. type: Plain text
  54942. #: guix-git/doc/guix.texi:37629
  54943. msgid "There are a few scripts that must be evaluated by a login shell to activate the home environment. The shell startup files only read by login shells often have @code{profile} suffix. For more information about login shells see @ref{Invoking Bash,,, bash, The GNU Bash Reference Manual} and see @ref{Bash Startup Files,,, bash, The GNU Bash Reference Manual}."
  54944. msgstr ""
  54945. #. type: Plain text
  54946. #: guix-git/doc/guix.texi:37636
  54947. msgid "The first script that needs to be sourced is @file{setup-environment}, which sets all the necessary environment variables (including variables declared by the user) and the second one is @file{on-first-login}, which starts Shepherd for the current user and performs actions declared by other home services that extends @code{home-run-on-first-login-service-type}."
  54948. msgstr ""
  54949. #. type: Plain text
  54950. #: guix-git/doc/guix.texi:37639
  54951. msgid "Guix Home will always create @file{~/.profile}, which contains the following lines:"
  54952. msgstr ""
  54953. #. type: example
  54954. #: guix-git/doc/guix.texi:37644
  54955. #, no-wrap
  54956. msgid ""
  54957. "HOME_ENVIRONMENT=$HOME/.guix-home\n"
  54958. ". $HOME_ENVIRONMENT/setup-environment\n"
  54959. "$HOME_ENVIRONMENT/on-first-login\n"
  54960. msgstr ""
  54961. #. type: Plain text
  54962. #: guix-git/doc/guix.texi:37654
  54963. msgid "This makes POSIX compliant login shells activate the home environment. However, in most cases this file won't be read by most modern shells, because they are run in non POSIX mode by default and have their own @file{*profile} startup files. For example Bash will prefer @file{~/.bash_profile} in case it exists and only if it doesn't will it fallback to @file{~/.profile}. Zsh (if no additional options are specified) will ignore @file{~/.profile}, even if @file{~/.zprofile} doesn't exist."
  54964. msgstr ""
  54965. #. type: Plain text
  54966. #: guix-git/doc/guix.texi:37659
  54967. msgid "To make your shell respect @file{~/.profile}, add @code{. ~/.profile} or @code{source ~/profile} to the startup file for the login shell. In case of Bash, it is @file{~/.bash_profile}, and in case of Zsh, it is @file{~/.zprofile}."
  54968. msgstr ""
  54969. #. type: quotation
  54970. #: guix-git/doc/guix.texi:37663
  54971. msgid "This step is only required if your shell is NOT managed by Guix Home. Otherwise, everything will be done automatically."
  54972. msgstr ""
  54973. #. type: cindex
  54974. #: guix-git/doc/guix.texi:37667
  54975. #, no-wrap
  54976. msgid "home services"
  54977. msgstr ""
  54978. #. type: Plain text
  54979. #: guix-git/doc/guix.texi:37676
  54980. msgid "A @dfn{home service} is not necessarily something that has a daemon and is managed by Shepherd (@pxref{Jump Start,,, shepherd, The GNU Shepherd Manual}), in most cases it doesn't. It's a simple building block of the home environment, often declaring a set of packages to be installed in the home environment profile, a set of config files to be symlinked into @env{XDG_CONFIG_HOME} (@file{~/.config} by default), and environment variables to be set by a login shell."
  54981. msgstr ""
  54982. #. type: Plain text
  54983. #: guix-git/doc/guix.texi:37684
  54984. msgid "There is a service extension mechanism (@pxref{Service Composition}) which allows home services to extend other home services and utilize capabilities they provide; for example: declare mcron jobs (@pxref{Top,,, mcron, GNU@tie{}Mcron}) by extending @ref{Mcron Home Service}; declare daemons by extending @ref{Shepherd Home Service}; add commands, which will be invoked on by the Bash by extending @ref{Shells Home Services, @code{home-bash-service-type}}."
  54985. msgstr ""
  54986. #. type: Plain text
  54987. #: guix-git/doc/guix.texi:37695
  54988. msgid "A good way to discover available home services is using the @command{guix home search} command (@pxref{Invoking guix home}). After the required home services are found, include its module with the @code{use-modules} form (@pxref{use-modules,, Using Guile Modules, guile, The GNU Guile Reference Manual}), or the @code{#:use-modules} directive (@pxref{define-module,, Creating Guile Modules, guile, The GNU Guile Reference Manual}) and declare a home service using the @code{service} function, or extend a service type by declaring a new service with the @code{simple-service} procedure from @code{(gnu services)}."
  54989. msgstr ""
  54990. #. type: subsection
  54991. #: guix-git/doc/guix.texi:37702 guix-git/doc/guix.texi:37705
  54992. #: guix-git/doc/guix.texi:37706
  54993. #, no-wrap
  54994. msgid "Essential Home Services"
  54995. msgstr ""
  54996. #. type: menuentry
  54997. #: guix-git/doc/guix.texi:37702
  54998. msgid "Environment variables, packages, on-* scripts."
  54999. msgstr ""
  55000. #. type: menuentry
  55001. #: guix-git/doc/guix.texi:37702
  55002. msgid "Shells: Shells Home Services"
  55003. msgstr ""
  55004. #. type: menuentry
  55005. #: guix-git/doc/guix.texi:37702
  55006. msgid "POSIX shells, Bash, Zsh."
  55007. msgstr ""
  55008. #. type: menuentry
  55009. #: guix-git/doc/guix.texi:37702
  55010. msgid "Mcron: Mcron Home Service"
  55011. msgstr ""
  55012. #. type: menuentry
  55013. #: guix-git/doc/guix.texi:37702
  55014. msgid "Scheduled User's Job Execution."
  55015. msgstr ""
  55016. #. type: menuentry
  55017. #: guix-git/doc/guix.texi:37702
  55018. msgid "Shepherd: Shepherd Home Service"
  55019. msgstr ""
  55020. #. type: menuentry
  55021. #: guix-git/doc/guix.texi:37702
  55022. msgid "Managing User's Daemons."
  55023. msgstr ""
  55024. #. type: menuentry
  55025. #: guix-git/doc/guix.texi:37702
  55026. msgid "Desktop: Desktop Home Services"
  55027. msgstr ""
  55028. #. type: menuentry
  55029. #: guix-git/doc/guix.texi:37702
  55030. msgid "Services for graphical environments."
  55031. msgstr ""
  55032. #. type: Plain text
  55033. #: guix-git/doc/guix.texi:37711
  55034. msgid "There are a few essential home services defined in @code{(gnu services)}, they are mostly for internal use and are required to build a home environment, but some of them will be useful for the end user."
  55035. msgstr ""
  55036. #. type: cindex
  55037. #: guix-git/doc/guix.texi:37712
  55038. #, no-wrap
  55039. msgid "environment variables"
  55040. msgstr "ympäristömuuttujat"
  55041. #. type: defvr
  55042. #: guix-git/doc/guix.texi:37714
  55043. #, no-wrap
  55044. msgid "{Scheme Variable} home-environment-variables-service-type"
  55045. msgstr ""
  55046. #. type: defvr
  55047. #: guix-git/doc/guix.texi:37719
  55048. msgid "The service of this type will be instantiated by every home environment automatically by default, there is no need to define it, but someone may want to extend it with a list of pairs to set some environment variables."
  55049. msgstr ""
  55050. #. type: lisp
  55051. #: guix-git/doc/guix.texi:37723
  55052. #, no-wrap
  55053. msgid ""
  55054. "(list (\"ENV_VAR1\" . \"value1\")\n"
  55055. " (\"ENV_VAR2\" . \"value2\"))\n"
  55056. msgstr ""
  55057. #. type: defvr
  55058. #: guix-git/doc/guix.texi:37728
  55059. msgid "The easiest way to extend a service type, without defining new service type is to use the @code{simple-service} helper from @code{(gnu services)}."
  55060. msgstr ""
  55061. #. type: lisp
  55062. #: guix-git/doc/guix.texi:37736
  55063. #, no-wrap
  55064. msgid ""
  55065. "(simple-service 'some-useful-env-vars-service\n"
  55066. "\t\thome-environment-variables-service-type\n"
  55067. "\t\t`((\"LESSHISTFILE\" . \"$XDG_CACHE_HOME/.lesshst\")\n"
  55068. " (\"SHELL\" . ,(file-append zsh \"/bin/zsh\"))\n"
  55069. " (\"USELESS_VAR\" . #f)\n"
  55070. " (\"_JAVA_AWT_WM_NONREPARENTING\" . #t)))\n"
  55071. msgstr ""
  55072. #. type: defvr
  55073. #: guix-git/doc/guix.texi:37741
  55074. msgid "If you include such a service in you home environment definition, it will add the following content to the @file{setup-environment} script (which is expected to be sourced by the login shell):"
  55075. msgstr ""
  55076. #. type: example
  55077. #: guix-git/doc/guix.texi:37746
  55078. #, no-wrap
  55079. msgid ""
  55080. "export LESSHISTFILE=$XDG_CACHE_HOME/.lesshst\n"
  55081. "export SHELL=/gnu/store/2hsg15n644f0glrcbkb1kqknmmqdar03-zsh-5.8/bin/zsh\n"
  55082. "export _JAVA_AWT_WM_NONREPARENTING\n"
  55083. msgstr ""
  55084. #. type: quotation
  55085. #: guix-git/doc/guix.texi:37753
  55086. msgid "Make sure that module @code{(gnu packages shells)} is imported with @code{use-modules} or any other way, this namespace contains the definition of the @code{zsh} packages, which is used in the example above."
  55087. msgstr ""
  55088. #. type: defvr
  55089. #: guix-git/doc/guix.texi:37766
  55090. msgid "The association list (@pxref{Association Lists, alists, Association Lists, guile, The GNU Guile Reference manual}) is a data structure containing key-value pairs, for @code{home-environment-variables-service-type} the key is always a string, the value can be a string, string-valued gexp (@pxref{G-Expressions}), file-like object (@pxref{G-Expressions, file-like object}) or boolean. For gexps, the variable will be set to the value of the gexp; for file-like objects, it will be set to the path of the file in the store (@pxref{The Store}); for @code{#t}, it will export the variable without any value; and for @code{#f}, it will omit variable."
  55091. msgstr ""
  55092. #. type: defvr
  55093. #: guix-git/doc/guix.texi:37769
  55094. #, no-wrap
  55095. msgid "{Scheme Variable} home-profile-service-type"
  55096. msgstr ""
  55097. #. type: defvr
  55098. #: guix-git/doc/guix.texi:37775
  55099. msgid "The service of this type will be instantiated by every home environment automatically, there is no need to define it, but you may want to extend it with a list of packages if you want to install additional packages into your profile. Other services, which need to make some programs available to the user will also extend this service type."
  55100. msgstr ""
  55101. #. type: defvr
  55102. #: guix-git/doc/guix.texi:37777
  55103. msgid "The extension value is just a list of packages:"
  55104. msgstr ""
  55105. #. type: lisp
  55106. #: guix-git/doc/guix.texi:37780
  55107. #, no-wrap
  55108. msgid "(list htop vim emacs)\n"
  55109. msgstr ""
  55110. #. type: defvr
  55111. #: guix-git/doc/guix.texi:37790
  55112. msgid "The same approach as @code{simple-service} (@pxref{Service Reference, simple-service}) for @code{home-environment-variables-service-type} can be used here, too. Make sure that modules containing the specified packages are imported with @code{use-modules}. To find a package or information about its module use @command{guix search} (@pxref{Invoking guix package}). Alternatively, @code{specification->package} can be used to get the package record from string without importing related module."
  55113. msgstr ""
  55114. #. type: Plain text
  55115. #: guix-git/doc/guix.texi:37794
  55116. msgid "There are few more essential services, but users are not expected to extend them."
  55117. msgstr ""
  55118. #. type: defvr
  55119. #: guix-git/doc/guix.texi:37795
  55120. #, no-wrap
  55121. msgid "{Scheme Variable} home-service-type"
  55122. msgstr ""
  55123. #. type: defvr
  55124. #: guix-git/doc/guix.texi:37800
  55125. msgid "The root of home services DAG, it generates a folder, which later will be symlinked to @file{~/.guix-home}, it contains configurations, profile with binaries and libraries, and some necessary scripts to glue things together."
  55126. msgstr ""
  55127. #. type: defvr
  55128. #: guix-git/doc/guix.texi:37802
  55129. #, no-wrap
  55130. msgid "{Scheme Variable} home-run-on-first-login-service-type"
  55131. msgstr ""
  55132. #. type: defvr
  55133. #: guix-git/doc/guix.texi:37807
  55134. msgid "The service of this type generates a Guile script, which is expected to be executed by the login shell. It is only executed if the special flag file inside @env{XDG_RUNTIME_DIR} hasn't been created, this prevents redundant executions of the script if multiple login shells are spawned."
  55135. msgstr ""
  55136. #. type: defvr
  55137. #: guix-git/doc/guix.texi:37813
  55138. msgid "It can be extended with a gexp. However, to autostart an application, users @emph{should not} use this service, in most cases it's better to extend @code{home-shepherd-service-type} with a Shepherd service (@pxref{Shepherd Services}), or extend the shell's startup file with the required command using the appropriate service type."
  55139. msgstr ""
  55140. #. type: defvr
  55141. #: guix-git/doc/guix.texi:37815
  55142. #, no-wrap
  55143. msgid "{Scheme Variable} home-activation-service-type"
  55144. msgstr ""
  55145. #. type: defvr
  55146. #: guix-git/doc/guix.texi:37819
  55147. msgid "The service of this type generates a guile script, which runs on every @command{guix home reconfigure} invocation or any other action, which leads to the activation of the home environment."
  55148. msgstr ""
  55149. #. type: node
  55150. #: guix-git/doc/guix.texi:37821
  55151. #, no-wrap
  55152. msgid "Shells Home Services"
  55153. msgstr ""
  55154. #. type: subsection
  55155. #: guix-git/doc/guix.texi:37822
  55156. #, no-wrap
  55157. msgid "Shells"
  55158. msgstr "Komentotulkit"
  55159. #. type: cindex
  55160. #: guix-git/doc/guix.texi:37824 guix-git/doc/guix.texi:38190
  55161. #, no-wrap
  55162. msgid "shell"
  55163. msgstr "komentotulkki"
  55164. #. type: cindex
  55165. #: guix-git/doc/guix.texi:37825
  55166. #, no-wrap
  55167. msgid "login shell"
  55168. msgstr ""
  55169. #. type: cindex
  55170. #: guix-git/doc/guix.texi:37826
  55171. #, no-wrap
  55172. msgid "interactive shell"
  55173. msgstr ""
  55174. #. type: cindex
  55175. #: guix-git/doc/guix.texi:37827 guix-git/doc/guix.texi:38192
  55176. #, no-wrap
  55177. msgid "bash"
  55178. msgstr "bash"
  55179. #. type: cindex
  55180. #: guix-git/doc/guix.texi:37828 guix-git/doc/guix.texi:38193
  55181. #, no-wrap
  55182. msgid "zsh"
  55183. msgstr ""
  55184. #. type: Plain text
  55185. #: guix-git/doc/guix.texi:37834
  55186. msgid "Shells play a quite important role in the environment initialization process, you can configure them manually as described in section @ref{Configuring the Shell}, but the recommended way is to use home services listed below. It's both easier and more reliable."
  55187. msgstr ""
  55188. #. type: Plain text
  55189. #: guix-git/doc/guix.texi:37844
  55190. msgid "Each home environment instantiates @code{home-shell-profile-service-type}, which creates a @file{~/.profile} startup file for all POSIX-compatible shells. This file contains all the necessary steps to properly initialize the environment, but many modern shells like Bash or Zsh prefer their own startup files, that's why the respective home services (@code{home-bash-service-type} and @code{home-zsh-service-type}) ensure that @file{~/.profile} is sourced by @file{~/.bash_profile} and @file{~/.zprofile}, respectively."
  55191. msgstr ""
  55192. #. type: subsubheading
  55193. #: guix-git/doc/guix.texi:37845
  55194. #, no-wrap
  55195. msgid "Shell Profile Service"
  55196. msgstr ""
  55197. #. type: deftp
  55198. #: guix-git/doc/guix.texi:37847
  55199. #, no-wrap
  55200. msgid "{Data Type} home-shell-profile-configuration"
  55201. msgstr ""
  55202. #. type: deftp
  55203. #: guix-git/doc/guix.texi:37849
  55204. msgid "Available @code{home-shell-profile-configuration} fields are:"
  55205. msgstr ""
  55206. #. type: item
  55207. #: guix-git/doc/guix.texi:37851
  55208. #, no-wrap
  55209. msgid "@code{profile} (default: @code{()}) (type: text-config)"
  55210. msgstr ""
  55211. #. type: table
  55212. #: guix-git/doc/guix.texi:37861
  55213. msgid "@code{home-shell-profile} is instantiated automatically by @code{home-environment}, DO NOT create this service manually, it can only be extended. @code{profile} is a list of file-like objects, which will go to @file{~/.profile}. By default @file{~/.profile} contains the initialization code which must be evaluated by the login shell to make home-environment's profile available to the user, but other commands can be added to the file if it is really necessary. In most cases shell's configuration files are preferred places for user's customizations. Extend home-shell-profile service only if you really know what you do."
  55214. msgstr ""
  55215. #. type: subsubheading
  55216. #: guix-git/doc/guix.texi:37866
  55217. #, no-wrap
  55218. msgid "Bash Home Service"
  55219. msgstr ""
  55220. #. type: anchor{#1}
  55221. #: guix-git/doc/guix.texi:37869
  55222. msgid "home-bash-configuration"
  55223. msgstr ""
  55224. #. type: deftp
  55225. #: guix-git/doc/guix.texi:37869
  55226. #, no-wrap
  55227. msgid "{Data Type} home-bash-configuration"
  55228. msgstr ""
  55229. #. type: deftp
  55230. #: guix-git/doc/guix.texi:37871
  55231. msgid "Available @code{home-bash-configuration} fields are:"
  55232. msgstr ""
  55233. #. type: item
  55234. #: guix-git/doc/guix.texi:37873
  55235. #, no-wrap
  55236. msgid "@code{package} (default: @code{bash}) (type: package)"
  55237. msgstr ""
  55238. #. type: table
  55239. #: guix-git/doc/guix.texi:37875
  55240. msgid "The Bash package to use."
  55241. msgstr ""
  55242. #. type: item
  55243. #: guix-git/doc/guix.texi:37876
  55244. #, no-wrap
  55245. msgid "@code{guix-defaults?} (default: @code{#t}) (type: boolean)"
  55246. msgstr ""
  55247. #. type: table
  55248. #: guix-git/doc/guix.texi:37879
  55249. msgid "Add sane defaults like reading @file{/etc/bashrc} and coloring the output of @command{ls} to the end of the @file{.bashrc} file."
  55250. msgstr ""
  55251. #. type: item
  55252. #: guix-git/doc/guix.texi:37880 guix-git/doc/guix.texi:37934
  55253. #: guix-git/doc/guix.texi:37973
  55254. #, no-wrap
  55255. msgid "@code{environment-variables} (default: @code{()}) (type: alist)"
  55256. msgstr ""
  55257. #. type: table
  55258. #: guix-git/doc/guix.texi:37885
  55259. msgid "Association list of environment variables to set for the Bash session. The rules for the @code{home-environment-variables-service-type} apply here (@pxref{Essential Home Services}). The contents of this field will be added after the contents of the @code{bash-profile} field."
  55260. msgstr ""
  55261. #. type: item
  55262. #: guix-git/doc/guix.texi:37886 guix-git/doc/guix.texi:37939
  55263. #, no-wrap
  55264. msgid "@code{aliases} (default: @code{()}) (type: alist)"
  55265. msgstr ""
  55266. #. type: table
  55267. #: guix-git/doc/guix.texi:37891
  55268. msgid "Association list of aliases to set for the Bash session. The aliases will be defined after the contents of the @code{bashrc} field has been put in the @file{.bashrc} file. The alias will automatically be quoted, so something line this:"
  55269. msgstr ""
  55270. #. type: lisp
  55271. #: guix-git/doc/guix.texi:37894
  55272. #, no-wrap
  55273. msgid "'((\\\"ls\\\" . \\\"ls -alF\\\"))\n"
  55274. msgstr ""
  55275. #. type: table
  55276. #: guix-git/doc/guix.texi:37897
  55277. msgid "turns into"
  55278. msgstr ""
  55279. #. type: example
  55280. #: guix-git/doc/guix.texi:37900
  55281. #, no-wrap
  55282. msgid "alias ls=\\\"ls -alF\\\"\n"
  55283. msgstr ""
  55284. #. type: item
  55285. #: guix-git/doc/guix.texi:37902 guix-git/doc/guix.texi:37943
  55286. #, no-wrap
  55287. msgid "@code{bash-profile} (default: @code{()}) (type: text-config)"
  55288. msgstr ""
  55289. #. type: table
  55290. #: guix-git/doc/guix.texi:37907
  55291. msgid "List of file-like objects, which will be added to @file{.bash_profile}. Used for executing user's commands at start of login shell (In most cases the shell started on tty just after login). @file{.bash_login} won't be ever read, because @file{.bash_profile} always present."
  55292. msgstr ""
  55293. #. type: item
  55294. #: guix-git/doc/guix.texi:37908 guix-git/doc/guix.texi:37947
  55295. #, no-wrap
  55296. msgid "@code{bashrc} (default: @code{()}) (type: text-config)"
  55297. msgstr ""
  55298. #. type: table
  55299. #: guix-git/doc/guix.texi:37913
  55300. msgid "List of file-like objects, which will be added to @file{.bashrc}. Used for executing user's commands at start of interactive shell (The shell for interactive usage started by typing @code{bash} or by terminal app or any other program)."
  55301. msgstr ""
  55302. #. type: item
  55303. #: guix-git/doc/guix.texi:37914 guix-git/doc/guix.texi:37951
  55304. #, no-wrap
  55305. msgid "@code{bash-logout} (default: @code{()}) (type: text-config)"
  55306. msgstr ""
  55307. #. type: table
  55308. #: guix-git/doc/guix.texi:37919
  55309. msgid "List of file-like objects, which will be added to @file{.bash_logout}. Used for executing user's commands at the exit of login shell. It won't be read in some cases (if the shell terminates by exec'ing another process for example)."
  55310. msgstr ""
  55311. #. type: Plain text
  55312. #: guix-git/doc/guix.texi:37929
  55313. msgid "You can extend the Bash service by using the @code{home-bash-extension} configuration record, whose fields most mirror that of @code{home-bash-configuration} (@pxref{home-bash-configuration}). The contents of the extensions will be added to the end of the corresponding Bash configuration files (@pxref{Bash Startup Files,,, bash, The GNU Bash Reference Manual}."
  55314. msgstr ""
  55315. #. type: deftp
  55316. #: guix-git/doc/guix.texi:37930
  55317. #, no-wrap
  55318. msgid "{Data Type} home-bash-extension"
  55319. msgstr ""
  55320. #. type: deftp
  55321. #: guix-git/doc/guix.texi:37932
  55322. msgid "Available @code{home-bash-extension} fields are:"
  55323. msgstr ""
  55324. #. type: table
  55325. #: guix-git/doc/guix.texi:37938
  55326. msgid "Additional environment variables to set. These will be combined with the environment variables from other extensions and the base service to form one coherent block of environment variables."
  55327. msgstr ""
  55328. #. type: table
  55329. #: guix-git/doc/guix.texi:37942
  55330. msgid "Additional aliases to set. These will be combined with the aliases from other extensions and the base service."
  55331. msgstr ""
  55332. #. type: table
  55333. #: guix-git/doc/guix.texi:37946
  55334. msgid "Additional text blocks to add to @file{.bash_profile}, which will be combined with text blocks from other extensions and the base service."
  55335. msgstr ""
  55336. #. type: table
  55337. #: guix-git/doc/guix.texi:37950
  55338. msgid "Additional text blocks to add to @file{.bashrc}, which will be combined with text blocks from other extensions and the base service."
  55339. msgstr ""
  55340. #. type: table
  55341. #: guix-git/doc/guix.texi:37954
  55342. msgid "Additional text blocks to add to @file{.bash_logout}, which will be combined with text blocks from other extensions and the base service."
  55343. msgstr ""
  55344. #. type: subsubheading
  55345. #: guix-git/doc/guix.texi:37958
  55346. #, no-wrap
  55347. msgid "Zsh Home Service"
  55348. msgstr ""
  55349. #. type: deftp
  55350. #: guix-git/doc/guix.texi:37960
  55351. #, no-wrap
  55352. msgid "{Data Type} home-zsh-configuration"
  55353. msgstr ""
  55354. #. type: deftp
  55355. #: guix-git/doc/guix.texi:37962
  55356. msgid "Available @code{home-zsh-configuration} fields are:"
  55357. msgstr ""
  55358. #. type: item
  55359. #: guix-git/doc/guix.texi:37964
  55360. #, no-wrap
  55361. msgid "@code{package} (default: @code{zsh}) (type: package)"
  55362. msgstr ""
  55363. #. type: table
  55364. #: guix-git/doc/guix.texi:37966
  55365. msgid "The Zsh package to use."
  55366. msgstr ""
  55367. #. type: item
  55368. #: guix-git/doc/guix.texi:37967
  55369. #, no-wrap
  55370. msgid "@code{xdg-flavor?} (default: @code{#t}) (type: boolean)"
  55371. msgstr ""
  55372. #. type: table
  55373. #: guix-git/doc/guix.texi:37972
  55374. msgid "Place all the configs to @file{$XDG_CONFIG_HOME/zsh}. Makes @file{~/.zshenv} to set @env{ZDOTDIR} to @file{$XDG_CONFIG_HOME/zsh}. Shell startup process will continue with @file{$XDG_CONFIG_HOME/zsh/.zshenv}."
  55375. msgstr ""
  55376. #. type: table
  55377. #: guix-git/doc/guix.texi:37975
  55378. msgid "Association list of environment variables to set for the Zsh session."
  55379. msgstr ""
  55380. #. type: item
  55381. #: guix-git/doc/guix.texi:37976
  55382. #, no-wrap
  55383. msgid "@code{zshenv} (default: @code{()}) (type: text-config)"
  55384. msgstr ""
  55385. #. type: table
  55386. #: guix-git/doc/guix.texi:37981
  55387. msgid "List of file-like objects, which will be added to @file{.zshenv}. Used for setting user's shell environment variables. Must not contain commands assuming the presence of tty or producing output. Will be read always. Will be read before any other file in @env{ZDOTDIR}."
  55388. msgstr ""
  55389. #. type: item
  55390. #: guix-git/doc/guix.texi:37982
  55391. #, no-wrap
  55392. msgid "@code{zprofile} (default: @code{()}) (type: text-config)"
  55393. msgstr ""
  55394. #. type: table
  55395. #: guix-git/doc/guix.texi:37987
  55396. msgid "List of file-like objects, which will be added to @file{.zprofile}. Used for executing user's commands at start of login shell (In most cases the shell started on tty just after login). Will be read before @file{.zlogin}."
  55397. msgstr ""
  55398. #. type: item
  55399. #: guix-git/doc/guix.texi:37988
  55400. #, no-wrap
  55401. msgid "@code{zshrc} (default: @code{()}) (type: text-config)"
  55402. msgstr ""
  55403. #. type: table
  55404. #: guix-git/doc/guix.texi:37993
  55405. msgid "List of file-like objects, which will be added to @file{.zshrc}. Used for executing user's commands at start of interactive shell (The shell for interactive usage started by typing @code{zsh} or by terminal app or any other program)."
  55406. msgstr ""
  55407. #. type: item
  55408. #: guix-git/doc/guix.texi:37994
  55409. #, no-wrap
  55410. msgid "@code{zlogin} (default: @code{()}) (type: text-config)"
  55411. msgstr ""
  55412. #. type: table
  55413. #: guix-git/doc/guix.texi:37998
  55414. msgid "List of file-like objects, which will be added to @file{.zlogin}. Used for executing user's commands at the end of starting process of login shell."
  55415. msgstr ""
  55416. #. type: item
  55417. #: guix-git/doc/guix.texi:37999
  55418. #, no-wrap
  55419. msgid "@code{zlogout} (default: @code{()}) (type: text-config)"
  55420. msgstr ""
  55421. #. type: table
  55422. #: guix-git/doc/guix.texi:38004
  55423. msgid "List of file-like objects, which will be added to @file{.zlogout}. Used for executing user's commands at the exit of login shell. It won't be read in some cases (if the shell terminates by exec'ing another process for example)."
  55424. msgstr ""
  55425. #. type: node
  55426. #: guix-git/doc/guix.texi:38009
  55427. #, no-wrap
  55428. msgid "Mcron Home Service"
  55429. msgstr ""
  55430. #. type: subsection
  55431. #: guix-git/doc/guix.texi:38010
  55432. #, no-wrap
  55433. msgid "Scheduled User's Job Execution"
  55434. msgstr ""
  55435. #. type: Plain text
  55436. #: guix-git/doc/guix.texi:38023
  55437. msgid "The @code{(gnu home services mcron)} module provides an interface to GNU@tie{}mcron, a daemon to run jobs at scheduled times (@pxref{Top,,, mcron, GNU@tie{}mcron}). The information about system's mcron is applicable here (@pxref{Scheduled Job Execution}), the only difference for home services is that they have to be declared in a @code{home-envirnoment} record instead of an @code{operating-system} record."
  55438. msgstr ""
  55439. #. type: defvr
  55440. #: guix-git/doc/guix.texi:38024
  55441. #, no-wrap
  55442. msgid "{Scheme Variable} home-mcron-service-type"
  55443. msgstr ""
  55444. #. type: defvr
  55445. #: guix-git/doc/guix.texi:38028
  55446. msgid "This is the type of the @code{mcron} home service, whose value is an @code{home-mcron-configuration} object. It allows to manage scheduled tasks."
  55447. msgstr ""
  55448. #. type: deftp
  55449. #: guix-git/doc/guix.texi:38035
  55450. #, no-wrap
  55451. msgid "{Data Type} home-mcron-configuration"
  55452. msgstr ""
  55453. #. type: node
  55454. #: guix-git/doc/guix.texi:38049
  55455. #, no-wrap
  55456. msgid "Shepherd Home Service"
  55457. msgstr ""
  55458. #. type: subsection
  55459. #: guix-git/doc/guix.texi:38050
  55460. #, no-wrap
  55461. msgid "Managing User Daemons"
  55462. msgstr ""
  55463. #. type: cindex
  55464. #: guix-git/doc/guix.texi:38052
  55465. #, no-wrap
  55466. msgid "shepherd services, for users"
  55467. msgstr ""
  55468. #. type: Plain text
  55469. #: guix-git/doc/guix.texi:38059
  55470. msgid "The @code{(gnu home services shepherd)} module supports the definitions of per-user Shepherd services (@pxref{Introduction,,, shepherd, The GNU Shepherd Manual}). You extend @code{home-shepherd-service-type} with new services; Guix Home then takes care of starting the @code{shepherd} daemon for you when you log in, which in turns starts the services you asked for."
  55471. msgstr ""
  55472. #. type: defvr
  55473. #: guix-git/doc/guix.texi:38060
  55474. #, no-wrap
  55475. msgid "{Scheme Variable} home-shepherd-service-type"
  55476. msgstr ""
  55477. #. type: defvr
  55478. #: guix-git/doc/guix.texi:38065
  55479. msgid "The service type for the userland Shepherd, which allows one to manage long-running processes or one-shot tasks. User's Shepherd is not an init process (PID 1), but almost all other information described in (@pxref{Shepherd Services}) is applicable here too."
  55480. msgstr ""
  55481. #. type: defvr
  55482. #: guix-git/doc/guix.texi:38070
  55483. msgid "This is the service type that extensions target when they want to create shepherd services (@pxref{Service Types and Services}, for an example). Each extension must pass a list of @code{<shepherd-service>}. Its value must be a @code{home-shepherd-configuration}, as described below."
  55484. msgstr ""
  55485. #. type: deftp
  55486. #: guix-git/doc/guix.texi:38072
  55487. #, no-wrap
  55488. msgid "{Data Type} home-shepherd-configuration"
  55489. msgstr ""
  55490. #. type: item
  55491. #: guix-git/doc/guix.texi:38079
  55492. #, no-wrap
  55493. msgid "auto-start? (default: @code{#t})"
  55494. msgstr ""
  55495. #. type: table
  55496. #: guix-git/doc/guix.texi:38081
  55497. msgid "Whether or not to start Shepherd on first login."
  55498. msgstr ""
  55499. #. type: subsection
  55500. #: guix-git/doc/guix.texi:38089 guix-git/doc/guix.texi:38090
  55501. #, fuzzy, no-wrap
  55502. #| msgid "System Services"
  55503. msgid "Desktop Home Services"
  55504. msgstr "Järjestelmäpalvelut"
  55505. #. type: Plain text
  55506. #: guix-git/doc/guix.texi:38095
  55507. msgid "The @code{(gnu home services desktop)} module provides services that you may find useful on ``desktop'' systems running a graphical user environment such as Xorg."
  55508. msgstr ""
  55509. #. type: defvr
  55510. #: guix-git/doc/guix.texi:38096
  55511. #, no-wrap
  55512. msgid "{Scheme Variable} home-redshift-service-type"
  55513. msgstr ""
  55514. #. type: defvr
  55515. #: guix-git/doc/guix.texi:38101
  55516. msgid "This is the service type for @uref{https://github.com/jonls/redshift, Redshift}, a program that adjusts the display color temperature according to the time of day. Its associated value must be a @code{home-redshift-configuration} record, as shown below."
  55517. msgstr ""
  55518. #. type: defvr
  55519. #: guix-git/doc/guix.texi:38104
  55520. msgid "A typical configuration, where we manually specify the latitude and longitude, might look like this:"
  55521. msgstr ""
  55522. #. type: lisp
  55523. #: guix-git/doc/guix.texi:38111
  55524. #, no-wrap
  55525. msgid ""
  55526. "(service home-redshift-service-type\n"
  55527. " (home-redshift-configuration\n"
  55528. " (location-provider 'manual)\n"
  55529. " (latitude 35.81) ;northern hemisphere\n"
  55530. " (longitude -0.80))) ;west of Greenwich\n"
  55531. msgstr ""
  55532. #. type: deftp
  55533. #: guix-git/doc/guix.texi:38114
  55534. #, no-wrap
  55535. msgid "{Data Type} home-redshift-configuration"
  55536. msgstr ""
  55537. #. type: deftp
  55538. #: guix-git/doc/guix.texi:38116
  55539. msgid "Available @code{home-redshift-configuration} fields are:"
  55540. msgstr ""
  55541. #. type: item
  55542. #: guix-git/doc/guix.texi:38118
  55543. #, no-wrap
  55544. msgid "@code{redshift} (default: @code{redshift}) (type: file-like)"
  55545. msgstr ""
  55546. #. type: table
  55547. #: guix-git/doc/guix.texi:38120
  55548. msgid "Redshift package to use."
  55549. msgstr ""
  55550. #. type: item
  55551. #: guix-git/doc/guix.texi:38121
  55552. #, no-wrap
  55553. msgid "@code{location-provider} (default: @code{geoclue2}) (type: symbol)"
  55554. msgstr ""
  55555. #. type: table
  55556. #: guix-git/doc/guix.texi:38127
  55557. msgid "Geolocation provider---@code{'manual} or @code{'geoclue2}. In the former case, you must also specify the @code{latitude} and @code{longitude} fields so Redshift can determine daytime at your place. In the latter case, the Geoclue system service must be running; it will be queried for location information."
  55558. msgstr ""
  55559. #. type: item
  55560. #: guix-git/doc/guix.texi:38128
  55561. #, no-wrap
  55562. msgid "@code{adjustment-method} (default: @code{randr}) (type: symbol)"
  55563. msgstr ""
  55564. #. type: table
  55565. #: guix-git/doc/guix.texi:38130
  55566. msgid "Color adjustment method."
  55567. msgstr ""
  55568. #. type: item
  55569. #: guix-git/doc/guix.texi:38131
  55570. #, no-wrap
  55571. msgid "@code{daytime-temperature} (default: @code{6500}) (type: integer)"
  55572. msgstr ""
  55573. #. type: table
  55574. #: guix-git/doc/guix.texi:38133
  55575. msgid "Daytime color temperature (kelvins)."
  55576. msgstr ""
  55577. #. type: item
  55578. #: guix-git/doc/guix.texi:38134
  55579. #, no-wrap
  55580. msgid "@code{nighttime-temperature} (default: @code{4500}) (type: integer)"
  55581. msgstr ""
  55582. #. type: table
  55583. #: guix-git/doc/guix.texi:38136
  55584. msgid "Nighttime color temperature (kelvins)."
  55585. msgstr ""
  55586. #. type: item
  55587. #: guix-git/doc/guix.texi:38137
  55588. #, no-wrap
  55589. msgid "@code{daytime-brightness} (default: @code{disabled}) (type: maybe-inexact-number)"
  55590. msgstr ""
  55591. #. type: table
  55592. #: guix-git/doc/guix.texi:38139
  55593. msgid "Daytime screen brightness, between 0.1 and 1.0."
  55594. msgstr ""
  55595. #. type: item
  55596. #: guix-git/doc/guix.texi:38140
  55597. #, no-wrap
  55598. msgid "@code{nighttime-brightness} (default: @code{disabled}) (type: maybe-inexact-number)"
  55599. msgstr ""
  55600. #. type: table
  55601. #: guix-git/doc/guix.texi:38142
  55602. msgid "Nighttime screen brightness, between 0.1 and 1.0."
  55603. msgstr ""
  55604. #. type: item
  55605. #: guix-git/doc/guix.texi:38143
  55606. #, no-wrap
  55607. msgid "@code{latitude} (default: @code{disabled}) (type: maybe-inexact-number)"
  55608. msgstr ""
  55609. #. type: table
  55610. #: guix-git/doc/guix.texi:38145
  55611. msgid "Latitude, when @code{location-provider} is @code{'manual}."
  55612. msgstr ""
  55613. #. type: item
  55614. #: guix-git/doc/guix.texi:38146
  55615. #, no-wrap
  55616. msgid "@code{longitude} (default: @code{disabled}) (type: maybe-inexact-number)"
  55617. msgstr ""
  55618. #. type: table
  55619. #: guix-git/doc/guix.texi:38148
  55620. msgid "Longitude, when @code{location-provider} is @code{'manual}."
  55621. msgstr ""
  55622. #. type: item
  55623. #: guix-git/doc/guix.texi:38149
  55624. #, no-wrap
  55625. msgid "@code{dawn-time} (default: @code{disabled}) (type: maybe-string)"
  55626. msgstr ""
  55627. #. type: table
  55628. #: guix-git/doc/guix.texi:38153
  55629. msgid "Custom time for the transition from night to day in the morning---@code{\"HH:MM\"} format. When specified, solar elevation is not used to determine the daytime/nighttime period."
  55630. msgstr ""
  55631. #. type: item
  55632. #: guix-git/doc/guix.texi:38154
  55633. #, no-wrap
  55634. msgid "@code{dusk-time} (default: @code{disabled}) (type: maybe-string)"
  55635. msgstr ""
  55636. #. type: table
  55637. #: guix-git/doc/guix.texi:38157
  55638. msgid "Likewise, custom time for the transition from day to night in the evening."
  55639. msgstr ""
  55640. #. type: item
  55641. #: guix-git/doc/guix.texi:38158
  55642. #, no-wrap
  55643. msgid "@code{extra-content} (default: @code{\"\"}) (type: raw-configuration-string)"
  55644. msgstr ""
  55645. #. type: table
  55646. #: guix-git/doc/guix.texi:38162
  55647. msgid "Extra content appended as-is to the Redshift configuration file. Run @command{man redshift} for more information about the configuration file format."
  55648. msgstr ""
  55649. #. type: section
  55650. #: guix-git/doc/guix.texi:38169
  55651. #, no-wrap
  55652. msgid "Invoking @code{guix home}"
  55653. msgstr ""
  55654. #. type: Plain text
  55655. #: guix-git/doc/guix.texi:38174
  55656. msgid "Once you have written a home environment declaration (@pxref{Declaring the Home Environment,,,,}, it can be @dfn{instantiated} using the @command{guix home} command. The synopsis is:"
  55657. msgstr ""
  55658. #. type: example
  55659. #: guix-git/doc/guix.texi:38177
  55660. #, no-wrap
  55661. msgid "guix home @var{options}@dots{} @var{action} @var{file}\n"
  55662. msgstr ""
  55663. #. type: Plain text
  55664. #: guix-git/doc/guix.texi:38184
  55665. msgid "@var{file} must be the name of a file containing a @code{home-environment} declaration. @var{action} specifies how the home environment is instantiated, but there are few auxiliary actions which don't instantiate it. Currently the following values are supported:"
  55666. msgstr ""
  55667. #. type: table
  55668. #: guix-git/doc/guix.texi:38189
  55669. msgid "Display available home service type definitions that match the given regular expressions, sorted by relevance:"
  55670. msgstr ""
  55671. #. type: cindex
  55672. #: guix-git/doc/guix.texi:38191
  55673. #, no-wrap
  55674. msgid "shell-profile"
  55675. msgstr ""
  55676. #. type: example
  55677. #: guix-git/doc/guix.texi:38202
  55678. #, no-wrap
  55679. msgid ""
  55680. "$ guix home search shell\n"
  55681. "name: home-shell-profile\n"
  55682. "location: gnu/home/services/shells.scm:100:2\n"
  55683. "extends: home-files\n"
  55684. "description: Create `~/.profile', which is used for environment initialization of POSIX compliant login shells.\n"
  55685. "+ This service type can be extended with a list of file-like objects.\n"
  55686. "relevance: 6\n"
  55687. "\n"
  55688. msgstr ""
  55689. #. type: example
  55690. #: guix-git/doc/guix.texi:38208
  55691. #, no-wrap
  55692. msgid ""
  55693. "name: home-fish\n"
  55694. "location: gnu/home/services/shells.scm:640:2\n"
  55695. "extends: home-files home-profile\n"
  55696. "description: Install and configure Fish, the friendly interactive shell.\n"
  55697. "relevance: 3\n"
  55698. "\n"
  55699. msgstr ""
  55700. #. type: example
  55701. #: guix-git/doc/guix.texi:38214
  55702. #, no-wrap
  55703. msgid ""
  55704. "name: home-zsh\n"
  55705. "location: gnu/home/services/shells.scm:290:2\n"
  55706. "extends: home-files home-profile\n"
  55707. "description: Install and configure Zsh.\n"
  55708. "relevance: 1\n"
  55709. "\n"
  55710. msgstr ""
  55711. #. type: example
  55712. #: guix-git/doc/guix.texi:38220
  55713. #, no-wrap
  55714. msgid ""
  55715. "name: home-bash\n"
  55716. "location: gnu/home/services/shells.scm:508:2\n"
  55717. "extends: home-files home-profile\n"
  55718. "description: Install and configure GNU Bash.\n"
  55719. "relevance: 1\n"
  55720. "\n"
  55721. msgstr ""
  55722. #. type: table
  55723. #: guix-git/doc/guix.texi:38227
  55724. msgid "As for @command{guix search}, the result is written in @code{recutils} format, which makes it easy to filter the output (@pxref{Top, GNU recutils databases,, recutils, GNU recutils manual})."
  55725. msgstr ""
  55726. #. type: table
  55727. #: guix-git/doc/guix.texi:38236
  55728. msgid "Build the home environment described in @var{file}, and switch to it. Switching means that the activation script will be evaluated and (in basic scenario) symlinks to configuration files generated from @code{home-environment} declaration will be created in @file{~}. If the file with the same path already exists in home folder it will be moved to @file{~/@var{timestamp}-guix-home-legacy-configs-backup}, where @var{timestamp} is a current UNIX epoch time."
  55729. msgstr ""
  55730. #. type: quotation
  55731. #: guix-git/doc/guix.texi:38241
  55732. msgid "It is highly recommended to run @command{guix pull} once before you run @command{guix home reconfigure} for the first time (@pxref{Invoking guix pull})."
  55733. msgstr ""
  55734. #. type: table
  55735. #: guix-git/doc/guix.texi:38248
  55736. msgid "This effects all the configuration specified in @var{file}. The command starts Shepherd services specified in @var{file} that are not currently running; if a service is currently running, this command will arrange for it to be upgraded the next time it is stopped (e.g.@: by @code{herd stop @var{service}} or @code{herd restart @var{service}})."
  55737. msgstr ""
  55738. #. type: table
  55739. #: guix-git/doc/guix.texi:38254
  55740. msgid "This command creates a new generation whose number is one greater than the current generation (as reported by @command{guix home list-generations}). If that generation already exists, it will be overwritten. This behavior mirrors that of @command{guix package} (@pxref{Invoking guix package})."
  55741. msgstr ""
  55742. #. type: cindex
  55743. #: guix-git/doc/guix.texi:38255
  55744. #, no-wrap
  55745. msgid "provenance tracking, of the home environment"
  55746. msgstr ""
  55747. #. type: table
  55748. #: guix-git/doc/guix.texi:38260
  55749. msgid "Upon completion, the new home is deployed under @file{~/.guix-home}. This directory contains @dfn{provenance meta-data}: the list of channels in use (@pxref{Channels}) and @var{file} itself, when available. You can view the provenance information by running:"
  55750. msgstr ""
  55751. #. type: example
  55752. #: guix-git/doc/guix.texi:38263
  55753. #, no-wrap
  55754. msgid "guix home describe\n"
  55755. msgstr ""
  55756. #. type: table
  55757. #: guix-git/doc/guix.texi:38269
  55758. msgid "This information is useful should you later want to inspect how this particular generation was built. In fact, assuming @var{file} is self-contained, you can later rebuild generation @var{n} of your home environment with:"
  55759. msgstr ""
  55760. #. type: example
  55761. #: guix-git/doc/guix.texi:38275
  55762. #, no-wrap
  55763. msgid ""
  55764. "guix time-machine \\\n"
  55765. " -C /var/guix/profiles/per-user/@var{USER}/guix-home-@var{n}-link/channels.scm -- \\\n"
  55766. " home reconfigure \\\n"
  55767. " /var/guix/profiles/per-user/@var{USER}/guix-home-@var{n}-link/configuration.scm\n"
  55768. "\n"
  55769. msgstr ""
  55770. #. type: table
  55771. #: guix-git/doc/guix.texi:38282
  55772. msgid "You can think of it as some sort of built-in version control! Your home is not just a binary artifact: @emph{it carries its own source}."
  55773. msgstr ""
  55774. #. type: cindex
  55775. #: guix-git/doc/guix.texi:38288
  55776. #, no-wrap
  55777. msgid "home generations"
  55778. msgstr ""
  55779. #. type: table
  55780. #: guix-git/doc/guix.texi:38291
  55781. msgid "Switch to an existing home generation. This action atomically switches the home profile to the specified home generation."
  55782. msgstr ""
  55783. #. type: table
  55784. #: guix-git/doc/guix.texi:38295
  55785. msgid "The target generation can be specified explicitly by its generation number. For example, the following invocation would switch to home generation 7:"
  55786. msgstr ""
  55787. #. type: example
  55788. #: guix-git/doc/guix.texi:38298
  55789. #, no-wrap
  55790. msgid "guix home switch-generation 7\n"
  55791. msgstr ""
  55792. #. type: example
  55793. #: guix-git/doc/guix.texi:38309
  55794. #, no-wrap
  55795. msgid "guix home switch-generation -- -1\n"
  55796. msgstr ""
  55797. #. type: table
  55798. #: guix-git/doc/guix.texi:38318
  55799. msgid "Switch to the preceding home generation. This is the inverse of @command{reconfigure}, and it is exactly the same as invoking @command{switch-generation} with an argument of @code{-1}."
  55800. msgstr ""
  55801. #. type: cindex
  55802. #: guix-git/doc/guix.texi:38320
  55803. #, no-wrap
  55804. msgid "deleting home generations"
  55805. msgstr ""
  55806. #. type: table
  55807. #: guix-git/doc/guix.texi:38325
  55808. msgid "Delete home generations, making them candidates for garbage collection (@pxref{Invoking guix gc}, for information on how to run the ``garbage collector'')."
  55809. msgstr ""
  55810. #. type: table
  55811. #: guix-git/doc/guix.texi:38329
  55812. msgid "This works in the same way as @samp{guix package --delete-generations} (@pxref{Invoking guix package, @option{--delete-generations}}). With no arguments, all home generations but the current one are deleted:"
  55813. msgstr ""
  55814. #. type: example
  55815. #: guix-git/doc/guix.texi:38332
  55816. #, no-wrap
  55817. msgid "guix home delete-generations\n"
  55818. msgstr ""
  55819. #. type: table
  55820. #: guix-git/doc/guix.texi:38336
  55821. msgid "You can also select the generations you want to delete. The example below deletes all the home generations that are more than two months old:"
  55822. msgstr ""
  55823. #. type: example
  55824. #: guix-git/doc/guix.texi:38339
  55825. #, no-wrap
  55826. msgid "guix home delete-generations 2m\n"
  55827. msgstr ""
  55828. #. type: table
  55829. #: guix-git/doc/guix.texi:38345
  55830. msgid "Build the derivation of the home environment, which includes all the configuration files and programs needed. This action does not actually install anything."
  55831. msgstr ""
  55832. #. type: table
  55833. #: guix-git/doc/guix.texi:38349
  55834. msgid "Describe the current home generation: its file name, as well as provenance information when available."
  55835. msgstr ""
  55836. #. type: table
  55837. #: guix-git/doc/guix.texi:38355
  55838. msgid "List a summary of each generation of the home environment available on disk, in a human-readable way. This is similar to the @option{--list-generations} option of @command{guix package} (@pxref{Invoking guix package})."
  55839. msgstr ""
  55840. #. type: example
  55841. #: guix-git/doc/guix.texi:38363
  55842. #, no-wrap
  55843. msgid "$ guix home list-generations 10d\n"
  55844. msgstr ""
  55845. #. type: item
  55846. #: guix-git/doc/guix.texi:38365
  55847. #, no-wrap
  55848. msgid "import"
  55849. msgstr "tuo"
  55850. #. type: table
  55851. #: guix-git/doc/guix.texi:38372
  55852. msgid "Generate a @dfn{home environment} from the packages in the default profile and configuration files found in the user's home directory. The configuration files will be copied to the specified directory, and a @file{home-configuration.scm} will be populated with the home environment. Note that not every home service that exists is supported (@pxref{Home Services})."
  55853. msgstr ""
  55854. #. type: example
  55855. #: guix-git/doc/guix.texi:38376
  55856. #, no-wrap
  55857. msgid ""
  55858. "$ guix home import ~/guix-config\n"
  55859. "guix home: '/home/alice/guix-config' populated with all the Home configuration files\n"
  55860. msgstr ""
  55861. #. type: table
  55862. #: guix-git/doc/guix.texi:38391
  55863. msgid "Consider the home-environment @var{expr} evaluates to. This is an alternative to specifying a file which evaluates to a home environment."
  55864. msgstr ""
  55865. #. type: table
  55866. #: guix-git/doc/guix.texi:38394
  55867. msgid "Instruct @command{guix home reconfigure} to allow system downgrades."
  55868. msgstr ""
  55869. #. type: table
  55870. #: guix-git/doc/guix.texi:38401
  55871. msgid "Just like @command{guix system}, @command{guix home reconfigure}, by default, prevents you from downgrading your home to older or unrelated revisions compared to the channel revisions that were used to deploy it---those shown by @command{guix home describe}. Using @option{--allow-downgrades} allows you to bypass that check, at the risk of downgrading your home---be careful!"
  55872. msgstr ""
  55873. #. type: cindex
  55874. #: guix-git/doc/guix.texi:38407
  55875. #, no-wrap
  55876. msgid "documentation, searching for"
  55877. msgstr ""
  55878. #. type: cindex
  55879. #: guix-git/doc/guix.texi:38408
  55880. #, no-wrap
  55881. msgid "searching for documentation"
  55882. msgstr ""
  55883. #. type: cindex
  55884. #: guix-git/doc/guix.texi:38409
  55885. #, no-wrap
  55886. msgid "Info, documentation format"
  55887. msgstr ""
  55888. #. type: cindex
  55889. #: guix-git/doc/guix.texi:38410
  55890. #, no-wrap
  55891. msgid "man pages"
  55892. msgstr ""
  55893. #. type: cindex
  55894. #: guix-git/doc/guix.texi:38411
  55895. #, no-wrap
  55896. msgid "manual pages"
  55897. msgstr ""
  55898. #. type: Plain text
  55899. #: guix-git/doc/guix.texi:38418
  55900. 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}."
  55901. msgstr ""
  55902. #. type: Plain text
  55903. #: guix-git/doc/guix.texi:38422
  55904. 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:"
  55905. msgstr ""
  55906. #. type: example
  55907. #: guix-git/doc/guix.texi:38430
  55908. #, no-wrap
  55909. msgid ""
  55910. "$ info -k TLS\n"
  55911. "\"(emacs)Network Security\" -- STARTTLS\n"
  55912. "\"(emacs)Network Security\" -- TLS\n"
  55913. "\"(gnutls)Core TLS API\" -- gnutls_certificate_set_verify_flags\n"
  55914. "\"(gnutls)Core TLS API\" -- gnutls_certificate_set_verify_function\n"
  55915. "@dots{}\n"
  55916. msgstr ""
  55917. #. type: Plain text
  55918. #: guix-git/doc/guix.texi:38436
  55919. msgid "The command below searches for the same keyword in man pages@footnote{The database searched by @command{man -k} is only created in profiles that contain the @code{man-db} package.}:"
  55920. msgstr ""
  55921. #. type: example
  55922. #: guix-git/doc/guix.texi:38442
  55923. #, no-wrap
  55924. msgid ""
  55925. "$ man -k TLS\n"
  55926. "SSL (7) - OpenSSL SSL/TLS library\n"
  55927. "certtool (1) - GnuTLS certificate tool\n"
  55928. "@dots {}\n"
  55929. msgstr ""
  55930. #. type: Plain text
  55931. #: guix-git/doc/guix.texi:38448
  55932. 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."
  55933. msgstr ""
  55934. #. type: Plain text
  55935. #: guix-git/doc/guix.texi:38451
  55936. msgid "Once you have these results, you can view the relevant documentation by running, say:"
  55937. msgstr ""
  55938. #. type: example
  55939. #: guix-git/doc/guix.texi:38454
  55940. #, no-wrap
  55941. msgid "$ info \"(gnutls)Core TLS API\"\n"
  55942. msgstr ""
  55943. #. type: Plain text
  55944. #: guix-git/doc/guix.texi:38458
  55945. msgid "or:"
  55946. msgstr ""
  55947. #. type: example
  55948. #: guix-git/doc/guix.texi:38461
  55949. #, no-wrap
  55950. msgid "$ man certtool\n"
  55951. msgstr ""
  55952. #. type: Plain text
  55953. #: guix-git/doc/guix.texi:38469
  55954. 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."
  55955. msgstr ""
  55956. #. type: cindex
  55957. #: guix-git/doc/guix.texi:38473
  55958. #, no-wrap
  55959. msgid "debugging files"
  55960. msgstr ""
  55961. #. type: Plain text
  55962. #: guix-git/doc/guix.texi:38479
  55963. 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."
  55964. msgstr ""
  55965. #. type: Plain text
  55966. #: guix-git/doc/guix.texi:38483
  55967. 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."
  55968. msgstr ""
  55969. #. type: Plain text
  55970. #: guix-git/doc/guix.texi:38499
  55971. 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})."
  55972. msgstr ""
  55973. #. type: Plain text
  55974. #: guix-git/doc/guix.texi:38506
  55975. 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})."
  55976. msgstr ""
  55977. #. type: Plain text
  55978. #: guix-git/doc/guix.texi:38514
  55979. 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:"
  55980. msgstr ""
  55981. #. type: example
  55982. #: guix-git/doc/guix.texi:38517
  55983. #, no-wrap
  55984. msgid "guix install glibc:debug guile:debug\n"
  55985. msgstr ""
  55986. #. type: Plain text
  55987. #: guix-git/doc/guix.texi:38523
  55988. 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}):"
  55989. msgstr ""
  55990. #. type: example
  55991. #: guix-git/doc/guix.texi:38526
  55992. #, no-wrap
  55993. msgid "(gdb) set debug-file-directory ~/.guix-profile/lib/debug\n"
  55994. msgstr ""
  55995. #. type: Plain text
  55996. #: guix-git/doc/guix.texi:38530
  55997. msgid "From there on, GDB will pick up debugging information from the @file{.debug} files under @file{~/.guix-profile/lib/debug}."
  55998. msgstr ""
  55999. #. type: Plain text
  56000. #: guix-git/doc/guix.texi:38535
  56001. msgid "Below is an alternative GDB script which is useful when working with other profiles. It takes advantage of the optional Guile integration in GDB. This snippet is included by default on Guix System in the @file{~/.gdbinit} file."
  56002. msgstr ""
  56003. #. type: example
  56004. #: guix-git/doc/guix.texi:38543
  56005. #, no-wrap
  56006. msgid ""
  56007. "guile\n"
  56008. "(use-modules (gdb))\n"
  56009. "(execute (string-append \"set debug-file-directory \"\n"
  56010. " (or (getenv \"GDB_DEBUG_FILE_DIRECTORY\")\n"
  56011. " \"~/.guix-profile/lib/debug\")))\n"
  56012. "end\n"
  56013. msgstr ""
  56014. #. type: Plain text
  56015. #: guix-git/doc/guix.texi:38551
  56016. 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})."
  56017. msgstr ""
  56018. #. type: Plain text
  56019. #: guix-git/doc/guix.texi:38559
  56020. 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})."
  56021. msgstr ""
  56022. #. type: Plain text
  56023. #: guix-git/doc/guix.texi:38561
  56024. msgid "Read on for how to deal with packages lacking a @code{debug} output."
  56025. msgstr ""
  56026. #. type: Plain text
  56027. #: guix-git/doc/guix.texi:38573
  56028. 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."
  56029. msgstr ""
  56030. #. type: Plain text
  56031. #: guix-git/doc/guix.texi:38578
  56032. 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:"
  56033. msgstr ""
  56034. #. type: example
  56035. #: guix-git/doc/guix.texi:38589
  56036. #, no-wrap
  56037. msgid ""
  56038. "(gdb) bt\n"
  56039. "#0 0x00007ffff5f92190 in g_getenv ()\n"
  56040. " from /gnu/store/@dots{}-glib-2.62.6/lib/libglib-2.0.so.0\n"
  56041. "#1 0x00007ffff608a7d6 in gobject_init_ctor ()\n"
  56042. " from /gnu/store/@dots{}-glib-2.62.6/lib/libgobject-2.0.so.0\n"
  56043. "#2 0x00007ffff7fe275a in call_init (l=<optimized out>, argc=argc@@entry=1, argv=argv@@entry=0x7fffffffcfd8, \n"
  56044. " env=env@@entry=0x7fffffffcfe8) at dl-init.c:72\n"
  56045. "#3 0x00007ffff7fe2866 in call_init (env=0x7fffffffcfe8, argv=0x7fffffffcfd8, argc=1, l=<optimized out>)\n"
  56046. " at dl-init.c:118\n"
  56047. msgstr ""
  56048. #. type: Plain text
  56049. #: guix-git/doc/guix.texi:38593
  56050. msgid "To address that, you install Inkscape linked against a variant GLib that contains debug info:"
  56051. msgstr ""
  56052. #. type: Plain text
  56053. #: guix-git/doc/guix.texi:38599
  56054. msgid "This time, debugging will be a whole lot nicer:"
  56055. msgstr ""
  56056. #. type: example
  56057. #: guix-git/doc/guix.texi:38617
  56058. #, no-wrap
  56059. msgid ""
  56060. "$ gdb --args sh -c 'exec inkscape'\n"
  56061. "@dots{}\n"
  56062. "(gdb) b g_getenv\n"
  56063. "Function \"g_getenv\" not defined.\n"
  56064. "Make breakpoint pending on future shared library load? (y or [n]) y\n"
  56065. "Breakpoint 1 (g_getenv) pending.\n"
  56066. "(gdb) r\n"
  56067. "Starting program: /gnu/store/@dots{}-profile/bin/sh -c exec\\ inkscape\n"
  56068. "@dots{}\n"
  56069. "(gdb) bt\n"
  56070. "#0 g_getenv (variable=variable@@entry=0x7ffff60c7a2e \"GOBJECT_DEBUG\") at ../glib-2.62.6/glib/genviron.c:252\n"
  56071. "#1 0x00007ffff608a7d6 in gobject_init () at ../glib-2.62.6/gobject/gtype.c:4380\n"
  56072. "#2 gobject_init_ctor () at ../glib-2.62.6/gobject/gtype.c:4493\n"
  56073. "#3 0x00007ffff7fe275a in call_init (l=<optimized out>, argc=argc@@entry=3, argv=argv@@entry=0x7fffffffd088, \n"
  56074. " env=env@@entry=0x7fffffffd0a8) at dl-init.c:72\n"
  56075. "@dots{}\n"
  56076. msgstr ""
  56077. #. type: Plain text
  56078. #: guix-git/doc/guix.texi:38620
  56079. msgid "Much better!"
  56080. msgstr ""
  56081. #. type: Plain text
  56082. #: guix-git/doc/guix.texi:38624
  56083. 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."
  56084. msgstr ""
  56085. #. type: cindex
  56086. #: guix-git/doc/guix.texi:38628
  56087. #, no-wrap
  56088. msgid "security updates"
  56089. msgstr "tietoturvapäivitykset"
  56090. #. type: Plain text
  56091. #: guix-git/doc/guix.texi:38637
  56092. 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:"
  56093. msgstr ""
  56094. #. type: smallexample
  56095. #: guix-git/doc/guix.texi:38644
  56096. #, no-wrap
  56097. msgid ""
  56098. "$ guix lint -c cve\n"
  56099. "gnu/packages/base.scm:652:2: glibc@@2.21: probably vulnerable to CVE-2015-1781, CVE-2015-7547\n"
  56100. "gnu/packages/gcc.scm:334:2: gcc@@4.9.3: probably vulnerable to CVE-2015-5276\n"
  56101. "gnu/packages/image.scm:312:2: openjpeg@@2.1.0: probably vulnerable to CVE-2016-1923, CVE-2016-1924\n"
  56102. "@dots{}\n"
  56103. msgstr ""
  56104. #. type: Plain text
  56105. #: guix-git/doc/guix.texi:38647
  56106. msgid "@xref{Invoking guix lint}, for more information."
  56107. msgstr ""
  56108. #. type: Plain text
  56109. #: guix-git/doc/guix.texi:38656
  56110. 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."
  56111. msgstr ""
  56112. #. type: cindex
  56113. #: guix-git/doc/guix.texi:38657
  56114. #, no-wrap
  56115. msgid "grafts"
  56116. msgstr ""
  56117. #. type: Plain text
  56118. #: guix-git/doc/guix.texi:38665
  56119. 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."
  56120. msgstr ""
  56121. #. type: cindex
  56122. #: guix-git/doc/guix.texi:38666
  56123. #, no-wrap
  56124. msgid "replacements of packages, for grafts"
  56125. msgstr ""
  56126. #. type: Plain text
  56127. #: guix-git/doc/guix.texi:38672
  56128. 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:"
  56129. msgstr ""
  56130. #. type: lisp
  56131. #: guix-git/doc/guix.texi:38679
  56132. #, no-wrap
  56133. msgid ""
  56134. "(define bash\n"
  56135. " (package\n"
  56136. " (name \"bash\")\n"
  56137. " ;; @dots{}\n"
  56138. " (replacement bash-fixed)))\n"
  56139. msgstr ""
  56140. #. type: Plain text
  56141. #: guix-git/doc/guix.texi:38689
  56142. 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."
  56143. msgstr ""
  56144. #. type: Plain text
  56145. #: guix-git/doc/guix.texi:38697
  56146. 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."
  56147. msgstr ""
  56148. #. type: Plain text
  56149. #: guix-git/doc/guix.texi:38701
  56150. msgid "The @option{--no-grafts} command-line option allows you to forcefully avoid grafting (@pxref{Common Build Options, @option{--no-grafts}}). Thus, the command:"
  56151. msgstr ""
  56152. #. type: example
  56153. #: guix-git/doc/guix.texi:38704
  56154. #, no-wrap
  56155. msgid "guix build bash --no-grafts\n"
  56156. msgstr ""
  56157. #. type: Plain text
  56158. #: guix-git/doc/guix.texi:38708
  56159. msgid "returns the store file name of the original Bash, whereas:"
  56160. msgstr ""
  56161. #. type: example
  56162. #: guix-git/doc/guix.texi:38711
  56163. #, no-wrap
  56164. msgid "guix build bash\n"
  56165. msgstr ""
  56166. #. type: Plain text
  56167. #: guix-git/doc/guix.texi:38716
  56168. msgid "returns the store file name of the ``fixed'', replacement Bash. This allows you to distinguish between the two variants of Bash."
  56169. msgstr ""
  56170. #. type: Plain text
  56171. #: guix-git/doc/guix.texi:38719
  56172. msgid "To verify which Bash your whole profile refers to, you can run (@pxref{Invoking guix gc}):"
  56173. msgstr ""
  56174. #. type: example
  56175. #: guix-git/doc/guix.texi:38722
  56176. #, no-wrap
  56177. msgid "guix gc -R $(readlink -f ~/.guix-profile) | grep bash\n"
  56178. msgstr ""
  56179. #. type: Plain text
  56180. #: guix-git/doc/guix.texi:38727
  56181. msgid "@dots{} and compare the store file names that you get with those above. Likewise for a complete Guix system generation:"
  56182. msgstr ""
  56183. #. type: example
  56184. #: guix-git/doc/guix.texi:38730
  56185. #, no-wrap
  56186. msgid "guix gc -R $(guix system build my-config.scm) | grep bash\n"
  56187. msgstr ""
  56188. #. type: Plain text
  56189. #: guix-git/doc/guix.texi:38734
  56190. msgid "Lastly, to check which Bash running processes are using, you can use the @command{lsof} command:"
  56191. msgstr ""
  56192. #. type: example
  56193. #: guix-git/doc/guix.texi:38737
  56194. #, no-wrap
  56195. msgid "lsof | grep /gnu/store/.*bash\n"
  56196. msgstr ""
  56197. #. type: cindex
  56198. #: guix-git/doc/guix.texi:38745
  56199. #, no-wrap
  56200. msgid "bootstrapping"
  56201. msgstr ""
  56202. #. type: Plain text
  56203. #: guix-git/doc/guix.texi:38752
  56204. 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?"
  56205. msgstr ""
  56206. #. type: Plain text
  56207. #: guix-git/doc/guix.texi:38760
  56208. 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."
  56209. msgstr ""
  56210. #. type: cindex
  56211. #: guix-git/doc/guix.texi:38761 guix-git/doc/guix.texi:38973
  56212. #, no-wrap
  56213. msgid "bootstrap binaries"
  56214. msgstr ""
  56215. #. type: Plain text
  56216. #: guix-git/doc/guix.texi:38771
  56217. 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}."
  56218. msgstr ""
  56219. #. type: Plain text
  56220. #: guix-git/doc/guix.texi:38775
  56221. msgid "These bootstrap binaries are ``taken for granted'', though we can also re-create them if needed (@pxref{Preparing to Use the Bootstrap Binaries})."
  56222. msgstr ""
  56223. #. type: section
  56224. #: guix-git/doc/guix.texi:38782
  56225. #, no-wrap
  56226. msgid "The Reduced Binary Seed Bootstrap"
  56227. msgstr ""
  56228. #. type: Plain text
  56229. #: guix-git/doc/guix.texi:38789
  56230. 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.''"
  56231. msgstr ""
  56232. #. type: Plain text
  56233. #: guix-git/doc/guix.texi:38795
  56234. 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."
  56235. msgstr ""
  56236. #. type: Plain text
  56237. #: guix-git/doc/guix.texi:38800
  56238. 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.}."
  56239. msgstr ""
  56240. #. type: Plain text
  56241. #: guix-git/doc/guix.texi:38806
  56242. 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)."
  56243. msgstr ""
  56244. #. type: Plain text
  56245. #: guix-git/doc/guix.texi:38811
  56246. 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."
  56247. msgstr ""
  56248. #. type: Plain text
  56249. #: guix-git/doc/guix.texi:38819
  56250. 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."
  56251. msgstr ""
  56252. #. type: Plain text
  56253. #: guix-git/doc/guix.texi:38829
  56254. 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."
  56255. msgstr ""
  56256. #. type: Plain text
  56257. #: guix-git/doc/guix.texi:38833
  56258. 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."
  56259. msgstr ""
  56260. #. type: Plain text
  56261. #: guix-git/doc/guix.texi:38836
  56262. msgid "@image{images/gcc-core-mesboot0-graph,6in,,Dependency graph of gcc-core-mesboot0}"
  56263. msgstr ""
  56264. #. type: Plain text
  56265. #: guix-git/doc/guix.texi:38843
  56266. 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.}."
  56267. msgstr ""
  56268. #. type: Plain text
  56269. #: guix-git/doc/guix.texi:38846
  56270. 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}."
  56271. msgstr ""
  56272. #. type: Plain text
  56273. #: guix-git/doc/guix.texi:38851
  56274. 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."
  56275. msgstr ""
  56276. #. type: Plain text
  56277. #: guix-git/doc/guix.texi:38855
  56278. 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}."
  56279. msgstr ""
  56280. #. type: Plain text
  56281. #: guix-git/doc/guix.texi:38862
  56282. msgid "@image{images/bootstrap-graph,6in,,Dependency graph of the early bootstrap derivations}"
  56283. msgstr ""
  56284. #. type: Plain text
  56285. #: guix-git/doc/guix.texi:38867
  56286. 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:"
  56287. msgstr ""
  56288. #. type: example
  56289. #: guix-git/doc/guix.texi:38872
  56290. #, no-wrap
  56291. msgid ""
  56292. "guix graph -t derivation \\\n"
  56293. " -e '(@@@@ (gnu packages bootstrap) %bootstrap-gcc)' \\\n"
  56294. " | dot -Tps > gcc.ps\n"
  56295. msgstr ""
  56296. #. type: Plain text
  56297. #: guix-git/doc/guix.texi:38875
  56298. msgid "or, for the further Reduced Binary Seed bootstrap"
  56299. msgstr ""
  56300. #. type: example
  56301. #: guix-git/doc/guix.texi:38880
  56302. #, no-wrap
  56303. msgid ""
  56304. "guix graph -t derivation \\\n"
  56305. " -e '(@@@@ (gnu packages bootstrap) %bootstrap-mes)' \\\n"
  56306. " | dot -Tps > mes.ps\n"
  56307. msgstr ""
  56308. #. type: Plain text
  56309. #: guix-git/doc/guix.texi:38889
  56310. 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})."
  56311. msgstr ""
  56312. #. type: Plain text
  56313. #: guix-git/doc/guix.texi:38898
  56314. 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."
  56315. msgstr ""
  56316. #. type: Plain text
  56317. #: guix-git/doc/guix.texi:38910
  56318. 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})."
  56319. msgstr ""
  56320. #. type: Plain text
  56321. #: guix-git/doc/guix.texi:38915
  56322. 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."
  56323. msgstr ""
  56324. #. type: unnumberedsec
  56325. #: guix-git/doc/guix.texi:38916
  56326. #, no-wrap
  56327. msgid "Building the Build Tools"
  56328. msgstr ""
  56329. #. type: Plain text
  56330. #: guix-git/doc/guix.texi:38925
  56331. 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."
  56332. msgstr ""
  56333. #. type: Plain text
  56334. #: guix-git/doc/guix.texi:38932
  56335. 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:"
  56336. msgstr ""
  56337. #. type: example
  56338. #: guix-git/doc/guix.texi:38937
  56339. #, no-wrap
  56340. msgid ""
  56341. "guix graph -t bag \\\n"
  56342. " -e '(@@@@ (gnu packages commencement)\n"
  56343. " glibc-final-with-bootstrap-bash)' | xdot -\n"
  56344. msgstr ""
  56345. #. type: Plain text
  56346. #: guix-git/doc/guix.texi:38944
  56347. 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."
  56348. msgstr ""
  56349. #. type: Plain text
  56350. #: guix-git/doc/guix.texi:38946
  56351. msgid "@image{images/bootstrap-packages,6in,,Dependency graph of the early packages}"
  56352. msgstr ""
  56353. #. type: Plain text
  56354. #: guix-git/doc/guix.texi:38952
  56355. 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."
  56356. msgstr ""
  56357. #. type: Plain text
  56358. #: guix-git/doc/guix.texi:38957
  56359. 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."
  56360. msgstr ""
  56361. #. type: Plain text
  56362. #: guix-git/doc/guix.texi:38963
  56363. 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."
  56364. msgstr ""
  56365. #. type: Plain text
  56366. #: guix-git/doc/guix.texi:38969
  56367. 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}})."
  56368. msgstr ""
  56369. #. type: unnumberedsec
  56370. #: guix-git/doc/guix.texi:38971
  56371. #, no-wrap
  56372. msgid "Building the Bootstrap Binaries"
  56373. msgstr ""
  56374. #. type: Plain text
  56375. #: guix-git/doc/guix.texi:38978
  56376. 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."
  56377. msgstr ""
  56378. #. type: Plain text
  56379. #: guix-git/doc/guix.texi:38984
  56380. 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):"
  56381. msgstr ""
  56382. #. type: example
  56383. #: guix-git/doc/guix.texi:38987
  56384. #, no-wrap
  56385. msgid "guix build bootstrap-tarballs\n"
  56386. msgstr ""
  56387. #. type: Plain text
  56388. #: guix-git/doc/guix.texi:38992
  56389. 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."
  56390. msgstr ""
  56391. #. type: Plain text
  56392. #: guix-git/doc/guix.texi:38998
  56393. 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."
  56394. msgstr ""
  56395. #. type: unnumberedsec
  56396. #: guix-git/doc/guix.texi:38999
  56397. #, no-wrap
  56398. msgid "Reducing the Set of Bootstrap Binaries"
  56399. msgstr ""
  56400. #. type: Plain text
  56401. #: guix-git/doc/guix.texi:39007
  56402. 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}."
  56403. msgstr ""
  56404. #. type: Plain text
  56405. #: guix-git/doc/guix.texi:39013
  56406. 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."
  56407. msgstr ""
  56408. #. type: Plain text
  56409. #: guix-git/doc/guix.texi:39019
  56410. 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."
  56411. msgstr ""
  56412. #. type: Plain text
  56413. #: guix-git/doc/guix.texi:39028
  56414. 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."
  56415. msgstr ""
  56416. #. type: Plain text
  56417. #: guix-git/doc/guix.texi:39031
  56418. 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!"
  56419. msgstr ""
  56420. #. type: chapter
  56421. #: guix-git/doc/guix.texi:39033
  56422. #, no-wrap
  56423. msgid "Porting to a New Platform"
  56424. msgstr ""
  56425. #. type: Plain text
  56426. #: guix-git/doc/guix.texi:39042
  56427. 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."
  56428. msgstr ""
  56429. #. type: Plain text
  56430. #: guix-git/doc/guix.texi:39047
  56431. 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:"
  56432. msgstr ""
  56433. #. type: example
  56434. #: guix-git/doc/guix.texi:39050
  56435. #, no-wrap
  56436. msgid "guix build --target=armv5tel-linux-gnueabi bootstrap-tarballs\n"
  56437. msgstr ""
  56438. #. type: Plain text
  56439. #: guix-git/doc/guix.texi:39057
  56440. 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."
  56441. msgstr ""
  56442. #. type: Plain text
  56443. #: guix-git/doc/guix.texi:39066
  56444. 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."
  56445. msgstr ""
  56446. #. type: Plain text
  56447. #: guix-git/doc/guix.texi:39075
  56448. 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."
  56449. msgstr ""
  56450. #. type: include
  56451. #: guix-git/doc/guix.texi:39077
  56452. #, no-wrap
  56453. msgid "contributing.texi"
  56454. msgstr "contributing.fi.texi"
  56455. #. type: Plain text
  56456. #: guix-git/doc/guix.texi:39090
  56457. 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."
  56458. msgstr ""
  56459. #. type: Plain text
  56460. #: guix-git/doc/guix.texi:39093
  56461. msgid "The Nix-based software distributions, Nixpkgs and NixOS, have also been an inspiration for Guix."
  56462. msgstr ""
  56463. #. type: Plain text
  56464. #: guix-git/doc/guix.texi:39099
  56465. 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!"
  56466. msgstr ""
  56467. #. type: cindex
  56468. #: guix-git/doc/guix.texi:39104
  56469. #, no-wrap
  56470. msgid "license, GNU Free Documentation License"
  56471. msgstr ""
  56472. #. type: include
  56473. #: guix-git/doc/guix.texi:39105
  56474. #, no-wrap
  56475. msgid "fdl-1.3.texi"
  56476. msgstr ""