Skip to content

Latest commit

 

History

History

cpp

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

❄️ nix-template-cpp πŸš€

NixOS License

C++ development template for Nix

About

This is a C++ development template using cmake for nix flakes.

Initialization

See the parent README for further instructions, but you can initialize this template with the following command in your current directory.

nix flake init -t github:MordragT/nix-templates#cpp

Usage

  • nix develop: opens up a bash shell with the specified packages
  • nix build : builds the package to the symbolic result directory
  • nix run: runs the package

Reference

  1. wiki/Flakes