commit 7dcd280d4466dcf5c14f8e4082f86c2d8fdf68e4
parent 210c6a8a547b4a548b89b08bd46ffedc396bc4f4
Author: Suzanne Soy <github@suzanne.soy>
Date: Tue, 10 Nov 2020 01:50:48 +0000
flake (part 1 with rename)
Diffstat:
4 files changed, 56 insertions(+), 8 deletions(-)
diff --git a/.gitignore b/.gitignore
@@ -0,0 +1 @@
+/result
diff --git a/flake.lock b/flake.lock
@@ -0,0 +1,47 @@
+{
+ "nodes": {
+ "lowdown-src": {
+ "flake": false,
+ "locked": {
+ "lastModified": 1598695561,
+ "narHash": "sha256-gyH/5j+h/nWw0W8AcR2WKvNBUsiQ7QuxqSJNXAwV+8E=",
+ "owner": "kristapsdz",
+ "repo": "lowdown",
+ "rev": "1705b4a26fbf065d9574dce47a94e8c7c79e052f",
+ "type": "github"
+ },
+ "original": {
+ "owner": "kristapsdz",
+ "repo": "lowdown",
+ "type": "github"
+ }
+ },
+ "nix": {
+ "inputs": {
+ "lowdown-src": "lowdown-src",
+ "nixpkgs": "nixpkgs"
+ },
+ "locked": {
+ "lastModified": 1604567911,
+ "narHash": "sha256-i4KPJvKhCn6fndh/1NominnKqIZvy0EYHJM8GEEdic4=",
+ "owner": "NixOS",
+ "repo": "nix",
+ "rev": "387f824cab50682e373ade49dcec4e6f99c10a42",
+ "type": "github"
+ },
+ "original": {
+ "id": "nix",
+ "type": "indirect"
+ }
+ },
+ "root": {
+ "inputs": {
+ "nix": "nix",
+ "nixpkgs": "nixpkgs_2",
+ "nixpkgs-git": "nixpkgs-git"
+ }
+ }
+ },
+ "root": "root",
+ "version": 7
+}
diff --git a/default.nix b/flake.nix
diff --git a/nixGL.nix b/nixGL.nix
@@ -179,14 +179,14 @@ in
};
nixGLCommon = nixGL:
- runCommand "nixGLCommon" {
- buildInuts = [nixGL];
- }
- ''
- mkdir -p "$out/bin"
- # star because nixGLNvidia... have version prefixed name
- cp ${nixGL}/bin/* "$out/bin/nixGL";
- '';
+ runCommand "nixGLCommon" {
+ buildInuts = [nixGL];
+ }
+ ''
+ mkdir -p "$out/bin"
+ # star because nixGLNvidia... have version prefixed name
+ cp ${nixGL}/bin/* "$out/bin/nixGL";
+ '';
# The output derivation contains nixGL which point either to
# nixGLNvidia or nixGLIntel using an heuristic.