Skip to content

nix module not loading python correctly #19

@patrickaldis

Description

@patrickaldis

currently have a file script.hs containing only the following:

#!/usr/bin/env nix-shell #!nix-shell --pure -i runghc -p "haskellPackages.ghcWithPackages (pkgs: [ pkgs.matplotlib])" import Graphics.Matplotlib main = onscreen $ contourF (\a b -> sin (a*pi/180.0) + cos (b*pi/180.0)) (-100) 100 (-200) 200 10 

However, the only output I get is:

env: 'python3': No such file or directory 

Maybe my undestanding of setting up a nix environment is wrong? Appreciate any help

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions