Skip to content

Example project showing how to use Nim unstable in a Nix shell

Notifications You must be signed in to change notification settings

adamlwgriffiths/nix-nim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example Nix project showing how to:

  • Use a nix shell.
  • Use nim unstable without the "undefined symbols" errors by using "nim-unwrapped".
  • Include a custom Nix package (raylib)

Uses direnv to automatically activate the nix-shell.

Test that Nim works with the basic example

$ nim c test.nim
$ ./test

Install Raylib using Nim

$ nimble refresh
$ nimble install nimraylib_now
$ nim c crown.nim
$ ./crown

About

Example project showing how to use Nim unstable in a Nix shell

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published