From Documentation
Jump to: navigation, search
(Version Selection)
(Version Selection)
Line 15: Line 15:
 
<pre>
 
<pre>
 
[roberpj@orc-login2:~] nix-
 
[roberpj@orc-login2:~] nix-
nix-build.in             nix-http-export.cgi.in  nix-push.in
+
nix-build            nix-env              nix-log2xml          nix-store
nix-channel.in           nix-install-package.in   nix-reduce-build.in
+
nix-channel          nix-generate-patches  nix-prefetch-url      nix-worker
nix-copy-closure.in     nix-prefetch-url.in     
+
nix-collect-garbage   nix-hash              nix-pull             
nix-generate-patches.in  nix-pull.in
+
nix-copy-closure      nix-install-package  nix-push             
 +
nix-daemon            nix-instantiate      nix-shell
 
</pre>
 
</pre>
  

Revision as of 17:49, 13 November 2015

NIX
Description: User Level Purely Functional Package Manager
SHARCNET Package information: see NIX software page in web portal
Full list of SHARCNET supported software


Introduction

Version Selection

Sets the path to nix scripts (orca only):

module load nix

Tab complete now gives:

[roberpj@orc-login2:~] nix-
nix-build             nix-env               nix-log2xml           nix-store
nix-channel           nix-generate-patches  nix-prefetch-url      nix-worker
nix-collect-garbage   nix-hash              nix-pull              
nix-copy-closure      nix-install-package   nix-push              
nix-daemon            nix-instantiate       nix-shell

Job Submission

Example Job

General Notes

References

o Nix Package Manager
http://nixos.org/nix/

o Official Nix/Nixpkgs/NixOS
https://github.com/NixOS

o Nix on SHARCNET (slides by Tyson Whitehead)
https://www.sharcnet.ca/help/images/5/5f/Tyson_nix_2015.pdf

o Exploring a new approach to package management (youtube video by Tyson Whitehead)
https://www.youtube.com/watch?v=pQE9WTLAPHQ