Skip to content

brest-computer-club/nix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nix

basic usage

create a file to set (for example) everything you need for your elm development, say : shell.nix

{pkgs ? import <nixpkgs> {}}:

let 
  src = builtins.fetchGit {
    url = "https://github.com/brestcc/nix.git";
    ref = "master"; # or pin a specific commit, see https://nixos.org/manual/nix/stable/#builtin-fetchGit
  };
  altPkgs = import src pkgs; 
in 
pkgs.mkShell {
  buildInputs = with pkgs; 
    altPkgs.bundles.elm pkgs # it's a simple list, so it can be manipulated as desired
    ++ [
      neovim # we add an editor
    ];
}

start a shell with :

nix-shell

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages