Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nix flake with C++

試著用 nix 當 dependency manager 和開發環境 builder

開發環境

安裝 Nix

https://nixos.org/download/

# ~/.config/nix/nix.conf
experimental-features = nix-command flakes

安裝 direnv

https://direnv.net/#basic-installation

sudo apt install direnv
# .bashrc
eval "$(direnv hook bash)"
# cd $project_dir
direnv allow .

開發

# 編譯
nix build

# 開 shell
nix develop
# 或 direnv 會自動處理 shell 環境

References

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages