Skip to content

Question: Add build flags to specific package #65

Answered by balsoft
leana8959 asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @leana8959 , I've added Discussions to the repo, so that people can ask questions without opening issues.

As for your issue, why not use the why3-ide package? It has the --enable-ide flag already.

If you really want to override the why3 package, something like this could work:

{
  inputs = {
    flake-utils.url = "github:numtide/flake-utils";
    nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11";
    opam-nix.url = "github:tweag/opam-nix";
    nix-optics.url = "github:balsoft/nix-optics";
  };

  outputs = { self, nixpkgs, opam-nix, flake-utils, nix-optics, }:
    flake-utils.lib.eachDefaultSystem (system:
      let
        why3 = let
          inherit (opam-nix.lib.${system}) queryToS…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@leana8959
Comment options

@balsoft
Comment options

Answer selected by leana8959
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #64 on December 19, 2023 12:01.