Giter Site home page Giter Site logo

Comments (4)

drupol avatar drupol commented on May 27, 2024

Hello,

Thanks for reporting the issue. In order to efficiently address the issue you've encountered, I kindly request that you provide the specific commands or steps needed to reproduce it.
This will help me to quickly identify the root cause and implement the appropriate fix.

Thank you.

from milewski-ctfp-pdf.

behoppe avatar behoppe commented on May 27, 2024

Hi @drupol and thank you. Below is a transcript of my session, including user errors, which starts after I installed nix, logged out, and logged back in. (So the first command is where I discover that nix is finally working.) Now that I have the book PDF, I don't expect to need nix again, but I'm happy if this helps prevent others from having the same problem.

~$ nix
error: no subcommand specified
~$ git clone https://github.com/hmemcpy/milewski-ctfp-pdf.git
Cloning into 'milewski-ctfp-pdf'...
remote: Enumerating objects: 6846, done.
remote: Counting objects: 100% (375/375), done.
remote: Compressing objects: 100% (247/247), done.
remote: Total 6846 (delta 157), reused 281 (delta 113), pack-reused 6471
Receiving objects: 100% (6846/6846), 71.19 MiB | 15.34 MiB/s, done.
Resolving deltas: 100% (2174/2174), done.
~$ cd milewski-ctfp-pdf/
~/milewski-ctfp-pdf$ nix flake show
error: experimental Nix feature 'nix-command' is disabled; use '--extra-experimental-features nix-command' to override
~/milewski-ctfp-pdf$ nix --experimental-features 'nix-command flakes' flake show
git+file:///home/bruce/milewski-ctfp-pdf?ref=refs%2fheads%2fmaster&rev=32743b2738011a663ac69e0d70fd9f3ff08bdfc8
├───apps
│ ├───aarch64-darwin
│ ├───aarch64-linux
│ ├───x86_64-darwin
│ └───x86_64-linux
├───checks
│ ├───aarch64-darwin
│ ├───aarch64-linux
│ ├───x86_64-darwin
│ └───x86_64-linux
├───devShells
│ ├───aarch64-darwin
│ │ └───default: development environment 'nix-shell'
│ ├───aarch64-linux
│ │ └───default: development environment 'nix-shell'
│ ├───x86_64-darwin
│ │ └───default: development environment 'nix-shell'
│ └───x86_64-linux
│ └───default: development environment 'nix-shell'
├───formatter
│ ├───aarch64-darwin: package 'alejandra-3.0.0'
│ ├───aarch64-linux: package 'alejandra-3.0.0'
│ ├───x86_64-darwin: package 'alejandra-3.0.0'
│ └───x86_64-linux: package 'alejandra-3.0.0'
├───legacyPackages
│ ├───aarch64-darwin omitted (use '--legacy' to show)
│ ├───aarch64-linux omitted (use '--legacy' to show)
│ ├───x86_64-darwin omitted (use '--legacy' to show)
│ └───x86_64-linux omitted (use '--legacy' to show)
├───nixosConfigurations
├───nixosModules
├───overlays
└───packages
├───aarch64-darwin
│ ├───ctfp: package 'ctfp-reader'
│ ├───ctfp-ocaml: package 'ctfp-reader-ocaml'
│ ├───ctfp-print: package 'ctfp-print'
│ ├───ctfp-print-ocaml: package 'ctfp-print-ocaml'
│ ├───ctfp-print-reason: package 'ctfp-print-reason'
│ ├───ctfp-print-scala: package 'ctfp-print-scala'
│ ├───ctfp-reason: package 'ctfp-reader-reason'
│ └───ctfp-scala: package 'ctfp-reader-scala'
├───aarch64-linux
│ ├───ctfp: package 'ctfp-reader'
│ ├───ctfp-ocaml: package 'ctfp-reader-ocaml'
│ ├───ctfp-print: package 'ctfp-print'
│ ├───ctfp-print-ocaml: package 'ctfp-print-ocaml'
│ ├───ctfp-print-reason: package 'ctfp-print-reason'
│ ├───ctfp-print-scala: package 'ctfp-print-scala'
│ ├───ctfp-reason: package 'ctfp-reader-reason'
│ └───ctfp-scala: package 'ctfp-reader-scala'
├───x86_64-darwin
│ ├───ctfp: package 'ctfp-reader'
│ ├───ctfp-ocaml: package 'ctfp-reader-ocaml'
│ ├───ctfp-print: package 'ctfp-print'
│ ├───ctfp-print-ocaml: package 'ctfp-print-ocaml'
│ ├───ctfp-print-reason: package 'ctfp-print-reason'
│ ├───ctfp-print-scala: package 'ctfp-print-scala'
│ ├───ctfp-reason: package 'ctfp-reader-reason'
│ └───ctfp-scala: package 'ctfp-reader-scala'
└───x86_64-linux
├───ctfp: package 'ctfp-reader'
├───ctfp-ocaml: package 'ctfp-reader-ocaml'
├───ctfp-print: package 'ctfp-print'
├───ctfp-print-ocaml: package 'ctfp-print-ocaml'
├───ctfp-print-reason: package 'ctfp-print-reason'
├───ctfp-print-scala: package 'ctfp-print-scala'
├───ctfp-reason: package 'ctfp-reader-reason'
└───ctfp-scala: package 'ctfp-reader-scala'
~/milewski-ctfp-pdf$ nix build
error: experimental Nix feature 'nix-command' is disabled; use '--extra-experimental-features nix-command' to override
~/milewski-ctfp-pdf$ nix --experimental-features 'nix-command flakes' build
error: flake 'git+file:///home/bruce/milewski-ctfp-pdf' does not provide attribute 'packages.x86_64-linux.default' or 'defaultPackage.x86_64-linux'
~/milewski-ctfp-pdf$ nix --experimental-features 'nix-command flakes' build .#ctfp-reader
error: flake 'git+file:///home/bruce/milewski-ctfp-pdf' does not provide attribute 'packages.x86_64-linux.ctfp-reader', 'legacyPackages.x86_64-linux.ctfp-reader' or 'ctfp-reader'
~/milewski-ctfp-pdf$ nix --experimental-features 'nix-command flakes' build .#ctfp
~/milewski-ctfp-pdf$ ls
errata-1.0.0.md errata-1.3.0.md errata-scala.md flake.lock flake.nix LICENSE Makefile README.md result src
~/milewski-ctfp-pdf$ cd result
~/milewski-ctfp-pdf/result$ ls
~/milewski-ctfp-pdf/result$ ls -a
. .. .pdf

from milewski-ctfp-pdf.

drupol avatar drupol commented on May 27, 2024

Thanks will work on a fix tomorrow !

I just fixed it :D Thanks for the report!

from milewski-ctfp-pdf.

drupol avatar drupol commented on May 27, 2024

Issue has been fixed and merged, re-open the issue if this is not the case.

Have a good day.

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.