Skip to content

Commit

Permalink
Update: Remove npins
Browse files Browse the repository at this point in the history
  • Loading branch information
LovingMelody committed Apr 6, 2024
1 parent 638405c commit 678f433
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 73 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/update-nix-flake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ jobs:
uses: actions/checkout@v3
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
- name: Update npins
run: nix run nixpkgs#npins update;
- name: Update Packages
run: nix run github:Mic92/nix-update -- --flake;
- name: Update flake.lock
uses: DeterminateSystems/update-flake-lock@main
with:
Expand Down
47 changes: 0 additions & 47 deletions npins/default.nix

This file was deleted.

19 changes: 0 additions & 19 deletions npins/sources.json

This file was deleted.

15 changes: 10 additions & 5 deletions pkgs/lug-helper/default.nix
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
{ stdenv, lib, pins, makeDesktopItem, makeWrapper, copyDesktopItems, bash
, coreutils, findutils, gnome, zenity ? gnome.zenity, symlinkJoin, pkgs, }:
let inherit (pins) lug-helper;
{ stdenv, lib, makeDesktopItem, makeWrapper, copyDesktopItems, bash, coreutils
, findutils, gnome, zenity ? gnome.zenity, fetchFromGitHub, ... }:
let version = "2.16";
in stdenv.mkDerivation rec {
name = "lug-helper";
inherit (lug-helper) version;
src = lug-helper;
inherit version;
src = fetchFromGitHub {
owner = "starcitizen-lug";
repo = "lug-helper";
rev = "v${version}";
hash = "sha256-qtg0nrtaoyRCg/mYh19ZfjnfTGHtP46pFeBrqsXHRoY=";
};

buildInputs = [ bash coreutils findutils zenity ];
nativeBuildInputs = [ copyDesktopItems makeWrapper ];
Expand Down

0 comments on commit 678f433

Please sign in to comment.