Comments (4)
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.
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.
Thanks will work on a fix tomorrow !
I just fixed it :D Thanks for the report!
from milewski-ctfp-pdf.
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)
- nix-shell command doesn't work HOT 2
- inter-word spacing with fontdimen
- Why not give Haskell example of implementation of coproduct?
- Are there readily built pdf files for the covers?
- Cannot build HOT 5
- Possibly a mistake that causes confusion HOT 2
- `make scala` fails to produce full PDF HOT 12
- Missing figure HOT 1
- Chapter 3 - Section 3.5 Clarification
- chapter section numbering
- Haskell version being created when using scala command HOT 7
- Scala Snippet 23 in Chapter 3.4 is Not Desugared
- Releasing in Different Extensions HOT 1
- Update to Scala 3? HOT 1
- ASCII rendering of _|_ instead of Unicode HOT 4
- Use Rust as an alternative of C++? HOT 2
- Consider Formally verifying the properties in Category Theory using proof assistants.
- A mistake in Section 6.3 HOT 5
- latest pdf for category-theory-for-programmers-scala HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from milewski-ctfp-pdf.