File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed
Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change 4141 } ;
4242 } ) ;
4343
44- binary = ver : hash :
44+ binary = ver : hashes :
4545 mkDerivation ( finalAttrs : {
4646 pname = "occasion" ;
4747 version = ver ;
4848
4949 src = pkgs . fetchurl {
5050 url = "https://github.com/itscrystalline/occasion/releases/download/v${ ver } /occasion-${ releaseName } .tar.gz" ;
51- sha256 = hash ;
51+ sha256 = hashes . ${ releaseName } ;
5252 } ;
5353
5454 dontUnpack = true ;
7373 } ) ;
7474 in rec {
7575 packages . occasion-latest = package ./. "0.3.0" ;
76- packages . occasion = binary "0.3.0" "sha256-8WiJdD9AmbF2KVGteMbFwC54oS7XjAOa4r10jFB/1ds=" ;
76+ packages . occasion = binary "0.3.0" {
77+ linux-x86_64 = "sha256-8WiJdD9AmbF2KVGteMbFwC54oS7XjAOa4r10jFB/1ds=" ;
78+ linux-aarch64 = "sha256-51C6w14UCYD55LwymUZGE1sfo4GaXOJIiJUj/Vcq09c=" ;
79+ macos-x86_64 = "${ lib . fakeHash } " ;
80+ macos-aarch64 = "${ lib . fakeHash } " ;
81+ } ;
7782 packages . default = packages . occasion ;
7883 } )
7984 // flake-utils . lib . eachDefaultSystemPassThrough ( system : {
You can’t perform that action at this time.
0 commit comments