Compare commits
	
		
			No commits in common. "5a276cf483da8e4c150fef5f9523178d15ec7667" and "b3f64edc8c5175ca5ed8cafa01a2f67f02f70162" have entirely different histories.
		
	
	
		
			5a276cf483
			...
			b3f64edc8c
		
	
		
					 3 changed files with 6 additions and 109 deletions
				
			
		|  | @ -1,15 +1,5 @@ | ||||||
| { | { | ||||||
|   description = '' |   description = "Sagemath flake"; | ||||||
|     Sagemath flake |  | ||||||
| 
 |  | ||||||
|     You'll want to run the flake with the following command: |  | ||||||
| 
 |  | ||||||
|     $ sage --nodotsage -n=jupyterlab --notebook-dir /path/to/notebooks |  | ||||||
| 
 |  | ||||||
|     For example: |  | ||||||
| 
 |  | ||||||
|     $ sage --nodotsage -n=jupyterlab --notebook-dir . |  | ||||||
|   ''; |  | ||||||
| 
 | 
 | ||||||
|   inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; |   inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; | ||||||
|   inputs.flake-utils.url = "github:numtide/flake-utils"; |   inputs.flake-utils.url = "github:numtide/flake-utils"; | ||||||
|  | @ -24,8 +14,12 @@ | ||||||
|       in { |       in { | ||||||
|         devShells.default = pkgs.mkShell { |         devShells.default = pkgs.mkShell { | ||||||
|           buildInputs = with pkgs; [ |           buildInputs = with pkgs; [ | ||||||
|             sageWithDoc |             sage | ||||||
|           ]; |           ]; | ||||||
|  | 
 | ||||||
|  |           shellHook = '' | ||||||
|  |             sage --nodotsage -n=jupyterlab --notebook-dir . | ||||||
|  |           ''; | ||||||
|         }; |         }; | ||||||
|       } |       } | ||||||
|     ); |     ); | ||||||
|  |  | ||||||
							
								
								
									
										61
									
								
								webdev/flake.lock
									
										
									
										generated
									
									
									
								
							
							
						
						
									
										61
									
								
								webdev/flake.lock
									
										
									
										generated
									
									
									
								
							|  | @ -1,61 +0,0 @@ | ||||||
| { |  | ||||||
|   "nodes": { |  | ||||||
|     "flake-utils": { |  | ||||||
|       "inputs": { |  | ||||||
|         "systems": "systems" |  | ||||||
|       }, |  | ||||||
|       "locked": { |  | ||||||
|         "lastModified": 1731533236, |  | ||||||
|         "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=", |  | ||||||
|         "owner": "numtide", |  | ||||||
|         "repo": "flake-utils", |  | ||||||
|         "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b", |  | ||||||
|         "type": "github" |  | ||||||
|       }, |  | ||||||
|       "original": { |  | ||||||
|         "owner": "numtide", |  | ||||||
|         "repo": "flake-utils", |  | ||||||
|         "type": "github" |  | ||||||
|       } |  | ||||||
|     }, |  | ||||||
|     "nixpkgs": { |  | ||||||
|       "locked": { |  | ||||||
|         "lastModified": 1735268880, |  | ||||||
|         "narHash": "sha256-7QEFnKkzD13SPxs+UFR5bUFN2fRw+GlL0am72ZjNre4=", |  | ||||||
|         "owner": "NixOS", |  | ||||||
|         "repo": "nixpkgs", |  | ||||||
|         "rev": "7cc0bff31a3a705d3ac4fdceb030a17239412210", |  | ||||||
|         "type": "github" |  | ||||||
|       }, |  | ||||||
|       "original": { |  | ||||||
|         "owner": "NixOS", |  | ||||||
|         "ref": "nixpkgs-unstable", |  | ||||||
|         "repo": "nixpkgs", |  | ||||||
|         "type": "github" |  | ||||||
|       } |  | ||||||
|     }, |  | ||||||
|     "root": { |  | ||||||
|       "inputs": { |  | ||||||
|         "flake-utils": "flake-utils", |  | ||||||
|         "nixpkgs": "nixpkgs" |  | ||||||
|       } |  | ||||||
|     }, |  | ||||||
|     "systems": { |  | ||||||
|       "locked": { |  | ||||||
|         "lastModified": 1681028828, |  | ||||||
|         "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", |  | ||||||
|         "owner": "nix-systems", |  | ||||||
|         "repo": "default", |  | ||||||
|         "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", |  | ||||||
|         "type": "github" |  | ||||||
|       }, |  | ||||||
|       "original": { |  | ||||||
|         "owner": "nix-systems", |  | ||||||
|         "repo": "default", |  | ||||||
|         "type": "github" |  | ||||||
|       } |  | ||||||
|     } |  | ||||||
|   }, |  | ||||||
|   "root": "root", |  | ||||||
|   "version": 7 |  | ||||||
| } |  | ||||||
|  | @ -1,36 +0,0 @@ | ||||||
| { |  | ||||||
|   description = '' |  | ||||||
|     Web development flake |  | ||||||
|   ''; |  | ||||||
| 
 |  | ||||||
|   inputs = { |  | ||||||
|     nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; |  | ||||||
|     flake-utils.url = "github:numtide/flake-utils"; |  | ||||||
|   }; |  | ||||||
| 
 |  | ||||||
|   outputs = { self, nixpkgs, flake-utils }: |  | ||||||
|   flake-utils.lib.eachDefaultSystem |  | ||||||
|   ( system: |  | ||||||
|   let |  | ||||||
|     pkgs = import nixpkgs { |  | ||||||
|       inherit system; |  | ||||||
|       config.allowUnfree = true; |  | ||||||
|     }; |  | ||||||
|   in { |  | ||||||
|     devShells.default = pkgs.mkShell { |  | ||||||
|       packages = with pkgs; [ |  | ||||||
|         nodejs |  | ||||||
|         playwright-driver.browsers |  | ||||||
| 
 |  | ||||||
|         # IDE's |  | ||||||
|         (jetbrains.plugins.addPlugins jetbrains.webstorm [ "github-copilot" ]) |  | ||||||
|       ]; |  | ||||||
| 
 |  | ||||||
|       shellHook = '' |  | ||||||
|         export PLAYWRIGHT_BROWSERS_PATH=${pkgs.playwright-driver.browsers} |  | ||||||
|         export PLAYWRIGHT_SKIP_VALIDATE_HOST_REQUIREMENTS=true |  | ||||||
|       ''; |  | ||||||
|     }; |  | ||||||
|   }); |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue