switch to flake
This commit is contained in:
		
							parent
							
								
									c28b99933e
								
							
						
					
					
						commit
						6a3440dd1a
					
				
					 3 changed files with 45 additions and 0 deletions
				
			
		
							
								
								
									
										25
									
								
								flake.lock
									
										
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								flake.lock
									
										
									
										generated
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,25 @@
 | 
			
		|||
{
 | 
			
		||||
  "nodes": {
 | 
			
		||||
    "nixpkgs": {
 | 
			
		||||
      "locked": {
 | 
			
		||||
        "lastModified": 1731890469,
 | 
			
		||||
        "narHash": "sha256-D1FNZ70NmQEwNxpSSdTXCSklBH1z2isPR84J6DQrJGs=",
 | 
			
		||||
        "owner": "NixOS",
 | 
			
		||||
        "repo": "nixpkgs",
 | 
			
		||||
        "rev": "5083ec887760adfe12af64830a66807423a859a7",
 | 
			
		||||
        "type": "github"
 | 
			
		||||
      },
 | 
			
		||||
      "original": {
 | 
			
		||||
        "id": "nixpkgs",
 | 
			
		||||
        "type": "indirect"
 | 
			
		||||
      }
 | 
			
		||||
    },
 | 
			
		||||
    "root": {
 | 
			
		||||
      "inputs": {
 | 
			
		||||
        "nixpkgs": "nixpkgs"
 | 
			
		||||
      }
 | 
			
		||||
    }
 | 
			
		||||
  },
 | 
			
		||||
  "root": "root",
 | 
			
		||||
  "version": 7
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										19
									
								
								flake.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								flake.nix
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,19 @@
 | 
			
		|||
{
 | 
			
		||||
  description = "Website";
 | 
			
		||||
 | 
			
		||||
  outputs = { self, nixpkgs }:
 | 
			
		||||
    let pkgs = nixpkgs.legacyPackages.x86_64-linux;
 | 
			
		||||
    in {
 | 
			
		||||
      devShell.x86_64-linux = with pkgs;
 | 
			
		||||
        mkShell {
 | 
			
		||||
          nativeBuildInputs = [
 | 
			
		||||
            imagemagick
 | 
			
		||||
            just
 | 
			
		||||
            libavif
 | 
			
		||||
            libjxl
 | 
			
		||||
            pandoc
 | 
			
		||||
            tup
 | 
			
		||||
          ];
 | 
			
		||||
        };
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -5,6 +5,7 @@ pkgs.mkShell {
 | 
			
		|||
    imagemagick
 | 
			
		||||
    just
 | 
			
		||||
    libavif
 | 
			
		||||
    nushell
 | 
			
		||||
    pandoc
 | 
			
		||||
    tup
 | 
			
		||||
  ];
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue