!NhAsaYbbgmzHtXTPQJ:funklause.de

Nix NodeJS

211 Members
61 Servers

Load older messages


SenderMessageTime
10 Mar 2023
@dandellion:dodsorf.asDandellion

yeah, it's only when trying it a hdt datasource (which is the recommended datasource):

{
  "@context": "https://linkedsoftwaredependencies.org/bundles/npm/@ldf/server/^3.0.0/components/context.jsonld",
  "@id": "urn:ldf-server:my",
  "import": "preset-qpf:config-defaults.json",

  "title": "My Linked Data Fragments server",

  "datasources": [
    {
      "@id": "urn:ldf-server:mySparqlDatasource",
      "@type": "SparqlDatasource",
      "datasourceTitle": "DBpedia (Virtuoso)",
      "description": "DBpedia with a Virtuoso back-end",
      "datasourcePath": "dbpedia-sparql",
      "sparqlEndpoint": "https://dbpedia.org/sparql"
    },
    {
      "@id": "urn:ldf-server:myHdtDatasource",
      "@type": "HdtDatasource",
      "datasourceTitle": "My HDT file",
      "description": "My dataset with a HDT back-end",
      "datasourcePath": "myhdt",
      "file": "somehdt.hdt"
    }
  ],

  "prefixes": [
    { "prefix": "rdf",         "uri": "http://www.w3.org/1999/02/22-rdf-syntax-ns#" },
    { "prefix": "rdfs",        "uri": "http://www.w3.org/2000/01/rdf-schema#" },
    { "prefix": "xsd",         "uri": "http://www.w3.org/2001/XMLSchema#" },
    { "prefix": "dc",          "uri": "http://purl.org/dc/terms/" },
    { "prefix": "foaf",        "uri": "http://xmlns.com/foaf/0.1/" },
    { "prefix": "dbpedia",     "uri": "http://dbpedia.org/resource/" },
    { "prefix": "dbpedia-owl", "uri": "http://dbpedia.org/ontology/" },
    { "prefix": "dbpprop",     "uri": "http://dbpedia.org/property/" },
    { "prefix": "hydra",       "uri": "http://www.w3.org/ns/hydra/core#" },
    { "prefix": "void",        "uri": "http://rdfs.org/ns/void#" }
  ]
}

Like this config ^

18:31:26
@lily:lily.flowersLily FosterAh, I guess I could try to test that. What is libcds though? Is that part of the package?18:32:09
@dandellion:dodsorf.asDandellionIt's some datastructure library that seems to be shipped with https://github.com/RubenVerborgh/HDT-Node18:32:58
@dandellion:dodsorf.asDandellionin the deps submodule18:33:07
13 Mar 2023
@aktaboot:tchncs.deaktaboot anyone has come into similar problem ? :An unexpected error occurred: "ENOENT: no such file or directory, open '/homeless-shelter/.yarnrc'". 20:59:53
@aktaboot:tchncs.deaktaboot https://0x0.st/HiFd.nix 21:00:30
@aktaboot:tchncs.deaktaboot needed to add export HOME=$(mktemp -d) 21:10:44
21 Mar 2023
@gdamjan:spodeli.orggdamjan joined the room.20:43:25
24 Mar 2023
@robert:funklause.dedotlambdaHas anyone ever tried packaging an electron-forge app in Nixpkgs?00:11:51
@robert:funklause.dedotlambdaThere seems no way around electron-forge downloading the electron binary. If someone knows one please tell me02:11:09
25 Mar 2023
@ambroisie:belanyi.fr@ambroisie:belanyi.fr I have a package that converted from yarn.lock to pnpm-lock.yaml 11:34:12
@ambroisie:belanyi.fr@ambroisie:belanyi.frI don't have any experience with the latter, what's the usual way of packaging those in nixpkgs 11:34:39
@ambroisie:belanyi.fr@ambroisie:belanyi.frA 2 seconds search lead me to: https://github.com/cvent/pnpm-lock-export11:34:56
@ambroisie:belanyi.fr@ambroisie:belanyi.fr Which isn't packaged in nixpkgs... and also uses pnpm-lock.yaml 11:35:17
@ambroisie:belanyi.fr@ambroisie:belanyi.fr * A 2 seconds search led me to: https://github.com/cvent/pnpm-lock-export11:37:51
@lily:lily.flowersLily Foster
In reply to @ambroisie:belanyi.fr
Which isn't packaged in nixpkgs... and also uses pnpm-lock.yaml
Is it in npm registry?
12:47:51
@lily:lily.flowersLily FosterThe registry tarball will have a package-lock.json if so12:48:05
@ambroisie:belanyi.fr@ambroisie:belanyi.frNo idea, I don't know the JS ecosystem funnily enough12:48:16
@ambroisie:belanyi.fr@ambroisie:belanyi.frMy only experience is packaging some front-ends for nixpkgs :')12:48:29
@lily:lily.flowersLily FosterWish I didn't know JS sometimes 🫠12:51:16
@ambroisie:belanyi.fr@ambroisie:belanyi.frSeems to be on npmjs.com12:51:58
@lily:lily.flowersLily Foster Yep it is. So use fetchzip and https://registry.npmjs.org/pnpm-lock-export/-/pnpm-lock-export-${version}.tgz 12:52:35
@lily:lily.flowersLily FosterWith buildNpmPackage12:52:45
@lily:lily.flowersLily FosterAnd you should be good12:52:51
@ambroisie:belanyi.fr@ambroisie:belanyi.frThanks12:52:54
@ambroisie:belanyi.fr@ambroisie:belanyi.fr Arf, no package-lock.json in the registry tarball 13:00:09
@ambroisie:belanyi.fr@ambroisie:belanyi.frI'll have to create the lock myself13:03:07
@lily:lily.flowersLily Foster
In reply to @ambroisie:belanyi.fr
Arf, no package-lock.json in the registry tarball
Wait really? I thought they always required that but maybe I'm misremembering
13:04:51
@lily:lily.flowersLily FosterWow it sure doesn't13:06:28
@lily:lily.flowersLily FosterCursed13:06:30

Show newer messages


Back to Room ListRoom Version: 6