Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 3857a8bb25d7
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 93143b02d528
Choose a head ref
  • 2 commits
  • 1 file changed
  • 1 contributor

Commits on Mar 26, 2019

  1. idrisPackages.glfw: Fix runtime

    In order to run programs, pkgconfig needs to be present so it can tell
    it where to find glfw3 and gl.
    infinisil committed Mar 26, 2019
    Copy the full SHA
    321ec86 View commit details

Commits on Apr 28, 2019

  1. Merge pull request #58320 from Infinisil/fix-idris-glfw

    idrisPackages.glfw: Fix runtime
    infinisil authored Apr 28, 2019
    Copy the full SHA
    93143b0 View commit details
Showing with 6 additions and 0 deletions.
  1. +6 −0 pkgs/development/idris-modules/glfw.nix
6 changes: 6 additions & 0 deletions pkgs/development/idris-modules/glfw.nix
Original file line number Diff line number Diff line change
@@ -10,8 +10,14 @@ build-idris-package {

idrisDeps = [ effects ];

nativeBuildInputs = [ pkgs.pkgconfig ];
extraBuildInputs = [ pkgs.glfw ];

postPatch = ''
substituteInPlace src/MakefileGlfw \
--replace glfw3 "glfw3 gl"
'';

src = fetchFromGitHub {
owner = "eckart";
repo = "glfw-idris";