first commit
This commit is contained in:
		@@ -2,14 +2,13 @@
 | 
				
			|||||||
  tinypkgs ? import (fetchTarball https://gitlab.inria.fr/nix-tutorial/packages-repository/-/archive/master/packages-repository-master.tar.gz) {}
 | 
					  tinypkgs ? import (fetchTarball https://gitlab.inria.fr/nix-tutorial/packages-repository/-/archive/master/packages-repository-master.tar.gz) {}
 | 
				
			||||||
}:
 | 
					}:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
with tinypkgs; # Put tinypkgs's attributes in the current scope.
 | 
					with tinypkgs; 
 | 
				
			||||||
with pkgs; # Same for pkgs.
 | 
					with pkgs; 
 | 
				
			||||||
 | 
					
 | 
				
			||||||
mkShell {
 | 
					mkShell {
 | 
				
			||||||
  buildInputs = [
 | 
					  buildInputs = [
 | 
				
			||||||
    chord
 | 
					    chord
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    # Defines a python + set of packages.
 | 
					 | 
				
			||||||
    (python3.withPackages (ps: with ps; with python3Packages; [
 | 
					    (python3.withPackages (ps: with ps; with python3Packages; [
 | 
				
			||||||
      jupyter
 | 
					      jupyter
 | 
				
			||||||
      ipython
 | 
					      ipython
 | 
				
			||||||
@@ -20,6 +19,5 @@ mkShell {
 | 
				
			|||||||
    ]))
 | 
					    ]))
 | 
				
			||||||
  ];
 | 
					  ];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  # Automatically run jupyter when entering the shell.
 | 
					 | 
				
			||||||
  shellHook = "jupyter notebook";
 | 
					  shellHook = "jupyter notebook";
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user