Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 05:01
    codecov-io commented #836
  • 04:44
    renovate[bot] synchronize #836
  • 04:44

    renovate[bot] on dev

    chore(development dependencies)… (compare)

  • 04:43

    stencila-ci on v0.38.0

    (compare)

  • 04:43

    stencila-ci on master

    chore(release): 0.38.0 # [0.38… (compare)

  • 04:11
    codecov-io commented #836
  • 04:11
    renovate[bot] synchronize #836
  • 04:11

    renovate[bot] on dev

    chore(development dependencies)… (compare)

  • 04:10

    nokome on master

    ci(Uploads): Use sed because gr… ci(Uploads): Run as bash script ci(Release): Do not add [skip c… and 2 more (compare)

  • 01:10
    codecov-io commented #836
  • 00:53
    renovate[bot] synchronize #836
  • 00:53

    renovate[bot] on dev

    chore(development dependencies)… (compare)

  • 00:52

    stencila-ci on v0.37.0

    (compare)

  • 00:52

    stencila-ci on master

    chore(release): 0.37.0 [skip ci… (compare)

  • 00:31
    renovate[bot] edited #784
  • 00:31
    renovate[bot] edited #836
  • 00:31
    renovate[bot] synchronize #836
  • 00:31

    renovate[bot] on dev

    chore(development dependencies)… (compare)

  • 00:30

    nokome on master

    refactor(*): Remove global outp… chore(*): Linting ci(Renovate): Turn off automerg… and 4 more (compare)

  • Feb 24 21:05
    renovate[bot] edited #43
Finlay Thompson
@finlay
-rwxr-xr-x 1 finlay finlay 56M May 16 10:45 /usr/local/bin/nixster
Does that look to be right size ?
hmm, annoyingly it works fine on my 16.04 laptop...
with the exact same file
Nokome Bentley
@nokome
I'll check...
Nokome Bentley
@nokome
I get the same size as you...now wondering about that sqlite3 issue
it looks like it can't find the binary node module that provides the sqlite bindings
Finlay Thompson
@finlay
yeah, which I would need to install globally ?
Nokome Bentley
@nokome
no, it should come in the nixster binary and get unpacked
Finlay Thompson
@finlay
okay, so it is not just the binary...
Nokome Bentley
@nokome
Can you please ls .local/bin/node_modules

This is what I get:

> ls .local/bin/node_modules
better-sqlite3/  integer/  node-pty/

Those modules (which have native binaries) are unpacked when you first run the nixster binary (we need to put them in a better place)

Finlay Thompson
@finlay
Okay, I worked out what the problem is.....
So if I run it in .local/bin it unpacks the files into .local/bin/
but, I put the file into /user/local/bin/
and it couldn't do that
file permissions etc.
but, I ran it with sudo, and now it works without sudo
Maybe the installer should extract the files at the same time ?
I now have a functioning nixster on the commandline!
Nokome Bentley
@nokome
Great, thanks for your patience. Need to capture some of these issues and work out best approach
Finlay Thompson
@finlay
no problems....
Finlay Thompson
@finlay
Downloading nix derivations!
Nokome Bentley
@nokome
For your haskell project?
Finlay Thompson
@finlay
yeah
Can I get override the 'envs' directory ?
I would like to save the yaml file locally...
finlay @finlay causes lots of trouble ...
Nokome Bentley
@nokome
Hah. Not currently. Please create a feature request ticket
Finlay Thompson
@finlay
Done
Added a couple actually
Nokome Bentley
@nokome
Thanks
Finlay Thompson
@finlay
Can I keep bothering you with questions ?
Nokome Bentley
@nokome
Sure
:thumbsup:
Finlay Thompson
@finlay
nixster enter drops you into a shell right ?
is that something like nix-shell ?
Nokome Bentley
@nokome
Yes correct x 2
Finlay Thompson
@finlay
So, just looked at the code. I can run it in --pure=false mode
and it does what I think it does right ?
nixster enter --pure=false readxml
Nokome Bentley
@nokome
Yeah, with pure=false it adds to the PATH
Finlay Thompson
@finlay
yeah, which can be good and bad, obviously
Nokome Bentley
@nokome
    let PATH = `${location}/bin:${location}/sbin`
    if (!pure) PATH += ':' + process.env.PATH
where location is the location of the env
Finlay Thompson
@finlay
it has created a biggish sqlite3 file locally ?
Is that necessary ?
Nokome Bentley
@nokome
Yes, that sqlite3 file should go next to node_modules - it's app level data
Finlay Thompson
@finlay
let me see ....
hmm, it has saved in my cwd
Nokome Bentley
@nokome
Yes, currently it is in cwd but we need someone to write a ticket to remind us to put it elsewhere :)