Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Bob
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OSS
Bob
Commits
feaebaa1
Verified
Commit
feaebaa1
authored
1 year ago
by
Volker Schukai
Browse files
Options
Downloads
Patches
Plain Diff
chore: update flake.nix
parent
1b3d9c50
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
.direnv/flake-profile
+1
-1
1 addition, 1 deletion
.direnv/flake-profile
.direnv/flake-profile-30-link
+1
-0
1 addition, 0 deletions
.direnv/flake-profile-30-link
.gitignore
+3
-0
3 additions, 0 deletions
.gitignore
flake.nix
+10
-173
10 additions, 173 deletions
flake.nix
result
+0
-1
0 additions, 1 deletion
result
with
15 additions
and
175 deletions
.direnv/flake-profile
+
1
−
1
View file @
feaebaa1
flake-profile-29-link
\ No newline at end of file
flake-profile-30-link
\ No newline at end of file
This diff is collapsed.
Click to expand it.
.direnv/flake-profile-30-link
0 → 120000
+
1
−
0
View file @
feaebaa1
/nix/store/12arpillhz2dy9g6qxli8hrpa918zgdd-bob-0.6.0-env
\ No newline at end of file
This diff is collapsed.
Click to expand it.
.gitignore
+
3
−
0
View file @
feaebaa1
result
result-*
# Makefile comes from update
Makefile.example
...
...
This diff is collapsed.
Click to expand it.
flake.nix
+
10
−
173
View file @
feaebaa1
...
...
@@ -51,9 +51,18 @@
#vendorSha256 = pkgs.lib.fakeSha256;
vendorSha256
=
"sha256-XdB+u94Rqsb29jVs4miyOq1NEYaVJHWFXg6QebFJzNQ="
;
excludedPackages
=
[
"
example/server-db"
"test/e2e"
"tui-example
"
];
excludedPackages
=
[
"
developemt
"
];
doCheck
=
false
;
meta
=
with
pkgs
.
lib
;
{
description
=
"Bob: The HTML and HTML fragment builder"
;
homepage
=
"https://gitlab.schukai.com/oss/bob"
;
license
=
licenses
.
mit
;
maintainers
=
with
maintainers
;
[
"schukai GmbH"
];
};
};
});
...
...
@@ -64,175 +73,3 @@
};
}
#
#{
# description = "Bob: The HTML and HTML fragment builder";
#
# inputs = {
# nixpkgs.url = "nixpkgs/nixos-unstable";
# utils.url = "github:numtide/flake-utils";
# };
#
# outputs = { self, lib, nixpkgs, ... }@inputs:
#
# let
#
# lastModifiedDate = self.lastModifiedDate or self.lastModified or "19700101";
#
# supportedSystems = [ "x86_64-linux" "x86_64-darwin" "aarch64-linux" "aarch64-darwin" ];
#
# forAllSystems = nixpkgs.lib.genAttrs supportedSystems;
#
# nixpkgsFor = forAllSystems (system: import nixpkgs { inherit system; });
#
#
# in {
#
# bob = buildGoModule rec {
# pname = "bob";
# version = "0.3.4";
#
# src = ././application/source;
#
# vendorHash = lib.fakeSha256;
#
# meta = with lib; {
# description = "Bob: The HTML and HTML fragment builder";
# homepage = "https://gitlab.schukai.com/oss/bob";
# license = licenses.mit;
# maintainers = with maintainers; [ "schukai GmbH" ];
# };
#
# CGO_ENABLED = 0;
#
# };
# # Notice the reference to nixpkgs here.
# with import nixpkgs { system = "x86_64-linux"; };
# stdenv.mkDerivation {
# name = "bob";
# src = self;
# buildPhase = "env GOFLAGS= GOWORK=off GO111MODULE=on GOOS=$GOOS GOARCH=$GOARCH go build -o bob";
# installPhase = "mkdir -p $out/bin; install -t $out/bin bob";
# };
#
# };
#}
# outputs = { self, nixpkgs, flake-utils }:
# flake-utils.lib.eachDefaultSystem (system:
# let
#
# rootPath = ./.;
# releaseJson = builtins.fromJSON (builtins.readFile "${rootPath}/release.json");
# currentVersion = releaseJson.version;
#
# overlay = (final: prev: {
#
# bob = final.buildGoModule rec {
# name = "bob";
# src = bobSource;
# vendorHash = null;
# ldflags=''-X main.version=${currentVersion} -X main.build=${self.lastModifiedDate}'';
# };
# });
#
# pkgs = import nixpkgs {
# inherit system;
# overlays = [ overlay ];
# };
#
# in {
# packages = { bob = pkgs.bob; };
# });
#}
#
# let
# rootPath = ./.;
# releaseJson = builtins.fromJSON (builtins.readFile "${rootPath}/release.json");
# currentVersion = releaseJson.version;
#
# gomod2nix = {
# url = "github:tweag/gomod2nix";
# inputs.nixpkgs.follows = "nixpkgs";
# inputs.utils.follows = "utils";
# };
#
# systems = [ "x86_64-linux" "aarch64-linux" ];
# forAllSystems = f: nixpkgs.lib.genAttrs systems (system: f system);
## makePackage = system:
## let
## pkgs = import nixpkgs { inherit system; overlays = [ self.overlay ]; };
## in
## pkgs.bob;
#
# everything = nixpkgs.buildGoApplication {
# pname = "xe-x-composite";
# version = "1.0.0";
# src = ./.;
# modules = ./gomod2nix.toml;
#
# buildInputs = with nixpkgs; [ pkg-config libaom libavif ];
# };
#
# copyFile = { pname, path ? pname }:
# nixpkgs.stdenv.mkDerivation {
# inherit pname;
# inherit (everything) version;
# src = everything;
#
# installPhase = ''
# mkdir -p $out/bin
# cp $src/bin/$pname $out/bin/$path
# '';
# };
#
# in
# {
#
# devShells.default = nixpkgs.mkShell {
# buildInputs = with nixpkgs; [
# go
# gopls
# gotools
# go-tools
# gomod2nix.packages.${system}.default
# sqlite-interactive
# ];
# };
#
# overlay = final: prev: {
# bob = final.buildGoModule rec {
# name = "bob";
# src = ././application/source;
# doCheck = true;
# vendorHash = null;
# nativeBuildInputs = [ final.jq ];
# ldflags=''-X main.version=${currentVersion} -X main.build=${self.lastModifiedDate}'';
# installPhase = ''
# mkdir -p $out/bin
#
# '';
#
# };
# };
#
# defaultPackage = forAllSystems makePackage;
#
# packages = forAllSystems (system: {
# bob = makePackage system;
# });
#
# checks = {
# test = forAllSystems makePackage;
# };
# };
#}
This diff is collapsed.
Click to expand it.
result
deleted
120000 → 0
+
0
−
1
View file @
1b3d9c50
/nix/store/njp5z2n7n9wg2jc30qaljb5lwxfk9s92-bob-0.6.0
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment