並び順

ブックマーク数

期間指定

  • から
  • まで

1 - 40 件 / 50件

新着順 人気順

nixの検索結果1 - 40 件 / 50件

nixに関するエントリは50件あります。 Nixプログラミングlinux などが関連タグです。 人気エントリには 『Linux ファイルシステムを理解したい - Qiita』などがあります。
  • Linux ファイルシステムを理解したい - Qiita

    ]# cat /etc/redhat-release CentOS Linux release 7.7.1908 (Core) ]# uname -a Linux localhost.localdomain 3.10.0-1062.1.2.el7.x86_64 #1 SMP Mon Sep 30 14:19:46 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux ファイルシステムとは何か? データを管理/操作するための仕組み。 ファイルとディレクトリで構成されていて、/ を基点とした木構造になっている。 # ls -l / 合計 56 lrwxrwxrwx. 1 root root 7 8月 25 01:17 bin -> usr/bin dr-xr-xr-x. 6 root root 4096 9月 29 15:51 boot drwxr-xr-x. 19

      Linux ファイルシステムを理解したい - Qiita
    • ローカル環境を汚さずDockerコンテナのオーバーヘッドもなく、開発環境を自在に構築できる「Devbox 0.2.0」登場

      ローカル環境を汚さずDockerコンテナのオーバーヘッドもなく、開発環境を自在に構築できる「Devbox 0.2.0」登場 Dockerコンテナの技術を用いることで、プログラミング言語のランタイムやライブラリ、ミドルウェアなどの開発環境一式を比較的容易に導入することが可能になりました。 ただしDockerコンテナにもファイルシステムのオーバーヘッドなどがあり、Dockerコンテナ内の開発環境ではコンパイルなどに時間がかかってしまう場合があったと開発ツールベンダのJetpack Technologiesは自社の経験から指摘します。 そこで同社がオープンソースで開発しているのが「Devbox」です(ちなみにマイクロソフトによる仮想化された開発環境の「Dev box」とは名前は似ていますが別のものです)。 Devboxは、ローカル環境上に分離した環境を用意しそこで開発環境を構築可能にしつつ、Do

        ローカル環境を汚さずDockerコンテナのオーバーヘッドもなく、開発環境を自在に構築できる「Devbox 0.2.0」登場
      • ローカル環境を汚さない構築ツール「Devbox」をクラウドですぐ使える「Devbox Cloud」β公開。ローカルでのファイル編集がクラウドに自動同期

        ローカル環境を汚さない構築ツール「Devbox」をクラウドですぐ使える「Devbox Cloud」β公開。ローカルでのファイル編集がクラウドに自動同期 Linux環境上に独立した開発環境を簡単に構築できるオープンソースのツール「Devbox」の開発元であるJetpack.io社は、Devboxをクラウド上ですぐ利用できるクラウドサービス「Devbox Cloud」を2月1日に発表しています。 If you’ve been looking for a fresh take on Cloud Development environments; check out Devbox Cloud which we’re announcing today (https://t.co/eh2Laas2bu) Easily spin up low latency virtual machines on th

          ローカル環境を汚さない構築ツール「Devbox」をクラウドですぐ使える「Devbox Cloud」β公開。ローカルでのファイル編集がクラウドに自動同期
        • HERP における Nix 活用

          HERP における開発では Nix が広く活用されている.Nix は非常に便利な代物なのだが,ドキュメントの貧弱さ,急峻な学習曲線,企業における採用事例の乏しさなどが相まって,広く普及しているとは言い難く,ましてや国内企業での採用事例を耳にする機会はほとんどない.しかし,Nix の利便性は,複数人での開発においてこそ,その本領が発揮されると考えている.この記事は,HERP における活用事例の紹介を通じて,Nix の利便性ならびに企業での活用可能性について紹介することを目的としている. Nix とは# Nix は "the purely functional package manager" と銘打たれたパケッジマネジャーである.GNU Linux および macOS 上で利用できる. ビルド# Nix は the purely functional "package manager" なの

            HERP における Nix 活用
          • NixOSで最強のLinuxデスクトップを作ろう

            Web・クロスプラットフォームアプリケーションの発達、ProtonによるWindows向けゲームのLinux対応など、現在のLinuxデスクトップは機能面においてWindowsやMacと遜色ない水準に達しています。 しかし、その発展とは裏腹に未だシェアは非常に少なく、Linuxデスクトップに憧れはあるけど実際に使うのはあまり……という人が多数派でしょう。その理由はおおよそ以下の3つに集約されると思います。 環境構築のために煩雑な手順を踏まなければならず辛い どこにどんな設定がされているのか分からない うっかり環境を破壊してしまいそうで怖い 実は、上記の課題を上手くクリアできる夢のようなLinuxディストリビューションが存在します。 その名は…… ロゴかっこいい 今回はNixOSを使ってぼくがかんがえたさいきょうのLinuxデスクトップ環境を作っていきましょう。 NixOSとは? NixOS

              NixOSで最強のLinuxデスクトップを作ろう
            • WebAssembly対応でRubyは何が出来るようになったのか?

              はじめに Ruby 3.2よりWASIベースのWebAssemblyサポートされました。 これによってRubyをブラウザ上で実行できるようになるわけですが、実はWASMはブラウザの外での動作も可能になっており、OSに依存しないライブラリを作ったり、Edge Computingで実行させたり、シングルバイナリの実行可能ファイルにしたりと色々な事が出来るようになります。 今回はRubyのWASM対応でどんなことが出来るようになったかをまとめたいと思います。 WebAssemblyとは? WASMに関して少しおさらいをしておきましょう。 WebAssemblyは仮想命令セットアーキテクチャです。WASMとも言います。RustやCをはじめとした多くの言語からコンパイルする事が出来、Webブラウザの中で高速にそしてセキュアに処理を実行するための仕組みとして登場しました。 元々ブラウザ向けに登場した仕

                WebAssembly対応でRubyは何が出来るようになったのか?
              • GitHub - jetify-com/devbox: Instant, easy, and predictable development environments

                You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                  GitHub - jetify-com/devbox: Instant, easy, and predictable development environments
                • Nix入門

                  現代最強のパッケージマネージャNixを知ろう! Nixって何?と疑問に思っている方に向けて、Nixのコンセプトと仕組みを解説します。 後編: 『Nix入門: ハンズオン編』(現在執筆中・公開日未定)

                    Nix入門
                  • 仕事で使うHaskell

                    TL;DR Haskellはいいぞ。ただ仕事で使うならビルド、デプロイ周辺は工夫する必要が色々出てくるぞ。 あ、nixもいいぞ。 はじめに Haskellを用いている会社HERPに転職してからそろそろ1年が経つので久しぶりに記事でも書いてみます。そういえばzennでは初投稿ですね。 最近はHERPでHaskellを書きつつシステム基盤整備みたいなことをやっています。あとマネージメントみたいなこともやってたりします。 僕の書いたHaskell microserviceは既に稼働して売り上げに貢献しています。 あ、HERPはHaskell FoundationのFunctorスポンサーになっています。スポンサーの名前が面白いですよね。 Haskellを仕事で使う感想 最高ですね。簡単便利十分速い保守楽拡張楽、という感じです。 並行プログラミングツールとしてstmが提供されているのがお気に入りで

                      仕事で使うHaskell
                    • 一般構築魔法(Nix)のVimへの応用について

                      始めに Vimにはdark powerがよく似合う。 いわゆるShougowareが真っ先に思い浮かぶのがVimmerの性ではあるが、ここでは闇夜より出でしNixの話をしたい。 Nixとは宣言的、再現性、信頼性におもきをおいたパッケージマネージャである。 プログラムから設定ファイル、データに至るまで、あらゆるものを一元的に管理することができ、それはVim環境においても例外ではない。 Vim本体から始まりプラグイン、Language Serverやその他外部プログラムまで、全てNixで管理できるのだ。 そんなNixがなぜdark powerなのか、少し起源をたどってみよう。 Nixの起源については諸説あるが、ここではギリシア神話にそれを求めることとする。 古代ギリシアの詩人、ヘシオドスの神統記によると、世界にはまずChaos(混沌)があった。そして次にGaia(大地)、Tartarus(奈落

                        一般構築魔法(Nix)のVimへの応用について
                      • npm scripts で rimraf を使わずディレクトリを再帰的に削除する

                        3 行で Node.js >= v14.14.0 であること rimraf dist は node -e 'fs.rmSync(`dist`, {recursive:true, force:true})' で置き換えられる rimraf dist/*.bundle.js みたいな glob を含むものは置き換えできない 長い説明 npm scripts で不要なキャッシュやビルドの出力ファイルを削除したい場合は rimraf というパッケージを POSIX の rm -rf の代わりに使うことが多いと思います。これは Windows で npm run の実行に使われる コマンドプロンプト (cmd.exe) に rm がないのを始めとした環境依存の問題を避けるためです。 とはいえパッケージなしではディレクトリの再帰的削除もできない、というのはちょっと困るので、v12.10.0 で fs.

                          npm scripts で rimraf を使わずディレクトリを再帰的に削除する
                        • 📦 Nixでlinuxとmacの環境を管理してみる | Happy developing

                          本記事ではNixを利用して、linux(nixos)とmacの開発環境を宣言的に管理していく方法について書きます。 設定は一つのrepositoryで管理し、git cloneして、makers applyを実行するだけという状態を目指します。 依存していいのはnixのみとします。 現状設定できている内容は以下です。 SSH(daemonの起動, authentication方法, userのauthorized keyの設置)FontTimezoneInput methodDesktop environmentUserPackage(実行コマンド+設定file)作成したrepository Nixについてまだまだわかっていないことが多いのですが、ひとまず使い始められた感じです。 そもそもNixとは現状の自分の理解ではNixとはpackage manager + build systemと

                            📦 Nixでlinuxとmacの環境を管理してみる | Happy developing
                          • GitHub - flox/flox: Developer environments you can take with you

                            You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                              GitHub - flox/flox: Developer environments you can take with you
                            • haskellとnixの話 - Qiita

                              この記事は、Haskell Advent Calendar 2022の23日目の記事です。 だいぶ荒削りですので、間違いがあるかもしれません。 目的 OSSのプロジェクトで4年ほどNixを使い続けてきました。 NixのHaskellのサポートの現状のいいところと課題を整理するのが目的です。 なぜNixを使うのかを確認したあと、NixのHaskellサポートをみて課題をまとめます。 なぜNixか、なにがやりたいのか? Nixはパッケージマネージャーです。各種Linuxディストリビューション, MacOSに入れられるものです。 Nixに期待していることはなんでしょうか? それは再現性と効率性ではないかと思います。 まずは再現性についてです。nixosのポータルの一番はじめにでてくるように再現性がもっとも重要でしょう。 手元の開発環境やクラウドの開発環境、各種のメンバーで開発するソフトウェアのバ

                                haskellとnixの話 - Qiita
                              • Using Nix with Dockerfiles

                                Nix is a powerful cross-platform package management tool. The benefits of Nix are far reaching, but one big benefit is that once you adopt Nix, you can get a consistent environment across development (on both Linux and Mac), CI, and production. I've been using Nix for many years and recently started building Docker images using a Dockerfile paired with Nix. This post will explain the benefits of t

                                • NixによるHaskell開発環境の構築 - syocy’s diary

                                  Nix package manager によって Haskell のスクリプティングおよびパッケージ開発の環境構築をしていく。 こいついつも環境構築してんな ここで触れられないこと Nix スクリプティング ちゃんとした開発 haskell-language-server の導入 パッケージの設定 高度な依存関係オーバーライド トラブルシューティング nix-shell の立ち上がりが遅い cabal run で cabal 自体の出力を無視したい Mac で nix-env -i が失敗する Mac で channel が消滅する こいついつも環境構築してんな 環境構築以外はブログに書くような一般性のあることをやっていないということで……。 ここで触れられないこと cabal.project によるマルチプロジェクトを扱う方法 外部の nix store を使うこと nix の新しいコマ

                                    NixによるHaskell開発環境の構築 - syocy’s diary
                                  • Devbox: Portable, Isolated Dev Environments

                                    Devbox creates isolated, reproducible development environments that run anywhere. No Docker containers or Nix lang required

                                    • Nix – taming Unix with functional programming

                                      You may be aware of Nix or NixOS. Users love them for being superior tools for building, deploying, and managing software. Yet, Nix is generally perceived as notoriously hard to learn. The core Nix ecosystem consists of several distinct components: Nix is a build system and package manager that comes with a configuration language to declare software components, the Nix language. Software made avai

                                        Nix – taming Unix with functional programming
                                      • TechCrunch

                                        Hyundai and Kia have finally announced their plans to adopt Tesla’s North American Charging Standard (NACS) ports for their electric vehicles in the U.S. and Canada, joining the swells of automa

                                          TechCrunch
                                        • Nix で Haskell IDE Engine をシュッと入れる - ryota-ka's blog

                                          この記事は以下のページに移転しました. blog.ryota-ka.me みなさん,Haskell やってますか?普通に Haskell IDE Engine を入れようとするとビルドにメッチャ時間がかかって「地獄か?」という感じがするので,Nix でシュッと入れていきましょう. Nix のインストール Nix を入れていない人はいないと思うけど,念の為インストール手順です. 「Nixはこの会社以外で役に立つことはないけど、人生が豊かになるから勉強した方がいい」— ポアソン氏 (@hiroqn) June 28, 2019 $ curl https://nixos.org/nix/install | sh $ nix-channel --add https://nixos.org/channels/nixpkgs-unstable $ nix-channel --update Cachix

                                            Nix で Haskell IDE Engine をシュッと入れる - ryota-ka's blog
                                          • 2021年6月29日 Is NixOS Reproducible? ―NixOS、最小イメージのビルドを100%再現可能に | gihyo.jp

                                            Linux Daily Topics 2021年6月29日Is NixOS Reproducible? ―NixOS、最小イメージのビルドを100%再現可能に NixOSプロジェクトチームは6月21日、NixOSの最小ISOイメージ(nixos.iso_minimal.x86_64-linux)について、どの環境でビルドしても、まったく同じバイナリイメージを100%再現できるようになったことを報告した。 Is NixOS Reproducible? Congratulations to the NixOS Reproducibility team who have made 100% of minimal ISO's store paths reproducible. This is the result of two years of hard work. What a wonderfu

                                              2021年6月29日 Is NixOS Reproducible? ―NixOS、最小イメージのビルドを100%再現可能に | gihyo.jp
                                            • Nix is a better Docker image builder than Docker's image builder - Xe Iaso

                                              $50 of Fly.io CreditsCoupon code go-fly-nix. Only valid for new accounts that have not used a DevRel coupon code before. The Talk The title slide of the talk. It features a hot air balloon breaking into a shipping container with a crowbar. Art by Annie Rugyt. Hi, I'm Xe Iaso and today I'm gonna get to talk with you about one of my favourite tools: Nix. Nix is many things, but my super hot take is

                                                Nix is a better Docker image builder than Docker's image builder - Xe Iaso
                                              • Fast, Declarative, Reproducible, and Composable Developer Environments

                                                Fast, Declarative, Reproducible and Composable Developer Environments using Nix Develop natively • Deploy containers • 80.000+ packages • Write scripts • 50+ supported languages • Define processes • Reuse services • Run tests • Enforce git hooks

                                                  Fast, Declarative, Reproducible, and Composable Developer Environments
                                                • garnix | the nix CI

                                                  Simple, fast, and green CI and caching for nix projects

                                                  • What Is Nix

                                                    Opens in a new windowOpens an external siteOpens an external site in a new window Over the past year and a bit, Shopify has been progressively rebuilding parts of our developer tooling with Nix. I initially planned to write about how we're using Nix now, and what we're going to do with it in the future (spoiler: everything?). However, I realize that most of you won't have a really clear handle on

                                                      What Is Nix
                                                    • Nixを使うと何が嬉しいのか - mrsekut-p

                                                      この「1つの入力に対して、必ず同じ出力を返す」という特性を指して、「Pure Functional Package Manager」と呼ばれる

                                                        Nixを使うと何が嬉しいのか - mrsekut-p
                                                      • Zero to Nix

                                                        Declarative, reproducible development environments No more "works on my machine." Create environments that work seamlessly and are easily sharable across platforms. →Explore a Nix development environment→Create a development environment→How Nix development environments work Declarative, reproducible package builds No more broken builds or mysterious installation processes. Nix builds packages from

                                                        • Setting up Nix on macOS

                                                          I recently bought a Macbook because more and more people are asking me how to use Nix in certain situations under MacOS. In this article, we walk through installing Nix on MacOS and see how pleasant the experience is these days. After that, we show how to go declarative on MacOS with nix-darwin to enable compilation for Linux and Intel Macs, as well as some other nice features. 🤷 Why would one wa

                                                            Setting up Nix on macOS
                                                          • aux.computer

                                                            Values Representation Contributors should have their views represented and organizational structure should be established democratically. Kindness The project should be welcoming and a safe place for people to participate. Collaboration Communication and cooperation should be encouraged. Sustainability Workload, finance, scope, and burnout should all be considered carefully to ensure that the proj

                                                            • Nix is the ultimate DevOps toolkit

                                                              At Channable we use Nix to build and deploy our services and to manage our development environments. This was not always the case: in the past we used a combination of ecosystem-specific tools and custom scripts to glue them together. Consolidating everything with Nix has helped us standardize development and deployment workflows, eliminate “works on my machine”-problems, and avoid unnecessary reb

                                                              • How to Learn Nix

                                                                Get new posts via RSS or Twitter, or by subscribing to my newsletter: Opening remarksWhat's all this about? 2021-03-04 Prior knowledge 2021-03-04 Reading the Nix manualWhat we talk about when we talk about Nix 2021-03-04 Quick starts, full hearts 2021-03-04 Basic package management 2021-03-05 Profiles 2021-03-06 Garbage collection 2021-03-06 Channels 2021-03-07 Learning to share 2021-03-07 My firs

                                                                  How to Learn Nix
                                                                • Flox | Your dev environment, everywhere

                                                                  One-Command Project SetupFlox makes it easy to join a new project, so that means the end of gigantic README files with complex setup procedures. Using Flox, projects can make it as easy as one command - and you don't have to worry that following the instructions for one project will break another.

                                                                    Flox | Your dev environment, everywhere
                                                                  • GitHub - tazjin/nixery: Container registry which transparently builds images using the Nix package manager. Canonical repository is https://cs.tvl.fyi/depot/-/tree/tools/nixery

                                                                    Nixery is a Docker-compatible container registry that is capable of transparently building and serving container images using Nix. Images are built on-demand based on the image name. Every package that the user intends to include in the image is specified as a path component of the image name. The path components refer to top-level keys in nixpkgs and are used to build a container image using a la

                                                                    • NixOS を WSL2 で使えるようにする

                                                                      設定ファイルをいじってシステムを粉砕する方々へ向けて。 はじめに この記事は、 設定ファイルを触って気がついたらシステムが粉砕されていた と言う方々が使うと幸せになる Linux Distribution である、 NixOS Linux を Windows 10 2004 で使える様になった Windows Subsystem for Linux 2(WSL2)で取り扱えるようにしよう! と言う記事です。 ※ なお NixOS についての解説も含むので、本題に入るまで結構長いです そもそも NixOS って何?(NixOS についての解説) NixOS は Nix package manager を核とした Linux Distribution で、その Nix package manager とは、 設定ファイルを 関数型言語(Nix Expression Language)で記述 す

                                                                        NixOS を WSL2 で使えるようにする
                                                                      • GitHub - digitallyinduced/ihp: 🔥 The fastest way to build type safe web apps. IHP is a new batteries-included web framework optimized for longterm productivity and programmer happiness

                                                                        IHP Website About IHP IHP is a modern batteries-included haskell web framework, built on top of Haskell and Nix. We believe that functional programing is the future of software development and want to make functional programing with haskell and nix available to anyone. We try to offer a solution which can be used by developers who have not worked with haskell yet. IHP comes with everything you nee

                                                                          GitHub - digitallyinduced/ihp: 🔥 The fastest way to build type safe web apps. IHP is a new batteries-included web framework optimized for longterm productivity and programmer happiness
                                                                        • FlakeHub

                                                                          • Replit — How we went from supporting 50 languages to all of them

                                                                            At Replit, we want to give our users the most powerful, flexible, and easy-to-get-started coding environment. However, it has been limiting because we only support a fixed set of languages and OS packages, some of which are outdated. Ideally, users should be able to use any language and install any package with minimal fuss. That's why today, we're announcing that we've incorporated Nix in our inf

                                                                              Replit — How we went from supporting 50 languages to all of them
                                                                            • Nix: An Idea Whose Time Has Come | Revelry

                                                                              In which I shill you Nix, a purely functional package manager. Why Nix? Joe Armstrong, one of the creators of Erlang, once described Erlang as the quest for programs that you “write once, run forever.” Nix, in comparison, might be the quest for programs that run wherever, whenever. Nix often scares newcomers and experienced devs alike, because it proposes a fairly radical overhaul to how we think

                                                                                Nix: An Idea Whose Time Has Come | Revelry
                                                                              • GitHub - Gabriella439/simple-twitter: A bare-bones Twitter clone implemented in a single file

                                                                                You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                                                                  GitHub - Gabriella439/simple-twitter: A bare-bones Twitter clone implemented in a single file
                                                                                • Replit — Will Nix Overtake Docker?

                                                                                  In many discussions about Nix, the comparison of Nix and Docker comes up frequently. This question could be dismissed by saying that Nix and Docker are different tools that solve different problems. One is a toolkit for building and deploying containers and the other is a package and configuration manager. However, these tools do have some overlap: they can both be used to create reproducible envi

                                                                                    Replit — Will Nix Overtake Docker?

                                                                                  新着記事