Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
manveru committed Oct 3, 2023
1 parent 0feb7cc commit 13e56f4
Show file tree
Hide file tree
Showing 2 changed files with 196 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages.cr
Original file line number Diff line number Diff line change
Expand Up @@ -260,13 +260,13 @@ struct Package
end
end

def nix_store_make_content_addressed(config)
def nix_store_make_content_addressed
path = output.not_nil!
process(closure_file_path, true,
"nix", "store", "make-content-addressed", flake_url, "--json",
"--to", config.to,
"--accept-flake-config",
"--no-write-lock-file",
"--to", config.to,
) do |stdout|
stdout.dig?("rewrites", path).try { |to_path|
@closure = {fromPath: path, toPath: to_path.as_s, fromStore: config.from_store}
Expand Down Expand Up @@ -331,7 +331,7 @@ each_package(config) do |pkg|
pkg.nix_eval &&
pkg.nix_build &&
pkg.nix_copy_original &&
pkg.nix_store_make_content_addressed(config) &&
pkg.nix_store_make_content_addressed &&
pkg.nix_copy_closure
valid[pkg.flake_url] = pkg if pkg.closure
end
Expand Down
193 changes: 193 additions & 0 deletions packages.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,100 @@
"pname": "cardano-addresses-cli-exe-cardano-address",
"system": "x86_64-linux"
},
"github:cardano-foundation/cardano-wallet/211c357a91d48b30fdf77a3a169499b38822f9cd#packages.x86_64-linux.cardano-wallet": {
"name": "github:cardano-foundation/cardano-wallet/${tag}#packages.${system}.cardano-wallet",
"version": "v2022-07-01",
"commit": "211c357a91d48b30fdf77a3a169499b38822f9cd",
"org_name": "cardano-foundation",
"repo_name": "cardano-wallet",
"meta": {
"available": true,
"broken": false,
"insecure": false,
"name": "cardano-wallet-2022.7.1",
"outputsToInstall": [
"out"
],
"platforms": [
"i686-cygwin",
"x86_64-cygwin",
"x86_64-darwin",
"i686-darwin",
"aarch64-darwin",
"armv7a-darwin",
"i686-freebsd",
"x86_64-freebsd",
"aarch64-genode",
"i686-genode",
"x86_64-genode",
"x86_64-solaris",
"js-ghcjs",
"aarch64-linux",
"armv5tel-linux",
"armv6l-linux",
"armv7a-linux",
"armv7l-linux",
"i686-linux",
"m68k-linux",
"mipsel-linux",
"mips64el-linux",
"powerpc64-linux",
"powerpc64le-linux",
"riscv32-linux",
"riscv64-linux",
"s390-linux",
"s390x-linux",
"x86_64-linux",
"mmix-mmixware",
"aarch64-netbsd",
"armv6l-netbsd",
"armv7a-netbsd",
"armv7l-netbsd",
"i686-netbsd",
"m68k-netbsd",
"mipsel-netbsd",
"powerpc-netbsd",
"riscv32-netbsd",
"riscv64-netbsd",
"x86_64-netbsd",
"aarch64_be-none",
"aarch64-none",
"arm-none",
"armv6l-none",
"avr-none",
"i686-none",
"msp430-none",
"or1k-none",
"m68k-none",
"powerpc-none",
"powerpcle-none",
"riscv32-none",
"riscv64-none",
"s390-none",
"s390x-none",
"vc4-none",
"x86_64-none",
"i686-openbsd",
"x86_64-openbsd",
"x86_64-redox",
"wasm64-wasi",
"wasm32-wasi",
"x86_64-windows",
"i686-windows"
],
"position": "/nix/store/zaydr0fywmm7d07p810qpmg5ih6b0w7q-source/nix/release-build.nix:15",
"unfree": false,
"unsupported": false
},
"output": "/nix/store/1x97s8xqh44bmnc78wiaprkdkyb607rp-cardano-wallet-2022.7.1",
"closure": {
"fromPath": "/nix/store/1x97s8xqh44bmnc78wiaprkdkyb607rp-cardano-wallet-2022.7.1",
"toPath": "/nix/store/vvxpfnacsa3a35vq6s6hxbbyyx08qc9v-cardano-wallet-2022.7.1",
"fromStore": "https://cache.iog.io"
},
"pname": "cardano-wallet-2022.7.1",
"system": "x86_64-linux"
},
"github:cardano-foundation/cardano-wallet/4eade336d69f4c4f64142c3643399e20c8d27d0f#packages.x86_64-linux.cardano-address": {
"name": "github:cardano-foundation/cardano-wallet/${tag}#packages.${system}.cardano-address",
"version": "v2022-04-27",
Expand Down Expand Up @@ -408,6 +502,105 @@
"pname": "cardano-addresses-cli-exe-cardano-address",
"system": "x86_64-linux"
},
"github:cardano-foundation/cardano-wallet/8ff4882288d913defe130011e34860c3522ba947#packages.x86_64-linux.cardano-wallet": {
"name": "github:cardano-foundation/cardano-wallet/${tag}#packages.${system}.cardano-wallet",
"version": "v2022-12-14",
"commit": "8ff4882288d913defe130011e34860c3522ba947",
"org_name": "cardano-foundation",
"repo_name": "cardano-wallet",
"meta": {
"available": true,
"broken": false,
"insecure": false,
"name": "cardano-wallet-2022.12.14",
"outputsToInstall": [
"out"
],
"platforms": [
"i686-cygwin",
"x86_64-cygwin",
"x86_64-darwin",
"i686-darwin",
"aarch64-darwin",
"armv7a-darwin",
"i686-freebsd",
"x86_64-freebsd",
"aarch64-genode",
"i686-genode",
"x86_64-genode",
"x86_64-solaris",
"js-ghcjs",
"aarch64-linux",
"armv5tel-linux",
"armv6l-linux",
"armv7a-linux",
"armv7l-linux",
"i686-linux",
"m68k-linux",
"microblaze-linux",
"microblazeel-linux",
"mipsel-linux",
"mips64el-linux",
"powerpc64-linux",
"powerpc64le-linux",
"riscv32-linux",
"riscv64-linux",
"s390-linux",
"s390x-linux",
"x86_64-linux",
"mmix-mmixware",
"aarch64-netbsd",
"armv6l-netbsd",
"armv7a-netbsd",
"armv7l-netbsd",
"i686-netbsd",
"m68k-netbsd",
"mipsel-netbsd",
"powerpc-netbsd",
"riscv32-netbsd",
"riscv64-netbsd",
"x86_64-netbsd",
"aarch64_be-none",
"aarch64-none",
"arm-none",
"armv6l-none",
"avr-none",
"i686-none",
"microblaze-none",
"microblazeel-none",
"msp430-none",
"or1k-none",
"m68k-none",
"powerpc-none",
"powerpcle-none",
"riscv32-none",
"riscv64-none",
"rx-none",
"s390-none",
"s390x-none",
"vc4-none",
"x86_64-none",
"i686-openbsd",
"x86_64-openbsd",
"x86_64-redox",
"wasm64-wasi",
"wasm32-wasi",
"x86_64-windows",
"i686-windows"
],
"position": "/nix/store/7x2izzhgad75lqh4pmci7p2nrcg4lw4r-source/nix/release-build.nix:15",
"unfree": false,
"unsupported": false
},
"output": "/nix/store/bifwb9wmha87vjpk3xaa98lj379qqc8p-cardano-wallet-2022.12.14",
"closure": {
"fromPath": "/nix/store/bifwb9wmha87vjpk3xaa98lj379qqc8p-cardano-wallet-2022.12.14",
"toPath": "/nix/store/1a0jid1dfw0glc5nn3smczymnp0fs7ij-cardano-wallet-2022.12.14",
"fromStore": "https://cache.iog.io"
},
"pname": "cardano-wallet-2022.12.14",
"system": "x86_64-linux"
},
"github:cardano-foundation/cardano-wallet/9a072f90b8c52a7e25012269b21e2ddd8be28a74#packages.x86_64-linux.cardano-address": {
"name": "github:cardano-foundation/cardano-wallet/${tag}#packages.${system}.cardano-address",
"version": "v2022-08-16",
Expand Down

0 comments on commit 13e56f4

Please sign in to comment.