mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-01 01:15:22 +02:00
nix*: update Korean pages (#16431)
This commit is contained in:
parent
423408b589
commit
8da6eb869f
18 changed files with 91 additions and 58 deletions
13
pages.ko/common/nix-build.2.md
Normal file
13
pages.ko/common/nix-build.2.md
Normal file
|
@ -0,0 +1,13 @@
|
|||
# nix-build
|
||||
|
||||
> Nix 표현식을 빌드.
|
||||
> 같이 보기: `nix build.3`.
|
||||
> 더 많은 정보: <https://nixos.org/manual/nix/stable/command-ref/nix-build.html>.
|
||||
|
||||
- Nix 표현식 빌드:
|
||||
|
||||
`nix-build '<nixpkgs>' {{[-A|--attr]}} {{firefox}}`
|
||||
|
||||
- 샌드박스된 Nix 표현식 빌드 (NixOS가 아닌 경우):
|
||||
|
||||
`nix-build '<nixpkgs>' {{[-A|--attr]}} {{firefox}} --option sandbox true`
|
|
@ -1,7 +1,7 @@
|
|||
# nix build
|
||||
|
||||
> Nix 표현식을 빌드합니다 (가능할 경우 캐시에서 다운로드).
|
||||
> 같이 보기: 전통적인 Nix 표현식 빌드에 대한 `nix-build`, flakes에 대한 정보는 `nix3 flake`.
|
||||
> 같이 보기: 전통적인 Nix 표현식 빌드에 대한 `nix-build`, flakes에 대한 정보는 `nix flake`.
|
||||
> 더 많은 정보: <https://nixos.org/manual/nix/stable/command-ref/new-cli/nix3-build.html>.
|
||||
|
||||
- nixpkgs에서 패키지를 빌드하고 결과를 `./result`에 심볼릭 링크:
|
|
@ -1,13 +1,11 @@
|
|||
# nix-build
|
||||
|
||||
> Nix 표현식을 빌드.
|
||||
> 같이 보기: `nix3 build`.
|
||||
> 더 많은 정보: <https://nixos.org/manual/nix/stable/command-ref/nix-build.html>.
|
||||
> `nix-build`는 같은 이름의 여러 명령을 참조할 수 있습니다.
|
||||
|
||||
- Nix 표현식 빌드:
|
||||
- 기존 빌더에 대한 문서를 참조하세요:
|
||||
|
||||
`nix-build '<nixpkgs>' --attr {{firefox}}`
|
||||
`tldr nix-build.2`
|
||||
|
||||
- 샌드박스된 Nix 표현식 빌드 (NixOS가 아닌 경우):
|
||||
- nix3 빌더에 대한 문서 보기:
|
||||
|
||||
`nix-build '<nixpkgs>' --attr {{firefox}} --option sandbox true`
|
||||
`tldr nix build.3`
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# nix registry
|
||||
|
||||
> Nix 플레이크 레지스트리를 관리.
|
||||
> 같이 보기: 플레이크에 대한 정보는 `nix3 flake`.
|
||||
> 같이 보기: 플레이크에 대한 정보는 `nix flake`.
|
||||
> 더 많은 정보: <https://nixos.org/manual/nix/stable/command-ref/new-cli/nix3-registry.html>.
|
||||
|
||||
- `nixpkgs` 리비전을 업스트림 저장소의 현재 버전으로 고정:
|
|
@ -1,7 +1,7 @@
|
|||
# nix run
|
||||
|
||||
> Nix 플레이크에서 애플리케이션 실행.
|
||||
> 같이 보기: 플레이크에 대한 정보는 `nix3 flake`.
|
||||
> 같이 보기: 플레이크에 대한 정보는 `nix flake`.
|
||||
> 더 많은 정보: <https://nixos.org/manual/nix/stable/command-ref/new-cli/nix3-run.html>.
|
||||
|
||||
- 현재 디렉토리의 플레이크에서 기본 애플리케이션 실행:
|
|
@ -1,7 +1,7 @@
|
|||
# nix search
|
||||
|
||||
> Nix 플레이크에서 패키지를 검색.
|
||||
> 같이 보기: 플레이크에 대한 정보는 `nix3 flake`.
|
||||
> 같이 보기: 플레이크에 대한 정보는 `nix flake`.
|
||||
> 더 많은 정보: <https://nixos.org/manual/nix/stable/command-ref/new-cli/nix3-search.html>.
|
||||
|
||||
- `nixpkgs`에서 이름이나 설명을 기반으로 패키지 검색:
|
29
pages.ko/common/nix-shell.2.md
Normal file
29
pages.ko/common/nix-shell.2.md
Normal file
|
@ -0,0 +1,29 @@
|
|||
# nix-shell
|
||||
|
||||
> Nix 표현을 기반으로 대화형 셸 시작.
|
||||
> 같이 보기: `nix shell.3`.
|
||||
> 더 많은 정보: <https://nixos.org/manual/nix/stable/command-ref/nix-shell.html>.
|
||||
|
||||
- 현재 디렉터리의 `shell.nix` 또는 `default.nix`의 nix 표현으로 시작:
|
||||
|
||||
`nix-shell`
|
||||
|
||||
- 비대화형 셸에서 셸 명령 실행 후 종료:
|
||||
|
||||
`nix-shell --run "{{명령어}} {{인수1 인수2 ...}}"`
|
||||
|
||||
- 현재 디렉터리의 `default.nix`의 표현으로 시작:
|
||||
|
||||
`nix-shell {{default.nix}}`
|
||||
|
||||
- nixpkgs에서 로드된 패키지로 시작:
|
||||
|
||||
`nix-shell {{[-p|--packages]}} {{패키지1 패키지2 ...}}`
|
||||
|
||||
- 특정 nixpkgs 리비전에서 로드된 패키지로 시작:
|
||||
|
||||
`nix-shell {{[-p|--packages]}} {{패키지1 패키지2 ...}} {{[-I|--include]}} nixpkgs={{https://github.com/NixOS/nixpkgs/archive/nixpkgs_revision.tar.gz}}`
|
||||
|
||||
- 특정 인터프리터에서 파일의 나머지를 평가하여 `#!-scripts`에서 사용 (자세한 내용은 <https://nixos.org/manual/nix/stable/#use-as-a-interpreter> 참고):
|
||||
|
||||
`nix-shell -i {{인터프리터}} {{[-p|--packages]}} {{패키지1 패키지2 ...}}`
|
|
@ -1,7 +1,7 @@
|
|||
# nix shell
|
||||
|
||||
> 지정된 패키지가 사용 가능한 셸 시작.
|
||||
> 같이 보기: 개발 환경 설정을 위한 `nix-shell`, 플레이크에 대한 정보를 위한 `nix3 flake`.
|
||||
> 같이 보기: 개발 환경 설정을 위한 `nix-shell`, 플레이크에 대한 정보를 위한 `nix flake`.
|
||||
> 더 많은 정보: <https://nixos.org/manual/nix/stable/command-ref/new-cli/nix3-shell.html>.
|
||||
|
||||
- `nixpkgs`의 일부 패키지와 함께 대화형 셸 시작:
|
|
@ -1,29 +1,11 @@
|
|||
# nix-shell
|
||||
|
||||
> Nix 표현을 기반으로 대화형 셸 시작.
|
||||
> 같이 보기: `nix3 shell`.
|
||||
> 더 많은 정보: <https://nixos.org/manual/nix/stable/command-ref/nix-shell.html>.
|
||||
> `nix-shell`은 같은 이름의 여러 명령을 참조할 수 있습니다.
|
||||
|
||||
- 현재 디렉터리의 `shell.nix` 또는 `default.nix`의 nix 표현으로 시작:
|
||||
- 기존 셸에 대한 문서를 참조하세요:
|
||||
|
||||
`nix-shell`
|
||||
`tldr nix-shell.2`
|
||||
|
||||
- 비대화형 셸에서 셸 명령 실행 후 종료:
|
||||
- nix3 셸에 대한 문서 보기:
|
||||
|
||||
`nix-shell --run "{{명령어}} {{인수1 인수2 ...}}"`
|
||||
|
||||
- 현재 디렉터리의 `default.nix`의 표현으로 시작:
|
||||
|
||||
`nix-shell {{default.nix}}`
|
||||
|
||||
- nixpkgs에서 로드된 패키지로 시작:
|
||||
|
||||
`nix-shell --packages {{패키지1 패키지2 ...}}`
|
||||
|
||||
- 특정 nixpkgs 리비전에서 로드된 패키지로 시작:
|
||||
|
||||
`nix-shell --packages {{패키지1 패키지2 ...}} -I nixpkgs={{https://github.com/NixOS/nixpkgs/archive/nixpkgs_revision.tar.gz}}`
|
||||
|
||||
- 특정 인터프리터에서 파일의 나머지를 평가하여 `#!-scripts`에서 사용 (자세한 내용은 <https://nixos.org/manual/nix/stable/#use-as-a-interpreter> 참고):
|
||||
|
||||
`nix-shell -i {{인터프리터}} --packages {{패키지1 패키지2 ...}}`
|
||||
`tldr nix shell.3`
|
||||
|
|
29
pages.ko/common/nix-store.2.md
Normal file
29
pages.ko/common/nix-store.2.md
Normal file
|
@ -0,0 +1,29 @@
|
|||
# nix-store
|
||||
|
||||
> Nix 저장소를 조작하거나 쿼리.
|
||||
> 같이 보기: `nix store`.
|
||||
> 더 많은 정보: <https://nixos.org/manual/nix/stable/command-ref/nix-store.html>.
|
||||
|
||||
- 사용하지 않는 경로를 제거하는 등의 쓰레기 수집:
|
||||
|
||||
`nix-store --gc`
|
||||
|
||||
- 동일한 파일을 하드 링크로 연결하여 공간 사용량 줄이기:
|
||||
|
||||
`nix-store --optimise`
|
||||
|
||||
- 특정 저장소 경로 삭제 (사용 중이지 않아야 함):
|
||||
|
||||
`nix-store --delete {{/nix/store/...}}`
|
||||
|
||||
- 저장소 경로(패키지)의 모든 의존성을 트리 형식으로 표시:
|
||||
|
||||
`nix-store {{[-q|--query]}} --tree {{/nix/store/...}}`
|
||||
|
||||
- 특정 저장소 경로와 모든 의존성의 총 크기 계산:
|
||||
|
||||
`du {{[-cLsh|--total --dereference --summarize --human-readable]}} $(nix-store {{[-q|--query]}} --references {{/nix/store/...}})`
|
||||
|
||||
- 특정 저장소 경로에 대한 모든 종속 항목 표시:
|
||||
|
||||
`nix-store {{[-q|--query]}} --referrers {{/nix/store/...}}`
|
|
@ -1,29 +1,11 @@
|
|||
# nix-store
|
||||
|
||||
> Nix 저장소를 조작하거나 쿼리.
|
||||
> 같이 보기: `nix3 store`.
|
||||
> 더 많은 정보: <https://nixos.org/manual/nix/stable/command-ref/nix-store.html>.
|
||||
> `nix-store`는 같은 이름의 여러 명령을 참조할 수 있습니다.
|
||||
|
||||
- 사용하지 않는 경로를 제거하는 등의 쓰레기 수집:
|
||||
- 기존 스토어에 대한 설명서를 참조하세요:
|
||||
|
||||
`nix-store --gc`
|
||||
`tldr nix-store.2`
|
||||
|
||||
- 동일한 파일을 하드 링크로 연결하여 공간 사용량 줄이기:
|
||||
- nix3 스토어에 대한 문서 보기:
|
||||
|
||||
`nix-store --optimise`
|
||||
|
||||
- 특정 저장소 경로 삭제 (사용 중이지 않아야 함):
|
||||
|
||||
`nix-store --delete {{/nix/store/...}}`
|
||||
|
||||
- 저장소 경로(패키지)의 모든 의존성을 트리 형식으로 표시:
|
||||
|
||||
`nix-store --query --tree {{/nix/store/...}}`
|
||||
|
||||
- 특정 저장소 경로와 모든 의존성의 총 크기 계산:
|
||||
|
||||
`du -cLsh $(nix-store --query --references {{/nix/store/...}})`
|
||||
|
||||
- 특정 저장소 경로에 대한 모든 종속 항목 표시:
|
||||
|
||||
`nix-store --query --referrers {{/nix/store/...}}`
|
||||
`tldr nix store.3`
|
||||
|
|
Loading…
Add table
Reference in a new issue