Coder Social home page Coder Social logo

Comments (7)

drupol avatar drupol commented on May 20, 2024 1

Let me get back to you this afternoon about this.

from milewski-ctfp-pdf.

drupol avatar drupol commented on May 20, 2024 1

Ok cool ! Glad we found out the issue.

Going to close the issue, feel free to re-open if you feel something hasn't been fixed regarding this issue.

from milewski-ctfp-pdf.

HarvMarv avatar HarvMarv commented on May 20, 2024 1

Thank you for your help, drupol

from milewski-ctfp-pdf.

drupol avatar drupol commented on May 20, 2024

Could you try nix build .#ctfp-scala -o ctfp-scala.pdf ?

from milewski-ctfp-pdf.

HarvMarv avatar HarvMarv commented on May 20, 2024

Apologies for the confusion - I seem to have fixed the issue.

I once again cleaned any residual files by deleting result/ and running nix-collect-garbage.

I then tried to build nix build #.ctfp and subsequently nix build #.ctfp-scala - I guess the base pdf has to be built before building the scala snippets in order for nix to not get confused?

If this is correct, I am happy to open a pull request with a note in the readme detailing this quirk.

from milewski-ctfp-pdf.

drupol avatar drupol commented on May 20, 2024

No, the syntax is first the dot, then the hash. You can just build the Scala version with the command I wrote up there.

Can you try and report back?

Tips: There is no need to do nix-collect-garbage -d, just nix build is enough.

from milewski-ctfp-pdf.

HarvMarv avatar HarvMarv commented on May 20, 2024

The command you gave me works as expected, thank you. Looking through my command history I see that I was using nix build #.ctfp-scala (hash then dot).

I guess nix took my non-existant flake and disregarded it in order to build the default flake - I didn't notice because nix did not produce any visible errors or warnings regarding this

from milewski-ctfp-pdf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.