diff options
Diffstat (limited to 'nixpkgs/pkgs/by-name/ga')
-rw-r--r-- | nixpkgs/pkgs/by-name/ga/game-rs/package.nix | 32 | ||||
-rw-r--r-- | nixpkgs/pkgs/by-name/ga/gash-utils/package.nix | 3 |
2 files changed, 34 insertions, 1 deletions
diff --git a/nixpkgs/pkgs/by-name/ga/game-rs/package.nix b/nixpkgs/pkgs/by-name/ga/game-rs/package.nix new file mode 100644 index 000000000000..127e06f7129e --- /dev/null +++ b/nixpkgs/pkgs/by-name/ga/game-rs/package.nix @@ -0,0 +1,32 @@ +{ lib +, rustPlatform +, fetchFromGitHub +, steam-run +}: + +rustPlatform.buildRustPackage rec { + pname = "game-rs"; + version = "0.1.3"; + + src = fetchFromGitHub { + owner = "amanse"; + repo = "game-rs"; + rev = "v${version}"; + hash = "sha256-M9/hFItoCL8fSrc0dFNn43unqkIaD179OGUdbXL6/Rs="; + }; + + cargoHash = "sha256-aq58sFK4/Zd8S4dOWjag+g5PmTeaVAK3FS3fW/YlCLs="; + + buildFeatures = [ "nixos" ]; + + propagatedBuildInputs = [ steam-run ]; + + meta = with lib; { + description = "Minimal CLI game launcher for linux"; + homepage = "https://github.com/amanse/game-rs"; + changelog = "https://github.com/Amanse/game-rs/releases/tag/v${version}"; + license = with licenses; [ mit ]; + maintainers = with maintainers; [ amanse ]; + platforms = platforms.linux; + }; +} diff --git a/nixpkgs/pkgs/by-name/ga/gash-utils/package.nix b/nixpkgs/pkgs/by-name/ga/gash-utils/package.nix index eeaf2b02a40b..bea8d6730e77 100644 --- a/nixpkgs/pkgs/by-name/ga/gash-utils/package.nix +++ b/nixpkgs/pkgs/by-name/ga/gash-utils/package.nix @@ -32,7 +32,8 @@ stdenv.mkDerivation (finalAttrs: { postInstall = '' for f in $out/bin/*; do wrapProgram $f \ - --prefix GUILE_LOAD_PATH : "${gash}/${guile.siteDir}" + --prefix GUILE_LOAD_PATH : "$out/${guile.siteDir}:$GUILE_LOAD_PATH" \ + --prefix GUILE_LOAD_COMPILED_PATH : "$out/${guile.siteCcacheDir}:$GUILE_LOAD_COMPILED_PATH" done ''; |