Update from source
This commit is contained in:
		
							parent
							
								
									c0a10971eb
								
							
						
					
					
						commit
						89ab4c3423
					
				
					 17 changed files with 321 additions and 146 deletions
				
			
		
							
								
								
									
										25
									
								
								haxe/flake.lock
									
										
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								haxe/flake.lock
									
										
									
										generated
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,25 @@
 | 
			
		|||
{
 | 
			
		||||
  "nodes": {
 | 
			
		||||
    "nixpkgs": {
 | 
			
		||||
      "locked": {
 | 
			
		||||
        "lastModified": 1712963716,
 | 
			
		||||
        "narHash": "sha256-WKm9CvgCldeIVvRz87iOMi8CFVB1apJlkUT4GGvA0iM=",
 | 
			
		||||
        "rev": "cfd6b5fc90b15709b780a5a1619695a88505a176",
 | 
			
		||||
        "revCount": 611350,
 | 
			
		||||
        "type": "tarball",
 | 
			
		||||
        "url": "https://api.flakehub.com/f/pinned/NixOS/nixpkgs/0.1.611350%2Brev-cfd6b5fc90b15709b780a5a1619695a88505a176/018eddfc-e6d9-74bb-a823-20f2ae60079b/source.tar.gz"
 | 
			
		||||
      },
 | 
			
		||||
      "original": {
 | 
			
		||||
        "type": "tarball",
 | 
			
		||||
        "url": "https://flakehub.com/f/NixOS/nixpkgs/0.1.%2A.tar.gz"
 | 
			
		||||
      }
 | 
			
		||||
    },
 | 
			
		||||
    "root": {
 | 
			
		||||
      "inputs": {
 | 
			
		||||
        "nixpkgs": "nixpkgs"
 | 
			
		||||
      }
 | 
			
		||||
    }
 | 
			
		||||
  },
 | 
			
		||||
  "root": "root",
 | 
			
		||||
  "version": 7
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										26
									
								
								haxe/flake.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										26
									
								
								haxe/flake.nix
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,26 @@
 | 
			
		|||
{
 | 
			
		||||
  description = "A Nix-flake-based Haxe development environment";
 | 
			
		||||
 | 
			
		||||
  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; [ haxe ];
 | 
			
		||||
        };
 | 
			
		||||
      });
 | 
			
		||||
    };
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue