mirror of
				https://codeberg.org/hako/Rosenthal.git
				synced 2025-11-04 03:34:37 +00:00 
			
		
		
		
	rosenthal: atuin: Reference ‘atuin’ exectuable by store path.
* rosenthal/packages/rust-apps.scm (atuin)[arguments]<#:phases>: Add 'patch-references.
This commit is contained in:
		
							parent
							
								
									f8c9cd9dcc
								
							
						
					
					
						commit
						d197f3b2c6
					
				@ -46,6 +46,11 @@
 | 
			
		||||
      ''("client" "sync" "server" "clipboard" "daemon")
 | 
			
		||||
      #:phases
 | 
			
		||||
      #~(modify-phases %standard-phases
 | 
			
		||||
          (add-after 'unpack 'patch-references
 | 
			
		||||
            (lambda _
 | 
			
		||||
              (substitute* (find-files "crates/atuin/src/shell")
 | 
			
		||||
                (("atuin (uuid|history|search)" all)
 | 
			
		||||
                 (string-append #$output "/bin/" all)))))
 | 
			
		||||
          (replace 'install
 | 
			
		||||
            (lambda* (#:key outputs features #:allow-other-keys)
 | 
			
		||||
              (let* ((out      (assoc-ref outputs "out"))
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user