Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some issues with Nix #713

Closed
ablearthy opened this issue Jan 21, 2024 · 1 comment
Closed

Some issues with Nix #713

ablearthy opened this issue Jan 21, 2024 · 1 comment

Comments

@ablearthy
Copy link

{
  description = "Description";

  inputs = {
    # nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
    flake-utils.url = "github:numtide/flake-utils";
    vscoq.url = "github:coq-community/vscoq";
    vscoq.inputs.nixpkgs.follows = "nixpkgs";
  };

  outputs = { self, nixpkgs, vscoq, flake-utils }:
    flake-utils.lib.eachDefaultSystem (system:
      let
        pkgs = nixpkgs.legacyPackages.${system};
        devTools = with pkgs; [
          bashInteractive
          
          coqPackages.coq
          coqPackages.mathcomp-ssreflect

          vscoq.packages.${system}.vscoq-language-server
        ];
      in {
        devShell = pkgs.mkShell ({
          buildInputs = devTools;
        });
      }
    );
}

Fails at line

From mathcomp Require Import ssreflect.

Fixed by removing coq-8_18 from inputs and using coq from nixpkgs, not coq-8_18.

Related #686.

@ablearthy
Copy link
Author

Closed by #717

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant