User Tools

Site Tools


nix:swift

Swift

You can use the Swift language by loading the correct settings via an environment module.

$ module load swift/5.0.1

We can see swift is now in the PATH

$ echo $PATH
/usr/local/swift/5.0.1/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games

After I unload it, it is not.

$ module unload swift/5.0.1
$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/usr/local/pintos/bin
/var/lib/dokuwiki/data/pages/nix/swift.txt · Last modified: 2019/06/26 09:50 by kauffman

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki