Skip to content

Enable x86_64-darwin for purs-bridge #33

@bladyjoker

Description

@bladyjoker

By just adding the system haskell.nix complains...

bladyjoker@morphism:~/Desktop/purescript-bridge$ nix -L --show-trace build .#test-all."x86_64-darwin"                                                                                    
warning: Git tree '/home/bladyjoker/Desktop/purescript-bridge' is dirty                                                                                                                  
trace: To make project.plan-nix for purescript-bridge a fixed-output derivation but not materialized, set `plan-sha256` to the output of the 'calculateMaterializedSha' script in 'passth
ru'.                                                                                                                                                                                     
trace: To materialize project.plan-nix for purescript-bridge entirely, pass a writable path as the `materialized` argument and run the 'updateMaterialized' script in 'passthru'.        
trace: To make project.plan-nix for purescript-bridge a fixed-output derivation but not materialized, set `plan-sha256` to the output of the 'calculateMaterializedSha' script in 'passth
ru'.                                                                                                                                                                                     
trace: To materialize project.plan-nix for purescript-bridge entirely, pass a writable path as the `materialized` argument and run the 'updateMaterialized' script in 'passthru'.        
error: a 'x86_64-darwin' with features {} is required to build '/nix/store/99vgr29sm65al3r02g5dc96wn87qbib7-nix-tools-plan-to-nix-pkgs.drv', but I am a 'x86_64-linux' with features {ben
chmark, big-parallel, kvm, nixos-test}                                                                                                                                                   
                                                                                                                                                                                         
       … while realising the context of path '/nix/store/0f37nza2l31rqwfdzmqd4byvqj80j3vv-nix-tools-plan-to-nix-pkgs'                                                                    
                                                                                                                                                                                         
       at /nix/store/3j90lc9a7kaydiw6q7gfglzg2w40fs47-source/lib/import-and-filter-project.nix:18:13:                                                                                    
                                                                                                                                                                                         
           17|   projectSubDir'' = if projectSubDir == "" then "" else projectSubDir + "/"; # With trailing /                                                                            
           18|   project = import "${projectNix}${projectSubDir'}";                                                                                                                      
             |             ^                                                                                                                                                             
           19| in project // {                                                                                                                                                           

       … while evaluating anonymous lambda

       at /nix/store/3j90lc9a7kaydiw6q7gfglzg2w40fs47-source/lib/import-and-filter-project.nix:5:1:

            4| { pkgs, haskellLib }:
            5| { projectNix, sourceRepos, src }:
             | ^
            6| let

       … from call site

       at /nix/store/3j90lc9a7kaydiw6q7gfglzg2w40fs47-source/overlays/haskell.nix:501:27:

          500|               callProjectResults = callCabalProjectToNix args;
          501|               plan-pkgs = importAndFilterProject {
             |                           ^
          502|                 inherit (callProjectResults) projectNix sourceRepos src;

       … while evaluating the attribute 'hsPkgs'

       at /nix/store/3j90lc9a7kaydiw6q7gfglzg2w40fs47-source/overlays/haskell.nix:527:43:

          526|               project = addProjectAndPackageAttrs rec {
          527|                   inherit (pkg-set.config) hsPkgs;
             |                                           ^
          528|                   inherit pkg-set;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions