Open
Description
Halcyon Days of Old
Many moons ago I used
nixGL = pkgs.callPackage "${builtins.fetchTarball {
url = https://github.com/guibou/nixGL/archive/7d6bc1b21316bab6cf4a6520c2639a11c25a220e.tar.gz;
#sha256 = pkgs.lib.fakeSha256;
sha256 = "02y38zmdplk7a9ihsxvnrzhhv7324mmf5g8hmxqizaid5k5ydpr3";
}}/nixGL.nix" {};
and buildInputs = [ nixGL.nixGLDefault ];
to provide the nixGL
command which automatically picked the correct implementation for whatever hardware I happened to be running.
Harsh and Cruel Present
Now I'm trying to provide nixGL
in a flake, roughly like this
inputs = { nixgl.url = "github:guibou/nixGL"; };
...
overlays = [ nixgl.overlay ];
...
devShell = pkgs.mkShell {
buildInputs = [
pkgs.nixgl.nixGLIntel # Works
pkgs.nixgl.nixGLDefault # error: attribute 'nixGLDefault' missing
pkgs.nixgl.auto.nixGLDefault # error: attribute 'currentTime' missing at /nix/store/8gs76jqmi2s8gqv68bakyyk3dx4a83db-source/nixGL.nix:202:18:
];
};
and I get the errors shown in the comments.
How should I go about providing nixGL
in a devShell
?
Metadata
Metadata
Assignees
Labels
No labels