forked from cory/tildefriends
		
	Compare commits
	
		
			4 Commits
		
	
	
		
			76d499f00b
			...
			tasiaiso-n
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 3b36496dac | |||
| 4ebd6c24a9 | |||
| 05451d98b3 | |||
| 22a4bce3c8 | 
							
								
								
									
										20
									
								
								default.nix
									
									
									
									
									
								
							
							
						
						
									
										20
									
								
								default.nix
									
									
									
									
									
								
							| @@ -1,3 +1,23 @@ | ||||
| # How to upgrade to a newer version | ||||
| # - Comment `src.hash` | ||||
| # - Change `version` | ||||
| # - Run `$ nix build` | ||||
| # This will fetch the source code | ||||
| # Since `hash` is not provided, nix will stop building and throw an error: | ||||
| # | ||||
| # error: hash mismatch in fixed-output derivation '/nix/store/fghi3ljs6fhz8pwm3dh73j5fwjpq5wbz-source.drv': | ||||
| #          specified: sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA= | ||||
| #             got:    sha256-+uthA1w8CmZfW+WOK9wYGl2fUl/k10ufOc8W+Pwa9iQ= | ||||
| # error: 1 dependencies of derivation '/nix/store/imcwsw5r74vkd8r0qa2k7cys2xfgraaz-tildefriends-0.0.18.drv' failed to build | ||||
| # | ||||
| # - Change `src.hash` to the new one, ie `sha256-+uthA1w8CmZfW+WOK9wYGl2fUl/k10ufOc8W+Pwa9iQ=` | ||||
| # - Uncomment `src.hash` | ||||
| # - Build again, this time it should work. | ||||
| # - Check the release notes, if there's a new dependency or a change to `GNUMakefile`, this file might need to be changed too. | ||||
| # For more details, contact tasiaiso @ https://tilde.club/~tasiaiso/ | ||||
| # | ||||
| # WARNING: currently it is pinned to `47838d5e482cb4aac40190fa0414f08b8cf94d40`. I couldn't get v0.0.18 to work for some reason. | ||||
| # I'll change this in the next release - tasiaiso | ||||
| { | ||||
|   pkgs ? import <nixpkgs> {}, | ||||
|   lib ? import <nixpkgs/lib>, | ||||
|   | ||||
| @@ -1,5 +1,5 @@ | ||||
| { | ||||
|   description = "Tilde Friends is a platform for making, running, and sharing web applications"; | ||||
|   description = "Tilde Friends is a platform for making, running, and sharing web applications."; | ||||
|  | ||||
|   inputs = { | ||||
|     nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11"; | ||||
| @@ -21,6 +21,7 @@ | ||||
|         formatter = pkgs.alejandra; | ||||
|  | ||||
|         # Exports the tildefriends package | ||||
|         # Build with `$ nix build` | ||||
|         packages.default = pkgs.callPackage ./default.nix {}; | ||||
|  | ||||
|         # Creates a shell with the necessary dependencies | ||||
|   | ||||
		Reference in New Issue
	
	Block a user