Use nix-fmt and update all flake locks
This commit is contained in:
		
							parent
							
								
									bcc64fb7bd
								
							
						
					
					
						commit
						44e27c3ca6
					
				
					 35 changed files with 293 additions and 279 deletions
				
			
		
							
								
								
									
										10
									
								
								jupyter/flake.lock
									
										
									
										generated
									
									
									
								
							
							
						
						
									
										10
									
								
								jupyter/flake.lock
									
										
									
										generated
									
									
									
								
							| 
						 | 
				
			
			@ -2,12 +2,12 @@
 | 
			
		|||
  "nodes": {
 | 
			
		||||
    "nixpkgs": {
 | 
			
		||||
      "locked": {
 | 
			
		||||
        "lastModified": 1705316053,
 | 
			
		||||
        "narHash": "sha256-J2Ey5mPFT8gdfL2XC0JTZvKaBw/b2pnyudEXFvl+dQM=",
 | 
			
		||||
        "rev": "c3e128f3c0ecc1fb04aef9f72b3dcc2f6cecf370",
 | 
			
		||||
        "revCount": 571714,
 | 
			
		||||
        "lastModified": 1705856552,
 | 
			
		||||
        "narHash": "sha256-JXfnuEf5Yd6bhMs/uvM67/joxYKoysyE3M2k6T3eWbg=",
 | 
			
		||||
        "rev": "612f97239e2cc474c13c9dafa0df378058c5ad8d",
 | 
			
		||||
        "revCount": 574351,
 | 
			
		||||
        "type": "tarball",
 | 
			
		||||
        "url": "https://api.flakehub.com/f/pinned/NixOS/nixpkgs/0.1.571714%2Brev-c3e128f3c0ecc1fb04aef9f72b3dcc2f6cecf370/018d13d4-6560-744b-8254-c10a7ef5adef/source.tar.gz"
 | 
			
		||||
        "url": "https://api.flakehub.com/f/pinned/NixOS/nixpkgs/0.1.574351%2Brev-612f97239e2cc474c13c9dafa0df378058c5ad8d/018d3085-aff0-7a0b-ab80-1a9c414de8cd/source.tar.gz"
 | 
			
		||||
      },
 | 
			
		||||
      "original": {
 | 
			
		||||
        "type": "tarball",
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -3,23 +3,26 @@
 | 
			
		|||
 | 
			
		||||
  inputs.nixpkgs.url = "https://flakehub.com/f/NixOS/nixpkgs/0.1.*.tar.gz";
 | 
			
		||||
 | 
			
		||||
  outputs = {
 | 
			
		||||
    self,
 | 
			
		||||
    nixpkgs,
 | 
			
		||||
  }: let
 | 
			
		||||
    supportedSystems = ["x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin"];
 | 
			
		||||
    forEachSupportedSystem = f:
 | 
			
		||||
      nixpkgs.lib.genAttrs supportedSystems (system:
 | 
			
		||||
        f {
 | 
			
		||||
          pkgs = import nixpkgs {inherit system;};
 | 
			
		||||
        });
 | 
			
		||||
  in {
 | 
			
		||||
    devShells = forEachSupportedSystem ({pkgs}: {
 | 
			
		||||
      default = pkgs.mkShell {
 | 
			
		||||
        packages = with pkgs;
 | 
			
		||||
          [python311 jupyter virtualenv]
 | 
			
		||||
          ++ (with pkgs.python311Packages; [pip jupyter pandas numpy matplotlib]);
 | 
			
		||||
      };
 | 
			
		||||
    });
 | 
			
		||||
  };
 | 
			
		||||
  outputs =
 | 
			
		||||
    { self
 | 
			
		||||
    , nixpkgs
 | 
			
		||||
    ,
 | 
			
		||||
    }:
 | 
			
		||||
    let
 | 
			
		||||
      supportedSystems = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ];
 | 
			
		||||
      forEachSupportedSystem = f:
 | 
			
		||||
        nixpkgs.lib.genAttrs supportedSystems (system:
 | 
			
		||||
          f {
 | 
			
		||||
            pkgs = import nixpkgs { inherit system; };
 | 
			
		||||
          });
 | 
			
		||||
    in
 | 
			
		||||
    {
 | 
			
		||||
      devShells = forEachSupportedSystem ({ pkgs }: {
 | 
			
		||||
        default = pkgs.mkShell {
 | 
			
		||||
          packages = with pkgs;
 | 
			
		||||
            [ python311 jupyter virtualenv ]
 | 
			
		||||
            ++ (with pkgs.python311Packages; [ pip jupyter pandas numpy matplotlib ]);
 | 
			
		||||
        };
 | 
			
		||||
      });
 | 
			
		||||
    };
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue