build: Better reject systems where the shebang would be too long.
* tests/gexp.scm (shebang): Add "#!".
This commit is contained in:
		
							parent
							
								
									417175096a
								
							
						
					
					
						commit
						6c9e7b2bea
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -224,7 +224,7 @@ | ||||||
|       (return (string=? system (derivation-system drv)))))) |       (return (string=? system (derivation-system drv)))))) | ||||||
| 
 | 
 | ||||||
| (define shebang | (define shebang | ||||||
|   (string-append (derivation->output-path guile-for-build) |   (string-append "#!" (derivation->output-path guile-for-build) | ||||||
|                  "/bin/guile --no-auto-compile")) |                  "/bin/guile --no-auto-compile")) | ||||||
| 
 | 
 | ||||||
| ;; If we're going to hit the silly shebang limit (128 chars on Linux-based | ;; If we're going to hit the silly shebang limit (128 chars on Linux-based | ||||||
|  |  | ||||||
		Reference in a new issue