mirror of
https://github.com/Noratrieb/vps.git
synced 2026-01-14 16:55:00 +01:00
don't do fetchTarball
This commit is contained in:
parent
9121101308
commit
db714febbf
9 changed files with 132 additions and 27 deletions
|
|
@ -1,8 +1,8 @@
|
|||
{ pkgs, lib, my-projects-versions, ... }:
|
||||
let
|
||||
does-it-build-base = (import (fetchTarball "https://github.com/Noratrieb/does-it-build/archive/${my-projects-versions.does-it-build}.tar.gz")) { inherit pkgs; };
|
||||
does-it-build-base = (import (pkgs.fetchFromGitHub my-projects-versions.does-it-build.fetchFromGitHub)) { inherit pkgs; };
|
||||
does-it-build = does-it-build-base.overrideAttrs (finalAttrs: previousAttrs: {
|
||||
DOES_IT_BUILD_OVERRIDE_VERSION = my-projects-versions.does-it-build;
|
||||
DOES_IT_BUILD_OVERRIDE_VERSION = my-projects-versions.does-it-build.commit;
|
||||
});
|
||||
in
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
{ lib, pkgs, my-projects-versions, ... }:
|
||||
let cluelessh = import (fetchTarball "https://github.com/Noratrieb/cluelessh/archive/${my-projects-versions.cluelessh}.tar.gz");
|
||||
let
|
||||
cluelessh = import (pkgs.fetchFromGitHub my-projects-versions.cluelessh.fetchFromGitHub);
|
||||
in
|
||||
{
|
||||
systemd.services.fakessh = {
|
||||
|
|
|
|||
|
|
@ -1,5 +1,7 @@
|
|||
{ my-projects-versions, pkgs, lib, config, ... }:
|
||||
let upload-files = import (fetchTarball "https://github.com/Noratrieb/upload.files.noratrieb.dev/archive/${my-projects-versions."upload.files.noratrieb.dev"}.tar.gz"); in
|
||||
let
|
||||
upload-files = import (pkgs.fetchFromGitHub my-projects-versions."upload.files.noratrieb.dev".fetchFromGitHub);
|
||||
in
|
||||
{
|
||||
age.secrets.upload_files_s3_secret.file = ../../secrets/upload_files_s3_secret.age;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
{ pkgs, lib, my-projects-versions, ... }:
|
||||
let
|
||||
website = import (fetchTarball "https://github.com/Noratrieb/website/archive/${my-projects-versions.website}.tar.gz");
|
||||
blog = fetchTarball "https://github.com/Noratrieb/blog/archive/${my-projects-versions.blog}.tar.gz";
|
||||
slides = fetchTarball "https://github.com/Noratrieb/slides/archive/${my-projects-versions.slides}.tar.gz";
|
||||
website = import (pkgs.fetchFromGitHub my-projects-versions.website.fetchFromGitHub);
|
||||
blog = pkgs.fetchFromGitHub my-projects-versions.blog.fetchFromGitHub;
|
||||
slides = pkgs.fetchFromGitHub my-projects-versions.slides.fetchFromGitHub;
|
||||
website-build = website { inherit pkgs slides blog; };
|
||||
in
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,12 +1,7 @@
|
|||
{ config, pkgs, lib, my-projects-versions, ... }:
|
||||
let
|
||||
widetom = pkgs.rustPlatform.buildRustPackage {
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "Noratrieb";
|
||||
repo = "widetom";
|
||||
rev = my-projects-versions.widetom;
|
||||
hash = "sha256-lSjlDozwKRLF62jsDaWo+8+rcQdeEgurEnuw00hk3o8=";
|
||||
};
|
||||
src = pkgs.fetchFromGitHub my-projects-versions.widetom.fetchFromGitHub;
|
||||
pname = "widetom";
|
||||
version = "0.1.0";
|
||||
cargoHash = "sha256-AWbdPcDc+QOW7U/FYbqlIsg+3MwfggKCTCw1z/ZbSEE=";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue