[CBRD-25831] Add Nix flake for reproducible development environments #5811
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
http://jira.cubrid.org/browse/CBRD-25831
Purpose
Nix flake를 통한 재현 가능한 개발 환경 지원 추가
https://www.youtube.com/watch?v=FJVFXsNzYZQ
개발자들이 서로 다른 시스템에서도 일관된, 재현 가능한 개발 환경을 사용할 수 있도록 Nix Flakes 지원을 추가합니다. 이를 통해 "내 환경에서는 잘 되는데" 문제를 해결하고 새로운 개발자들의 환경 설정 과정을 단순화합니다.
장점
사용 방법
1. Nix 패키지 매니저 설치
대략 5분 소요
2. Nix Flakes 활성화
~/.config/nix/nix.conf
또는/etc/nix/nix.conf
에 다음을 추가:3. 개발 환경 진입
CUBRID 소스 디렉토리에서:
첫 시도 시 대략 1분 소요될 수 있음.
두번째 시도부터 3초 안에 진입
4. CUBRID 빌드
Implementation
flake.nix
추가테스트
Remarks